From f050dcf0e5bc9b91191cf2438afa2533bac45fbd Mon Sep 17 00:00:00 2001 From: yungkanzler Date: Thu, 15 Sep 2022 10:43:22 +0200 Subject: [PATCH] Rebuild UI to fix #1357 --- cmd/skywire-visor/static/index.html | 2 +- cmd/skywire-visor/static/main.eb949649cad6a91e.js | 1 + cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js | 1 - static/skywire-manager-src/dist/index.html | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 cmd/skywire-visor/static/main.eb949649cad6a91e.js delete mode 100644 cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js diff --git a/cmd/skywire-visor/static/index.html b/cmd/skywire-visor/static/index.html index 597c6367ad..b74b67bbe5 100644 --- a/cmd/skywire-visor/static/index.html +++ b/cmd/skywire-visor/static/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.eb949649cad6a91e.js b/cmd/skywire-visor/static/main.eb949649cad6a91e.js new file mode 100644 index 0000000000..c9913cbb0f --- /dev/null +++ b/cmd/skywire-visor/static/main.eb949649cad6a91e.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{9249:(le,me,F)=>{"use strict";function I(t){return"function"==typeof t}let v=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function f(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;f(t)},complete(){}},M=Array.isArray||(t=>t&&"number"==typeof t.length);function p(t){return null!==t&&"object"==typeof t}const w=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class x{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof x)e.remove(this);else if(null!==e)for(let o=0;on.concat(e instanceof w?e.errors:e),[])}x.EMPTY=((t=new x).closed=!0,t);const C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class A extends x{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!n){this.destination=h;break}if("object"==typeof n){n instanceof A?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new j(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new j(this,n,e,i)}}[C](){return this}static create(n,e,i){const s=new A(n,e,i);return s.syncErrorThrowable=!1,s}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class j extends A{constructor(n,e,i,s){super(),this._parentSubscriber=n;let o,a=this;I(e)?o=e:e&&(o=e.next,i=e.error,s=e.complete,e!==h&&(a=Object.create(e),I(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=i,this._complete=s}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=u;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):f(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;f(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw i;f(i)}}__tryOrSetError(n,e,i){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(s){return u.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=s,n.syncErrorThrown=!0,!0):(f(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const re="function"==typeof Symbol&&Symbol.observable||"@@observable";function ve(){}function Z(...t){return Q(t)}function Q(t){return t?1===t.length?t[0]:function(e){return t.reduce((i,s)=>s(i),e)}:ve}let ce=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,s){const{operator:o}=this,a=function K(t,n,e){if(t){if(t instanceof A)return t;if(t[C])return t[C]()}return t||n||e?new A(t,n,e):new A(h)}(e,i,s);if(a.add(o?o.call(a,this.source):this.source||u.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){u.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function H(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof A?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=q(i))((s,o)=>{let a;a=this.subscribe(l=>{try{e(l)}catch(c){o(c),a&&a.unsubscribe()}},o,s)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[re](){return this}pipe(...e){return 0===e.length?this:Q(e)(this)}toPromise(e){return new(e=q(e))((i,s)=>{let o;this.subscribe(a=>o=a,a=>s(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function q(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const ne=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class oe extends x{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class ae extends A{constructor(n){super(n),this.destination=n}}let J=(()=>{class t extends ce{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[C](){return new ae(this)}lift(e){const i=new Te(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ne;if(!this.isStopped){const{observers:i}=this,s=i.length,o=i.slice();for(let a=0;anew Te(n,e),t})();class Te extends J{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):x.EMPTY}}function ke(t){return t&&"function"==typeof t.schedule}class Ae extends A{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const Ne=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function Sn(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const je=t=>{if(t&&"function"==typeof t[re])return(t=>n=>{const e=t[re]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(Mn(t))return Ne(t);if(Sn(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,f),n))(t);if(t&&"function"==typeof t[rt])return(t=>n=>{const e=t[rt]();for(;;){const i=e.next();if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${p(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function jn(t,n,e,i,s=new Ae(t,e,i)){if(!s.closed)return n instanceof ce?n.subscribe(s):je(n)(s)}class Kn extends A{notifyNext(n,e,i,s,o){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}function Xe(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Ge(t,n))}}class Ge{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new z(n,this.project,this.thisArg))}}class z extends A{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function de(t,n){return new ce(e=>{const i=new x;let s=0;return i.add(n.schedule(function(){s!==t.length?(e.next(t[s++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function ge(t,n){return n?function fe(t,n){if(null!=t){if(function _e(t){return t&&"function"==typeof t[re]}(t))return function se(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>{const s=t[re]();i.add(s.subscribe({next(o){i.add(n.schedule(()=>e.next(o)))},error(o){i.add(n.schedule(()=>e.error(o)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(Sn(t))return function ie(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>t.then(s=>{i.add(n.schedule(()=>{e.next(s),i.add(n.schedule(()=>e.complete()))}))},s=>{i.add(n.schedule(()=>e.error(s)))}))),i})}(t,n);if(Mn(t))return de(t,n);if(function be(t){return t&&"function"==typeof t[rt]}(t)||"string"==typeof t)return function ue(t,n){if(!t)throw new Error("Iterable cannot be null");return new ce(e=>{const i=new x;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(n.schedule(()=>{s=t[rt](),i.add(n.schedule(function(){if(e.closed)return;let o,a;try{const l=s.next();o=l.value,a=l.done}catch(l){return void e.error(l)}a?e.complete():(e.next(o),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof ce?t:new ce(je(t))}function we(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(we((s,o)=>ge(t(s,o)).pipe(Xe((a,l)=>n(s,a,o,l))),e)):("number"==typeof n&&(e=n),i=>i.lift(new Ee(t,e)))}class Ee{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new Ze(n,this.project,this.concurrent))}}class Ze extends Kn{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ut(t){return t}function dt(t=Number.POSITIVE_INFINITY){return we(ut,t)}function tt(t,n){return n?de(t,n):new ce(Ne(t))}function Yt(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return ke(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof ce?t[0]:dt(n)(tt(t,e))}function wn(){return function(n){return n.lift(new Rt(n))}}class Rt{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const s=new Gt(n,i),o=e.subscribe(s);return s.closed||(s.connection=i.connect()),o}}class Gt extends A{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,s=n._connection;this.connection=null,s&&(!i||s===i)&&s.unsubscribe()}}class Dn extends ce{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new x,n.add(this.source.subscribe(new Ss(this.getSubject(),this))),n.closed&&(this._connection=null,n=x.EMPTY)),n}refCount(){return wn()(this)}}const ti=(()=>{const t=Dn.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 Ss extends ae{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}class fi{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,s=this.subjectFactory(),o=i(s).subscribe(n);return o.add(e.subscribe(s)),o}}function ni(){return new J}function mn(){return t=>wn()(function Zt(t,n){return function(i){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new fi(s,n));const o=Object.create(i,ti);return o.source=i,o.subjectFactory=s,o}}(ni)(t))}function _n(t){for(let n in t)if(t[n]===_n)return n;throw Error("Could not find renamed property on target object.")}function la(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function kn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(kn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function ca(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const S_=_n({__forward_ref__:_n});function sn(t){return t.__forward_ref__=sn,t.toString=function(){return kn(this())},t}function Mt(t){return Po(t)?t():t}function Po(t){return"function"==typeof t&&t.hasOwnProperty(S_)&&t.__forward_ref__===sn}class Le extends Error{constructor(n,e){super(function Bl(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function jl(t,n){throw new Le(-201,!1)}function Li(t,n){null==t&&function tn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ye(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function nl(t){return zh(t,Ul)||zh(t,Lu)}function zh(t,n){return t.hasOwnProperty(n)?t[n]:null}function $h(t){return t&&(t.hasOwnProperty(zl)||t.hasOwnProperty(x_))?t[zl]:null}const Ul=_n({\u0275prov:_n}),zl=_n({\u0275inj:_n}),Lu=_n({ngInjectableDef:_n}),x_=_n({ngInjectorDef:_n});var _t=(()=>((_t=_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 Eu;function zr(t){const n=Eu;return Eu=t,n}function Pu(t,n,e){const i=nl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&_t.Optional?null:void 0!==n?n:void jl(kn(t))}function Wr(t){return{toString:t}.toString()}var _r=(()=>((_r=_r||{})[_r.OnPush=0]="OnPush",_r[_r.Default=1]="Default",_r))(),Hi=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Hi||(Hi={})),Hi))();const Tn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),da={},cn=[],$l=_n({\u0275cmp:_n}),Iu=_n({\u0275dir:_n}),Ou=_n({\u0275pipe:_n}),Gh=_n({\u0275mod:_n}),Ns=_n({\u0275fac:_n}),ha=_n({__NG_ELEMENT_ID__:_n});let P_=0;function Qe(t){return Wr(()=>{const e=!0===t.standalone,i={},s={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:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===_r.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||cn,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Hi.Emulated,id:"c"+P_++,styles:t.styles||cn,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,a=t.features;return s.inputs=Zh(t.inputs,i),s.outputs=Zh(t.outputs),a&&a.forEach(l=>l(s)),s.directiveDefs=o?()=>("function"==typeof o?o():o).map(qh).filter(Kh):null,s.pipeDefs=o?()=>("function"==typeof o?o():o).map(ir).filter(Kh):null,s})}function Au(t,n,e){const i=t.\u0275cmp;i.directiveDefs=()=>("function"==typeof n?n():n).map(qh),i.pipeDefs=()=>("function"==typeof e?e():e).map(ir)}function qh(t){return gn(t)||nr(t)}function Kh(t){return null!==t}function Pt(t){return Wr(()=>({type:t.type,bootstrap:t.bootstrap||cn,declarations:t.declarations||cn,imports:t.imports||cn,exports:t.exports||cn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Zh(t,n){if(null==t)return da;const e={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),e[s]=i,n&&(n[s]=o)}return e}const Je=Qe;function Ki(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[$l]||null}function nr(t){return t[Iu]||null}function ir(t){return t[Ou]||null}function rr(t,n){const e=t[Gh]||null;if(!e&&!0===n)throw new Error(`Type ${kn(t)} does not have '\u0275mod' property.`);return e}function vr(t){return Array.isArray(t)&&"object"==typeof t[1]}function rs(t){return Array.isArray(t)&&!0===t[1]}function Nu(t){return 0!=(8&t.flags)}function ql(t){return 2==(2&t.flags)}function Kl(t){return 1==(1&t.flags)}function ss(t){return null!==t.template}function A_(t){return 0!=(256&t[2])}function Hs(t,n){return t.hasOwnProperty(Ns)?t[Ns]:null}class Bu{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ii(){return Jh}function Jh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Uu),ju}function ju(){const t=Xh(this),n=t?.current;if(n){const e=t.previous;if(e===da)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Uu(t,n,e,i){const s=Xh(t)||function V_(t,n){return t[Zl]=n}(t,{previous:da,current:null}),o=s.current||(s.current={}),a=s.previous,l=this.declaredInputs[e],c=a[l];o[l]=new Bu(c&&c.currentValue,n,a===da),t[i]=n}Ii.ngInherit=!0;const Zl="__ngSimpleChanges__";function Xh(t){return t[Zl]||null}function ai(t){for(;Array.isArray(t);)t=t[0];return t}function br(t,n){return ai(n[t])}function Oi(t,n){return ai(n[t.index])}function Gu(t,n){return t.data[n]}function Fo(t,n){return t[n]}function yr(t,n){const e=n[t];return vr(e)?e:e[0]}function tf(t){return 4==(4&t[2])}function Ql(t){return 64==(64&t[2])}function lo(t,n){return null==n?null:t[n]}function nf(t){t[18]=0}function qu(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const Tt={lFrame:hf(null),bindingsEnabled:!0};function Jl(){return Tt.bindingsEnabled}function He(){return Tt.lFrame.lView}function Xt(){return Tt.lFrame.tView}function Ie(t){return Tt.lFrame.contextLView=t,t[8]}function Oe(t){return Tt.lFrame.contextLView=null,t}function wi(){let t=sf();for(;null!==t&&64===t.type;)t=t.parent;return t}function sf(){return Tt.lFrame.currentTNode}function os(t,n){const e=Tt.lFrame;e.currentTNode=t,e.isParent=n}function Xl(){return Tt.lFrame.isParent}function Ku(){Tt.lFrame.isParent=!1}function sr(){const t=Tt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function va(){return Tt.lFrame.bindingIndex++}function Bs(t){const n=Tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function tc(t,n){const e=Tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Zu(n)}function Zu(t){Tt.lFrame.currentDirectiveIndex=t}function Qu(t){const n=Tt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function cf(){return Tt.lFrame.currentQueryIndex}function nc(t){Tt.lFrame.currentQueryIndex=t}function eg(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function uf(t,n,e){if(e&_t.SkipSelf){let s=n,o=t;for(;!(s=s.parent,null!==s||e&_t.Host||(s=eg(o),null===s||(o=o[15],10&s.type))););if(null===s)return!1;n=s,t=o}const i=Tt.lFrame=df();return i.currentTNode=n,i.lView=t,!0}function ic(t){const n=df(),e=t[1];Tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function df(){const t=Tt.lFrame,n=null===t?null:t.child;return null===n?hf(t):n}function hf(t){const n={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=n),n}function ff(){const t=Tt.lFrame;return Tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const js=ff;function Ju(){const t=ff();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 or(){return Tt.lFrame.selectedIndex}function We(t){Tt.lFrame.selectedIndex=t}function si(){const t=Tt.lFrame;return Gu(t.tView,t.selectedIndex)}function ba(){Tt.lFrame.currentNamespace="svg"}function sc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[c]<0&&(t[18]+=65536),(l>11>16&&(3&t[2])===n){t[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}class ya{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function as(t,n,e){let i=0;for(;in){a=o-1;break}}}for(;o>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let id=!0;function cc(t){const n=id;return id=t,n}let og=0;const Ts={};function ol(t,n){const e=sd(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,rd(i.data,t),rd(n,null),rd(i.blueprint,null));const s=ls(t,n),o=t.injectorIndex;if(Mf(s)){const a=wa(s),l=Ca(s,n),c=l[1].data;for(let _=0;_<8;_++)n[o+_]=l[a+_]|c[a+_]}return n[o+8]=s,o}function rd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function sd(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function ls(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,s=n;for(;null!==s;){if(i=Ft(s),null===i)return-1;if(e++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Pr(t,n,e){!function ag(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ha)&&(i=e[ha]),null==i&&(i=e[ha]=og++);const s=255&i;n.data[t+(s>>5)]|=1<=0?255&n:G:n}(e);if("function"==typeof o){if(!uf(n,t,i))return i&_t.Host?Sf(s,0,i):Df(n,e,i,s);try{const a=o(i);if(null!=a||i&_t.Optional)return a;jl()}finally{js()}}else if("number"==typeof o){let a=null,l=sd(t,n),c=-1,_=i&_t.Host?n[16][6]:null;for((-1===l||i&_t.SkipSelf)&&(c=-1===l?ls(t,n):n[l+8],-1!==c&&P(i,!1)?(a=n[1],l=wa(c),n=Ca(c,n)):l=-1);-1!==l;){const E=n[1];if(m(o,l,E.data)){const R=od(l,n,e,a,i,_);if(R!==Ts)return R}c=n[l+8],-1!==c&&P(i,n[1].data[l+8]===_)&&m(o,l,n)?(a=E,l=wa(c),n=Ca(c,n)):l=-1}}return s}function od(t,n,e,i,s,o){const a=n[1],l=a.data[t+8],E=zs(l,a,e,null==i?ql(l)&&id:i!=a&&0!=(3&l.type),s&_t.Host&&o===l);return null!==E?uo(n,a,E,l):Ts}function zs(t,n,e,i,s){const o=t.providerIndexes,a=n.data,l=1048575&o,c=t.directiveStart,E=o>>20,$=s?l+E:t.directiveEnd;for(let X=i?l:l+E;X<$;X++){const he=a[X];if(X=c&&he.type===e)return X}if(s){const X=a[c];if(X&&ss(X)&&X.type===e)return c}return null}function uo(t,n,e,i){let s=t[e];const o=n.data;if(function ig(t){return t instanceof ya}(s)){const a=s;a.resolving&&function Tu(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Le(-200,`Circular dependency in DI detected for ${t}${e}`)}(function zt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}(o[e]));const l=cc(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?zr(a.injectImpl):null;uf(t,i,_t.Default);try{s=t[e]=a.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function Xu(t,n,e){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=n.type.prototype;if(i){const a=Jh(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,a)}s&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,s),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==c&&zr(c),cc(l),a.resolving=!1,js()}}return s}function m(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Ns]||xe(n),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const o=s[Ns]||xe(s);if(o&&o!==e)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function xe(t){return Po(t)?()=>{const n=xe(Mt(t));return n&&n()}:Hs(t)}function Ft(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function Ht(t){return function lg(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let s=0;for(;s{const i=function ad(t){return function(...e){if(t){const i=t(...e);for(const s in i)this[s]=i[s]}}}(n);function s(...o){if(this instanceof s)return i.apply(this,o),this;const a=new s(...o);return l.annotation=a,l;function l(c,_,E){const R=c.hasOwnProperty(Vi)?c[Vi]:Object.defineProperty(c,Vi,{value:[]})[Vi];for(;R.length<=E;)R.push(null);return(R[E]=R[E]||[]).push(a),c}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Be{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ye({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cs(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?Yo(e,n):n(e))}function P1(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function xf(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function dd(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function kP(t,n,e,i){let s=t.length;if(s==n)t.push(e,i);else if(1===s)t.push(i,t[0]),t[0]=e;else{for(s--,t.push(t[s-1],t[s]);s>n;)t[s]=t[s-2],s--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function ug(t,n){const e=uc(t,n);if(e>=0)return t[1|e]}function uc(t,n){return function A1(t,n,e){let i=0,s=t.length>>e;for(;s!==i;){const o=i+(s-i>>1),a=t[o<n?s=o:i=o+1}return~(s<t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Of}()?.createHTML(t)||t}class al{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class JP extends al{getTypeName(){return"HTML"}}class XP extends al{getTypeName(){return"Style"}}class eI extends al{getTypeName(){return"Script"}}class tI extends al{getTypeName(){return"URL"}}class nI extends al{getTypeName(){return"ResourceURL"}}function ds(t){return t instanceof al?t.changingThisBreaksApplicationSecurity:t}function ho(t,n){const e=function iI(t){return t instanceof al&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class cI{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(pc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class uI{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=pc(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=pc(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let s=e.length-1;0gd(n.trim())).join(", ")}function fo(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function vd(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Z1=fo("area,br,col,hr,img,wbr"),Q1=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),J1=fo("rp,rt"),vg=vd(Z1,vd(Q1,fo("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")),vd(J1,fo("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")),vd(J1,Q1)),bg=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=fo("srcset"),X1=vd(bg,yg,fo("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"),fo("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")),fI=fo("script,style,template");class pI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let s=this.checkClobberedElement(e,e.nextSibling);if(s){e=s;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!vg.hasOwnProperty(e))return this.sanitizedSomething=!0,!fI.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let s=0;s"),!0}endElement(n){const e=n.nodeName.toLowerCase();vg.hasOwnProperty(e)&&!Z1.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(eM(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const mI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_I=/([^\#-~ |!])/g;function eM(t){return t.replace(/&/g,"&").replace(mI,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(_I,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Rf;function tM(t,n){let e=null;try{Rf=Rf||function q1(t){const n=new uI(t);return function dI(){try{return!!(new window.DOMParser).parseFromString(pc(""),"text/html")}catch{return!1}}()?new cI(n):n}(t);let i=n?String(n):"";e=Rf.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=e.innerHTML,e=Rf.getInertBodyElement(i)}while(i!==o);return pc((new pI).sanitizeChildren(Mg(e)||e))}finally{if(e){const i=Mg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Mg(t){return"content"in t&&function gI(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function Ho(t){const n=function bd(){const t=He();return t&&t[12]}();return n?n.sanitize(vn.URL,t)||"":ho(t,"URL")?ds(t):gd(xt(t))}const wg=new Be("ENVIRONMENT_INITIALIZER"),iM=new Be("INJECTOR",-1),rM=new Be("INJECTOR_DEF_TYPES");class sM{get(n,e=hd){if(e===hd){const i=new Error(`NullInjectorError: No provider for ${kn(n)}!`);throw i.name="NullInjectorError",i}return e}}function DI(...t){return{\u0275providers:oM(0,t)}}function oM(t,...n){const e=[],i=new Set;let s;return Yo(n,o=>{const a=o;Cg(a,e,[],i)&&(s||(s=[]),s.push(a))}),void 0!==s&&aM(s,e),e}function aM(t,n){for(let e=0;e{n.push(o)})}}function Cg(t,n,e,i){if(!(t=Mt(t)))return!1;let s=null,o=$h(t);const a=!o&&gn(t);if(o||a){if(a&&!a.standalone)return!1;s=t}else{const c=t.ngModule;if(o=$h(c),!o)return!1;s=c}const l=i.has(s);if(a){if(l)return!1;if(i.add(s),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of c)Cg(_,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!l){let _;i.add(s);try{Yo(o.imports,E=>{Cg(E,n,e,i)&&(_||(_=[]),_.push(E))})}finally{}void 0!==_&&aM(_,n)}if(!l){const _=Hs(s)||(()=>new s);n.push({provide:s,useFactory:_,deps:cn},{provide:rM,useValue:s,multi:!0},{provide:wg,useValue:()=>Ce(s),multi:!0})}const c=o.providers;null==c||l||Yo(c,E=>{n.push(E)})}}return s!==t&&void 0!==t.providers}const kI=_n({provide:String,useValue:_n});function Sg(t){return null!==t&&"object"==typeof t&&kI in t}function ll(t){return"function"==typeof t}const Dg=new Be("Set Injector scope."),Ff={},xI={};let kg;function Nf(){return void 0===kg&&(kg=new sM),kg}class Ta{}class uM extends Ta{constructor(n,e,i,s){super(),this.parent=e,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xg(n,a=>this.processProvider(a)),this.records.set(iM,mc(void 0,this)),s.has("environment")&&this.records.set(Ta,mc(void 0,this));const o=this.records.get(Dg);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(rM.multi,cn,_t.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=dc(this),i=zr(void 0);try{return n()}finally{dc(e),zr(i)}}get(n,e=hd,i=_t.Default){this.assertNotDestroyed();const s=dc(this),o=zr(void 0);try{if(!(i&_t.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function OI(t){return"function"==typeof t||"object"==typeof t&&t instanceof Be}(n)&&nl(n);l=c&&this.injectableDefInScope(c)?mc(Tg(n),Ff):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&_t.Self?Nf():this.parent).get(n,e=i&_t.Optional&&e===hd?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Ef]=a[Ef]||[]).unshift(kn(n)),s)throw a;return function YP(t,n,e,i){const s=t[Ef];throw n[R1]&&s.unshift(n[R1]),t.message=function HP(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let s=kn(n);if(Array.isArray(n))s=n.map(kn).join(" -> ");else if("object"==typeof n){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];o.push(a+":"+("string"==typeof l?JSON.stringify(l):kn(l)))}s=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${s}]: ${t.replace(AP,"\n ")}`}("\n"+t.message,s,e,i),t.ngTokenPath=s,t[Ef]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{zr(o),dc(s)}}resolveInjectorInitializers(){const n=dc(this),e=zr(void 0);try{const i=this.get(wg.multi,cn,_t.Self);for(const s of i)s()}finally{dc(n),zr(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(kn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Le(205,!1)}processProvider(n){let e=ll(n=Mt(n))?n:Mt(n&&n.provide);const i=function EI(t){return Sg(t)?mc(void 0,t.useValue):mc(dM(t),Ff)}(n);if(ll(n)||!0!==n.multi)this.records.get(e);else{let s=this.records.get(e);s||(s=mc(void 0,Ff,!0),s.factory=()=>fg(s.multi),this.records.set(e,s)),e=n,s.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Ff&&(e.value=xI,e.value=e.factory()),"object"==typeof e.value&&e.value&&function II(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Mt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Tg(t){const n=nl(t),e=null!==n?n.factory:Hs(t);if(null!==e)return e;if(t instanceof Be)throw new Le(204,!1);if(t instanceof Function)return function LI(t){const n=t.length;if(n>0)throw dd(n,"?"),new Le(204,!1);const e=function Wh(t){const n=t&&(t[Ul]||t[Lu]);if(n){const e=function T_(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" 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 "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Le(204,!1)}function dM(t,n,e){let i;if(ll(t)){const s=Mt(t);return Hs(s)||Tg(s)}if(Sg(t))i=()=>Mt(t.useValue);else if(function cM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...fg(t.deps||[]));else if(function lM(t){return!(!t||!t.useExisting)}(t))i=()=>Ce(Mt(t.useExisting));else{const s=Mt(t&&(t.useClass||t.provide));if(!function PI(t){return!!t.deps}(t))return Hs(s)||Tg(s);i=()=>new s(...fg(t.deps))}return i}function mc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function AI(t){return!!t.\u0275providers}function xg(t,n){for(const e of t)Array.isArray(e)?xg(e,n):AI(e)?xg(e.\u0275providers,n):n(e)}class hM{}class NI{resolveComponentFactory(n){throw function FI(t){const n=Error(`No component factory found for ${kn(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let xa=(()=>{class t{}return t.NULL=new NI,t})();function YI(){return _c(wi(),He())}function _c(t,n){return new bt(Oi(t,n))}let bt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=YI,t})();function HI(t){return t instanceof bt?t.nativeElement:t}class yd{}let po=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function VI(){const t=He(),e=yr(wi().index,t);return(vr(e)?e:t)[11]}(),t})(),BI=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>null}),t})();class cl{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const jI=new cl("14.2.0"),Lg={};function Ag(t){return t.ngOriginalError}class Vo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ag(n);for(;e&&Ag(e);)e=Ag(e);return e||null}}const Rg=new Map;let eO=0;const Ng="__ngContext__";function Mr(t,n){vr(n)?(t[Ng]=n[20],function nO(t){Rg.set(t[20],t)}(n)):t[Ng]=n}function Md(t){const n=t[Ng];return"number"==typeof n?function bM(t){return Rg.get(t)||null}(n):n||null}function Yg(t){const n=Md(t);return n?vr(n)?n:n.lView:null}function Hg(t){return t.ownerDocument.defaultView}function Bo(t){return t instanceof Function?t():t}var qr=(()=>((qr=qr||{})[qr.Important=1]="Important",qr[qr.DashCase=2]="DashCase",qr))();function Bg(t,n){return undefined(t,n)}function wd(t){const n=t[3];return rs(n)?n[3]:n}function jg(t){return kM(t[13])}function Ug(t){return kM(t[4])}function kM(t){for(;null!==t&&!rs(t);)t=t[4];return t}function vc(t,n,e,i,s){if(null!=i){let o,a=!1;rs(i)?o=i:vr(i)&&(a=!0,i=i[0]);const l=ai(i);0===t&&null!==e?null==s?IM(n,e,l):ul(n,e,l,s||null,!0):1===t&&null!==e?ul(n,e,l,s||null,!0):2===t?function HM(t,n,e){const i=Yf(t,n);i&&function xO(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,l,a):3===t&&n.destroyNode(l),null!=o&&function PO(t,n,e,i,s){const o=e[7];o!==ai(e)&&vc(n,t,i,o,s);for(let l=10;l0&&(t[e-1][4]=i[4]);const o=xf(t,10+n);!function yO(t,n){Cd(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function LM(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&Cd(t,n,e,3,null,null),function CO(t){let n=t[13];if(!n)return Gg(t[1],t);for(;n;){let e=null;if(vr(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)vr(n)&&Gg(n[1],n),n=n[3];null===n&&(n=t),vr(n)&&Gg(n[1],n),e=n&&n[4]}n=e}}(n)}}function Gg(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function TO(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[s=_]():i[s=-_].unsubscribe(),o+=2}else{const a=i[s=e[o+1]];e[o].call(a)}if(null!==i){for(let o=s+1;oo?"":s[R+1].toLowerCase();const X=8&i?$:null;if(X&&-1!==jM(X,_,0)||2&i&&_!==$){if(Ws(i))return!1;a=!0}}}}else{if(!a&&!Ws(i)&&!Ws(c))return!1;if(a&&Ws(c))continue;a=!1,i=c|1&i}}return Ws(i)||a}function Ws(t){return 0==(1&t)}function FO(t,n,e,i){if(null===n)return-1;let s=0;if(i||!e){let o=!1;for(;s-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?s+="."+a:4&i&&(s+=" "+a);else""!==s&&!Ws(a)&&(n+=$M(o,s),s=""),i=a,o=o||!Ws(i);e++}return""!==s&&(n+=$M(o,s)),n}const Nt={};function d(t){GM(Xt(),He(),or()+t,!1)}function GM(t,n,e,i){if(!i)if(3==(3&n[2])){const o=t.preOrderCheckHooks;null!==o&&oc(n,o,e)}else{const o=t.preOrderHooks;null!==o&&ac(n,o,0,e)}We(e)}function QM(t,n=null,e=null,i){const s=JM(t,n,e,i);return s.resolveInjectorInitializers(),s}function JM(t,n=null,e=null,i,s=new Set){const o=[e||cn,DI(t)];return i=i||("object"==typeof t?void 0:kn(t)),new uM(o,n||Nf(),i||null,s)}let Jn=(()=>{class t{static create(e,i){if(Array.isArray(e))return QM({name:""},i,e,"");{const s=e.name??"";return QM({name:s},e.parent,e.providers,s)}}}return t.THROW_IF_NOT_FOUND=hd,t.NULL=new sM,t.\u0275prov=Ye({token:t,providedIn:"any",factory:()=>Ce(iM)}),t.__NG_ELEMENT_ID__=-1,t})();function N(t,n=_t.Default){const e=He();return null===e?Ce(t,n):kf(wi(),e,Mt(t),n)}function dl(){throw new Error("invalid")}function jf(t,n){return t<<17|n<<2}function $s(t){return t>>17&32767}function nv(t){return 2|t}function jo(t){return(131068&t)>>2}function iv(t,n){return-131069&t|n<<2}function rv(t){return 1|t}function mw(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&GM(t,n,22,!1),e(i,s)}finally{We(o)}}function gw(t,n,e){if(Nu(n)){const s=n.directiveEnd;for(let o=n.directiveStart;o0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(l)!=c&&l.push(c),l.push(i,s,a)}}function Sw(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Dw(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function OA(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&vv(e)}}function vv(t){for(let i=jg(t);null!==i;i=Ug(i))for(let s=10;s0&&vv(o)}const e=t[1].components;if(null!==e)for(let i=0;i0&&vv(s)}}function VA(t,n){const e=yr(n,t),i=e[1];(function BA(t,n){for(let e=n.length;e-1&&($g(n,i),xf(e,i))}this._attachedToViewContainer=!1}LM(this._lView[1],this._lView)}onDestroy(n){bw(this._lView[1],this._lView,null,n)}markForCheck(){bv(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function yv(t,n,e){const i=n[10];i.begin&&i.begin();try{Sd(t,n,t.template,e)}catch(s){throw Ow(n,s),s}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function wO(t,n){Cd(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Le(902,!1);this._appRef=n}}class UA extends Dd{constructor(n){super(n),this._view=n}detectChanges(){!function Lw(t){!function jA(t){for(let n=0;n0&&Qg(_,R,it.join(" "))}if(Re=Gu(he,22),void 0!==e){const Fe=Re.projection=[];for(let it=0;it=0;i--){const s=t[i];s.hostVars=n+=s.hostVars,s.hostAttrs=lc(s.hostAttrs,e=lc(e,s.hostAttrs))}}(i)}function Sv(t){return t===da?{}:t===cn?[]:t}function XA(t,n){const e=t.viewQuery;t.viewQuery=e?(i,s)=>{n(i,s),e(i,s)}:n}function eR(t,n){const e=t.contentQueries;t.contentQueries=e?(i,s,o)=>{n(i,s,o),e(i,s,o)}:n}function tR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,s)=>{n(i,s),e(i,s)}:n}let Zf=null;function hl(){if(!Zf){const t=Tn.Symbol;if(t&&t.iterator)Zf=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;el(ai(Et[i.index])):i.index;let it=null;if(!l&&c&&(it=function fR(t,n,e,i){const s=t.cleanup;if(null!=s)for(let o=0;oc?l[c]:null}"string"==typeof a&&(o+=2)}return null}(t,n,s,i.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=o,it.__ngLastListenerFn__=o,X=!1;else{o=qw(i,n,R,o,!1);const Et=e.listen(Re,s,o);$.push(o,Et),E&&E.push(s,Fe,$e,$e+1)}}else o=qw(i,n,R,o,!1);const he=i.outputs;let Se;if(X&&null!==he&&(Se=he[s])){const Pe=Se.length;if(Pe)for(let Re=0;Re0;)n=n[15],t--;return n}(t,Tt.lFrame.contextLView))[8]}(t)}function pR(t,n){let e=null;const i=function NO(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let s=0;s=0}const ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rC(t){return t.substring(ji.key,ji.keyEnd)}function vR(t){return t.substring(ji.value,ji.valueEnd)}function sC(t,n){const e=ji.textEnd;return e===n?-1:(n=ji.keyEnd=function MR(t,n,e){for(;n32;)n++;return n}(t,ji.key=n,e),Pc(t,n,e))}function oC(t,n){const e=ji.textEnd;let i=ji.key=Pc(t,n,e);return e===i?-1:(i=ji.keyEnd=function wR(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=lC(t,i,e),i=ji.value=Pc(t,i,e),i=ji.valueEnd=function CR(t,n,e){let i=-1,s=-1,o=-1,a=n,l=a;for(;a32&&(l=a),o=s,s=i,i=-33&c}return l}(t,i,e),lC(t,i,e))}function aC(t){ji.key=0,ji.keyEnd=0,ji.value=0,ji.valueEnd=0,ji.textEnd=t.length}function Pc(t,n,e){for(;n=0;e=oC(n,e))hC(t,rC(n),vR(n))}function fs(t){qs(us,go,t,!0)}function go(t,n){for(let e=function bR(t){return aC(t),sC(t,Pc(t,0,ji.textEnd))}(n);e>=0;e=sC(n,e))us(t,rC(n),!0)}function Gs(t,n,e,i){const s=He(),o=Xt(),a=Bs(2);o.firstUpdatePass&&dC(o,t,a,i),n!==Nt&&wr(s,a,n)&&fC(o,o.data[or()],s,s[11],t,s[a+1]=function PR(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=kn(ds(t)))),t}(n,e),i,a)}function qs(t,n,e,i){const s=Xt(),o=Bs(2);s.firstUpdatePass&&dC(s,null,o,i);const a=He();if(e!==Nt&&wr(a,o,e)){const l=s.data[or()];if(mC(l,i)&&!uC(s,o)){let c=i?l.classesWithoutHost:l.stylesWithoutHost;null!==c&&(e=ca(c,e||"")),kv(s,l,a,e,i)}else!function ER(t,n,e,i,s,o,a,l){s===Nt&&(s=cn);let c=0,_=0,E=0=t.expandoStartIndex}function dC(t,n,e,i){const s=t.data;if(null===s[e+1]){const o=s[or()],a=uC(t,e);mC(o,i)&&null===n&&!a&&(n=!1),n=function DR(t,n,e,i){const s=Qu(t);let o=i?n.residualClasses:n.residualStyles;if(null===s)0===(i?n.classBindings:n.styleBindings)&&(e=Ed(e=Lv(null,t,n,e,i),n.attrs,i),o=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==s)if(e=Lv(s,t,n,e,i),null===o){let c=function kR(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==jo(i))return t[$s(i)]}(t,n,i);void 0!==c&&Array.isArray(c)&&(c=Lv(null,t,n,c[1],i),c=Ed(c,n.attrs,i),function TR(t,n,e,i){t[$s(e?n.classBindings:n.styleBindings)]=i}(t,n,i,c))}else o=function xR(t,n,e){let i;const s=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(_=!0)}else E=e;if(s)if(0!==c){const $=$s(t[l+1]);t[i+1]=jf($,l),0!==$&&(t[$+1]=iv(t[$+1],i)),t[l+1]=function lA(t,n){return 131071&t|n<<17}(t[l+1],i)}else t[i+1]=jf(l,0),0!==l&&(t[l+1]=iv(t[l+1],i)),l=i;else t[i+1]=jf(c,0),0===l?l=i:t[c+1]=iv(t[c+1],i),c=i;_&&(t[i+1]=nv(t[i+1])),iC(t,E,i,!0),iC(t,E,i,!1),function _R(t,n,e,i,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&uc(o,n)>=0&&(e[i+1]=rv(e[i+1]))}(n,E,t,i,o),a=jf(l,c),o?n.classBindings=a:n.styleBindings=a}(s,o,n,e,a,i)}}function Lv(t,n,e,i,s){let o=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const c=t[s],_=Array.isArray(c),E=_?c[1]:c,R=null===E;let $=e[s+1];$===Nt&&($=R?cn:void 0);let X=R?ug($,i):E===i?$:void 0;if(_&&!Xf(X)&&(X=ug(c,i)),Xf(X)&&(l=X,a))return l;const he=t[s+1];s=a?$s(he):jo(he)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(l=ug(c,i))}return l}function Xf(t){return void 0!==t}function mC(t,n){return 0!=(t.flags&(n?16:32))}function O(t,n=""){const e=He(),i=Xt(),s=t+22,o=i.firstCreatePass?yc(i,s,1,n,null):i.data[s],a=e[s]=function zg(t,n){return t.createText(n)}(e[11],n);Hf(i,e,a,o),os(o,!1)}function pe(t){return ye("",t,""),pe}function ye(t,n,e){const i=He(),s=Cc(i,t,n,e);return s!==Nt&&Uo(i,or(),s),ye}function ps(t,n,e,i,s){const o=He(),a=Sc(o,t,n,e,i,s);return a!==Nt&&Uo(o,or(),a),ps}function pl(t,n,e){const i=He();return wr(i,va(),n)&&hs(Xt(),si(),i,t,n,i[11],e,!0),pl}function ep(t,n,e){const i=He();if(wr(i,va(),n)){const o=Xt(),a=si();hs(o,a,i,t,n,Iw(Qu(o.data),a,i),e,!0)}return ep}const ml=void 0;var ZR=["en",[["a","p"],["AM","PM"],ml],[["AM","PM"],ml,ml],[["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"]],ml,[["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"]],ml,[["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}",ml,"{1} 'at' {0}",ml],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function KR(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ic={};function Or(t){const n=function QR(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=AC(n);if(e)return e;const i=n.split("-")[0];if(e=AC(i),e)return e;if("en"===i)return ZR;throw new Le(701,!1)}function AC(t){return t in Ic||(Ic[t]=Tn.ng&&Tn.ng.common&&Tn.ng.common.locales&&Tn.ng.common.locales[t]),Ic[t]}var ct=(()=>((ct=ct||{})[ct.LocaleId=0]="LocaleId",ct[ct.DayPeriodsFormat=1]="DayPeriodsFormat",ct[ct.DayPeriodsStandalone=2]="DayPeriodsStandalone",ct[ct.DaysFormat=3]="DaysFormat",ct[ct.DaysStandalone=4]="DaysStandalone",ct[ct.MonthsFormat=5]="MonthsFormat",ct[ct.MonthsStandalone=6]="MonthsStandalone",ct[ct.Eras=7]="Eras",ct[ct.FirstDayOfWeek=8]="FirstDayOfWeek",ct[ct.WeekendRange=9]="WeekendRange",ct[ct.DateFormat=10]="DateFormat",ct[ct.TimeFormat=11]="TimeFormat",ct[ct.DateTimeFormat=12]="DateTimeFormat",ct[ct.NumberSymbols=13]="NumberSymbols",ct[ct.NumberFormats=14]="NumberFormats",ct[ct.CurrencyCode=15]="CurrencyCode",ct[ct.CurrencySymbol=16]="CurrencySymbol",ct[ct.CurrencyName=17]="CurrencyName",ct[ct.Currencies=18]="Currencies",ct[ct.Directionality=19]="Directionality",ct[ct.PluralCase=20]="PluralCase",ct[ct.ExtraData=21]="ExtraData",ct))();const Oc="en-US";let RC=Oc;function Iv(t,n,e,i,s){if(t=Mt(t),Array.isArray(t))for(let o=0;o>20;if(ll(t)||!t.multi){const X=new ya(c,s,N),he=Av(l,n,s?E:E+$,R);-1===he?(Pr(ol(_,a),o,l),Ov(o,t,n.length),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(X),a.push(X)):(e[he]=X,a[he]=X)}else{const X=Av(l,n,E+$,R),he=Av(l,n,E,E+$),Se=X>=0&&e[X],Pe=he>=0&&e[he];if(s&&!Pe||!s&&!Se){Pr(ol(_,a),o,l);const Re=function qF(t,n,e,i,s){const o=new ya(t,e,N);return o.multi=[],o.index=n,o.componentProviders=0,oS(o,s,i&&!e),o}(s?GF:$F,e.length,s,i,c);!s&&Pe&&(e[he].providerFactory=Re),Ov(o,t,n.length,0),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(Re),a.push(Re)}else Ov(o,t,X>-1?X:he,oS(e[s?he:X],c,!s&&i));!s&&i&&Pe&&e[he].componentProviders++}}}function Ov(t,n,e,i){const s=ll(n),o=function TI(t){return!!t.useClass}(n);if(s||o){const c=(o?Mt(n.useClass):n).prototype.ngOnDestroy;if(c){const _=t.destroyHooks||(t.destroyHooks=[]);if(!s&&n.multi){const E=_.indexOf(e);-1===E?_.push(e,[i,c]):_[E+1].push(i,c)}else _.push(e,c)}}}function oS(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Av(t,n,e,i){for(let s=e;s{e.providersResolver=(i,s)=>function WF(t,n,e){const i=Xt();if(i.firstCreatePass){const s=ss(t);Iv(e,i.data,i.blueprint,s,!0),Iv(n,i.data,i.blueprint,s,!1)}}(i,s?s(t):t,n)}}class _l{}class aS{}class lS extends _l{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cv(this);const i=rr(n);this._bootstrapComponents=Bo(i.bootstrap),this._r3Injector=JM(n,e,[{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],kn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Fv extends aS{constructor(n){super(),this.moduleType=n}create(n){return new lS(this.moduleType,n)}}class ZF extends _l{constructor(n,e,i){super(),this.componentFactoryResolver=new Cv(this),this.instance=null;const s=new uM([...n,{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],e||Nf(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function sp(t,n,e=null){return new ZF(t,n,e).injector}let QF=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=oM(0,e.type),s=i.length>0?sp([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,s)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Ye({token:t,providedIn:"environment",factory:()=>new t(Ce(Ta))}),t})();function cS(t){t.getStandaloneInjector=n=>n.get(QF).getOrCreateStandaloneInjector(t)}function Hn(t,n,e){const i=sr()+t,s=He();return s[i]===Nt?_o(s,i,e?n.call(e):n()):function xd(t,n){return t[n]}(s,i)}function Ue(t,n,e,i){return _S(He(),sr(),t,n,e,i)}function hn(t,n,e,i,s){return gS(He(),sr(),t,n,e,i,s)}function Rd(t,n){const e=t[n];return e===Nt?void 0:e}function _S(t,n,e,i,s,o){const a=n+e;return wr(t,a,s)?_o(t,a+1,o?i.call(o,s):i(s)):Rd(t,a+1)}function gS(t,n,e,i,s,o,a){const l=n+e;return fl(t,l,s,o)?_o(t,l+2,a?i.call(a,s,o):i(s,o)):Rd(t,l+2)}function Y(t,n){const e=Xt();let i;const s=t+22;e.firstCreatePass?(i=function p3(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[s]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(s,i.onDestroy)):i=e.data[s];const o=i.factory||(i.factory=Hs(i.type)),a=zr(N);try{const l=cc(!1),c=o();return cc(l),function uR(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,He(),s,c),c}finally{zr(a)}}function B(t,n,e){const i=t+22,s=He(),o=Fo(s,i);return Fd(s,i)?_S(s,sr(),n,o.transform,e,o):o.transform(e)}function Vt(t,n,e,i){const s=t+22,o=He(),a=Fo(o,s);return Fd(o,s)?gS(o,sr(),n,a.transform,e,i,a):a.transform(e,i)}function Fd(t,n){return t[1].data[n].pure}function Yv(t){return n=>{setTimeout(t,void 0,n)}}const ft=class v3 extends J{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let s=n,o=e||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;s=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=Yv(o),s&&(s=Yv(s)),a&&(a=Yv(a)));const l=super.subscribe({next:s,error:o,complete:a});return n instanceof x&&n.add(l),l}};function b3(){return this._results[hl()]()}class gl{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=hl(),i=gl.prototype;i[e]||(i[e]=b3)}get changes(){return this._changes||(this._changes=new ft)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const s=cs(n);(this._changesDetected=!function SP(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=w3,t})();const y3=Ar,M3=class extends y3{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,s=Wf(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);s[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(s[19]=a.createEmbeddedView(i)),$f(i,s,n),new Dd(s)}};function w3(){return op(wi(),He())}function op(t,n){return 4&t.type?new M3(n,t,_c(t,n)):null}let ar=(()=>{class t{}return t.__NG_ELEMENT_ID__=C3,t})();function C3(){return CS(wi(),He())}const S3=ar,MS=class extends S3{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _c(this._hostTNode,this._hostLView)}get injector(){return new V(this._hostTNode,this._hostLView)}get parentInjector(){const n=ls(this._hostTNode,this._hostLView);if(Mf(n)){const e=Ca(n,this._hostLView),i=wa(n);return new V(e[1].data[i+8],e)}return new V(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=wS(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let s,o;"number"==typeof i?s=i:null!=i&&(s=i.index,o=i.injector);const a=n.createEmbeddedView(e||{},o);return this.insert(a,s),a}createComponent(n,e,i,s,o){const a=n&&!function ud(t){return"function"==typeof t}(n);let l;if(a)l=e;else{const R=e||{};l=R.index,i=R.injector,s=R.projectableNodes,o=R.environmentInjector||R.ngModuleRef}const c=a?n:new kd(gn(n)),_=i||this.parentInjector;if(!o&&null==c.ngModule){const $=(a?_:this.parentInjector).get(Ta,null);$&&(o=$)}const E=c.create(_,s,void 0,o);return this.insert(E.hostView,l),E}insert(n,e){const i=n._lView,s=i[1];if(function W_(t){return rs(t[3])}(i)){const E=this.indexOf(n);if(-1!==E)this.detach(E);else{const R=i[3],$=new MS(R,R[6],R[3]);$.detach($.indexOf(n))}}const o=this._adjustIndex(e),a=this._lContainer;!function SO(t,n,e,i){const s=10+i,o=e.length;i>0&&(e[s-1][4]=n),i0)i.push(a[l/2]);else{const _=o[l+1],E=n[-c];for(let R=10;R{class t{constructor(e){this.appInits=e,this.resolve=lp,this.reject=lp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{o.subscribe({complete:l,error:c})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(s=>{this.reject(s)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Ce(cp,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Nc=new Be("AppId",{providedIn:"root",factory:function GS(){return`${Kv()}${Kv()}${Kv()}`}});function Kv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qS=new Be("Platform Initializer"),dp=new Be("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),KS=new Be("appBootstrapListener"),Ui=new Be("AnimationModuleType");let J3=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const vo=new Be("LocaleId",{providedIn:"root",factory:()=>Yn(vo,_t.Optional|_t.SkipSelf)||function X3(){return typeof $localize<"u"&&$localize.locale||Oc}()});class tN{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Zv=(()=>{class t{compileModuleSync(e){return new Fv(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Bo(rr(e).declarations).reduce((a,l)=>{const c=gn(l);return c&&a.push(new kd(c)),a},[]);return new tN(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const rN=(()=>Promise.resolve(0))();function Qv(t){typeof Zone>"u"?rN.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class mt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ft(!1),this.onMicrotaskEmpty=new ft(!1),this.onStable=new ft(!1),this.onError=new ft(!1),typeof Zone>"u")throw new Le(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&e,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function sN(){let t=Tn.requestAnimationFrame,n=Tn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function lN(t){const n=()=>{!function aN(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Tn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Xv(t),t.isCheckStableRunning=!0,Jv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Xv(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,s,o,a,l)=>{try{return JS(t),e.invokeTask(s,o,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),XS(t)}},onInvoke:(e,i,s,o,a,l,c)=>{try{return JS(t),e.invoke(s,o,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&n(),XS(t)}},onHasTask:(e,i,s,o)=>{e.hasTask(s,o),i===s&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Xv(t),Jv(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,s,o)=>(e.handleError(s,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mt.isInAngularZone())throw new Le(909,!1)}static assertNotInAngularZone(){if(mt.isInAngularZone())throw new Le(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,n,oN,lp,lp);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const oN={};function Jv(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 Xv(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function JS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function XS(t){t._nesting--,Jv(t)}class cN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ft,this.onMicrotaskEmpty=new ft,this.onStable=new ft,this.onError=new ft}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,s){return n.apply(e,i)}}const eD=new Be(""),hp=new Be("");let nb,eb=(()=>{class t{constructor(e,i,s){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,nb||(function uN(t){nb=t}(s),s.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{mt.assertNotInAngularZone(),Qv(()=>{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())Qv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:s})}whenStable(e,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,s){return[]}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(tb),Ce(hp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),tb=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return nb?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Aa=null;const tD=new Be("AllowMultipleToken"),ib=new Be("PlatformDestroyListeners");class nD{constructor(n,e){this.name=n,this.token=e}}function rD(t,n,e=[]){const i=`Platform: ${n}`,s=new Be(i);return(o=[])=>{let a=rb();if(!a||a.injector.get(tD,!1)){const l=[...e,...o,{provide:s,useValue:!0}];t?t(l):function fN(t){if(Aa&&!Aa.get(tD,!1))throw new Le(400,!1);Aa=t;const n=t.get(oD);(function iD(t){const n=t.get(qS,null);n&&n.forEach(e=>e())})(t)}(function sD(t=[],n){return Jn.create({name:n,providers:[{provide:Dg,useValue:"platform"},{provide:ib,useValue:new Set([()=>Aa=null])},...t]})}(l,i))}return function mN(t){const n=rb();if(!n)throw new Le(401,!1);return n}()}}function rb(){return Aa?.get(oD)??null}let oD=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const s=function lD(t,n){let e;return e="noop"===t?new cN:("zone.js"===t?void 0:t)||new mt(n),e}(i?.ngZone,function aD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:mt,useValue:s}];return s.run(()=>{const a=Jn.create({providers:o,parent:this.injector,name:e.moduleType.name}),l=e.create(a),c=l.injector.get(Vo,null);if(!c)throw new Le(402,!1);return s.runOutsideAngular(()=>{const _=s.onError.subscribe({next:E=>{c.handleError(E)}});l.onDestroy(()=>{fp(this._modules,l),_.unsubscribe()})}),function cD(t,n,e){try{const i=e();return Ld(i)?i.catch(s=>{throw n.runOutsideAngular(()=>t.handleError(s)),s}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(c,s,()=>{const _=l.injector.get(up);return _.runInitializers(),_.donePromise.then(()=>(function FC(t){Li(t,"Expected localeId to be defined"),"string"==typeof t&&(RC=t.toLowerCase().replace(/_/g,"-"))}(l.injector.get(vo,Oc)||Oc),this._moduleDoBootstrap(l),l))})})}bootstrapModule(e,i=[]){const s=uD({},i);return function dN(t,n,e){const i=new Fv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,s))}_moduleDoBootstrap(e){const i=e.injector.get(Yc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Le(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Le(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(ib,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function uD(t,n){return Array.isArray(n)?n.reduce(uD,t):{...t,...n}}let Yc=(()=>{class t{constructor(e,i,s){this._zone=e,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ce(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new ce(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{mt.assertNotInAngularZone(),Qv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const _=this._zone.onUnstable.subscribe(()=>{mt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),_.unsubscribe()}});this.isStable=Yt(o,a.pipe(mn()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const s=e instanceof hM;if(!this._injector.get(up).done)throw!s&&function fa(t){const n=gn(t)||nr(t)||ir(t);return null!==n&&n.standalone}(e),new Le(405,false);let a;a=s?e:this._injector.get(xa).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function hN(t){return t.isBoundToModule}(a)?void 0:this._injector.get(_l),_=a.create(Jn.NULL,[],i||a.selector,l),E=_.location.nativeElement,R=_.injector.get(eD,null);return R?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),fp(this.components,_),R?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Le(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;fp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(KS,[]).concat(this._bootstrapListeners).forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>fp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Le(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Ta),Ce(Vo))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fp(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let hD=!0,Xn=(()=>{class t{}return t.__NG_ELEMENT_ID__=vN,t})();function vN(t){return function bN(t,n,e){if(ql(t)&&!e){const i=yr(t.index,n);return new Dd(i,i)}return 47&t.type?new Dd(n[16],n):null}(wi(),He(),16==(16&t))}class gD{constructor(){}supports(n){return Td(n)}create(n){return new DN(n)}}const SN=(t,n)=>n;class DN{constructor(n){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=n||SN}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,s=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(s,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,s)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,s),i=!0),e=e._next,s++}),this.length=s;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,s){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,s)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,s)):n=this._addAfter(new kN(e,i),o,s),n}_verifyReinsertion(n,e,i,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,s):n.currentIndex!=s&&(n.currentIndex=s,this._addToMoves(n,s)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const s=n._prevRemoved,o=n._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const s=null===e?this._itHead:e._next;return n._next=s,n._prev=e,null===s?this._itTail=n:s._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new vD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class kN{constructor(n,e){this.item=n,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 TN{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class vD{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new TN,this.map.set(e,i)),i.add(n)}get(n,e){const s=this.map.get(n);return s?s.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bD(t,n,e){const i=t.previousIndex;if(null===i)return i;let s=0;return e&&i{if(e&&e.key===s)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(s,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const s=this._records.get(n);this._maybeAddToChanges(s,e);const o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const i=new LN(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class LN{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function MD(){return new Yd([new gD])}let Yd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||MD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(null!=i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:MD}),t})();function wD(){return new Hd([new yD])}let Hd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||wD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:wD}),t})();const IN=rD(null,"core",[]);let ON=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Yc))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function Wo(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let _p=null;function bo(){return _p}const Ct=new Be("DocumentToken");let cb=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return function NN(){return Ce(CD)}()},providedIn:"platform"}),t})();const YN=new Be("Location Initialized");let CD=(()=>{class t extends cb{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bo().getBaseHref(this._doc)}onPopState(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,s){SD()?this._history.pushState(e,i,s):this.location.hash=s}replaceState(e,i,s){SD()?this._history.replaceState(e,i,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(){return function HN(){return new CD(Ce(Ct))}()},providedIn:"platform"}),t})();function SD(){return!!window.history.pushState}function ub(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function DD(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function $o(t){return t&&"?"!==t[0]?"?"+t:t}let bl=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(TD)},providedIn:"root"}),t})();const kD=new Be("appBaseHref");let TD=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Yn(Ct).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ub(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+$o(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${i}${s}`:i}pushState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(kD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),VN=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=ub(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(kD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Vd=(()=>{class t{constructor(e){this._subject=new ft,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=DD(xD(i)),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+$o(i))}normalize(e){return t.stripTrailingSlash(function jN(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,xD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",s=null){this._locationStrategy.pushState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}replaceState(e,i="",s=null){this._locationStrategy.replaceState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(s=>s(e,i))}subscribe(e,i,s){return this._subject.subscribe({next:e,error:i,complete:s})}}return t.normalizeQueryParams=$o,t.joinWithSlash=ub,t.stripTrailingSlash=DD,t.\u0275fac=function(e){return new(e||t)(Ce(bl))},t.\u0275prov=Ye({token:t,factory:function(){return function BN(){return new Vd(Ce(bl))}()},providedIn:"root"}),t})();function xD(t){return t.replace(/\/index.html$/,"")}var Ci=(()=>((Ci=Ci||{})[Ci.Format=0]="Format",Ci[Ci.Standalone=1]="Standalone",Ci))(),Qt=(()=>((Qt=Qt||{})[Qt.Narrow=0]="Narrow",Qt[Qt.Abbreviated=1]="Abbreviated",Qt[Qt.Wide=2]="Wide",Qt[Qt.Short=3]="Short",Qt))(),ci=(()=>((ci=ci||{})[ci.Short=0]="Short",ci[ci.Medium=1]="Medium",ci[ci.Long=2]="Long",ci[ci.Full=3]="Full",ci))(),yt=(()=>((yt=yt||{})[yt.Decimal=0]="Decimal",yt[yt.Group=1]="Group",yt[yt.List=2]="List",yt[yt.PercentSign=3]="PercentSign",yt[yt.PlusSign=4]="PlusSign",yt[yt.MinusSign=5]="MinusSign",yt[yt.Exponential=6]="Exponential",yt[yt.SuperscriptingExponent=7]="SuperscriptingExponent",yt[yt.PerMille=8]="PerMille",yt[yt.Infinity=9]="Infinity",yt[yt.NaN=10]="NaN",yt[yt.TimeSeparator=11]="TimeSeparator",yt[yt.CurrencyDecimal=12]="CurrencyDecimal",yt[yt.CurrencyGroup=13]="CurrencyGroup",yt))();function gp(t,n){return Ps(Or(t)[ct.DateFormat],n)}function vp(t,n){return Ps(Or(t)[ct.TimeFormat],n)}function bp(t,n){return Ps(Or(t)[ct.DateTimeFormat],n)}function Es(t,n){const e=Or(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===yt.CurrencyDecimal)return e[ct.NumberSymbols][yt.Decimal];if(n===yt.CurrencyGroup)return e[ct.NumberSymbols][yt.Group]}return i}function ED(t){if(!t[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ps(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function hb(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const t4=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bd={},n4=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?: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}|c{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 zi=(()=>((zi=zi||{})[zi.Short=0]="Short",zi[zi.ShortGMT=1]="ShortGMT",zi[zi.Long=2]="Long",zi[zi.Extended=3]="Extended",zi))(),St=(()=>((St=St||{})[St.FullYear=0]="FullYear",St[St.Month=1]="Month",St[St.Date=2]="Date",St[St.Hours=3]="Hours",St[St.Minutes=4]="Minutes",St[St.Seconds=5]="Seconds",St[St.FractionalSeconds=6]="FractionalSeconds",St[St.Day=7]="Day",St))(),jt=(()=>((jt=jt||{})[jt.DayPeriods=0]="DayPeriods",jt[jt.Days=1]="Days",jt[jt.Months=2]="Months",jt[jt.Eras=3]="Eras",jt))();function PD(t,n,e,i){let s=function h4(t){if(AD(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[s,o=1,a=1]=t.split("-").map(l=>+l);return yp(s,o-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(t4))return function f4(t){const n=new Date(0);let e=0,i=0;const s=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,l=Number(t[5]||0)-i,c=Number(t[6]||0),_=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,a,l,c,_),n}(i)}const n=new Date(t);if(!AD(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=Go(e,n)||n;let l,a=[];for(;n;){if(l=n4.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const E=a.pop();if(!E)break;n=E}}let c=s.getTimezoneOffset();i&&(c=OD(i,c),s=function d4(t,n,e){const i=e?-1:1,s=t.getTimezoneOffset();return function u4(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(OD(n,s)-s))}(s,i,!0));let _="";return a.forEach(E=>{const R=function c4(t){if(pb[t])return pb[t];let n;switch(t){case"G":case"GG":case"GGG":n=zn(jt.Eras,Qt.Abbreviated);break;case"GGGG":n=zn(jt.Eras,Qt.Wide);break;case"GGGGG":n=zn(jt.Eras,Qt.Narrow);break;case"y":n=Ri(St.FullYear,1,0,!1,!0);break;case"yy":n=Ri(St.FullYear,2,0,!0,!0);break;case"yyy":n=Ri(St.FullYear,3,0,!1,!0);break;case"yyyy":n=Ri(St.FullYear,4,0,!1,!0);break;case"Y":n=Sp(1);break;case"YY":n=Sp(2,!0);break;case"YYY":n=Sp(3);break;case"YYYY":n=Sp(4);break;case"M":case"L":n=Ri(St.Month,1,1);break;case"MM":case"LL":n=Ri(St.Month,2,1);break;case"MMM":n=zn(jt.Months,Qt.Abbreviated);break;case"MMMM":n=zn(jt.Months,Qt.Wide);break;case"MMMMM":n=zn(jt.Months,Qt.Narrow);break;case"LLL":n=zn(jt.Months,Qt.Abbreviated,Ci.Standalone);break;case"LLLL":n=zn(jt.Months,Qt.Wide,Ci.Standalone);break;case"LLLLL":n=zn(jt.Months,Qt.Narrow,Ci.Standalone);break;case"w":n=fb(1);break;case"ww":n=fb(2);break;case"W":n=fb(1,!0);break;case"d":n=Ri(St.Date,1);break;case"dd":n=Ri(St.Date,2);break;case"c":case"cc":n=Ri(St.Day,1);break;case"ccc":n=zn(jt.Days,Qt.Abbreviated,Ci.Standalone);break;case"cccc":n=zn(jt.Days,Qt.Wide,Ci.Standalone);break;case"ccccc":n=zn(jt.Days,Qt.Narrow,Ci.Standalone);break;case"cccccc":n=zn(jt.Days,Qt.Short,Ci.Standalone);break;case"E":case"EE":case"EEE":n=zn(jt.Days,Qt.Abbreviated);break;case"EEEE":n=zn(jt.Days,Qt.Wide);break;case"EEEEE":n=zn(jt.Days,Qt.Narrow);break;case"EEEEEE":n=zn(jt.Days,Qt.Short);break;case"a":case"aa":case"aaa":n=zn(jt.DayPeriods,Qt.Abbreviated);break;case"aaaa":n=zn(jt.DayPeriods,Qt.Wide);break;case"aaaaa":n=zn(jt.DayPeriods,Qt.Narrow);break;case"b":case"bb":case"bbb":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Standalone,!0);break;case"bbbb":n=zn(jt.DayPeriods,Qt.Wide,Ci.Standalone,!0);break;case"bbbbb":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Standalone,!0);break;case"B":case"BB":case"BBB":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Format,!0);break;case"BBBB":n=zn(jt.DayPeriods,Qt.Wide,Ci.Format,!0);break;case"BBBBB":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Format,!0);break;case"h":n=Ri(St.Hours,1,-12);break;case"hh":n=Ri(St.Hours,2,-12);break;case"H":n=Ri(St.Hours,1);break;case"HH":n=Ri(St.Hours,2);break;case"m":n=Ri(St.Minutes,1);break;case"mm":n=Ri(St.Minutes,2);break;case"s":n=Ri(St.Seconds,1);break;case"ss":n=Ri(St.Seconds,2);break;case"S":n=Ri(St.FractionalSeconds,1);break;case"SS":n=Ri(St.FractionalSeconds,2);break;case"SSS":n=Ri(St.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=wp(zi.Short);break;case"ZZZZZ":n=wp(zi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=wp(zi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=wp(zi.Long);break;default:return null}return pb[t]=n,n}(E);_+=R?R(s,e,c):"''"===E?"'":E.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_}function yp(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Go(t,n){const e=function UN(t){return Or(t)[ct.LocaleId]}(t);if(Bd[e]=Bd[e]||{},Bd[e][n])return Bd[e][n];let i="";switch(n){case"shortDate":i=gp(t,ci.Short);break;case"mediumDate":i=gp(t,ci.Medium);break;case"longDate":i=gp(t,ci.Long);break;case"fullDate":i=gp(t,ci.Full);break;case"shortTime":i=vp(t,ci.Short);break;case"mediumTime":i=vp(t,ci.Medium);break;case"longTime":i=vp(t,ci.Long);break;case"fullTime":i=vp(t,ci.Full);break;case"short":const s=Go(t,"shortTime"),o=Go(t,"shortDate");i=Mp(bp(t,ci.Short),[s,o]);break;case"medium":const a=Go(t,"mediumTime"),l=Go(t,"mediumDate");i=Mp(bp(t,ci.Medium),[a,l]);break;case"long":const c=Go(t,"longTime"),_=Go(t,"longDate");i=Mp(bp(t,ci.Long),[c,_]);break;case"full":const E=Go(t,"fullTime"),R=Go(t,"fullDate");i=Mp(bp(t,ci.Full),[E,R])}return i&&(Bd[e][n]=i),i}function Mp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Zs(t,n,e="-",i,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=e));let a=String(t);for(;a.length0||l>-e)&&(l+=e),t===St.Hours)0===l&&-12===e&&(l=12);else if(t===St.FractionalSeconds)return function r4(t,n){return Zs(t,3).substring(0,n)}(l,n);const c=Es(a,yt.MinusSign);return Zs(l,n,c,i,s)}}function zn(t,n,e=Ci.Format,i=!1){return function(s,o){return function o4(t,n,e,i,s,o){switch(e){case jt.Months:return function $N(t,n,e){const i=Or(t),o=Ps([i[ct.MonthsFormat],i[ct.MonthsStandalone]],n);return Ps(o,e)}(n,s,i)[t.getMonth()];case jt.Days:return function WN(t,n,e){const i=Or(t),o=Ps([i[ct.DaysFormat],i[ct.DaysStandalone]],n);return Ps(o,e)}(n,s,i)[t.getDay()];case jt.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const _=function ZN(t){const n=Or(t);return ED(n),(n[ct.ExtraData][2]||[]).map(i=>"string"==typeof i?hb(i):[hb(i[0]),hb(i[1])])}(n),E=function QN(t,n,e){const i=Or(t);ED(i);const o=Ps([i[ct.ExtraData][0],i[ct.ExtraData][1]],n)||[];return Ps(o,e)||[]}(n,s,i),R=_.findIndex($=>{if(Array.isArray($)){const[X,he]=$,Se=a>=X.hours&&l>=X.minutes,Pe=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case zi.Short:return(s>=0?"+":"")+Zs(a,2,o)+Zs(Math.abs(s%60),2,o);case zi.ShortGMT:return"GMT"+(s>=0?"+":"")+Zs(a,1,o);case zi.Long:return"GMT"+(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);case zi.Extended:return 0===i?"Z":(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function ID(t){return yp(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function fb(t,n=!1){return function(e,i){let s;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();s=1+Math.floor((a+o)/7)}else{const o=ID(e),a=function l4(t){const n=yp(t,0,1).getDay();return yp(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),l=o.getTime()-a.getTime();s=1+Math.round(l/6048e5)}return Zs(s,t,Es(i,yt.MinusSign))}}function Sp(t,n=!1){return function(e,i){return Zs(ID(e).getFullYear(),t,Es(i,yt.MinusSign),n)}}const pb={};function OD(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function AD(t){return t instanceof Date&&!isNaN(t.valueOf())}function YD(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[s,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(s.trim()===n)return decodeURIComponent(o)}return null}let Wn=(()=>{class t{constructor(e,i,s,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=s,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Td(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${kn(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(s=>{i?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}return t.\u0275fac=function(e){return new(e||t)(N(Yd),N(Hd),N(bt),N(po))},t.\u0275dir=Je({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class k4{constructor(n,e,i,s){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=s}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 Fi=(()=>{class t{constructor(e,i,s){this._viewContainer=e,this._template=i,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((s,o,a)=>{if(null==s.previousIndex)i.createEmbeddedView(this._template,new k4(s.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const l=i.get(o);i.move(l,a),BD(l,s)}});for(let s=0,o=i.length;s{BD(i.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Yd))},t.\u0275dir=Je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function BD(t,n){t.context.$implicit=n.item}let Ot=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new x4,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){jD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){jD("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar))},t.\u0275dir=Je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class x4{constructor(){this.$implicit=null,this.ngIf=null}}function jD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${kn(n)}'.`)}class yb{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Hc=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class t{constructor(e,i,s){this.ngSwitch=s,s._addCase(),this._view=new yb(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),UD=(()=>{class t{constructor(e,i,s){s._addDefault(new yb(e,i))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),Tp=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(s,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(N(ar))},t.\u0275dir=Je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ii]}),t})();function Qs(t,n){return new Le(2100,!1)}class P4{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class I4{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const O4=new I4,A4=new P4;let WD=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Ld(e))return O4;if(Ww(e))return A4;throw Qs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(N(Xn,16))},t.\u0275pipe=Ki({name:"async",type:t,pure:!1,standalone:!0}),t})();const H4=new Be("DATE_PIPE_DEFAULT_TIMEZONE");let $D=(()=>{class t{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",s,o){if(null==e||""===e||e!=e)return null;try{return PD(e,i,o||this.locale,s??this.defaultTimezone??void 0)}catch(a){throw Qs()}}}return t.\u0275fac=function(e){return new(e||t)(N(vo,16),N(H4,24))},t.\u0275pipe=Ki({name:"date",type:t,pure:!0,standalone:!0}),t})(),yo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const qD="browser";let e5=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>new t5(Ce(Ct),window)}),t})();class t5{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function n5(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=i.currentNode;for(;s;){const o=s.shadowRoot;if(o){const a=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(a)return a}s=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],s-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=KD(this.window.history)||KD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function KD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class ZD{}class Db extends class M5 extends class FN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function RN(t){_p||(_p=t)}(new Db)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function w5(){return zd=zd||document.querySelector("base"),zd?zd.getAttribute("href"):null}();return null==e?null:function C5(t){Lp=Lp||document.createElement("a"),Lp.setAttribute("href",t);const n=Lp.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){zd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return YD(document.cookie,n)}}let Lp,zd=null;const ek=new Be("TRANSITION_ID"),D5=[{provide:cp,useFactory:function S5(t,n,e){return()=>{e.get(up).donePromise.then(()=>{const i=bo(),s=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Ep=new Be("EventManagerPlugins");let Pp=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}addGlobalEventListener(e,i,s){return this._findPluginFor(i).addGlobalEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const s=this._plugins;for(let o=0;o{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),i.add(s))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wd=(()=>{class t extends nk{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,s){e.forEach(o=>{const a=this._doc.createElement("style");a.textContent=o,s.push(i.appendChild(a))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(ik),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,s)=>{this._addStylesToHost(e,s,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(ik))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function ik(t){bo().remove(t)}const kb={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/",math:"http://www.w3.org/1998/MathML/"},Tb=/%COMP%/g;function Ip(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let Op=(()=>{class t{constructor(e,i,s){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new xb(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Hi.Emulated:{let s=this.rendererByCompId.get(i.id);return s||(s=new O5(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,s)),s.applyToHost(e),s}case 1:case Hi.ShadowDom:return new A5(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const s=Ip(i.id,i.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Pp),Ce(Wd),Ce(Nc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class xb{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(kb[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(lk(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(lk(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,s){if(s){e=s+":"+e;const o=kb[s];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const s=kb[i];s?n.removeAttributeNS(s,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,s){s&(qr.DashCase|qr.Important)?n.style.setProperty(e,i,s&qr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&qr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,ok(i)):this.eventManager.addEventListener(n,e,ok(i))}}function lk(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class O5 extends xb{constructor(n,e,i,s){super(n),this.component=i;const o=Ip(s+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function E5(t){return"_ngcontent-%COMP%".replace(Tb,t)}(s+"-"+i.id),this.hostAttr=function P5(t){return"_nghost-%COMP%".replace(Tb,t)}(s+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class A5 extends xb{constructor(n,e,i,s){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ip(s.id,s.styles,[]);for(let a=0;a{class t extends tk{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const ck=["alt","control","meta","shift"],F5={"\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"},N5={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Y5=(()=>{class t extends tk{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),a=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bo().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const o=t._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),ck.forEach(_=>{const E=i.indexOf(_);E>-1&&(i.splice(E,1),a+=_+".")}),a+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let s=F5[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(s=e.code,o="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),ck.forEach(a=>{a!==s&&(0,N5[a])(e)&&(o+=a+".")}),o+=s,o===i)}static eventCallback(e,i,s){return o=>{t.matchEventFullKeyCode(o,e)&&s.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const dk=[{provide:dp,useValue:qD},{provide:qS,useValue:function H5(){Db.makeCurrent()},multi:!0},{provide:Ct,useFactory:function B5(){return function KP(t){mg=t}(document),document},deps:[]}],j5=rD(IN,"browser",dk),hk=new Be(""),fk=[{provide:hp,useClass:class k5{addToWindow(n){Tn.getAngularTestability=(i,s=!0)=>{const o=n.findTestabilityInTree(i,s);if(null==o)throw new Error("Could not find testability for element.");return o},Tn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Tn.getAllAngularRootElements=()=>n.getAllRootElements(),Tn.frameworkStabilizers||(Tn.frameworkStabilizers=[]),Tn.frameworkStabilizers.push(i=>{const s=Tn.getAllAngularTestabilities();let o=s.length,a=!1;const l=function(c){a=a||c,o--,0==o&&i(a)};s.forEach(function(c){c.whenStable(l)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?bo().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:eD,useClass:eb,deps:[mt,tb,hp]},{provide:eb,useClass:eb,deps:[mt,tb,hp]}],pk=[{provide:Dg,useValue:"root"},{provide:Vo,useFactory:function V5(){return new Vo},deps:[]},{provide:Ep,useClass:R5,multi:!0,deps:[Ct,mt,dp]},{provide:Ep,useClass:Y5,multi:!0,deps:[Ct]},{provide:Op,useClass:Op,deps:[Pp,Wd,Nc]},{provide:yd,useExisting:Op},{provide:nk,useExisting:Wd},{provide:Wd,useClass:Wd,deps:[Ct]},{provide:Pp,useClass:Pp,deps:[Ep,mt]},{provide:ZD,useClass:T5,deps:[]},[]];let mk=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Nc,useValue:e.appId},{provide:ek,useExisting:Nc},D5]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(hk,12))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[...pk,...fk],imports:[yo,ON]}),t})(),_k=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function z5(){return new _k(Ce(Ct))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let Pb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new(e||t):Ce(bk),i},providedIn:"root"}),t})(),bk=(()=>{class t extends Pb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case vn.NONE:return i;case vn.HTML:return ho(i,"HTML")?ds(i):tM(this._doc,String(i)).toString();case vn.STYLE:return ho(i,"Style")?ds(i):i;case vn.SCRIPT:if(ho(i,"Script"))return ds(i);throw new Error("unsafe value used in a script context");case vn.URL:return ho(i,"URL")?ds(i):gd(String(i));case vn.RESOURCE_URL:if(ho(i,"ResourceURL"))return ds(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function rI(t){return new JP(t)}(e)}bypassSecurityTrustStyle(e){return function sI(t){return new XP(t)}(e)}bypassSecurityTrustScript(e){return function oI(t){return new eI(t)}(e)}bypassSecurityTrustUrl(e){return function aI(t){return new tI(t)}(e)}bypassSecurityTrustResourceUrl(e){return function lI(t){return new nI(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function Q5(t){return new bk(t.get(Ct))}(Ce(Jn)),i},providedIn:"root"}),t})();class yk{}const qo="*";function Ko(t,n){return{type:7,name:t,definitions:n,options:{}}}function Fr(t,n=null){return{type:4,styles:n,timings:t}}function Mk(t,n=null){return{type:3,steps:t,options:n}}function wk(t,n=null){return{type:2,steps:t,options:n}}function bn(t){return{type:6,styles:t,offset:null}}function Nr(t,n,e){return{type:0,name:t,styles:n,options:e}}function Sr(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Ib(t=null){return{type:9,options:t}}function Ob(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function Ck(t){Promise.resolve(null).then(t)}class $d{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ck(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Sk{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,s=0;const o=this.players.length;0==o?Ck(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++s==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Dk(t){return new Le(3e3,!1)}function AY(){return typeof window<"u"&&typeof window.document<"u"}function Rb(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Fa(t){switch(t.length){case 0:return new $d;case 1:return t[0];default:return new Sk(t)}}function kk(t,n,e,i,s=new Map,o=new Map){const a=[],l=[];let c=-1,_=null;if(i.forEach(E=>{const R=E.get("offset"),$=R==c,X=$&&_||new Map;E.forEach((he,Se)=>{let Pe=Se,Re=he;if("offset"!==Se)switch(Pe=n.normalizePropertyName(Pe,a),Re){case"!":Re=s.get(Se);break;case qo:Re=o.get(Se);break;default:Re=n.normalizeStyleValue(Se,Pe,Re,a)}X.set(Pe,Re)}),$||l.push(X),_=X,c=R}),a.length)throw function wY(t){return new Le(3502,!1)}();return l}function Fb(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Nb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Nb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Nb(e,"destroy",t)))}}function Nb(t,n,e){const o=Yb(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(o._data=a),o}function Yb(t,n,e,i,s="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:s,totalTime:o,disabled:!!a}}function ms(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Tk(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let Hb=(t,n)=>!1,xk=(t,n,e)=>[],Lk=null;function Vb(t){const n=t.parentNode||t.host;return n===Lk?null:n}(Rb()||typeof Element<"u")&&(AY()?(Lk=(()=>document.documentElement)(),Hb=(t,n)=>{for(;n;){if(n===t)return!0;n=Vb(n)}return!1}):Hb=(t,n)=>t.contains(n),xk=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let yl=null,Ek=!1;const Pk=Hb,Ik=xk;let Ok=(()=>{class t{validateStyleProperty(e){return function FY(t){yl||(yl=function NY(){return typeof document<"u"?document.body:null}()||{},Ek=!!yl.style&&"WebkitAppearance"in yl.style);let n=!0;return yl.style&&!function RY(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in yl.style,!n&&Ek&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in yl.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return Pk(e,i)}getParentElement(e){return Vb(e)}query(e,i,s){return Ik(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,o,a,l=[],c){return new $d(s,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Bb=(()=>{class t{}return t.NOOP=new Ok,t})();const jb="ng-enter",Ap="ng-leave",Rp="ng-trigger",Fp=".ng-trigger",Rk="ng-animating",Ub=".ng-animating";function Na(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:zb(parseFloat(n[1]),n[2])}function zb(t,n){return"s"===n?1e3*t:t}function Np(t,n,e){return t.hasOwnProperty("duration")?t:function VY(t,n,e){let s,o=0,a="";if("string"==typeof t){const l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(Dk()),{duration:0,delay:0,easing:""};s=zb(parseFloat(l[1]),l[2]);const c=l[3];null!=c&&(o=zb(parseFloat(c),l[4]));const _=l[5];_&&(a=_)}else s=t;if(!e){let l=!1,c=n.length;s<0&&(n.push(function eY(){return new Le(3100,!1)}()),l=!0),o<0&&(n.push(function tY(){return new Le(3101,!1)}()),l=!0),l&&n.splice(c,0,Dk())}return{duration:s,delay:o,easing:a}}(t,n,e)}function Gd(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function Fk(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Ya(t,n=new Map,e){if(e)for(let[i,s]of e)n.set(i,s);for(let[i,s]of t)n.set(i,s);return n}function Yk(t,n,e){return e?n+":"+e+";":""}function Hk(t){let n="";for(let e=0;e{const o=$b(s);e&&!e.has(s)&&e.set(s,t.style[o]),t.style[o]=i}),Rb()&&Hk(t))}function Ml(t,n){t.style&&(n.forEach((e,i)=>{const s=$b(i);t.style[s]=""}),Rb()&&Hk(t))}function qd(t){return Array.isArray(t)?1==t.length?t[0]:wk(t):t}const Wb=new RegExp("{{\\s*(.+?)\\s*}}","g");function Vk(t){let n=[];if("string"==typeof t){let e;for(;e=Wb.exec(t);)n.push(e[1]);Wb.lastIndex=0}return n}function Yp(t,n,e){const i=t.toString(),s=i.replace(Wb,(o,a)=>{let l=n[a];return null==l&&(e.push(function iY(t){return new Le(3003,!1)}()),l=""),l.toString()});return s==i?t:s}function Hp(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const UY=/-+([a-z0-9])/g;function $b(t){return t.replace(UY,(...n)=>n[1].toUpperCase())}function zY(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _s(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function rY(t){return new Le(3004,!1)}()}}function Bk(t,n){return window.getComputedStyle(t)[n]}function ZY(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function QY(t,n,e){if(":"==t[0]){const c=function JY(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof c)return void n.push(c);t=c}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function gY(t){return new Le(3015,!1)}()),n;const s=i[1],o=i[2],a=i[3];n.push(jk(s,a));"<"==o[0]&&!("*"==s&&"*"==a)&&n.push(jk(a,s))}(i,e,n)):e.push(t),e}const Up=new Set(["true","1"]),zp=new Set(["false","0"]);function jk(t,n){const e=Up.has(t)||zp.has(t),i=Up.has(n)||zp.has(n);return(s,o)=>{let a="*"==t||t==s,l="*"==n||n==o;return!a&&e&&"boolean"==typeof s&&(a=s?Up.has(t):zp.has(t)),!l&&i&&"boolean"==typeof o&&(l=o?Up.has(n):zp.has(n)),a&&l}}const XY=new RegExp("s*:selfs*,?","g");function Gb(t,n,e,i){return new eH(t).build(n,e,i)}class eH{constructor(n){this._driver=n}build(n,e,i){const s=new iH(e);return this._resetContextStyleTimingState(s),_s(this,qd(n),s)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,s=e.depCount=0;const o=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function oY(){return new Le(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const c=l,_=c.name;_.toString().split(/\s*,\s*/).forEach(E=>{c.name=E,o.push(this.visitState(c,e))}),c.name=_}else if(1==l.type){const c=this.visitTransition(l,e);i+=c.queryCount,s+=c.depCount,a.push(c)}else e.errors.push(function aY(){return new Le(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:a,queryCount:i,depCount:s,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),s=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=s||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(c=>{Vk(c).forEach(_=>{a.hasOwnProperty(_)||o.add(_)})})}),o.size&&(Hp(o.values()),e.errors.push(function lY(t,n){return new Le(3008,!1)}()))}return{type:0,name:n.name,style:i,options:s?{params:s}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=_s(this,qd(n.animation),e);return{type:1,matchers:ZY(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:wl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>_s(this,i,e)),options:wl(n.options)}}visitGroup(n,e){const i=e.currentTime;let s=0;const o=n.steps.map(a=>{e.currentTime=i;const l=_s(this,a,e);return s=Math.max(s,e.currentTime),l});return e.currentTime=s,{type:3,steps:o,options:wl(n.options)}}visitAnimate(n,e){const i=function sH(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return qb(Np(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=qb(0,0,"");return o.dynamic=!0,o.strValue=e,o}const s=Np(e,n);return qb(s.duration,s.delay,s.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let s,o=n.styles?n.styles:bn({});if(5==o.type)s=this.visitKeyframes(o,e);else{let a=n.styles,l=!1;if(!a){l=!0;const _={};i.easing&&(_.easing=i.easing),a=bn(_)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(a,e);c.isEmptyStep=l,s=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],s=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of s)"string"==typeof l?l===qo?i.push(l):e.errors.push(new Le(3002,!1)):i.push(Fk(l));let o=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!o))for(let c of l.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let s=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,c)=>{const _=e.collectedStyles.get(e.currentQuerySelector),E=_.get(c);let R=!0;E&&(o!=s&&o>=E.startTime&&s<=E.endTime&&(e.errors.push(function uY(t,n,e,i,s){return new Le(3010,!1)}()),R=!1),o=E.startTime),R&&_.set(c,{startTime:o,endTime:s}),e.options&&function jY(t,n,e){const i=n.params||{},s=Vk(t);s.length&&s.forEach(o=>{i.hasOwnProperty(o)||e.push(function nY(t){return new Le(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function dY(){return new Le(3011,!1)}()),i;let o=0;const a=[];let l=!1,c=!1,_=0;const E=n.steps.map(Re=>{const $e=this._makeStyleAst(Re,e);let Fe=null!=$e.offset?$e.offset:function rH(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}($e.styles),it=0;return null!=Fe&&(o++,it=$e.offset=Fe),c=c||it<0||it>1,l=l||it<_,_=it,a.push(it),$e});c&&e.errors.push(function hY(){return new Le(3012,!1)}()),l&&e.errors.push(function fY(){return new Le(3200,!1)}());const R=n.steps.length;let $=0;o>0&&o{const Fe=$>0?$e==X?1:$*$e:a[$e],it=Fe*Pe;e.currentTime=he+Se.delay+it,Se.duration=it,this._validateStyleAst(Re,e),Re.offset=Fe,i.styles.push(Re)}),i}visitReference(n,e){return{type:8,animation:_s(this,qd(n.animation),e),options:wl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:wl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:wl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,s=n.options||{};e.queryCount++,e.currentQuery=n;const[o,a]=function tH(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(XY,"")),t=t.replace(/@\*/g,Fp).replace(/@\w+/g,e=>Fp+"-"+e.slice(1)).replace(/:animating/g,Ub),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,ms(e.collectedStyles,e.currentQuerySelector,new Map);const l=_s(this,qd(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:s.limit||0,optional:!!s.optional,includeSelf:a,animation:l,originalSelector:n.selector,options:wl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function mY(){return new Le(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Np(n.timings,e.errors,!0);return{type:12,animation:_s(this,qd(n.animation),e),timings:i,options:null}}}class iH{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function wl(t){return t?(t=Gd(t)).params&&(t.params=function nH(t){return t?Gd(t):null}(t.params)):t={},t}function qb(t,n,e){return{duration:t,delay:n,easing:e}}function Kb(t,n,e,i,s,o,a=null,l=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:s,delay:o,totalTime:s+o,easing:a,subTimeline:l}}class Wp{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const lH=new RegExp(":enter","g"),uH=new RegExp(":leave","g");function Zb(t,n,e,i,s,o=new Map,a=new Map,l,c,_=[]){return(new dH).buildKeyframes(t,n,e,i,s,o,a,l,c,_)}class dH{buildKeyframes(n,e,i,s,o,a,l,c,_,E=[]){_=_||new Wp;const R=new Qb(n,e,_,s,o,E,[]);R.options=c;const $=c.delay?Na(c.delay):0;R.currentTimeline.delayNextStep($),R.currentTimeline.setStyles([a],null,R.errors,c),_s(this,i,R);const X=R.timelines.filter(he=>he.containsAnimation());if(X.length&&l.size){let he;for(let Se=X.length-1;Se>=0;Se--){const Pe=X[Se];if(Pe.element===e){he=Pe;break}}he&&!he.allowOnlyTimelineStyles()&&he.setStyles([l],null,R.errors,c)}return X.length?X.map(he=>he.buildKeyframes()):[Kb(e,[],[],[],0,$,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,s,s.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Na(i.duration):null,l=null!=i.delay?Na(i.delay):null;return 0!==a&&n.forEach(c=>{const _=e.appendInstructionToTimeline(c,a,l);o=Math.max(o,_.duration+_.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),_s(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let s=e;const o=n.options;if(o&&(o.params||o.delay)&&(s=e.createSubContext(o),s.transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=$p);const a=Na(o.delay);s.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>_s(this,a,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let s=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Na(n.options.delay):0;n.steps.forEach(a=>{const l=e.createSubContext(n.options);o&&l.delayNextStep(o),_s(this,a,l),s=Math.max(s,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(s),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Np(e.params?Yp(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=s&&s.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,o=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(c=>{l.forwardTime((c.offset||0)*o),l.setStyles(c.styles,c.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(s+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,s=n.options||{},o=s.delay?Na(s.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$p);let a=i;const l=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=l.length;let c=null;l.forEach((_,E)=>{e.currentQueryIndex=E;const R=e.createSubContext(n.options,_);o&&R.delayNextStep(o),_===e.element&&(c=R.currentTimeline),_s(this,n.animation,R),R.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,R.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,s=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),l=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=l-c;break;case"full":c=i.currentStaggerTime}const E=e.currentTimeline;c&&E.delayNextStep(c);const R=E.currentTime;_s(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=s.currentTime-R+(s.startTime-i.currentTimeline.startTime)}}const $p={};class Qb{constructor(n,e,i,s,o,a,l,c){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=o,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$p,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Gp(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let s=this.options;null!=i.duration&&(s.duration=Na(i.duration)),null!=i.delay&&(s.delay=Na(i.delay));const o=i.params;if(o){let a=s.params;a||(a=this.options.params={}),Object.keys(o).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=Yp(o[l],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return n}createSubContext(n=null,e,i){const s=e||this.element,o=new Qb(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=$p,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const s={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new hH(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,s,n.stretchStartingKeyframe);return this.timelines.push(o),s}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,s,o,a){let l=[];if(s&&l.push(this.element),n.length>0){n=(n=n.replace(lH,"."+this._enterClassName)).replace(uH,"."+this._leaveClassName);let _=this._driver.query(this.element,n,1!=i);0!==i&&(_=i<0?_.slice(_.length+i,_.length):_.slice(0,i)),l.push(..._)}return!o&&0==l.length&&a.push(function _Y(t){return new Le(3014,!1)}()),l}}class Gp{constructor(n,e,i,s){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Gp(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||qo),this._currentKeyframe.set(e,qo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,s){e&&this._previousKeyframe.set("easing",e);const o=s&&s.params||{},a=function fH(t,n){const e=new Map;let i;return t.forEach(s=>{if("*"===s){i=i||n.keys();for(let o of i)e.set(o,qo)}else Ya(s,e)}),e}(n,this._globalTimelineStyles);for(let[l,c]of a){const _=Yp(c,o,i);this._pendingStyles.set(l,_),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??qo),this._updateStyle(l,_)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const s=this._styleSummary.get(i);(!s||e.time>s.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((l,c)=>{const _=Ya(l,new Map,this._backFill);_.forEach((E,R)=>{"!"===E?n.add(R):E===qo&&e.add(R)}),i||_.set("offset",c/this.duration),s.push(_)});const o=n.size?Hp(n.values()):[],a=e.size?Hp(e.values()):[];if(i){const l=s[0],c=new Map(l);l.set("offset",0),c.set("offset",1),s=[l,c]}return Kb(this.element,s,o,a,this.duration,this.startTime,this.easing,!1)}}class hH extends Gp{constructor(n,e,i,s,o,a,l=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,l=e/a,c=Ya(n[0]);c.set("offset",0),o.push(c);const _=Ya(n[0]);_.set("offset",Wk(l)),o.push(_);const E=n.length-1;for(let R=1;R<=E;R++){let $=Ya(n[R]);const X=$.get("offset");$.set("offset",Wk((e+X*i)/a)),o.push($)}i=a,e=0,s="",n=o}return Kb(this.element,n,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function Wk(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class Jb{}const pH=new Set(["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"]);class mH extends Jb{normalizePropertyName(n,e){return $b(n)}normalizeStyleValue(n,e,i,s){let o="";const a=i.toString().trim();if(pH.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&s.push(function sY(t,n){return new Le(3005,!1)}())}return a+o}}function $k(t,n,e,i,s,o,a,l,c,_,E,R,$){return{type:0,element:t,triggerName:n,isRemovalTransition:s,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:l,queriedElements:c,preStyleProps:_,postStyleProps:E,totalTime:R,errors:$}}const Xb={};class Gk{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,s){return function _H(t,n,e,i,s){return t.some(o=>o(n,e,i,s))}(this.ast.matchers,n,e,i,s)}buildStyles(n,e,i){let s=this._stateStyles.get("*");return void 0!==n&&(s=this._stateStyles.get(n?.toString())||s),s?s.buildStyles(e,i):new Map}build(n,e,i,s,o,a,l,c,_,E){const R=[],$=this.ast.options&&this.ast.options.params||Xb,he=this.buildStyles(i,l&&l.params||Xb,R),Se=c&&c.params||Xb,Pe=this.buildStyles(s,Se,R),Re=new Set,$e=new Map,Fe=new Map,it="void"===s,Et={params:gH(Se,$),delay:this.ast.options?.delay},en=E?[]:Zb(n,e,this.ast.animation,o,a,he,Pe,Et,_,R);let di=0;if(en.forEach(Ms=>{di=Math.max(Ms.duration+Ms.delay,di)}),R.length)return $k(e,this._triggerName,i,s,it,he,Pe,[],[],$e,Fe,di,R);en.forEach(Ms=>{const ws=Ms.element,Su=ms($e,ws,new Set);Ms.preStyleProps.forEach(ro=>Su.add(ro));const aa=ms(Fe,ws,new Set);Ms.postStyleProps.forEach(ro=>aa.add(ro)),ws!==e&&Re.add(ws)});const ys=Hp(Re.values());return $k(e,this._triggerName,i,s,it,he,Pe,en,ys,$e,Fe,di)}}function gH(t,n){const e=Gd(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class vH{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,s=Gd(this.defaultParams);return Object.keys(n).forEach(o=>{const a=n[o];null!==a&&(s[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{a&&(a=Yp(a,s,e));const c=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,c,a,e),i.set(c,a)})}),i}}class yH{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(s=>{this.states.set(s.name,new vH(s.style,s.options&&s.options.params||{},i))}),qk(this.states,"true","1"),qk(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Gk(n,s,this.states))}),this.fallbackTransition=function MH(t,n,e){return new Gk(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,s){return this.transitionFactories.find(a=>a.match(n,e,i,s))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function qk(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const wH=new Wp;class CH{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=Gb(this._driver,e,i,[]);if(i.length)throw function CY(t){return new Le(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const s=n.element,o=kk(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(s,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const s=[],o=this._animations.get(n);let a;const l=new Map;if(o?(a=Zb(this._driver,e,o,jb,Ap,new Map,new Map,i,wH,s),a.forEach(E=>{const R=ms(l,E.element,new Map);E.postStyleProps.forEach($=>R.set($,null))})):(s.push(function SY(){return new Le(3300,!1)}()),a=[]),s.length)throw function DY(t){return new Le(3504,!1)}();l.forEach((E,R)=>{E.forEach(($,X)=>{E.set(X,this._driver.computeStyle(R,X,qo))})});const _=Fa(a.map(E=>{const R=l.get(E.element);return this._buildPlayer(E,new Map,R)}));return this._playersById.set(n,_),_.onDestroy(()=>this.destroy(n)),this.players.push(_),_}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function kY(t){return new Le(3301,!1)}();return e}listen(n,e,i,s){const o=Yb(e,"","","");return Fb(this._getPlayer(n),i,o,s),()=>{}}command(n,e,i,s){if("register"==i)return void this.register(n,s[0]);if("create"==i)return void this.create(n,e,s[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(n)}}}const Kk="ng-animate-queued",ey="ng-animate-disabled",xH=[],Zk={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},LH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Is="__ng_removed";class ty{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function OH(t){return t??null}(i?n.value:n),i){const o=Gd(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const Kd="void",ny=new ty(Kd);class EH{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Os(e,this._hostClassName)}listen(n,e,i,s){if(!this._triggers.has(e))throw function TY(t,n){return new Le(3302,!1)}();if(null==i||0==i.length)throw function xY(t){return new Le(3303,!1)}();if(!function AH(t){return"start"==t||"done"==t}(i))throw function LY(t,n){return new Le(3400,!1)}();const o=ms(this._elementListeners,n,[]),a={name:e,phase:i,callback:s};o.push(a);const l=ms(this._engine.statesByElement,n,new Map);return l.has(e)||(Os(n,Rp),Os(n,Rp+"-"+e),l.set(e,ny)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(e)||l.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function EY(t){return new Le(3401,!1)}();return e}trigger(n,e,i,s=!0){const o=this._getTrigger(e),a=new iy(this.id,e,n);let l=this._engine.statesByElement.get(n);l||(Os(n,Rp),Os(n,Rp+"-"+e),this._engine.statesByElement.set(n,l=new Map));let c=l.get(e);const _=new ty(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&_.absorbOptions(c.options),l.set(e,_),c||(c=ny),_.value!==Kd&&c.value===_.value){if(!function NH(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let s=0;s{Ml(n,Pe),Mo(n,Re)})}return}const $=ms(this._engine.playersByElement,n,[]);$.forEach(Se=>{Se.namespaceId==this.id&&Se.triggerName==e&&Se.queued&&Se.destroy()});let X=o.matchTransition(c.value,_.value,n,_.params),he=!1;if(!X){if(!s)return;X=o.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:X,fromState:c,toState:_,player:a,isFallbackTransition:he}),he||(Os(n,Kk),a.onStart(()=>{Vc(n,Kk)})),a.onDone(()=>{let Se=this.players.indexOf(a);Se>=0&&this.players.splice(Se,1);const Pe=this._engine.playersByElement.get(n);if(Pe){let Re=Pe.indexOf(a);Re>=0&&Pe.splice(Re,1)}}),this.players.push(a),$.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Fp,!0);i.forEach(s=>{if(s[Is])return;const o=this._engine.fetchNamespacesByElement(s);o.size?o.forEach(a=>a.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(n,e,i,s){const o=this._engine.statesByElement.get(n),a=new Map;if(o){const l=[];if(o.forEach((c,_)=>{if(a.set(_,c.value),this._triggers.has(_)){const E=this.trigger(n,_,Kd,s);E&&l.push(E)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&Fa(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const s=new Set;e.forEach(o=>{const a=o.name;if(s.has(a))return;s.add(a);const c=this._triggers.get(a).fallbackTransition,_=i.get(a)||ny,E=new ty(Kd),R=new iy(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:c,fromState:_,toState:E,player:R,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let s=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)s=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(n),s)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[Is];(!o||o===Zk)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Os(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(l=>{if(l.name==i.triggerName){const c=Yb(o,i.triggerName,i.fromState.value,i.toState.value);c._data=n,Fb(i.player,l.phase,c,l.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const o=i.transition.ast.depCount,a=s.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class PH{constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,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=(s,o)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new EH(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const c=s.get(l);if(c){const _=i.indexOf(c);i.splice(_+1,0,n),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(n)}else i.push(n);return s.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let s=this._namespaceLookup[n];s&&s.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let s of i.values())if(s.namespaceId){const o=this._fetchNamespace(s.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,s){if(qp(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,s),!0}return!1}insertNode(n,e,i,s){if(!qp(e))return;const o=e[Is];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Os(n,ey)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vc(n,ey))}removeNode(n,e,i,s){if(qp(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,s):this.markElementAsRemoved(n,e,!1,s),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(n,e,i,s,o){this.collectedLeaveElements.push(e),e[Is]={namespaceId:n,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,s,o){return qp(e)?this._fetchNamespace(n).listen(e,i,s,o):()=>{}}_buildInstruction(n,e,i,s,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,s,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Fp,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Ub,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Fa(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Is];if(e&&e.setForRemoval){if(n[Is]=Zk,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(ey)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Fa(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(n){throw function PY(t){return new Le(3402,!1)}()}_flushAnimations(n,e){const i=new Wp,s=[],o=new Map,a=[],l=new Map,c=new Map,_=new Map,E=new Set;this.disabledNodes.forEach(ht=>{E.add(ht);const gt=this.driver.query(ht,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=jb+Se++;he.set(gt,Dt),ht.forEach(un=>Os(un,Dt))});const Pe=[],Re=new Set,$e=new Set;for(let ht=0;htRe.add(un)):$e.add(gt))}const Fe=new Map,it=Xk($,Array.from(Re));it.forEach((ht,gt)=>{const Dt=Ap+Se++;Fe.set(gt,Dt),ht.forEach(un=>Os(un,Dt))}),n.push(()=>{X.forEach((ht,gt)=>{const Dt=he.get(gt);ht.forEach(un=>Vc(un,Dt))}),it.forEach((ht,gt)=>{const Dt=Fe.get(gt);ht.forEach(un=>Vc(un,Dt))}),Pe.forEach(ht=>{this.processLeaveNode(ht)})});const Et=[],en=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(Dt=>{const un=Dt.player,tr=Dt.element;if(Et.push(un),this.collectedEnterElements.length){const xr=tr[Is];if(xr&&xr.setForMove){if(xr.previousTriggersValues&&xr.previousTriggersValues.has(Dt.triggerName)){const Vl=xr.previousTriggersValues.get(Dt.triggerName),Rs=this.statesByElement.get(Dt.element);if(Rs&&Rs.has(Dt.triggerName)){const C_=Rs.get(Dt.triggerName);C_.value=Vl,Rs.set(Dt.triggerName,C_)}}return void un.destroy()}}const Eo=!R||!this.driver.containsElement(R,tr),Cs=Fe.get(tr),Xa=he.get(tr),hi=this._buildInstruction(Dt,i,Xa,Cs,Eo);if(hi.errors&&hi.errors.length)return void en.push(hi);if(Eo)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);if(Dt.isFallbackTransition)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);const CP=[];hi.timelines.forEach(xr=>{xr.stretchStartingKeyframe=!0,this.disabledNodes.has(xr.element)||CP.push(xr)}),hi.timelines=CP,i.append(tr,hi.timelines),a.push({instruction:hi,player:un,element:tr}),hi.queriedElements.forEach(xr=>ms(l,xr,[]).push(un)),hi.preStyleProps.forEach((xr,Vl)=>{if(xr.size){let Rs=c.get(Vl);Rs||c.set(Vl,Rs=new Set),xr.forEach((C_,t1)=>Rs.add(t1))}}),hi.postStyleProps.forEach((xr,Vl)=>{let Rs=_.get(Vl);Rs||_.set(Vl,Rs=new Set),xr.forEach((C_,t1)=>Rs.add(t1))})});if(en.length){const ht=[];en.forEach(gt=>{ht.push(function IY(t,n){return new Le(3505,!1)}())}),Et.forEach(gt=>gt.destroy()),this.reportError(ht)}const di=new Map,ys=new Map;a.forEach(ht=>{const gt=ht.element;i.has(gt)&&(ys.set(gt,gt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,di))}),s.forEach(ht=>{const gt=ht.element;this._getPreviousPlayers(gt,!1,ht.namespaceId,ht.triggerName,null).forEach(un=>{ms(di,gt,[]).push(un),un.destroy()})});const Ms=Pe.filter(ht=>tT(ht,c,_)),ws=new Map;Jk(ws,this.driver,$e,_,qo).forEach(ht=>{tT(ht,c,_)&&Ms.push(ht)});const aa=new Map;X.forEach((ht,gt)=>{Jk(aa,this.driver,new Set(ht),c,"!")}),Ms.forEach(ht=>{const gt=ws.get(ht),Dt=aa.get(ht);ws.set(ht,new Map([...Array.from(gt?.entries()??[]),...Array.from(Dt?.entries()??[])]))});const ro=[],Du=[],ku={};a.forEach(ht=>{const{element:gt,player:Dt,instruction:un}=ht;if(i.has(gt)){if(E.has(gt))return Dt.onDestroy(()=>Mo(gt,un.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(un.totalTime),void s.push(Dt);let tr=ku;if(ys.size>1){let Cs=gt;const Xa=[];for(;Cs=Cs.parentNode;){const hi=ys.get(Cs);if(hi){tr=hi;break}Xa.push(Cs)}Xa.forEach(hi=>ys.set(hi,tr))}const Eo=this._buildAnimation(Dt.namespaceId,un,di,o,aa,ws);if(Dt.setRealPlayer(Eo),tr===ku)ro.push(Dt);else{const Cs=this.playersByElement.get(tr);Cs&&Cs.length&&(Dt.parentPlayer=Fa(Cs)),s.push(Dt)}}else Ml(gt,un.fromStyles),Dt.onDestroy(()=>Mo(gt,un.toStyles)),Du.push(Dt),E.has(gt)&&s.push(Dt)}),Du.forEach(ht=>{const gt=o.get(ht.element);if(gt&>.length){const Dt=Fa(gt);ht.setRealPlayer(Dt)}}),s.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!Eo.destroyed);tr.length?RH(this,gt,tr):this.processLeaveNode(gt)}return Pe.length=0,ro.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const gt=this.players.indexOf(ht);this.players.splice(gt,1)}),ht.play()}),ro}elementContainsData(n,e){let i=!1;const s=e[Is];return s&&s.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,s,o){let a=[];if(e){const l=this.playersByQueriedElement.get(n);l&&(a=l)}else{const l=this.playersByElement.get(n);if(l){const c=!o||o==Kd;l.forEach(_=>{_.queued||!c&&_.triggerName!=s||a.push(_)})}}return(i||s)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||s&&s!=l.triggerName))),a}_beforeAnimationBuild(n,e,i){const o=e.element,a=e.isRemovalTransition?void 0:n,l=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const _=c.element,E=_!==o,R=ms(i,_,[]);this._getPreviousPlayers(_,E,a,l,e.toState).forEach(X=>{const he=X.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),X.destroy(),R.push(X)})}Ml(o,e.fromStyles)}_buildAnimation(n,e,i,s,o,a){const l=e.triggerName,c=e.element,_=[],E=new Set,R=new Set,$=e.timelines.map(he=>{const Se=he.element;E.add(Se);const Pe=Se[Is];if(Pe&&Pe.removedBeforeQueried)return new $d(he.duration,he.delay);const Re=Se!==c,$e=function FH(t){const n=[];return eT(t,n),n}((i.get(Se)||xH).map(di=>di.getRealPlayer())).filter(di=>!!di.element&&di.element===Se),Fe=o.get(Se),it=a.get(Se),Et=kk(0,this._normalizer,0,he.keyframes,Fe,it),en=this._buildPlayer(he,Et,$e);if(he.subTimeline&&s&&R.add(Se),Re){const di=new iy(n,l,Se);di.setRealPlayer(en),_.push(di)}return en});_.forEach(he=>{ms(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function IH(t,n,e){let i=t.get(n);if(i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,he.element,he))}),E.forEach(he=>Os(he,Rk));const X=Fa($);return X.onDestroy(()=>{E.forEach(he=>Vc(he,Rk)),Mo(c,e.toStyles)}),R.forEach(he=>{ms(s,he,[]).push(X)}),X}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new $d(n.duration,n.delay)}}class iy{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new $d,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(s=>Fb(n,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){ms(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function qp(t){return t&&1===t.nodeType}function Qk(t,n){const e=t.style.display;return t.style.display=n??"none",e}function Jk(t,n,e,i,s){const o=[];e.forEach(c=>o.push(Qk(c)));const a=[];i.forEach((c,_)=>{const E=new Map;c.forEach(R=>{const $=n.computeStyle(_,R,s);E.set(R,$),(!$||0==$.length)&&(_[Is]=LH,a.push(_))}),t.set(_,E)});let l=0;return e.forEach(c=>Qk(c,o[l++])),a}function Xk(t,n){const e=new Map;if(t.forEach(l=>e.set(l,[])),0==n.length)return e;const s=new Set(n),o=new Map;function a(l){if(!l)return 1;let c=o.get(l);if(c)return c;const _=l.parentNode;return c=e.has(_)?_:s.has(_)?1:a(_),o.set(l,c),c}return n.forEach(l=>{const c=a(l);1!==c&&e.get(c).push(l)}),e}function Os(t,n){t.classList?.add(n)}function Vc(t,n){t.classList?.remove(n)}function RH(t,n,e){Fa(e).onDone(()=>t.processLeaveNode(n))}function eT(t,n){for(let e=0;es.add(o)):n.set(t,i),e.delete(t),!0}class Kp{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new PH(n,e,i),this._timelineEngine=new CH(n,e,i),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(n,e,i,s,o){const a=n+"-"+s;let l=this._triggerCache[a];if(!l){const c=[],E=Gb(this._driver,o,c,[]);if(c.length)throw function MY(t,n){return new Le(3404,!1)}();l=function bH(t,n,e){return new yH(t,n,e)}(s,E,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,s,l)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,s){this._transitionEngine.insertNode(n,e,i,s)}onRemove(n,e,i,s){this._transitionEngine.removeNode(n,e,s||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,s){if("@"==i.charAt(0)){const[o,a]=Tk(i);this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,s)}listen(n,e,i,s,o){if("@"==i.charAt(0)){const[a,l]=Tk(i);return this._timelineEngine.listen(a,e,l,o)}return this._transitionEngine.listen(n,e,i,s,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let HH=(()=>{class t{constructor(e,i,s){this._element=e,this._startStyles=i,this._endStyles=s,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mo(this._element,this._initialStyles),this._endStyles&&(Mo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ml(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ml(this._element,this._endStyles),this._endStyles=null),Mo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ry(t){let n=null;return t.forEach((e,i)=>{(function VH(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class nT{constructor(n,e,i,s){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&n.set(s,this._finished?i:Bk(this.element,s))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class BH{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return Pk(n,e)}getParentElement(n){return Vb(n)}query(n,e,i){return Ik(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,s,o,a=[]){const c={duration:i,delay:s,fill:0==s?"both":"forwards"};o&&(c.easing=o);const _=new Map,E=a.filter(X=>X instanceof nT);(function WY(t,n){return 0===t||0===n})(i,s)&&E.forEach(X=>{X.currentSnapshot.forEach((he,Se)=>_.set(Se,he))});let R=function BY(t){return t.length?t[0]instanceof Map?t:t.map(n=>Fk(n)):[]}(e).map(X=>Ya(X));R=function $Y(t,n,e){if(e.size&&n.length){let i=n[0],s=[];if(e.forEach((o,a)=>{i.has(a)||s.push(a),i.set(a,o)}),s.length)for(let o=1;oa.set(l,Bk(t,l)))}}return n}(n,R,_);const $=function YH(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=ry(n[0]),n.length>1&&(i=ry(n[n.length-1]))):n instanceof Map&&(e=ry(n)),e||i?new HH(t,e,i):null}(n,R);return new nT(n,R,c,$)}}let jH=(()=>{class t extends yk{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Hi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?wk(e):e;return iT(this._renderer,null,i,"register",[s]),new UH(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(yd),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class UH extends class J5{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new zH(this._id,n,e||{},this._renderer)}}class zH{constructor(n,e,i,s){this.id=n,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return iT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function iT(t,n,e,i,s){return t.setProperty(n,`@@${e}:${i}`,s)}const rT="@.disabled";let WH=(()=>{class t{constructor(e,i,s){this.delegate=e,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const l=a?.parentNode(o);l&&a.removeChild(l,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let E=this._rendererCache.get(o);return E||(E=new sT("",o,this.engine),this._rendererCache.set(o,E)),E}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const c=E=>{Array.isArray(E)?E.forEach(c):this.engine.registerTrigger(a,l,e,E.name,E)};return i.data.animation.forEach(c),new $H(this,l,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,s){e>=0&&ei(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,l]=o;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,s]))}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)(Ce(yd),Ce(Kp),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class sT{constructor(n,e,i){this.namespaceId=n,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,s=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,s)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,s){this.delegate.setAttribute(n,e,i,s)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,s){this.delegate.setStyle(n,e,i,s)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==rT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class $H extends sT{constructor(n,e,i,s){super(e,i,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==rT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const s=function GH(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function qH(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,s,o,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i)}}let KH=(()=>{class t extends Kp{constructor(e,i,s,o){super(e.body,i,s)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Bb),Ce(Jb),Ce(Yc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const oT=[{provide:yk,useClass:jH},{provide:Jb,useFactory:function ZH(){return new mH}},{provide:Kp,useClass:KH},{provide:yd,useFactory:function QH(t,n,e){return new WH(t,n,e)},deps:[Op,Kp,mt]}],sy=[{provide:Bb,useFactory:()=>new BH},{provide:Ui,useValue:"BrowserAnimations"},...oT],aT=[{provide:Bb,useClass:Ok},{provide:Ui,useValue:"NoopAnimations"},...oT];let JH=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?aT:sy}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:sy,imports:[mk]}),t})();function ze(...t){let n=t[t.length-1];return ke(n)?(t.pop(),de(t,n)):tt(t)}function Ha(t,n){return we(t,n,1)}function Si(t,n){return function(i){return i.lift(new XH(t,n))}}class XH{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new eV(n,this.predicate,this.thisArg))}}class eV extends A{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}class lT{}class cT{}class wo{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const s=e.slice(0,i),o=s.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(s,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const s=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(s,i),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof wo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new wo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof wo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const s=("a"===n.op?this.headers.get(e):void 0)||[];s.push(...i),this.headers.set(e,s);break;case"d":const o=n.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===o.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class tV{encodeKey(n){return uT(n)}encodeValue(n){return uT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const iV=/%(\d[a-f0-9])/gi,rV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function uT(t){return encodeURIComponent(t).replace(iV,(n,e)=>rV[e]??n)}function Qp(t){return`${t}`}class Va{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new tV,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function nV(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{const o=s.indexOf("="),[a,l]=-1==o?[n.decodeKey(s),""]:[n.decodeKey(s.slice(0,o)),n.decodeValue(s.slice(o+1))],c=e.get(a)||[];c.push(l),e.set(a,c)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],s=Array.isArray(i)?i.map(Qp):[Qp(i)];this.map.set(e,s)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const s=n[i];Array.isArray(s)?s.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:s,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Va({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Qp(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const s=i.indexOf(Qp(n.value));-1!==s&&i.splice(s,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class sV{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function dT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hT(t){return typeof Blob<"u"&&t instanceof Blob}function fT(t){return typeof FormData<"u"&&t instanceof FormData}class Zd{constructor(n,e,i,s){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function oV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==i?i:null,o=s):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new wo),this.context||(this.context=new sV),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":lR.set($,n.setHeaders[$]),c)),n.setParams&&(_=Object.keys(n.setParams).reduce((R,$)=>R.set($,n.setParams[$]),_)),new Zd(e,i,o,{params:_,headers:c,context:E,reportProgress:l,responseType:s,withCredentials:a})}}var Ni=(()=>((Ni=Ni||{})[Ni.Sent=0]="Sent",Ni[Ni.UploadProgress=1]="UploadProgress",Ni[Ni.ResponseHeader=2]="ResponseHeader",Ni[Ni.DownloadProgress=3]="DownloadProgress",Ni[Ni.Response=4]="Response",Ni[Ni.User=5]="User",Ni))();class oy{constructor(n,e=200,i="OK"){this.headers=n.headers||new wo,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class ay extends oy{constructor(n={}){super(n),this.type=Ni.ResponseHeader}clone(n={}){return new ay({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Jp extends oy{constructor(n={}){super(n),this.type=Ni.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Jp({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class pT extends oy{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function ly(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Cl=(()=>{class t{constructor(e){this.handler=e}request(e,i,s={}){let o;if(e instanceof Zd)o=e;else{let c,_;c=s.headers instanceof wo?s.headers:new wo(s.headers),s.params&&(_=s.params instanceof Va?s.params:new Va({fromObject:s.params})),o=new Zd(e,i,void 0!==s.body?s.body:null,{headers:c,context:s.context,params:_,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const a=ze(o).pipe(Ha(c=>this.handler.handle(c)));if(e instanceof Zd||"events"===s.observe)return a;const l=a.pipe(Si(c=>c instanceof Jp));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(Xe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(Xe(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Va).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,s={}){return this.request("PATCH",e,ly(s,i))}post(e,i,s={}){return this.request("POST",e,ly(s,i))}put(e,i,s={}){return this.request("PUT",e,ly(s,i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(lT))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class mT{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const _T=new Be("HTTP_INTERCEPTORS");let lV=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const cV=/^\)\]\}',?\n/;let gT=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce(i=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((X,he)=>s.setRequestHeader(X,he.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const X=e.detectContentTypeHeader();null!==X&&s.setRequestHeader("Content-Type",X)}if(e.responseType){const X=e.responseType.toLowerCase();s.responseType="json"!==X?X:"text"}const o=e.serializeBody();let a=null;const l=()=>{if(null!==a)return a;const X=s.statusText||"OK",he=new wo(s.getAllResponseHeaders()),Se=function uV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return a=new ay({headers:he,status:s.status,statusText:X,url:Se}),a},c=()=>{let{headers:X,status:he,statusText:Se,url:Pe}=l(),Re=null;204!==he&&(Re=typeof s.response>"u"?s.responseText:s.response),0===he&&(he=Re?200:0);let $e=he>=200&&he<300;if("json"===e.responseType&&"string"==typeof Re){const Fe=Re;Re=Re.replace(cV,"");try{Re=""!==Re?JSON.parse(Re):null}catch(it){Re=Fe,$e&&($e=!1,Re={error:it,text:Re})}}$e?(i.next(new Jp({body:Re,headers:X,status:he,statusText:Se,url:Pe||void 0})),i.complete()):i.error(new pT({error:Re,headers:X,status:he,statusText:Se,url:Pe||void 0}))},_=X=>{const{url:he}=l(),Se=new pT({error:X,status:s.status||0,statusText:s.statusText||"Unknown Error",url:he||void 0});i.error(Se)};let E=!1;const R=X=>{E||(i.next(l()),E=!0);let he={type:Ni.DownloadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),"text"===e.responseType&&!!s.responseText&&(he.partialText=s.responseText),i.next(he)},$=X=>{let he={type:Ni.UploadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),i.next(he)};return s.addEventListener("load",c),s.addEventListener("error",_),s.addEventListener("timeout",_),s.addEventListener("abort",_),e.reportProgress&&(s.addEventListener("progress",R),null!==o&&s.upload&&s.upload.addEventListener("progress",$)),s.send(o),i.next({type:Ni.Sent}),()=>{s.removeEventListener("error",_),s.removeEventListener("abort",_),s.removeEventListener("load",c),s.removeEventListener("timeout",_),e.reportProgress&&(s.removeEventListener("progress",R),null!==o&&s.upload&&s.upload.removeEventListener("progress",$)),s.readyState!==s.DONE&&s.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(ZD))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const cy=new Be("XSRF_COOKIE_NAME"),uy=new Be("XSRF_HEADER_NAME");class vT{}let dV=(()=>{class t{constructor(e,i,s){this.doc=e,this.platform=i,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=YD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(dp),Ce(cy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),dy=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const s=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(vT),Ce(uy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),hV=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(_T,[]);this.chain=i.reduceRight((s,o)=>new mT(s,o),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cT),Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),fV=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:dy,useClass:lV}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:cy,useValue:e.cookieName}:[],e.headerName?{provide:uy,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[dy,{provide:_T,useExisting:dy,multi:!0},{provide:vT,useClass:dV},{provide:cy,useValue:"XSRF-TOKEN"},{provide:uy,useValue:"X-XSRF-TOKEN"}]}),t})(),pV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Cl,{provide:lT,useClass:hV},gT,{provide:cT,useExisting:gT}],imports:[fV.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();class Wi extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ne;return this._value}next(n){super.next(this._value=n)}}const Xp=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),bT={};function hy(...t){let n=null,e=null;return ke(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&M(t[0])&&(t=t[0]),tt(t,e).lift(new mV(n))}class mV{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new _V(n,this.resultSelector))}}class _V extends Kn{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(bT),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.complete());function em(t){return t?function vV(t){return new ce(n=>t.schedule(()=>n.complete()))}(t):Ba}function Qd(t){return new ce(n=>{let e;try{e=t()}catch(s){return void n.error(s)}return(e?ge(e):em()).subscribe(n)})}function Dr(t,n){return new ce(n?e=>n.schedule(bV,0,{error:t,subscriber:e}):e=>e.error(t))}function bV({error:t,subscriber:n}){n.error(t)}function lr(t,n){return"function"==typeof n?e=>e.pipe(lr((i,s)=>ge(t(i,s)).pipe(Xe((o,a)=>n(i,o,s,a))))):e=>e.lift(new yV(t))}class yV{constructor(n){this.project=n}call(n,e){return e.subscribe(new MV(n,this.project))}}class MV extends Kn{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(s){return void this.destination.error(s)}this._innerSub(e,n,i)}_innerSub(n,e,i){const s=this.innerSubscription;s&&s.unsubscribe();const o=new Ae(this,void 0,void 0);this.destination.add(o),this.innerSubscription=jn(this,n,e,i,o)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(n,e,i,s,o){this.destination.next(e)}}const yT=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function An(t){return n=>0===t?em():n.lift(new wV(t))}class wV{constructor(n){if(this.total=n,this.total<0)throw new yT}call(n,e){return e.subscribe(new CV(n,this.total))}}class CV extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Yr(...t){const n=t[t.length-1];return ke(n)?(t.pop(),e=>Sl(t,e,n)):e=>Sl(t,e)}function Jd(t=null){return n=>n.lift(new SV(t))}class SV{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new DV(n,this.defaultValue))}}class DV extends A{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function MT(t=xV){return n=>n.lift(new kV(t))}class kV{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new TV(n,this.errorFactory))}}class TV extends A{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function xV(){return new Xp}function ja(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,An(1),e?Jd(n):MT(()=>new Xp))}function ui(t,n,e){return function(s){return s.lift(new LV(t,n,e))}}class LV{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new EV(n,this.nextOrObserver,this.error,this.complete))}}class EV extends A{constructor(n,e,i,s){super(n),this._tapNext=ve,this._tapError=ve,this._tapComplete=ve,this._tapError=i||ve,this._tapComplete=s||ve,I(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||ve,this._tapError=e.error||ve,this._tapComplete=e.complete||ve)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Qr(t){return function(e){const i=new PV(t),s=e.lift(i);return i.caught=s}}class PV{constructor(n){this.selector=n}call(n,e){return e.subscribe(new IV(n,this.selector,this.caught))}}class IV extends Kn{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new Ae(this,void 0,void 0);this.add(i),jn(this,e,void 0,void 0,i)}}}function tm(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new OV(t,n,e))}}class OV{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new AV(n,this.accumulator,this.seed,this.hasSeed))}}class AV extends A{constructor(n,e,i,s){super(n),this.accumulator=e,this._seed=i,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(s){this.destination.error(s)}this.seed=i,this.destination.next(i)}}function Xd(t){return function(e){return 0===t?em():e.lift(new RV(t))}}class RV{constructor(n){if(this.total=n,this.total<0)throw new yT}call(n,e){return e.subscribe(new FV(n,this.total))}}class FV extends A{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,s=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,s=this.ring;for(let o=0;o=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,Xd(1),e?Jd(n):MT(()=>new Xp))}function CT(t,n=!1){return e=>e.lift(new NV(t,n))}class NV{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new YV(n,this.predicate,this.inclusive))}}class YV extends A{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;Boolean(e)?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class VV{constructor(n){this.value=n}call(n,e){return e.subscribe(new BV(n,this.value))}}class BV extends A{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}}function nm(t){return n=>n.lift(new jV(t))}class jV{constructor(n){this.callback=n}call(n,e){return e.subscribe(new UV(n,this.callback))}}class UV extends A{constructor(n,e){super(n),this.add(new x(e))}}const $t="primary",eh=Symbol("RouteTitle");class zV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Bc(t){return new zV(t)}function WV(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[o]===s)}return t===n}function DT(t){return Array.prototype.concat.apply([],t)}function kT(t){return t.length>0?t[t.length-1]:null}function cr(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Ua(t){return Tv(t)?t:Ld(t)?ge(Promise.resolve(t)):ze(t)}const qV={exact:function LT(t,n,e){if(!kl(t.segments,n.segments)||!im(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!LT(t.children[i],n.children[i],e))return!1;return!0},subset:ET},TT={exact:function KV(t,n){return Co(t,n)},subset:function ZV(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>ST(t[e],n[e]))},ignored:()=>!0};function xT(t,n,e){return qV[e.paths](t.root,n.root,e.matrixParams)&&TT[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function ET(t,n,e){return PT(t,n,n.segments,e)}function PT(t,n,e,i){if(t.segments.length>e.length){const s=t.segments.slice(0,e.length);return!(!kl(s,e)||n.hasChildren()||!im(s,e,i))}if(t.segments.length===e.length){if(!kl(t.segments,e)||!im(t.segments,e,i))return!1;for(const s in n.children)if(!t.children[s]||!ET(t.children[s],n.children[s],i))return!1;return!0}{const s=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(kl(t.segments,s)&&im(t.segments,s,i)&&t.children[$t])&&PT(t.children[$t],n,o,i)}}function im(t,n,e){return n.every((i,s)=>TT[e](t[s].parameters,i.parameters))}class Dl{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return XV.serialize(this)}}class qt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,cr(e,(i,s)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rm(this)}}class th{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Bc(this.parameters)),this._parameterMap}toString(){return RT(this)}}function kl(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let IT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return new py},providedIn:"root"}),t})();class py{parse(n){const e=new lB(n);return new Dl(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${nh(n.root,!0)}`,i=function nB(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(s=>`${sm(e)}=${sm(s)}`).join("&"):`${sm(e)}=${sm(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),s="string"==typeof n.fragment?`#${function eB(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${s}`}}const XV=new py;function rm(t){return t.segments.map(n=>RT(n)).join("/")}function nh(t,n){if(!t.hasChildren())return rm(t);if(n){const e=t.children[$t]?nh(t.children[$t],!1):"",i=[];return cr(t.children,(s,o)=>{o!==$t&&i.push(`${o}:${nh(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function JV(t,n){let e=[];return cr(t.children,(i,s)=>{s===$t&&(e=e.concat(n(i,s)))}),cr(t.children,(i,s)=>{s!==$t&&(e=e.concat(n(i,s)))}),e}(t,(i,s)=>s===$t?[nh(t.children[$t],!1)]:[`${s}:${nh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[$t]?`${rm(t)}/${e[0]}`:`${rm(t)}/(${e.join("//")})`}}function OT(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sm(t){return OT(t).replace(/%3B/gi,";")}function my(t){return OT(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function om(t){return decodeURIComponent(t)}function AT(t){return om(t.replace(/\+/g,"%20"))}function RT(t){return`${my(t.path)}${function tB(t){return Object.keys(t).map(n=>`;${my(n)}=${my(t[n])}`).join("")}(t.parameters)}`}const iB=/^[^\/()?;=#]+/;function am(t){const n=t.match(iB);return n?n[0]:""}const rB=/^[^=?&#]+/,oB=/^[^&#]+/;class lB{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qt([],{}):new qt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[$t]=new qt(n,e)),i}parseSegment(){const n=am(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Le(4009,!1);return this.capture(n),new th(om(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=am(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=am(this.remaining);s&&(i=s,this.capture(i))}n[om(e)]=om(i)}parseQueryParam(n){const e=function sB(t){const n=t.match(rB);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function aB(t){const n=t.match(oB);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const s=AT(e),o=AT(i);if(n.hasOwnProperty(s)){let a=n[s];Array.isArray(a)||(a=[a],n[s]=a),a.push(o)}else n[s]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=am(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Le(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=$t);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[$t]:new qt([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Le(4011,!1)}}function _y(t){return t.segments.length>0?new qt([],{[$t]:t}):t}function lm(t){const n={};for(const i of Object.keys(t.children)){const o=lm(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function cB(t){if(1===t.numberOfChildren&&t.children[$t]){const n=t.children[$t];return new qt(t.segments.concat(n.segments),n.children)}return t}(new qt(t.segments,n))}function Tl(t){return t instanceof Dl}function hB(t,n,e,i,s){if(0===e.length)return jc(n.root,n.root,n.root,i,s);const o=function YT(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new NT(!0,0,t);let n=0,e=!1;const i=t.reduce((s,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const l={};return cr(o.outlets,(c,_)=>{l[_]="string"==typeof c?c.split("/"):c}),[...s,{outlets:l}]}if(o.segmentPath)return[...s,o.segmentPath]}return"string"!=typeof o?[...s,o]:0===a?(o.split("/").forEach((l,c)=>{0==c&&"."===l||(0==c&&""===l?e=!0:".."===l?n++:""!=l&&s.push(l))}),s):[...s,o]},[]);return new NT(e,n,i)}(e);return o.toRoot()?jc(n.root,n.root,new qt([],{}),i,s):function a(c){const _=function pB(t,n,e,i){if(t.isAbsolute)return new Uc(n.root,!0,0);if(-1===i)return new Uc(e,e===n.root,0);return function HT(t,n,e){let i=t,s=n,o=e;for(;o>s;){if(o-=s,i=i.parent,!i)throw new Le(4005,!1);s=i.segments.length}return new Uc(i,!1,s-o)}(e,i+(ih(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,c),E=_.processChildren?sh(_.segmentGroup,_.index,o.commands):vy(_.segmentGroup,_.index,o.commands);return jc(n.root,_.segmentGroup,E,i,s)}(t.snapshot?._lastPathIndex)}function ih(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function rh(t){return"object"==typeof t&&null!=t&&t.outlets}function jc(t,n,e,i,s){let a,o={};i&&cr(i,(c,_)=>{o[_]=Array.isArray(c)?c.map(E=>`${E}`):`${c}`}),a=t===n?e:FT(t,n,e);const l=_y(lm(a));return new Dl(l,o,s)}function FT(t,n,e){const i={};return cr(t.children,(s,o)=>{i[o]=s===n?e:FT(s,n,e)}),new qt(t.segments,i)}class NT{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&ih(i[0]))throw new Le(4003,!1);const s=i.find(rh);if(s&&s!==kT(i))throw new Le(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uc{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function vy(t,n,e){if(t||(t=new qt([],{})),0===t.segments.length&&t.hasChildren())return sh(t,n,e);const i=function _B(t,n,e){let i=0,s=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return o;const a=t.segments[s],l=e[i];if(rh(l))break;const c=`${l}`,_=i0&&void 0===c)break;if(c&&_&&"object"==typeof _&&void 0===_.outlets){if(!BT(c,_,a))return o;i+=2}else{if(!BT(c,{},a))return o;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,n,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(s[a]=vy(t.children[a],n,o))}),cr(t.children,(o,a)=>{void 0===i[a]&&(s[a]=o)}),new qt(t.segments,s)}}function by(t,n,e){const i=t.segments.slice(0,n);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=by(new qt([],{}),0,e))}),n}function VT(t){const n={};return cr(t,(e,i)=>n[i]=`${e}`),n}function BT(t,n,e){return t==e.path&&Co(n,e.parameters)}class Zo{constructor(n,e){this.id=n,this.url=e}}class yy extends Zo{constructor(n,e,i="imperative",s=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class za extends Zo{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cm extends Zo{constructor(n,e,i,s){super(n,e),this.reason=i,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class jT extends Zo{constructor(n,e,i,s){super(n,e),this.error=i,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yB extends Zo{constructor(n,e,i,s,o){super(n,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class MB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class CB{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class SB{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class DB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TB{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class UT{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zT{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=My(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=My(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=wy(n,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==n)}pathFromRoot(n){return wy(n,this._root).map(e=>e.value)}}function My(t,n){if(t===n.value)return n;for(const e of n.children){const i=My(t,e);if(i)return i}return null}function wy(t,n){if(t===n.value)return[n];for(const e of n.children){const i=wy(t,e);if(i.length)return i.unshift(n),i}return[]}class Qo{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function zc(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class WT extends zT{constructor(n,e){super(n),this.snapshot=e,Cy(this,n)}toString(){return this.snapshot.toString()}}function $T(t,n){const e=function EB(t,n){const a=new um([],{},{},"",{},$t,n,null,t.root,-1,{});return new qT("",new Qo(a,[]))}(t,n),i=new Wi([new th("",{})]),s=new Wi({}),o=new Wi({}),a=new Wi({}),l=new Wi(""),c=new Qi(i,s,a,l,o,$t,n,e.root);return c.snapshot=e.root,new WT(new Qo(c,[]),e)}class Qi{constructor(n,e,i,s,o,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.pipe(Xe(_=>_[eh]))??ze(void 0),this._futureSnapshot=c}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(Xe(n=>Bc(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Xe(n=>Bc(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function GT(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const s=e[i],o=e[i-1];if(s.routeConfig&&""===s.routeConfig.path)i--;else{if(o.component)break;i--}}return function PB(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class um{constructor(n,e,i,s,o,a,l,c,_,E,R,$){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.[eh],this.routeConfig=c,this._urlSegment=_,this._lastPathIndex=E,this._correctedLastPathIndex=$??E,this._resolve=R}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=Bc(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qT extends zT{constructor(n,e){super(e),this.url=n,Cy(this,e)}toString(){return KT(this._root)}}function Cy(t,n){n.value._routerState=t,n.children.forEach(e=>Cy(t,e))}function KT(t){const n=t.children.length>0?` { ${t.children.map(KT).join(", ")} } `:"";return`${t.value}${n}`}function Sy(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Co(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Co(n.params,e.params)||t.params.next(e.params),function $V(t,n){if(t.length!==n.length)return!1;for(let e=0;eCo(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Dy(t.parent,n.parent))}function oh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const s=function OB(t,n,e){return n.children.map(i=>{for(const s of e.children)if(t.shouldReuseRoute(i.value,s.value.snapshot))return oh(t,i,s);return oh(t,i)})}(t,n,e);return new Qo(i,s)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>oh(t,l)),a}}const i=function AB(t){return new Qi(new Wi(t.url),new Wi(t.params),new Wi(t.queryParams),new Wi(t.fragment),new Wi(t.data),t.outlet,t.component,t)}(n.value),s=n.children.map(o=>oh(t,o));return new Qo(i,s)}}const ky="ngNavigationCancelingError";function ZT(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Tl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,s=QT(!1,0,n);return s.url=e,s.navigationBehaviorOptions=i,s}function QT(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[ky]=!0,i.cancellationCode=n,e&&(i.url=e),i}function JT(t){return XT(t)&&Tl(t.url)}function XT(t){return t&&t[ky]}class RB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ah,this.attachRef=null}}let ah=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const s=this.getOrCreateContext(e);s.outlet=i,this.contexts.set(e,s)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new RB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const dm=!1;let hm=(()=>{class t{constructor(e,i,s,o,a){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new ft,this.deactivateEvents=new ft,this.attachEvents=new ft,this.detachEvents=new ft,this.name=s||$t,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Le(4012,dm);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Le(4012,dm);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Le(4012,dm);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Le(4013,dm);this._activatedRoute=e;const s=this.location,a=e._futureSnapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new FB(e,l,s.injector);if(i&&function NB(t){return!!t.resolveComponentFactory}(i)){const _=i.resolveComponentFactory(a);this.activated=s.createComponent(_,s.length,c)}else this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(N(ah),N(ar),Ht("name"),N(Xn),N(Ta))},t.\u0275dir=Je({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class FB{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Qi?this.route:n===ah?this.childContexts:this.parent.get(n,e)}}let Ty=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],standalone:!0,features:[cS],decls:1,vars:0,template:function(e,i){1&e&&De(0,"router-outlet")},dependencies:[hm],encapsulation:2}),t})();function ex(t,n){return t.providers&&!t._injector&&(t._injector=sp(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Ly(t){const n=t.children&&t.children.map(Ly),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==$t&&(e.component=Ty),e}function As(t){return t.outlet||$t}function tx(t,n){const e=t.filter(i=>As(i)===n);return e.push(...t.filter(i=>As(i)!==n)),e}function lh(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class jB{constructor(n,e,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=s}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Sy(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,s[a],i),delete s[a]}),cr(s,(o,a)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(s===o)if(s.component){const a=i.getContext(s.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);if(i&&i.outlet){const a=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{this.activateRoutes(o,s[o.value.outlet],i),this.forwardEvent(new xB(o.value.snapshot))}),n.children.length&&this.forwardEvent(new kB(n.value.snapshot))}activateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(Sy(s),s===o)if(s.component){const a=i.getOrCreateContext(s.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(s.component){const a=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const l=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),Sy(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=lh(s.snapshot),c=l?.get(xa)??null;a.attachRef=null,a.route=s,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(s,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class nx{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class fm{constructor(n,e){this.component=n,this.route=e}}function UB(t,n,e){const i=t._root;return ch(i,n?n._root:null,e,[i.value])}function Wc(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function k_(t){return null!==nl(t)}(t)?n.get(t):t:i}function ch(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=zc(n);return t.children.forEach(a=>{(function WB(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function $B(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!kl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!kl(t.url,n.url)||!Co(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dy(t,n)||!Co(t.queryParams,n.queryParams);default:return!Dy(t,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new nx(i)):(o.data=a.data,o._resolvedData=a._resolvedData),ch(t,n,o.component?l?l.children:null:e,i,s),c&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new fm(l.outlet.component,a))}else a&&uh(n,l,s),s.canActivateChecks.push(new nx(i)),ch(t,null,o.component?l?l.children:null:e,i,s)})(a,o[a.value.outlet],e,i.concat([a.value]),s),delete o[a.value.outlet]}),cr(o,(a,l)=>uh(a,e.getContext(l),s)),s}function uh(t,n,e){const i=zc(t),s=t.value;cr(i,(o,a)=>{uh(o,s.component?n?n.children.getContext(a):null:n,e)}),e.canDeactivateChecks.push(new fm(s.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,s))}function dh(t){return"function"==typeof t}function Ey(t){return t instanceof Xp||"EmptyError"===t?.name}const pm=Symbol("INITIAL_VALUE");function $c(){return lr(t=>hy(t.map(n=>n.pipe(An(1),Yr(pm)))).pipe(Xe(n=>{for(const e of n)if(!0!==e){if(e===pm)return pm;if(!1===e||e instanceof Dl)return e}return!0}),Si(n=>n!==pm),An(1)))}function ix(t){return Z(ui(n=>{if(Tl(n))throw ZT(0,n)}),Xe(n=>!0===n))}const Py={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rx(t,n,e,i,s){const o=Iy(t,n,e);return o.matched?function cj(t,n,e,i){const s=n.canMatch;return s&&0!==s.length?ze(s.map(a=>{const l=Wc(a,t);return Ua(function JB(t){return t&&dh(t.canMatch)}(l)?l.canMatch(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),ix()):ze(!0)}(i=ex(n,i),n,e).pipe(Xe(a=>!0===a?o:{...Py})):ze(o)}function Iy(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Py}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(n.matcher||WV)(e,t,n);if(!s)return{...Py};const o={};cr(s.posParams,(l,c)=>{o[c]=l.path});const a=s.consumed.length>0?{...o,...s.consumed[s.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:s.posParams??{}}}function mm(t,n,e,i,s="corrected"){if(e.length>0&&function hj(t,n,e){return e.some(i=>_m(t,n,i)&&As(i)!==$t)}(t,e,i)){const a=new qt(n,function dj(t,n,e,i){const s={};s[$t]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&As(o)!==$t){const a=new qt([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,s[As(o)]=a}return s}(t,n,i,new qt(e,t.children)));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function fj(t,n,e){return e.some(i=>_m(t,n,i))}(t,e,i)){const a=new qt(t.segments,function uj(t,n,e,i,s,o){const a={};for(const l of i)if(_m(t,e,l)&&!s[As(l)]){const c=new qt([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===o?t.segments.length:n.length,a[As(l)]=c}return{...s,...a}}(t,n,e,i,t.children,s));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:e}}const o=new qt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function _m(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function sx(t,n,e,i){return!!(As(t)===i||i!==$t&&_m(n,e,t))&&("**"===t.path||Iy(n,t,e).matched)}function ox(t,n,e){return 0===n.length&&!t.children[e]}const gm=!1;class vm{constructor(n){this.segmentGroup=n||null}}class ax{constructor(n){this.urlTree=n}}function hh(t){return Dr(new vm(t))}function lx(t){return Dr(new ax(t))}class gj{constructor(n,e,i,s,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=s,this.config=o,this.allowRedirects=!0}apply(){const n=mm(this.urlTree.root,[],[],this.config).segmentGroup,e=new qt(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,$t).pipe(Xe(o=>this.createUrlTree(lm(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Qr(o=>{if(o instanceof ax)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof vm?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,$t).pipe(Xe(s=>this.createUrlTree(lm(s),n.queryParams,n.fragment))).pipe(Qr(s=>{throw s instanceof vm?this.noMatchError(s):s}))}noMatchError(n){return new Le(4002,gm)}createUrlTree(n,e,i){const s=_y(n);return new Dl(s,e,i)}expandSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Xe(o=>new qt([],o))):this.expandSegment(n,i,e,i.segments,s,!0)}expandChildren(n,e,i){const s=[];for(const o of Object.keys(i.children))"primary"===o?s.unshift(o):s.push(o);return ge(s).pipe(Ha(o=>{const a=i.children[o],l=tx(e,o);return this.expandSegmentGroup(n,l,a,o).pipe(Xe(c=>({segment:c,outlet:o})))}),tm((o,a)=>(o[a.outlet]=a.segment,o),{}),wT())}expandSegment(n,e,i,s,o,a){return ge(i).pipe(Ha(l=>this.expandSegmentAgainstRoute(n,e,i,l,s,o,a).pipe(Qr(_=>{if(_ instanceof vm)return ze(null);throw _}))),ja(l=>!!l),Qr((l,c)=>{if(Ey(l))return ox(e,s,o)?ze(new qt([],{})):hh(e);throw l}))}expandSegmentAgainstRoute(n,e,i,s,o,a,l){return sx(s,e,o,a)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(n,e,s,o,a):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a):hh(e):hh(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,s,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,s){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?lx(o):this.lineralizeSegments(i,o).pipe(we(a=>{const l=new qt(a,{});return this.expandSegment(n,l,e,a,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){const{matched:l,consumedSegments:c,remainingSegments:_,positionalParamSegments:E}=Iy(e,s,o);if(!l)return hh(e);const R=this.applyRedirectCommands(c,s.redirectTo,E);return s.redirectTo.startsWith("/")?lx(R):this.lineralizeSegments(s,R).pipe(we($=>this.expandSegment(n,e,i,$.concat(_),a,!1)))}matchSegmentAgainstRoute(n,e,i,s,o){return"**"===i.path?(n=ex(i,n),i.loadChildren?(i._loadedRoutes?ze({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(Xe(l=>(i._loadedRoutes=l.routes,i._loadedInjector=l.injector,new qt(s,{})))):ze(new qt(s,{}))):rx(e,i,s,n).pipe(lr(({matched:a,consumedSegments:l,remainingSegments:c})=>a?this.getChildConfig(n=i._injector??n,i,s).pipe(we(E=>{const R=E.injector??n,$=E.routes,{segmentGroup:X,slicedSegments:he}=mm(e,l,c,$),Se=new qt(X.segments,X.children);if(0===he.length&&Se.hasChildren())return this.expandChildren(R,$,Se).pipe(Xe(Fe=>new qt(l,Fe)));if(0===$.length&&0===he.length)return ze(new qt(l,{}));const Pe=As(i)===o;return this.expandSegment(R,Se,$,he,Pe?$t:o,!0).pipe(Xe($e=>new qt(l.concat($e.segments),$e.children)))})):hh(e)))}getChildConfig(n,e,i){return e.children?ze({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?ze({routes:e._loadedRoutes,injector:e._loadedInjector}):function lj(t,n,e,i){const s=n.canLoad;return void 0===s||0===s.length?ze(!0):ze(s.map(a=>{const l=Wc(a,t);return Ua(function qB(t){return t&&dh(t.canLoad)}(l)?l.canLoad(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),ix())}(n,e,i).pipe(we(s=>s?this.configLoader.loadChildren(n,e).pipe(ui(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function mj(t){return Dr(QT(gm,3))}())):ze({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return ze(i);if(s.numberOfChildren>1||!s.children[$t])return Dr(new Le(4e3,gm));s=s.children[$t]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,s){const o=this.createSegmentGroup(n,e.root,i,s);return new Dl(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return cr(n,(s,o)=>{if("string"==typeof s&&s.startsWith(":")){const l=s.substring(1);i[o]=e[l]}else i[o]=s}),i}createSegmentGroup(n,e,i,s){const o=this.createSegments(n,e.segments,i,s);let a={};return cr(e.children,(l,c)=>{a[c]=this.createSegmentGroup(n,l,i,s)}),new qt(o,a)}createSegments(n,e,i,s){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,s):this.findOrReturn(o,i))}findPosParam(n,e,i){const s=i[e.path.substring(1)];if(!s)throw new Le(4001,gm);return s}findOrReturn(n,e){let i=0;for(const s of e){if(s.path===n.path)return e.splice(i),s;i++}return n}}class bj{}class wj{constructor(n,e,i,s,o,a,l,c){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=s,this.url=o,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=l,this.urlSerializer=c}recognize(){const n=mm(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,$t).pipe(Xe(e=>{if(null===e)return null;const i=new um([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$t,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new Qo(i,e),o=new qT(this.url,s);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=GT(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,s)}processChildren(n,e,i){return ge(Object.keys(i.children)).pipe(Ha(s=>{const o=i.children[s],a=tx(e,s);return this.processSegmentGroup(n,a,o,s)}),tm((s,o)=>s&&o?(s.push(...o),s):null),CT(s=>null!==s),Jd(null),wT(),Xe(s=>{if(null===s)return null;const o=cx(s);return function Cj(t){t.sort((n,e)=>n.value.outlet===$t?-1:e.value.outlet===$t?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,s,o){return ge(e).pipe(Ha(a=>this.processSegmentAgainstRoute(a._injector??n,a,i,s,o)),ja(a=>!!a),Qr(a=>{if(Ey(a))return ox(i,s,o)?ze([]):ze(null);throw a}))}processSegmentAgainstRoute(n,e,i,s,o){if(e.redirectTo||!sx(e,i,s,o))return ze(null);let a;if("**"===e.path){const l=s.length>0?kT(s).parameters:{},c=dx(i)+s.length;a=ze({snapshot:new um(s,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fx(e),As(e),e.component??e._loadedComponent??null,e,ux(i),c,px(e),c),consumedSegments:[],remainingSegments:[]})}else a=rx(i,e,s,n).pipe(Xe(({matched:l,consumedSegments:c,remainingSegments:_,parameters:E})=>{if(!l)return null;const R=dx(i)+c.length;return{snapshot:new um(c,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fx(e),As(e),e.component??e._loadedComponent??null,e,ux(i),R,px(e),R),consumedSegments:c,remainingSegments:_}}));return a.pipe(lr(l=>{if(null===l)return ze(null);const{snapshot:c,consumedSegments:_,remainingSegments:E}=l;n=e._injector??n;const R=e._loadedInjector??n,$=function Sj(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:X,slicedSegments:he}=mm(i,_,E,$.filter(Pe=>void 0===Pe.redirectTo),this.relativeLinkResolution);if(0===he.length&&X.hasChildren())return this.processChildren(R,$,X).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]));if(0===$.length&&0===he.length)return ze([new Qo(c,[])]);const Se=As(e)===o;return this.processSegment(R,$,X,he,Se?$t:o).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]))}))}}function Dj(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function cx(t){const n=[],e=new Set;for(const i of t){if(!Dj(i)){n.push(i);continue}const s=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):n.push(i)}for(const i of e){const s=cx(i.children);n.push(new Qo(i.value,s))}return n.filter(i=>!e.has(i))}function ux(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function dx(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function fx(t){return t.data||{}}function px(t){return t.resolve||{}}function mx(t){return"string"==typeof t.title||null===t.title}function Oy(t){return lr(n=>{const e=t(n);return e?ge(e).pipe(Xe(()=>n)):ze(n)})}let _x=(()=>{class t{buildTitle(e){let i,s=e.root;for(;void 0!==s;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===$t);return i}getResolvedTitleForRoute(e){return e.data[eh]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(gx)},providedIn:"root"}),t})(),gx=(()=>{class t extends _x{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(_k))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class vx{}class Aj extends class Oj{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const ym=new Be("",{providedIn:"root",factory:()=>({})}),Ay=new Be("ROUTES");let Ry=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ze(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ua(e.loadComponent()).pipe(ui(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),nm(()=>{this.componentLoaders.delete(e)})),s=new Dn(i,()=>new J).pipe(wn());return this.componentLoaders.set(e,s),s}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ze({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(Xe(l=>{this.onLoadEndListener&&this.onLoadEndListener(i);let c,_,E=!1;Array.isArray(l)?_=l:(c=l.create(e).injector,_=DT(c.get(Ay,[],_t.Self|_t.Optional)));return{routes:_.map(Ly),injector:c}}),nm(()=>{this.childrenLoaders.delete(i)})),a=new Dn(o,()=>new J).pipe(wn());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Ua(e()).pipe(we(i=>i instanceof aS||Array.isArray(i)?ze(i):ge(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn),Ce(Zv))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Fj{}class Nj{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function Yj(t){throw t}function Hj(t,n,e){return n.parse("/")}const Vj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function yx(){const t=Yn(IT),n=Yn(ah),e=Yn(Vd),i=Yn(Jn),s=Yn(Zv),o=Yn(Ay,{optional:!0})??[],a=Yn(ym,{optional:!0})??{},l=Yn(gx),c=Yn(_x,{optional:!0}),_=Yn(Fj,{optional:!0}),E=Yn(vx,{optional:!0}),R=new Ut(null,t,n,e,i,s,DT(o));return _&&(R.urlHandlingStrategy=_),E&&(R.routeReuseStrategy=E),R.titleStrategy=c??l,function jj(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(a,R),R}let Ut=(()=>{class t{constructor(e,i,s,o,a,l,c){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=s,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new J,this.errorHandler=Yj,this.malformedUriErrorHandler=Hj,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ze(void 0),this.urlHandlingStrategy=new Nj,this.routeReuseStrategy=new Aj,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=a.get(Ry),this.configLoader.onLoadEndListener=$=>this.triggerEvent(new SB($)),this.configLoader.onLoadStartListener=$=>this.triggerEvent(new CB($)),this.ngModule=a.get(_l),this.console=a.get(J3);const R=a.get(mt);this.isNgZoneEnabled=R instanceof mt&&mt.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=function GV(){return new Dl(new qt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=$T(this.currentUrlTree,this.rootComponentType),this.transitions=new Wi({id:0,targetPageId: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()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(Si(s=>0!==s.id),Xe(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),lr(s=>{let o=!1,a=!1;return ze(s).pipe(ui(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),lr(l=>{const c=this.browserUrlTree.toString(),_=!this.navigated||l.extractedUrl.toString()!==c||c!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_)&&this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return Mx(l.source)&&(this.browserUrlTree=l.extractedUrl),ze(l).pipe(lr(R=>{const $=this.transitions.getValue();return i.next(new yy(R.id,this.serializeUrl(R.extractedUrl),R.source,R.restoredState)),$!==this.transitions.getValue()?Ba:Promise.resolve(R)}),function vj(t,n,e,i){return lr(s=>function _j(t,n,e,i,s){return new gj(t,n,e,i,s).apply()}(t,n,e,s.extractedUrl,i).pipe(Xe(o=>({...s,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ui(R=>{this.currentNavigation={...this.currentNavigation,finalUrl:R.urlAfterRedirects},s.urlAfterRedirects=R.urlAfterRedirects}),function Tj(t,n,e,i,s,o){return we(a=>function Mj(t,n,e,i,s,o,a="emptyOnly",l="legacy"){return new wj(t,n,e,i,s,a,l,o).recognize().pipe(lr(c=>null===c?function yj(t){return new ce(n=>n.error(t))}(new bj):ze(c)))}(t,n,e,a.urlAfterRedirects,i.serialize(a.urlAfterRedirects),i,s,o).pipe(Xe(l=>({...a,targetSnapshot:l}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ui(R=>{if(s.targetSnapshot=R.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!R.extras.skipLocationChange){const X=this.urlHandlingStrategy.merge(R.urlAfterRedirects,R.rawUrl);this.setBrowserUrl(X,R)}this.browserUrlTree=R.urlAfterRedirects}const $=new vB(R.id,this.serializeUrl(R.extractedUrl),this.serializeUrl(R.urlAfterRedirects),R.targetSnapshot);i.next($)}));if(_&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:X,source:he,restoredState:Se,extras:Pe}=l,Re=new yy($,this.serializeUrl(X),he,Se);i.next(Re);const $e=$T(X,this.rootComponentType).snapshot;return ze(s={...l,targetSnapshot:$e,urlAfterRedirects:X,extras:{...Pe,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=l.rawUrl,l.resolve(null),Ba}),ui(l=>{const c=new bB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Xe(l=>s={...l,guards:UB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),function ej(t,n){return we(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?ze({...e,guardsResult:!0}):function tj(t,n,e,i){return ge(t).pipe(we(s=>function aj(t,n,e,i,s){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ze(o.map(l=>{const c=lh(n)??s,_=Wc(l,c);return Ua(function QB(t){return t&&dh(t.canDeactivate)}(_)?_.canDeactivate(t,n,e,i):c.runInContext(()=>_(t,n,e,i))).pipe(ja())})).pipe($c()):ze(!0)}(s.component,s.route,e,n,i)),ja(s=>!0!==s,!0))}(a,i,s,t).pipe(we(l=>l&&function GB(t){return"boolean"==typeof t}(l)?function nj(t,n,e,i){return ge(n).pipe(Ha(s=>Sl(function rj(t,n){return null!==t&&n&&n(new DB(t)),ze(!0)}(s.route.parent,i),function ij(t,n){return null!==t&&n&&n(new TB(t)),ze(!0)}(s.route,i),function oj(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function zB(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Qd(()=>ze(a.guards.map(c=>{const _=lh(a.node)??e,E=Wc(c,_);return Ua(function ZB(t){return t&&dh(t.canActivateChild)}(E)?E.canActivateChild(i,t):_.runInContext(()=>E(i,t))).pipe(ja())})).pipe($c())));return ze(o).pipe($c())}(t,s.path,e),function sj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ze(!0);const s=i.map(o=>Qd(()=>{const a=lh(n)??e,l=Wc(o,a);return Ua(function KB(t){return t&&dh(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(ja())}));return ze(s).pipe($c())}(t,s.route,e))),ja(s=>!0!==s,!0))}(i,o,t,n):ze(l)),Xe(l=>({...e,guardsResult:l})))})}(this.ngModule.injector,l=>this.triggerEvent(l)),ui(l=>{if(s.guardsResult=l.guardsResult,Tl(l.guardsResult))throw ZT(0,l.guardsResult);const c=new yB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.triggerEvent(c)}),Si(l=>!!l.guardsResult||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",3),!1)),Oy(l=>{if(l.guards.canActivateChecks.length)return ze(l).pipe(ui(c=>{const _=new MB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}),lr(c=>{let _=!1;return ze(c).pipe(function xj(t,n){return we(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return ze(e);let o=0;return ge(s).pipe(Ha(a=>function Lj(t,n,e,i){const s=t.routeConfig,o=t._resolve;return void 0!==s?.title&&!mx(s)&&(o[eh]=s.title),function Ej(t,n,e,i){const s=function Pj(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===s.length)return ze({});const o={};return ge(s).pipe(we(a=>function Ij(t,n,e,i){const s=lh(n)??i,o=Wc(t,s);return Ua(o.resolve?o.resolve(n,e):s.runInContext(()=>o(n,e)))}(t[a],n,e,i).pipe(ja(),ui(l=>{o[a]=l}))),Xd(1),function HV(t){return n=>n.lift(new VV(t))}(o),Qr(a=>Ey(a)?Ba:Dr(a)))}(o,t,n,i).pipe(Xe(a=>(t._resolvedData=a,t.data=GT(t,e).resolve,s&&mx(s)&&(t.data[eh]=s.title),null)))}(a.route,i,t,n)),ui(()=>o++),Xd(1),we(a=>o===s.length?ze(e):Ba))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ui({next:()=>_=!0,complete:()=>{_||(this.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ui(c=>{const _=new wB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}))}),Oy(l=>{const c=_=>{const E=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&E.push(this.configLoader.loadComponent(_.routeConfig).pipe(ui(R=>{_.component=R}),Xe(()=>{})));for(const R of _.children)E.push(...c(R));return E};return hy(c(l.targetSnapshot.root)).pipe(Jd(),An(1))}),Oy(()=>this.afterPreactivation()),Xe(l=>{const c=function IB(t,n,e){const i=oh(t,n._root,e?e._root:void 0);return new WT(i,n)}(this.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return s={...l,targetRouterState:c}}),ui(l=>{this.currentUrlTree=l.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(l.urlAfterRedirects,l.rawUrl),this.routerState=l.targetRouterState,"deferred"===this.urlUpdateStrategy&&(l.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,l),this.browserUrlTree=l.urlAfterRedirects)}),((t,n,e)=>Xe(i=>(new jB(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,l=>this.triggerEvent(l)),ui({next(){o=!0},complete(){o=!0}}),nm(()=>{o||a||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Qr(l=>{if(a=!0,XT(l)){JT(l)||(this.navigated=!0,this.restoreHistory(s,!0));const c=new cm(s.id,this.serializeUrl(s.extractedUrl),l.message,l.cancellationCode);if(i.next(c),JT(l)){const _=this.urlHandlingStrategy.merge(l.url,this.rawUrlTree),E={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Mx(s.source)};this.scheduleNavigation(_,"imperative",null,E,{resolve:s.resolve,reject:s.reject,promise:s.promise})}else s.resolve(!1)}else{this.restoreHistory(s,!0);const c=new jT(s.id,this.serializeUrl(s.extractedUrl),l,s.targetSnapshot??void 0);i.next(c);try{s.resolve(this.errorHandler(l))}catch(_){s.reject(_)}}return Ba}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const s={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(Ly),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,_=s||this.routerState.root,E=c?this.currentUrlTree.fragment:a;let R=null;switch(l){case"merge":R={...this.currentUrlTree.queryParams,...o};break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=o||null}return null!==R&&(R=this.removeEmptyProps(R)),hB(_,this.currentUrlTree,e,R,E??null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=Tl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function Uj(t){for(let n=0;n{const o=e[s];return null!=o&&(i[s]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new za(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let l,c,_;a?(l=a.resolve,c=a.reject,_=a.promise):_=new Promise(($,X)=>{l=$,c=X});const E=++this.navigationId;let R;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),R=s&&s.\u0275routerPageId?s.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):R=0,this.setTransition({id:E,targetPageId:R,source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:l,reject:c,promise:_,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_.catch($=>Promise.reject($))}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl?this.location.replaceState(s,"",o):this.location.go(s,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===s?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,s){const o=new cm(e.id,this.serializeUrl(e.extractedUrl),i,s);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:function(){return yx()},providedIn:"root"}),t})();function Mx(t){return"imperative"!==t}let Wa=(()=>{class t{constructor(e,i,s){this.router=e,this.route=i,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new J,this.subscription=e.events.subscribe(o=>{o instanceof za&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=Wo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Wo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Wo(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,s,o,a){return!!(0!==e||i||s||o||a||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(N(Ut),N(Qi),N(bl))},t.\u0275dir=Je({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Wt("target",i.target)("href",i.href,Ho)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Ii]}),t})();class wx{}let $j=(()=>{class t{constructor(e,i,s,o,a){this.router=e,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Si(e=>e instanceof za),Ha(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const o of i){o.providers&&!o._injector&&(o._injector=sp(o.providers,e,`Route: ${o.path}`));const a=o._injector??e,l=o._loadedInjector??a;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?s.push(this.preloadConfig(a,o)):(o.children||o._loadedRoutes)&&s.push(this.processRoutes(l,o.children??o._loadedRoutes))}return ge(s).pipe(dt())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let s;s=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ze(null);const o=s.pipe(we(a=>null===a?ze(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?ge([o,this.loader.loadComponent(i)]).pipe(dt()):o})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Zv),Ce(Ta),Ce(wx),Ce(Ry))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ny=new Be("");let Cx=(()=>{class t{constructor(e,i,s={}){this.router=e,this.viewportScroller=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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(e=>{e instanceof yy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof za&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof UT&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new UT(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function Gc(t,n){return{\u0275kind:t,\u0275providers:n}}function Yy(t){return[{provide:Ay,multi:!0,useValue:t}]}function Dx(){const t=Yn(Jn);return n=>{const e=t.get(Yc);if(n!==e.components[0])return;const i=t.get(Ut),s=t.get(kx);1===t.get(Hy)&&i.initialNavigation(),t.get(Tx,null,_t.Optional)?.setUpPreloading(),t.get(Ny,null,_t.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),s.next(),s.complete()}}const kx=new Be("",{factory:()=>new J}),Hy=new Be("",{providedIn:"root",factory:()=>1});const Tx=new Be("");function Zj(t){return Gc(0,[{provide:Tx,useExisting:$j},{provide:wx,useExisting:t}])}const xx=new Be("ROUTER_FORROOT_GUARD"),Qj=[Vd,{provide:IT,useClass:py},{provide:Ut,useFactory:yx},ah,{provide:Qi,useFactory:function Sx(t){return t.routerState.root},deps:[Ut]},Ry];function Jj(){return new nD("Router",Ut)}let Lx=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Qj,[],Yy(e),{provide:xx,useFactory:n8,deps:[[Ut,new ka,new hc]]},{provide:ym,useValue:i||{}},i?.useHash?{provide:bl,useClass:VN}:{provide:bl,useClass:TD},{provide:Ny,useFactory:()=>{const t=Yn(Ut),n=Yn(e5),e=Yn(ym);return e.scrollOffset&&n.setOffset(e.scrollOffset),new Cx(t,n,e)}},i?.preloadingStrategy?Zj(i.preloadingStrategy).\u0275providers:[],{provide:nD,multi:!0,useFactory:Jj},i?.initialNavigation?i8(i):[],[{provide:Ex,useFactory:Dx},{provide:KS,multi:!0,useExisting:Ex}]]}}static forChild(e){return{ngModule:t,providers:[Yy(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(xx,8))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ty]}),t})();function n8(t){return"guarded"}function i8(t){return["disabled"===t.initialNavigation?Gc(3,[{provide:cp,multi:!0,useFactory:()=>{const n=Yn(Ut);return()=>{n.setUpLocationChangeListener()}}},{provide:Hy,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Gc(2,[{provide:Hy,useValue:0},{provide:cp,multi:!0,deps:[Jn],useFactory:n=>{const e=n.get(YN,Promise.resolve(null));let i=!1;return()=>e.then(()=>new Promise(o=>{const a=n.get(Ut),l=n.get(kx);(function s(o){n.get(Ut).events.pipe(Si(l=>l instanceof za||l instanceof cm||l instanceof jT),Xe(l=>l instanceof za||l instanceof cm&&(0===l.code||1===l.code)&&null),Si(l=>null!==l),An(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),a.afterPreactivation=()=>(o(!0),i||l.closed?ze(void 0):l),a.initialNavigation()}))}}]).\u0275providers:[]]}const Ex=new Be("");class s8 extends x{constructor(n,e){super()}schedule(n,e=0){return this}}class Sm extends s8{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(n,e,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let s,i=!1;try{this.work(n)}catch(o){i=!0,s=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),s}_unsubscribe(){const n=this.id,e=this.scheduler,i=e.actions,s=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&i.splice(s,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}}let Px=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,s){return new this.SchedulerAction(this,e).schedule(s,i)}}return t.now=()=>Date.now(),t})();class Js extends Px{constructor(n,e=Px.now){super(n,()=>Js.delegate&&Js.delegate!==this?Js.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return Js.delegate&&Js.delegate!==this?Js.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const qc=new Js(Sm);class Jr{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return ze(this.value);case"E":return Dr(this.error);case"C":return em()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new Jr("N",n):Jr.undefinedValueNotification}static createError(n){return new Jr("E",void 0,n)}static createComplete(){return Jr.completeNotification}}function Ji(t,n=qc){const i=function o8(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return s=>s.lift(new a8(i,n))}Jr.completeNotification=new Jr("C"),Jr.undefinedValueNotification=new Jr("N",void 0);class a8{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new Vy(n,this.delay,this.scheduler))}}class Vy extends A{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,s=n.scheduler,o=n.destination;for(;i.length>0&&i[0].time-s.now()<=0;)i.shift().notification.observe(o);if(i.length>0){const a=Math.max(0,i[0].time-s.now());this.schedule(n,a)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(Vy.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new l8(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(Jr.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(Jr.createComplete()),this.unsubscribe()}}class l8{constructor(n,e){this.time=n,this.notification=e}}var xl=(()=>(function(t){t.NoConnection="NoConnection",t.Unknown="Unknown"}(xl||(xl={})),xl))();class c8{}const Ix="common.operation-error";function an(t){if(t&&t.type&&!t.srcElement)return t;const n=new c8;if(n.originalError=t,!t||"string"==typeof t)return n.originalServerErrorMsg=t||"",n.translatableErrorMsg=t||Ix,n.type=xl.Unknown,n;n.originalServerErrorMsg=function d8(t){if(t){if("string"==typeof t._body)return t._body;if(t.originalServerErrorMsg&&"string"==typeof t.originalServerErrorMsg)return t.originalServerErrorMsg;if(t.error&&"string"==typeof t.error)return t.error;if(t.error&&t.error.error&&t.error.error.message)return t.error.error.message;if(t.error&&t.error.error&&"string"==typeof t.error.error)return t.error.error;if(t.message)return t.message;if(t._body&&t._body.error)return t._body.error;try{return JSON.parse(t._body).error}catch{}}return null}(t);return null!=t.status&&(0===t.status||504===t.status)&&(n.type=xl.NoConnection,n.translatableErrorMsg="common.no-connection-error"),n.type||(n.type=xl.Unknown,n.translatableErrorMsg=n.originalServerErrorMsg?function u8(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch{}if(t.startsWith("400")||t.startsWith("403")){const e=t.split(" - ",2);t=2===e.length?e[1]:t}const n=(t=t.trim()).substr(0,1);return n.toUpperCase()!==n&&(t=n.toUpperCase()+t.substr(1,t.length-1)),!t.endsWith(".")&&!t.endsWith(",")&&!t.endsWith(":")&&!t.endsWith(";")&&!t.endsWith("?")&&!t.endsWith("!")&&(t+="."),t}(n.originalServerErrorMsg):Ix),n}const p8=new class f8 extends Js{}(class h8 extends Sm{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(n,e,i):n.flush(this)}});class Dm extends A{constructor(n,e,i=0){super(n),this.scheduler=e,this.delay=i}static dispatch(n){const{notification:e,destination:i}=n;e.observe(i),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Dm.dispatch,this.delay,new _8(n,this.destination)))}_next(n){this.scheduleMessage(Jr.createNext(n))}_error(n){this.scheduleMessage(Jr.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Jr.createComplete()),this.unsubscribe()}}class _8{constructor(n,e){this.notification=n,this.destination=e}}class Xs extends J{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new g8(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,o=i.length;let a;if(this.closed)throw new ne;if(this.isStopped||this.hasError?a=x.EMPTY:(this.observers.push(n),a=new oe(this,n)),s&&n.add(n=new Dm(n,s)),e)for(let l=0;le&&(a=Math.max(a,o-e)),a>0&&s.splice(0,a),s}}class g8{constructor(n,e){this.time=n,this.value=e}}const km="refreshSeconds",Tm="labelsData",xm="localNodesData",Ox="nodesData";var ur=(()=>(function(t){t.Node="nd",t.Transport="tp",t.DmsgServer="ds"}(ur||(ur={})),ur))();let By,Xi=(()=>{class t{constructor(){this.currentRefreshTimeSubject=new Xs(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set}initialize(e){this.storage=localStorage,this.hypervisorPk=e,this.migrateDataToHvStorage(),this.currentRefreshTime=parseInt(this.getDataForHv(km),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(o=>{this.savedLocalNodes.set(o.publicKey,o),o.hidden||this.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(o=>this.savedLabels.set(o.id,o)),this.loadLegacyNodeData();const i=[];this.savedLocalNodes.forEach(o=>i.push(o));const s=[];this.savedLabels.forEach(o=>s.push(o)),this.saveLocalNodes(i),this.saveLabels(s)}getDataForHv(e){return this.storage.getItem(this.hypervisorPk+e)}setDataForHv(e,i){return this.storage.setItem(this.hypervisorPk+e,i)}migrateDataToHvStorage(){const e=this.storage.getItem(km);if(e){const o=parseInt(e,10)||10;this.setRefreshTime(o),this.storage.removeItem(km)}const i=this.storage.getItem(xm);if(i){const o=JSON.parse(i)||[];this.saveLocalNodes(o),this.storage.removeItem(xm)}const s=this.storage.getItem(Tm);if(s){const o=JSON.parse(s)||[];this.saveLabels(o),this.storage.removeItem(Tm)}}loadLegacyNodeData(){const e=JSON.parse(this.storage.getItem(Ox))||[];if(e.length>0){const i=this.getSavedLocalNodes(),s=this.getSavedLabels();e.forEach(o=>{i.push({publicKey:o.publicKey,hidden:o.deleted,ip:null}),this.savedLocalNodes.set(o.publicKey,i[i.length-1]),o.deleted||this.savedVisibleLocalNodes.add(o.publicKey),s.push({id:o.publicKey,identifiedElementType:ur.Node,label:o.label}),this.savedLabels.set(o.publicKey,s[s.length-1])}),this.saveLocalNodes(i),this.saveLabels(s),this.storage.removeItem(Ox)}}setRefreshTime(e){this.setDataForHv(km,e.toString()),this.currentRefreshTime=e,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}getRefreshTimeObservable(){return this.currentRefreshTimeSubject.asObservable()}getRefreshTime(){return this.currentRefreshTime}includeVisibleLocalNodes(e,i){this.changeLocalNodesHiddenProperty(e,i,!1)}setLocalNodesAsHidden(e,i){this.changeLocalNodesHiddenProperty(e,i,!0)}changeLocalNodesHiddenProperty(e,i,s){if(e.length!==i.length)throw new Error("Invalid params");const o=new Map,a=new Map;e.forEach((_,E)=>{o.set(_,i[E]),a.set(_,i[E])});let l=!1;const c=this.getSavedLocalNodes();c.forEach(_=>{o.has(_.publicKey)&&(a.has(_.publicKey)&&a.delete(_.publicKey),_.ip!==o.get(_.publicKey)&&(_.ip=o.get(_.publicKey),l=!0,this.savedLocalNodes.set(_.publicKey,_)),_.hidden!==s&&(_.hidden=s,l=!0,this.savedLocalNodes.set(_.publicKey,_),s?this.savedVisibleLocalNodes.delete(_.publicKey):this.savedVisibleLocalNodes.add(_.publicKey)))}),a.forEach((_,E)=>{l=!0;const R={publicKey:E,hidden:s,ip:_};c.push(R),this.savedLocalNodes.set(E,R),s?this.savedVisibleLocalNodes.delete(E):this.savedVisibleLocalNodes.add(E)}),l&&this.saveLocalNodes(c)}getSavedLocalNodes(){return JSON.parse(this.getDataForHv(xm))||[]}getSavedVisibleLocalNodes(){return this.savedVisibleLocalNodes}saveLocalNodes(e){this.setDataForHv(xm,JSON.stringify(e))}getSavedLabels(){return JSON.parse(this.getDataForHv(Tm))||[]}saveLabels(e){this.setDataForHv(Tm,JSON.stringify(e))}saveLabel(e,i,s){if(i){let o=!1;const a=this.getSavedLabels().map(l=>(l.id===e&&l.identifiedElementType===s&&(o=!0,l.label=i,this.savedLabels.set(l.id,{label:l.label,id:l.id,identifiedElementType:l.identifiedElementType})),l));if(o)this.saveLabels(a);else{const l={label:i,id:e,identifiedElementType:s};a.push(l),this.savedLabels.set(e,l),this.saveLabels(a)}}else{this.savedLabels.has(e)&&this.savedLabels.delete(e);let o=!1;const a=this.getSavedLabels().filter(l=>l.id!==e||(o=!0,!1));o&&this.saveLabels(a)}}getDefaultLabel(e){return e?e.ip?e.ip:e.localPk.substr(0,8):""}getLabelInfo(e){return this.savedLabels.has(e)?this.savedLabels.get(e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();try{By=typeof Intl<"u"&&Intl.v8BreakIterator}catch{By=!1}let Kc,Di=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function X4(t){return t===qD}(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&&!By)&&typeof CSS<"u"&&!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)(Ce(dp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ax=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Rx(){if(Kc)return Kc;if("object"!=typeof document||!document)return Kc=new Set(Ax),Kc;let t=document.createElement("input");return Kc=new Set(Ax.filter(n=>(t.setAttribute("type",n),t.type===n))),Kc}let fh,El,jy;function Ll(t){return function v8(){if(null==fh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fh=!0}))}finally{fh=fh||!1}return fh}()?t:!!t.capture}function b8(){if(null==El){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return El=!1,El;if("scrollBehavior"in document.documentElement.style)El=!0;else{const t=Element.prototype.scrollTo;El=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return El}function Fx(t){if(function y8(){if(null==jy){const t=typeof document<"u"?document.head:null;jy=!(!t||!t.createShadowRoot&&!t.attachShadow)}return jy}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Uy(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Pl(t){return t.composedPath?t.composedPath()[0]:t.target}function zy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function So(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Wy(t,n=qc){return e=>e.lift(new I8(t,n))}class I8{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new O8(n,this.dueTime,this.scheduler))}}class O8 extends A{constructor(n,e,i){super(n),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A8,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){const n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}function A8(t){t.debouncedNext()}function $y(t){return n=>n.lift(new R8(t))}class R8{constructor(n){this.total=n}call(n,e){return e.subscribe(new F8(n,this.total))}}class F8 extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}function Gy(t,n){return e=>e.lift(new N8(t,n))}class N8{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Y8(n,this.compare,this.keySelector))}}class Y8 extends A{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:s}=this;e=s?s(n):n}catch(s){return this.destination.error(s)}let i=!1;if(this.hasKey)try{const{compare:s}=this;i=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}function fn(t){return n=>n.lift(new H8(t))}class H8{constructor(n){this.notifier=n}call(n,e){const i=new V8(n),s=jn(i,this.notifier);return s&&!i.seenValue?(i.add(s),e.subscribe(i)):i}}class V8 extends Kn{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,i,s,o){this.seenValue=!0,this.complete()}notifyComplete(){}}function En(t){return null!=t&&"false"!=`${t}`}function eo(t,n=0){return function B8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Am(t){return Array.isArray(t)?t:[t]}function Yi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Jo(t){return t instanceof bt?t.nativeElement:t}let Yx=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Jo(e);return new ce(s=>{const a=this._observeElement(i).subscribe(s);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new J,s=this._mutationObserverFactory.create(o=>i.next(o));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:s}=this._observedElements.get(e);i&&i.disconnect(),s.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Yx))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qy=(()=>{class t{constructor(e,i,s){this._contentObserver=e,this._elementRef=i,this._ngZone=s,this.event=new ft,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=eo(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Wy(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(j8),N(bt),N(mt))},t.\u0275dir=Je({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Rm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Yx]}),t})();const Hx=new Set;let Zc,U8=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):W8}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function z8(t){if(!Hx.has(t))try{Zc||(Zc=document.createElement("style"),Zc.setAttribute("type","text/css"),document.head.appendChild(Zc)),Zc.sheet&&(Zc.sheet.insertRule(`@media ${t} {body{ }}`,0),Hx.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function W8(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Fm=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vx(Am(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let o=hy(Vx(Am(e)).map(a=>this._registerQuery(a).observable));return o=Sl(o.pipe(An(1)),o.pipe($y(1),Wy(0))),o.pipe(Xe(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:_})=>{l.matches=l.matches||c,l.breakpoints[_]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ce(a=>{const l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Yr(i),Xe(({matches:a})=>({query:e,matches:a})),fn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(Ce(U8),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Vx(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Nm(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const Ux="cdk-describedby-message",Ym="cdk-describedby-host";let Ky=0,q8=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ky++,this._document=e,this._id=Yn(Nc)+"-"+Ky++}describe(e,i,s){if(!this._canBeDescribed(e,i))return;const o=Zy(i,s);"string"!=typeof i?(zx(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,s),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,s){if(!i||!this._isElementNode(e))return;const o=Zy(i,s);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Ym}="${this._id}"]`);for(let i=0;i0!=s.indexOf(Ux));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const s=this._messageRegistry.get(i);(function $8(t,n,e){const i=Nm(t,n);i.some(s=>s.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(Ym,this._id),s.referenceCount++}_removeMessageReference(e,i){const s=this._messageRegistry.get(i);s.referenceCount--,function G8(t,n,e){const s=Nm(t,n).filter(o=>o!=e.trim());s.length?t.setAttribute(n,s.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Ym)}_isElementDescribedByMessage(e,i){const s=Nm(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=s.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const s=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!s||o&&o.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Zy(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function zx(t,n){t.id||(t.id=`${Ux}-${n}-${Ky++}`)}class Wx{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=x.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,n instanceof gl&&n.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ui(e=>this._pressedLetters.push(e)),Wy(n),Si(()=>this._pressedLetters.length>0),Xe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let s=1;s!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||So(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.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(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const s=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof gl?this._items.toArray():this._items}}class K8 extends Wx{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class $x extends Wx{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Hm=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Q8(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Z8(t){try{return t.frameElement}catch{return null}}(function s6(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===qx(i)||!this.isVisible(i)))return!1;let s=e.nodeName.toLowerCase(),o=qx(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function i6(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==o:"video"===s?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function r6(t){return!function X8(t){return function t6(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function J8(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function e6(t){return function n6(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Gx(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Gx(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function qx(t){if(!Gx(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class o6{constructor(n,e,i,s,o=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const s=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(s)return s}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(An(1)).subscribe(n)}}let Qy=(()=>{class t{constructor(e,i,s){this._checker=e,this._ngZone=i,this._document=s}create(e,i=!1){return new o6(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hm),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Jy(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Xy(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const a6=new Be("cdk-input-modality-detector-options"),l6={ignoreKeys:[18,17,224,91,16]},Qc=Ll({passive:!0,capture:!0});let c6=(()=>{class t{constructor(e,i,s,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Wi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pl(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Jy(a)?"keyboard":"mouse"),this._mostRecentTarget=Pl(a))},this._onTouchstart=a=>{Xy(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pl(a))},this._options={...l6,...o},this.modalityDetected=this._modality.pipe($y(1)),this.modalityChanged=this.modalityDetected.pipe(Gy()),e.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Qc),s.addEventListener("mousedown",this._onMousedown,Qc),s.addEventListener("touchstart",this._onTouchstart,Qc)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qc),document.removeEventListener("mousedown",this._onMousedown,Qc),document.removeEventListener("touchstart",this._onTouchstart,Qc))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct),Ce(a6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const u6=new Be("liveAnnouncerElement",{providedIn:"root",factory:function d6(){return null}}),h6=new Be("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let e0=(()=>{class t{constructor(e,i,s,o){this._ngZone=i,this._defaultOptions=o,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...i){const s=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=s&&s.politeness?s.politeness:"polite"),null==a&&s&&(a=s.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let o=0;o{class t{constructor(e,i,s,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{for(let _=Pl(l);_;_=_.parentElement)"focus"===l.type?this._onFocus(l,_):this._onBlur(l,_)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const s=Jo(e);if(!this._platform.isBrowser||1!==s.nodeType)return ze(null);const o=Fx(s)||this._getDocument(),a=this._elementInfo.get(s);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new J,rootNode:o};return this._elementInfo.set(s,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=Jo(e),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(e,i,s){const o=Jo(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const s=this._elementInfo.get(i),o=Pl(e);!s||!s.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),s)}_onBlur(e,i){const s=this._elementInfo.get(i);!s||s.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vm)}),this._rootNodeFocusListenerCount.set(i,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vm),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,s){this._setClasses(e,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((s,o)=>{(o===e||s.checkChildren&&o.contains(e))&&i.push([o,s])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new ft}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do))},t.\u0275dir=Je({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const Zx="cdk-high-contrast-black-on-white",Qx="cdk-high-contrast-white-on-black",t0="cdk-high-contrast-active";let Jx=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Yn(Fm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(t0,Zx,Qx),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(t0,Zx):2===i&&e.add(t0,Qx)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),n0=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jx))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Rm]}),t})();function Jc(t,n,e,i){return I(e)&&(i=e,e=void 0),i?Jc(t,n,e).pipe(Xe(s=>M(s)?i(...s):i(s))):new ce(s=>{Xx(t,n,function o(a){s.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},s,e)})}function Xx(t,n,e,i,s){let o;if(function g6(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const a=t;t.addEventListener(n,e,s),o=()=>a.removeEventListener(n,e,s)}else if(function _6(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const a=t;t.on(n,e),o=()=>a.off(n,e)}else if(function m6(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const a=t;t.addListener(n,e),o=()=>a.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,l=t.length;a0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let M6=1;const r0={},e2={setImmediate(t){const n=M6++;return r0[n]=t,Promise.resolve().then(()=>function w6(t){const n=r0[t];n&&n()}(n)),n},clearImmediate(t){delete r0[t]}},s0=new class S6 extends Js{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,s=-1,o=e.length;n=n||e.shift();do{if(i=n.execute(n.state,n.delay))break}while(++s0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=e2.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(e2.clearImmediate(e),n.scheduled=void 0)}});class k6{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new T6(n,this.durationSelector))}}class T6 extends Kn{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(n)}catch(s){return this.destination.error(s)}const i=jn(this,e);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:n,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,i,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function o0(t){return!M(t)&&t-parseFloat(t)+1>=0}function Bm(t=0,n,e){let i=-1;return o0(n)?i=Number(n)<1?1:Number(n):ke(n)&&(e=n),ke(e)||(e=qc),new ce(s=>{const o=o0(t)?t:+t-e.now();return e.schedule(x6,o,{index:0,period:i,subscriber:s})})}function x6(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}function t2(t,n=qc){return function D6(t){return function(e){return e.lift(new k6(t))}}(()=>Bm(t,n))}const L6=new Be("cdk-dir-doc",{providedIn:"root",factory:function E6(){return Yn(Ct)}}),P6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let gs=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new ft,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function I6(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?P6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ce(L6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),n2=(()=>{class t{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ce(i=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(t2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ze()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Si(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=Jo(i),o=e.getElementRef().nativeElement;do{if(s==o)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Jc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Di),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Il=(()=>{class t{constructor(e,i,s){this._platform=e,this._change=new J,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),s=e.documentElement,o=s.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(t2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),r2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,vh,gh,vh]}),t})();class a0{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Xc extends a0{constructor(n,e,i,s){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=s}}class eu extends a0{constructor(n,e,i,s){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class R6 extends a0{constructor(n){super(),this.element=n instanceof bt?n.nativeElement:n}}class jm{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Xc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof eu?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof R6?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class F6 extends jm{constructor(n,e,i,s,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=s,this.attachDomPortal=a=>{const l=a.element,c=this._document.createComment("dom-portal");l.parentNode.insertBefore(c,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(l,c)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let s;return n.viewContainerRef?(s=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=i.create(n.injector||this._defaultInjector||Jn.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=n,s}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);-1!==s&&e.remove(s)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let $a=(()=>{class t extends jm{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ft,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pt]}),t})(),tu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const s2=b8();class N6{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yi(-this._previousScrollPosition.left),n.style.top=Yi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,s=this._document.body.style,o=i.scrollBehavior||"",a=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),s2&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),s2&&(i.scrollBehavior=o,s.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class Y6{constructor(n,e,i,s){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class o2{enable(){}disable(){}attach(){}}function l0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function a2(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class H6{constructor(n,e,i,s){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();l0(e,[{width:i,height:s,bottom:s,right:i,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 V6=(()=>{class t{constructor(e,i,s,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new o2,this.close=a=>new Y6(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new N6(this._viewportRuler,this._document),this.reposition=a=>new H6(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(Ce(n2),Ce(Il),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class bh{constructor(n){if(this.scrollStrategy=new o2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class B6{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let l2=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j6=(()=>{class t extends l2{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(s)):l.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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)(Ce(Ct),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),U6=(()=>{class t extends l2{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Pl(o)},this._clickListener=o=>{const a=Pl(o),l="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let _=c.length-1;_>-1;_--){const E=c[_];if(E._outsidePointerEvents.observers.length<1||!E.hasAttached())continue;if(E.overlayElement.contains(a)||E.overlayElement.contains(l))break;const R=E._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>R.next(o)):R.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Um=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||zy()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(R),this._backdropTransitionendHandler=R=>{this._disposeBackdrop(R.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(An(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),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),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?.remove(),this._previousHostParent=this._pane=this._host=null,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Yi(this._config.width),n.height=Yi(this._config.height),n.minWidth=Yi(this._config.minWidth),n.minHeight=Yi(this._config.minHeight),n.maxWidth=Yi(this._config.maxWidth),n.maxHeight=Yi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const s=Am(e||[]).filter(o=>!!o);s.length&&(i?n.classList.add(...s):n.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(fn(Yt(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._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const c2="cdk-overlay-connected-position-bounding-box",z6=/([A-Za-z%]+)$/;class W6{constructor(n,e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o,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 J,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(c2),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,o=[];let a;for(let l of this._preferredPositions){let c=this._getOriginPoint(n,s,l),_=this._getOverlayPoint(c,e,l),E=this._getOverlayFit(_,e,i,l);if(E.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,c);this._canFitWithFlexibleDimensions(E,_,i)?o.push({position:l,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,l)}):(!a||a.overlayFit.visibleAreac&&(c=E,l=_)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ol(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(c2),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let s,o;if("center"==i.originX)s=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,l=this._isRtl()?n.left:n.right;s="start"==i.originX?a:l}return e.left<0&&(s-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:s,y:o}}_getOverlayPoint(n,e,i){let s,o;return s="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+s,y:n.y+o}}_getOverlayFit(n,e,i,s){const o=d2(e);let{x:a,y:l}=n,c=this._getOffset(s,"x"),_=this._getOffset(s,"y");c&&(a+=c),_&&(l+=_);let $=0-l,X=l+o.height-i.height,he=this._subtractOverflows(o.width,0-a,a+o.width-i.width),Se=this._subtractOverflows(o.height,$,X),Pe=he*Se;return{visibleArea:Pe,isCompletelyWithinViewport:o.width*o.height===Pe,fitsInViewportVertically:Se===o.height,fitsInViewportHorizontally:he==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const s=i.bottom-e.y,o=i.right-e.x,a=u2(this._overlayRef.getConfig().minHeight),l=u2(this._overlayRef.getConfig().minWidth),_=n.fitsInViewportHorizontally||null!=l&&l<=o;return(n.fitsInViewportVertically||null!=a&&a<=s)&&_}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const s=d2(e),o=this._viewportRect,a=Math.max(n.x+s.width-o.width,0),l=Math.max(n.y+s.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),_=Math.max(o.left-i.left-n.x,0);let E=0,R=0;return E=s.width<=o.width?_||-a:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-he/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=i.width-n.x+this._viewportMargin,E=n.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)R=n.x,E=i.right-n.x;else{const X=Math.min(i.right-n.x+i.left,n.x),he=this._lastBoundingBoxSize.width;E=2*X,R=n.x-X,E>he&&!this._isInitialRender&&!this._growAfterOpen&&(R=n.x-he/2)}return{top:a,left:R,bottom:l,right:$,width:E,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;s.height=Yi(i.height),s.top=Yi(i.top),s.bottom=Yi(i.bottom),s.width=Yi(i.width),s.left=Yi(i.left),s.right=Yi(i.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(s.maxHeight=Yi(o)),a&&(s.maxWidth=Yi(a))}this._lastBoundingBoxSize=i,Ol(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Ol(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ol(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(s){const E=this._viewportRuler.getViewportScrollPosition();Ol(i,this._getExactOverlayY(e,n,E)),Ol(i,this._getExactOverlayX(e,n,E))}else i.position="static";let l="",c=this._getOffset(e,"x"),_=this._getOffset(e,"y");c&&(l+=`translateX(${c}px) `),_&&(l+=`translateY(${_}px)`),i.transform=l.trim(),a.maxHeight&&(s?i.maxHeight=Yi(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(s?i.maxWidth=Yi(a.maxWidth):o&&(i.maxWidth="")),Ol(this._pane.style,i)}_getExactOverlayY(n,e,i){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=Yi(o.y),s}_getExactOverlayX(n,e,i){let a,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=Yi(o.x),s}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:a2(n,i),isOriginOutsideView:l0(n,i),isOverlayClipped:a2(e,i),isOverlayOutsideView:l0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,s)=>i-Math.max(s,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Am(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof bt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ol(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function u2(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(z6);return e&&"px"!==e?null:parseFloat(n)}return t||null}function d2(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const h2="cdk-global-overlay-wrapper";class $6{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(h2),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:a,maxHeight:l}=i,c=!("100%"!==s&&"100vw"!==s||a&&"100%"!==a&&"100vw"!==a),_=!("100%"!==o&&"100vh"!==o||l&&"100%"!==l&&"100vh"!==l),E=this._xPosition,R=this._xOffset,$="rtl"===this._overlayRef.getConfig().direction;let X="",he="",Se="";c?Se="flex-start":"center"===E?(Se="center",$?he=R:X=R):$?"left"===E||"end"===E?(Se="flex-end",X=R):("right"===E||"start"===E)&&(Se="flex-start",he=R):"left"===E||"start"===E?(Se="flex-start",X=R):("right"===E||"end"===E)&&(Se="flex-end",he=R),n.position=this._cssPosition,n.marginLeft=c?"0":X,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":he,e.justifyContent=Se,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(h2),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let G6=(()=>{class t{constructor(e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new $6}flexibleConnectedTo(e){return new W6(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Il),Ce(Ct),Ce(Di),Ce(Um))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),q6=0,Xr=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=_,this._directionality=E,this._location=R,this._outsideClickDispatcher=$,this._animationsModuleType=X}create(e){const i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),a=new bh(e);return a.direction=a.direction||this._directionality.value,new yh(o,i,s,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+q6++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Yc)),new F6(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Ce(V6),Ce(Um),Ce(xa),Ce(G6),Ce(j6),Ce(Jn),Ce(mt),Ce(Ct),Ce(gs),Ce(Vd),Ce(U6),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const K6=[{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"}],f2=new Be("cdk-connected-overlay-scroll-strategy");let p2=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),m2=(()=>{class t{constructor(e,i,s,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ft,this.positionChange=new ft,this.attach=new ft,this.detach=new ft,this.overlayKeydown=new ft,this.overlayOutsideClick=new ft,this._templatePortal=new eu(i,s),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=En(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=En(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=En(e)}get push(){return this._push}set push(e){this._push=En(e)}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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=K6);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new bh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof p2?this.origin.elementRef:this.origin}_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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(CT(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),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)(N(Xr),N(Ar),N(ar),N(f2),N(gs,8))},t.\u0275dir=Je({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ii]}),t})();const Q6={provide:f2,deps:[Xr],useFactory:function Z6(t){return()=>t.scrollStrategies.reposition()}};let nu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Xr,Q6],imports:[gh,tu,r2,r2]}),t})();function J6(t,n){}class zm{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let _2=(()=>{class t extends jm{constructor(e,i,s,o,a,l,c,_){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=_,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=E=>{this._portalOutlet.hasAttached();const R=this._portalOutlet.attachDomPortal(E);return this._contentAttached(),R},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=s}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const s=()=>{e.removeEventListener("blur",s),e.removeEventListener("mousedown",s),e.removeAttribute("tabindex")};e.addEventListener("blur",s),e.addEventListener("mousedown",s)})),e.focus(i)}_focusByCssSelector(e,i){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const s=Uy(),o=this._elementRef.nativeElement;(!s||s===this._document.body||s===o||o.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Uy();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Uy())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N(zm),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Wt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,J6,0,0,"ng-template",0)},dependencies:[$a],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class c0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new J,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const g2=new Be("DialogScrollStrategy"),X6=new Be("DialogData"),e9=new Be("DefaultDialogConfig"),n9={provide:g2,deps:[Xr],useFactory:function t9(t){return()=>t.scrollStrategies.block()}};let i9=0,v2=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._injector=i,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new zm,...i}).id=i.id||"cdk-dialog-"+i9++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),a=this._overlay.create(o),l=new c0(a,i),c=this._attachContainer(a,l,i);return l.containerInstance=c,this._attachDialogContent(e,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){u0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){u0(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),u0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new bh({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,s){const o=s.injector||s.viewContainerRef?.injector,a=[{provide:zm,useValue:s},{provide:c0,useValue:i},{provide:yh,useValue:e}];let l;s.container?"function"==typeof s.container?l=s.container:(l=s.container.type,a.push(...s.container.providers(s))):l=_2;const c=new Xc(l,s.viewContainerRef,Jn.create({parent:o||this._injector,providers:a}),s.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,s,o){if(e instanceof Ar){const a=this._createInjector(o,i,s,void 0);let l={$implicit:o.data,dialogRef:i};o.templateContext&&(l={...l,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),s.attachTemplatePortal(new eu(e,null,l,a))}else{const a=this._createInjector(o,i,s,this._injector),l=s.attachComponentPortal(new Xc(e,o.viewContainerRef,a,o.componentFactoryResolver));i.componentInstance=l.instance}}_createInjector(e,i,s,o){const a=e.injector||e.viewContainerRef?.injector,l=[{provide:X6,useValue:e.data},{provide:c0,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,s)):l.push(...e.providers)),e.direction&&(!a||!a.get(gs,null,_t.Optional))&&l.push({provide:gs,useValue:{value:e.direction,change:ze()}}),Jn.create({parent:a||o,providers:l})}_removeOpenDialog(e,i){const s=this.openDialogs.indexOf(e);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let s=i.length-1;s>-1;s--){const o=i[s];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(e9,8),Ce(t,12),Ce(Um),Ce(g2))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function u0(t,n){let e=t.length;for(;e--;)n(t[e])}let r9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[v2,n9],imports:[nu,tu,n0,tu]}),t})();function s9(t,n){if(1&t&&De(0,"mat-pseudo-checkbox",4),2&t){const e=W();D("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function o9(t,n){if(1&t&&(T(0,"span",5),O(1),k()),2&t){const e=W();d(1),ye("(",e.group.label,")")}}const a9=["*"],c9=new Be("mat-sanity-checks",{providedIn:"root",factory:function l9(){return!0}});let Pn=(()=>{class t{constructor(e,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!zy()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jx),Ce(c9,8),Ce(Ct))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,gh]}),t})();function iu(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n)}}}function ru(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function Mh(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=En(n)}}}function M2(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?eo(e):this.defaultTabIndex}}}function w2(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}let d9=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.dirty||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class h9{constructor(n,e,i,s=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const C2={enterDuration:225,exitDuration:150},d0=Ll({passive:!0}),S2=["mousedown","touchstart"],D2=["mouseup","mouseleave","touchend","touchcancel"];class p9{constructor(n,e,i,s){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Jo(i))}fadeInRipple(n,e,i={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...C2,...i.animation};i.centered&&(n=s.left+s.width/2,e=s.top+s.height/2);const a=i.radius||function m9(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+s*s)}(n,e,s),l=n-s.left,c=e-s.top,_=o.enterDuration,E=document.createElement("div");E.classList.add("mat-ripple-element"),E.style.left=l-a+"px",E.style.top=c-a+"px",E.style.height=2*a+"px",E.style.width=2*a+"px",null!=i.color&&(E.style.backgroundColor=i.color),E.style.transitionDuration=`${_}ms`,this._containerElement.appendChild(E);const R=window.getComputedStyle(E),X=R.transitionDuration,he="none"===R.transitionProperty||"0s"===X||"0s, 0s"===X,Se=new h9(this,E,i,he);E.style.transform="scale3d(1, 1, 1)",Se.state=0,i.persistent||(this._mostRecentTransientRipple=Se);let Pe=null;return!he&&(_||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>this._finishRippleTransition(Se),$e=()=>this._destroyRipple(Se);E.addEventListener("transitionend",Re),E.addEventListener("transitioncancel",$e),Pe={onTransitionEnd:Re,onTransitionCancel:$e}}),this._activeRipples.set(Se,Pe),(he||!_)&&this._finishRippleTransition(Se),Se}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...C2,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Jo(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(S2))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(D2),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=Jy(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,d0)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(S2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}),this._pointerUpEventsRegistered&&D2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}))}}const k2=new Be("mat-ripple-global-options");let Xo=(()=>{class t{constructor(e,i,s,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new p9(this,i,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...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(e,i=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(Di),N(k2,8),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&dn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Ch=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})(),_9=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&dn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},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:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::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}'],encapsulation:2,changeDetection:0}),t})(),g9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn]}),t})();const T2=new Be("MAT_OPTION_PARENT_COMPONENT"),x2=new Be("MatOptgroup");let v9=0;class b9{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let y9=(()=>{class t{constructor(e,i,s,o){this._element=e,this._changeDetectorRef=i,this._parent=s,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+v9++,this.onSelectionChange=new ft,this._stateChanges=new J}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(e){this._disabled=En(e)}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(e,i){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!So(e)&&(this._selectViaInteraction(),e.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 e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new b9(this,e))}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),su=(()=>{class t extends y9{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(T2,8),N(x2,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&Me("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(pl("id",i.id),Wt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),dn("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[pt],ngContentSelectors:a9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Kr(),U(0,s9,1,2,"mat-pseudo-checkbox",0),T(1,"span",1),mi(2),k(),U(3,o9,2,1,"span",2),De(4,"div",3)),2&e&&(D("ngIf",i.multiple),d(3),D("ngIf",i.group&&i.group._inert),d(1),D("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xo,Ot,_9],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:rgba(0,0,0,0)}.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;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}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function L2(t,n,e){if(e.length){let i=n.toArray(),s=e.toArray(),o=0;for(let a=0;a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,yo,Pn,g9]}),t})();function w9(t,n){}const ou={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},C9={dialogContainer:Ko("dialogContainer",[Nr("void, exit",bn({opacity:0,transform:"scale(0.7)"})),Nr("enter",bn({transform:"none"})),Sr("* => enter",Mk([Fr("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",bn({transform:"none",opacity:1})),Ob("@*",Ib(),{optional:!0})]),ou),Sr("* => void, * => exit",Mk([Fr("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",bn({opacity:0})),Ob("@*",Ib(),{optional:!0})]),ou)])};class $n{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="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ou.params.enterAnimationDuration,this.exitAnimationDuration=ou.params.exitAnimationDuration}}let S9=(()=>{class t extends _2{constructor(e,i,s,o,a,l,c,_){super(e,i,s,o,a,l,c,_),this._animationStateChanged=new ft}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],features:[pt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),D9=(()=>{class t extends S9{constructor(e,i,s,o,a,l,c,_,E){super(e,i,s,o,a,l,c,E),this._changeDetectorRef=_,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ou.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ou.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Xn),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&Jf("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(pl("id",i._config.id),Wt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),ep("@dialogContainer",i._getAnimationState()))},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,w9,0,0,"ng-template",0)},dependencies:[$a],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[C9.dialogContainer]}}),t})();class ei{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Si(s=>"opened"===s.state),An(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Si(s=>"closed"===s.state),An(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Yt(this.backdropClick(),this.keydownEvents().pipe(Si(s=>27===s.keyCode&&!this.disableClose&&!So(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),P2(this,"keydown"===s.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Si(e=>"closing"===e.state),An(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function P2(t,n,e){return t._closeInteractionType=n,t.close(e)}const $i=new Be("MatDialogData"),I2=new Be("mat-dialog-default-options"),O2=new Be("mat-dialog-scroll-strategy"),T9={provide:O2,deps:[Xr],useFactory:function k9(t){return()=>t.scrollStrategies.block()}};let x9=0,L9=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this._overlay=e,this._defaultOptions=s,this._parentDialog=o,this._dialogRefConstructor=c,this._dialogContainerType=_,this._dialogDataToken=E,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l,this._dialog=i.get(v2)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let s;(i={...this._defaultOptions||new $n,...i}).id=i.id||`${this._idPrefix}${x9++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:$n,useValue:i},{provide:zm,useValue:i}]},templateContext:()=>({dialogRef:s}),providers:(a,l,c)=>(s=new this._dialogRefConstructor(a,i,c),s.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:s}])});return s.componentInstance=o.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(s);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Gn=(()=>{class t extends L9{constructor(e,i,s,o,a,l,c,_){super(e,i,o,l,c,a,ei,D9,$i,_)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(Vd,8),Ce(I2,8),Ce(O2),Ce(t,12),Ce(Um),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),E9=0,P9=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this._elementRef=i,this._dialog=s,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=A2(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){P2(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._onButtonClick(o)}),2&e&&Wt("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ii]}),t})(),I9=(()=>{class t{constructor(e,i,s){this._dialogRef=e,this._elementRef=i,this._dialog=s,this.id="mat-dialog-title-"+E9++}ngOnInit(){this._dialogRef||(this._dialogRef=A2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&pl("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),h0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})();function A2(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let O9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Gn,T9],imports:[r9,nu,tu,Pn,Pn]}),t})();const R2=["mat-button",""],F2=["*"],F9=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],N9=ru(iu(Mh(class{constructor(t){this._elementRef=t}})));let kr=(()=>{class t extends N9{constructor(e,i,s){super(e),this._focusMonitor=i,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of F9)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.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(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do),N(Ui,8))},t.\u0275cmp=Qe({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(e,i){if(1&e&&vt(Xo,5),2&e){let s;at(s=lt())&&(i.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Wt("disabled",i.disabled||null),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[pt],attrs:R2,ngContentSelectors:F2,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(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),t})(),Y9=(()=>{class t extends kr{constructor(e,i,s,o){super(i,e,s),this._ngZone=o,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){return new(e||t)(N(Do),N(bt),N(Ui,8),N(mt,8))},t.\u0275cmp=Qe({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[pt],attrs:R2,ngContentSelectors:F2,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(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),t})(),N2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Pn]}),t})();function H9(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){return Ie(e),Oe(W().action())}),O(2),k()()}if(2&t){const e=W();d(2),pe(e.data.action)}}function V9(t,n){}const f0=new Be("MatSnackBarData");class $m{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const B9=Math.pow(2,31)-1;class Gm{constructor(n,e){this._overlayRef=e,this._afterDismissed=new J,this._afterOpened=new J,this._onAction=new J,this._dismissedByAction=!1,this.containerInstance=n,n._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(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,B9))}_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 j9=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(N(Gm),N(f0))},t.\u0275cmp=Qe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"span",0),O(1),k(),U(2,H9,3,1,"div",1)),2&e&&(d(1),pe(i.data.message),d(1),D("ngIf",i.hasAction))},dependencies:[Ot,kr],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}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),t})();const U9={snackBarState:Ko("state",[Nr("void, hidden",bn({transform:"scale(0.8)",opacity:0})),Nr("visible",bn({transform:"scale(1)",opacity:1})),Sr("* => visible",Fr("150ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void, * => hidden",Fr("75ms cubic-bezier(0.4, 0.0, 1, 1)",bn({opacity:0})))])};let z9=(()=>{class t extends jm{constructor(e,i,s,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=s,this._platform=o,this.snackBarConfig=a,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new J,this._onExit=new J,this._onEnter=new J,this._animationState="void",this.attachDomPortal=l=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:s}=e;if(("void"===s&&"void"!==i||"hidden"===s)&&this._completeExit(),"visible"===s){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{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(An(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(mt),N(bt),N(Xn),N(Di),N($m))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},features:[pt]}),t})(),W9=(()=>{class t extends z9{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&Jf("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&ep("@state",i._animationState)},features:[pt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(T(0,"div",0),U(1,V9,0,0,"ng-template",1),k(),De(2,"div")),2&e&&(d(2),Wt("aria-live",i._live)("role",i._role))},dependencies:[$a],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%}"],encapsulation:2,data:{animation:[U9.snackBarState]}}),t})(),Y2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[nu,tu,yo,N2,Pn,Pn]}),t})();const p0=new Be("mat-snack-bar-default-options",{providedIn:"root",factory:function $9(){return new $m}});let G9=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._live=i,this._injector=s,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",s){const o={...this._defaultConfig,...s};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Jn.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:$m,useValue:i}]}),a=new Xc(this.snackBarContainerComponent,i.viewContainerRef,o),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){const s={...new $m,...this._defaultConfig,...i},o=this._createOverlay(s),a=this._attachSnackBarContainer(o,s),l=new Gm(a,o);if(e instanceof Ar){const c=new eu(e,null,{$implicit:s.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(s,l),_=new Xc(e,void 0,c),E=a.attachComponentPortal(_);l.instance=E.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(fn(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),s.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(l,s),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new bh;i.direction=e.direction;let s=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,l=!a&&"center"!==e.horizontalPosition;return a?s.left("0"):l?s.right("0"):s.centerHorizontally(),"top"===e.verticalPosition?s.top("0"):s.bottom("0"),i.positionStrategy=s,this._overlay.create(i)}_createInjector(e,i){return Jn.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Gm,useValue:i},{provide:f0,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),q9=(()=>{class t extends G9{constructor(e,i,s,o,a,l){super(e,i,s,o,a,l),this.simpleSnackBarComponent=j9,this.snackBarContainerComponent=W9,this.handsetCssClass="mat-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:Y2}),t})();function H2(...t){if(1===t.length){const n=t[0];if(M(n))return qm(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return qm(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return qm(t=1===t.length&&M(t[0])?t[0]:t,null).pipe(Xe(e=>n(...e)))}return qm(t,null)}function qm(t,n){return new ce(e=>{const i=t.length;if(0===i)return void e.complete();const s=new Array(i);let o=0,a=0;for(let l=0;l{_||(_=!0,a++),s[l]=E},error:E=>e.error(E),complete:()=>{o++,(o===i||!_)&&(a===i&&e.next(n?n.reduce((E,R,$)=>(E[R]=s[$],E),{}):s),e.complete())}}))}})}const K9=["*"];let Km;function Sh(t){return function Z9(){if(void 0===Km&&(Km=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Km=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Km}()?.createHTML(t)||t}function V2(t){return Error(`Unable to find icon with the name "${t}"`)}function B2(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function j2(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Al{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Zm=(()=>{class t{constructor(e,i,s,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(e,i,s){return this.addSvgIconInNamespace("",e,i,s)}addSvgIconLiteral(e,i,s){return this.addSvgIconLiteralInNamespace("",e,i,s)}addSvgIconInNamespace(e,i,s,o){return this._addSvgIconConfig(e,i,new Al(s,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,s,o){const a=this._sanitizer.sanitize(vn.HTML,s);if(!a)throw j2(s);const l=Sh(a);return this._addSvgIconConfig(e,i,new Al("",l,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,s){return this._addSvgIconSetConfig(e,new Al(i,null,s))}addSvgIconSetLiteralInNamespace(e,i,s){const o=this._sanitizer.sanitize(vn.HTML,i);if(!o)throw j2(i);const a=Sh(o);return this._addSvgIconSetConfig(e,new Al("",a,s))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(vn.RESOURCE_URL,e);if(!i)throw B2(e);const s=this._cachedIconsByUrl.get(i);return s?ze(Qm(s)):this._loadSvgIconFromConfig(new Al(e,null)).pipe(ui(o=>this._cachedIconsByUrl.set(i,o)),Xe(o=>Qm(o)))}getNamedSvgIcon(e,i=""){const s=U2(i,e);let o=this._svgIconConfigs.get(s);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(s,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Dr(V2(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ze(Qm(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Xe(i=>Qm(i)))}_getSvgFromIconSetConfigs(e,i){const s=this._extractIconWithNameFromAnySet(e,i);return s?ze(s):H2(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Qr(l=>{const _=`Loading icon set URL: ${this._sanitizer.sanitize(vn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(_)),ze(null)})))).pipe(Xe(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw V2(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(a,e,o.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ui(i=>e.svgText=i),Xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ze(null):this._fetchIcon(e).pipe(ui(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,s){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,s);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),s);const l=this._svgElementFromString(Sh(""));return l.appendChild(a),this._setSvgAttributes(l,s)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const s=i.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const i=this._svgElementFromString(Sh("")),s=e.attributes;for(let o=0;oSh(_)),nm(()=>this._inProgressUrlFetches.delete(a)),mn());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,s){return this._svgIconConfigs.set(U2(e,i),s),this}_addSvgIconSetConfig(e,i){const s=this._iconSetConfigs.get(e);return s?s.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let s=0;sn?n.pathname+n.search:""}}}),z2=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],s7=z2.map(t=>`[${t}]`).join(", "),o7=/^url\(['"]?#(.*?)['"]?\)$/;let Cn=(()=>{class t extends e7{constructor(e,i,s,o,a,l){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=x.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=En(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const s=e.childNodes[i];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>e.classList.remove(s)),i.forEach(s=>e.classList.add(s)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((s,o)=>{s.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(s7),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const l=i[o],c=l.getAttribute(a),_=c?c.match(o7):null;if(_){let E=s.get(l);E||(E=[],s.set(l,E)),E.push({name:a,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,s]=this._splitIconName(e);i&&(this._svgNamespace=i),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,i).pipe(An(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${s}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Zm),Ht("aria-hidden"),N(n7),N(Vo),N(t7,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),dn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[pt],ngContentSelectors:K9,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),mi(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),t})(),a7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})();function c7(t,n,e){return 0===e?[n]:(t.push(n),t)}class Dh{}let W2=(()=>{class t extends Dh{getTranslation(e){return ze({})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class m0{}let $2=(()=>{class t{handle(e){return e.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class Jm{}let G2=(()=>{class t extends Jm{compile(e,i){return e}compileTranslations(e,i){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function kh(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;let s,o,a,e=typeof t;if(e==typeof n&&"object"==e){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(o in a=Object.create(null),t){if(!kh(t[o],n[o]))return!1;a[o]=!0}for(o in n)if(!(o in a)&&typeof n[o]<"u")return!1;return!0}if(!Array.isArray(n))return!1;if((s=t.length)==n.length){for(o=0;o{_0(n[i])?i in t?e[i]=q2(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}class Xm{}let K2=(()=>{class t extends Xm{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,i){let s;return s="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,s}getValue(e,i){let s=i.split(".");i="";do{i+=s.shift(),!to(e)||!to(e[i])||"object"!=typeof e[i]&&s.length?s.length?i+=".":e=void 0:(e=e[i],i="")}while(s.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(s,o)=>{let a=this.getValue(i,o);return to(a)?a:s}):e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class Z2{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new ft,this.onLangChange=new ft,this.onDefaultLangChange=new ft}}const g0=new Be("USE_STORE"),v0=new Be("USE_DEFAULT_LANG");let Hr=(()=>{class t{constructor(e,i,s,o,a,l=!0,c=!1){this.store=e,this.currentLoader=i,this.compiler=s,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=l,this.isolate=c,this.pending=!1,this._onTranslationChange=new ft,this._onLangChange=new ft,this._onDefaultLangChange=new ft,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang||(this.defaultLang=e),i.pipe(An(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return ze(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(An(1)).subscribe(s=>{this.changeLang(e)}),i):(this.changeLang(e),ze(this.translations[e]))}retrieveTranslations(e){let i;return typeof this.translations[e]>"u"&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(e).pipe(mn()),this.loadingTranslations.pipe(An(1)).subscribe(i=>{this.translations[e]=this.compiler.compileTranslations(i,e),this.updateLangs(),this.pending=!1},i=>{this.pending=!1}),this.loadingTranslations}setTranslation(e,i,s=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=s&&this.translations[e]?q2(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,s){let o;if(i instanceof Array){let a={},l=!1;for(let c of i)a[c]=this.getParsedResult(e,c,s),"function"==typeof a[c].subscribe&&(l=!0);if(l){let c;for(let _ of i){let E="function"==typeof a[_].subscribe?a[_]:ze(a[_]);c=typeof c>"u"?E:Yt(c,E)}return c.pipe(function u7(){return function l7(t,n){return arguments.length>=2?function(i){return Z(tm(t,n),Xd(1),Jd(n))(i)}:function(i){return Z(tm((s,o,a)=>t(s,o,a+1)),Xd(1))(i)}}(c7,[])}(),Xe(_=>{let E={};return _.forEach((R,$)=>{E[i[$]]=R}),E}))}return a}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),s)),typeof o>"u"&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),s)),typeof o>"u"){let a={key:i,translateService:this};typeof s<"u"&&(a.interpolateParams=s),o=this.missingTranslationHandler.handle(a)}return typeof o<"u"?o:i}get(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return ce.create(s=>{let o=l=>{s.next(l),s.complete()},a=l=>{s.error(l)};this.loadingTranslations.subscribe(l=>{"function"==typeof(l=this.getParsedResult(this.compiler.compileTranslations(l,this.currentLang),e,i)).subscribe?l.subscribe(o,a):o(l)},a)});{let s=this.getParsedResult(this.translations[this.currentLang],e,i);return"function"==typeof s.subscribe?s:ze(s)}}stream(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');return Sl(this.get(e,i),this.onLangChange.pipe(lr(s=>{const o=this.getParsedResult(s.translations,e,i);return"function"==typeof o.subscribe?o:ze(o)})))}instant(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,i);if(typeof s.subscribe<"u"){if(e instanceof Array){let o={};return e.forEach((a,l)=>{o[e[l]]=e[l]}),o}return e}return s}set(e,i,s=this.currentLang){this.translations[s][e]=this.compiler.compile(i,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return t.\u0275fac=function(e){return new(e||t)(Ce(Z2),Ce(Dh),Ce(Jm),Ce(Xm),Ce(m0),Ce(v0),Ce(g0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),kt=(()=>{class t{constructor(e,i){this.translate=e,this._ref=i,this.value=""}updateValue(e,i,s){let o=a=>{this.value=void 0!==a?a:e,this.lastKey=e,this._ref.markForCheck()};if(s){let a=this.translate.getParsedResult(s,e,i);"function"==typeof a.subscribe?a.subscribe(o):o(a)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||0===e.length)return e;if(kh(e,this.lastKey)&&kh(i,this.lastParams))return this.value;let s;if(to(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(s=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Hr,16),N(Xn,16))},t.\u0275pipe=Ki({name:"translate",type:t,pure:!1}),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Q2=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:W2},e.compiler||{provide:Jm,useClass:G2},e.parser||{provide:Xm,useClass:K2},e.missingTranslationHandler||{provide:m0,useClass:$2},Z2,{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:W2},e.compiler||{provide:Jm,useClass:G2},e.parser||{provide:Xm,useClass:K2},e.missingTranslationHandler||{provide:m0,useClass:$2},{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function d7(t,n){if(1&t&&(T(0,"div",5)(1,"mat-icon",6),O(2),k()()),2&t){const e=W();d(1),D("inline",!0),d(1),pe(e.config.icon)}}function h7(t,n){if(1&t&&(T(0,"div",7),O(1),Y(2,"translate"),Y(3,"translate"),k()),2&t){const e=W();d(1),ps(" ",B(2,2,"common.error")," ",Vt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var au=(()=>(function(t){t.Error="error",t.Done="done",t.Warning="warning"}(au||(au={})),au))(),lu=(()=>(function(t){t.Red="red-background",t.Green="green-background",t.Yellow="yellow-background"}(lu||(lu={})),lu))();let f7=(()=>{class t{constructor(e,i){this.snackbarRef=i,this.config=e}close(){this.snackbarRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(N(f0),N(Gm))},t.\u0275cmp=Qe({type:t,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,i){1&e&&(T(0,"div"),U(1,d7,3,2,"div",0),T(2,"div",1),O(3),Y(4,"translate"),U(5,h7,4,7,"div",2),k(),De(6,"div",3),T(7,"mat-icon",4),Me("click",function(){return i.close()}),O(8,"close"),k()()),2&e&&(fs("main-container "+i.config.color),d(1),D("ngIf",i.config.icon),d(2),ye(" ",Vt(4,5,i.config.text,i.config.textTranslationParams)," "),d(2),D("ngIf",i.config.smallText))},dependencies:[Ot,Cn,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),t})(),Vn=(()=>{class t{constructor(e){this.snackBar=e,this.lastWasTemporaryError=!1}showError(e,i=null,s=!1,o=null,a=null){e=an(e),o=o?an(o):null,this.lastWasTemporaryError=s,this.show(e.translatableErrorMsg,i,o?o.translatableErrorMsg:null,a,au.Error,lu.Red,15e3)}showWarning(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Warning,lu.Yellow,15e3)}showDone(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Done,lu.Green,5e3)}closeCurrent(){this.snackBar.dismiss()}closeCurrentIfTemporaryError(){this.lastWasTemporaryError&&this.snackBar.dismiss()}show(e,i,s,o,a,l,c){this.snackBar.openFromComponent(f7,{duration:c,panelClass:"snackbar-container",data:{text:e,textTranslationParams:i,smallText:s,smallTextTranslationParams:o,icon:a,color:l}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(q9))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}};class p7{constructor(n){Object.assign(this,n)}}let e_=(()=>{class t{constructor(e){this.translate=e,this.currentLanguage=new Xs(1),this.languages=new Xs(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}loadLanguageSettings(){if(this.settingsLoaded)return;this.settingsLoaded=!0;const e=[];Kt.languages.forEach(i=>{const s=new p7(i);this.languagesInternal.push(s),e.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(i=>this.onLanguageChanged(i)),this.loadCurrentLanguage()}changeLanguage(e){this.translate.use(e)}onLanguageChanged(e){this.currentLanguage.next(this.languagesInternal.find(i=>i.code===e.lang)),localStorage.setItem(this.storageKey,e.lang)}loadCurrentLanguage(){let e=localStorage.getItem(this.storageKey);e=e||Kt.defaultLanguage,setTimeout(()=>this.translate.use(e),16)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hr))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const m7={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class b0 extends Te{constructor(n,e){if(super(),n instanceof ce)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},m7);if(this._output=new J,"string"==typeof n)i.url=n;else for(let s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Xs}}lift(n){const e=new b0(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new Xs),this._output=new J}multiplex(n,e,i){const s=this;return new ce(o=>{try{s.next(n())}catch(l){o.error(l)}const a=s.subscribe(l=>{try{i(l)&&o.next(l)}catch(c){o.error(c)}},l=>o.error(l),()=>o.complete());return()=>{try{s.next(e())}catch(l){o.error(l)}a.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:n,protocol:e,url:i,binaryType:s}=this._config,o=this._output;let a=null;try{a=e?new n(i,e):new n(i),this._socket=a,s&&(this._socket.binaryType=s)}catch(c){return void o.error(c)}const l=new x(()=>{this._socket=null,a&&1===a.readyState&&a.close()});a.onopen=c=>{const{_socket:_}=this;if(!_)return a.close(),void this._resetState();const{openObserver:E}=this._config;E&&E.next(c);const R=this.destination;this.destination=A.create($=>{if(1===a.readyState)try{const{serializer:X}=this._config;a.send(X($))}catch(X){this.destination.error(X)}},$=>{const{closingObserver:X}=this._config;X&&X.next(void 0),$&&$.code?a.close($.code,$.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:$}=this._config;$&&$.next(void 0),a.close(),this._resetState()}),R&&R instanceof Xs&&l.add(R.subscribe(this.destination))},a.onerror=c=>{this._resetState(),o.error(c)},a.onclose=c=>{this._resetState();const{closeObserver:_}=this._config;_&&_.next(c),c.wasClean?o.complete():o.error(c)},a.onmessage=c=>{try{const{deserializer:_}=this._config;o.next(_(c))}catch(_){o.error(_)}}}_subscribe(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&1===i.readyState&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&1===n.readyState&&n.close(),this._resetState(),super.unsubscribe()}}var cu=(()=>(function(t){t.Json="json",t.Text="text"}(cu||(cu={})),cu))(),uu=(()=>(function(t){t.Json="json"}(uu||(uu={})),uu))();class Rl{constructor(n){this.responseType=cu.Json,this.requestType=uu.Json,this.ignoreAuth=!1,Object.assign(this,n)}}let Ga=(()=>{class t{constructor(e,i,s){this.http=e,this.router=i,this.ngZone=s,this.apiPrefix="api/",this.wsApiPrefix="api/"}get(e,i=null){return this.request("GET",e,{},i)}post(e,i={},s=null){return this.request("POST",e,i,s)}put(e,i={},s=null){return this.request("PUT",e,i,s)}delete(e,i=null){return this.request("DELETE",e,{},i)}ws(e,i={}){const a=function g7(t){return new b0(t)}((location.protocol.startsWith("https")?"wss://":"ws://")+location.host+"/"+this.wsApiPrefix+e);return a.next(i),a}request(e,i,s,o){return s=s||{},o=o||new Rl,i.startsWith("/")&&(i=i.substr(1,i.length-1)),this.http.request(e,this.apiPrefix+i,{...this.getRequestOptions(o),responseType:o.responseType,withCredentials:!0,body:this.getPostBody(s,o)}).pipe(Xe(a=>this.successHandler(a)),Qr(a=>this.errorHandler(a,o)))}getRequestOptions(e){const i={};return i.headers=new wo,e.requestType===uu.Json&&(i.headers=i.headers.append("Content-Type","application/json")),i}getPostBody(e,i){if(i.requestType===uu.Json)return JSON.stringify(e);const s=new FormData;return Object.keys(e).forEach(o=>s.append(o,e[o])),s}successHandler(e){if("string"==typeof e&&"manager token is null"===e)throw new Error(e);return e}errorHandler(e,i){if(!i.ignoreAuth){if(401===e.status){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}if(e.error&&"string"==typeof e.error&&e.error.includes("change password")){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}}return Dr(an(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl),Ce(Ut),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function v7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}function b7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}const M7=ru(class{constructor(t){this._elementRef=t}},"primary"),w7=new Be("mat-progress-spinner-default-options",{providedIn:"root",factory:function C7(){return{diameter:100}}});class Vr extends M7{constructor(n,e,i,s,o,a,l,c){super(n),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=x.EMPTY,this.mode="determinate";const _=Vr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),_.has(i.head)||_.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,"mat-spinner"===n.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&l&&a&&c&&(this._resizeSubscription=l.change(150).subscribe(()=>{"indeterminate"===this.mode&&c.run(()=>a.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=eo(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=eo(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,eo(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=Fx(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){const e=50*(n.currentScale??1);return`${e}% ${e}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,i=Vr._diameters;let s=i.get(n);if(!s||!s.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),n.appendChild(o),s||(s=new Set,i.set(n,s)),s.add(e)}}_getAnimationText(){const n=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*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Vr._diameters=new WeakMap,Vr.\u0275fac=function(n){return new(n||Vr)(N(bt),N(Di),N(Ct,8),N(Ui,8),N(w7),N(Xn),N(Il),N(mt))},Vr.\u0275cmp=Qe({type:Vr,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(Wt("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),Ia("width",e.diameter,"px")("height",e.diameter,"px"),dn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[pt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(ba(),T(0,"svg",0,1),U(2,v7,1,11,"circle",2),U(3,b7,1,9,"circle",3),k()),2&n&&(Ia("width",e.diameter,"px")("height",e.diameter,"px"),D("ngSwitch","indeterminate"===e.mode),Wt("viewBox",e._getViewBox()),d(2),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1))},dependencies:[Hc,kp],styles:[".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:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[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-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition: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)}}"],encapsulation:2,changeDetection:0});let D7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,yo,Pn]}),t})();const k7=function(t){return{"white-theme":t}};let ko=(()=>{class t{constructor(){this.showWhite=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"mat-spinner",1),k()),2&e&&(D("ngClass",Ue(2,k7,i.showWhite)),d(1),D("diameter",50))},dependencies:[Wn,Vr],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t})();function T7(t,n){1&t&&(T(0,"div",5)(1,"div"),De(2,"img",6),T(3,"div"),O(4),Y(5,"translate"),k()()()),2&t&&(d(4),pe(B(5,1,"common.window-size-error")))}function x7(t,n){1&t&&De(0,"router-outlet")}function L7(t,n){1&t&&De(0,"app-loading-indicator",7)}const E7=function(t){return{background:t}};let M0=(()=>{class t{constructor(e,i,s,o,a,l){this.storage=e,this.snackbarService=o,this.languageService=a,this.apiService=l,this.inVpnClient=!1,this.inLoginPage=!1,this.hypervisorPkObtained=!1,this.pkErrorShown=!1,this.pkErrorsFound=0,t.currentInstance=this,s.afterOpened.subscribe(()=>o.closeCurrent()),i.events.subscribe(c=>{c instanceof za&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(()=>o.closeCurrentIfTemporaryError()),i.events.subscribe(c=>{if(this.inVpnClient=i.url.includes("/vpn/")||i.url.includes("vpnlogin"),c.url){const _=this.inLoginPage;this.inLoginPage=c.url.includes("login"),_&&!this.inLoginPage&&!this.hypervisorPkObtained&&this.checkHypervisorPk(0)}i.url.length>2&&(document.title=this.inVpnClient?"Skywire VPN":"Skywire Manager")}),this.languageService.loadLanguageSettings(),this.checkHypervisorPk(0)}processLoginDone(){this.inLoginPage=!1,this.hypervisorPkObtained||this.checkHypervisorPk(0)}checkHypervisorPk(e){this.obtainPkSubscription&&this.obtainPkSubscription.unsubscribe(),this.obtainPkSubscription=ze(1).pipe(Ji(e),we(()=>this.apiService.get("about"))).subscribe(i=>{i.public_key?(this.finishStartup(i.public_key),this.hypervisorPkObtained=!0):(this.pkErrorShown||(this.snackbarService.showError("start.loading-error",null,!0),this.pkErrorShown=!0),this.checkHypervisorPk(1e3))},i=>{if(this.pkErrorsFound+=1,this.pkErrorsFound>4&&!this.pkErrorShown){const s=an(i);this.snackbarService.showError("start.loading-error",null,!0,s),this.pkErrorShown=!0}this.inLoginPage||this.checkHypervisorPk(1e3)})}finishStartup(e){this.storage.initialize(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(Ut),N(Gn),N(Vn),N(e_),N(Ga))},t.\u0275cmp=Qe({type:t,selectors:[["app-root"]],decls:5,vars:6,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[4,"ngIf"],["class","h-100",4,"ngIf"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"],[1,"h-100"]],template:function(e,i){1&e&&(U(0,T7,6,3,"div",0),T(1,"div",1),De(2,"div",2),U(3,x7,1,0,"router-outlet",3),U(4,L7,1,0,"app-loading-indicator",4),k()),2&e&&(D("ngIf",i.inVpnClient),d(2),D("ngClass",Ue(4,E7,i.inVpnClient)),d(1),D("ngIf",i.hypervisorPkObtained||i.inLoginPage),d(1),D("ngIf",!i.hypervisorPkObtained&&!i.inLoginPage))},dependencies:[Wn,Ot,hm,ko,kt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),t})(),Th=(()=>{class t{constructor(e){this.router=e,this.forceFailInternal=!1}set forceFail(e){this.forceFailInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var To=(()=>(function(t){t[t.AuthDisabled=0]="AuthDisabled",t[t.Logged=1]="Logged",t[t.NotLogged=2]="NotLogged"}(To||(To={})),To))();let xh=(()=>{class t{constructor(e,i,s){this.apiService=e,this.translateService=i,this.authGuardService=s}login(e){return this.apiService.post("login",{username:"admin",password:e},new Rl({ignoreAuth:!0})).pipe(ui(i=>{if(!0!==i)throw new Error;this.authGuardService.forceFail=!1}))}checkLogin(){return this.apiService.get("user",new Rl({ignoreAuth:!0})).pipe(Xe(e=>e.username?To.Logged:To.AuthDisabled),Qr(e=>(e=an(e)).originalError&&401===e.originalError.status?(this.authGuardService.forceFail=!0,ze(To.NotLogged)):Dr(e)))}logout(){return this.apiService.post("logout",{}).pipe(ui(e=>{if(!0!==e)throw new Error;this.authGuardService.forceFail=!0}))}changePassword(e,i){return this.apiService.post("change-password",{old_password:e,new_password:i},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(s=>{if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(this.translateService.instant("settings.password.errors.default-password")):new Error(this.translateService.instant("common.operation-error"))}),Qr(s=>((s=an(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Dr(s))))}initialConfig(e){return this.apiService.post("create-account",{username:"admin",password:e},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(i=>{if("string"==typeof i&&"true"===i.trim())return!0;throw new Error(i)}),Qr(i=>((i=an(i)).originalError&&500===i.originalError.status&&(i.translatableErrorMsg="settings.password.initial-config.error"),Dr(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Hr),Ce(Th))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),P7=(()=>{class t{constructor(e,i){this.authService=e,this.router=i}ngOnInit(){this.verificationSubscription=this.authService.checkLogin().subscribe(e=>{this.router.navigate(e!==To.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},()=>{this.router.navigate(["nodes"],{replaceUrl:!0})})}ngOnDestroy(){this.verificationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-loading-indicator"),k())},dependencies:[ko]}),t})(),J2=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt))},t.\u0275dir=Je({type:t}),t})(),Fl=(()=>{class t extends J2{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,features:[pt]}),t})();const no=new Be("NgValueAccessor"),O7={provide:no,useExisting:sn(()=>dr),multi:!0},R7=new Be("CompositionEventMode");let dr=(()=>{class t extends J2{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A7(){const t=bo()?bo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt),N(R7,8))},t.\u0275dir=Je({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(e,i){1&e&&Me("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[on([O7]),pt]}),t})();function qa(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function eL(t){return null!=t&&"number"==typeof t.length}const hr=new Be("NgValidators"),Ka=new Be("NgAsyncValidators"),N7=/^(?=.{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 yn{static min(n){return function tL(t){return n=>{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function iL(t){return qa(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function rL(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function sL(t){return qa(t.value)||N7.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function oL(t){return n=>qa(n.value)||!eL(n.value)?null:n.value.length{if(qa(i.value))return null;const s=i.value;return n.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(n)}static nullValidator(n){return null}static compose(n){return pL(n)}static composeAsync(n){return mL(n)}}function aL(t){return n=>eL(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function n_(t){return null}function cL(t){return null!=t}function uL(t){return Ld(t)?ge(t):t}function dL(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function hL(t,n){return n.map(e=>e(t))}function fL(t){return t.map(n=>function Y7(t){return!t.validate}(n)?n:e=>n.validate(e))}function pL(t){if(!t)return null;const n=t.filter(cL);return 0==n.length?null:function(e){return dL(hL(e,n))}}function w0(t){return null!=t?pL(fL(t)):null}function mL(t){if(!t)return null;const n=t.filter(cL);return 0==n.length?null:function(e){return H2(hL(e,n).map(uL)).pipe(Xe(dL))}}function C0(t){return null!=t?mL(fL(t)):null}function _L(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function gL(t){return t._rawValidators}function vL(t){return t._rawAsyncValidators}function S0(t){return t?Array.isArray(t)?t:[t]:[]}function i_(t,n){return Array.isArray(t)?t.includes(n):t===n}function bL(t,n){const e=S0(n);return S0(t).forEach(s=>{i_(e,s)||e.push(s)}),e}function yL(t,n){return S0(n).filter(e=>!i_(t,e))}class ML{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(n){this._rawValidators=n||[],this._composedValidatorFn=w0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=C0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Br extends ML{get formDirective(){return null}get path(){return null}}class xo extends ML{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wL{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let fr=(()=>{class t extends wL{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(xo,2))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[pt]}),t})(),pr=(()=>{class t extends wL{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Br,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[pt]}),t})();const Lh="VALID",s_="INVALID",du="PENDING",Eh="DISABLED";function x0(t){return(o_(t)?t.validators:t)||null}function SL(t){return Array.isArray(t)?w0(t):t||null}function L0(t,n){return(o_(n)?n.asyncValidators:t)||null}function DL(t){return Array.isArray(t)?C0(t):t||null}function o_(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function kL(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new Le(1e3,"");if(!i[e])throw new Le(1001,"")}function TL(t,n,e){t._forEachChild((i,s)=>{if(void 0===e[s])throw new Le(1002,"")})}class a_{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=SL(this._rawValidators),this._composedAsyncValidatorFn=DL(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Lh}get invalid(){return this.status===s_}get pending(){return this.status==du}get disabled(){return this.status===Eh}get enabled(){return this.status!==Eh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=SL(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=DL(n)}addValidators(n){this.setValidators(bL(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bL(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(yL(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(yL(n,this._rawAsyncValidators))}hasValidator(n){return i_(this._rawValidators,n)}hasAsyncValidator(n){return i_(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=du,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Eh,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Lh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lh||this.status===du)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Eh:Lh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=du,this._hasOwnPendingAsyncValidator=!0;const e=uL(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,s)=>i&&i._find(s),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ft,this.statusChanges=new ft}_calculateStatus(){return this._allControlsDisabled()?Eh:this.errors?s_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(du)?du:this._anyControlsHaveStatus(s_)?s_:Lh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){o_(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class hu extends a_{constructor(n,e,i){super(x0(e),L0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){TL(this,0,n),Object.keys(n).forEach(i=>{kL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const s=this.controls[i];s&&s.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,s)=>((i.enabled||this.disabled)&&(e[s]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((s,o)=>{i=e(i,s,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const xL=hu;class LL extends hu{}function Ph(t,n){E0(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function $7(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&EL(t,n)})}(t,n),function q7(t,n){const e=(i,s)=>{n.valueAccessor.writeValue(i),s&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function G7(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&EL(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function W7(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function c_(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),d_(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function u_(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function E0(t,n){const e=gL(t);null!==n.validator?t.setValidators(_L(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=vL(t);null!==n.asyncValidator?t.setAsyncValidators(_L(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();u_(n._rawValidators,s),u_(n._rawAsyncValidators,s)}function d_(t,n){let e=!1;if(null!==t){if(null!==n.validator){const s=gL(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.validator);o.length!==s.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const s=vL(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.asyncValidator);o.length!==s.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return u_(n._rawValidators,i),u_(n._rawAsyncValidators,i),e}function EL(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function PL(t,n){E0(t,n)}function OL(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const X7={provide:Br,useExisting:sn(()=>Oh)},Ih=(()=>Promise.resolve(null))();let Oh=(()=>{class t extends Br{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ft,this.form=new hu({},w0(e),C0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ih.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ph(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path),s=new hu({});PL(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Ih.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,OL(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([X7]),pt]}),t})();function AL(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function RL(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const fu=class extends a_{constructor(n=null,e,i){super(x0(e),L0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),o_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=RL(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){AL(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){AL(this._onDisabledChange,n)}_forEachChild(n){}_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(n){RL(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},h_=fu;let mr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),BL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const O0=new Be("NgModelWithFormControlWarning"),lU={provide:Br,useExisting:sn(()=>ki)};let ki=(()=>{class t extends Br{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ft,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(d_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ph(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){c_(e.control||null,e,!1),function J7(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,OL(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(c_(i||null,e),(t=>t instanceof fu)(s)&&(Ph(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);PL(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function K7(t,n){return d_(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){E0(this.form,this),this._oldForm&&d_(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([lU]),pt,Ii]}),t})();const dU={provide:xo,useExisting:sn(()=>er)};let er=(()=>{class t extends xo{constructor(e,i,s,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new ft,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=function I0(t,n){if(!n)return null;let e,i,s;return Array.isArray(n),n.forEach(o=>{o.constructor===dr?e=o:function Q7(t){return Object.getPrototypeOf(t.constructor)===Fl}(o)?i=o:s=o}),s||i||e||null}(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),function P0(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return function l_(t,n){return[...n.path,t]}(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._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(N(Br,13),N(hr,10),N(Ka,10),N(no,10),N(O0,8))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[on([dU]),pt,Ii]}),t})();let Nl=(()=>{class t{constructor(){this._validator=n_}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):n_,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,features:[Ii]}),t})();const SU={provide:hr,useExisting:sn(()=>es),multi:!0};let es=(()=>{class t extends Nl{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function qL(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>aL(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Wt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[on([SU]),pt]}),t})(),tE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[BL]}),t})(),kU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[tE]}),t})(),V0=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:O0,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[tE]}),t})();class nE extends a_{constructor(n,e,i){super(x0(e),L0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let s=this._adjustIndex(n);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),e&&(this.controls.splice(s,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){TL(this,0,n),n.forEach((i,s)=>{kL(this,!1,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function iE(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let TU=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const s=this._reduceControls(e);let o={};return iE(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new hu(s,o)}record(e,i=null){const s=this._reduceControls(e);return new LL(s,i)}control(e,i,s){let o={};return this.useNonNullable?(iE(i)?o=i:(o.validators=i,o.asyncValidators=s),new fu(e,{...o,nonNullable:!0})):new fu(e,i,s)}array(e,i,s){const o=e.map(a=>this._createControl(a));return new nE(o,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return e instanceof fu||e instanceof a_?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:V0}),t})(),ts=(()=>{class t extends TU{group(e,i=null){return super.group(e,i)}control(e,i,s){return super.control(e,i,s)}array(e,i,s){return super.array(e,i,s)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:V0}),t})();const xU=["connectionContainer"],LU=["inputContainer"],EU=["label"];function PU(t,n){1&t&&(qe(0),T(1,"div",14),De(2,"div",15)(3,"div",16)(4,"div",17),k(),T(5,"div",18),De(6,"div",15)(7,"div",16)(8,"div",17),k(),Ke())}function IU(t,n){if(1&t){const e=nt();T(0,"div",19),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),mi(1,1),k()}2&t&&D("cdkObserveContentDisabled","outline"!=W().appearance)}function OU(t,n){if(1&t&&(qe(0),mi(1,2),T(2,"span"),O(3),k(),Ke()),2&t){const e=W(2);d(3),pe(e._control.placeholder)}}function AU(t,n){1&t&&mi(0,3,["*ngSwitchCase","true"])}function RU(t,n){1&t&&(T(0,"span",23),O(1," *"),k())}function FU(t,n){if(1&t){const e=nt();T(0,"label",20,21),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),U(2,OU,4,1,"ng-container",12),U(3,AU,1,0,"ng-content",12),U(4,RU,2,0,"span",22),k()}if(2&t){const e=W();dn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),D("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Wt("for",e._control.id)("aria-owns",e._control.id),d(2),D("ngSwitchCase",!1),d(1),D("ngSwitchCase",!0),d(1),D("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function NU(t,n){1&t&&(T(0,"div",24),mi(1,4),k())}function YU(t,n){if(1&t&&(T(0,"div",25),De(1,"span",26),k()),2&t){const e=W();d(1),dn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function HU(t,n){1&t&&(T(0,"div"),mi(1,5),k()),2&t&&D("@transitionMessages",W()._subscriptAnimationState)}function VU(t,n){if(1&t&&(T(0,"div",30),O(1),k()),2&t){const e=W(2);D("id",e._hintLabelId),d(1),pe(e.hintLabel)}}function BU(t,n){if(1&t&&(T(0,"div",27),U(1,VU,2,2,"div",28),mi(2,6),De(3,"div",29),mi(4,7),k()),2&t){const e=W();D("@transitionMessages",e._subscriptAnimationState),d(1),D("ngIf",e.hintLabel)}}const jU=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],UU=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let zU=0;const rE=new Be("MatError");let Ah=(()=>{class t{constructor(e,i){this.id="mat-error-"+zU++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Ht("aria-live"),N(bt))},t.\u0275dir=Je({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Wt("id",i.id)},inputs:{id:"id"},features:[on([{provide:rE,useExisting:t}])]}),t})();const WU={transitionMessages:Ko("transitionMessages",[Nr("enter",bn({opacity:1,transform:"translateY(0%)"})),Sr("void => enter",[bn({opacity:0,transform:"translateY(-5px)"}),Fr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let f_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t}),t})();const $U=new Be("MatHint");let sE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-label"]]}),t})(),GU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-placeholder"]]}),t})();const qU=new Be("MatPrefix"),KU=new Be("MatSuffix");let oE=0;const QU=ru(class{constructor(t){this._elementRef=t}},"primary"),JU=new Be("MAT_FORM_FIELD_DEFAULT_OPTIONS"),B0=new Be("MatFormField");let jr=(()=>{class t extends QU{constructor(e,i,s,o,a,l,c){super(e),this._changeDetectorRef=i,this._dir=s,this._defaults=o,this._platform=a,this._ngZone=l,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new J,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+oE++,this._labelId="mat-form-field-label-"+oE++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=En(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Yr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(fn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Yr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Yr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fn(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(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_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,Jc(this._label.nativeElement,"transitionend").pipe(An(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 e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,s=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const E=i.querySelectorAll(`${s}, ${o}`);for(let R=0;R0?.75*he+10:0}for(let E=0;E{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Rm,Pn]}),t})();const lE=Ll({passive:!0});let XU=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ba;const i=Jo(e),s=this._monitoredElements.get(i);if(s)return s.subject;const o=new J,a="cdk-text-field-autofilled",l=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,lE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",l,lE)}}),o}stopMonitoring(e){const i=Jo(e),s=this._monitoredElements.get(i);s&&(s.unlisten(),s.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const ez=new Be("MAT_INPUT_VALUE_ACCESSOR"),tz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let nz=0;const iz=w2(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new J}});let vs=(()=>{class t extends iz{constructor(e,i,s,o,a,l,c,_,E,R){super(l,o,a,s),this._elementRef=e,this._platform=i,this._autofillMonitor=_,this._formField=R,this._uid="mat-input-"+nz++,this.focused=!1,this.stateChanges=new J,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Rx().has(he)),this._iOSKeyupListener=he=>{const Se=he.target;!Se.value&&0===Se.selectionStart&&0===Se.selectionEnd&&(Se.setSelectionRange(1,1),Se.setSelectionRange(0,0))};const $=this._elementRef.nativeElement,X=$.nodeName.toLowerCase();this._inputValueAccessor=c||$,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&E.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===X,this._isTextarea="textarea"===X,this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=En(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Rx().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=En(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,i=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(i!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=i,i?s.setAttribute("placeholder",i):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){tz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Di),N(xo,10),N(Oh,8),N(ki,8),N(Wm),N(ez,10),N(XU),N(mt),N(B0,8))},t.\u0275dir=Je({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&Me("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(pl("disabled",i.disabled)("required",i.required),Wt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),dn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[on([{provide:f_,useExisting:t}]),pt,Ii]}),t})(),rz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Wm],imports:[cE,p_,Pn,cE,p_]}),t})();const sz=["tooltip"],uE="tooltip-panel",dE=Ll({passive:!0}),hE=new Be("mat-tooltip-scroll-strategy"),cz={provide:hE,deps:[Xr],useFactory:function lz(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},uz=new Be("mat-tooltip-default-options",{providedIn:"root",factory:function dz(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let hz=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this._overlay=e,this._elementRef=i,this._scrollDispatcher=s,this._viewContainerRef=o,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=_,this._dir=R,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new J,this._scrollStrategy=E,this._document=X,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),R.change.pipe(fn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=eo(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=eo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,s])=>{e.removeEventListener(i,s,dE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Xc(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=i.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(fn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${uE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!So(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,s=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...s.main,...o.main}),this._addOffset({...s.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i||"below"==i?s={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i?s={overlayX:"center",overlayY:"bottom"}:"below"==i?s={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(An(1),fn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:s,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const c=`${this._cssClassPrefix}-${uE}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const s=i.relatedTarget;(!s||!this._overlayRef?.overlayElement.contains(s))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,s])=>{this._elementRef.nativeElement.addEventListener(i,s,dE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;i!==s&&!s.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,s=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!i.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),vi=(()=>{class t extends hz{constructor(e,i,s,o,a,l,c,_,E,R,$,X){super(e,i,s,o,a,l,c,_,E,R,$,X),this._tooltipComponent=pz}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(n2),N(ar),N(mt),N(Di),N(q8),N(Do),N(hE),N(gs,8),N(uz,8),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[pt]}),t})(),fz=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,s=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:s),i.classList.add(e?s:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Ui,8))},t.\u0275dir=Je({type:t}),t})(),pz=(()=>{class t extends fz{constructor(e,i,s){super(e,s),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Fm),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&vt(sz,7),2&e){let s;at(s=lt())&&(i._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&Me("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Ia("zoom",i.isVisible()?1:null)},features:[pt],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(T(0,"div",0,1),Me("animationend",function(o){return i._handleAnimationEnd(o)}),Y(2,"async"),O(3),k()),2&e){let s;dn("mat-tooltip-handset",null==(s=B(2,4,i._isHandset))?null:s.matches),D("ngClass",i.tooltipClass),d(3),pe(i.message)}},dependencies:[Wn,WD],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[cz],imports:[n0,yo,nu,Pn,Pn,vh]}),t})();const _z=["button1"],gz=["button2"];function vz(t,n){1&t&&De(0,"mat-spinner",4),2&t&&D("diameter",W().loadingSize)}function bz(t,n){1&t&&(T(0,"mat-icon"),O(1,"error_outline"),k())}const yz=function(t){return{"for-dark-background":t}},Mz=["*"];var ea=(()=>(function(t){t[t.Normal=0]="Normal",t[t.Error=1]="Error",t[t.Loading=2]="Loading"}(ea||(ea={})),ea))();let Tr=(()=>{class t{constructor(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new ft,this.state=ea.Normal,this.buttonStates=ea}ngOnDestroy(){this.action.complete()}click(){this.disabled||(this.reset(),this.action.emit())}reset(e=!0){this.state=ea.Normal,e&&(this.disabled=!1)}focus(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}showEnabled(){this.disabled=!1}showDisabled(){this.disabled=!0}showLoading(e=!0){this.state=ea.Loading,e&&(this.disabled=!0)}showError(e=!0){this.state=ea.Error,e&&(this.disabled=!1)}get isLoading(){return this.state===ea.Loading}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-button"]],viewQuery:function(e,i){if(1&e&&(vt(_z,5),vt(gz,5)),2&e){let s;at(s=lt())&&(i.button1=s.first),at(s=lt())&&(i.button2=s.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:Mz,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i.click()}),U(2,vz,1,1,"mat-spinner",2),U(3,bz,2,0,"mat-icon",3),mi(4),k()),2&e&&(D("disabled",i.disabled)("color",i.color)("ngClass",Ue(5,yz,i.forDarkBackground)),d(2),D("ngIf",i.state===i.buttonStates.Loading),d(1),D("ngIf",i.state===i.buttonStates.Error))},dependencies:[Wn,Ot,kr,Cn,Vr],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t})();const wz=["button"],Cz=["firstInput"],Sz=function(t){return{"element-disabled":t}};function Dz(t,n){if(1&t&&(T(0,"mat-form-field",10),De(1,"input",11),Y(2,"translate"),T(3,"mat-error"),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("ngClass",Ue(7,Sz,e.working)),d(1),D("placeholder",B(2,3,"settings.password.old-password")),d(3),ye(" ",B(5,5,"settings.password.errors.old-password-required")," ")}}const kz=function(t){return{"rounded-elevated-box":t}},fE=function(t,n){return{"white-form-field":t,"element-disabled":n}},Tz=function(t,n){return{"mt-2 app-button":t,"float-right":n}};let pE=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.forInitialConfig=!1}ngOnInit(){this.form=new xL({oldPassword:new h_("",this.forInitialConfig?null:yn.required),newPassword:new h_("",yn.compose([yn.required,yn.minLength(6),yn.maxLength(64)])),newPasswordConfirmation:new h_("",[yn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(()=>this.form.controls.newPasswordConfirmation.updateValueAndValidity())}ngAfterViewInit(){this.forInitialConfig&&setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}get working(){return!!this.button&&this.button.isLoading}changePassword(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(()=>{this.dialog.closeAll(),this.snackbarService.showDone("settings.password.initial-config.done")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(()=>{this.router.navigate(["nodes"]),this.snackbarService.showDone("settings.password.password-changed")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e)}))}validatePasswords(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-password"]],viewQuery:function(e,i){if(1&e&&(vt(wz,5),vt(Cz,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:40,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",3,"ngClass",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field",3,"ngClass"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),O(5," help "),k()(),T(6,"form",3),U(7,Dz,6,9,"mat-form-field",4),T(8,"mat-form-field",0),De(9,"input",5,6),Y(11,"translate"),T(12,"mat-error"),O(13),Y(14,"translate"),k()(),T(15,"mat-form-field",0),De(16,"input",7),Y(17,"translate"),T(18,"mat-error"),O(19),Y(20,"translate"),k()(),T(21,"app-button",8,9),Me("action",function(){return i.changePassword()}),O(23),Y(24,"translate"),k()()()()),2&e&&(D("ngClass",Ue(29,kz,!i.forInitialConfig)),d(2),fs((i.forInitialConfig?"":"white-")+"form-help-icon-container"),d(1),D("inline",!0)("matTooltip",B(4,17,i.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),d(3),D("formGroup",i.form),d(1),D("ngIf",!i.forInitialConfig),d(1),D("ngClass",hn(31,fE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(11,19,i.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),d(4),ye(" ",B(14,21,"settings.password.errors.new-password-error")," "),d(2),D("ngClass",hn(34,fE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(17,23,i.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),d(3),ye(" ",B(20,25,"settings.password.errors.passwords-not-match")," "),d(2),D("ngClass",hn(37,Tz,!i.forInitialConfig,i.forInitialConfig))("disabled",!i.form.valid)("forDarkBackground",!i.forInitialConfig),d(2),ye(" ",B(24,27,i.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Tr,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),t})();function xz(t,n){1&t&&(T(0,"button",5)(1,"mat-icon"),O(2,"close"),k()())}function Lz(t,n){1&t&&Pa(0)}const mE=function(t){return{"content-margin":t}};function Ez(t,n){if(1&t&&(T(0,"mat-dialog-content",6),U(1,Lz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,mE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Pz(t,n){1&t&&Pa(0)}function Iz(t,n){if(1&t&&(T(0,"div",6),U(1,Pz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,mE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Oz(t,n){1&t&&mi(0)}const Az=["*"];let bi=(()=>{class t{constructor(e){this.matDialog=e,this.includeScrollableArea=!0,this.includeVerticalMargins=!0}set dialog(e){e.disableClose=!0,this.dialogInternal=e}onKeyUp(){this.closePopup()}closePopup(){this.disableDismiss||this.matDialog.openDialogs[this.matDialog.openDialogs.length-1].id===this.dialogInternal.id&&this.dialogInternal.close()}}return t.\u0275fac=function(e){return new(e||t)(N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-dialog"]],hostBindings:function(e,i){1&e&&Me("keyup.esc",function(){return i.onKeyUp()},0,Hg)},inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins",dialog:"dialog"},ngContentSelectors:Az,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&(Kr(),T(0,"div",0)(1,"span"),O(2),k(),U(3,xz,3,0,"button",1),k(),De(4,"div",2),U(5,Ez,2,4,"mat-dialog-content",3),U(6,Iz,2,4,"div",3),U(7,Oz,1,0,"ng-template",null,4,Oa)),2&e&&(d(2),pe(i.headline),d(1),D("ngIf",!i.disableDismiss),d(2),D("ngIf",i.includeScrollableArea),d(1),D("ngIf",!i.includeScrollableArea))},dependencies:[Wn,Ot,Tp,P9,I9,h0,kr,Cn],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t})(),Rz=(()=>{class t{constructor(e){this.dialogRef=e}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}}return t.\u0275fac=function(e){return new(e||t)(N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-initial-setup"]],decls:3,vars:5,consts:[[3,"headline","dialog"],[3,"forInitialConfig"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),De(2,"app-password",1),k()),2&e&&(D("headline",B(1,3,"settings.password.initial-config.title"))("dialog",i.dialogRef),d(2),D("forInitialConfig",!0))},dependencies:[pE,bi,kt]}),t})();function Fz(t,n){if(1&t){const e=nt();T(0,"button",3),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().closePopup(o))}),De(1,"img",4),T(2,"div",5),O(3),k()()}if(2&t){const e=n.$implicit;d(1),D("src","assets/img/lang/"+e.iconName,Ho),d(2),pe(e.name)}}let _E=(()=>{class t{constructor(e,i){this.dialogRef=e,this.languageService=i,this.languages=[]}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.subscription=this.languageService.languages.subscribe(e=>{this.languages=e})}ngOnDestroy(){this.subscription.unsubscribe()}closePopup(e=null){e&&this.languageService.changeLanguage(e.code),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(e_))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-language"]],decls:4,vars:5,consts:[[3,"headline","dialog"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),U(3,Fz,4,2,"button",2),k()()),2&e&&(D("headline",B(1,3,"language.title"))("dialog",i.dialogRef),d(3),D("ngForOf",i.languages))},dependencies:[Fi,kr,bi,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t})();function Nz(t,n){1&t&&De(0,"img",2),2&t&&D("src","assets/img/lang/"+W().language.iconName,Ho)}let Yz=(()=>{class t{constructor(e,i){this.languageService=e,this.dialog=i}ngOnInit(){this.subscription=this.languageService.currentLanguage.subscribe(e=>{this.language=e})}ngOnDestroy(){this.subscription.unsubscribe()}openLanguageWindow(){_E.openDialog(this.dialog)}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,i){1&e&&(T(0,"button",0),Me("click",function(){return i.openLanguageWindow()}),Y(1,"translate"),U(2,Nz,1,1,"img",1),k()),2&e&&(D("matTooltip",B(1,2,"language.title")),d(2),D("ngIf",i.language))},dependencies:[Ot,kr,vi,kt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})();const Hz=function(t){return{"element-disabled":t}};let gE=(()=>{class t{constructor(e,i,s,o,a){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.route=a,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}ngOnInit(){this.routeSubscription=this.route.paramMap.subscribe(e=>{this.vpnKey=e.get("key"),this.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),this.verificationSubscription=this.authService.checkLogin().subscribe(i=>{i!==To.NotLogged&&(M0.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}))})}),this.form=new xL({password:new h_("",yn.required)})}ngOnDestroy(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}login(){!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(()=>this.onLoginSuccess(),e=>this.onLoginError(e)))}configure(){Rz.openDialog(this.dialog)}onLoginSuccess(){M0.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}onLoginError(e){e=an(e),this.loading=!1,this.snackbarService.showError(e.originalError&&401===e.originalError.status?"login.incorrect-password":e.translatableErrorMsg)}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-login"]],decls:14,vars:11,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input",3,"ngClass"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-lang-button"),T(2,"div",1),De(3,"img",2),T(4,"form",3)(5,"div",4)(6,"input",5),Me("keydown.enter",function(){return i.login()}),Y(7,"translate"),k(),T(8,"button",6),Me("click",function(){return i.login()}),T(9,"mat-icon"),O(10,"chevron_right"),k()()()(),T(11,"div",7),Me("click",function(){return i.configure()}),O(12),Y(13,"translate"),k()()()),2&e&&(d(4),D("formGroup",i.form),d(1),D("ngClass",Ue(9,Hz,i.loading)),d(1),D("placeholder",B(7,5,"login.password")),d(2),D("disabled",!i.form.valid||i.loading),d(4),pe(B(13,7,"login.initial-config")))},dependencies:[Wn,mr,dr,fr,pr,ki,er,Cn,Yz,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),t})();var j0=F(9774),m_=F.n(j0);class U0{}class Vz{}var io=(()=>(function(t){t.Connecting="connecting",t.Unhealthy="unhealthy",t.Healthy="healthy"}(io||(io={})),io))();class Bz{constructor(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}var ta=(()=>(function(t){t.UseCustomSettings="updaterUseCustomSettings",t.Channel="updaterChannel",t.Version="updaterVersion",t.ArchiveURL="updaterArchiveURL",t.ChecksumsURL="updaterChecksumsURL"}(ta||(ta={})),ta))();let pu=(()=>{class t{constructor(e,i){this.apiService=e,this.storageService=i,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Wi(null),this.updatingNodeListSubject=new Wi(!1),this.specificNodeSubject=new Wi(null),this.updatingSpecificNodeSubject=new Wi(!1),this.specificNodeTrafficDataSubject=new Wi(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(s=>{this.dataRefreshDelay=1e3*s,this.nodeListRefreshSubscription&&this.forceNodeListRefresh(),this.specificNodeRefreshSubscription&&this.forceSpecificNodeRefresh()})}get nodeList(){return this.nodeListSubject.asObservable()}get updatingNodeList(){return this.updatingNodeListSubject.asObservable()}get specificNode(){return this.specificNodeSubject.asObservable()}get updatingSpecificNode(){return this.updatingSpecificNodeSubject.asObservable()}get specificNodeTrafficData(){return this.specificNodeTrafficDataSubject.asObservable()}startRequestingNodeList(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);let i=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);i=i>0?i:0,this.startDataSubscription(i,!0)}startRequestingSpecificNode(e){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===e)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);const s=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==e||0===s?(this.specificNodeKey=e,this.specificNodeTrafficDataSubject.next(new Bz),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(s,!1)}calculateRemainingTime(e){if(e<1)return 0;let i=this.dataRefreshDelay-(Date.now()-e);return i<0&&(i=0),i}stopRequestingNodeList(){this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.nodeListRefreshSubscription.unsubscribe(),this.nodeListRefreshSubscription=null}))}stopRequestingSpecificNode(){this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.specificNodeRefreshSubscription.unsubscribe(),this.specificNodeRefreshSubscription=null}))}startDataSubscription(e,i){let s,o,a;i?(s=this.updatingNodeListSubject,o=this.nodeListSubject,a=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,o=this.specificNodeSubject,a=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());const l=ze(1).pipe(Ji(e),ui(()=>s.next(!0)),Ji(120),we(()=>a)).subscribe(c=>{let _;s.next(!1),i?_=this.dataRefreshDelay:(this.updateTrafficData(c.transports),_=this.calculateRemainingTime(this.lastScheduledHistoryUpdateTime),_<1e3&&(this.lastScheduledHistoryUpdateTime=Date.now(),_=this.dataRefreshDelay));const E={data:c,error:null,momentOfLastCorrectUpdate:Date.now()};o.next(E),this.startDataSubscription(_,i)},c=>{s.next(!1),c=an(c);const _={data:o.value&&o.value.data?o.value.data:null,error:c,momentOfLastCorrectUpdate:o.value?o.value.momentOfLastCorrectUpdate:-1};!i&&c.originalError&&400===c.originalError.status||this.startDataSubscription(Kt.connectionRetryDelay,i),o.next(_)});i?this.nodeListRefreshSubscription=l:this.specificNodeRefreshSubscription=l}updateTrafficData(e){const i=this.specificNodeTrafficDataSubject.value;if(i.totalSent=0,i.totalReceived=0,e&&e.length>0&&(i.totalSent=e.reduce((s,o)=>s+o.sent,0),i.totalReceived=e.reduce((s,o)=>s+o.recv,0)),0===i.sentHistory.length)for(let s=0;sthis.maxTrafficHistorySlots&&(o=this.maxTrafficHistorySlots),0===o)i.sentHistory[i.sentHistory.length-1]=i.totalSent,i.receivedHistory[i.receivedHistory.length-1]=i.totalReceived;else for(let a=0;athis.maxTrafficHistorySlots&&(i.sentHistory.splice(0,i.sentHistory.length-this.maxTrafficHistorySlots),i.receivedHistory.splice(0,i.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(i)}forceNodeListRefresh(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}forceSpecificNodeRefresh(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}getNodes(){let e=[];return this.apiService.get("visors-summary").pipe(Xe(i=>{i&&i.forEach(c=>{const _=new U0;_.online=c.online,_.localPk=c.overview.local_pk,_.version=c.overview.build_info.version,_.autoconnectTransports=c.public_autoconnect,_.buildTag=c.build_tag?c.build_tag:"",_.ip=c.overview&&c.overview.local_ip&&c.overview.local_ip.trim()?c.overview.local_ip:null;const E=this.storageService.getLabelInfo(_.localPk);if(_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),!_.online)return _.dmsgServerPk="",_.roundTripPing="",void e.push(_);_.health={servicesHealth:c.health.services_health},_.dmsgServerPk=c.dmsg_stats.server_public_key,_.roundTripPing=this.nsToMs(c.dmsg_stats.round_trip),_.isHypervisor=c.is_hypervisor,e.push(_)});const s=new Map,o=[],a=[];e.forEach(c=>{s.set(c.localPk,c),c.online&&(o.push(c.localPk),a.push(c.ip))}),this.storageService.includeVisibleLocalNodes(o,a);const l=[];return this.storageService.getSavedLocalNodes().forEach(c=>{if(!s.has(c.publicKey)&&!c.hidden){const _=new U0;_.localPk=c.publicKey;const E=this.storageService.getLabelInfo(c.publicKey);_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),_.online=!1,_.dmsgServerPk="",_.roundTripPing="",l.push(_)}s.has(c.publicKey)&&!s.get(c.publicKey).online&&c.hidden&&s.delete(c.publicKey)}),e=[],s.forEach(c=>e.push(c)),e=e.concat(l),e}))}nsToMs(e){let i=new(m_())(e).dividedBy(1e6);return i=i.isLessThan(10)?i.decimalPlaces(2):i.decimalPlaces(0),i.toString(10)}getNode(e){return this.apiService.get(`visors/${e}/summary`).pipe(Xe(i=>{const s=new U0;s.localPk=i.overview.local_pk,s.version=i.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(i.uptime)),s.minHops=i.min_hops,s.buildTag=i.build_tag,s.skybianBuildVersion=i.skybian_build_version,s.isSymmeticNat=i.overview.is_symmetic_nat,s.publicIp=i.overview.public_ip,s.autoconnectTransports=i.public_autoconnect,s.ip=i.overview.local_ip&&i.overview.local_ip.trim()?i.overview.local_ip:null;const o=this.storageService.getLabelInfo(s.localPk);s.label=o&&o.label?o.label:this.storageService.getDefaultLabel(s),s.health={servicesHealth:i.health.services_health},s.transports=[],i.overview.transports&&i.overview.transports.forEach(l=>{s.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),s.persistentTransports=[],i.persistent_transports&&i.persistent_transports.forEach(l=>{s.persistentTransports.push({pk:l.pk,type:l.type})}),s.routes=[],i.routes&&i.routes.forEach(l=>{s.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:l.rule_summary.keep_alive,ruleType:l.rule_summary.rule_type,keyRouteId:l.rule_summary.key_route_id},l.rule_summary.app_fields&&l.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:l.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.app_fields.route_descriptor.dst_port,srcPk:l.rule_summary.app_fields.route_descriptor.src_pk,srcPort:l.rule_summary.app_fields.route_descriptor.src_port}}),l.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:l.rule_summary.forward_fields.next_rid,nextTid:l.rule_summary.forward_fields.next_tid},l.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:l.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:l.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:l.rule_summary.forward_fields.route_descriptor.src_port})),l.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],i.overview.apps&&i.overview.apps.forEach(l=>{s.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,detailedStatus:l.detailed_status,args:l.args})});let a=!1;return i.dmsg_stats&&(s.dmsgServerPk=i.dmsg_stats.server_public_key,s.roundTripPing=this.nsToMs(i.dmsg_stats.round_trip),a=!0),a||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}reboot(e){return this.apiService.post(`visors/${e}/restart`)}checkIfUpdating(e){return this.apiService.get(`visors/${e}/update/ws/running`)}checkUpdate(e){let i="stable";return i=localStorage.getItem(ta.Channel)||i,this.apiService.get(`visors/${e}/update/available/${i}`)}update(e){const i={channel:"stable"};if(localStorage.getItem(ta.UseCustomSettings)){const o=localStorage.getItem(ta.Channel);o&&(i.channel=o);const a=localStorage.getItem(ta.Version);a&&(i.version=a);const l=localStorage.getItem(ta.ArchiveURL);l&&(i.archive_url=l);const c=localStorage.getItem(ta.ChecksumsURL);c&&(i.checksums_url=c)}return this.apiService.ws(`visors/${e}/update/ws`,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jz=["firstInput"];let z0=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.storageService=o,this.snackbarService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({label:[this.data.label]})}ngAfterViewInit(){setTimeout(()=>this.firstInput.nativeElement.focus())}save(){const e=this.form.get("label").value.trim();e!==this.data.label?(this.storageService.saveLabel(this.data.id,e,this.data.identifiedElementType),e?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-label"]],viewQuery:function(e,i){if(1&e&&vt(jz,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.save()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"labeled-element.edit-label"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"edit-label.label")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const Uz=["cancelButton"],zz=["confirmButton"];function Wz(t,n){if(1&t&&(T(0,"div"),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;d(1),ye(" - ",B(2,1,e)," ")}}function $z(t,n){if(1&t&&(T(0,"div",8),U(1,Wz,3,3,"div",9),k()),2&t){const e=W();d(1),D("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function Gz(t,n){if(1&t&&(T(0,"div",1),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.data.lowerText)," ")}}function qz(t,n){if(1&t){const e=nt();T(0,"app-button",10,11),Me("action",function(){return Ie(e),Oe(W().closeModal())}),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(2),ye(" ",B(3,1,e.data.cancelButtonText)," ")}}var Za=(()=>(function(t){t.Asking="Asking",t.Processing="Processing",t.Done="Done"}(Za||(Za={})),Za))();let Kz=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.disableDismiss=!1,this.state=Za.Asking,this.confirmationStates=Za,this.operationAccepted=new ft,this.disableDismiss=!!i.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}ngAfterViewInit(){this.data.cancelButtonText?setTimeout(()=>this.cancelButton.focus()):setTimeout(()=>this.confirmButton.focus())}ngOnDestroy(){this.operationAccepted.complete()}closeModal(){this.dialogRef.close()}sendOperationAcceptedEvent(){this.operationAccepted.emit()}showAsking(e){e&&(this.data=e),this.state=Za.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}showProcessing(){this.state=Za.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}showDone(e,i,s=null){this.doneTitle=e||this.data.headerText,this.doneText=i,this.doneList=s,this.confirmButton.reset(),setTimeout(()=>this.confirmButton.focus()),this.state=Za.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-confirmation"]],viewQuery:function(e,i){if(1&e&&(vt(Uz,5),vt(zz,5)),2&e){let s;at(s=lt())&&(i.cancelButton=s.first),at(s=lt())&&(i.confirmButton=s.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:14,consts:[[3,"headline","dialog","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),U(5,$z,2,1,"div",2),U(6,Gz,3,3,"div",3),T(7,"div",4),U(8,qz,4,3,"app-button",5),T(9,"app-button",6,7),Me("action",function(){return i.state===i.confirmationStates.Asking?i.sendOperationAcceptedEvent():i.closeModal()}),O(11),Y(12,"translate"),k()()()),2&e&&(D("headline",B(1,8,i.state!==i.confirmationStates.Done?i.data.headerText:i.doneTitle))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),ye(" ",B(4,10,i.state!==i.confirmationStates.Done?i.data.text:i.doneText)," "),d(2),D("ngIf",i.data.list&&i.state!==i.confirmationStates.Done||i.doneList&&i.state===i.confirmationStates.Done),d(1),D("ngIf",i.data.lowerText&&i.state!==i.confirmationStates.Done),d(2),D("ngIf",i.data.cancelButtonText&&i.state!==i.confirmationStates.Done),d(3),ye(" ",B(12,12,i.state!==i.confirmationStates.Done?i.data.confirmButtonText:"confirmation.close")," "))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t})();class rn{static createConfirmationDialog(n,e){const i={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!1},s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,n.open(Kz,s)}static checkIfTagIsUpdatable(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase()||n.toUpperCase()==="Mac".toUpperCase()||n.toUpperCase()==="Macos".toUpperCase()||n.toUpperCase()==="Mac OS".toUpperCase()||n.toUpperCase()==="Darwin".toUpperCase())}static checkIfTagCanOpenterminal(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase())}}function Zz(t,n){if(1&t&&(T(0,"mat-icon",6),O(1),k()),2&t){const e=W().$implicit;D("inline",!0),d(1),pe(e.icon)}}function Qz(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){const o=Ie(e).index;return Oe(W().closePopup(o+1))}),T(2,"div",4),U(3,Zz,2,2,"mat-icon",5),T(4,"span"),O(5),Y(6,"translate"),k()()()()}if(2&t){const e=n.$implicit;d(3),D("ngIf",e.icon),d(2),pe(B(6,2,e.label))}}let Ur=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i,s){const o=new $n;return o.data={options:i,title:s},o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}closePopup(e){this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-option"]],decls:3,vars:6,consts:[[3,"headline","dialog","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Qz,7,4,"div",1),k()),2&e&&(D("headline",B(1,4,i.data.title))("dialog",i.dialogRef)("includeVerticalMargins",!1),d(2),D("ngForOf",i.data.options))},dependencies:[Fi,Ot,kr,Cn,bi,kt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),t})();var qn=(()=>(function(t){t.TextInput="TextInput",t.Select="Select"}(qn||(qn={})),qn))();let Rh=(()=>{class t{constructor(e){this.dom=e}copy(e){let i=null,s=!1;try{i=this.dom.createElement("textarea"),i.style.height="0px",i.style.left="-100px",i.style.opacity="0",i.style.position="fixed",i.style.top="-100px",i.style.width="0px",this.dom.body.appendChild(i),i.value=e,i.select(),this.dom.execCommand("copy"),s=!0}finally{i&&i.parentNode&&i.parentNode.removeChild(i)}return s}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function eW(t,n){if(1&t&&(qe(0),T(1,"span",2),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.shortText)}}function tW(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.text)}}const nW=function(){return{"tooltip-word-break":!0}};let vE=(()=>{class t{constructor(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}get shortText(){if(this.text.length>2*this.shortTextLength){const e=this.text.length;return`${this.text.slice(0,this.shortTextLength)}...${this.text.slice(e-this.shortTextLength,e)}`}return this.text}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,i){1&e&&(T(0,"div",0),U(1,eW,3,1,"ng-container",1),U(2,tW,3,1,"ng-container",1),k()),2&e&&(D("matTooltip",i.short&&i.showTooltip?i.text:"")("matTooltipClass",Hn(4,nW)),d(1),D("ngIf",i.short),d(1),D("ngIf",!i.short))},dependencies:[Ot,vi],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),t})();function iW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.prefix)," ")}}function rW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.prefixSeparator," ")}}function sW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.label," ")}}function oW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.translatableLabel)," ")}}const aW=function(t){return{text:t}},lW=function(){return{"tooltip-word-break":!0}};class cW{constructor(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}let na=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.clipboardService=s,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=ur.Node,this.labelEdited=new ft}set id(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)}get id(){return this.idInternal?this.idInternal:""}static getLabelComponents(e,i){let s;s=!!e.getSavedVisibleLocalNodes().has(i);const o=new cW;return o.labelInfo=e.getLabelInfo(i),o.labelInfo&&o.labelInfo.label?(s&&(o.prefix="labeled-element.local-element",o.prefixSeparator=" - "),o.label=o.labelInfo.label):e.getSavedVisibleLocalNodes().has(i)?o.prefix="labeled-element.unnamed-local-visor":o.translatableLabel="labeled-element.unnamed-element",o}static getCompleteLabel(e,i,s){const o=t.getLabelComponents(e,s);return(o.prefix?i.instant(o.prefix):"")+o.prefixSeparator+o.label+(o.translatableLabel?i.instant(o.translatableLabel):"")}ngOnDestroy(){this.labelEdited.complete()}processClick(){const e=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&e.push({icon:"close",label:"labeled-element.remove-label"}),Ur.openDialog(this.dialog,e,"common.options").afterClosed().subscribe(i=>{if(1===i)this.clipboardService.copy(this.id)&&this.snackbarService.showDone("copy.copied");else if(3===i){const s=rn.createConfirmationDialog(this.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.storageService.saveLabel(this.id,null,this.elementType),this.snackbarService.showDone("edit-label.label-removed-warning"),this.labelEdited.emit()})}else if(2===i){let s=this.labelComponents.labelInfo;s||(s={id:this.id,label:"",identifiedElementType:this.elementType}),z0.openDialog(this.dialog,s).afterClosed().subscribe(o=>{o&&this.labelEdited.emit()})}})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N(Rh),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0),Me("click",function(o){return o.stopPropagation(),i.processClick()}),Y(1,"translate"),T(2,"span",1),U(3,iW,3,3,"span",2),U(4,rW,2,1,"span",2),U(5,sW,2,1,"span",2),U(6,oW,3,3,"span",2),k(),De(7,"br")(8,"app-truncated-text",3),O(9," \xa0"),T(10,"mat-icon",4),O(11,"settings"),k()()),2&e&&(D("matTooltip",Vt(1,11,i.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Ue(14,aW,i.id)))("matTooltipClass",Hn(16,lW)),d(3),D("ngIf",i.labelComponents&&i.labelComponents.prefix),d(1),D("ngIf",i.labelComponents&&i.labelComponents.prefixSeparator),d(1),D("ngIf",i.labelComponents&&i.labelComponents.label),d(1),D("ngIf",i.labelComponents&&i.labelComponents.translatableLabel),d(2),D("short",i.short)("showTooltip",!1)("shortTextLength",i.shortTextLength)("text",i.id),d(2),D("inline",!0))},dependencies:[Ot,Cn,vi,vE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t})();class In{constructor(n,e,i,s){this.properties=n,this.label=e,this.sortingMode=i,this.labelProperties=s}get id(){return this.properties.join("")}}var Jt=(()=>(function(t){t.Text="Text",t.Number="Number",t.NumberReversed="NumberReversed",t.Boolean="Boolean"}(Jt||(Jt={})),Jt))();class mu{constructor(n,e,i,s,o,a){this.dialog=n,this.translateService=e,this.storageService=i,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new J,this.sortableColumns=s,this.id=a,this.defaultColumnIndex=o,this.sortBy=s[o];const l=this.storageService.getDataForHv(this.columnStorageKeyPrefix+a);if(l){const c=s.find(_=>_.id===l);c&&(this.sortBy=c)}this.sortReverse="true"===this.storageService.getDataForHv(this.orderStorageKeyPrefix+a),this.sortByLabel="true"===this.storageService.getDataForHv(this.labelStorageKeyPrefix+a)}get sortingArrow(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}get currentSortingColumn(){return this.sortBy}get sortingInReverseOrder(){return this.sortReverse}get dataSorted(){return this.dataUpdatedSubject.asObservable()}get currentlySortingByLabel(){return this.sortByLabel}dispose(){this.dataUpdatedSubject.complete()}setTieBreakerColumnIndex(n){this.tieBreakerColumnIndex=n}setData(n){this.data=n,this.sortData()}changeSortingOrder(n){if(this.sortBy===n||n.labelProperties)if(n.labelProperties){const e=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Ur.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(n,i>2,i%2==0)})}else this.sortReverse=!this.sortReverse,this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(n,!1,!1)}changeSortingParams(n,e,i){this.sortBy=n,this.sortByLabel=e,this.sortReverse=i,this.storageService.setDataForHv(this.columnStorageKeyPrefix+this.id,n.id),this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.storageService.setDataForHv(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}openSortingOrderModal(){const n=[],e=[];this.sortableColumns.forEach(i=>{const s=this.translateService.instant(i.label);n.push({label:s}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),n.push({label:s+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(n.push({label:s+" "+this.translateService.instant("tables.label")}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),n.push({label:s+" "+this.translateService.instant("tables.label")+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))}),Ur.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(e[i-1].sortBy,e[i-1].sortByLabel,e[i-1].sortReverse)})}sortData(){this.data&&(this.data.sort((n,e)=>{let i=this.getSortResponse(this.sortBy,n,e,!0);return 0===i&&null!==this.tieBreakerColumnIndex&&this.sortableColumns[this.tieBreakerColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.tieBreakerColumnIndex],n,e,!1)),0===i&&this.sortableColumns[this.defaultColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.defaultColumnIndex],n,e,!1)),i}),this.dataUpdatedSubject.next())}getSortResponse(n,e,i,s){let a=e,l=i;(this.sortByLabel&&s&&n.labelProperties?n.labelProperties:n.properties).forEach(E=>{a=a[E],l=l[E]});const c=this.sortByLabel&&s?Jt.Text:n.sortingMode;let _=0;return c===Jt.Text?_=this.sortReverse?l.localeCompare(a):a.localeCompare(l):c===Jt.NumberReversed?_=this.sortReverse?a-l:l-a:c===Jt.Number?_=this.sortReverse?l-a:a-l:c===Jt.Boolean&&(a&&!l?_=-1:!a&&l&&(_=1),_*=this.sortReverse?-1:1),_}}class uW{constructor(n=!1,e,i=!0,s){this._multiple=n,this._emitChanges=i,this.compareWith=s,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const dW=["trigger"],hW=["panel"];function fW(t,n){if(1&t&&(T(0,"span",8),O(1),k()),2&t){const e=W();d(1),pe(e.placeholder)}}function pW(t,n){if(1&t&&(T(0,"span",12),O(1),k()),2&t){const e=W(2);d(1),pe(e.triggerValue)}}function mW(t,n){1&t&&mi(0,0,["*ngSwitchCase","true"])}function _W(t,n){1&t&&(T(0,"span",9),U(1,pW,2,1,"span",10),U(2,mW,1,0,"ng-content",11),k()),2&t&&(D("ngSwitch",!!W().customTrigger),d(2),D("ngSwitchCase",!0))}function gW(t,n){if(1&t){const e=nt();T(0,"div",13)(1,"div",14,15),Me("@transformPanel.done",function(s){return Ie(e),Oe(W()._panelDoneAnimatingStream.next(s.toState))})("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))}),mi(3,1),k()()}if(2&t){const e=W();D("@transformPanelWrap",void 0),d(1),function CC(t,n,e){qs(us,go,Cc(He(),t,n,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Ia("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),D("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Wt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const vW=[[["mat-select-trigger"]],"*"],bW=["mat-select-trigger","*"],bE={transformPanelWrap:Ko("transformPanelWrap",[Sr("* => void",Ob("@transformPanel",[Ib()],{optional:!0}))]),transformPanel:Ko("transformPanel",[Nr("void",bn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Nr("showing",bn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Nr("showing-multiple",bn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Sr("void => *",Fr("120ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))])};let yE=0;const wE=new Be("mat-select-scroll-strategy"),CW=new Be("MAT_SELECT_CONFIG"),SW={provide:wE,deps:[Xr],useFactory:function wW(t){return()=>t.scrollStrategies.reposition()}};class DW{constructor(n,e){this.source=n,this.value=e}}const kW=Mh(M2(iu(w2(class{constructor(t,n,e,i,s){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=s,this.stateChanges=new J}})))),CE=new Be("MatSelectTrigger");let TW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-select-trigger"]],features:[on([{provide:CE,useExisting:t}])]}),t})(),xW=(()=>{class t extends kW{constructor(e,i,s,o,a,l,c,_,E,R,$,X,he,Se){super(a,o,c,_,R),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=s,this._dir=l,this._parentFormField=E,this._liveAnnouncer=he,this._defaultOptions=Se,this._panelOpen=!1,this._compareWith=(Pe,Re)=>Pe===Re,this._uid="mat-select-"+yE++,this._triggerAriaLabelledBy=null,this._destroy=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+yE++,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Qd(()=>{const Pe=this.options;return Pe?Pe.changes.pipe(Yr(Pe),lr(()=>Yt(...Pe.map(Re=>Re.onSelectionChange)))):this._ngZone.onStable.pipe(An(1),lr(()=>this.optionSelectionChanges))}),this.openedChange=new ft,this._openedStream=this.openedChange.pipe(Si(Pe=>Pe),Xe(()=>{})),this._closedStream=this.openedChange.pipe(Si(Pe=>!Pe),Xe(()=>{})),this.selectionChange=new ft,this.valueChange=new ft,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Se?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Se.typeaheadDebounceInterval),this._scrollStrategyFactory=X,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=En(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=En(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=eo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new uW(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gy(),fn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(fn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Yr(null),fn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?s.setAttribute("aria-labelledby",e):s.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.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(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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 e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,s=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!So(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,s=e.keyCode,o=40===s||38===s,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==s&&32!==s||!i.activeItem||So(e))if(!a&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.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(An(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.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new K8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(fn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(fn(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 e=Yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Yt(...this.options.map(i=>i._stateChanges)).pipe(fn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,s)=>this.sortComparator?this.sortComparator(i,s,e):e.indexOf(i)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(N(Il),N(Xn),N(mt),N(Wm),N(bt),N(gs,8),N(Oh,8),N(ki,8),N(B0,8),N(xo,10),Ht("tabindex"),N(wE),N(e0),N(CW,8))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(dW,5),vt(hW,5),vt(m2,5)),2&e){let s;at(s=lt())&&(i.trigger=s.first),at(s=lt())&&(i.panel=s.first),at(s=lt())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[pt,Ii]}),t})(),Nh=(()=>{class t extends xW{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(e,i,s){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(fn(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(An(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=L2(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function M9(t,n,e,i){return te+i?Math.max(0,t-i+n):e}((e+i)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new DW(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),s=this._isRtl(),o=this.multiple?56:32;let a;if(this.multiple)a=40;else if(this.disableOptionCentering)a=16;else{let _=this._selectionModel.selected[0]||this.options.first;a=_&&_.group?32:16}s||(a*=-1);const l=0-(e.left+a-(s?o:0)),c=e.right+a-i.width+(s?0:o);l>0?a+=l+8:c>0&&(a-=c+8),this._overlayDir.offsetX=Math.round(a),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,s){const o=this._getItemHeight(),a=(o-this._triggerRect.height)/2,l=Math.floor(256/o);let c;return this.disableOptionCentering?0:(c=0===this._scrollTop?e*o:this._scrollTop===s?(e-(this._getItemCount()-l))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*c-a))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,a=s.height-this._triggerRect.bottom-8,l=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*i,256)-l-this._triggerRect.height;_>a?this._adjustPanelUp(_,a):l>o?this._adjustPanelDown(l,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const s=Math.round(e-i);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,s){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),s=Math.min(i*e,256),a=i*e-s;let l;l=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),l+=L2(l,this.options,this.optionGroups);const c=s/2;this._scrollTop=this._calculateOverlayScroll(l,c,a),this._offsetY=this._calculateOverlayOffsetY(l,c,a),this._checkOverlayWithinViewport(a)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,CE,5),gi(s,su,5),gi(s,x2,5)),2&e){let o;at(o=lt())&&(i.customTrigger=o.first),at(o=lt())&&(i.options=o),at(o=lt())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Wt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),dn("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[on([{provide:f_,useExisting:t},{provide:T2,useExisting:t}]),pt],ngContentSelectors:bW,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 mat-select-min-line",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","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Kr(vW),T(0,"div",0,1),Me("click",function(){return i.toggle()}),T(3,"div",2),U(4,fW,2,1,"span",3),U(5,_W,3,2,"span",4),k(),T(6,"div",5),De(7,"div",6),k()(),U(8,gW,4,14,"ng-template",7),Me("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const s=li(1);Wt("aria-owns",i.panelOpen?i.id+"-panel":null),d(3),D("ngSwitch",i.empty),Wt("id",i._valueId),d(1),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1),d(3),D("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Wn,Hc,kp,UD,m2,p2],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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 rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[bE.transformPanelWrap,bE.transformPanel]},changeDetection:0}),t})(),LW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[SW],imports:[yo,nu,E2,Pn,vh,p_,E2,Pn]}),t})();function EW(t,n){if(1&t&&(De(0,"input",7),Y(1,"translate")),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",B(1,3,e.filterName))}}function PW(t,n){if(1&t&&(T(0,"div",12),De(1,"div",13),k()),2&t){const e=W().$implicit,i=W(2).$implicit;oi("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),d(1),oi("background-image: url('"+e.image+"');")}}function IW(t,n){if(1&t&&(T(0,"mat-option",10),U(1,PW,2,4,"div",11),O(2),Y(3,"translate"),k()),2&t){const e=n.$implicit,i=W(2).$implicit;D("value",e.value),d(1),D("ngIf",i.printableLabelGeneralSettings&&e.image),d(1),ye(" ",B(3,3,e.label)," ")}}function OW(t,n){if(1&t&&(T(0,"mat-select",8),Y(1,"translate"),U(2,IW,4,5,"mat-option",9),k()),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("placeholder",B(1,3,e.filterName)),d(2),D("ngForOf",e.printableLabelsForValues)}}function AW(t,n){if(1&t&&(qe(0),T(1,"mat-form-field"),U(2,EW,2,5,"input",5),U(3,OW,3,5,"mat-select",6),k(),Ke()),2&t){const e=n.$implicit,i=W();d(2),D("ngIf",e.type===i.filterFieldTypes.TextInput),d(1),D("ngIf",e.type===i.filterFieldTypes.Select)}}let RW=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.filterFieldTypes=qn}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=[this.data.currentFilters[i.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(e)}apply(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=this.form.get(i.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-filters-selection"]],decls:8,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,AW,4,2,"ng-container",2),k(),T(4,"app-button",3,4),Me("action",function(){return i.apply()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,5,"filters.filter-action"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngForOf",i.data.filterPropertiesList),d(3),ye(" ",B(7,7,"common.ok")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,su,Tr,bi,kt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),t})();class gu{constructor(n,e,i,s,o){this.dialog=n,this.route=e,this.router=i,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new J,this.filterPropertiesList=s,this.currentFilters={},this.filterPropertiesList.forEach(a=>{a.keyNameInFiltersObject=o+"_"+a.keyNameInElementsArray,this.currentFilters[a.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(a=>{Object.keys(this.currentFilters).forEach(l=>{a.has(l)&&(this.currentFilters[l]=a.get(l))}),this.currentUrlQueryParamsInternal={},a.keys.forEach(l=>{this.currentUrlQueryParamsInternal[l]=a.get(l)}),this.filter()})}get currentFiltersTexts(){return this.currentFiltersTextsInternal}get currentUrlQueryParams(){return this.currentUrlQueryParamsInternal}get dataFiltered(){return this.dataUpdatedSubject.asObservable()}dispose(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}setData(n){this.data=n,this.filter()}removeFilters(){const n=rn.createConfirmationDialog(this.dialog,"filters.remove-confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.closeModal(),this.router.navigate([],{queryParams:{}})})}changeFilters(){RW.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(e=>{e&&this.router.navigate([],{queryParams:e})})}filter(){if(this.data){let n,e=!1;Object.keys(this.currentFilters).forEach(i=>{this.currentFilters[i]&&(e=!0)}),e?(n=function Jz(t,n,e){if(t){const i=[];return Object.keys(n).forEach(o=>{if(n[o])for(const a of e)if(a.keyNameInFiltersObject===o){i.push(a);break}}),t.filter(o=>{let a=!0;return i.forEach(l=>{const c=String(o[l.keyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase()),_=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase());!c&&!_&&(a=!1)}),a})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(n=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(n)}}updateCurrentFilters(){this.currentFiltersTextsInternal=function Xz(t,n){const e=[];return n.forEach(i=>{if(t[i.keyNameInFiltersObject]){let s,o;i.printableLabelsForValues&&i.printableLabelsForValues.forEach(a=>{a.value===t[i.keyNameInFiltersObject]&&(o=a.label)}),o||(s=t[i.keyNameInFiltersObject]),e.push({filterName:i.filterName,translatableValue:o,value:s})}}),e}(this.currentFilters,this.filterPropertiesList)}}function FW(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k()(),T(6,"div",9)(7,"app-button",10),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).openTerminal(o.key))}),O(8),Y(9,"translate"),k()()()}if(2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(3),ye(" ",B(9,3,"update-all.update-button")," ")}}function NW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,FW,10,5,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.updatable-list-text")," "),d(3),D("ngForOf",e.updatableNodes)}}function YW(t,n){if(1&t&&(T(0,"div",8),O(1),k()),2&t){const e=W().$implicit;d(1),pe(e.tag)}}function HW(t,n){if(1&t&&(T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k(),U(6,YW,2,1,"div",11),k()()),2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(1),D("ngIf",e.tag)}}function VW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,HW,7,3,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.non-updatable-list-text")," "),d(3),D("ngForOf",e.nonUpdatableNodes)}}let BW=(()=>{class t{constructor(e,i){this.dialogRef=e,this.updatableNodes=i[0],this.nonUpdatableNodes=i[1]}static openDialog(e,i,s){const o=new $n;return o.data=[i,s],o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}openTerminal(e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+e+"?commands=update","_blank","noopener noreferrer")}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-update-all"]],decls:4,vars:6,consts:[[3,"headline","dialog"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,NW,6,4,"ng-container",1),U(3,VW,6,4,"ng-container",1),k()),2&e&&(D("headline",B(1,4,"update-all.title"))("dialog",i.dialogRef),d(2),D("ngIf",i.updatableNodes&&i.updatableNodes.length>0),d(1),D("ngIf",i.nonUpdatableNodes&&i.nonUpdatableNodes.length>0))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;line-height:1.5;color:#215f9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),t})();const jW=["mat-menu-item",""];function UW(t,n){1&t&&(ba(),T(0,"svg",2),De(1,"polygon",3),k())}const SE=["*"];function zW(t,n){if(1&t){const e=nt();T(0,"div",0),Me("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))})("click",function(){return Ie(e),Oe(W().closed.emit("click"))})("@transformMenu.start",function(s){return Ie(e),Oe(W()._onAnimationStart(s))})("@transformMenu.done",function(s){return Ie(e),Oe(W()._onAnimationDone(s))}),T(1,"div",1),mi(2),k()()}if(2&t){const e=W();D("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Wt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const g_={transformMenu:Ko("transformMenu",[Nr("void",bn({opacity:0,transform:"scale(0.8)"})),Sr("void => enter",Fr("120ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:1,transform:"scale(1)"}))),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))]),fadeInItems:Ko("fadeInItems",[Nr("showing",bn({opacity:1})),Sr("void => *",[bn({opacity:0}),Fr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},WW=new Be("MatMenuContent"),W0=new Be("MAT_MENU_PANEL"),$W=Mh(iu(class{}));let ia=(()=>{class t extends $W{constructor(e,i,s,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=s,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new J,this._focused=new J,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),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(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=s,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new gl,this._tabSubscription=x.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new J,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ft,this.close=this.closed,this.panelId="mat-menu-panel-"+qW++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=En(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new $x(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(e=>Yt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const s=e.toArray(),o=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[o]&&!s[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(i=>Yt(...i.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,s=this._keyManager;switch(i){case 27:So(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(An(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(e).setFirstItemActive(),!s.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,i=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Yr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(DE),N(Xn))},t.\u0275dir=Je({type:t,contentQueries:function(e,i,s){if(1&e&&(gi(s,WW,5),gi(s,ia,5),gi(s,ia,4)),2&e){let o;at(o=lt())&&(i.lazyContent=o.first),at(o=lt())&&(i._allItems=o),at(o=lt())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&vt(Ar,5),2&e){let s;at(s=lt())&&(i.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),vu=(()=>{class t extends Yh{constructor(e,i,s,o){super(e,i,s,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(DE),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Wt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[on([{provide:W0,useExisting:t}]),pt],ngContentSelectors:SE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(Kr(),U(0,zW,3,6,"ng-template"))},dependencies:[Wn],styles:['mat-menu{display:none}.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;position:relative}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}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}'],encapsulation:2,data:{animation:[g_.transformMenu,g_.fadeInItems]},changeDetection:0}),t})();const kE=new Be("mat-menu-scroll-strategy"),ZW={provide:kE,deps:[Xr],useFactory:function KW(t){return()=>t.scrollStrategies.reposition()}},TE=Ll({passive:!0});let QW=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this._overlay=e,this._element=i,this._viewContainerRef=s,this._menuItemInstance=l,this._dir=c,this._focusMonitor=_,this._ngZone=E,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.EMPTY,this._hoverSubscription=x.EMPTY,this._menuCloseSubscription=x.EMPTY,this._handleTouchStart=R=>{Xy(R)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ft,this.onMenuOpen=this.menuOpened,this.menuClosed=new ft,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Yh?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,TE),l&&(l._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,TE),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(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),s=i.getConfig(),o=s.positionStrategy;this._setPosition(e,o),s.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Yh&&(e._startAnimation(),e._directDescendantItems.changes.pipe(fn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Yh?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Si(s=>"void"===s.toState),An(1),fn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,s=e.parentMenu;for(;s;)i++,s=s.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new bh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(s=>{const o="start"===s.connectionPair.overlayX?"after":"before",a="top"===s.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[s,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,_]=[a,l],[E,R]=[s,o],$=0;if(this.triggersSubmenu()){if(R=s="before"===e.xPosition?"start":"end",o=E="end"===s?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const X=this._parentMaterialMenu.items.first;this._parentInnerPadding=X?X._getHostElement().offsetTop:0}$="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",_="top"===l?"bottom":"top");i.withPositions([{originX:s,originY:c,overlayX:E,overlayY:a,offsetY:$},{originX:o,originY:c,overlayX:R,overlayY:a,offsetY:$},{originX:s,originY:_,overlayX:E,overlayY:l,offsetY:-$},{originX:o,originY:_,overlayX:R,overlayY:l,offsetY:-$}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Yt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ze(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Si(a=>a!==this._menuItemInstance),Si(()=>this._menuOpen)):ze(),i)}_handleMousedown(e){Jy(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Si(e=>e===this._menuItemInstance&&!e.disabled),Ji(0,s0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Yh&&this.menu._isAnimating?this.menu._animationDone.pipe(An(1),Ji(0,s0),fn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new eu(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(ar),N(kE),N(W0,8),N(ia,10),N(gs,8),N(Do),N(mt))},t.\u0275dir=Je({type:t,hostVars:3,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Wt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),bu=(()=>{class t extends QW{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[pt]}),t})(),JW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[ZW],imports:[yo,Pn,Ch,nu,vh,Pn]}),t})();const xE=function(){return["1"]};function XW(t,n){if(1&t&&(T(0,"a",10)(1,"mat-icon",11),O(2,"chevron_left"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,xE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(2),ye(" ",B(4,4,"paginator.first")," ")}}function e$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_left"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,xE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.first"))}}const Qa=function(t){return[t]};function t$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_left"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function n$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-2)}}function i$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-1)}}function r$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+1)}}function s$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+2)}}function o$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_right"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function a$(t,n){if(1&t&&(T(0,"a",10),O(1),Y(2,"translate"),T(3,"mat-icon",11),O(4,"chevron_right"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),ye(" ",B(2,4,"paginator.last")," "),d(2),D("inline",!0)}}function l$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_right"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.last"))}}const LE=function(t){return{number:t}};function c$(t,n){if(1&t&&(T(0,"div",15),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,LE,e.numberOfPages)))}}function u$(t,n){if(1&t&&(T(0,"div",16),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,LE,e.numberOfPages)))}}let yu=(()=>{class t{constructor(e,i){this.dialog=e,this.router=i,this.linkParts=[""],this.queryParams={}}openSelectionDialog(){const e=[];for(let i=1;i<=this.numberOfPages;i++)e.push({label:i.toString()});Ur.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe(i=>{i&&this.router.navigate(this.linkParts.concat([i.toString()]),{queryParams:this.queryParams})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),O(4,"\xa0"),De(5,"br"),O(6,"\xa0"),k(),U(7,XW,5,7,"a",4),U(8,e$,6,7,"a",5),U(9,t$,4,5,"a",4),U(10,n$,2,5,"a",4),U(11,i$,2,5,"a",6),T(12,"a",7),Me("click",function(){return i.openSelectionDialog()}),O(13),k(),U(14,r$,2,5,"a",6),U(15,s$,2,5,"a",4),U(16,o$,4,5,"a",4),U(17,a$,5,8,"a",4),U(18,l$,6,8,"a",5),k()(),U(19,c$,3,6,"div",8),U(20,u$,3,6,"div",9),k()),2&e&&(d(7),D("ngIf",i.currentPage>3),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(2),pe(i.currentPage),d(1),D("ngIf",i.currentPage3),d(1),D("ngIf",i.numberOfPages>2))},dependencies:[Ot,Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),t})();function Hh(t){return n=>n.lift(new d$(t,n))}class d${constructor(n,e){this.notifier=n,this.source=e}call(n,e){return e.subscribe(new h$(n,this.notifier,this.source))}}class h$ extends Kn{constructor(n,e,i){super(n),this.notifier=e,this.source=i}error(n){if(!this.isStopped){let e=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{e=new J;try{const{notifier:o}=this;i=o(e)}catch(o){return super.error(o)}s=jn(this,i)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=s,e.next(n)}}_unsubscribe(){const{errors:n,retriesSubscription:e}=this;n&&(n.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null}notifyNext(n,e,i,s,o){const{_unsubscribe:a}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=a,this.source.subscribe(this)}}let Mu=(()=>{class t{constructor(e){this.apiService=e}changeAppState(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,{status:s?1:0})}changeAppAutostart(e,i,s){return this.changeAppSettings(e,i,{autostart:s})}changeAppSettings(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,s)}getLogMessages(e,i,s){const a=PD(-1!==s?Date.now()-864e5*s:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get(`visors/${e}/apps/${encodeURIComponent(i)}/logs?since=${a}`).pipe(Xe(l=>l.logs))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Bn=(()=>(function(t){t.None="None",t.Favorite="Favorite",t.Blocked="Blocked"}(Bn||(Bn={})),Bn))(),ns=(()=>(function(t){t.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",t.OnlyBytes="OnlyBytes",t.OnlyBits="OnlyBits"}(ns||(ns={})),ns))();let Yl=(()=>{class t{constructor(e,i){this.router=e,this.storageService=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Xs(1),this.historySubject=new Xs(1),this.favoritesSubject=new Xs(1),this.blockedSubject=new Xs(1)}initialize(){this.migrateDataToHvStorage(),this.serversMap=new Map;const e=this.storageService.getDataForHv(this.savedServersStorageKey);if(e){const i=JSON.parse(e);i.serverList.forEach(s=>{this.serversMap.set(s.pk,s)}),this.savedDataVersion=i.version,i.selectedServerPk&&this.updateCurrentServerPk(i.selectedServerPk)}this.launchListEvents()}migrateDataToHvStorage(){const e=localStorage.getItem(this.savedServersStorageKey);e&&(this.storageService.setDataForHv(this.savedServersStorageKey,e),localStorage.removeItem(this.savedServersStorageKey));const i=localStorage.getItem(this.checkIpSettingStorageKey);i&&(this.storageService.setDataForHv(this.checkIpSettingStorageKey,i),localStorage.removeItem(this.checkIpSettingStorageKey));const s=localStorage.getItem(this.dataUnitsSettingStorageKey);s&&(this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,s),localStorage.removeItem(this.dataUnitsSettingStorageKey))}get currentServer(){return this.serversMap.get(this.currentServerPk)}get currentServerObservable(){return this.currentServerSubject.asObservable()}get history(){return this.historySubject.asObservable()}get favorites(){return this.favoritesSubject.asObservable()}get blocked(){return this.blockedSubject.asObservable()}getSavedVersion(e,i){return i&&this.checkIfDataWasChanged(),this.serversMap.get(e)}getCheckIpSetting(){const e=this.storageService.getDataForHv(this.checkIpSettingStorageKey);return null==e||"false"!==e}setCheckIpSetting(e){this.storageService.setDataForHv(this.checkIpSettingStorageKey,e?"true":"false")}getDataUnitsSetting(){return this.storageService.getDataForHv(this.dataUnitsSettingStorageKey)??ns.BitsSpeedAndBytesVolume}setDataUnitsSetting(e){this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,e)}updateFromDiscovery(e){this.checkIfDataWasChanged(),e.forEach(i=>{if(this.serversMap.has(i.pk)){const s=this.serversMap.get(i.pk);s.countryCode=i.countryCode,s.name=i.name,s.location=i.location,s.note=i.note}}),this.saveData()}updateServer(e){this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData()}processFromDiscovery(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.countryCode=e.countryCode,i.name=e.name,i.location=e.location,i.note=e.note,this.saveData(),i):{countryCode:e.countryCode,name:e.name,customName:null,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:e.location,personalNote:null,note:e.note,enteredManually:!1,usedWithPassword:!1}}processFromManual(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.customName=e.name,i.personalNote=e.note,i.enteredManually=!0,this.saveData(),i):{countryCode:"zz",name:"",customName:e.name,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:"",personalNote:e.note,note:"",enteredManually:!0,usedWithPassword:!1}}changeFlag(e,i){this.checkIfDataWasChanged();const s=this.serversMap.get(e.pk);s&&(e=s),e.flag!==i&&(e.flag=i,this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData())}removeFromHistory(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e);!i||!i.inHistory||(i.inHistory=!1,this.cleanServers(),this.saveData())}modifyCurrentServer(e){this.checkIfDataWasChanged(),e.pk!==this.currentServerPk&&(this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.updateCurrentServerPk(e.pk),this.cleanServers(),this.saveData())}compareCurrentServer(e){if(this.checkIfDataWasChanged(),e){if(!this.currentServerPk||this.currentServerPk!==e){if(this.currentServerPk=e,!this.serversMap.get(e)){const s=this.processFromManual({pk:e});this.serversMap.set(s.pk,s),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}updateHistory(){this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;let e=[];this.serversMap.forEach(s=>{s.inHistory&&e.push(s)}),e=e.sort((s,o)=>o.lastUsed-s.lastUsed);let i=0;e.forEach(s=>{i{!i.inHistory&&i.flag===Bn.None&&i.pk!==this.currentServerPk&&!i.customName&&!i.personalNote&&e.push(i.pk)}),e.forEach(i=>{this.serversMap.delete(i)})}saveData(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);if(i&&(e=JSON.parse(i).version),e!==this.savedDataVersion)return void this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"storage"}});this.savedDataVersion+=1;const s={version:this.savedDataVersion,serverList:Array.from(this.serversMap.values()),selectedServerPk:this.currentServerPk},o=JSON.stringify(s);this.storageService.setDataForHv(this.savedServersStorageKey,o),this.launchListEvents()}checkIfDataWasChanged(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);i&&(e=JSON.parse(i).version),e!==this.savedDataVersion&&this.initialize()}launchListEvents(){const e=[],i=[],s=[];this.serversMap.forEach(o=>{o.inHistory&&e.push(o),o.flag===Bn.Favorite&&i.push(o),o.flag===Bn.Blocked&&s.push(o)}),this.historySubject.next(e),this.favoritesSubject.next(i),this.blockedSubject.next(s)}updateCurrentServerPk(e){this.currentServerPk=e,this.currentServerSubject.next(this.currentServer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var pn=(()=>(function(t){t.Stopped="stopped",t.Connecting="Connecting",t.Running="Running",t.ShuttingDown="Shutting down",t.Reconnecting="Connection failed, reconnecting"}(pn||(pn={})),pn))();class f${constructor(){this.updateDate=Date.now()}}class p${}class m${constructor(){this.latency=0,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.connectionDuration=0,this.error=""}}var Gi=(()=>(function(t){t[t.PerformingInitialCheck=1]="PerformingInitialCheck",t[t.Off=10]="Off",t[t.Starting=20]="Starting",t[t.Running=100]="Running",t[t.Disconnecting=200]="Disconnecting"}(Gi||(Gi={})),Gi))(),bs=(()=>(function(t){t[t.Busy=1]="Busy",t[t.Ok=2]="Ok",t[t.MustStop=3]="MustStop",t[t.SamePkRunning=4]="SamePkRunning",t[t.SamePkStopped=5]="SamePkStopped"}(bs||(bs={})),bs))();let wu=(()=>{class t{constructor(e,i,s,o,a,l,c){this.apiService=e,this.appsService=i,this.router=s,this.vpnSavedDataService=o,this.http=a,this.snackbarService=l,this.translateService=c,this.vpnClientAppName="vpn-client",this.standardWaitTime=2e3,this.stateSubject=new Wi(null),this.errorSubject=new Wi(!1),this.working=!0,this.requestedServer=null,this.requestedPassword=null,this.updatesStopped=!1,this.currentEventData=new f$,this.currentEventData.busy=!0,this.lastServiceState=Gi.PerformingInitialCheck}initialize(e){e&&(this.nodeKey?e!==this.nodeKey?this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"pkChange"}}):this.updatesStopped&&(this.updatesStopped=!1,this.updateData()):(this.nodeKey=e,this.vpnSavedDataService.initialize(),this.updateData()))}get backendState(){return this.stateSubject.asObservable()}get errorsConnecting(){return this.errorSubject.asObservable()}updateData(){this.continuallyUpdateData(0)}start(){return!this.working&&this.lastServiceState<20&&(this.changeAppState(!0),!0)}stop(){return!this.working&&this.lastServiceState>=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}getIpData(){return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Hh(e=>Sl(e.pipe(Ji(this.standardWaitTime),An(4)),Dr(""))),Xe(e=>{let i="";i=e&&e.ip_address?e.ip_address:this.translateService.instant("common.unknown");let s="";return s=e&&e.country_name?e.country_name:this.translateService.instant("common.unknown"),[i,s]}))}changeServerUsingHistory(e,i){return this.requestedServer=e,this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerUsingDiscovery(e,i){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerManually(e,i){return this.requestedServer=this.vpnSavedDataService.processFromManual(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}updateRequestedServerPasswordSetting(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;const e=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);e&&(e.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(e))}changeServer(){return!this.working&&(this.stop()||this.processServerChange(),!0)}checkNewPk(e){return this.working?bs.Busy:this.lastServiceState!==Gi.Off?e===this.vpnSavedDataService.currentServer.pk?bs.SamePkRunning:bs.MustStop:this.vpnSavedDataService.currentServer&&e===this.vpnSavedDataService.currentServer.pk?bs.SamePkStopped:bs.Ok}processServerChange(){this.dataSubscription&&this.dataSubscription.unsubscribe();const e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe(()=>{this.vpnSavedDataService.modifyCurrentServer(this.requestedServer),this.requestedServer=null,this.requestedPassword=null,this.working=!1,this.start()},i=>{i=an(i),this.snackbarService.showError("vpn.server-change.backend-error",null,!1,i.originalServerErrorMsg),this.working=!1,this.requestedServer=null,this.requestedPassword=null,this.sendUpdate(),this.updateData()})}changeAppState(e){if(this.working)return;this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();const i={status:1};e?(this.lastServiceState=Gi.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Gi.Disconnecting,i.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,i).pipe(Qr(s=>this.getVpnClientState().pipe(we(o=>{if(o){if(e&&o.running)return ze(!0);if(!e&&!o.running)return ze(!0)}return Dr(s)}))),Hh(s=>Sl(s.pipe(Ji(this.standardWaitTime),An(3)),s.pipe(we(o=>Dr(o)))))).subscribe(s=>{this.working=!1;const o=this.processAppData(s);this.lastServiceState=o.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=o,this.currentEventData.updateDate=Date.now(),this.sendUpdate(),this.updateData(),!e&&this.requestedServer&&this.processServerChange()},s=>{s=an(s),this.snackbarService.showError(this.lastServiceState===Gi.Starting?"vpn.status-page.problem-starting-error":this.lastServiceState===Gi.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),this.working=!1,this.sendUpdate(),this.updateData()})}continuallyUpdateData(e){if(this.working&&this.lastServiceState!==Gi.PerformingInitialCheck)return;this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();let i=0;this.continuousUpdateSubscription=ze(0).pipe(Ji(e),we(()=>this.getVpnClientState()),Hh(s=>s.pipe(we(o=>(this.errorSubject.next(!0),(o=an(o)).originalError&&o.originalError.status&&401===o.originalError.status?Dr(o):this.lastServiceState!==Gi.PerformingInitialCheck||i<4?(i+=1,ze(o).pipe(Ji(this.standardWaitTime))):Dr(o)))))).subscribe(s=>{s?(this.errorSubject.next(!1),this.lastServiceState===Gi.PerformingInitialCheck&&(this.working=!1),this.vpnSavedDataService.compareCurrentServer(s.serverPk),this.lastServiceState=s.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=s,this.currentEventData.updateDate=Date.now(),this.sendUpdate()):this.lastServiceState===Gi.PerformingInitialCheck&&(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null,this.updatesStopped=!0),this.continuallyUpdateData(this.standardWaitTime)},s=>{(s=an(s)).originalError&&s.originalError.status&&401===s.originalError.status||(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null),this.updatesStopped=!0})}stopContinuallyUpdatingData(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}getVpnClientState(){let e;const i=new Rl;return i.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/summary`,i).pipe(we(s=>{let o;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(a=>{a.name===this.vpnClientAppName&&(o=a)}),o&&(e=this.processAppData(o)),e.minHops=s.min_hops?s.min_hops:0,e&&e.running){const a=new Rl;return a.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/apps/${this.vpnClientAppName}/connections`,a)}return ze(null)}),Xe(s=>{if(s&&s.length>0){const o=new m$;s.forEach(a=>{o.latency+=a.latency/s.length,o.uploadSpeed+=a.upload_speed/s.length,o.downloadSpeed+=a.download_speed/s.length,o.totalUploaded+=a.bandwidth_sent,o.totalDownloaded+=a.bandwidth_received,a.error&&(o.error=a.error),a.connection_duration>o.connectionDuration&&(o.connectionDuration=a.connection_duration)}),(!this.connectionHistoryPk||this.connectionHistoryPk!==e.serverPk)&&(this.connectionHistoryPk=e.serverPk,this.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),o.latency=Math.round(o.latency),o.uploadSpeed=Math.round(o.uploadSpeed),o.downloadSpeed=Math.round(o.downloadSpeed),o.totalUploaded=Math.round(o.totalUploaded),o.totalDownloaded=Math.round(o.totalDownloaded),this.uploadSpeedHistory.splice(0,1),this.uploadSpeedHistory.push(o.uploadSpeed),o.uploadSpeedHistory=this.uploadSpeedHistory,this.downloadSpeedHistory.splice(0,1),this.downloadSpeedHistory.push(o.downloadSpeed),o.downloadSpeedHistory=this.downloadSpeedHistory,this.latencyHistory.splice(0,1),this.latencyHistory.push(o.latency),o.latencyHistory=this.latencyHistory,e.connectionData=o}return e}))}processAppData(e){const i=new p$;if(i.running=0!==e.status&&2!==e.status,i.connectionDuration=e.connection_duration,i.appState=pn.Stopped,i.running?e.detailed_status===pn.Connecting||3===e.status?i.appState=pn.Connecting:e.detailed_status===pn.Running?i.appState=pn.Running:e.detailed_status===pn.ShuttingDown?i.appState=pn.ShuttingDown:e.detailed_status===pn.Reconnecting&&(i.appState=pn.Reconnecting):2===e.status&&(i.lastErrorMsg=e.detailed_status,i.lastErrorMsg||(i.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),i.killswitch=!1,e.args&&e.args.length>0)for(let s=0;s{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.vpnSavedDataService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){let e=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);e=e||this.data.server;const i=this.form.get("value").value;i!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?e.customName=i:e.personalNote=i,this.vpnSavedDataService.updateServer(e),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,i){if(1&e&&vt(_$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-label")),d(4),ye(" ",B(9,9,"vpn.server-options.edit-value.apply-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const v$=["firstInput"];let EE=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({password:["",this.data?void 0:yn.required]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){this.dialogRef.close("-"+this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,i){if(1&e&&vt(v$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:12,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,6,"vpn.server-list.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,8,"vpn.server-list.password-dialog.password"+(i.data?"-if-any":"")+"-label")),d(3),D("disabled",!i.form.valid),d(1),ye(" ",B(9,10,"vpn.server-list.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,ki,er,jr,vs,Tr,bi,kt]}),t})(),qi=(()=>{class t{static changeCurrentPk(e){this.currentPk=e}static setDefaultTabForServerList(e){sessionStorage.setItem(t.serverListTabStorageKey,e)}static get vpnTabsData(){const e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}static getLatencyValueString(e){return e<1e3?"time-in-ms":"time-in-segs"}static getPrintableLatency(e){return e<1e3?e+"":(e/1e3).toFixed(1)}static processServerChange(e,i,s,o,a,l,c,_,E,R,$){let X;if(_&&(E||R)||E&&(_||R)||R&&(_||E))throw new Error("Invalid call");if(_)X=_.pk;else if(E)X=E.pk;else{if(!R)throw new Error("Invalid call");X=R.pk}const he=s.getSavedVersion(X,!0),Se=he&&($||he.usedWithPassword),Pe=i.checkNewPk(X);if(Pe!==bs.Busy)if(Pe!==bs.SamePkRunning||Se)if(Pe===bs.MustStop||Pe===bs.SamePkRunning&&Se){const Re=rn.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c)})}else if(Pe!==bs.SamePkStopped||Se)_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c);else{const Re=rn.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),R&&he&&s.processFromManual(R),i.start(),t.redirectAfterServerChange(e,l,c)})}else o.showWarning("vpn.server-change.already-selected-warning");else o.showError("vpn.server-change.busy-error")}static redirectAfterServerChange(e,i,s){i&&i.close(),e.navigate(["vpn",s,"status"])}static openServerOptions(e,i,s,o,a,l){const c=[],_=[];return e.usedWithPassword?(c.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),_.push(201),c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),_.push(202)):e.enteredManually&&(c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),_.push(202)),c.push({icon:"edit",label:"vpn.server-options.edit-name"}),_.push(101),c.push({icon:"subject",label:"vpn.server-options.edit-label"}),_.push(102),(!e||e.flag!==Bn.Favorite)&&(c.push({icon:"star",label:"vpn.server-options.make-favorite"}),_.push(1)),e&&e.flag===Bn.Favorite&&(c.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),_.push(-1)),(!e||e.flag!==Bn.Blocked)&&(c.push({icon:"pan_tool",label:"vpn.server-options.block"}),_.push(2)),e&&e.flag===Bn.Blocked&&(c.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),_.push(-2)),e&&e.inHistory&&(c.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),_.push(-3)),Ur.openDialog(l,c,"common.options").afterClosed().pipe(we(E=>{if(E){const R=s.getSavedVersion(e.pk,!0);if(e=R||e,_[E-=1]>200){if(201===_[E]){let $=!1;const X=rn.createConfirmationDialog(l,"vpn.server-options.connect-without-password-confirmation");return X.componentInstance.operationAccepted.subscribe(()=>{$=!0,t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,null),X.componentInstance.closeModal()}),X.afterClosed().pipe(Xe(()=>$))}return EE.openDialog(l,!1).afterClosed().pipe(Xe($=>!(!$||"-"===$||(t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,$.substr(1)),0))))}if(_[E]>100)return g$.openDialog(l,{editName:101===_[E],server:e}).afterClosed();if(1===_[E])return t.makeFavorite(e,s,a,l);if(-1===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.remove-from-favorites-done"),ze(!0);if(2===_[E])return t.blockServer(e,s,o,a,l);if(-2===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.unblock-done"),ze(!0);if(-3===_[E])return t.removeFromHistory(e,s,a,l)}return ze(!1)}))}static removeFromHistory(e,i,s,o){let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.remove-from-history-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.removeFromHistory(e.pk),s.showDone("vpn.server-options.remove-from-history-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static makeFavorite(e,i,s,o){if(e.flag!==Bn.Blocked)return i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),ze(!0);let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.make-favorite-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static blockServer(e,i,s,o,a){if(e.flag!==Bn.Favorite&&(!i.currentServer||i.currentServer.pk!==e.pk))return i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),ze(!0);let l=!1;const c=i.currentServer&&i.currentServer.pk===e.pk;let _;_=e.flag!==Bn.Favorite?"vpn.server-options.block-selected-confirmation":c?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation";const E=rn.createConfirmationDialog(a,_);return E.componentInstance.operationAccepted.subscribe(()=>{l=!0,i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),c&&s.stop(),E.componentInstance.closeModal()}),E.afterClosed().pipe(Xe(()=>l))}}return t.serverListTabStorageKey="ServerListTab",t.currentPk="",t})();var ra=(()=>(function(t){t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks"}(ra||(ra={})),ra))();class b${}class PE{static getElapsedTime(n){const e=new b$;e.timeRepresentation=ra.Seconds,e.totalMinutes=Math.floor(n/60).toString(),e.translationVarName="second";let i=1;n>=60&&n<3600?(e.timeRepresentation=ra.Minutes,i=60,e.translationVarName="minute"):n>=3600&&n<86400?(e.timeRepresentation=ra.Hours,i=3600,e.translationVarName="hour"):n>=86400&&n<604800?(e.timeRepresentation=ra.Days,i=86400,e.translationVarName="day"):n>=604800&&(e.timeRepresentation=ra.Weeks,i=604800,e.translationVarName="week");const s=Math.floor(n/i);return e.elapsedTime=s.toString(),(e.timeRepresentation===ra.Seconds||s>1)&&(e.translationVarName=e.translationVarName+"s"),e}}function y$(t,n){1&t&&De(0,"mat-spinner",5),2&t&&D("diameter",14)}function M$(t,n){1&t&&De(0,"mat-spinner",6),2&t&&D("diameter",18)}function w$(t,n){1&t&&(T(0,"mat-icon",9),O(1,"refresh"),k()),2&t&&D("inline",!0)}function C$(t,n){1&t&&(T(0,"mat-icon",10),O(1,"warning"),k()),2&t&&D("inline",!0)}function S$(t,n){if(1&t&&(qe(0),U(1,w$,2,1,"mat-icon",7),U(2,C$,2,1,"mat-icon",8),Ke()),2&t){const e=W();d(1),D("ngIf",!e.showAlert),d(1),D("ngIf",e.showAlert)}}const IE=function(t){return{time:t}};function D$(t,n){if(1&t&&(T(0,"span",11),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"refresh-button."+e.elapsedTime.translationVarName,Ue(4,IE,e.elapsedTime.elapsedTime)))}}const k$=function(t){return{"grey-button-background":t}};let T$=(()=>{class t{constructor(){this.refeshRate=-1}set secondsSinceLastUpdate(e){this.elapsedTime=PE.getElapsedTime(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,i){1&e&&(T(0,"button",0),Y(1,"translate"),U(2,y$,1,1,"mat-spinner",1),U(3,M$,1,1,"mat-spinner",2),U(4,S$,3,2,"ng-container",3),U(5,D$,3,6,"span",4),k()),2&e&&(D("disabled",i.showLoading)("ngClass",Ue(10,k$,!i.showLoading))("matTooltip",i.showAlert?Vt(1,7,"refresh-button.error-tooltip",Ue(12,IE,i.refeshRate)):""),d(2),D("ngIf",i.showLoading),d(1),D("ngIf",i.showLoading),d(1),D("ngIf",!i.showLoading),d(1),D("ngIf",i.elapsedTime))},dependencies:[Wn,Ot,kr,Cn,vi,Vr,kt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),t})(),Vh=(()=>{class t{transform(e,i){let o,s=!0;i?i.showPerSecond?i.useBits?(o=t.measurementsPerSecInBits,s=!1):o=t.measurementsPerSec:i.useBits?(o=t.accumulatedMeasurementsInBits,s=!1):o=t.accumulatedMeasurements:o=t.accumulatedMeasurements;let a=new j0.BigNumber(e);s||(a=a.multipliedBy(8));let l=o[0],c=0;for(;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),c+=1,l=o[c];let _="";return(!i||!!i.showValue)&&(_=i&&i.limitDecimals?new j0.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!i||!!i.showValue&&!!i.showUnit)&&(_+=" "),(!i||!!i.showUnit)&&(_+=l),_}}return t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Ki({name:"autoScale",type:t,pure:!0}),t})();function x$(t,n){if(1&t){const e=nt();T(0,"button",23),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),T(1,"mat-icon"),O(2,"chevron_left"),k()()}}function L$(t,n){1&t&&(qe(0),De(1,"img",24),Ke())}function E$(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}const P$=function(t){return{transparent:t}};function I$(t,n){if(1&t){const e=nt();qe(0),T(1,"div",26),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).requestAction(o.actionName))}),T(2,"mat-icon",27),O(3),k(),O(4),Y(5,"translate"),k(),Ke()}if(2&t){const e=n.$implicit;d(1),D("disabled",e.disabled),d(1),D("ngClass",Ue(6,P$,e.disabled)),d(1),pe(e.icon),d(1),ye(" ",B(5,4,e.name)," ")}}function O$(t,n){1&t&&De(0,"div",28)}function A$(t,n){if(1&t&&(qe(0),U(1,I$,6,8,"ng-container",25),U(2,O$,1,0,"div",9),Ke()),2&t){const e=W();d(1),D("ngForOf",e.optionsData),d(1),D("ngIf",e.returnText)}}function R$(t,n){1&t&&De(0,"div",28)}function F$(t,n){1&t&&De(0,"img",31),2&t&&D("src","assets/img/lang/"+W(2).language.iconName,Ho)}function N$(t,n){if(1&t){const e=nt();T(0,"div",29),Me("click",function(){return Ie(e),Oe(W().openLanguageWindow())}),U(1,F$,1,1,"img",30),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(1),D("ngIf",e.language),d(1),ye(" ",B(3,2,e.language?e.language.name:"")," ")}}function Y$(t,n){if(1&t){const e=nt();T(0,"div",32)(1,"a",33),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),Y(2,"translate"),T(3,"mat-icon",34),O(4,"chevron_left"),k()()()}if(2&t){const e=W();d(1),D("matTooltip",B(2,2,e.returnText)),d(2),D("inline",!0)}}function H$(t,n){if(1&t&&(T(0,"span",35),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}function V$(t,n){1&t&&De(0,"img",36)}const B$=function(t,n){return{"d-lg-none":t,"d-none d-md-inline-block":n}},OE=function(t,n){return{"mouse-disabled":t,"grey-button-background":n}};function j$(t,n){if(1&t&&(T(0,"div",27)(1,"a",37)(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k()()()),2&t){const e=n.$implicit,i=n.index,s=W();D("ngClass",hn(9,B$,e.onlyIfLessThanLg,1!==s.tabsData.length)),d(1),D("disabled",i===s.selectedTabIndex)("routerLink",e.linkParts)("ngClass",hn(12,OE,s.disableMouse,!s.disableMouse&&i!==s.selectedTabIndex)),d(1),D("inline",!0),d(1),pe(e.icon),d(2),pe(B(6,7,e.label))}}const U$=function(t){return{"d-none":t}};function z$(t,n){if(1&t){const e=nt();T(0,"div",38)(1,"button",39),Me("click",function(){return Ie(e),Oe(W().openTabSelector())}),T(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k(),T(7,"mat-icon",34),O(8,"keyboard_arrow_down"),k()()()}if(2&t){const e=W();D("ngClass",Ue(8,U$,1===e.tabsData.length)),d(1),D("ngClass",hn(10,OE,e.disableMouse,!e.disableMouse)),d(1),D("inline",!0),d(1),pe(e.tabsData[e.selectedTabIndex].icon),d(2),pe(B(6,6,e.tabsData[e.selectedTabIndex].label)),d(2),D("inline",!0)}}function W$(t,n){if(1&t){const e=nt();T(0,"app-refresh-button",43),Me("click",function(){return Ie(e),Oe(W(2).sendRefreshEvent())}),k()}if(2&t){const e=W(2);D("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.showLoading)("showAlert",e.showAlert)("refeshRate",e.refeshRate)}}function $$(t,n){if(1&t&&(T(0,"div",40),U(1,W$,1,4,"app-refresh-button",41),T(2,"button",42)(3,"mat-icon",34),O(4,"menu"),k()()()),2&t){const e=W(),i=li(12);d(1),D("ngIf",e.showUpdateButton),d(1),D("matMenuTriggerFor",i),d(1),D("inline",!0)}}function G$(t,n){if(1&t){const e=nt();T(0,"div",51)(1,"div",52),Me("click",function(){return Ie(e),Oe(W(2).openLanguageWindow())}),De(2,"img",53),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(2),D("src","assets/img/lang/"+e.language.iconName,Ho),d(1),ye(" ",B(4,2,e.language?e.language.name:"")," ")}}function q$(t,n){1&t&&(T(0,"div",54),Y(1,"translate"),T(2,"mat-icon",34),O(3,"warning"),k(),O(4),Y(5,"translate"),k()),2&t&&(D("matTooltip",B(1,3,"vpn.connection-error.info")),d(2),D("inline",!0),d(2),ye(" ",B(5,5,"vpn.connection-error.text")," "))}function K$(t,n){1&t&&(T(0,"div",61)(1,"mat-icon",59),O(2,"brightness_1"),k()()),2&t&&(d(1),D("inline",!0))}const Z$=function(t,n){return{"animation-container":t,"d-none":n}},Q$=function(t){return{time:t}},AE=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function J$(t,n){if(1&t&&(T(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),T(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),O(8,"brightness_1"),k(),O(9),Y(10,"translate"),k()()(),U(11,K$,3,1,"div",60),T(12,"mat-icon",59),O(13,"brightness_1"),k(),O(14),Y(15,"translate"),k(),T(16,"td",56),Y(17,"translate"),T(18,"mat-icon",34),O(19,"swap_horiz"),k(),O(20),Y(21,"translate"),k()(),T(22,"tr")(23,"td",56),Y(24,"translate"),T(25,"mat-icon",34),O(26,"arrow_upward"),k(),O(27),Y(28,"autoScale"),k(),T(29,"td",56),Y(30,"translate"),T(31,"mat-icon",34),O(32,"arrow_downward"),k(),O(33),Y(34,"autoScale"),k()()()),2&t){const e=W(2);d(2),fs(e.vpnData.stateClass+" state-td"),D("matTooltip",B(3,18,e.vpnData.state+"-info")),d(2),D("ngClass",hn(39,Z$,e.showVpnStateAnimation,!e.showVpnStateAnimation)),d(3),D("inline",!0),d(2),ye(" ",B(10,20,e.vpnData.state)," "),d(2),D("ngIf",e.showVpnStateAnimatedDot),d(1),D("inline",!0),d(2),ye(" ",B(15,22,e.vpnData.state)," "),d(2),D("matTooltip",B(17,24,"vpn.connection-info.latency-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Ue(42,Q$,e.getPrintableLatency(e.vpnData.latency)))," "),d(3),D("matTooltip",B(24,29,"vpn.connection-info.upload-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(28,31,e.vpnData.uploadSpeed,Ue(44,AE,e.showVpnDataStatsInBits))," "),d(2),D("matTooltip",B(30,34,"vpn.connection-info.download-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(34,36,e.vpnData.downloadSpeed,Ue(46,AE,e.showVpnDataStatsInBits))," ")}}function X$(t,n){1&t&&De(0,"mat-spinner",62),2&t&&D("diameter",20)}function eG(t,n){if(1&t&&(T(0,"div")(1,"div",44),U(2,G$,5,4,"div",45),De(3,"div",46),U(4,q$,6,7,"div",47),k(),T(5,"div",48),U(6,J$,35,48,"table",49),U(7,X$,1,1,"mat-spinner",50),k()()),2&t){const e=W();d(2),D("ngIf",!e.hideLanguageButton&&e.language),d(2),D("ngIf",e.errorsConnectingToVpn),d(2),D("ngIf",e.vpnData),d(1),D("ngIf",!e.vpnData)}}function tG(t,n){1&t&&(T(0,"div",63)(1,"div",64)(2,"mat-icon",34),O(3,"error_outline"),k(),O(4),Y(5,"translate"),k(),T(6,"div",65),O(7),Y(8,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.remote-access-title")," "),d(3),ye(" ",B(8,5,"vpn.remote-access-text")," "))}const RE=function(t,n){return{"d-lg-none":t,"d-none":n}},nG=function(t){return{"normal-height":t}},iG=function(t,n){return{"d-none d-lg-flex":t,"d-flex":n}};let Hl=(()=>{class t{constructor(e,i,s,o,a){this.languageService=e,this.dialog=i,this.router=s,this.vpnClientService=o,this.vpnSavedDataService=a,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new ft,this.optionSelected=new ft,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}set localVpnKey(e){this.localVpnKeyInternal=e,e?this.startGettingVpnInfo():this.stopGettingVpnInfo()}ngOnInit(){this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(i=>{this.language=i})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(i=>{this.hideLanguageButton=!(i.length>1)}));const e=window.location.hostname;!e.toLowerCase().includes("localhost")&&!e.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}ngOnDestroy(){this.langSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}startGettingVpnInfo(){this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(e=>{e&&(this.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===pn.Stopped?(this.vpnData.state="vpn.connection-info.state-disconnected",this.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===pn.Connecting?(this.vpnData.state="vpn.connection-info.state-connecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Running?(this.vpnData.state="vpn.connection-info.state-connected",this.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===pn.ShuttingDown?(this.vpnData.state="vpn.connection-info.state-disconnecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Reconnecting&&(this.vpnData.state="vpn.connection-info.state-reconnecting",this.vpnData.stateClass="yellow-clear-text"),this.initialVpnStateObtained?this.lastVpnState!==this.vpnData.state&&(this.lastVpnState=this.vpnData.state,this.showVpnStateAnimation=!1,this.showVpnStateChangeAnimationSubscription&&this.showVpnStateChangeAnimationSubscription.unsubscribe(),this.showVpnStateChangeAnimationSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimation=!0)):(this.initialVpnStateObtained=!0,this.lastVpnState=this.vpnData.state),this.showVpnStateAnimatedDot=!1,this.showVpnStateAnimatedDotSubscription&&this.showVpnStateAnimatedDotSubscription.unsubscribe(),this.showVpnStateAnimatedDotSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimatedDot=!0))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(e=>{this.errorsConnectingToVpn=e})}stopGettingVpnInfo(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}requestAction(e){this.optionSelected.emit(e)}openLanguageWindow(){_E.openDialog(this.dialog)}sendRefreshEvent(){this.refreshRequested.emit()}openTabSelector(){const e=[];this.tabsData.forEach(i=>{e.push({label:i.label,icon:i.icon})}),Ur.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe(i=>{i&&(i-=1)!==this.selectedTabIndex&&this.router.navigate(this.tabsData[i].linkParts)})}updateVpnDataStatsUnit(){const e=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=e===ns.BitsSpeedAndBytesVolume||e===ns.OnlyBits}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn),N(Ut),N(wu),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,i){if(1&e&&(T(0,"div",0)(1,"div",1),U(2,x$,3,0,"button",2),k(),T(3,"div",3),U(4,L$,2,0,"ng-container",4),U(5,E$,3,3,"ng-container",4),k(),T(6,"div",1)(7,"button",5)(8,"mat-icon"),O(9,"menu"),k()()()(),De(10,"div",6),T(11,"mat-menu",7,8),U(13,A$,3,2,"ng-container",4),U(14,R$,1,0,"div",9),U(15,N$,4,4,"div",10),k(),T(16,"div",11)(17,"div",12)(18,"div",13),U(19,Y$,5,4,"div",14),U(20,H$,3,3,"span",15),U(21,V$,1,0,"img",16),k(),T(22,"div",17),U(23,j$,7,15,"div",18),U(24,z$,9,13,"div",19),De(25,"div",20),U(26,$$,5,3,"div",21),k()(),U(27,eG,8,4,"div",4),k(),U(28,tG,9,7,"div",22)),2&e){const s=li(12);D("ngClass",hn(20,RE,!i.showVpnInfo,i.showVpnInfo)),d(2),D("ngIf",i.returnText),d(2),D("ngIf",!i.titleParts||i.titleParts.length<2),d(1),D("ngIf",i.titleParts&&i.titleParts.length>=2),d(2),D("matMenuTriggerFor",s),d(3),D("ngClass",hn(23,RE,!i.showVpnInfo,i.showVpnInfo)),d(1),D("overlapTrigger",!1),d(2),D("ngIf",i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton&&i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton),d(1),D("ngClass",Ue(26,nG,!i.showVpnInfo)),d(2),D("ngClass",hn(28,iG,!i.showVpnInfo,i.showVpnInfo)),d(1),D("ngIf",i.returnText),d(1),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(2),D("ngForOf",i.tabsData),d(1),D("ngIf",i.tabsData&&i.tabsData[i.selectedTabIndex]),d(2),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo&&i.remoteAccess)}},dependencies:[Wn,Fi,Ot,Wa,kr,Y9,Cn,vi,vu,ia,bu,Vr,T$,kt,Vh],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 5px 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),t})();const FE=function(){return["start.title"]};function rG(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator",4),k()),2&t){const e=W();d(2),D("titleParts",Hn(4,FE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function sG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oG(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aG(t,n){if(1&t&&(T(0,"div",23)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sG,3,3,"ng-container",24),U(5,oG,2,1,"ng-container",24),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lG(t,n){if(1&t){const e=nt();T(0,"div",20),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.removeFilters())}),U(1,aG,6,5,"div",21),T(2,"div",22),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cG(t,n){if(1&t){const e=nt();T(0,"mat-icon",25),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function uG(t,n){1&t&&(T(0,"mat-icon",26),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(12)))}const NE=function(){return["/nodes","list"]},YE=function(){return["/nodes","dmsg"]};function dG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,YE):Hn(4,NE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _G(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function gG(t,n){if(1&t&&(qe(0),T(1,"mat-icon",42),O(2),k(),U(3,_G,2,0,"ng-container",24),Ke()),2&t){const e=W(5);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function vG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dmsgServerSortData))}),O(1),Y(2,"translate"),U(3,gG,4,3,"ng-container",24),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.dmsg-server")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dmsgServerSortData)}}function bG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.pingSortData))}),O(1),Y(2,"translate"),U(3,bG,2,2,"mat-icon",35),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.ping")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pingSortData)}}function MG(t,n){1&t&&(T(0,"mat-icon",49),Y(1,"translate"),O(2,"star"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"nodes.hypervisor-info"))}function wG(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(6).forceDataRefresh())}),k()}if(2&t){const e=W(2).$implicit,i=W(4);Ln("id",e.dmsgServerPk),D("short",!0)("elementType",i.labeledElementTypes.DmsgServer)}}function CG(t,n){if(1&t&&(T(0,"td"),U(1,wG,1,3,"app-labeled-element-text",50),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}const HE=function(t){return{time:t}};function SG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W(2).$implicit;d(1),ye(" ",Vt(2,1,"common.time-in-ms",Ue(4,HE,e.roundTripPing))," ")}}function DG(t,n){if(1&t&&(T(0,"td"),U(1,SG,3,6,"ng-container",24),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}function kG(t,n){1&t&&(T(0,"button",52),Y(1,"translate"),T(2,"mat-icon",42),O(3,"chevron_right"),k()()),2&t&&(D("matTooltip",B(1,2,"nodes.view-node")),d(2),D("inline",!0))}function TG(t,n){if(1&t){const e=nt();T(0,"button",46),Me("click",function(s){Ie(e);const o=W().$implicit,a=W(4);return s.stopPropagation(),s.preventDefault(),Oe(a.deleteNode(o))}),Y(1,"translate"),T(2,"mat-icon"),O(3,"close"),k()()}2&t&&D("matTooltip",B(1,1,"nodes.delete-node"))}const xG=function(t,n){return{"click-effect":t,"non-selectable":n}},VE=function(t){return["/nodes",t]};function LG(t,n){if(1&t){const e=nt();T(0,"a",43)(1,"td"),U(2,MG,3,4,"mat-icon",44),k(),T(3,"td"),De(4,"span",45),Y(5,"translate"),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),U(10,CG,2,1,"td",24),U(11,DG,2,1,"td",24),T(12,"td",40)(13,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.copyToClipboard(a))}),Y(14,"translate"),T(15,"mat-icon",42),O(16,"filter_none"),k()(),T(17,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showEditLabelDialog(a))}),Y(18,"translate"),T(19,"mat-icon",42),O(20,"short_text"),k()(),U(21,kG,4,4,"button",47),U(22,TG,4,3,"button",48),k()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",hn(22,xG,e.online,!e.online))("routerLink",e.online?Ue(25,VE,e.localPk):null),d(2),D("ngIf",e.isHypervisor),d(2),fs(i.nodeStatusClass(e,!0)),D("matTooltip",B(5,16,i.nodeStatusText(e,!0))),d(3),ye(" ",e.label," "),d(2),ye(" ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(2),D("matTooltip",B(14,18,i.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),d(2),D("inline",!0),d(2),D("matTooltip",B(18,20,"labeled-element.edit-label")),d(2),D("inline",!0),d(2),D("ngIf",e.online),d(1),D("ngIf",!e.online)}}function EG(t,n){if(1&t){const e=nt();T(0,"table",32)(1,"tr")(2,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.hypervisorSortData))}),Y(3,"translate"),T(4,"mat-icon",34),O(5,"star_outline"),k(),U(6,hG,2,2,"mat-icon",35),k(),T(7,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(8,"translate"),De(9,"span",36),U(10,fG,2,2,"mat-icon",35),k(),T(11,"th",37),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(12),Y(13,"translate"),U(14,pG,2,2,"mat-icon",35),k(),T(15,"th",38),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(16),Y(17,"translate"),U(18,mG,2,2,"mat-icon",35),k(),U(19,vG,4,4,"th",39),U(20,yG,4,4,"th",39),De(21,"th",40),k(),U(22,LG,23,27,"a",41),k()}if(2&t){const e=W(3);d(2),D("matTooltip",B(3,11,"nodes.hypervisor")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.hypervisorSortData),d(1),D("matTooltip",B(8,13,"nodes.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(13,15,"nodes.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(17,17,"nodes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(1),D("ngIf",e.showDmsgInfo),d(1),D("ngIf",e.showDmsgInfo),d(2),D("ngForOf",e.dataSource)}}function PG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function IG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function OG(t,n){1&t&&(T(0,"div",62)(1,"mat-icon",67),O(2,"star"),k(),O(3,"\xa0 "),T(4,"span",68),O(5),Y(6,"translate"),k()()),2&t&&(d(1),D("inline",!0),d(4),pe(B(6,2,"nodes.hypervisor")))}function AG(t,n){if(1&t){const e=nt();T(0,"div",63)(1,"span",9),O(2),Y(3,"translate"),k(),O(4,": "),T(5,"app-labeled-element-text",69),Me("labelEdited",function(){return Ie(e),Oe(W(5).forceDataRefresh())}),k()()}if(2&t){const e=W().$implicit,i=W(4);d(2),pe(B(3,3,"nodes.dmsg-server")),d(3),Ln("id",e.dmsgServerPk),D("elementType",i.labeledElementTypes.DmsgServer)}}function RG(t,n){if(1&t&&(T(0,"div",62)(1,"span",9),O(2),Y(3,"translate"),k(),O(4),Y(5,"translate"),k()),2&t){const e=W().$implicit;d(2),pe(B(3,2,"nodes.ping")),d(2),ye(": ",Vt(5,4,"common.time-in-ms",Ue(7,HE,e.roundTripPing))," ")}}const FG=function(t){return{"selectable click-effect":t}};function NG(t,n){if(1&t){const e=nt();T(0,"a",59)(1,"tr",60)(2,"td",60)(3,"div",55)(4,"div",56),U(5,OG,7,4,"div",61),T(6,"div",62)(7,"span",9),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"span"),O(12),Y(13,"translate"),k()(),T(14,"div",62)(15,"span",9),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",63)(20,"span",9),O(21),Y(22,"translate"),k(),O(23),k(),U(24,AG,6,5,"div",64),U(25,RG,6,9,"div",61),k(),De(26,"div",65),T(27,"div",57)(28,"button",66),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showOptionsDialog(a))}),Y(29,"translate"),T(30,"mat-icon"),O(31),k()()()()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(25,FG,e.online))("routerLink",e.online?Ue(27,VE,e.localPk):null),d(5),D("ngIf",e.isHypervisor),d(3),pe(B(9,15,"nodes.state")),d(3),fs(i.nodeStatusClass(e,!1)+" title"),d(1),pe(B(13,17,i.nodeStatusText(e,!1))),d(4),pe(B(17,19,"nodes.label")),d(2),ye(": ",e.label," "),d(3),pe(B(22,21,"nodes.key")),d(2),ye(": ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(3),D("matTooltip",B(29,23,"common.options")),d(3),pe("add")}}function YG(t,n){if(1&t){const e=nt();T(0,"table",53)(1,"tr",54),Me("click",function(){return Ie(e),Oe(W(3).dataSorter.openSortingOrderModal())}),T(2,"td")(3,"div",55)(4,"div",56)(5,"div",9),O(6),Y(7,"translate"),k(),T(8,"div"),O(9),Y(10,"translate"),U(11,PG,3,3,"ng-container",24),U(12,IG,3,3,"ng-container",24),k()(),T(13,"div",57)(14,"mat-icon",42),O(15,"keyboard_arrow_down"),k()()()()(),U(16,NG,32,29,"a",58),k()}if(2&t){const e=W(3);d(6),pe(B(7,6,"tables.sorting-title")),d(3),ye("",B(10,8,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource)}}function HG(t,n){if(1&t&&(T(0,"div",28)(1,"div",29),U(2,EG,23,19,"table",30),U(3,YG,17,10,"table",31),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0),d(1),D("ngIf",e.dataSource.length>0)}}function VG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,YE):Hn(4,NE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function BG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty")))}function jG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty-with-filter")))}function UG(t,n){if(1&t&&(T(0,"div",28)(1,"div",70)(2,"mat-icon",71),O(3,"warning"),k(),U(4,BG,3,3,"span",72),U(5,jG,3,3,"span",72),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allNodes.length),d(1),D("ngIf",0!==e.allNodes.length)}}const zG=function(t){return{"paginator-icons-fixer":t}};function WG(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Me("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))})("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),T(3,"div",6)(4,"div",8)(5,"div",9),U(6,lG,5,4,"div",10),k(),T(7,"div",11)(8,"div",12),U(9,cG,3,4,"mat-icon",13),U(10,uG,2,1,"mat-icon",14),T(11,"mat-menu",15,16)(13,"div",17),Me("click",function(){return Ie(e),Oe(W().removeOffline())}),O(14),Y(15,"translate"),k()()(),U(16,dG,1,6,"app-paginator",18),k()(),U(17,HG,4,2,"div",19),U(18,VG,1,6,"app-paginator",18),U(19,UG,6,3,"div",19),k()()}if(2&t){const e=W();d(2),D("titleParts",Hn(21,FE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.options),d(2),D("ngClass",Ue(22,zG,e.numberOfPages>1)),d(2),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",e.allNodes&&e.allNodes.length>0),d(1),D("ngIf",e.dataSource.length>0),d(1),D("overlapTrigger",!1),d(2),Ln("disabled",!e.hasOfflineNodes),d(1),ye(" ",B(15,19,"nodes.delete-all-offline")," "),d(2),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}let BE=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this.nodeService=e,this.router=i,this.dialog=s,this.authService=o,this.storageService=a,this.ngZone=l,this.snackbarService=c,this.clipboardService=_,this.translateService=E,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new In(["isHypervisor"],"nodes.hypervisor",Jt.Boolean),this.stateSortData=new In(["online"],"nodes.state",Jt.Boolean),this.labelSortData=new In(["label"],"nodes.label",Jt.Text),this.keySortData=new In(["localPk"],"nodes.key",Jt.Text),this.dmsgServerSortData=new In(["dmsgServerPk"],"nodes.dmsg-server",Jt.Text,["dmsgServerPk_label"]),this.pingSortData=new In(["roundTripPing"],"nodes.ping",Jt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:qn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:qn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:qn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=ur,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(X=>{this.canLogOut=X!==To.AuthDisabled,this.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);const $=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&($.push(this.dmsgServerSortData),$.push(this.pingSortData)),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,$,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,R,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(X=>{this.filteredNodes=X,this.hasOfflineNodes=!1,this.filteredNodes.forEach(he=>{he.online||(this.hasOfflineNodes=!0)}),this.dataSorter.setData(this.filteredNodes)}),this.navigationsSubscription=R.paramMap.subscribe(X=>{if(X.has("page")){let he=Number.parseInt(X.get("page"),10);(isNaN(he)||he<1)&&(he=1),this.currentPageInUrl=he,this.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.nodeService.forceNodeListRefresh()})}updateOptionsMenu(){this.options=[],this.options.push({name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}ngOnInit(){this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}ngOnDestroy(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}performAction(e){"logout"===e?this.logout():"updateAll"===e&&this.updateAll()}nodeStatusClass(e,i){return e.online?e.health&&e.health.servicesHealth===io.Unhealthy?i?"dot-yellow blinking":"yellow-text":e.health&&e.health.servicesHealth===io.Healthy?i?"dot-green":"green-text":i?"dot-outline-gray":"":i?"dot-red":"red-text"}nodeStatusText(e,i){return e.online?e.health&&e.health.servicesHealth===io.Healthy?"node.statuses.online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Unhealthy?"node.statuses.partially-online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Connecting?"node.statuses.connecting"+(i?"-tooltip":""):"node.statuses.unknown"+(i?"-tooltip":""):"node.statuses.offline"+(i?"-tooltip":"")}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingNodeList.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.nodeList.subscribe(e=>{this.ngZone.run(()=>{e&&(e.data&&!e.error?(this.allNodes=e.data,this.showDmsgInfo&&this.allNodes.forEach(i=>{i.dmsgServerPk_label=na.getCompleteLabel(this.storageService,this.translateService,i.dmsgServerPk)}),this.dataFilterer.setData(this.allNodes),this.loading=!1,this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1)):e.error&&(this.errorsUpdating||this.snackbarService.showError(this.loading?"common.loading-error":"nodes.error-load",null,!0,e.error),this.errorsUpdating=!0))})}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){const e=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(i,i+e)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}updateAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-update");const e=[],i=[];this.dataSource.forEach(s=>{if(s.online){const o={key:s.localPk,label:s.label,version:s.version,tag:s.buildTag};rn.checkIfTagIsUpdatable(s.buildTag)?e.push(o):i.push(o)}}),BW.openDialog(this.dialog,e,i)}recursivelyUpdateWallets(e,i,s=0){return this.nodeService.update(e[e.length-1]).pipe(Qr(()=>ze(null)),we(o=>(o&&o.updated&&!o.error?this.snackbarService.showDone(this.translateService.instant("nodes.update.done",{name:i[i.length-1]})):(this.snackbarService.showError(this.translateService.instant("nodes.update.update-error",{name:i[i.length-1]})),s+=1),e.pop(),i.pop(),e.length>=1?this.recursivelyUpdateWallets(e,i,s):ze(s))))}showOptionsDialog(e){const i=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&i.push({icon:"filter_none",label:"nodes.copy-dmsg"}),i.push({icon:"short_text",label:"labeled-element.edit-label"}),e.online||i.push({icon:"close",label:"nodes.delete-node"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):this.showDmsgInfo?2===s?this.copySpecificTextToClipboard(e.dmsgServerPk):3===s?this.showEditLabelDialog(e):4===s&&this.deleteNode(e):2===s?this.showEditLabelDialog(e):3===s&&this.deleteNode(e)})}copyToClipboard(e){this.showDmsgInfo?Ur.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):2===s&&this.copySpecificTextToClipboard(e.dmsgServerPk)}):this.copySpecificTextToClipboard(e.localPk)}copySpecificTextToClipboard(e){this.clipboardService.copy(e)&&this.snackbarService.showDone("copy.copied")}showEditLabelDialog(e){let i=this.storageService.getLabelInfo(e.localPk);i||(i={id:e.localPk,label:"",identifiedElementType:ur.Node}),z0.openDialog(this.dialog,i).afterClosed().subscribe(s=>{s&&this.forceDataRefresh()})}deleteNode(e){const i=rn.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.setLocalNodesAsHidden([e.localPk],[e.ip]),this.forceDataRefresh(),this.snackbarService.showDone("nodes.deleted")})}removeOffline(){let e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");const i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close();const s=[],o=[];this.filteredNodes.forEach(a=>{a.online||(s.push(a.localPk),o.push(a.ip))}),s.length>0&&(this.storageService.setLocalNodesAsHidden(s,o),this.forceDataRefresh(),1===s.length?this.snackbarService.showDone("nodes.deleted-singular"):this.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}}return t.\u0275fac=function(e){return new(e||t)(N(pu),N(Ut),N(Gn),N(xh),N(Xi),N(mt),N(Vn),N(Rh),N(Hr),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable","link-row",3,"ngClass","routerLink"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"selectable","click-effect",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[1,"link-row",3,"ngClass","routerLink"],[1,"d-block"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,rG,4,5,"div",0),U(1,WG,20,24,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Fi,Ot,Wa,kr,Cn,vi,vu,ia,bu,ko,yu,Hl,na,kt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}.non-selectable[_ngcontent-%COMP%]{cursor:not-allowed}"]}),t})();const $G=["terminal"],GG=["dialogContent"];let qG=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.renderer=s,this.apiService=o,this.translate=a,this.history=[],this.historyIndex=0,this.currentInputText=""}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngAfterViewInit(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}keyEvent(e){this.terminal.hasFocus()&&this.history.length>0&&(38===e.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===e.keyCode&&(this.historyIndex=this.historyIndex{this.history.push(e),this.historyIndex=this.history.length,this.currentInputText="",this.subscription=this.apiService.post(`/visors/${this.data.pk}/exec`,{command:e}).subscribe(i=>{this.printLines(i.output?i.output:this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()},i=>{i=an(i),this.printLines(i.originalServerErrorMsg&&"string"==typeof i.originalServerErrorMsg?i.type===xl.Unknown?i.originalServerErrorMsg:this.translate.instant(i.translatableErrorMsg):this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()})})}printLines(e){let i=e.replace(//g,">"),i=i.replace(/\n/g,"
"),i=i.replace(/\t/g," "),i=i.replace(/ /g," "),this.terminal.print(i),setTimeout(()=>{this.dialogContentElement.nativeElement.scrollTop=this.dialogContentElement.nativeElement.scrollHeight})}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(po),N(Ga),N(Hr))},t.\u0275cmp=Qe({type:t,selectors:[["app-basic-terminal"]],viewQuery:function(e,i){if(1&e&&(vt($G,5),vt(GG,5)),2&e){let s;at(s=lt())&&(i.terminalElement=s.first),at(s=lt())&&(i.dialogContentElement=s.first)}},hostBindings:function(e,i){1&e&&Me("keyup",function(o){return i.keyEvent(o)},0,Hg)},decls:7,vars:6,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins","dialog"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-dialog-content",1,2),Me("click",function(){return i.focusTerminal()}),T(4,"div",3),De(5,"div",null,4),k()()()),2&e&&D("headline",B(1,4,"actions.terminal.title")+" - "+i.data.label+" ("+i.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)("dialog",i.dialogRef)},dependencies:[h0,bi,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),t})();class jE{constructor(n,e){this.canBeUpdated=!1,this.canBeRestarted=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=n.get(Gn),this.router=n.get(Ut),this.snackbarService=n.get(Vn),this.nodeService=n.get(pu),this.storageService=n.get(Xi),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}updateOptions(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.canBeRestarted&&this.options.push({name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"}),this.canBeUpdated&&this.options.push({name:"actions.menu.update",actionName:"update",icon:"get_app"})}setCurrentNode(n){this.currentNode=n,rn.checkIfTagIsUpdatable(n.buildTag)?(this.canBeUpdated=!0,this.canBeRestarted=!0):(this.canBeUpdated=!1,this.canBeRestarted=!1),this.canOpenTerminal=rn.checkIfTagCanOpenterminal(n.buildTag),this.updateOptions()}setCurrentNodeKey(n){this.currentNodeKey=n}performAction(n,e){"terminal"===n?this.terminal():"update"===n?this.update():"logs"===n?window.open(window.location.origin+"/api/visors/"+e+"/runtime-logs","_blank"):"reboot"===n?this.reboot():null===n&&this.back()}dispose(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}reboot(){const n=rn.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.showProcessing(),this.rebootSubscription=this.nodeService.reboot(this.currentNodeKey).subscribe(()=>{this.snackbarService.showDone("actions.reboot.done"),n.close()},e=>{e=an(e),n.componentInstance.showDone("confirmation.error-header-text",e.translatableErrorMsg)})})}update(){const n=rn.createConfirmationDialog(this.dialog,"actions.update.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{const e=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(e+"//"+i+"/pty/"+this.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),n.close()})}terminal(){Ur.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(e=>{if(1===e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+this.currentNodeKey,"_blank","noopener noreferrer")}else 2===e&&qG.openDialog(this.dialog,{pk:this.currentNodeKey,label:this.currentNode?this.currentNode.label:""})})}back(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}function KG(t,n){1&t&&De(0,"app-loading-indicator")}function ZG(t,n){1&t&&(T(0,"div",6)(1,"div")(2,"mat-icon",7),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,2,"node.not-found")," "))}function QG(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"div")(2,"app-top-bar",3),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),U(3,KG,1,0,"app-loading-indicator",4),U(4,ZG,6,4,"div",5),k()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("showUpdateButton",!1)("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound)}}function JG(t,n){1&t&&De(0,"app-node-info-content",15),2&t&&D("nodeInfo",W(2).node)}const XG=function(t,n){return{"main-area":t,"full-size-main-area":n}},eq=function(t){return{"d-none":t}};function tq(t,n){if(1&t){const e=nt();T(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))})("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))}),k()(),T(3,"div",9)(4,"div",11)(5,"div",12),De(6,"router-outlet"),k()(),T(7,"div",13),U(8,JG,1,1,"app-node-info-content",14),k()()()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(2),D("ngClass",hn(12,XG,!e.showingInfo&&!e.showingFullList,e.showingInfo||e.showingFullList)),d(3),D("ngClass",Ue(15,eq,e.showingInfo||e.showingFullList)),d(1),D("ngIf",!e.showingInfo&&!e.showingFullList)}}let At=(()=>{class t{constructor(e,i,s,o,a,l,c){this.storageService=e,this.nodeService=i,this.route=s,this.ngZone=o,this.snackbarService=a,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new Xs(1),t.currentInstanceInternal=this,this.navigationsSubscription=c.events.subscribe(_=>{_.urlAfterRedirects&&(t.currentNodeKey=this.route.snapshot.params.key,this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.lastUrl=_.urlAfterRedirects,this.updateTabBar(),this.navigationsSubscription.unsubscribe(),this.nodeService.startRequestingSpecificNode(t.currentNodeKey),this.startGettingData())})}static refreshCurrentDisplayedData(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)}static getCurrentNodeKey(){return t.currentNodeKey}static get currentNode(){return t.nodeSubject.asObservable()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}updateTabBar(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new jE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new jE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);let e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}performAction(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.specificNode.subscribe(e=>{this.ngZone.run(()=>{if(e)if(e.data&&!e.error)this.node=e.data,t.nodeSubject.next(this.node),this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNode(this.node),this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1);else if(e.error){if(e.error.originalError&&400===e.error.originalError.status)return void(this.notFound=!0);this.errorsUpdating||this.snackbarService.showError(this.node?"node.error-load":"common.loading-error",null,!0,e.error),this.errorsUpdating=!0}})}))})}ngOnDestroy(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(pu),N(Qi),N(mt),N(Vn),N(Jn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,i){1&e&&(U(0,QG,5,8,"div",0),U(1,tq,9,17,"div",1)),2&e&&(D("ngIf",!i.node),d(1),D("ngIf",i.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),t})();function nq(t,n){if(1&t&&(T(0,"mat-option",8),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;Ln("value",e),d(1),ps(" ",e," ",B(2,3,"settings.seconds")," ")}}let iq=(()=>{class t{constructor(e,i,s){this.formBuilder=e,this.storageService=i,this.snackbarService=s,this.timesList=["3","5","10","15","30","60","90","150","300"]}ngOnInit(){this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(e=>{this.storageService.setRefreshTime(e),this.snackbarService.showDone("settings.refresh-rate-confirmation")})}ngOnDestroy(){this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),O(5," help "),k()(),T(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),U(10,nq,3,5,"mat-option",7),k()()()()()),2&e&&(d(3),D("inline",!0)("matTooltip",B(4,5,"settings.refresh-rate-help")),d(3),D("formGroup",i.form),d(2),D("placeholder",B(9,7,"settings.refresh-rate")),d(2),D("ngForOf",i.timesList))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Cn,vi,Nh,su,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),t})();const rq=["input"],sq=["label"],oq=function(t){return{enterDuration:t}},aq=["*"],lq=new Be("mat-checkbox-default-options",{providedIn:"root",factory:UE});function UE(){return{color:"accent",clickAction:"check-indeterminate"}}let cq=0;const zE=UE(),uq={provide:no,useExisting:sn(()=>Ja),multi:!0};class dq{}const hq=M2(ru(Mh(iu(class{constructor(t){this._elementRef=t}}))));let fq=(()=>{class t extends hq{constructor(e,i,s,o,a,l,c){super(i),this._changeDetectorRef=s,this._ngZone=o,this._animationMode=l,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ft,this.indeterminateChange=new ft,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||zE,this.color=this.defaultColor=this._options.color||zE.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++cq}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=En(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=En(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=En(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=En(e),i&&(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(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,s=this._getAnimationTargetElement();if(i!==e&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(rq,5),vt(sq,5),vt(Xo,5)),2&e){let s;at(s=lt())&&(i._inputElement=s.first),at(s=lt())&&(i._labelElement=s.first),at(s=lt())&&(i.ripple=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[pt]}),t})(),Ja=(()=>{class t extends fq{constructor(e,i,s,o,a,l,c){super("mat-checkbox-",e,i,o,a,l,c),this._focusMonitor=s,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new dq;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Do),N(mt),Ht("tabindex"),N(Ui,8),N(lq,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(pl("id",i.id),Wt("tabindex",null)("aria-label",null)("aria-labelledby",null),dn("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[on([uq]),pt],ngContentSelectors:aq,decls:17,vars:21,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","aria-hidden","true",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(e,i){if(1&e&&(Kr(),T(0,"label",0,1)(2,"span",2)(3,"input",3,4),Me("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),k(),T(5,"span",5),De(6,"span",6),k(),De(7,"span",7),T(8,"span",8),ba(),T(9,"svg",9),De(10,"path",10),k(),function xn(){!function rc(){Tt.lFrame.currentNamespace=null}()}(),De(11,"span",11),k()(),T(12,"span",12,13),Me("cdkObserveContent",function(){return i._onLabelTextChange()}),T(14,"span",14),O(15,"\xa0"),k(),mi(16),k()()),2&e){const s=li(1),o=li(13);Wt("for",i.inputId),d(2),dn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),d(1),D("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Wt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),d(2),D("matRippleTrigger",s)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ue(19,oq,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[Xo,qy],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:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.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}.mat-checkbox-layout{-webkit-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;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:rgba(0,0,0,0);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}.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);-webkit-print-color-adjust:exact;color-adjust:exact}._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:rgba(0,0,0,0)}.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-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),WE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),_q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Rm,WE,Pn,WE]}),t})();const gq=function(t){return{number:t}};let v_=(()=>{class t{constructor(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"a",1),O(2),Y(3,"translate"),T(4,"mat-icon",2),O(5,"chevron_right"),k()()()),2&e&&(d(1),D("routerLink",i.linkParts)("queryParams",i.queryParams),d(1),ye(" ",Vt(3,4,"view-all-link.label",Ue(7,gq,i.numberOfElements))," "),d(2),D("inline",!0))},dependencies:[Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),t})();function vq(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"labels.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"labels.info")))}function bq(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function yq(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function Mq(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,bq,3,3,"ng-container",20),U(5,yq,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function wq(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,Mq,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function Cq(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function Sq(t,n){if(1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t){W();const e=li(9);D("inline",!0)("matMenuTriggerFor",e)}}const $0=function(){return["/settings","labels"]};function Dq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,$0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function kq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Tq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function xq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Lq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),T(7,"td"),O(8),Y(9,"translate"),k(),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.id))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.id)),d(2),ye(" ",e.label," "),d(2),ye(" ",e.id," "),d(2),ps(" ",i.getLabelTypeIdentification(e)[0]," - ",B(9,7,i.getLabelTypeIdentification(e)[1])," "),d(3),D("matTooltip",B(12,9,"labels.delete")),d(2),D("inline",!0)}}function Eq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function Pq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function Iq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",42)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",43)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",42)(17,"span",1),O(18),Y(19,"translate"),k(),O(20),Y(21,"translate"),k()(),De(22,"div",44),T(23,"div",35)(24,"button",45),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(25,"translate"),T(26,"mat-icon"),O(27),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.id)),d(4),pe(B(9,10,"labels.label")),d(2),ye(": ",e.label," "),d(3),pe(B(14,12,"labels.id")),d(2),ye(": ",e.id," "),d(3),pe(B(19,14,"labels.type")),d(2),ps(": ",i.getLabelTypeIdentification(e)[0]," - ",B(21,16,i.getLabelTypeIdentification(e)[1])," "),d(4),D("matTooltip",B(25,18,"common.options")),d(3),pe("add")}}function Oq(t,n){if(1&t&&De(0,"app-view-all-link",46),2&t){const e=W(2);D("numberOfElements",e.filteredLabels.length)("linkParts",Hn(3,$0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Aq=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},Rq=function(t){return{"d-lg-none d-xl-table":t}},Fq=function(t){return{"d-lg-table d-xl-none":t}};function Nq(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(6),Y(7,"translate"),U(8,kq,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(10),Y(11,"translate"),U(12,Tq,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(14),Y(15,"translate"),U(16,xq,2,2,"mat-icon",28),k(),De(17,"th",29),k(),U(18,Lq,15,11,"tr",30),k(),T(19,"table",31)(20,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),O(25),Y(26,"translate"),k(),T(27,"div"),O(28),Y(29,"translate"),U(30,Eq,3,3,"ng-container",20),U(31,Pq,3,3,"ng-container",20),k()(),T(32,"div",35)(33,"mat-icon",36),O(34,"keyboard_arrow_down"),k()()()()(),U(35,Iq,28,20,"tr",30),k(),U(36,Oq,1,4,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(27,Aq,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(30,Rq,e.showShortList_)),d(4),ye(" ",B(7,17,"labels.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(11,19,"labels.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(15,21,"labels.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(32,Fq,e.showShortList_)),d(6),pe(B(26,23,"tables.sorting-title")),d(3),ye("",B(29,25,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function Yq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty")))}function Hq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty-with-filter")))}function Vq(t,n){if(1&t&&(T(0,"div",24)(1,"div",47)(2,"mat-icon",48),O(3,"warning"),k(),U(4,Yq,3,3,"span",49),U(5,Hq,3,3,"span",49),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allLabels.length),d(1),D("ngIf",0!==e.allLabels.length)}}function Bq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,$0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const jq=function(t){return{"paginator-icons-fixer":t}};let $E=(()=>{class t{constructor(e,i,s,o,a,l){this.dialog=e,this.route=i,this.router=s,this.snackbarService=o,this.translateService=a,this.storageService=l,this.listId="ll",this.labelSortData=new In(["label"],"labels.label",Jt.Text),this.idSortData=new In(["id"],"labels.id",Jt.Text),this.typeSortData=new In(["identifiedElementType_sort"],"labels.type",Jt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:qn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:qn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:ur.Node,label:"labels.filter-dialog.type-options.visor"},{value:ur.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:ur.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredLabels=_,this.dataSorter.setData(this.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredLabels)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}loadData(){this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(e=>{e.identifiedElementType_sort=this.getLabelTypeIdentification(e)[0]}),this.dataFilterer.setData(this.allLabels)}getLabelTypeIdentification(e){return e.identifiedElementType===ur.Node?["1","labels.filter-dialog.type-options.visor"]:e.identifiedElementType===ur.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:e.identifiedElementType===ur.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.close(),this.selections.forEach((i,s)=>{i&&this.storageService.saveLabel(s,"",null)}),this.snackbarService.showDone("labels.deleted"),this.loadData()})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(s=>{1===s&&this.delete(e.id)})}delete(e){const i=rn.createConfirmationDialog(this.dialog,"labels.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.saveLabel(e,"",null),this.snackbarService.showDone("labels.deleted"),this.loadData()})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredLabels){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(i,i+e);const o=new Map;this.labelsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,vq,6,7,"span",2),U(3,wq,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,Cq,3,4,"mat-icon",6),U(7,Sq,2,2,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,Dq,1,5,"app-paginator",12),k()(),U(20,Nq,37,34,"div",13),U(21,Vq,6,3,"div",13),U(22,Bq,1,5,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,jq,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allLabels&&i.allLabels.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Uq(t,n){1&t&&De(0,"app-password")}function zq(t,n){1&t&&(T(0,"div",8),De(1,"mat-spinner",9),O(2),Y(3,"translate"),k()),2&t&&(d(1),D("diameter",11),d(1),ye(" ",B(3,2,"settings.checking-auth")," "))}const Wq=function(){return["start.title"]};let $q=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.tabsData=[],this.options=[],this.waitBeforeShowingLoading=!0,this.authChecked=!1,this.authActive=!1,this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}ngOnInit(){setTimeout(()=>{this.waitBeforeShowingLoading=!1},500),this.checkAuth(0)}checkAuth(e){this.authSubscription=ze(1).pipe(Ji(e),we(()=>this.authService.checkLogin())).subscribe(i=>{this.authChecked=!0,this.authActive=i===To.Logged},()=>{this.checkAuth(15e3)})}ngOnDestroy(){this.authSubscription.unsubscribe()}performAction(e){"logout"===e&&this.logout()}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-settings"]],decls:8,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[4,"ngIf"],["class","white-theme checking-container",4,"ngIf"],[3,"showShortList"],[1,"white-theme","checking-container"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-refresh-rate",4),U(5,Uq,1,0,"app-password",5),U(6,zq,4,4,"div",6),De(7,"app-label-list",7),k()()),2&e&&(d(2),D("titleParts",Hn(8,Wq))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",i.options),d(3),D("ngIf",i.authChecked&&i.authActive),d(1),D("ngIf",!i.authChecked&&!i.waitBeforeShowingLoading),d(1),D("showShortList",!0))},dependencies:[Ot,Vr,pE,iq,Hl,$E,kt],styles:[".checking-container[_ngcontent-%COMP%]{font-size:10px;opacity:.5}.checking-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block}.show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t})(),G0=(()=>{class t{constructor(e){this.apiService=e}create(e,i,s){const o={remote_pk:i};return s&&(o.transport_type=s),this.apiService.post(`visors/${e}/transports`,o)}delete(e,i){return this.apiService.delete(`visors/${e}/transports/${i}`)}savePersistentTransportsData(e,i){return this.apiService.put(`visors/${e}/persistent-transports`,i)}getPersistentTransports(e){return this.apiService.get(`visors/${e}/persistent-transports`)}types(e){return this.apiService.get(`visors/${e}/transport-types`)}changeAutoconnectSetting(e,i){const s={};return s.public_autoconnect=i,this.apiService.put(`visors/${e}/public-autoconnect`,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gq=["button"],qq=["firstInput"];function Kq(t,n){1&t&&De(0,"app-loading-indicator",5),2&t&&D("showWhite",!1)}function Zq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Qq(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function Jq(t,n){if(1&t&&(T(0,"mat-option",17),O(1),k()),2&t){const e=n.$implicit;D("value",e),d(1),pe(e)}}const b_=function(t){return{"element-disabled":t}};function Xq(t,n){if(1&t){const e=nt();T(0,"form",6)(1,"mat-form-field",7),De(2,"input",8,9),Y(4,"translate"),T(5,"mat-error"),U(6,Zq,3,3,"ng-container",10),k(),U(7,Qq,2,3,"ng-template",null,11,Oa),k(),T(9,"mat-form-field",7),De(10,"input",12),Y(11,"translate"),k(),T(12,"mat-form-field",7)(13,"mat-select",13),Y(14,"translate"),U(15,Jq,2,2,"mat-option",14),k(),T(16,"mat-error"),O(17),Y(18,"translate"),k()(),T(19,"mat-checkbox",15),Me("change",function(s){return Ie(e),Oe(W().setMakePersistent(s))}),O(20),Y(21,"translate"),T(22,"mat-icon",16),Y(23,"translate"),O(24,"help"),k()()()}if(2&t){const e=li(8),i=W();D("formGroup",i.form),d(1),D("ngClass",Ue(28,b_,i.disableDismiss)),d(1),D("placeholder",B(4,16,"transports.dialog.remote-key")),d(4),D("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",e),d(3),D("ngClass",Ue(30,b_,i.disableDismiss)),d(1),D("placeholder",B(11,18,"transports.dialog.label")),d(2),D("ngClass",Ue(32,b_,i.disableDismiss)),d(1),D("placeholder",B(14,20,"transports.dialog.transport-type")),d(2),D("ngForOf",i.types),d(2),ye(" ",B(18,22,"transports.dialog.errors.transport-type-error")," "),d(2),D("checked",i.makePersistent)("ngClass",Ue(34,b_,i.disableDismiss)),d(1),ye(" ",B(21,24,"transports.dialog.make-persistent")," "),d(2),D("inline",!0)("matTooltip",B(23,26,"transports.dialog.persistent-tooltip"))}}let eK=(()=>{class t{constructor(e,i,s,o,a,l){this.transportService=e,this.formBuilder=i,this.dialogRef=s,this.snackbarService=o,this.storageService=a,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({remoteKey:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",yn.required]}),this.loadData(0)}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setMakePersistent(e){this.makePersistent=!!e.checked}create(){if(!this.form.valid||this.button.disabled)return;this.button.showLoading();const e=this.form.get("remoteKey").value,i=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){const o=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=o.subscribe(a=>{const l=a||[];let c=!1;l.forEach(_=>{_.pk.toUpperCase()===e.toUpperCase()&&_.type.toUpperCase()===i.toUpperCase()&&(c=!0)}),c?this.createTransport(e,i,s,!0):this.createPersistent(l,e,i,s)},a=>{this.onError(a)})}else this.createTransport(e,i,s,!1)}createPersistent(e,i,s,o){e.push({pk:i,type:s}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),e).subscribe(()=>{this.createTransport(i,s,o,!0)},a=>{this.onError(a)})}createTransport(e,i,s,o){this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),e,i).subscribe(a=>{let l=!1;s&&(a&&a.id?this.storageService.saveLabel(a.id,s,ur.Transport):l=!0),At.refreshCurrentDisplayedData(),this.dialogRef.close(),l?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},a=>{o?(At.refreshCurrentDisplayedData(),this.dialogRef.close(),this.snackbarService.showWarning("transports.dialog.only-persistent-created")):this.onError(a)})}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}loadData(e){this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=ze(1).pipe(Ji(e),we(()=>this.transportService.types(At.getCurrentNodeKey()))).subscribe(i=>{i.sort((o,a)=>"stcp"===o.toLowerCase()?1:"stcp"===a.toLowerCase()?-1:o.localeCompare(a));let s=i.findIndex(o=>"dmsg"===o.toLowerCase());s=-1!==s?s:0,this.types=i,this.form.get("type").setValue(i[s]),this.snackbarService.closeCurrentIfTemporaryError(),setTimeout(()=>this.firstInput.nativeElement.focus())},i=>{i=an(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(G0),N(ts),N(ei),N(Vn),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-create-transport"]],viewQuery:function(e,i){if(1&e&&(vt(Gq,5),vt(qq,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:8,vars:11,consts:[[3,"headline","dialog","disableDismiss"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],[3,"ngClass"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Kq,1,1,"app-loading-indicator",1),U(3,Xq,25,36,"form",2),T(4,"app-button",3,4),Me("action",function(){return i.create()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,7,"transports.create"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("ngIf",!i.types),d(1),D("ngIf",i.types),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(7,9,"transports.create")," "))},dependencies:[Wn,Fi,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Nh,su,Ja,Tr,bi,ko,kt]}),t})();function tK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),T(3,"mat-icon",6),Y(4,"translate"),O(5,"help"),k(),Ke()),2&t&&(d(1),ye(" ",B(2,3,"common.yes")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.persistent-transport-tooltip")))}function nK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.no")))}let iK=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-details"]],decls:51,vars:45,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),U(12,tK,6,7,"ng-container",4),U(13,nK,3,3,"ng-container",4),k(),T(14,"div",3)(15,"span"),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",3)(20,"span"),O(21),Y(22,"translate"),k(),O(23),k(),T(24,"div",3)(25,"span"),O(26),Y(27,"translate"),k(),O(28),k(),T(29,"div",3)(30,"span"),O(31),Y(32,"translate"),k(),O(33),k(),T(34,"div",5)(35,"mat-icon",2),O(36,"import_export"),k(),O(37),Y(38,"translate"),k(),T(39,"div",3)(40,"span"),O(41),Y(42,"translate"),k(),O(43),Y(44,"autoScale"),k(),T(45,"div",3)(46,"span"),O(47),Y(48,"translate"),k(),O(49),Y(50,"autoScale"),k()()()),2&e&&(D("headline",B(1,21,"transports.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,23,"transports.details.basic.title")," "),d(4),pe(B(11,25,"transports.details.basic.persistent")),d(2),D("ngIf",i.data.isPersistent),d(1),D("ngIf",!i.data.isPersistent),d(3),pe(B(17,27,"transports.details.basic.id")),d(2),ye(" ",i.data.id," "),d(3),pe(B(22,29,"transports.details.basic.local-pk")),d(2),ye(" ",i.data.localPk," "),d(3),pe(B(27,31,"transports.details.basic.remote-pk")),d(2),ye(" ",i.data.remotePk," "),d(3),pe(B(32,33,"transports.details.basic.type")),d(2),ye(" ",i.data.type," "),d(2),D("inline",!0),d(2),ye("",B(38,35,"transports.details.data.title")," "),d(4),pe(B(42,37,"transports.details.data.uploaded")),d(2),ye(" ",B(44,39,i.data.sent)," "),d(4),pe(B(48,41,"transports.details.data.downloaded")),d(2),ye(" ",B(50,43,i.data.recv)," "))},dependencies:[Ot,Cn,vi,bi,kt,Vh],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),t})();function rK(t,n){1&t&&(T(0,"span",15),O(1),Y(2,"translate"),T(3,"mat-icon",16),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"transports.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.info")))}function sK(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oK(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aK(t,n){if(1&t&&(T(0,"div",20)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sK,3,3,"ng-container",21),U(5,oK,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lK(t,n){if(1&t){const e=nt();T(0,"div",17),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,aK,6,5,"div",18),T(2,"div",19),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cK(t,n){if(1&t){const e=nt();T(0,"mat-icon",22),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),O(1,"filter_list"),k()}2&t&&D("inline",!0)}function uK(t,n){if(1&t&&(T(0,"mat-icon",23),O(1,"more_horiz"),k()),2&t){W();const e=li(11);D("inline",!0)("matMenuTriggerFor",e)}}const q0=function(t){return["/nodes",t,"transports"]};function dK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function pK(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,fK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function mK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function _K(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,mK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function gK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function vK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function bK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!1))}),Y(1,"translate"),T(2,"mat-icon",49),O(3,"star"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.persistent-transport-button-tooltip")),d(2),D("inline",!0))}function MK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!0))}),Y(1,"translate"),T(2,"mat-icon",50),O(3,"star_outline"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.non-persistent-transport-button-tooltip")),d(2),D("inline",!0))}function wK(t,n){1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function CK(t,n){if(1&t){const e=nt();T(0,"td")(1,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k(),U(2,wK,3,3,"span",21),k()}if(2&t){const e=W().$implicit,i=W(2);d(1),Ln("id",e.id),D("short",!0)("elementType",i.labeledElementTypes.Transport),d(1),D("ngIf",e.notFound)}}function SK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function DK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.sent)," ")}}function kK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.recv)," ")}}function TK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function xK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function LK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).details(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"visibility"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.details.title")),d(2),D("inline",!0))}function EK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).delete(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"close"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.delete")),d(2),D("inline",!0))}const GE=function(t){return{offline:t}};function PK(t,n){if(1&t){const e=nt();T(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,yK,4,4,"button",45),U(5,MK,4,4,"button",45),k(),U(6,CK,3,4,"td",21),U(7,SK,3,3,"td",21),T(8,"td")(9,"app-labeled-element-text",46),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(10,"td"),O(11),k(),U(12,DK,3,3,"td",21),U(13,kK,3,3,"td",21),U(14,TK,3,3,"td",21),U(15,xK,3,3,"td",21),T(16,"td",32),U(17,LK,4,4,"button",47),U(18,EK,4,4,"button",47),k()()}if(2&t){const e=n.$implicit,i=W(2);D("ngClass",Ue(15,GE,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(1),D("ngIf",!e.isPersistent),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(2),Ln("id",e.remotePk),D("short",!0),d(2),ye(" ",e.type," "),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(1),D("ngIf",e.notFound),d(2),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound)}}function IK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function OK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function AK(t,n){1&t&&(T(0,"div",59)(1,"div",59)(2,"mat-icon",62),O(3,"star"),k(),O(4,"\xa0 "),T(5,"span",63),O(6),Y(7,"translate"),k()()()),2&t&&(d(2),D("inline",!0),d(4),pe(B(7,2,"transports.persistent")))}function RK(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",64),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()}if(2&t){const e=W().$implicit,i=W(2);Ln("id",e.id),D("elementType",i.labeledElementTypes.Transport)}}function FK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function NK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.sent))}}function YK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function HK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.recv))}}function VK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function BK(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",37),U(6,AK,8,4,"div",55),T(7,"div",56)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),U(12,RK,1,2,"app-labeled-element-text",57),U(13,FK,3,3,"ng-container",21),k(),T(14,"div",56)(15,"span",1),O(16),Y(17,"translate"),k(),O(18,": "),T(19,"app-labeled-element-text",58),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(20,"div",59)(21,"span",1),O(22),Y(23,"translate"),k(),O(24),k(),T(25,"div",59)(26,"span",1),O(27),Y(28,"translate"),k(),O(29,": "),U(30,NK,3,3,"ng-container",21),U(31,YK,3,3,"ng-container",21),k(),T(32,"div",59)(33,"span",1),O(34),Y(35,"translate"),k(),O(36,": "),U(37,HK,3,3,"ng-container",21),U(38,VK,3,3,"ng-container",21),k()(),De(39,"div",60),T(40,"div",38)(41,"button",61),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(42,"translate"),T(43,"mat-icon"),O(44),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("ngClass",Ue(30,GE,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(3),pe(B(10,18,"transports.id")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(17,20,"transports.remote-node")),d(3),Ln("id",e.remotePk),d(3),pe(B(23,22,"transports.type")),d(2),ye(": ",e.type," "),d(3),pe(B(28,24,"common.uploaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(35,26,"common.downloaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),D("matTooltip",B(42,28,"common.options")),d(3),pe("add")}}function jK(t,n){if(1&t&&De(0,"app-view-all-link",65),2&t){const e=W(2);D("numberOfElements",e.filteredTransports.length)("linkParts",Ue(3,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const UK=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},zK=function(t){return{"d-lg-none d-xl-table":t}},WK=function(t){return{"d-lg-table d-xl-none":t}};function $K(t,n){if(1&t){const e=nt();T(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),De(4,"th"),T(5,"th",28),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.persistentSortData))}),Y(6,"translate"),T(7,"mat-icon",29),O(8,"star_outline"),k(),U(9,hK,2,2,"mat-icon",30),k(),T(10,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(11),Y(12,"translate"),U(13,pK,4,3,"ng-container",21),k(),T(14,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.remotePkSortData))}),O(15),Y(16,"translate"),U(17,_K,4,3,"ng-container",21),k(),T(18,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(19),Y(20,"translate"),U(21,gK,2,2,"mat-icon",30),k(),T(22,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.uploadedSortData))}),O(23),Y(24,"translate"),U(25,vK,2,2,"mat-icon",30),k(),T(26,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.downloadedSortData))}),O(27),Y(28,"translate"),U(29,bK,2,2,"mat-icon",30),k(),De(30,"th",32),k(),U(31,PK,19,17,"tr",33),k(),T(32,"table",34)(33,"tr",35),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),O(38),Y(39,"translate"),k(),T(40,"div"),O(41),Y(42,"translate"),U(43,IK,3,3,"ng-container",21),U(44,OK,3,3,"ng-container",21),k()(),T(45,"div",38)(46,"mat-icon",39),O(47,"keyboard_arrow_down"),k()()()()(),U(48,BK,45,32,"tr",40),k(),U(49,jK,1,5,"app-view-all-link",41),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(39,UK,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(42,zK,e.showShortList_)),d(3),D("matTooltip",B(6,23,"transports.persistent-tooltip")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.persistentSortData),d(2),ye(" ",B(12,25,"transports.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(16,27,"transports.remote-node")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.remotePkSortData),d(2),ye(" ",B(20,29,"transports.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(24,31,"common.uploaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.uploadedSortData),d(2),ye(" ",B(28,33,"common.downloaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.downloadedSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(44,WK,e.showShortList_)),d(6),pe(B(39,35,"tables.sorting-title")),d(3),ye("",B(42,37,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function GK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty")))}function qK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty-with-filter")))}function KK(t,n){if(1&t&&(T(0,"div",25)(1,"div",66)(2,"mat-icon",67),O(3,"warning"),k(),U(4,GK,3,3,"span",68),U(5,qK,3,3,"span",68),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allTransports.length),d(1),D("ngIf",0!==e.allTransports.length)}}function ZK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const QK=function(t){return{"paginator-icons-fixer":t}};let qE=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialog=e,this.transportService=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.nodeService=_,this.listId="tr",this.persistentSortData=new In(["isPersistent"],"transports.persistent",Jt.Boolean),this.idSortData=new In(["id"],"transports.id",Jt.Text,["id_label"]),this.remotePkSortData=new In(["remotePk"],"transports.remote-node",Jt.Text,["remote_pk_label"]),this.typeSortData=new In(["type"],"transports.type",Jt.Text),this.uploadedSortData=new In(["sent"],"common.uploaded",Jt.NumberReversed),this.downloadedSortData=new In(["recv"],"common.downloaded",Jt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:qn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:qn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:qn.TextInput,maxlength:66}],this.labeledElementTypes=ur,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredTransports=R,this.dataSorter.setData(this.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.node=this.currentNode})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredTransports)}set node(e){this.currentNode=e,this.allTransports=e.transports,this.nodePK=e.localPk;const i=new Map;e.persistentTransports.forEach(s=>i.set(this.getPersistentTransportID(s.pk,s.type),s)),this.allTransports.forEach(s=>{i.has(this.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,i.delete(this.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),i.forEach((s,o)=>{this.allTransports.push({id:this.getPersistentTransportID(s.pk,s.type),localPk:e.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(s=>{s.id_label=na.getCompleteLabel(this.storageService,this.translateService,s.id),s.remote_pk_label=na.getCompleteLabel(this.storageService,this.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}create(){eK.openDialog(this.dialog)}showOptionsDialog(e){const i=[];i.push(e.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),e.notFound||(i.push({icon:"visibility",label:"transports.details.title"}),i.push({icon:"close",label:"transports.delete"})),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.changeIfPersistent([e],!e.isPersistent):2===s?this.details(e):3===s&&this.delete(e)})}changeIfPersistentOfSelected(e){const i=[];this.allTransports.forEach(s=>{this.selections.has(s.id)&&this.selections.get(s.id)&&i.push(s)}),this.changeIfPersistent(i,e)}changeIfPersistent(e,i){if(e.length<1)return;let s="transports.";s+=1===e.length?i?"make-persistent-confirmation":"make"+(e[0].notFound?"-offline":"")+"-non-persistent-confirmation":i?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation";const o=rn.createConfirmationDialog(this.dialog,s);o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.persistentTransportSubscription=this.transportService.getPersistentTransports(this.nodePK).subscribe(a=>{const l=a||[];let c=!1;const _=new Map;if(e.forEach(E=>_.set(this.getPersistentTransportID(E.remotePk,E.type),E)),i)l.forEach(E=>{_.has(this.getPersistentTransportID(E.pk,E.type))&&_.delete(this.getPersistentTransportID(E.pk,E.type))}),c=0===_.size,c||_.forEach(E=>{l.push({pk:E.remotePk,type:E.type})});else{c=!0;for(let E=0;E{o.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.changes-made")},E=>{E=an(E),o.componentInstance.showDone("confirmation.error-header-text",E.translatableErrorMsg)})},a=>{a=an(a),o.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}details(e){iK.openDialog(this.dialog,e)}delete(e){const s=rn.createConfirmationDialog(this.dialog,"transports.delete-"+(e.isPersistent?"persistent-":"")+"confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e.id).subscribe(()=>{s.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")},o=>{o=an(o),s.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))})}refreshData(){At.refreshCurrentDisplayedData()}getPersistentTransportID(e,i){return e.toUpperCase()+i.toUpperCase()}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredTransports){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(i,i+e);const o=new Map;this.transportsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}startDeleting(e){return this.transportService.delete(At.getCurrentNodeKey(),e)}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(G0),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,rK,6,7,"span",2),U(3,lK,5,4,"div",3),k(),T(4,"div",4)(5,"div",5)(6,"mat-icon",6),Me("click",function(){return i.create()}),O(7,"add"),k(),U(8,cK,2,1,"mat-icon",7),U(9,uK,2,2,"mat-icon",8),T(10,"mat-menu",9,10)(12,"div",11),Me("click",function(){return i.changeAllSelections(!0)}),O(13),Y(14,"translate"),k(),T(15,"div",11),Me("click",function(){return i.changeAllSelections(!1)}),O(16),Y(17,"translate"),k(),T(18,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!0)}),O(19),Y(20,"translate"),k(),T(21,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!1)}),O(22),Y(23,"translate"),k(),T(24,"div",12),Me("click",function(){return i.deleteSelected()}),O(25),Y(26,"translate"),k()()(),U(27,dK,1,6,"app-paginator",13),k()(),U(28,$K,50,46,"div",14),U(29,KK,6,3,"div",14),U(30,ZK,1,6,"app-paginator",13)),2&e&&(D("ngClass",Ue(29,QK,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("inline",!0),d(2),D("ngIf",i.allTransports&&i.allTransports.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(14,19,"selection.select-all")," "),d(3),ye(" ",B(17,21,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(20,23,"transports.make-selected-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(23,25,"transports.make-selected-non-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(26,27,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt,Vh],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),t})();function JK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"settings"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.app")," "))}function XK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"swap_horiz"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.forward")," "))}function eZ(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"arrow_forward"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function tZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k()()),2&t){const e=W(2);d(3),pe(B(4,5,"routes.details.specific-fields.route-id")),d(2),ye(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),d(3),pe(B(9,7,"routes.details.specific-fields.transport-id")),d(2),ps(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function nZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k()()),2&t){const e=W(2);d(3),pe(B(4,10,"routes.details.specific-fields.destination-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),d(3),pe(B(9,12,"routes.details.specific-fields.source-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),d(3),pe(B(14,14,"routes.details.specific-fields.destination-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),d(3),pe(B(19,16,"routes.details.specific-fields.source-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function iZ(t,n){if(1&t&&(T(0,"div")(1,"div",5)(2,"mat-icon",2),O(3,"list"),k(),O(4),Y(5,"translate"),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k(),U(21,JK,5,4,"div",6),U(22,XK,5,4,"div",6),U(23,eZ,5,4,"div",6),U(24,tZ,11,9,"div",4),U(25,nZ,21,18,"div",4),k()),2&t){const e=W();d(2),D("inline",!0),d(2),ye("",B(5,13,"routes.details.summary.title")," "),d(4),pe(B(9,15,"routes.details.summary.keep-alive")),d(2),ye(" ",e.routeRule.ruleSummary.keepAlive," "),d(3),pe(B(14,17,"routes.details.summary.type")),d(2),ye(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),d(3),pe(B(19,19,"routes.details.summary.key-route-id")),d(2),ye(" ",e.routeRule.ruleSummary.keyRouteId," "),d(1),D("ngIf",e.routeRule.appFields),d(1),D("ngIf",e.routeRule.forwardFields),d(1),D("ngIf",e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}let rZ=(()=>{class t{constructor(e,i,s){this.dialogRef=i,this.storageService=s,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}getRuleTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):e.toString()}closePopup(){this.dialogRef.close()}getLabel(e){const i=this.storageService.getLabelInfo(e);return i?" ("+i.label+")":""}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-details"]],decls:19,vars:17,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),O(12),k(),T(13,"div",3)(14,"span"),O(15),Y(16,"translate"),k(),O(17),k(),U(18,iZ,26,21,"div",4),k()()),2&e&&(D("headline",B(1,9,"routes.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,11,"routes.details.basic.title")," "),d(4),pe(B(11,13,"routes.details.basic.key")),d(2),ye(" ",i.routeRule.key," "),d(3),pe(B(16,15,"routes.details.basic.rule")),d(2),ye(" ",i.routeRule.rule," "),d(1),D("ngIf",i.routeRule.ruleSummary))},dependencies:[Ot,Cn,bi,kt]}),t})(),KE=(()=>{class t{constructor(e){this.apiService=e}get(e,i){return this.apiService.get(`visors/${e}/routes/${i}`)}delete(e,i){return this.apiService.delete(`visors/${e}/routes/${i}`)}setMinHops(e,i){return this.apiService.post(`visors/${e}/min-hops`,{min_hops:i})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sZ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"routes.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"routes.info")))}function oZ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function aZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function lZ(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,oZ,3,3,"ng-container",20),U(5,aZ,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function cZ(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,lZ,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function uZ(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function dZ(t,n){1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const K0=function(t){return["/nodes",t,"routes"]};function hZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function fZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _Z(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function gZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td")(2,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(3,"td")(4,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(2),Ln("id",e.src),D("short",!0)("elementType",i.labeledElementTypes.Node),d(2),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Node)}}function vZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td")(4,"app-labeled-element-text",42),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(4),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Transport)}}function bZ(t,n){1&t&&(qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td"),O(4,"---"),k(),Ke())}function yZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),U(7,gZ,5,6,"ng-container",20),U(8,vZ,5,3,"ng-container",20),U(9,bZ,5,0,"ng-container",20),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).details(o))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"visibility"),k()(),T(15,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.key))}),Y(16,"translate"),T(17,"mat-icon",36),O(18,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.key)),d(2),ye(" ",e.key," "),d(2),ye(" ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(2),D("matTooltip",B(12,10,"routes.details.title")),d(2),D("inline",!0),d(2),D("matTooltip",B(16,12,"routes.delete")),d(2),D("inline",!0)}}function MZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function wZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function CZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": "),T(6,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(7,"div",44)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),T(12,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,6,"routes.source")),d(3),Ln("id",e.src),D("elementType",i.labeledElementTypes.Node),d(3),pe(B(10,8,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Node)}}function SZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,4,"routes.source")),d(5),pe(B(9,6,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Transport)}}function DZ(t,n){1&t&&(qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": --- "),k(),Ke()),2&t&&(d(3),pe(B(4,2,"routes.source")),d(5),pe(B(9,4,"routes.destination")))}function kZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",44)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),U(16,CZ,13,10,"ng-container",20),U(17,SZ,12,8,"ng-container",20),U(18,DZ,11,6,"ng-container",20),k(),De(19,"div",45),T(20,"div",35)(21,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(22,"translate"),T(23,"mat-icon"),O(24),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.key)),d(4),pe(B(9,10,"routes.key")),d(2),ye(": ",e.key," "),d(3),pe(B(14,12,"routes.type")),d(2),ye(": ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(3),D("matTooltip",B(22,14,"common.options")),d(3),pe("add")}}function TZ(t,n){if(1&t&&De(0,"app-view-all-link",48),2&t){const e=W(2);D("numberOfElements",e.filteredRoutes.length)("linkParts",Ue(3,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const xZ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},LZ=function(t){return{"d-lg-none d-xl-table":t}},EZ=function(t){return{"d-lg-table d-xl-none":t}};function PZ(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(6),Y(7,"translate"),U(8,fZ,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(10),Y(11,"translate"),U(12,pZ,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.sourceSortData))}),O(14),Y(15,"translate"),U(16,mZ,2,2,"mat-icon",28),k(),T(17,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.destinationSortData))}),O(18),Y(19,"translate"),U(20,_Z,2,2,"mat-icon",28),k(),De(21,"th",29),k(),U(22,yZ,19,14,"tr",30),k(),T(23,"table",31)(24,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,MZ,3,3,"ng-container",20),U(35,wZ,3,3,"ng-container",20),k()(),T(36,"div",35)(37,"mat-icon",36),O(38,"keyboard_arrow_down"),k()()()()(),U(39,kZ,25,16,"tr",30),k(),U(40,TZ,1,5,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,xZ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,LZ,e.showShortList_)),d(4),ye(" ",B(7,19,"routes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(2),ye(" ",B(11,21,"routes.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(15,23,"routes.source")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.sourceSortData),d(2),ye(" ",B(19,25,"routes.destination")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.destinationSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,EZ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function IZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty")))}function OZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty-with-filter")))}function AZ(t,n){if(1&t&&(T(0,"div",24)(1,"div",49)(2,"mat-icon",50),O(3,"warning"),k(),U(4,IZ,3,3,"span",51),U(5,OZ,3,3,"span",51),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allRoutes.length),d(1),D("ngIf",0!==e.allRoutes.length)}}function RZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const FZ=function(t){return{"paginator-icons-fixer":t}};let ZE=(()=>{class t{constructor(e,i,s,o,a,l,c){this.routeService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="rl",this.keySortData=new In(["key"],"routes.key",Jt.Number),this.typeSortData=new In(["type"],"routes.type",Jt.Number),this.sourceSortData=new In(["src"],"routes.source",Jt.Text,["src_label"]),this.destinationSortData=new In(["dst"],"routes.destination",Jt.Text,["dst_label"]),this.labeledElementTypes=ur,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:qn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:qn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:qn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()});const E={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:qn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((R,$)=>{E.printableLabelsForValues.push({value:$+"",label:R})}),this.filterProperties=[E].concat(this.filterProperties),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredRoutes=R,this.dataSorter.setData(this.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredRoutes)}set routes(e){this.allRoutes=e,this.allRoutes.forEach(i=>{if(i.type=i.ruleSummary.ruleType||0===i.ruleSummary.ruleType?i.ruleSummary.ruleType:"",i.appFields||i.forwardFields){const s=i.appFields?i.appFields.routeDescriptor:i.forwardFields.routeDescriptor;i.src=s.srcPk,i.src_label=na.getCompleteLabel(this.storageService,this.translateService,i.src),i.dst=s.dstPk,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)}else i.intermediaryForwardFields?(i.src="",i.src_label="",i.dst=i.intermediaryForwardFields.nextTid,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)):(i.src="",i.src_label="",i.dst="",i.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}refreshData(){At.refreshCurrentDisplayedData()}getTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):"Unknown"}changeSelection(e){this.selections.get(e.key)?this.selections.set(e.key,!1):this.selections.set(e.key,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(s=>{1===s?this.details(e):2===s&&this.delete(e.key)})}details(e){rZ.openDialog(this.dialog,e)}delete(e){const i=rn.createConfirmationDialog(this.dialog,"routes.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e).subscribe(()=>{i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")},s=>{s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(i,i+e);const o=new Map;this.routesToShow.forEach(l=>{o.set(l.key,!0),this.selections.has(l.key)||this.selections.set(l.key,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}startDeleting(e){return this.routeService.delete(At.getCurrentNodeKey(),e.toString())}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(KE),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,sZ,6,7,"span",2),U(3,cZ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,uZ,3,4,"mat-icon",6),U(7,dZ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,hZ,1,6,"app-paginator",12),k()(),U(20,PZ,41,38,"div",13),U(21,AZ,6,3,"div",13),U(22,RZ,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,FZ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allRoutes&&i.allRoutes.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})(),NZ=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.node=e,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&De(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(D("node",i.node)("showShortList",!0),d(1),D("routes",i.routes)("showShortList",!0)("nodePK",i.nodePK))},dependencies:[qE,ZE]}),t})();function YZ(t,n){if(1&t&&(T(0,"mat-option",4),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;D("value",e.days),d(1),pe(B(2,2,e.text))}}let HZ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(e=>{this.dialogRef.close(this.filters.find(i=>i.days===e))})}ngOnDestroy(){this.formSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-log-filter"]],decls:7,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),U(6,YZ,3,4,"mat-option",3),k()()()()),2&e&&(D("headline",B(1,5,"apps.log.filter.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(5,7,"apps.log.filter.filter")),d(2),D("ngForOf",i.filters))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Nh,su,bi,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t})();const VZ=["content"];function BZ(t,n){if(1&t&&(T(0,"div",8)(1,"span",3),O(2),k(),O(3),k()),2&t){const e=n.$implicit;d(2),ye(" ",e.time," "),d(1),ye(" ",e.msg," ")}}function jZ(t,n){1&t&&(T(0,"div",9),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.log.empty")," "))}function UZ(t,n){1&t&&De(0,"app-loading-indicator",10),2&t&&D("showWhite",!1)}let zZ=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.appsService=s,this.dialog=o,this.snackbarService=a,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription()}filter(){HZ.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(e=>{e&&(this.currentFilter=e,this.logMessages=[],this.loadData(0))})}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=ze(1).pipe(Ji(e),we(()=>this.appsService.getLogMessages(At.getCurrentNodeKey(),this.data.name,this.currentFilter.days))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}onLogsReceived(e=[]){this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),e.forEach(i=>{const s=i.startsWith("[")?0:-1,o=-1!==s?i.indexOf("]"):-1;this.logMessages.push(-1!==s&&-1!==o?{time:i.substr(s,o+1),msg:i.substr(o+1)}:{time:"",msg:i})}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}onLogsError(e){e=an(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(Gn),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-log"]],viewQuery:function(e,i){if(1&e&&vt(VZ,5),2&e){let s;at(s=lt())&&(i.content=s.first)}},decls:16,vars:15,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1)(3,"div",2),Me("click",function(){return i.filter()}),T(4,"span",3),O(5),Y(6,"translate"),k(),O(7,"\xa0 "),T(8,"span"),O(9),Y(10,"translate"),k()()(),T(11,"mat-dialog-content",null,4),U(13,BZ,4,2,"div",5),U(14,jZ,3,3,"div",6),U(15,UZ,1,1,"app-loading-indicator",7),k()()),2&e&&(D("headline",B(1,9,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),d(5),pe(B(6,11,"apps.log.filter-button")),d(4),pe(B(10,13,i.currentFilter.text)),d(4),D("ngForOf",i.logMessages),d(1),D("ngIf",!(i.loading||i.logMessages&&0!==i.logMessages.length)),d(1),D("ngIf",i.loading))},dependencies:[Fi,Ot,h0,bi,ko,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),t})();const WZ=["button"],$Z=["firstInput"],y_=function(t){return{"element-disabled":t}};function GZ(t,n){if(1&t&&(T(0,"mat-form-field",2),De(1,"input",10),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,y_,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-server-settings.netifc"))}}function qZ(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"mat-checkbox",12),Me("change",function(s){return Ie(e),Oe(W().setSecureMode(s))}),O(2),Y(3,"translate"),T(4,"mat-icon",13),Y(5,"translate"),O(6,"help"),k()()()}if(2&t){const e=W();d(1),D("checked",e.secureMode)("ngClass",Ue(9,y_,e.disableDismiss)),d(1),ye(" ",B(3,5,"apps.vpn-socks-server-settings.secure-mode-check")," "),d(2),D("inline",!0)("matTooltip",B(5,7,"apps.vpn-socks-server-settings.secure-mode-info"))}}let KZ=(()=>{class t{constructor(e,i,s,o,a,l){this.data=e,this.appsService=i,this.formBuilder=s,this.dialogRef=o,this.snackbarService=a,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(()=>{this.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(let e=0;ethis.firstInput.nativeElement.focus())}ngOnDestroy(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setSecureMode(e){this.button.disabled||(this.secureMode=!!e.checked)}saveChanges(){if(!this.form.valid||this.button.disabled)return;const e=this.form.get("password").value?"apps.vpn-socks-server-settings.change-passowrd-confirmation":"apps.vpn-socks-server-settings.remove-passowrd-confirmation",i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.continueSavingChanges()})}continueSavingChanges(){this.button.showLoading();const e={passcode:this.form.get("password").value};this.configuringVpn&&(e.secure=this.secureMode,e.netifc=this.form.get("netifc").value),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-server-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}validatePasswords(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(Mu),N(ts),N(ei),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-settings"]],viewQuery:function(e,i){if(1&e&&(vt(WZ,5),vt($Z,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:20,vars:27,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[3,"ngClass"],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["id","passwordConfirmation","type","password","formControlName","passwordConfirmation","maxlength","100","matInput","",3,"placeholder"],[3,"ngClass",4,"ngIf"],["class","main-theme settings-option",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["id","netifc","type","text","formControlName","netifc","matInput","",3,"placeholder"],[1,"main-theme","settings-option"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field",2),De(4,"input",3,4),Y(6,"translate"),k(),T(7,"mat-form-field",2),De(8,"input",5,4),Y(10,"translate"),T(11,"mat-error"),O(12),Y(13,"translate"),k()(),U(14,GZ,3,6,"mat-form-field",6),U(15,qZ,7,11,"div",7),k(),T(16,"app-button",8,9),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()),2&e&&(D("headline",B(1,13,"apps.vpn-socks-server-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(23,y_,i.disableDismiss)),d(1),D("placeholder",B(6,15,"apps.vpn-socks-server-settings.new-password")),d(3),D("ngClass",Ue(25,y_,i.disableDismiss)),d(1),D("placeholder",B(10,17,"apps.vpn-socks-server-settings.repeat-password")),d(4),ye(" ",B(13,19,"apps.vpn-socks-server-settings.passwords-not-match")," "),d(2),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.configuringVpn),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(19,21,"apps.vpn-socks-server-settings.save")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Ja,Tr,bi,kt]}),t})();const ZZ=["firstInput"];let QZ=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i||"",s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({note:[this.data]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("note").value.trim();this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-skysocks-client-note"]],viewQuery:function(e,i){if(1&e&&vt(ZZ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.finish()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"apps.vpn-socks-client-settings.change-note-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"apps.vpn-socks-client-settings.change-note-dialog.note")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const sa={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Democratic Republic",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (North)",KR:"Korea (South)",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",ME:"Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown"};function JZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit,i=W(2);d(1),pe(i.completeCountriesList[e.toUpperCase()])}}function XZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.toUpperCase())}}function eQ(t,n){if(1&t&&(T(0,"mat-option",8)(1,"div",10),De(2,"div"),k(),U(3,JZ,2,1,"ng-container",2),U(4,XZ,2,1,"ng-container",2),k()),2&t){const e=n.$implicit,i=W(2);D("value",e.toUpperCase()),d(2),oi("background-image: url('assets/img/flags/"+e.toLocaleLowerCase()+".png');"),d(1),D("ngIf",i.completeCountriesList[e.toUpperCase()]),d(1),D("ngIf",!i.completeCountriesList[e.toUpperCase()])}}function tQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.filter-dialog.any-country")," "))}function nQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.completeCountriesList[e.form.get("country").value])}}function iQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.form.get("country").value)}}function rQ(t,n){if(1&t&&(qe(0),T(1,"div",10),De(2,"div"),k(),U(3,nQ,2,1,"ng-container",2),U(4,iQ,2,1,"ng-container",2),Ke()),2&t){const e=W(2);d(2),oi("background-image: url('assets/img/flags/"+e.form.get("country").value.toLocaleLowerCase()+".png');"),d(1),D("ngIf",e.completeCountriesList[e.form.get("country").value]),d(1),D("ngIf",!e.completeCountriesList[e.form.get("country").value])}}function sQ(t,n){if(1&t&&(T(0,"mat-form-field")(1,"mat-select",7),Y(2,"translate"),T(3,"mat-option",8),O(4),Y(5,"translate"),k(),U(6,eQ,5,5,"mat-option",9),T(7,"mat-select-trigger"),U(8,tQ,3,3,"ng-container",2),U(9,rQ,5,4,"ng-container",2),k()()()),2&t){const e=W();d(1),D("placeholder",B(2,6,"apps.vpn-socks-client-settings.filter-dialog.country")),d(2),D("value","-"),d(1),pe(B(5,8,"apps.vpn-socks-client-settings.filter-dialog.any-country")),d(2),D("ngForOf",e.data.availableCountries),d(2),D("ngIf","-"===e.form.get("country").value),d(1),D("ngIf","-"!==e.form.get("country").value)}}class QE{constructor(){this.country="",this.location="",this.key=""}}let oQ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.completeCountriesList=sa}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({country:[this.data.currentFilters.country?this.data.currentFilters.country:"-"],"location-text":[this.data.currentFilters.location],"key-text":[this.data.currentFilters.key]})}apply(){const e=new QE;let i=this.form.get("country").value.trim();"-"===i&&(i=""),e.country=i,e.location=this.form.get("location-text").value.trim(),e.key=this.form.get("key-text").value.trim(),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-filter"]],decls:14,vars:15,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngIf"],["formControlName","location-text","maxlength","100","matInput","",3,"placeholder"],["formControlName","key-text","maxlength","66","matInput","",3,"placeholder"],["type","mat-raised-button","color","primary",1,"float-right",3,"action"],["button",""],["formControlName","country","id","country",3,"placeholder"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"flag-container"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,sQ,10,10,"mat-form-field",2),T(4,"mat-form-field"),De(5,"input",3),Y(6,"translate"),k(),T(7,"mat-form-field"),De(8,"input",4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.apply()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,7,"apps.vpn-socks-client-settings.filter-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngIf",i.data.availableCountries.length>0),d(2),D("placeholder",B(6,9,"apps.vpn-socks-client-settings.filter-dialog.location")),d(3),D("placeholder",B(9,11,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),d(4),ye(" ",B(13,13,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,TW,su,Tr,bi,kt]}),t})();const aQ=["firstInput"];let lQ=(()=>{class t{constructor(e,i){this.dialogRef=e,this.formBuilder=i}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({password:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("password").value;this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,i){if(1&e&&vt(aQ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:13,vars:14,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"div",2),O(4),Y(5,"translate"),k(),T(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5),Me("action",function(){return i.finish()}),O(11),Y(12,"translate"),k()()),2&e&&(D("headline",B(1,6,"apps.vpn-socks-client-settings.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),pe(B(5,8,"apps.vpn-socks-client-settings.password-dialog.info")),d(3),D("placeholder",B(9,10,"apps.vpn-socks-client-settings.password-dialog.password")),d(4),ye(" ",B(12,12,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t})(),cQ=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}getServices(e){const i=[];return this.http.get(this.discoveryServiceUrl+(e?"proxy":"vpn")).pipe(Hh(s=>s.pipe(Ji(4e3))),Xe(s=>(s.forEach(o=>{const a=new Vz,l=o.address.split(":");2===l.length&&(a.address=o.address,a.pk=l[0],a.port=l[1],a.location="",o.geo&&(o.geo.country&&(a.country=o.geo.country,a.location+=sa[o.geo.country.toUpperCase()]?sa[o.geo.country.toUpperCase()]:o.geo.country),o.geo.region&&o.geo.country&&(a.location+=", "),o.geo.region&&(a.region=o.geo.region,a.location+=a.region)),i.push(a))}),i)))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function uQ(t,n){1&t&&mi(0)}const JE=["*"];function dQ(t,n){}const hQ=function(t){return{animationDuration:t}},fQ=function(t,n){return{value:t,params:n}},pQ=["tabListContainer"],mQ=["tabList"],_Q=["tabListInner"],gQ=["nextPaginator"],vQ=["previousPaginator"],bQ=["tabBodyWrapper"],yQ=["tabHeader"];function MQ(t,n){}function wQ(t,n){1&t&&U(0,MQ,0,0,"ng-template",10),2&t&&D("cdkPortalOutlet",W().$implicit.templateLabel)}function CQ(t,n){1&t&&O(0),2&t&&pe(W().$implicit.textLabel)}function SQ(t,n){if(1&t){const e=nt();T(0,"div",6),Me("click",function(){const s=Ie(e),o=s.$implicit,a=s.index,l=W(),c=li(1);return Oe(l._handleClick(o,c,a))})("cdkFocusChange",function(s){const a=Ie(e).index;return Oe(W()._tabFocusChanged(s,a))}),T(1,"div",7),U(2,wQ,1,1,"ng-template",8),U(3,CQ,1,1,"ng-template",null,9,Oa),k()()}if(2&t){const e=n.$implicit,i=n.index,s=li(4),o=W();dn("mat-tab-label-active",o.selectedIndex===i),D("id",o._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||o.disableRipple),Wt("tabIndex",o._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),d(2),D("ngIf",e.templateLabel)("ngIfElse",s)}}function DQ(t,n){if(1&t){const e=nt();T(0,"mat-tab-body",11),Me("_onCentered",function(){return Ie(e),Oe(W()._removeTabBodyWrapperHeight())})("_onCentering",function(s){return Ie(e),Oe(W()._setTabBodyWrapperHeight(s))}),k()}if(2&t){const e=n.$implicit,i=n.index,s=W();dn("mat-tab-body-active",s.selectedIndex===i),D("id",s._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration)("preserveContent",s.preserveContent),Wt("tabindex",null!=s.contentTabIndex&&s.selectedIndex===i?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(i))}}const kQ=new Be("MatInkBarPositioner",{providedIn:"root",factory:function TQ(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let XE=(()=>{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=s,this._animationMode=o}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(An(1)).subscribe(()=>{const i=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=i.left,s.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(kQ),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const xQ=new Be("MatTabContent"),LQ=new Be("MatTabLabel"),EQ=new Be("MAT_TAB"),PQ=iu(class{}),eP=new Be("MAT_TAB_GROUP");let tP=(()=>{class t extends PQ{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new J,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new eu(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(eP,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,LQ,5),gi(s,xQ,7,Ar)),2&e){let o;at(o=lt())&&(i.templateLabel=o.first),at(o=lt())&&(i._explicitContent=o.first)}},viewQuery:function(e,i){if(1&e&&vt(Ar,7),2&e){let s;at(s=lt())&&(i._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[on([{provide:EQ,useExisting:t}]),pt,Ii],ngContentSelectors:JE,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),U(0,uQ,1,0,"ng-template"))},encapsulation:2}),t})();const IQ={translateTab:Ko("translateTab",[Nr("center, void, left-origin-center, right-origin-center",bn({transform:"none"})),Nr("left",bn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Nr("right",bn({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Sr("* => left, * => right, left => center, right => center",Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Sr("void => left-origin-center",[bn({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Sr("void => right-origin-center",[bn({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let OQ=(()=>{class t extends $a{constructor(e,i,s,o){super(e,i,o),this._host=s,this._centeringSub=x.EMPTY,this._leavingSub=x.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Yr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(sn(()=>nP)),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTabBodyHost",""]],features:[pt]}),t})(),AQ=(()=>{class t{constructor(e,i,s){this._elementRef=e,this._dir=i,this._dirChangeSubscription=x.EMPTY,this._translateTabComplete=new J,this._onCentering=new ft,this._beforeCentering=new ft,this._afterLeavingCenter=new ft,this._onCentered=new ft(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),s.markForCheck()})),this._translateTabComplete.pipe(Gy((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275dir=Je({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),nP=(()=>{class t extends AQ{constructor(e,i,s){super(e,i,s)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&vt($a,5),2&e){let s;at(s=lt())&&(i._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[pt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(T(0,"div",0,1),Me("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),U(2,dQ,0,0,"ng-template",2),k()),2&e&&D("@translateTab",hn(3,fQ,i._position,Ue(1,hQ,i.animationDuration)))},dependencies:[OQ],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[IQ.translateTab]}}),t})();const iP=new Be("MAT_TABS_CONFIG"),RQ=iu(class{});let rP=(()=>{class t extends RQ{constructor(e){super(),this.elementRef=e}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)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Wt("aria-disabled",!!i.disabled),dn("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[pt]}),t})();const sP=Ll({passive:!0});let YQ=(()=>{class t{constructor(e,i,s,o,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=s,this._dir=o,this._ngZone=a,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new J,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new J,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ft,this.indexFocused=new ft,a.runOutsideAngular(()=>{Jc(e.nativeElement,"mouseleave").pipe(fn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=eo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Jc(this._previousPaginator.nativeElement,"touchstart",sP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Jc(this._nextPaginator.nativeElement,"touchstart",sP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ze("ltr"),i=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new $x(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(An(1)).subscribe(s),Yt(e,i,this._items.changes,this._itemsResized()).pipe(fn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(fn(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Ba:this._items.changes.pipe(Yr(this._items),lr(e=>new ce(i=>this._ngZone.runOutsideAngular(()=>{const s=new ResizeObserver(()=>{i.next()});return e.forEach(o=>{s.observe(o.elementRef.nativeElement)}),()=>{s.disconnect()}}))),$y(1))}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(e){if(!So(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let l,c;"ltr"==this._getLayoutDirection()?(l=o,c=l+a):(c=this._tabListInner.nativeElement.offsetWidth-o,l=c-a);const _=this.scrollDistance,E=this.scrollDistance+s;l<_?this.scrollDistance-=_-l+60:c>E&&(this.scrollDistance+=c-E+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_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._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Bm(650,100).pipe(fn(Yt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:o}=this._scrollHeader(e);(0===o||o>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),HQ=(()=>{class t extends YQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=En(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disableRipple:"disableRipple"},features:[pt]}),t})(),VQ=(()=>{class t extends HQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,s){if(1&e&&gi(s,rP,4),2&e){let o;at(o=lt())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(vt(XE,7),vt(pQ,7),vt(mQ,7),vt(_Q,7),vt(gQ,5),vt(vQ,5)),2&e){let s;at(s=lt())&&(i._inkBar=s.first),at(s=lt())&&(i._tabListContainer=s.first),at(s=lt())&&(i._tabList=s.first),at(s=lt())&&(i._tabListInner=s.first),at(s=lt())&&(i._nextPaginator=s.first),at(s=lt())&&(i._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pt],ngContentSelectors:JE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),De(2,"div",2),k(),T(3,"div",3,4),Me("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),Me("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7,8),mi(9),k(),De(10,"mat-ink-bar"),k()(),T(11,"button",9,10),Me("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),De(13,"div",2),k()),2&e&&(dn("mat-tab-header-pagination-disabled",i._disableScrollBefore),D("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),d(5),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(6),dn("mat-tab-header-pagination-disabled",i._disableScrollAfter),D("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Xo,qy,XE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.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;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-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.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-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),BQ=0;class jQ{}const UQ=ru(Mh(class{constructor(t){this._elementRef=t}}),"primary");let zQ=(()=>{class t extends UQ{constructor(e,i,s,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new gl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=x.EMPTY,this._tabLabelSubscription=x.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ft,this.focusChange=new ft,this.animationDone=new ft,this.selectedTabChange=new ft(!0),this._groupId=BQ++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=s?.contentTabIndex??null,this.preserveContent=!!s?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=eo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=eo(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=En(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,o)=>s.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,s)=>{i.position=s-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let s;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Yr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new jQ;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,s){e.disabled||(this.selectedIndex=i.focusIndex=s)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(iP,8),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[pt]}),t})(),WQ=(()=>{class t extends zQ{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(iP,8),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,s){if(1&e&&gi(s,tP,5),2&e){let o;at(o=lt())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(vt(bQ,5),vt(yQ,5)),2&e){let s;at(s=lt())&&(i._tabBodyWrapper=s.first),at(s=lt())&&(i._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[on([{provide:eP,useExisting:t}]),pt],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","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(T(0,"mat-tab-header",0,1),Me("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),U(2,SQ,5,15,"div",2),k(),T(3,"div",3,4),U(5,DQ,1,11,"mat-tab-body",5),k()),2&e&&(D("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),d(2),D("ngForOf",i._tabs),d(1),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(2),D("ngForOf",i._tabs))},dependencies:[Wn,Fi,Ot,$a,Xo,p6,rP,nP,VQ],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.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}.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-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;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}"],encapsulation:2}),t})(),$Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,tu,Ch,Rm,n0,Pn]}),t})();const GQ=["button"],qQ=["settingsButton"],KQ=["firstInput"];function ZQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function QQ(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}const aP=function(t){return{"element-disabled":t}};function JQ(t,n){if(1&t&&(T(0,"mat-form-field",3),De(1,"input",22),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,aP,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-client-settings.password"))}}function XQ(t,n){1&t&&(T(0,"div",23)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function eJ(t,n){1&t&&De(0,"app-loading-indicator",25),2&t&&D("showWhite",!1)}function tJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function nJ(t,n){1&t&&(T(0,"div",33),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function iJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e[1]))}}function rJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e[2])}}function sJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),U(4,iJ,3,3,"ng-container",14),U(5,rJ,2,1,"ng-container",14),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e[0])," "),d(2),D("ngIf",e[1]),d(1),D("ngIf",e[2])}}function oJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}const lP=function(t){return{highlighted:t}};function aJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,lP,i%2!=0)),d(1),pe(e)}}function lJ(t,n){if(1&t&&(qe(0),T(1,"div",38),De(2,"div"),k(),Ke()),2&t){const e=W(2).$implicit;d(2),oi("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function cJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,lP,i%2!=0)),d(1),pe(e)}}function uJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"span"),O(5,"\xa0 "),U(6,lJ,3,2,"ng-container",14),U(7,cJ,3,4,"ng-container",36),k()()),2&t){const e=W().$implicit,i=W(2);d(2),pe(B(3,3,"apps.vpn-socks-client-settings.location")),d(4),D("ngIf",e.country),d(1),D("ngForOf",i.getHighlightedTextParts(e.location,i.currentFilters.location))}}function dJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",27),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).saveChanges(o.pk,null,!1,o.location))}),T(2,"div",35)(3,"div",33)(4,"span"),O(5),Y(6,"translate"),k(),T(7,"span"),O(8,"\xa0"),U(9,aJ,3,4,"ng-container",36),k()(),U(10,uJ,8,5,"div",30),k()(),T(11,"button",37),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).copyPk(o.pk))}),Y(12,"translate"),T(13,"mat-icon",24),O(14,"filter_none"),k()()()}if(2&t){const e=n.$implicit,i=W(2);d(5),pe(B(6,5,"apps.vpn-socks-client-settings.key")),d(4),D("ngForOf",i.getHighlightedTextParts(e.pk,i.currentFilters.key)),d(1),D("ngIf",e.location),d(1),D("matTooltip",B(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),d(2),D("inline",!0)}}function hJ(t,n){if(1&t){const e=nt();qe(0),T(1,"button",27),Me("click",function(){return Ie(e),Oe(W().changeFilters())}),T(2,"div",28)(3,"div",29)(4,"mat-icon",24),O(5,"filter_list"),k()(),T(6,"div"),U(7,nJ,3,3,"div",30),U(8,sJ,6,5,"div",31),T(9,"div",32),O(10),Y(11,"translate"),k()()()(),U(12,oJ,5,4,"div",13),U(13,dJ,15,9,"div",16),Ke()}if(2&t){const e=W();d(4),D("inline",!0),d(3),D("ngIf",0===e.currentFiltersTexts.length),d(1),D("ngForOf",e.currentFiltersTexts),d(2),pe(B(11,6,"apps.vpn-socks-client-settings.click-to-change")),d(2),D("ngIf",0===e.filteredProxiesFromDiscovery.length),d(1),D("ngForOf",e.proxiesFromDiscoveryToShow)}}const fJ=function(t,n){return{currentElementsRange:t,totalElements:n}};function pJ(t,n){if(1&t){const e=nt();T(0,"div",39)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"button",40),Me("click",function(){return Ie(e),Oe(W().goToPreviousPage())}),T(5,"mat-icon"),O(6,"chevron_left"),k()(),T(7,"button",40),Me("click",function(){return Ie(e),Oe(W().goToNextPage())}),T(8,"mat-icon"),O(9,"chevron_right"),k()()()}if(2&t){const e=W();d(2),pe(Vt(3,1,"apps.vpn-socks-client-settings.pagination-info",hn(4,fJ,e.currentRange,e.filteredProxiesFromDiscovery.length)))}}const mJ=function(t){return{number:t}};function _J(t,n){if(1&t&&(T(0,"div")(1,"div",26)(2,"mat-icon",24),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),ye(" ",Vt(5,2,"apps.vpn-socks-client-settings.no-history",Ue(5,mJ,e.maxHistoryElements))," ")}}function gJ(t,n){1&t&&Pa(0)}function vJ(t,n){1&t&&Pa(0)}function bJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(2).$implicit;d(2),ye(" ",e.note,"")}}function yJ(t,n){1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),ye(" ",B(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function MJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(4).$implicit;d(2),ye(" (",e.location,")")}}function wJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),U(4,MJ,3,1,"ng-container",14),Ke()),2&t){const e=W(3).$implicit;d(2),ye(" ",B(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),d(2),D("ngIf",e.location)}}function CJ(t,n){if(1&t&&(qe(0),U(1,yJ,4,3,"ng-container",14),U(2,wJ,5,4,"ng-container",14),Ke()),2&t){const e=W(2).$implicit;d(1),D("ngIf",e.enteredManually),d(1),D("ngIf",!e.enteredManually)}}function SJ(t,n){if(1&t&&(T(0,"div",46)(1,"div",47)(2,"div",33)(3,"span"),O(4),Y(5,"translate"),k(),T(6,"span"),O(7),k()(),T(8,"div",33)(9,"span"),O(10),Y(11,"translate"),k(),U(12,bJ,3,1,"ng-container",14),U(13,CJ,3,2,"ng-container",14),k()(),T(14,"div",48)(15,"div",49)(16,"mat-icon",24),O(17,"add"),k()()()()),2&t){const e=W().$implicit;d(4),pe(B(5,6,"apps.vpn-socks-client-settings.key")),d(3),ye(" ",e.key,""),d(3),pe(B(11,8,"apps.vpn-socks-client-settings.note")),d(2),D("ngIf",e.note),d(1),D("ngIf",!e.note),d(3),D("inline",!0)}}function DJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",41),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().useFromHistory(o))}),U(2,gJ,1,0,"ng-container",42),k(),T(3,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().changeNote(o))}),Y(4,"translate"),T(5,"mat-icon",24),O(6,"edit"),k()(),T(7,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().removeFromHistory(o.key))}),Y(8,"translate"),T(9,"mat-icon",24),O(10,"close"),k()(),T(11,"button",44),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().openHistoryOptions(o))}),U(12,vJ,1,0,"ng-container",42),k(),U(13,SJ,18,10,"ng-template",null,45,Oa),k()}if(2&t){const e=li(14);d(2),D("ngTemplateOutlet",e),d(1),D("matTooltip",B(4,6,"apps.vpn-socks-client-settings.change-note")),d(2),D("inline",!0),d(2),D("matTooltip",B(8,8,"apps.vpn-socks-client-settings.remove-entry")),d(2),D("inline",!0),d(3),D("ngTemplateOutlet",e)}}function kJ(t,n){1&t&&(T(0,"div",50)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}let TJ=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.data=e,this.dialogRef=i,this.appsService=s,this.formBuilder=o,this.snackbarService=a,this.dialog=l,this.proxyDiscoveryService=c,this.clipboardService=_,this.storageService=E,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new QE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.migrateDataToHvStorage(),this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(s=>{this.proxiesFromDiscovery=s,this.proxiesFromDiscovery.forEach(o=>{o.country&&this.countriesFromDiscovery.add(o.country.toUpperCase())}),this.filterProxies(),this.loadingFromDiscovery=!1});const e=this.storageService.getDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];let i="";if(this.data.args&&this.data.args.length>0)for(let s=0;sthis.firstInput.nativeElement.focus())}ngOnDestroy(){this.discoverySubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}migrateDataToHvStorage(){const e=localStorage.getItem(this.socksHistoryStorageKey);e&&(this.storageService.setDataForHv(this.socksHistoryStorageKey,e),localStorage.removeItem(this.socksHistoryStorageKey));const i=localStorage.getItem(this.vpnHistoryStorageKey);i&&(this.storageService.setDataForHv(this.vpnHistoryStorageKey,i),localStorage.removeItem(this.vpnHistoryStorageKey))}get disableDismiss(){return!(!this.button||!this.settingsButton)&&(this.button.isLoading||this.settingsButton.isLoading)}setKillswitch(e){this.working||(this.killswitch=!!e.checked)}changeFilters(){const e=[];this.countriesFromDiscovery.forEach(s=>e.push(s)),oQ.openDialog(this.dialog,{currentFilters:this.currentFilters,availableCountries:e}).afterClosed().subscribe(s=>{s&&(this.currentFilters=s,this.filterProxies())})}getHighlightedTextParts(e,i){if(!i)return[e];const s=e.toLowerCase(),o=i.toLowerCase();let a=!0,l=0;const c=[];for(;a;){const _=s.indexOf(o,l);-1===_?a=!1:(c.push(e.substring(l,_)),c.push(e.substring(_,_+i.length)),l=_+i.length)}return c.push(e.substring(l)),c}filterProxies(){this.filteredProxiesFromDiscovery=this.currentFilters.country||this.currentFilters.location||this.currentFilters.key?this.proxiesFromDiscovery.filter(e=>!(this.currentFilters.country&&(!e.country||!e.country.toUpperCase().includes(this.currentFilters.country.toUpperCase()))||this.currentFilters.location&&!e.location.toLowerCase().includes(this.currentFilters.location.toLowerCase())||this.currentFilters.key&&!e.address.toLowerCase().includes(this.currentFilters.key.toLowerCase()))):this.proxiesFromDiscovery,this.updateCurrentFilters(),this.updatePagination()}updateCurrentFilters(){if(this.currentFiltersTexts=[],this.currentFilters.country){const e=sa[this.currentFilters.country.toUpperCase()]?sa[this.currentFilters.country.toUpperCase()]:this.currentFilters.country.toUpperCase();this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.country","",e])}this.currentFilters.location&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.location","",this.currentFilters.location]),this.currentFilters.key&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.pub-key","",this.currentFilters.key])}updatePagination(){this.currentPage=1,this.numberOfPages=Math.ceil(this.filteredProxiesFromDiscovery.length/this.maxElementsPerPage),this.showCurrentPage()}goToNextPage(){this.currentPage>=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}goToPreviousPage(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}showCurrentPage(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage{1===s?this.useFromHistory(e):2===s?this.changeNote(e):3===s&&this.removeFromHistory(e.key)})}removeFromHistory(e){const s=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.remove-from-history-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{this.history=this.history.filter(a=>a.key!==e);const o=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,o),s.close()})}changeNote(e){QZ.openDialog(this.dialog,e.note).afterClosed().subscribe(i=>{if(i){i=i.substr(1,i.length-1),this.history.forEach(o=>{o.key===e.key&&(o.note=i)});const s=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),i?this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"):this.snackbarService.showWarning("apps.vpn-socks-client-settings.default-note-warning")}})}useFromHistory(e){e.hasPassword?lQ.openDialog(this.dialog).afterClosed().subscribe(i=>{i&&(i=i.substr(1,i.length-1),this.saveChanges(e.key,i,e.enteredManually,e.location,e.note))}):this.saveChanges(e.key,null,e.enteredManually,e.location,e.note)}saveChanges(e=null,i=null,s=null,o=null,a=null){if(!this.form.valid&&!e||this.working)return;s=!e||s,i=e?i:this.form.get("password").value,e=e||this.form.get("pk").value;const c=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.change-key-confirmation");c.componentInstance.operationAccepted.subscribe(()=>{c.close(),this.continueSavingChanges(e,i,s,o,a)})}saveSettings(){if(this.working)return;const e={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe(()=>{this.initialKillswitchSetting=this.killswitch,this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.settingsButton.reset(!1),this.button.reset(!1),At.refreshCurrentDisplayedData()},i=>{this.working=!1,this.settingsButton.showError(!1),this.button.reset(!1),i=an(i),this.snackbarService.showError(i)})}copyPk(e){this.clipboardService.copy(e)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}continueSavingChanges(e,i,s,o,a){if(this.working)return;this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;const l={pk:e};this.configuringVpn&&(l.passcode=i||""),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,l).subscribe(()=>this.onServerDataChangeSuccess(e,!!i,s,o,a),c=>this.onServerDataChangeError(c))}onServerDataChangeSuccess(e,i,s,o,a){this.history=this.history.filter(_=>_.key!==e);const l={key:e,enteredManually:s};if(i&&(l.hasPassword=i),o&&(l.location=o),a&&(l.note=a),this.history=[l].concat(this.history),this.history.length>this.maxHistoryElements){const _=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-_,_)}this.form.get("pk").setValue(e);const c=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,c),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}onServerDataChangeError(e){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(ts),N(Vn),N(Gn),N(cQ),N(Rh),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,i){if(1&e&&(vt(GQ,5),vt(qQ,5),vt(KQ,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.settingsButton=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:44,vars:51,consts:[[3,"headline","dialog","disableDismiss"],[3,"label"],[3,"formGroup"],[3,"ngClass"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[3,"ngClass",4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],[4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),T(5,"form",2)(6,"mat-form-field",3),De(7,"input",4,5),Y(9,"translate"),T(10,"mat-error"),U(11,ZQ,3,3,"ng-container",6),k(),U(12,QQ,2,3,"ng-template",null,7,Oa),k(),U(14,JQ,3,6,"mat-form-field",8),U(15,XQ,5,4,"div",9),T(16,"app-button",10,11),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()(),T(20,"mat-tab",1),Y(21,"translate"),U(22,eJ,1,1,"app-loading-indicator",12),U(23,tJ,5,4,"div",13),U(24,hJ,14,8,"ng-container",14),U(25,pJ,10,7,"div",15),k(),T(26,"mat-tab",1),Y(27,"translate"),U(28,_J,6,7,"div",14),U(29,DJ,15,10,"div",16),k(),T(30,"mat-tab",1),Y(31,"translate"),T(32,"div",17)(33,"mat-checkbox",18),Me("change",function(o){return i.setKillswitch(o)}),O(34),Y(35,"translate"),T(36,"mat-icon",19),Y(37,"translate"),O(38,"help"),k()()(),U(39,kJ,5,4,"div",20),T(40,"app-button",10,21),Me("action",function(){return i.saveSettings()}),O(42),Y(43,"translate"),k()()()()),2&e){const s=li(13);D("headline",B(1,29,"apps.vpn-socks-client-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),D("label",B(4,31,"apps.vpn-socks-client-settings.remote-visor-tab")),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(49,aP,i.disableDismiss)),d(1),D("placeholder",B(9,33,"apps.vpn-socks-client-settings.public-key")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(3),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.form&&i.form.get("password").value),d(1),D("disabled",!i.form.valid||i.working),d(2),ye(" ",B(19,35,"apps.vpn-socks-client-settings.save")," "),d(2),D("label",B(21,37,"apps.vpn-socks-client-settings.discovery-tab")),d(2),D("ngIf",i.loadingFromDiscovery),d(1),D("ngIf",!i.loadingFromDiscovery&&0===i.proxiesFromDiscovery.length),d(1),D("ngIf",!i.loadingFromDiscovery&&i.proxiesFromDiscovery.length>0),d(1),D("ngIf",i.numberOfPages>1),d(1),D("label",B(27,39,"apps.vpn-socks-client-settings.history-tab")),d(2),D("ngIf",0===i.history.length),d(1),D("ngForOf",i.history),d(1),D("label",B(31,41,"apps.vpn-socks-client-settings.settings-tab")),d(3),D("checked",i.killswitch),d(1),ye(" ",B(35,43,"apps.vpn-socks-client-settings.killswitch-check")," "),d(2),D("inline",!0)("matTooltip",B(37,45,"apps.vpn-socks-client-settings.killswitch-info")),d(3),D("ngIf",i.killswitch!==i.initialKillswitchSetting),d(1),D("disabled",i.killswitch===i.initialKillswitchSetting||i.working),d(2),ye(" ",B(43,47,"apps.vpn-socks-client-settings.save-settings")," ")}},dependencies:[Wn,Fi,Ot,Tp,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,WQ,tP,kr,Cn,vi,Ja,Tr,bi,ko,kt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),t})();function xJ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.title")))}function LJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function EJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function PJ(t,n){if(1&t&&(T(0,"div",18)(1,"span"),O(2),Y(3,"translate"),k(),U(4,LJ,3,3,"ng-container",19),U(5,EJ,2,1,"ng-container",19),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function IJ(t,n){if(1&t){const e=nt();T(0,"div",15),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,PJ,6,5,"div",16),T(2,"div",17),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function OJ(t,n){if(1&t){const e=nt();T(0,"mat-icon",20),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function AJ(t,n){1&t&&(T(0,"mat-icon",21),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const Z0=function(t){return["/nodes",t,"apps-list"]};function RJ(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,Z0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function FJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function NJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function YJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function HJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function VJ(t,n){if(1&t&&(De(0,"i",46),Y(1,"translate")),2&t){const e=W().$implicit,i=W(2);fs(i.getStateClass(e)),D("matTooltip",B(1,3,i.getStateTooltip(e)))}}const cP=function(t){return{error:t}};function BJ(t,n){if(1&t&&(T(0,"mat-icon",47),Y(1,"translate"),O(2,"warning"),k()),2&t){const e=W().$implicit;D("inline",!0)("matTooltip",Vt(1,2,"apps.status-failed-tooltip",Ue(5,cP,e.detailedStatus?e.detailedStatus:"")))}}function jJ(t,n){if(1&t&&(T(0,"a",48)(1,"button",49),Y(2,"translate"),T(3,"mat-icon",37),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,3,"apps.open")),d(2),D("inline",!0)}}function UJ(t,n){if(1&t){const e=nt();T(0,"button",43),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).config(s))}),Y(1,"translate"),T(2,"mat-icon",37),O(3,"settings"),k()()}2&t&&(D("matTooltip",B(1,2,"apps.settings")),d(2),D("inline",!0))}function zJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,VJ,2,5,"i",41),U(5,BJ,3,7,"mat-icon",42),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),T(10,"td")(11,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppAutostart(o))}),Y(12,"translate"),T(13,"mat-icon",37),O(14),k()()(),T(15,"td",30),U(16,jJ,5,5,"a",44),U(17,UJ,4,4,"button",45),T(18,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).viewLogs(o))}),Y(19,"translate"),T(20,"mat-icon",37),O(21,"list"),k()(),T(22,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppState(o))}),Y(23,"translate"),T(24,"mat-icon",37),O(25),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.name)),d(2),D("ngIf",2!==e.status),d(1),D("ngIf",2===e.status),d(2),ye(" ",e.name," "),d(2),ye(" ",e.port," "),d(2),D("matTooltip",B(12,15,e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),d(2),D("inline",!0),d(1),pe(e.autostart?"done":"close"),d(2),D("ngIf",i.getLink(e)),d(1),D("ngIf",i.appsWithConfig.has(e.name)),d(1),D("matTooltip",B(19,17,"apps.view-logs")),d(2),D("inline",!0),d(2),D("matTooltip",B(23,19,"apps."+(0===e.status||2===e.status?"start-app":"stop-app"))),d(2),D("inline",!0),d(1),pe(0===e.status||2===e.status?"play_arrow":"stop")}}function WJ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function $J(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function GJ(t,n){if(1&t&&(T(0,"a",55),Me("click",function(i){return i.stopPropagation()}),T(1,"button",56),Y(2,"translate"),T(3,"mat-icon"),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,2,"apps.open"))}}function qJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",35)(6,"div",51)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",51)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",51)(17,"span",1),O(18),Y(19,"translate"),k(),O(20,": "),T(21,"span"),O(22),Y(23,"translate"),k()(),T(24,"div",51)(25,"span",1),O(26),Y(27,"translate"),k(),O(28,": "),T(29,"span"),O(30),Y(31,"translate"),k()()(),De(32,"div",52),T(33,"div",36),U(34,GJ,5,4,"a",53),T(35,"button",54),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(36,"translate"),T(37,"mat-icon"),O(38),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.name)),d(4),pe(B(9,16,"apps.apps-list.app-name")),d(2),ye(": ",e.name," "),d(3),pe(B(14,18,"apps.apps-list.port")),d(2),ye(": ",e.port," "),d(3),pe(B(19,20,"apps.apps-list.state")),d(3),fs(i.getSmallScreenStateClass(e)+" title"),d(1),ye(" ",Vt(23,22,i.getSmallScreenStateTextVar(e),Ue(31,cP,e.detailedStatus?e.detailedStatus:""))," "),d(4),pe(B(27,25,"apps.apps-list.auto-start")),d(3),fs((e.autostart?"green-clear-text":"red-clear-text")+" title"),d(1),ye(" ",B(31,27,e.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),d(4),D("ngIf",i.getLink(e)),d(1),D("matTooltip",B(36,29,"common.options")),d(3),pe("add")}}function KJ(t,n){if(1&t&&De(0,"app-view-all-link",57),2&t){const e=W(2);D("numberOfElements",e.filteredApps.length)("linkParts",Ue(3,Z0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const ZJ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},QJ=function(t){return{"d-lg-none d-xl-table":t}},JJ=function(t){return{"d-lg-table d-xl-none":t}};function XJ(t,n){if(1&t){const e=nt();T(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),De(4,"th"),T(5,"th",26),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(6,"translate"),De(7,"span",27),U(8,FJ,2,2,"mat-icon",28),k(),T(9,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),O(10),Y(11,"translate"),U(12,NJ,2,2,"mat-icon",28),k(),T(13,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.portSortData))}),O(14),Y(15,"translate"),U(16,YJ,2,2,"mat-icon",28),k(),T(17,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.autoStartSortData))}),O(18),Y(19,"translate"),U(20,HJ,2,2,"mat-icon",28),k(),De(21,"th",30),k(),U(22,zJ,26,21,"tr",31),k(),T(23,"table",32)(24,"tr",33),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,WJ,3,3,"ng-container",19),U(35,$J,3,3,"ng-container",19),k()(),T(36,"div",36)(37,"mat-icon",37),O(38,"keyboard_arrow_down"),k()()()()(),U(39,qJ,39,33,"tr",31),k(),U(40,KJ,1,5,"app-view-all-link",38),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,ZJ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,QJ,e.showShortList_)),d(3),D("matTooltip",B(6,19,"apps.apps-list.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(11,21,"apps.apps-list.app-name")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(2),ye(" ",B(15,23,"apps.apps-list.port")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.portSortData),d(2),ye(" ",B(19,25,"apps.apps-list.auto-start")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.autoStartSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,JJ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function eX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty")))}function tX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty-with-filter")))}function nX(t,n){if(1&t&&(T(0,"div",23)(1,"div",58)(2,"mat-icon",59),O(3,"warning"),k(),U(4,eX,3,3,"span",60),U(5,tX,3,3,"span",60),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allApps.length),d(1),D("ngIf",0!==e.allApps.length)}}function iX(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,Z0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const rX=function(t){return{"paginator-icons-fixer":t}};let uP=(()=>{class t{constructor(e,i,s,o,a,l,c){this.appsService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="ap",this.stateSortData=new In(["status"],"apps.apps-list.state",Jt.NumberReversed),this.nameSortData=new In(["name"],"apps.apps-list.app-name",Jt.Text),this.portSortData=new In(["port"],"apps.apps-list.port",Jt.Number),this.autoStartSortData=new In(["autostart"],"apps.apps-list.auto-start",Jt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:qn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:qn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(E=>{this.filteredApps=E,this.dataSorter.setData(this.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(E=>{if(E.has("page")){let R=Number.parseInt(E.get("page"),10);(isNaN(R)||R<1)&&(R=1),this.currentPageInUrl=R,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredApps)}set apps(e){this.allApps=e||[],this.dataFilterer.setData(this.allApps)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}getLink(e){if("skychat"===e.name.toLocaleLowerCase()&&this.nodeIp&&0!==e.status&&2!==e.status){let i="8001";if(e.args)for(let s=0;s{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}changeStateOfSelected(e){const i=[];if(this.selections.forEach((s,o)=>{s&&(e&&(0===this.appsMap.get(o).status||2===this.appsMap.get(o).status)||!e&&0!==this.appsMap.get(o).status&&2!==this.appsMap.get(o).status)&&i.push(o)}),e)this.changeAppsValRecursively(i,!1,e);else{const s=rn.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!1,e,s)})}}changeAutostartOfSelected(e){const i=[];this.selections.forEach((o,a)=>{o&&(e&&!this.appsMap.get(a).autostart||!e&&this.appsMap.get(a).autostart)&&i.push(a)});const s=rn.createConfirmationDialog(this.dialog,e?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!0,e,s)})}showOptionsDialog(e){const i=[{icon:"list",label:"apps.view-logs"},{icon:0===e.status||2===e.status?"play_arrow":"stop",label:"apps."+(0===e.status||2===e.status?"start-app":"stop-app")},{icon:e.autostart?"close":"done",label:e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithConfig.has(e.name)&&i.push({icon:"settings",label:"apps.settings"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.viewLogs(e):2===s?this.changeAppState(e):3===s?this.changeAppAutostart(e):4===s&&this.config(e)})}changeAppState(e){if(0===e.status||2===e.status)this.changeSingleAppVal(this.startChangingAppState(e.name,!0));else{const i=rn.createConfirmationDialog(this.dialog,"apps.stop-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppState(e.name,!1),i)})}}changeAppAutostart(e){const i=rn.createConfirmationDialog(this.dialog,e.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppAutostart(e.name,!e.autostart),i)})}changeSingleAppVal(e,i=null){this.operationSubscriptionsGroup.push(e.subscribe(()=>{i&&i.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")},s=>{s=an(s),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),i?i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):this.snackbarService.showError(s)}))}viewLogs(e){0!==e.status&&2!==e.status?zZ.openDialog(this.dialog,e):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}config(e){"skysocks"===e.name||"vpn-server"===e.name?KZ.openDialog(this.dialog,e):"skysocks-client"===e.name||"vpn-client"===e.name?TJ.openDialog(this.dialog,e):this.snackbarService.showError("apps.error")}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredApps){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(i,i+e),this.appsMap=new Map,this.appsToShow.forEach(a=>{this.appsMap.set(a.name,a),this.selections.has(a.name)||this.selections.set(a.name,!1)});const o=[];this.selections.forEach((a,l)=>{this.appsMap.has(l)||o.push(l)}),o.forEach(a=>{this.selections.delete(a)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(()=>At.refreshCurrentDisplayedData(),2e3))}startChangingAppState(e,i){return this.appsService.changeAppState(At.getCurrentNodeKey(),e,i).pipe(Xe(s=>(null!=s.status&&this.dataSource.forEach(o=>{o.name===e&&(o.status=s.status,o.detailedStatus=s.detailed_status)}),s)))}startChangingAppAutostart(e,i){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),e,i)}changeAppsValRecursively(e,i,s,o=null){if(!e||0===e.length)return setTimeout(()=>At.refreshCurrentDisplayedData(),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(o&&o.close());let a;a=i?this.startChangingAppAutostart(e[e.length-1],s):this.startChangingAppState(e[e.length-1],s),this.operationSubscriptionsGroup.push(a.subscribe(()=>{e.pop(),0===e.length?(o&&o.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")):this.changeAppsValRecursively(e,i,s,o)},l=>{l=an(l),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):this.snackbarService.showError(l)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Mu),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,xJ,3,3,"span",2),U(3,IJ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,OJ,3,4,"mat-icon",6),U(7,AJ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.changeStateOfSelected(!0)}),O(17),Y(18,"translate"),k(),T(19,"div",11),Me("click",function(){return i.changeStateOfSelected(!1)}),O(20),Y(21,"translate"),k(),T(22,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!0)}),O(23),Y(24,"translate"),k(),T(25,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!1)}),O(26),Y(27,"translate"),k()()(),U(28,RJ,1,6,"app-paginator",12),k()(),U(29,XJ,41,38,"div",13),U(30,nX,6,3,"div",13),U(31,iX,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(32,rX,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allApps&&i.allApps.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,20,"selection.select-all")," "),d(3),ye(" ",B(15,22,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,24,"selection.start-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(21,26,"selection.stop-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(24,28,"selection.enable-autostart-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(27,30,"selection.disable-autostart-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),t})(),sX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps,this.nodeIp=e.ip})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,i){1&e&&De(0,"app-node-app-list",0),2&e&&D("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp)},dependencies:[uP]}),t})();function oX(t,n){1&t&&De(0,"app-transport-list",1),2&t&&D("node",W().node)("showShortList",!1)}let aX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>this.node=e)}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,i){1&e&&U(0,oX,1,2,"app-transport-list",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,qE]}),t})();function lX(t,n){if(1&t&&De(0,"app-route-list",1),2&t){const e=W();D("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}let cX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,lX,1,3,"app-route-list",0),2&e&&D("ngIf",i.routes)},dependencies:[Ot,ZE]}),t})();function uX(t,n){if(1&t&&De(0,"app-node-app-list",1),2&t){const e=W();D("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}let dX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,uX,1,3,"app-node-app-list",0),2&e&&D("ngIf",i.apps)},dependencies:[Ot,uP]}),t})();const hX=["button"],fX=["firstInput"],pX=function(t){return{"element-disabled":t}};let dP=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.routeService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({min:[this.data.minHops,yn.compose([yn.required,yn.maxLength(3),yn.pattern("^[0-9]+$")])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}save(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(KE))},t.\u0275cmp=Qe({type:t,selectors:[["app-router-config"]],viewQuery:function(e,i){if(1&e&&(vt(hX,5),vt(fX,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:14,vars:19,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup","ngClass"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),T(5,"form",2)(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.save()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,9,"router-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),pe(B(4,11,"router-config.info")),d(2),D("formGroup",i.form)("ngClass",Ue(17,pX,i.disableDismiss)),d(2),D("placeholder",B(9,13,"router-config.min-hops")),d(3),D("disabled",!i.form.valid),d(2),ye(" ",B(13,15,"router-config.save-config-button")," "))},dependencies:[Wn,mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),t})(),mX=(()=>{class t{constructor(e){this.clipboardService=e,this.copyEvent=new ft,this.errorEvent=new ft,this.value=""}ngOnDestroy(){this.copyEvent.complete(),this.errorEvent.complete()}copyToClipboard(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}return t.\u0275fac=function(e){return new(e||t)(N(Rh))},t.\u0275dir=Je({type:t,selectors:[["","clipboard",""]],hostBindings:function(e,i){1&e&&Me("click",function(){return i.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t})();function _X(t,n){if(1&t&&(qe(0),De(1,"app-truncated-text",3),O(2," \xa0"),T(3,"mat-icon",4),O(4,"filter_none"),k(),Ke()),2&t){const e=W();d(1),D("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),d(2),D("inline",!0)}}function gX(t,n){if(1&t&&(T(0,"div",5)(1,"div",6),O(2),k(),O(3," \xa0"),T(4,"mat-icon",4),O(5,"filter_none"),k()()),2&t){const e=W();d(2),pe(e.text),d(2),D("inline",!0)}}const vX=function(t){return{text:t}},bX=function(){return{"tooltip-word-break":!0}};let Q0=(()=>{class t{constructor(e){this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}onCopyToClipboardClicked(){this.snackbarService.showDone("copy.copied")}}return t.\u0275fac=function(e){return new(e||t)(N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,i){1&e&&(T(0,"div",0),Me("copyEvent",function(){return i.onCopyToClipboardClicked()}),Y(1,"translate"),U(2,_X,5,5,"ng-container",1),U(3,gX,6,2,"div",2),k()),2&e&&(D("clipboard",i.text)("matTooltip",Vt(1,5,i.short||i.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Ue(8,vX,i.text)))("matTooltipClass",Hn(10,bX)),d(2),D("ngIf",!i.shortSimple),d(1),D("ngIf",i.shortSimple))},dependencies:[Ot,Cn,vi,mX,vE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),t})();var yX=F(6149);const MX=["chart"];let J0=(()=>{class t{constructor(e){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}ngAfterViewInit(){this.chart=new yX.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}ngDoCheck(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}ngOnDestroy(){this.chart&&this.chart.destroy()}updateMinAndMax(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}return t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(N(Yd))},t.\u0275cmp=Qe({type:t,selectors:[["app-line-chart"]],viewQuery:function(e,i){if(1&e&&vt(MX,5),2&e){let s;at(s=lt())&&(i.chartElement=s.first)}},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"canvas",null,1),k()),2&e&&oi("height: "+i.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t})();const hP=function(){return{showValue:!0}},fP=function(){return{showUnit:!0}};let wX=(()=>{class t{constructor(e){this.nodeService=e}ngOnInit(){this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(e=>{this.data=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-line-chart",1),T(2,"div",2)(3,"span",3),O(4),Y(5,"translate"),k(),T(6,"span",4)(7,"span",5),O(8),Y(9,"autoScale"),k(),T(10,"span",6),O(11),Y(12,"autoScale"),k()()()(),T(13,"div",0),De(14,"app-line-chart",1),T(15,"div",2)(16,"span",3),O(17),Y(18,"translate"),k(),T(19,"span",4)(20,"span",5),O(21),Y(22,"autoScale"),k(),T(23,"span",6),O(24),Y(25,"autoScale"),k()()()()),2&e&&(d(1),D("data",i.data.sentHistory),d(3),pe(B(5,8,"common.uploaded")),d(4),pe(Vt(9,10,i.data.totalSent,Hn(24,hP))),d(3),pe(Vt(12,13,i.data.totalSent,Hn(25,fP))),d(3),D("data",i.data.receivedHistory),d(3),pe(B(18,16,"common.downloaded")),d(4),pe(Vt(22,18,i.data.totalReceived,Hn(26,hP))),d(3),pe(Vt(25,21,i.data.totalReceived,Hn(27,fP))))},dependencies:[J0,kt,Vh],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),t})();function CX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.public-ip"),"\xa0"),d(2),Ln("text",e.node.publicIp)}}function SX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.ip"),"\xa0"),d(2),Ln("text",e.node.ip)}}function DX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),O(4),k()),2&t){const e=W(2);d(2),pe(B(3,2,"node.details.node-info.skybian-version")),d(2),ye(" ",e.node.skybianBuildVersion," ")}}const X0=function(t){return{time:t}};function kX(t,n){if(1&t&&(T(0,"mat-icon",12),Y(1,"translate"),O(2," info "),k()),2&t){const e=W(2);D("inline",!0)("matTooltip",Vt(1,2,"node.details.node-info.time.minutes",Ue(5,X0,e.timeOnline.totalMinutes)))}}function TX(t,n){if(1&t){const e=nt();T(0,"div",1)(1,"div",2)(2,"span",3),O(3),Y(4,"translate"),k(),T(5,"span",4)(6,"span",5),O(7),Y(8,"translate"),k(),T(9,"span",6),Me("click",function(){return Ie(e),Oe(W().showEditLabelDialog())}),O(10),T(11,"mat-icon",7),O(12,"edit"),k()()(),T(13,"span",4)(14,"span",5),O(15),Y(16,"translate"),k(),De(17,"app-copy-to-clipboard-text",8),k(),T(18,"span",4)(19,"span",5),O(20),Y(21,"translate"),k(),O(22),Y(23,"translate"),k(),U(24,CX,5,4,"span",9),U(25,SX,5,4,"span",9),T(26,"span",4)(27,"span",5),O(28),Y(29,"translate"),k(),De(30,"app-copy-to-clipboard-text",8),k(),T(31,"span",4)(32,"span",5),O(33),Y(34,"translate"),k(),O(35),Y(36,"translate"),k(),T(37,"span",4)(38,"span",5),O(39),Y(40,"translate"),k(),O(41),Y(42,"translate"),k(),T(43,"span",4)(44,"span",5),O(45),Y(46,"translate"),k(),O(47),Y(48,"translate"),k(),U(49,DX,5,4,"span",9),T(50,"span",4)(51,"span",5),O(52),Y(53,"translate"),k(),O(54),Y(55,"translate"),U(56,kX,3,7,"mat-icon",10),k()(),De(57,"div",11),T(58,"div",2)(59,"span",3),O(60),Y(61,"translate"),k(),T(62,"span",4)(63,"span",5),O(64),Y(65,"translate"),k(),O(66),Y(67,"translate"),T(68,"mat-icon",12),Y(69,"translate"),O(70,"info"),k()(),T(71,"div",13)(72,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeTransportsConfig())}),O(73),Y(74,"translate"),k()()(),De(75,"div",11),T(76,"div",2)(77,"span",3),O(78),Y(79,"translate"),k(),T(80,"span",4)(81,"span",5),O(82),Y(83,"translate"),k(),O(84),k(),T(85,"div",13)(86,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeRouterConfig())}),O(87),Y(88,"translate"),k()()(),De(89,"div",11),T(90,"div",2)(91,"span",3),O(92),Y(93,"translate"),k(),T(94,"span",4)(95,"span",5),O(96),Y(97,"translate"),k(),De(98,"i"),O(99),Y(100,"translate"),k()(),De(101,"div",11),T(102,"div",2)(103,"span",3),O(104),Y(105,"translate"),k(),De(106,"app-charts",15),k()()}if(2&t){const e=W();d(3),pe(B(4,40,"node.details.node-info.title")),d(4),pe(B(8,42,"node.details.node-info.label")),d(3),ye(" ",e.node.label," "),d(1),D("inline",!0),d(4),ye("",B(16,44,"node.details.node-info.public-key"),"\xa0"),d(2),Ln("text",e.node.localPk),d(3),ye("",B(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),d(2),ye(" ",B(23,48,e.node.isSymmeticNat?"common.yes":"common.no")," "),d(2),D("ngIf",!e.node.isSymmeticNat),d(1),D("ngIf",e.node.ip),d(3),ye("",B(29,50,"node.details.node-info.dmsg-server"),"\xa0"),d(2),Ln("text",e.node.dmsgServerPk),d(3),ye("",B(34,52,"node.details.node-info.ping"),"\xa0"),d(2),ye(" ",Vt(36,54,"common.time-in-ms",Ue(94,X0,e.node.roundTripPing))," "),d(4),pe(B(40,57,"node.details.node-info.node-version")),d(2),ye(" ",e.node.version?e.node.version:B(42,59,"common.unknown")," "),d(4),pe(B(46,61,"node.details.node-info.build-type")),d(2),ye(" ",e.node.buildTag?e.node.buildTag:B(48,63,"node.details.node-info.unknown-build")," "),d(2),D("ngIf",e.node.skybianBuildVersion),d(3),pe(B(53,65,"node.details.node-info.time.title")),d(2),ye(" ",Vt(55,67,"node.details.node-info.time."+e.timeOnline.translationVarName,Ue(96,X0,e.timeOnline.elapsedTime))," "),d(2),D("ngIf",e.timeOnline.totalMinutes>60),d(4),pe(B(61,70,"node.details.transports-info.title")),d(4),pe(B(65,72,"node.details.transports-info.autoconnect")),d(2),ye(" ",B(67,74,"node.details.transports-info."+(e.node.autoconnectTransports?"enabled":"disabled"))," "),d(2),D("inline",!0)("matTooltip",B(69,76,"node.details.transports-info.autoconnect-info")),d(4),D("forDarkBackground",!0),d(1),ye(" ",B(74,78,"node.details.transports-info."+(e.node.autoconnectTransports?"disable":"enable")+"-button")," "),d(5),pe(B(79,80,"node.details.router-info.title")),d(4),pe(B(83,82,"node.details.router-info.min-hops")),d(2),ye(" ",e.node.minHops," "),d(2),D("forDarkBackground",!0),d(1),ye(" ",B(88,84,"node.details.router-info.change-config-button")," "),d(5),pe(B(93,86,"node.details.node-health.title")),d(4),pe(B(97,88,"node.details.node-health.uptime-tracker")),d(2),fs(e.nodeHealthClass),d(1),ye(" ",B(100,90,e.nodeHealthText)," "),d(5),pe(B(105,92,"node.details.node-traffic-data"))}}let pP=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.transportService=s,this.snackbarService=o}set nodeInfo(e){this.node=e,this.timeOnline=PE.getElapsedTime(e.secondsOnline),e.health&&e.health.servicesHealth===io.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):e.health&&e.health.servicesHealth===io.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):e.health&&e.health.servicesHealth===io.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}ngOnDestroy(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}showEditLabelDialog(){let e=this.storageService.getLabelInfo(this.node.localPk);e||(e={id:this.node.localPk,label:"",identifiedElementType:ur.Node}),z0.openDialog(this.dialog,e).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeRouterConfig(){dP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeTransportsConfig(){const e=rn.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=this.transportService.changeAutoconnectSetting(this.node.localPk,!this.node.autoconnectTransports);this.autoconnectSubscription=i.subscribe(()=>{e.close(),this.snackbarService.showDone(this.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},s=>{s=an(s),e.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N(G0),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,i){1&e&&U(0,TX,107,98,"div",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,Cn,vi,Q0,Tr,wX,kt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),t})(),xX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.node=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,i){1&e&&De(0,"app-node-info-content",0),2&e&&D("nodeInfo",i.node)},dependencies:[pP]}),t})();const LX=function(){return["settings.title","labels.title"]};let EX=(()=>{class t{constructor(e){this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}performAction(e){null===e&&this.router.navigate(["settings"])}}return t.\u0275fac=function(e){return new(e||t)(N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-label-list",4),k()()),2&e&&(d(2),D("titleParts",Hn(5,LX))("tabsData",i.tabsData)("showUpdateButton",!1)("returnText",i.returnButtonText),d(2),D("showShortList",!1))},dependencies:[Hl,$E]}),t})();const PX=["firstInput"];function IX(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function OX(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}let AX=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialogRef=e,this.data=i,this.formBuilder=s,this.dialog=o,this.router=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({pk:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){if(!this.form.valid)return;const e={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,e,this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Gn),N(Ut),N(wu),N(Yl),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(e,i){if(1&e&&vt(PX,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:23,vars:23,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),T(7,"mat-error"),U(8,IX,3,3,"ng-container",4),k(),U(9,OX,2,3,"ng-template",null,5,Oa),k(),T(11,"mat-form-field"),De(12,"input",6),Y(13,"translate"),k(),T(14,"mat-form-field"),De(15,"input",7),Y(16,"translate"),k(),T(17,"mat-form-field"),De(18,"input",8),Y(19,"translate"),k()(),T(20,"app-button",9),Me("action",function(){return i.process()}),O(21),Y(22,"translate"),k()()),2&e){const s=li(10);D("headline",B(1,11,"vpn.server-list.add-server-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,13,"vpn.server-list.add-server-dialog.pk-label")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(4),D("placeholder",B(13,15,"vpn.server-list.add-server-dialog.password-label")),d(3),D("placeholder",B(16,17,"vpn.server-list.add-server-dialog.name-label")),d(3),D("placeholder",B(19,19,"vpn.server-list.add-server-dialog.note-label")),d(2),D("disabled",!i.form.valid),d(1),ye(" ",B(22,21,"vpn.server-list.add-server-dialog.use-server-button")," ")}},dependencies:[Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Tr,bi,kt]}),t})();class RX{constructor(){this.countryCode="ZZ"}}let FX=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}getServers(){return this.servers?ze(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Hh(e=>e.pipe(Ji(4e3))),Xe(e=>{const i=[];return e.forEach(s=>{const o=new RX,a=s.address.split(":");2===a.length&&(o.pk=a[0],o.location="",s.geo&&(s.geo.country&&(o.countryCode=s.geo.country),s.geo.region&&(o.location=s.geo.region)),o.name=a[0],o.note="",i.push(o))}),this.servers=i,i}))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function NX(t,n){1&t&&Pa(0)}const mP=function(){return["vpn.title"]};function YX(t,n){if(1&t&&(T(0,"div",3)(1,"div",4),De(2,"app-top-bar",5),T(3,"div",6)(4,"div",7)(5,"div",8),U(6,NX,1,0,"ng-container",9),k()()()(),De(7,"app-loading-indicator",10),k()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(6,mP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(4),D("ngTemplateOutlet",i)}}function HX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.public")))}const M_=function(t,n){return["/vpn",t,"servers",n,1]};function VX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Public)),d(2),pe(B(3,2,"vpn.server-list.tabs.public"))}}function BX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.history")))}function jX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.History)),d(2),pe(B(3,2,"vpn.server-list.tabs.history"))}}function UX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.favorites")))}function zX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Favorites)),d(2),pe(B(3,2,"vpn.server-list.tabs.favorites"))}}function WX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.blocked")))}function $X(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Blocked)),d(2),pe(B(3,2,"vpn.server-list.tabs.blocked"))}}function GX(t,n){1&t&&De(0,"br")}function qX(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function KX(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function ZX(t,n){if(1&t&&(T(0,"div",28)(1,"span"),O(2),Y(3,"translate"),k(),U(4,qX,3,3,"ng-container",21),U(5,KX,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function QX(t,n){if(1&t){const e=nt();T(0,"div",25),Me("click",function(){return Ie(e),Oe(W(3).dataFilterer.removeFilters())}),T(1,"div",26)(2,"mat-icon",19),O(3,"search"),k(),O(4),Y(5,"translate"),k(),U(6,ZX,6,5,"div",27),k()}if(2&t){const e=W(3);d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.server-list.current-filters"),""),d(2),D("ngForOf",e.dataFilterer.currentFiltersTexts)}}function JX(t,n){if(1&t&&(qe(0),U(1,GX,1,0,"br",21),U(2,QX,7,5,"div",24),Ke()),2&t){const e=W(2);d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}const XX=function(t){return{deactivated:t}};function eee(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),U(4,HX,4,3,"div",15),U(5,VX,4,7,"a",16),U(6,BX,4,3,"div",15),U(7,jX,4,7,"a",16),U(8,UX,4,3,"div",15),U(9,zX,4,7,"a",16),U(10,WX,4,3,"div",15),U(11,$X,4,7,"a",16),k()()()(),T(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Me("click",function(){Ie(e);const s=W();return Oe(s.dataFilterer?s.dataFilterer.changeFilters():null)}),Y(17,"translate"),T(18,"span")(19,"mat-icon",19),O(20,"search"),k()()()()()()(),T(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Me("click",function(){return Ie(e),Oe(W().enterManually())}),Y(26,"translate"),T(27,"span")(28,"mat-icon",19),O(29,"add"),k()()()()()()(),U(30,JX,3,2,"ng-container",21)}if(2&t){const e=W();d(4),D("ngIf",e.currentList===e.lists.Public),d(1),D("ngIf",e.currentList!==e.lists.Public),d(1),D("ngIf",e.currentList===e.lists.History),d(1),D("ngIf",e.currentList!==e.lists.History),d(1),D("ngIf",e.currentList===e.lists.Favorites),d(1),D("ngIf",e.currentList!==e.lists.Favorites),d(1),D("ngIf",e.currentList===e.lists.Blocked),d(1),D("ngIf",e.currentList!==e.lists.Blocked),d(1),D("ngClass",Ue(18,XX,e.loading)),d(4),D("matTooltip",B(17,14,"filters.filter-info")),d(3),D("inline",!0),d(6),D("matTooltip",B(26,16,"vpn.server-list.add-manually-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataFilterer)}}function tee(t,n){1&t&&Pa(0)}function nee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function iee(t,n){if(1&t){const e=nt();T(0,"th",50),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dateSortData))}),Y(1,"translate"),T(2,"div",43)(3,"div",44),O(4),Y(5,"translate"),k(),U(6,nee,2,2,"mat-icon",41),k()()}if(2&t){const e=W(4);D("matTooltip",B(1,3,"vpn.server-list.date-info")),d(4),ye(" ",B(5,5,"vpn.server-list.date-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dateSortData)}}function ree(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function see(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function oee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function aee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function lee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function cee(t,n){if(1&t&&(T(0,"td",64),O(1),Y(2,"date"),k()),2&t){const e=W().$implicit;d(1),ye(" ",Vt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function uee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),ye(" ",e.location," ")}}function dee(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.unknown")," "))}const hee=function(t,n){return{custom:t,original:n}};function fee(t,n){if(1&t&&(T(0,"mat-icon",65),Me("click",function(i){return i.stopPropagation()}),Y(1,"translate"),O(2,"info_outline"),k()),2&t){const e=W().$implicit,i=W(4);D("inline",!0)("matTooltip",Vt(1,2,i.getNoteVar(e),hn(5,hee,e.personalNote,e.note)))}}const pee=function(t){return{"selectable click-effect":t}};function mee(t,n){if(1&t){const e=nt();T(0,"tr",51),Me("click",function(){const o=Ie(e).$implicit,a=W(4);return Oe(a.currentList!==a.lists.Blocked?a.selectServer(o):null)}),U(1,cee,3,4,"td",52),T(2,"td",53)(3,"div",54),De(4,"div",55),k()(),T(5,"td",56),De(6,"app-vpn-server-name",57),k(),T(7,"td",58),U(8,uee,2,1,"ng-container",21),U(9,dee,3,3,"ng-container",21),k(),T(10,"td",59)(11,"app-copy-to-clipboard-text",60),Me("click",function(s){return s.stopPropagation()}),k()(),T(12,"td",61),U(13,fee,3,8,"mat-icon",62),k(),T(14,"td",48)(15,"button",63),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),Oe(l.openOptions(a))}),Y(16,"translate"),T(17,"mat-icon",19),O(18,"settings"),k()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(23,pee,i.currentList!==i.lists.Blocked)),d(1),D("ngIf",i.currentList===i.lists.History),d(3),oi("background-image: url('assets/img/big-flags/"+e.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",i.getCountryName(e.countryCode)),d(2),D("isCurrentServer",i.currentServer&&e.pk===i.currentServer.pk)("isFavorite",e.flag===i.serverFlags.Favorite&&i.currentList!==i.lists.Favorites)("isBlocked",e.flag===i.serverFlags.Blocked&&i.currentList!==i.lists.Blocked)("isInHistory",e.inHistory&&i.currentList!==i.lists.History)("hasPassword",e.usedWithPassword)("name",e.name)("pk",e.pk)("customName",e.customName)("defaultName","vpn.server-list.none"),d(2),D("ngIf",e.location),d(1),D("ngIf",!e.location),d(2),D("shortSimple",!0)("text",e.pk),d(2),D("ngIf",e.note||e.personalNote),d(2),D("matTooltip",B(16,21,"vpn.server-options.tooltip")),d(2),D("inline",!0)}}const _ee=function(t,n){return{"public-pk-column":t,"history-pk-column":n}};function gee(t,n){if(1&t){const e=nt();T(0,"table",38)(1,"tr"),U(2,iee,7,7,"th",39),T(3,"th",40),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.countrySortData))}),Y(4,"translate"),T(5,"mat-icon",19),O(6,"flag"),k(),U(7,ree,2,2,"mat-icon",41),k(),T(8,"th",42),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),T(9,"div",43)(10,"div",44),O(11),Y(12,"translate"),k(),U(13,see,2,2,"mat-icon",41),k()(),T(14,"th",45),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.locationSortData))}),T(15,"div",43)(16,"div",44),O(17),Y(18,"translate"),k(),U(19,oee,2,2,"mat-icon",41),k()(),T(20,"th",46),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.pkSortData))}),Y(21,"translate"),T(22,"div",43)(23,"div",44),O(24),Y(25,"translate"),k(),U(26,aee,2,2,"mat-icon",41),k()(),T(27,"th",47),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.noteSortData))}),Y(28,"translate"),T(29,"div",43)(30,"mat-icon",19),O(31,"info_outline"),k(),U(32,lee,2,2,"mat-icon",41),k()(),De(33,"th",48),k(),U(34,mee,19,25,"tr",49),k()}if(2&t){const e=W(3);d(2),D("ngIf",e.currentList===e.lists.History),d(1),D("matTooltip",B(4,16,"vpn.server-list.country-info")),d(2),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.countrySortData),d(4),ye(" ",B(12,18,"vpn.server-list.name-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(4),ye(" ",B(18,20,"vpn.server-list.location-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.locationSortData),d(1),D("ngClass",hn(28,_ee,e.currentList===e.lists.Public,e.currentList===e.lists.History))("matTooltip",B(21,22,"vpn.server-list.public-key-info")),d(4),ye(" ",B(25,24,"vpn.server-list.public-key-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pkSortData),d(1),D("matTooltip",B(28,26,"vpn.server-list.note-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.noteSortData),d(2),D("ngForOf",e.dataSource)}}function vee(t,n){if(1&t&&(T(0,"div",35)(1,"div",36),U(2,gee,35,31,"table",37),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0)}}const bee=function(t,n){return["/vpn",t,"servers",n]};function yee(t,n){if(1&t&&De(0,"app-paginator",66),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",hn(4,bee,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Mee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-discovery")))}function wee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-history")))}function Cee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-favorites")))}function See(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-blocked")))}function Dee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-with-filter")))}function kee(t,n){if(1&t&&(T(0,"div",35)(1,"div",67)(2,"mat-icon",68),O(3,"warning"),k(),U(4,Mee,3,3,"span",69),U(5,wee,3,3,"span",69),U(6,Cee,3,3,"span",69),U(7,See,3,3,"span",69),U(8,Dee,3,3,"span",69),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),d(1),D("ngIf",0!==e.allServers.length)}}const Tee=function(t){return{"mb-3":t}};function xee(t,n){if(1&t&&(T(0,"div",29)(1,"div",30),De(2,"app-top-bar",5),k(),T(3,"div",31)(4,"div",7)(5,"div",32),U(6,tee,1,0,"ng-container",9),k(),U(7,vee,3,1,"div",33),U(8,yee,1,7,"app-paginator",34),U(9,kee,9,6,"div",33),k()()()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(10,mP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(3),D("ngClass",Ue(11,Tee,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),d(1),D("ngTemplateOutlet",i),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}var Ti=(()=>(function(t){t.Public="public",t.History="history",t.Favorites="favorites",t.Blocked="blocked"}(Ti||(Ti={})),Ti))();let _P=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.dialog=e,this.router=i,this.translateService=s,this.route=o,this.vpnClientDiscoveryService=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_,this.storageService=E,this.maxFullListElements=50,this.dateSortData=new In(["lastUsed"],"vpn.server-list.date-small-table-label",Jt.NumberReversed),this.countrySortData=new In(["countryName"],"vpn.server-list.country-small-table-label",Jt.Text),this.nameSortData=new In(["name"],"vpn.server-list.name-small-table-label",Jt.Text),this.locationSortData=new In(["location"],"vpn.server-list.location-small-table-label",Jt.Text),this.pkSortData=new In(["pk"],"vpn.server-list.public-key-small-table-label",Jt.Text),this.noteSortData=new In(["note"],"vpn.server-list.note-small-table-label",Jt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=qi.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Ti.Public,this.vpnRunning=!1,this.serverFlags=Bn,this.lists=Ti,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(R=>{if(R.has("type")?R.get("type")===Ti.Favorites?(this.currentList=Ti.Favorites,this.listId="vfs"):R.get("type")===Ti.Blocked?(this.currentList=Ti.Blocked,this.listId="vbs"):R.get("type")===Ti.History?(this.currentList=Ti.History,this.listId="vhs"):(this.currentList=Ti.Public,this.listId="vps"):(this.currentList=Ti.Public,this.listId="vps"),qi.setDefaultTabForServerList(this.currentList),R.has("key")&&(this.currentLocalPk=R.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}this.initialLoadStarted||(this.initialLoadStarted=!0,this.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(R=>this.currentServer=R),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(R=>{R&&(this.loadingBackendData=!1,this.vpnRunning=R.vpnClientAppData.running)})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}enterManually(){AX.openDialog(this.dialog,this.currentLocalPk)}getNoteVar(e){return e.note&&e.personalNote?"vpn.server-list.notes-info":!e.note&&e.personalNote?e.personalNote:e.note}selectServer(e){const i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),i&&i.flag===Bn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===e.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{const s=rn.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.vpnClientService.start(),qi.redirectAfterServerChange(this.router,null,this.currentLocalPk)})}return}if(i&&i.usedWithPassword)return void EE.openDialog(this.dialog,!0).afterClosed().subscribe(s=>{s&&this.makeServerChange(e,"-"===s?null:s.substr(1))});this.makeServerChange(e,null)}}makeServerChange(e,i){qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,e.originalLocalData,e.originalDiscoveryData,null,i)}openOptions(e){let i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);i||(i=this.vpnSavedDataService.processFromDiscovery(e.originalDiscoveryData)),i?qi.openServerOptions(i,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(s=>{s&&this.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}loadData(){if(this.currentList===Ti.Public)this.dataSubscription=this.vpnClientDiscoveryService.getServers().subscribe(e=>{this.allServers=e.map(i=>({countryCode:i.countryCode,countryName:this.getCountryName(i.countryCode),name:i.name,customName:null,location:i.location,pk:i.pk,note:i.note,personalNote:null,originalDiscoveryData:i})),this.vpnSavedDataService.updateFromDiscovery(e),this.loading=!1,this.processAllServers()});else{let e;e=this.currentList===Ti.History?this.vpnSavedDataService.history:this.currentList===Ti.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked,this.dataSubscription=e.subscribe(i=>{const s=[];i.forEach(o=>{s.push({countryCode:o.countryCode,countryName:this.getCountryName(o.countryCode),name:o.name,customName:null,location:o.location,pk:o.pk,note:o.note,personalNote:null,lastUsed:o.lastUsed,inHistory:o.inHistory,flag:o.flag,originalLocalData:o})}),this.allServers=s,this.loading=!1,this.processAllServers()})}}processAllServers(){this.fillFilterPropertiesArray();const e=new Set;this.allServers.forEach((_,E)=>{e.add(_.countryCode);const R=this.vpnSavedDataService.getSavedVersion(_.pk,0===E);_.customName=R?R.customName:null,_.personalNote=R?R.personalNote:null,_.inHistory=!!R&&R.inHistory,_.flag=R?R.flag:Bn.None,_.enteredManually=!!R&&R.enteredManually,_.usedWithPassword=!!R&&R.usedWithPassword});let i=[];e.forEach(_=>{i.push({label:this.getCountryName(_),value:_,image:"/assets/img/big-flags/"+_.toLowerCase()+".png"})}),i.sort((_,E)=>_.label.localeCompare(E.label)),i=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(i),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:qn.Select,printableLabelsForValues:i,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);const o=[];let a,l,c;this.currentList===Ti.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=0,l=1):(this.currentList===Ti.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=this.currentList===Ti.History?0:1,l=this.currentList===Ti.History?2:3),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,o,a,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredServers=_,this.dataSorter.setData(this.filteredServers)}),c=this.currentList===Ti.Public?this.allServers.filter(_=>_.flag!==Bn.Blocked):this.allServers,this.dataFilterer.setData(c)}fillFilterPropertiesArray(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:qn.TextInput,maxlength:100}]}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){const e=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(i,i+e)}else this.serversToShow=null;this.dataSource=this.serversToShow}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut),N(Hr),N(Qi),N(FX),N(wu),N(Yl),N(Vn),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,YX,8,7,"div",0),U(1,eee,31,20,"ng-template",null,1,Oa),U(3,xee,10,13,"div",2)),2&e&&(D("ngIf",i.loading||i.loadingBackendData),d(3),D("ngIf",!i.loading&&!i.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Eee(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}const Bh=function(t,n){return{"small-text-icon":t,"big-text-icon":n}};function Pee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"done"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.selected-info"))}}function Iee(t,n){if(1&t&&(T(0,"mat-icon",5),Y(1,"translate"),O(2,"clear"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.blocked-info"))}}function Oee(t,n){if(1&t&&(T(0,"mat-icon",6),Y(1,"translate"),O(2,"star"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.favorite-info"))}}function Aee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"history"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.history-info"))}}function Ree(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"lock_outlined"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.has-password-info"))}}function Fee(t,n){if(1&t&&(qe(0),O(1),T(2,"mat-icon",7),O(3,"fiber_manual_record"),k(),O(4),Ke()),2&t){const e=W();d(1),ye(" ",e.customName," "),d(1),D("inline",!0),d(2),ye(" ",e.name,"\n")}}function Nee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.customName)}}function Yee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.name)}}function Hee(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),pe(B(2,1,e.defaultName))}}let gP=(()=>{class t{constructor(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,i){1&e&&(U(0,Pee,3,8,"mat-icon",0),U(1,Iee,3,8,"mat-icon",1),U(2,Oee,3,8,"mat-icon",2),U(3,Aee,3,8,"mat-icon",0),U(4,Ree,3,8,"mat-icon",0),U(5,Fee,5,3,"ng-container",3),U(6,Nee,2,1,"ng-container",3),U(7,Yee,2,1,"ng-container",3),U(8,Hee,3,3,"ng-container",3)),2&e&&(D("ngIf",i.isCurrentServer),d(1),D("ngIf",i.isBlocked),d(1),D("ngIf",i.isFavorite),d(1),D("ngIf",i.isInHistory),d(1),D("ngIf",i.hasPassword),d(1),D("ngIf",i.customName&&i.name&&(!i.pk||i.name!==i.pk)),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&i.customName),d(1),D("ngIf",i.name&&(!i.pk||i.name!==i.pk)&&!i.customName),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&!i.customName))},dependencies:[Wn,Ot,Cn,vi,kt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t})();const vP=function(){return["vpn.title"]};function Vee(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator"),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,vP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function Bee(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",40)}function jee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}function Uee(t,n){if(1&t){const e=nt();qe(0),T(1,"div",34),De(2,"div",35),k(),T(3,"div",36)(4,"div",37),De(5,"app-vpn-server-name",38),k(),T(6,"div",39),De(7,"app-copy-to-clipboard-text",40),k()(),T(8,"div",41),De(9,"div"),k(),T(10,"div",42)(11,"mat-icon",43),Me("click",function(){return Ie(e),Oe(W(3).openServerOptions())}),Y(12,"translate"),O(13,"settings"),k()(),Ke()}if(2&t){const e=W(3);d(2),oi("background-image: url('assets/img/big-flags/"+e.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",e.getCountryName(e.currentRemoteServer.countryCode)),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(2),D("shortSimple",!0)("text",e.currentRemoteServer.pk),d(4),D("inline",!0)("matTooltip",B(12,13,"vpn.server-options.tooltip"))}}function zee(t,n){1&t&&(qe(0),T(1,"div",44),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),pe(B(3,1,"vpn.status-page.no-server")))}const Wee=function(t,n){return{custom:t,original:n}};function $ee(t,n){if(1&t&&(T(0,"div",45)(1,"mat-icon",33),O(2,"info_outline"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ye(" ",Vt(4,2,e.getNoteVar(),hn(5,Wee,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function Gee(t,n){if(1&t&&(T(0,"div",46)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}const bP=function(t){return{"disabled-button":t}};function qee(t,n){if(1&t){const e=nt();T(0,"div",22)(1,"div",11)(2,"div",13),O(3),Y(4,"translate"),k(),T(5,"div")(6,"div",23),Me("click",function(){return Ie(e),Oe(W(2).start())}),T(7,"div",24),De(8,"div",25),k(),T(9,"div",24),De(10,"div",26),k(),U(11,Bee,1,1,"mat-spinner",27),U(12,jee,2,1,"mat-icon",28),k()(),T(13,"div",29),U(14,Uee,14,15,"ng-container",18),U(15,zee,4,3,"ng-container",18),k(),T(16,"div"),U(17,$ee,5,8,"div",30),k(),T(18,"div"),U(19,Gee,5,5,"div",31),k()()()}if(2&t){const e=W(2);d(3),pe(B(4,8,"vpn.status-page.start-title")),d(3),D("ngClass",Ue(10,bP,e.showBusy)),d(5),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),D("ngIf",e.currentRemoteServer),d(1),D("ngIf",!e.currentRemoteServer),d(2),D("ngIf",e.currentRemoteServer&&(e.currentRemoteServer.note||e.currentRemoteServer.personalNote)),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.lastErrorMsg)}}function Kee(t,n){if(1&t&&(T(0,"div",77)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function Zee(t,n){1&t&&(T(0,"div"),De(1,"mat-spinner",32),k()),2&t&&(d(1),D("diameter",24))}function Qee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}const Cu=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},yP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},MP=function(t){return{showValue:!0,showUnit:!0,useBits:t}},w_=function(t){return{time:t}};function Jee(t,n){if(1&t){const e=nt();T(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),O(5,"timer"),k(),T(6,"span"),O(7),k()()(),T(8,"div",50),O(9),Y(10,"translate"),k(),T(11,"div",51)(12,"div",52),O(13),Y(14,"translate"),k(),De(15,"div"),k(),T(16,"div",53),O(17),Y(18,"translate"),k(),U(19,Kee,5,5,"div",54),T(20,"div",55)(21,"div",56),Y(22,"translate"),T(23,"div",57),De(24,"app-line-chart",58),k(),T(25,"div",59)(26,"div",60)(27,"div",61),O(28),Y(29,"autoScale"),k(),De(30,"div",62),k()(),T(31,"div",59)(32,"div",63)(33,"div",61),O(34),Y(35,"autoScale"),k(),De(36,"div",62),k()(),T(37,"div",59)(38,"div",64)(39,"div",61),O(40),Y(41,"autoScale"),k()()(),T(42,"div",65)(43,"mat-icon",66),O(44,"keyboard_backspace"),k(),T(45,"div",67),O(46),Y(47,"autoScale"),k(),T(48,"div",68),O(49),Y(50,"autoScale"),Y(51,"translate"),k()()(),T(52,"div",56),Y(53,"translate"),T(54,"div",57),De(55,"app-line-chart",58),k(),T(56,"div",69)(57,"div",60)(58,"div",61),O(59),Y(60,"autoScale"),k(),De(61,"div",62),k()(),T(62,"div",59)(63,"div",63)(64,"div",61),O(65),Y(66,"autoScale"),k(),De(67,"div",62),k()(),T(68,"div",59)(69,"div",64)(70,"div",61),O(71),Y(72,"autoScale"),k()()(),T(73,"div",65)(74,"mat-icon",70),O(75,"keyboard_backspace"),k(),T(76,"div",67),O(77),Y(78,"autoScale"),k(),T(79,"div",68),O(80),Y(81,"autoScale"),Y(82,"translate"),k()()()(),T(83,"div",71)(84,"div",72),Y(85,"translate"),T(86,"div",57),De(87,"app-line-chart",73),k(),T(88,"div",69)(89,"div",60)(90,"div",61),O(91),Y(92,"translate"),k(),De(93,"div",62),k()(),T(94,"div",59)(95,"div",63)(96,"div",61),O(97),Y(98,"translate"),k(),De(99,"div",62),k()(),T(100,"div",59)(101,"div",64)(102,"div",61),O(103),Y(104,"translate"),k()()(),T(105,"div",65)(106,"mat-icon",33),O(107,"swap_horiz"),k(),T(108,"div"),O(109),Y(110,"translate"),k()()()(),T(111,"div",74),Me("click",function(){return Ie(e),Oe(W(2).stop())}),T(112,"div",75)(113,"div",76),U(114,Zee,2,1,"div",18),U(115,Qee,2,1,"mat-icon",28),T(116,"span"),O(117),Y(118,"translate"),k()()()()()()}if(2&t){const e=W(2);d(4),D("inline",!0),d(3),pe(e.connectionTimeString),d(2),pe(B(10,58,"vpn.connection-info.state-title")),d(4),pe(B(14,60,e.currentStateText)),d(2),fs("state-line "+e.currentStateLineClass),d(2),pe(B(18,62,e.currentStateText+"-info")),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.connectionData&&e.backendState.vpnClientAppData.connectionData.error),d(2),D("matTooltip",B(22,64,"vpn.status-page.upload-info")),d(3),D("animated",!1)("data",e.sentHistory)("min",e.minUploadInGraph)("max",e.maxUploadInGraph),d(4),ye(" ",Vt(29,66,e.maxUploadInGraph,Ue(118,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(35,69,e.midUploadInGraph,Ue(120,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(41,72,e.minUploadInGraph,Ue(122,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(47,75,e.uploadSpeed,Ue(124,yP,e.showSpeedsInBits))),d(3),ps(" ",Vt(50,78,e.totalUploaded,Ue(126,MP,e.showTotalsInBits))," ",B(51,81,"vpn.status-page.total-data-label")," "),d(3),D("matTooltip",B(53,83,"vpn.status-page.download-info")),d(3),D("animated",!1)("data",e.receivedHistory)("min",e.minDownloadInGraph)("max",e.maxDownloadInGraph),d(4),ye(" ",Vt(60,85,e.maxDownloadInGraph,Ue(128,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(66,88,e.midDownloadInGraph,Ue(130,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(72,91,e.minDownloadInGraph,Ue(132,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(78,94,e.downloadSpeed,Ue(134,yP,e.showSpeedsInBits))),d(3),ps(" ",Vt(81,97,e.totalDownloaded,Ue(136,MP,e.showTotalsInBits))," ",B(82,100,"vpn.status-page.total-data-label")," "),d(4),D("matTooltip",B(85,102,"vpn.status-page.latency-info")),d(3),D("animated",!1)("data",e.latencyHistory)("min",e.minLatencyInGraph)("max",e.maxLatencyInGraph),d(4),ye(" ",Vt(92,104,"common."+e.getLatencyValueString(e.maxLatencyInGraph),Ue(138,w_,e.getPrintableLatency(e.maxLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(98,107,"common."+e.getLatencyValueString(e.midLatencyInGraph),Ue(140,w_,e.getPrintableLatency(e.midLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(104,110,"common."+e.getLatencyValueString(e.minLatencyInGraph),Ue(142,w_,e.getPrintableLatency(e.minLatencyInGraph)))," "),d(3),D("inline",!0),d(3),pe(Vt(110,113,"common."+e.getLatencyValueString(e.latency),Ue(144,w_,e.getPrintableLatency(e.latency)))),d(2),D("ngClass",Ue(146,bP,e.showBusy)),d(3),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),pe(B(118,116,"vpn.status-page.disconnect"))}}function Xee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.currentIp)}}function ete(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function tte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function nte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-problem-info"))}function ite(t,n){if(1&t){const e=nt();T(0,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(3).getIp())}),Y(1,"translate"),O(2,"refresh"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-refresh-info"))}function rte(t,n){if(1&t&&(T(0,"div",78),U(1,Xee,2,1,"ng-container",18),U(2,ete,3,3,"ng-container",18),U(3,tte,1,1,"mat-spinner",27),U(4,nte,3,4,"mat-icon",79),U(5,ite,3,4,"mat-icon",80),k()),2&t){const e=W(2);d(1),D("ngIf",e.currentIp),d(1),D("ngIf",!e.currentIp&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp),d(1),D("ngIf",!e.loadingCurrentIp)}}function ste(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function ote(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.ipCountry)}}function ate(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function lte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function cte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-country-problem-info"))}function ute(t,n){if(1&t&&(T(0,"div",78),U(1,ote,2,1,"ng-container",18),U(2,ate,3,3,"ng-container",18),U(3,lte,1,1,"mat-spinner",27),U(4,cte,3,4,"mat-icon",79),k()),2&t){const e=W(2);d(1),D("ngIf",e.ipCountry),d(1),D("ngIf",!e.ipCountry&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp)}}function dte(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function hte(t,n){if(1&t){const e=nt();T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",78),De(5,"app-vpn-server-name",83),T(6,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(2).openServerOptions())}),Y(7,"translate"),O(8,"settings"),k()()()}if(2&t){const e=W(2);d(2),pe(B(3,10,"vpn.status-page.data.server")),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(1),D("inline",!0)("matTooltip",B(7,12,"vpn.server-options.tooltip"))}}function fte(t,n){1&t&&De(0,"div",15)}function pte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.server-note")),d(3),ye(" ",e.currentRemoteServer.personalNote," ")}}function mte(t,n){1&t&&De(0,"div",15)}function _te(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),d(3),ye(" ",e.currentRemoteServer.note," ")}}function gte(t,n){1&t&&De(0,"div",15)}function vte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),De(5,"app-copy-to-clipboard-text",21),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.remote-pk")),d(3),D("text",e.currentRemoteServer.pk)}}function bte(t,n){1&t&&De(0,"div",15)}function yte(t,n){if(1&t&&(T(0,"div",4)(1,"div",5)(2,"div",6),De(3,"app-top-bar",3),k()(),T(4,"div",7),U(5,qee,20,12,"div",8),U(6,Jee,119,148,"div",9),T(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),O(12),Y(13,"translate"),k(),U(14,rte,6,5,"div",14),U(15,ste,3,3,"div",14),k(),De(16,"div",15),T(17,"div")(18,"div",13),O(19),Y(20,"translate"),k(),U(21,ute,5,4,"div",14),U(22,dte,3,3,"div",14),k(),De(23,"div",16)(24,"div",17)(25,"div",16),U(26,hte,9,14,"div",18),U(27,fte,1,0,"div",19),U(28,pte,6,4,"div",18),U(29,mte,1,0,"div",19),U(30,_te,6,4,"div",18),U(31,gte,1,0,"div",19),U(32,vte,6,4,"div",18),U(33,bte,1,0,"div",19),T(34,"div")(35,"div",13),O(36),Y(37,"translate"),k(),T(38,"div",20),De(39,"app-copy-to-clipboard-text",21),k()()()()()()()),2&t){const e=W();d(3),D("titleParts",Hn(29,vP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(2),D("ngIf",!e.showStarted),d(1),D("ngIf",e.showStarted),d(6),pe(B(13,23,"vpn.status-page.data.ip")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),pe(B(20,25,"vpn.status-page.data.country")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(3),pe(B(37,27,"vpn.status-page.data.local-pk")),d(3),D("text",e.currentLocalPk)}}let Mte=(()=>{class t{constructor(e,i,s,o,a,l,c){this.vpnClientService=e,this.vpnSavedDataService=i,this.snackbarService=s,this.translateService=o,this.route=a,this.dialog=l,this.router=c,this.tabsData=qi.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=J0.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Bn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();const _=this.vpnSavedDataService.getDataUnitsSetting();_===ns.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):_===ns.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}ngOnInit(){this.navigationsSubscription=this.route.paramMap.subscribe(e=>{e.has("key")&&(this.currentLocalPk=e.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),setTimeout(()=>this.navigationsSubscription.unsubscribe()),this.dataSubscription=this.vpnClientService.backendState.subscribe(i=>{if(i&&i.serviceState!==Gi.PerformingInitialCheck){const s=!this.backendState;if(this.backendState=i,(s||this.lastAppState===pn.Running&&i.vpnClientAppData.appState!==pn.Running||this.lastAppState!==pn.Running&&i.vpnClientAppData.appState===pn.Running)&&this.getIp(!0),this.showStarted=i.vpnClientAppData.running||i.vpnClientAppData.appState!==pn.Stopped,this.showStartedLastValue!==this.showStarted){for(let o=0;o<10;o++)this.receivedHistory[o]=0,this.sentHistory[o]=0,this.latencyHistory[o]=0;this.updateGraphLimits(),this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0}if(this.lastAppState=i.vpnClientAppData.appState,this.showStartedLastValue=this.showStarted,this.stopRequested?this.showStarted||(this.stopRequested=!1,this.showBusy=i.busy):this.showBusy=i.busy,i.vpnClientAppData.connectionData){for(let o=0;o<10;o++)this.receivedHistory[o]=i.vpnClientAppData.connectionData.downloadSpeedHistory[o],this.sentHistory[o]=i.vpnClientAppData.connectionData.uploadSpeedHistory[o],this.latencyHistory[o]=i.vpnClientAppData.connectionData.latencyHistory[o];this.updateGraphLimits(),this.uploadSpeed=i.vpnClientAppData.connectionData.uploadSpeed,this.downloadSpeed=i.vpnClientAppData.connectionData.downloadSpeed,this.totalUploaded=i.vpnClientAppData.connectionData.totalUploaded,this.totalDownloaded=i.vpnClientAppData.connectionData.totalDownloaded,this.latency=i.vpnClientAppData.connectionData.latency}i.vpnClientAppData.running&&i.vpnClientAppData.appState===pn.Running&&i.vpnClientAppData.connectionData&&i.vpnClientAppData.connectionData.connectionDuration?(-1===this.calculatedSegs||i.vpnClientAppData.connectionData.connectionDuration>this.calculatedSegs+2||i.vpnClientAppData.connectionData.connectionDuration(e.add(n.schedule(Eee,t,{subscriber:e,counter:0,period:t})),e))}(1e3).subscribe(()=>{this.calculatedSegs+=1,this.refreshConnectionTimeString()})):this.timeUpdateSubscription&&(this.timeUpdateSubscription.unsubscribe(),this.timeUpdateSubscription=null,this.calculatedSegs=-1,this.connectionTimeString="00:00:00"),this.loading=!1}}),this.currentRemoteServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(i=>{this.currentRemoteServer=i})})}refreshConnectionTimeString(){const e=this.calculatedSegs%60,i=Math.floor(this.calculatedSegs/60),s=i%60,o=Math.floor(i/60);this.connectionTimeString=String(o).padStart(2,"0")+":"+String(s).padStart(2,"0")+":"+String(e).padStart(2,"0")}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}start(){if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(()=>this.snackbarService.showWarning("vpn.status-page.select-server-warning"),100);this.currentRemoteServer.flag!==Bn.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}stop(){if(!this.backendState.vpnClientAppData.killswitch)return void this.finishStoppingVpn();const e=rn.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishStoppingVpn()})}finishStoppingVpn(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}openServerOptions(){qi.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}getNoteVar(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}get currentStateText(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===pn.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===pn.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===pn.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===pn.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}get currentStateLineClass(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"red-line":this.backendState.vpnClientAppData.appState===pn.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===pn.Running?"green-line":"yellow-line"}closeOperationSubscription(){this.operationSubscription&&this.operationSubscription.unsubscribe()}updateGraphLimits(){const e=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=e[0],this.midUploadInGraph=e[1],this.maxUploadInGraph=e[2];const i=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=i[0],this.midDownloadInGraph=i[1],this.maxDownloadInGraph=i[2];const s=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=s[0],this.midLatencyInGraph=s[1],this.maxLatencyInGraph=s[2]}calculateGraphLimits(e){let s=0,o=0;return e.forEach(a=>{a>s&&(s=a)}),0===s&&(s+=1),o=new(m_())(s).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),[0,o,s]}getIp(e=!1){if(this.ipInfoAllowed){if(!e){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");const i=1e4;if(Date.now()-this.lastIpRefresDate{this.loadingCurrentIp=!1,this.lastIpRefresDate=Date.now(),i?(this.problemGettingIp=!1,this.currentIp=i[0],this.ipCountry=i[1]):this.problemGettingIp=!0},()=>{this.lastIpRefresDate=Date.now(),this.loadingCurrentIp=!1,this.problemGettingIp=!1})}}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Yl),N(Vn),N(Hr),N(Qi),N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","lower-text current-server-note",4,"ngIf"],["class","lower-text last-error",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","name","pk","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"lower-text","current-server-note"],[1,"lower-text","last-error"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"d-inline-block"],[1,"state-text"],[1,"state-explanation"],["class","last-connected-error",4,"ngIf"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"last-connected-error"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","pk","customName"]],template:function(e,i){1&e&&(U(0,Vee,4,6,"div",0),U(1,yte,40,30,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Ot,Cn,vi,Vr,Q0,J0,ko,Hl,gP,kt,Vh],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-line[_ngcontent-%COMP%]{height:1px;width:100%;margin-bottom:5px}.left-area-connected[_ngcontent-%COMP%] .green-line[_ngcontent-%COMP%]{background-color:#2ecc54}.left-area-connected[_ngcontent-%COMP%] .yellow-line[_ngcontent-%COMP%]{background-color:#d48b05}.left-area-connected[_ngcontent-%COMP%] .red-line[_ngcontent-%COMP%]{background-color:#da3439}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%]{margin-top:15px;font-size:.8rem;color:#ff393f}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0px;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px #00000080;width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px #00000080}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0px 0px 5px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0px;height:0px;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{animation:button-animation 4s linear infinite;pointer-events:none}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);width:20px;height:15px;background-size:contain;align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:rgba(255,255,255,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:10px}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area[_ngcontent-%COMP%] .last-error[_ngcontent-%COMP%]{font-size:.8rem;color:#ff393f}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:rgba(61,103,162,.1490196078);padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:rgba(255,255,255,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),t})(),e1=(()=>{class t{constructor(e){this.router=e}set lastError(e){this.lastErrorInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Lo=(()=>(function(t){t.UnableToConnectWithTheVpnClientApp="unavailable",t.NoLocalVisorPkProvided="pk",t.InvalidStorageState="storage",t.LocalVisorPkChangedDuringUsage="pkChange"}(Lo||(Lo={})),Lo))();let wte=(()=>{class t{constructor(e,i,s){this.route=e,this.vpnAuthGuardService=i,this.vpnClientService=s,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(o=>{this.problem=o.get("problem"),this.problem||(this.problem=Lo.UnableToConnectWithTheVpnClientApp),this.vpnAuthGuardService.lastError=this.problem,this.vpnClientService.stopContinuallyUpdatingData(),setTimeout(()=>this.navigationsSubscription.unsubscribe())})}getTitle(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.text-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"}getInfo(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"}}return t.\u0275fac=function(e){return new(e||t)(N(Qi),N(e1),N(wu))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),O(5,"error_outline"),k()(),T(6,"div"),O(7),Y(8,"translate"),k(),T(9,"div",5),O(10),Y(11,"translate"),k()()()()),2&e&&(d(4),D("inline",!0),d(3),pe(B(8,3,i.getTitle())),d(3),pe(B(11,5,i.getInfo())))},dependencies:[Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),t})();const Cte=["topBarLoading"],Ste=["topBarLoaded"],wP=function(){return["vpn.title"]};function Dte(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3,4),k(),De(4,"app-loading-indicator",5),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,wP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function kte(t,n){1&t&&De(0,"mat-spinner",20),2&t&&D("diameter",12)}function Tte(t,n){if(1&t){const e=nt();T(0,"div",6)(1,"div",7),De(2,"app-top-bar",3,8),k(),T(4,"div",9)(5,"div",10)(6,"div",11)(7,"div",12)(8,"table",13)(9,"tr")(10,"th",14)(11,"div",15)(12,"div",16),O(13),Y(14,"translate"),k()()(),T(15,"th",14),O(16),Y(17,"translate"),k()(),T(18,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeKillswitchOption())}),T(19,"td",14)(20,"div"),O(21),Y(22,"translate"),T(23,"mat-icon",18),Y(24,"translate"),O(25,"help"),k()()(),T(26,"td",14),De(27,"span"),O(28),Y(29,"translate"),U(30,kte,1,1,"mat-spinner",19),k()(),T(31,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeGetIpOption())}),T(32,"td",14)(33,"div"),O(34),Y(35,"translate"),T(36,"mat-icon",18),Y(37,"translate"),O(38,"help"),k()()(),T(39,"td",14),De(40,"span"),O(41),Y(42,"translate"),k()(),T(43,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeDataUnits())}),T(44,"td",14)(45,"div"),O(46),Y(47,"translate"),T(48,"mat-icon",18),Y(49,"translate"),O(50,"help"),k()()(),T(51,"td",14),O(52),Y(53,"translate"),k()(),T(54,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeHops())}),T(55,"td",14)(56,"div"),O(57),Y(58,"translate"),T(59,"mat-icon",18),Y(60,"translate"),O(61,"help"),k()()(),T(62,"td",14),O(63),k()()()()()()()()}if(2&t){const e=W();d(2),D("titleParts",Hn(54,wP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(11),ye(" ",B(14,28,"vpn.settings-page.setting-small-table-label")," "),d(3),ye(" ",B(17,30,"vpn.settings-page.value-small-table-label")," "),d(5),ye(" ",B(22,32,"vpn.settings-page.killswitch")," "),d(2),D("inline",!0)("matTooltip",B(24,34,"vpn.settings-page.killswitch-info")),d(4),fs(e.getStatusClass(e.backendData.vpnClientAppData.killswitch)),d(1),ye(" ",B(29,36,e.getStatusText(e.backendData.vpnClientAppData.killswitch))," "),d(2),D("ngIf",e.working===e.workingOptions.Killswitch),d(4),ye(" ",B(35,38,"vpn.settings-page.get-ip")," "),d(2),D("inline",!0)("matTooltip",B(37,40,"vpn.settings-page.get-ip-info")),d(4),fs(e.getStatusClass(e.getIpOption)),d(1),ye(" ",B(42,42,e.getStatusText(e.getIpOption))," "),d(5),ye(" ",B(47,44,"vpn.settings-page.data-units")," "),d(2),D("inline",!0)("matTooltip",B(49,46,"vpn.settings-page.data-units-info")),d(4),ye(" ",B(53,48,e.getUnitsOptionText(e.dataUnitsOption))," "),d(5),ye(" ",B(58,50,"vpn.settings-page.minimum-hops")," "),d(2),D("inline",!0)("matTooltip",B(60,52,"vpn.settings-page.minimum-hops-info")),d(4),ye(" ",e.backendData.vpnClientAppData.minHops," ")}}var oa=(()=>(function(t){t[t.None=0]="None",t[t.Killswitch=1]="Killswitch"}(oa||(oa={})),oa))();const xte=[{path:"",component:P7},{path:"login",component:gE},{path:"nodes",canActivate:[Th],canActivateChild:[Th],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:BE},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:BE},{path:":key",component:At,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:xX},{path:"routing",component:NZ},{path:"apps",component:sX},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:aX},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:cX},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:dX}]}]},{path:"settings",canActivate:[Th],canActivateChild:[Th],children:[{path:"",component:$q},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:EX}]},{path:"vpnlogin/:key",component:gE},{path:"vpn",canActivate:[e1],canActivateChild:[e1],children:[{path:"unavailable",component:wte},{path:":key",children:[{path:"status",component:Mte},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:_P},{path:"settings",component:(()=>{class t{constructor(e,i,s,o,a,l){this.vpnClientService=e,this.snackbarService=i,this.appsService=s,this.vpnSavedDataService=o,this.dialog=a,this.loading=!0,this.tabsData=qi.vpnTabsData,this.working=oa.None,this.workingOptions=oa,this.navigationsSubscription=l.paramMap.subscribe(c=>{c.has("key")&&(this.currentLocalPk=c.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(c=>{c&&c.serviceState!==Gi.PerformingInitialCheck&&(this.backendData=c,this.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}getStatusClass(e){return!0===e?"dot-green":"dot-red"}getStatusText(e){return!0===e?"vpn.settings-page.setting-on":"vpn.settings-page.setting-off"}getUnitsOptionText(e){switch(e){case ns.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case ns.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}}changeKillswitchOption(){if(this.working===oa.None)if(this.backendData.vpnClientAppData.running){const e=rn.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")}finishChangingKillswitchOption(){this.working=oa.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(()=>{this.working=oa.None,this.vpnClientService.updateData()},e=>{this.working=oa.None,e=an(e),this.snackbarService.showError(e)})}changeGetIpOption(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)}changeDataUnits(){const e=[],i=[];Object.keys(ns).forEach(s=>{const o={label:this.getUnitsOptionText(ns[s])};this.dataUnitsOption===ns[s]&&(o.icon="done"),e.push(o),i.push(ns[s])}),Ur.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(s=>{s&&(this.dataUnitsOption=i[s-1],this.vpnSavedDataService.setDataUnitsSetting(this.dataUnitsOption),this.topBarLoading&&this.topBarLoading.updateVpnDataStatsUnit(),this.topBarLoaded&&this.topBarLoaded.updateVpnDataStatsUnit())})}changeHops(){dP.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Vn),N(Mu),N(Yl),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(e,i){if(1&e&&(vt(Cte,5),vt(Ste,5)),2&e){let s;at(s=lt())&&(i.topBarLoading=s.first),at(s=lt())&&(i.topBarLoaded=s.first)}},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(U(0,Dte,5,6,"div",0),U(1,Tte,64,55,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Ot,Cn,vi,Vr,ko,Hl,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .data-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:400!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),t})()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}];let Lte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Lx.forRoot(xte,{useHash:!0,relativeLinkResolution:"legacy"}),Lx]}),t})(),Pte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Pn]}),t})();class Ite{getTranslation(n){return ge(F(6297)(`./${n}.json`))}}let Ote=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Q2.forRoot({loader:{provide:Dh,useClass:Ite}}),Q2]}),t})(),Ate=(()=>{class t{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Rte={disabled:!0};let Fte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t,bootstrap:[M0]}),t.\u0275inj=wt({providers:[Rh,{provide:p0,useValue:{duration:3e3,verticalPosition:"top"}},{provide:I2,useValue:{width:"600px",hasBackdrop:!0}},{provide:Wm,useClass:d9},{provide:vx,useClass:Ate},{provide:k2,useValue:Rte}],imports:[mk,JH,V0,pV,Lte,Ote,Y2,O9,p_,rz,$Q,N2,a7,mz,JW,kU,Pte,LW,D7,_q]}),t})();Au(At,[Wn,Ot,hm,Cn,ko,Hl,pP],[kt]),Au(_P,[Wn,Fi,Ot,Tp,Wa,kr,Cn,vi,Q0,ko,yu,Hl,gP],[$D,kt]),function gN(){hD=!1}(),j5().bootstrapModule(Fte).catch(t=>console.log(t))},9774:function(le,me,F){var I;!function(v){"use strict";var u,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,M=Math.floor,p="[BigNumber Error] ",y=p+"Number primitive has more than 15 significant digits: ",w=1e14,x=14,S=9007199254740991,C=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],L=1e7,A=1e9;function H(ee){var ne=0|ee;return ee>0||ee===ne?ne:ne-1}function K(ee){for(var ne,oe,ae=1,J=ee.length,Te=ee[0]+"";aeet^oe?1:-1;for(Ae=(Ne=J.length)<(et=Te.length)?Ne:et,ke=0;keTe[ke]^oe?1:-1;return Ne==et?0:Ne>et^oe?1:-1}function ve(ee,ne,oe,ae){if(eeoe||ee!==(ee<0?h(ee):M(ee)))throw Error(p+(ae||"Argument")+("number"==typeof ee?eeoe?" out of range: ":" not an integer: ":" not a primitive number: ")+ee)}function Z(ee){return"[object Array]"==Object.prototype.toString.call(ee)}function Q(ee){var ne=ee.c.length-1;return H(ee.e/x)==ne&&ee.c[ne]%2!=0}function ce(ee,ne){return(ee.length>1?ee.charAt(0)+"."+ee.slice(1):ee)+(ne<0?"e":"e+")+ne}function q(ee,ne,oe){var ae,J;if(ne<0){for(J=oe+".";++ne;J+=oe);ee=J+ee}else if(++ne>(ae=ee.length)){for(J=oe,ne-=ae;--ne;J+=oe);ee+=J}else ne=10;be/=10,_e++);return Ee.e=_e,void(Ee.c=[z])}we=z+""}else{if(!f.test(we=z+""))return ae(Ee,we,fe);Ee.s=45==we.charCodeAt(0)?(we=we.slice(1),-1):1}(_e=we.indexOf("."))>-1&&(we=we.replace(".","")),(be=we.search(/e/i))>0?(_e<0&&(_e=be),_e+=+we.slice(be+1),we=we.substring(0,be)):_e<0&&(_e=we.length)}else{if(ve(se,2,Sn.length,"Base"),we=z+"",10==se)return Ge(Ee=new je(z instanceof je?z:we),ke+Ee.e+1,Ae);if(fe="number"==typeof z){if(0*z!=0)return ae(Ee,we,fe,se);if(Ee.s=1/z<0?(we=we.slice(1),-1):1,je.DEBUG&&we.replace(/^0\.0*|\./,"").length>15)throw Error(y+z);fe=!1}else Ee.s=45===we.charCodeAt(0)?(we=we.slice(1),-1):1;for(ie=Sn.slice(0,se),_e=be=0,ge=we.length;be_e){_e=ge;continue}}else if(!ue&&(we==we.toUpperCase()&&(we=we.toLowerCase())||we==we.toLowerCase()&&(we=we.toUpperCase()))){ue=!0,be=-1,_e=0;continue}return ae(Ee,z+"",fe,se)}(_e=(we=oe(we,se,10,Ee.s)).indexOf("."))>-1?we=we.replace(".",""):_e=we.length}for(be=0;48===we.charCodeAt(be);be++);for(ge=we.length;48===we.charCodeAt(--ge););if(we=we.slice(be,++ge)){if(ge-=be,fe&&je.DEBUG&&ge>15&&(z>S||z!==M(z)))throw Error(y+Ee.s*z);if((_e=_e-be-1)>rt)Ee.c=Ee.e=null;else if(_efe){if(--se>0)for(ge+=".";se--;ge+="0");}else if((se+=_e-fe)>0)for(_e+1==fe&&(ge+=".");se--;ge+="0");return z.s<0&&ue?"-"+ge:ge}function Kn(z,se){var ie,de,ue=0;for(Z(z[0])&&(z=z[0]),ie=new je(z[0]);++ue=10;ue/=10,de++);return(ie=de+ie*x-1)>rt?z.c=z.e=null:ie=10;fe/=10,ue++);if((_e=se-ue)<0)_e+=x,Ee=(ge=Ze[we=0])/ut[ue-(be=se)-1]%10|0;else if((we=h((_e+1)/x))>=Ze.length){if(!de)break e;for(;Ze.length<=we;Ze.push(0));ge=Ee=0,ue=1,be=(_e%=x)-x+1}else{for(ge=fe=Ze[we],ue=1;fe>=10;fe/=10,ue++);Ee=(be=(_e%=x)-x+ue)<0?0:ge/ut[ue-be-1]%10|0}if(de=de||se<0||null!=Ze[we+1]||(be<0?ge:ge%ut[ue-be-1]),de=ie<4?(Ee||de)&&(0==ie||ie==(z.s<0?3:2)):Ee>5||5==Ee&&(4==ie||de||6==ie&&(_e>0?be>0?ge/ut[ue-be]:0:Ze[we-1])%10&1||ie==(z.s<0?8:7)),se<1||!Ze[0])return Ze.length=0,de?(Ze[0]=ut[(x-(se-=z.e+1)%x)%x],z.e=-se||0):Ze[0]=z.e=0,z;if(0==_e?(Ze.length=we,fe=1,we--):(Ze.length=we+1,fe=ut[x-_e],Ze[we]=be>0?M(ge/ut[ue-be]%ut[be])*fe:0),de)for(;;){if(0==we){for(_e=1,be=Ze[0];be>=10;be/=10,_e++);for(be=Ze[0]+=fe,fe=1;be>=10;be/=10,fe++);_e!=fe&&(z.e++,Ze[0]==w&&(Ze[0]=1));break}if(Ze[we]+=fe,Ze[we]!=w)break;Ze[we--]=0,fe=1}for(_e=Ze.length;0===Ze[--_e];Ze.pop());}z.e>rt?z.c=z.e=null:z.e>>11))>=9e15?(ue=crypto.getRandomValues(new Uint32Array(2)),de[ge]=ue[0],de[ge+1]=ue[1]):(we.push(fe%1e14),ge+=2);ge=be/2}else{if(!crypto.randomBytes)throw Bt=!1,Error(p+"crypto unavailable");for(de=crypto.randomBytes(be*=7);ge=9e15?crypto.randomBytes(7).copy(de,ge):(we.push(fe%1e14),ge+=7);ge=be/7}if(!Bt)for(;ge=10;fe/=10,ge++);geue-1&&(null==fe[be+1]&&(fe[be+1]=0),fe[be+1]+=fe[be]/ue|0,fe[be]%=ue)}return fe.reverse()}return function(ie,de,ue,_e,be){var fe,ge,we,Ee,Ze,ut,dt,tt,Yt=ie.indexOf("."),wn=ke,Rt=Ae;for(Yt>=0&&(Ee=Rn,Rn=0,ie=ie.replace(".",""),ut=(tt=new je(de)).pow(ie.length-Yt),Rn=Ee,tt.c=se(q(K(ut.c),ut.e,"0"),10,ue,z),tt.e=tt.c.length),we=Ee=(dt=se(ie,de,ue,be?(fe=Sn,z):(fe=z,Sn))).length;0==dt[--Ee];dt.pop());if(!dt[0])return fe.charAt(0);if(Yt<0?--we:(ut.c=dt,ut.e=we,ut.s=_e,dt=(ut=ne(ut,tt,wn,Rt,ue)).c,Ze=ut.r,we=ut.e),Yt=dt[ge=we+wn+1],Ee=ue/2,Ze=Ze||ge<0||null!=dt[ge+1],Ze=Rt<4?(null!=Yt||Ze)&&(0==Rt||Rt==(ut.s<0?3:2)):Yt>Ee||Yt==Ee&&(4==Rt||Ze||6==Rt&&1&dt[ge-1]||Rt==(ut.s<0?8:7)),ge<1||!dt[0])ie=Ze?q(fe.charAt(1),-wn,fe.charAt(0)):fe.charAt(0);else{if(dt.length=ge,Ze)for(--ue;++dt[--ge]>ue;)dt[ge]=0,ge||(++we,dt=[1].concat(dt));for(Ee=dt.length;!dt[--Ee];);for(Yt=0,ie="";Yt<=Ee;ie+=fe.charAt(dt[Yt++]));ie=q(ie,we,fe.charAt(0))}return ie}}(),ne=function(){function z(de,ue,_e){var be,fe,ge,we,Ee=0,Ze=de.length,ut=ue%L,dt=ue/L|0;for(de=de.slice();Ze--;)Ee=((fe=ut*(ge=de[Ze]%L)+(be=dt*ge+(we=de[Ze]/L|0)*ut)%L*L+Ee)/_e|0)+(be/L|0)+dt*we,de[Ze]=fe%_e;return Ee&&(de=[Ee].concat(de)),de}function se(de,ue,_e,be){var fe,ge;if(_e!=be)ge=_e>be?1:-1;else for(fe=ge=0;fe<_e;fe++)if(de[fe]!=ue[fe]){ge=de[fe]>ue[fe]?1:-1;break}return ge}function ie(de,ue,_e,be){for(var fe=0;_e--;)de[_e]-=fe,de[_e]=(fe=de[_e]1;de.splice(0,1));}return function(de,ue,_e,be,fe){var ge,we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn,ti,Ss,Fs,yi,Zt,fi=de.s==ue.s?1:-1,ni=de.c,mn=ue.c;if(!(ni&&ni[0]&&mn&&mn[0]))return new je(de.s&&ue.s&&(ni?!mn||ni[0]!=mn[0]:mn)?ni&&0==ni[0]||!mn?0*fi:fi/0:NaN);for(wn=(Yt=new je(fi)).c=[],fi=_e+(we=de.e-ue.e)+1,fe||(fe=w,we=H(de.e/x)-H(ue.e/x),fi=fi/x|0),Ee=0;mn[Ee]==(ni[Ee]||0);Ee++);if(mn[Ee]>(ni[Ee]||0)&&we--,fi<0)wn.push(1),Ze=!0;else{for(Ss=ni.length,yi=mn.length,Ee=0,fi+=2,(ut=M(fe/(mn[0]+1)))>1&&(mn=z(mn,ut,fe),ni=z(ni,ut,fe),yi=mn.length,Ss=ni.length),ti=yi,Gt=(Rt=ni.slice(0,yi)).length;Gt=fe/2&&Fs++;do{if(ut=0,(ge=se(mn,Rt,yi,Gt))<0){if(Dn=Rt[0],yi!=Gt&&(Dn=Dn*fe+(Rt[1]||0)),(ut=M(Dn/Fs))>1)for(ut>=fe&&(ut=fe-1),tt=(dt=z(mn,ut,fe)).length,Gt=Rt.length;1==se(dt,Rt,tt,Gt);)ut--,ie(dt,yi=10;fi/=10,Ee++);Ge(Yt,_e+(Yt.e=Ee+we*x-1)+1,be,Ze)}else Yt.e=we,Yt.r=+Ze;return Yt}}(),ae=function(){var z=/^(-?)0([xbo])(?=\w[\w.]*$)/i,se=/^([^.]+)\.$/,ie=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,ue=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(_e,be,fe,ge){var we,Ee=fe?be:be.replace(ue,"");if(de.test(Ee))_e.s=isNaN(Ee)?null:Ee<0?-1:1,_e.c=_e.e=null;else{if(!fe&&(Ee=Ee.replace(z,function(Ze,ut,dt){return we="x"==(dt=dt.toLowerCase())?16:"b"==dt?2:8,ge&&ge!=we?Ze:ut}),ge&&(we=ge,Ee=Ee.replace(se,"$1").replace(ie,"0.$1")),be!=Ee))return new je(Ee,we);if(je.DEBUG)throw Error(p+"Not a"+(ge?" base "+ge:"")+" number: "+be);_e.c=_e.e=_e.s=null}}}(),J.absoluteValue=J.abs=function(){var z=new je(this);return z.s<0&&(z.s=1),z},J.comparedTo=function(z,se){return re(this,new je(z,se))},J.decimalPlaces=J.dp=function(z,se){var ie,de,ue;if(null!=z)return ve(z,0,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z+this.e+1,se);if(!(ie=this.c))return null;if(de=((ue=ie.length-1)-H(this.e/x))*x,ue=ie[ue])for(;ue%10==0;ue/=10,de--);return de<0&&(de=0),de},J.dividedBy=J.div=function(z,se){return ne(this,new je(z,se),ke,Ae)},J.dividedToIntegerBy=J.idiv=function(z,se){return ne(this,new je(z,se),0,1)},J.exponentiatedBy=J.pow=function(z,se){var ie,de,ue,be,fe,ge,we,Ee=this;if((z=new je(z)).c&&!z.isInteger())throw Error(p+"Exponent not an integer: "+z);if(null!=se&&(se=new je(se)),be=z.e>14,!Ee.c||!Ee.c[0]||1==Ee.c[0]&&!Ee.e&&1==Ee.c.length||!z.c||!z.c[0])return we=new je(Math.pow(+Ee.valueOf(),be?2-Q(z):+z)),se?we.mod(se):we;if(fe=z.s<0,se){if(se.c?!se.c[0]:!se.s)return new je(NaN);(de=!fe&&Ee.isInteger()&&se.isInteger())&&(Ee=Ee.mod(se))}else{if(z.e>9&&(Ee.e>0||Ee.e<-1||(0==Ee.e?Ee.c[0]>1||be&&Ee.c[1]>=24e7:Ee.c[0]<8e13||be&&Ee.c[0]<=9999975e7)))return ue=Ee.s<0&&Q(z)?-0:0,Ee.e>-1&&(ue=1/ue),new je(fe?1/ue:ue);Rn&&(ue=h(Rn/x+2))}for(be?(ie=new je(.5),ge=Q(z)):ge=z%2,fe&&(z.s=1),we=new je(Te);;){if(ge){if(!(we=we.times(Ee)).c)break;ue?we.c.length>ue&&(we.c.length=ue):de&&(we=we.mod(se))}if(be){if(Ge(z=z.times(ie),z.e+1,1),!z.c[0])break;be=z.e>14,ge=Q(z)}else{if(!(z=M(z/2)))break;ge=z%2}Ee=Ee.times(Ee),ue?Ee.c&&Ee.c.length>ue&&(Ee.c.length=ue):de&&(Ee=Ee.mod(se))}return de?we:(fe&&(we=Te.div(we)),se?we.mod(se):ue?Ge(we,Rn,Ae,void 0):we)},J.integerValue=function(z){var se=new je(this);return null==z?z=Ae:ve(z,0,8),Ge(se,se.e+1,z)},J.isEqualTo=J.eq=function(z,se){return 0===re(this,new je(z,se))},J.isFinite=function(){return!!this.c},J.isGreaterThan=J.gt=function(z,se){return re(this,new je(z,se))>0},J.isGreaterThanOrEqualTo=J.gte=function(z,se){return 1===(se=re(this,new je(z,se)))||0===se},J.isInteger=function(){return!!this.c&&H(this.e/x)>this.c.length-2},J.isLessThan=J.lt=function(z,se){return re(this,new je(z,se))<0},J.isLessThanOrEqualTo=J.lte=function(z,se){return-1===(se=re(this,new je(z,se)))||0===se},J.isNaN=function(){return!this.s},J.isNegative=function(){return this.s<0},J.isPositive=function(){return this.s>0},J.isZero=function(){return!!this.c&&0==this.c[0]},J.minus=function(z,se){var ie,de,ue,_e,be=this,fe=be.s;if(se=(z=new je(z,se)).s,!fe||!se)return new je(NaN);if(fe!=se)return z.s=-se,be.plus(z);var ge=be.e/x,we=z.e/x,Ee=be.c,Ze=z.c;if(!ge||!we){if(!Ee||!Ze)return Ee?(z.s=-se,z):new je(Ze?be:NaN);if(!Ee[0]||!Ze[0])return Ze[0]?(z.s=-se,z):new je(Ee[0]?be:3==Ae?-0:0)}if(ge=H(ge),we=H(we),Ee=Ee.slice(),fe=ge-we){for((_e=fe<0)?(fe=-fe,ue=Ee):(we=ge,ue=Ze),ue.reverse(),se=fe;se--;ue.push(0));ue.reverse()}else for(de=(_e=(fe=Ee.length)<(se=Ze.length))?fe:se,fe=se=0;se0)for(;se--;Ee[ie++]=0);for(se=w-1;de>fe;){if(Ee[--de]=0;){for(ie=0,ut=Dn[ue]%wn,dt=Dn[ue]/wn|0,_e=ue+(be=ge);_e>ue;)ie=((we=ut*(we=Gt[--be]%wn)+(fe=dt*we+(Ee=Gt[be]/wn|0)*ut)%wn*wn+tt[_e]+ie)/Yt|0)+(fe/wn|0)+dt*Ee,tt[_e--]=we%Yt;tt[_e]=ie}return ie?++de:tt.splice(0,1),Xe(z,tt,de)},J.negated=function(){var z=new je(this);return z.s=-z.s||null,z},J.plus=function(z,se){var ie,de=this,ue=de.s;if(se=(z=new je(z,se)).s,!ue||!se)return new je(NaN);if(ue!=se)return z.s=-se,de.minus(z);var _e=de.e/x,be=z.e/x,fe=de.c,ge=z.c;if(!_e||!be){if(!fe||!ge)return new je(ue/0);if(!fe[0]||!ge[0])return ge[0]?z:new je(fe[0]?de:0*ue)}if(_e=H(_e),be=H(be),fe=fe.slice(),ue=_e-be){for(ue>0?(be=_e,ie=ge):(ue=-ue,ie=fe),ie.reverse();ue--;ie.push(0));ie.reverse()}for((ue=fe.length)-(se=ge.length)<0&&(ie=ge,ge=fe,fe=ie,se=ue),ue=0;se;)ue=(fe[--se]=fe[se]+ge[se]+ue)/w|0,fe[se]=w===fe[se]?0:fe[se]%w;return ue&&(fe=[ue].concat(fe),++be),Xe(z,fe,be)},J.precision=J.sd=function(z,se){var ie,de,ue;if(null!=z&&z!==!!z)return ve(z,1,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z,se);if(!(ie=this.c))return null;if(de=(ue=ie.length-1)*x+1,ue=ie[ue]){for(;ue%10==0;ue/=10,de--);for(ue=ie[0];ue>=10;ue/=10,de++);}return z&&this.e+1>de&&(de=this.e+1),de},J.shiftedBy=function(z){return ve(z,-S,S),this.times("1e"+z)},J.squareRoot=J.sqrt=function(){var z,se,ie,de,ue,_e=this,be=_e.c,fe=_e.s,ge=_e.e,we=ke+4,Ee=new je("0.5");if(1!==fe||!be||!be[0])return new je(!fe||fe<0&&(!be||be[0])?NaN:be?_e:1/0);if(0==(fe=Math.sqrt(+_e))||fe==1/0?(((se=K(be)).length+ge)%2==0&&(se+="0"),fe=Math.sqrt(se),ge=H((ge+1)/2)-(ge<0||ge%2),ie=new je(se=fe==1/0?"1e"+ge:(se=fe.toExponential()).slice(0,se.indexOf("e")+1)+ge)):ie=new je(fe+""),ie.c[0])for((fe=(ge=ie.e)+we)<3&&(fe=0);;)if(ie=Ee.times((ue=ie).plus(ne(_e,ue,we,1))),K(ue.c).slice(0,fe)===(se=K(ie.c)).slice(0,fe)){if(ie.e0&&ut>0){for(ge=Ze.substr(0,de=ut%_e||_e);de0&&(ge+=fe+Ze.slice(de)),Ee&&(ge="-"+ge)}ie=we?ge+Mn.decimalSeparator+((be=+Mn.fractionGroupSize)?we.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+Mn.fractionGroupSeparator):we):ge}return ie},J.toFraction=function(z){var se,ie,de,ue,_e,be,fe,ge,we,Ee,Ze,ut,dt=this,tt=dt.c;if(null!=z&&(!(ge=new je(z)).isInteger()&&(ge.c||1!==ge.s)||ge.lt(Te)))throw Error(p+"Argument "+(ge.isInteger()?"out of range: ":"not an integer: ")+z);if(!tt)return dt.toString();for(ie=new je(Te),Ee=de=new je(Te),ue=we=new je(Te),ut=K(tt),be=ie.e=ut.length-dt.e-1,ie.c[0]=C[(fe=be%x)<0?x+fe:fe],z=!z||ge.comparedTo(ie)>0?be>0?ie:Ee:ge,fe=rt,rt=1/0,ge=new je(ut),we.c[0]=0;Ze=ne(ge,ie,0,1),1!=(_e=de.plus(Ze.times(ue))).comparedTo(z);)de=ue,ue=_e,Ee=we.plus(Ze.times(_e=Ee)),we=_e,ie=ge.minus(Ze.times(_e=ie)),ge=_e;return _e=ne(z.minus(de),ue,0,1),we=we.plus(_e.times(Ee)),de=de.plus(_e.times(ue)),we.s=Ee.s=dt.s,se=ne(Ee,ue,be*=2,Ae).minus(dt).abs().comparedTo(ne(we,de,be,Ae).minus(dt).abs())<1?[Ee.toString(),ue.toString()]:[we.toString(),de.toString()],rt=fe,se},J.toNumber=function(){return+this},J.toPrecision=function(z,se){return null!=z&&ve(z,1,A),jn(this,z,se,2)},J.toString=function(z){var se,de=this.s,ue=this.e;return null===ue?de?(se="Infinity",de<0&&(se="-"+se)):se="NaN":(se=K(this.c),null==z?se=ue<=Ne||ue>=et?ce(se,ue):q(se,ue,"0"):(ve(z,2,Sn.length,"Base"),se=oe(q(se,ue,"0"),10,z,de,!0)),de<0&&this.c[0]&&(se="-"+se)),se},J.valueOf=J.toJSON=function(){var z,ie=this.e;return null===ie?this.toString():(z=K(this.c),z=ie<=Ne||ie>=et?ce(z,ie):q(z,ie,"0"),this.s<0?"-"+z:z)},J._isBigNumber=!0,null!=ee&&je.set(ee),je}(),u.default=u.BigNumber=u,void 0!==(I=function(){return u}.call(me,F,me,le))&&(le.exports=I)}()},6149:(le,me,F)=>{var I=F(5979)();I.helpers=F(3305),F(3533)(I),I.defaults=F(9800),I.Element=F(8839),I.elements=F(9931),I.Interaction=F(2814),I.layouts=F(2294),I.platform=F(8244),I.plugins=F(2445),I.Ticks=F(8347),F(8103)(I),F(1047)(I),F(7897)(I),F(5464)(I),F(6308)(I),F(480)(I),F(8351)(I),F(4977)(I),F(1704)(I),F(1486)(I),F(8726)(I),F(4215)(I),F(2690)(I),F(4033)(I),F(787)(I),F(6769)(I),F(6580)(I),F(4657)(I),F(1895)(I),F(6038)(I),F(2898)(I),F(3414)(I),F(6667)(I),F(402)(I),F(846)(I),F(9377)(I);var v=F(6747);for(var u in v)v.hasOwnProperty(u)&&I.plugins.register(v[u]);I.platform.initialize(),le.exports=I,typeof window<"u"&&(window.Chart=I),I.Legend=v.legend._element,I.Title=v.title._element,I.pluginService=I.plugins,I.PluginBase=I.Element.extend({}),I.canvasHelpers=I.helpers.canvas,I.layoutService=I.layouts},6038:le=>{"use strict";le.exports=function(me){me.Bar=function(F,I){return I.type="bar",new me(F,I)}}},2898:le=>{"use strict";le.exports=function(me){me.Bubble=function(F,I){return I.type="bubble",new me(F,I)}}},3414:le=>{"use strict";le.exports=function(me){me.Doughnut=function(F,I){return I.type="doughnut",new me(F,I)}}},6667:le=>{"use strict";le.exports=function(me){me.Line=function(F,I){return I.type="line",new me(F,I)}}},402:le=>{"use strict";le.exports=function(me){me.PolarArea=function(F,I){return I.type="polarArea",new me(F,I)}}},846:le=>{"use strict";le.exports=function(me){me.Radar=function(F,I){return I.type="radar",new me(F,I)}}},9377:le=>{"use strict";le.exports=function(me){me.Scatter=function(F,I){return I.type="scatter",new me(F,I)}}},2690:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),I._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(p,y){var w="";return p.length>0&&(p[0].yLabel?w=p[0].yLabel:y.labels.length>0&&p[0].index0?Math.min(w,C-S):w,S=C;return w}(w,j):-1,{min:re,pixels:j,start:L,end:A,stackCount:x,scale:w}},calculateBarValuePixels:function(y,w){var ve,Z,Q,ce,q,ee,x=this,S=x.chart,C=x.getMeta(),L=x.getValueScale(),A=S.data.datasets,j=L.getRightValue(A[y].data[w]),H=L.options.stacked,K=C.stack,re=0;if(H||void 0===H&&void 0!==K)for(ve=0;ve=0&&Q>0)&&(re+=Q));return ce=L.getPixelForValue(re),{size:ee=((q=L.getPixelForValue(re+j))-ce)/2,base:ce,head:q,center:q+ee/2}},calculateBarIndexPixels:function(y,w,x){var C=x.scale.options,L="flex"===C.barThickness?function M(p,y,w){var x=y.pixels,S=x[p],C=p>0?x[p-1]:null,L=p{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(f,h){return(h.datasets[f.datasetIndex].label||"")+": ("+f.xLabel+", "+f.yLabel+", "+h.datasets[f.datasetIndex].data[f.index].r+")"}}}}),le.exports=function(f){f.controllers.bubble=f.DatasetController.extend({dataElementType:v.Point,update:function(h){var M=this,p=M.getMeta();u.each(p.data,function(w,x){M.updateElement(w,x,h)})},updateElement:function(h,M,p){var y=this,w=y.getMeta(),x=h.custom||{},S=y.getScaleForId(w.xAxisID),C=y.getScaleForId(w.yAxisID),L=y._resolveElementOptions(h,M),A=y.getDataset().data[M],j=y.index,H=p?S.getPixelForDecimal(.5):S.getPixelForValue("object"==typeof A?A:NaN,M,j),K=p?C.getBasePixel():C.getPixelForValue(A,M,j);h._xScale=S,h._yScale=C,h._options=L,h._datasetIndex=j,h._index=M,h._model={backgroundColor:L.backgroundColor,borderColor:L.borderColor,borderWidth:L.borderWidth,hitRadius:L.hitRadius,pointStyle:L.pointStyle,radius:p?0:L.radius,skip:x.skip||isNaN(H)||isNaN(K),x:H,y:K},h.pivot()},setHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=u.valueOrDefault(p.hoverBackgroundColor,u.getHoverColor(p.backgroundColor)),M.borderColor=u.valueOrDefault(p.hoverBorderColor,u.getHoverColor(p.borderColor)),M.borderWidth=u.valueOrDefault(p.hoverBorderWidth,p.borderWidth),M.radius=p.radius+p.hoverRadius},removeHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=p.backgroundColor,M.borderColor=p.borderColor,M.borderWidth=p.borderWidth,M.radius=p.radius},_resolveElementOptions:function(h,M){var H,K,re,p=this,y=p.chart,x=y.data.datasets[p.index],S=h.custom||{},C=y.options.elements.point,L=u.options.resolve,A=x.data[M],j={},ve={chart:y,dataIndex:M,dataset:x,datasetIndex:p.index},Z=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(H=0,K=Z.length;H{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],x=y.data[p],S=x&&x.custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y=Math.PI?-1:re<-Math.PI?1:0))+K,Z={x:Math.cos(re),y:Math.sin(re)},Q={x:Math.cos(ve),y:Math.sin(ve)},ce=re<=0&&ve>=0||re<=2*Math.PI&&2*Math.PI<=ve,q=re<=.5*Math.PI&&.5*Math.PI<=ve||re<=2.5*Math.PI&&2.5*Math.PI<=ve,ee=re<=-Math.PI&&-Math.PI<=ve||re<=Math.PI&&Math.PI<=ve,ne=re<=.5*-Math.PI&&.5*-Math.PI<=ve||re<=1.5*Math.PI&&1.5*Math.PI<=ve,oe=H/100,ae={x:ee?-1:Math.min(Z.x*(Z.x<0?1:oe),Q.x*(Q.x<0?1:oe)),y:ne?-1:Math.min(Z.y*(Z.y<0?1:oe),Q.y*(Q.y<0?1:oe))},J={x:ce?1:Math.max(Z.x*(Z.x>0?1:oe),Q.x*(Q.x>0?1:oe)),y:q?1:Math.max(Z.y*(Z.y>0?1:oe),Q.y*(Q.y>0?1:oe))},Te={width:.5*(J.x-ae.x),height:.5*(J.y-ae.y)};L=Math.min(S/Te.width,C/Te.height),A={x:-.5*(J.x+ae.x),y:-.5*(J.y+ae.y)}}p.borderWidth=M.getMaxBorderWidth(j.data),p.outerRadius=Math.max((L-p.borderWidth)/2,0),p.innerRadius=Math.max(H?p.outerRadius/100*H:0,0),p.radiusLength=(p.outerRadius-p.innerRadius)/p.getVisibleDatasetCount(),p.offsetX=A.x*p.outerRadius,p.offsetY=A.y*p.outerRadius,j.total=M.calculateTotal(),M.outerRadius=p.outerRadius-p.radiusLength*M.getRingIndex(M.index),M.innerRadius=Math.max(M.outerRadius-p.radiusLength,0),u.each(j.data,function(ke,Ae){M.updateElement(ke,Ae,h)})},updateElement:function(h,M,p){var y=this,w=y.chart,x=w.chartArea,S=w.options,C=S.animation,L=(x.left+x.right)/2,A=(x.top+x.bottom)/2,j=S.rotation,H=S.rotation,K=y.getDataset(),re=p&&C.animateRotate||h.hidden?0:y.calculateCircumference(K.data[M])*(S.circumference/(2*Math.PI));u.extend(h,{_datasetIndex:y.index,_index:M,_model:{x:L+w.offsetX,y:A+w.offsetY,startAngle:j,endAngle:H,circumference:re,outerRadius:p&&C.animateScale?0:y.outerRadius,innerRadius:p&&C.animateScale?0:y.innerRadius,label:(0,u.valueAtIndexOrDefault)(K.label,M,w.data.labels[M])}});var ce=h._model;this.removeHoverStyle(h),(!p||!C.animateRotate)&&(ce.startAngle=0===M?S.rotation:y.getMeta().data[M-1]._model.endAngle,ce.endAngle=ce.startAngle+ce.circumference),h.pivot()},removeHoverStyle:function(h){f.DatasetController.prototype.removeHoverStyle.call(this,h,this.chart.options.elements.arc)},calculateTotal:function(){var y,h=this.getDataset(),M=this.getMeta(),p=0;return u.each(M.data,function(w,x){y=h.data[x],!isNaN(y)&&!w.hidden&&(p+=Math.abs(y))}),p},calculateCircumference:function(h){var M=this.getMeta().total;return M>0&&!isNaN(h)?2*Math.PI*(Math.abs(h)/M):0},getMaxBorderWidth:function(h){for(var w,x,M=0,p=this.index,y=h.length,S=0;S(M=(w=h[S]._model?h[S]._model.borderWidth:0)>M?w:M)?x:M;return M}})}},6769:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),le.exports=function(f){function h(M,p){return u.valueOrDefault(M.showLine,p.showLines)}f.controllers.line=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,update:function(M){var A,j,H,p=this,y=p.getMeta(),w=y.dataset,x=y.data||[],S=p.chart.options,C=S.elements.line,L=p.getScaleForId(y.yAxisID),K=p.getDataset(),re=h(K,S);for(re&&(H=w.custom||{},void 0!==K.tension&&void 0===K.lineTension&&(K.lineTension=K.tension),w._scale=L,w._datasetIndex=p.index,w._children=x,w._model={spanGaps:K.spanGaps?K.spanGaps:S.spanGaps,tension:H.tension?H.tension:u.valueOrDefault(K.lineTension,C.tension),backgroundColor:H.backgroundColor?H.backgroundColor:K.backgroundColor||C.backgroundColor,borderWidth:H.borderWidth?H.borderWidth:K.borderWidth||C.borderWidth,borderColor:H.borderColor?H.borderColor:K.borderColor||C.borderColor,borderCapStyle:H.borderCapStyle?H.borderCapStyle:K.borderCapStyle||C.borderCapStyle,borderDash:H.borderDash?H.borderDash:K.borderDash||C.borderDash,borderDashOffset:H.borderDashOffset?H.borderDashOffset:K.borderDashOffset||C.borderDashOffset,borderJoinStyle:H.borderJoinStyle?H.borderJoinStyle:K.borderJoinStyle||C.borderJoinStyle,fill:H.fill?H.fill:void 0!==K.fill?K.fill:C.fill,steppedLine:H.steppedLine?H.steppedLine:u.valueOrDefault(K.steppedLine,C.stepped),cubicInterpolationMode:H.cubicInterpolationMode?H.cubicInterpolationMode:u.valueOrDefault(K.cubicInterpolationMode,C.cubicInterpolationMode)},w.pivot()),A=0,j=x.length;A{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],S=y.data[p].custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y0&&!isNaN(h)?2*Math.PI/M:0}})}},4657:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),le.exports=function(f){f.controllers.radar=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:u.noop,update:function(h){var M=this,p=M.getMeta(),w=p.data,x=p.dataset.custom||{},S=M.getDataset(),C=M.chart.options.elements.line,L=M.chart.scale;void 0!==S.tension&&void 0===S.lineTension&&(S.lineTension=S.tension),u.extend(p.dataset,{_datasetIndex:M.index,_scale:L,_children:w,_loop:!0,_model:{tension:x.tension?x.tension:u.valueOrDefault(S.lineTension,C.tension),backgroundColor:x.backgroundColor?x.backgroundColor:S.backgroundColor||C.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:S.borderWidth||C.borderWidth,borderColor:x.borderColor?x.borderColor:S.borderColor||C.borderColor,fill:x.fill?x.fill:void 0!==S.fill?S.fill:C.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:S.borderCapStyle||C.borderCapStyle,borderDash:x.borderDash?x.borderDash:S.borderDash||C.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:S.borderDashOffset||C.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:S.borderJoinStyle||C.borderJoinStyle}}),p.dataset.pivot(),u.each(w,function(A,j){M.updateElement(A,j,h)},M),M.updateBezierControlPoints()},updateElement:function(h,M,p){var y=this,w=h.custom||{},x=y.getDataset(),S=y.chart.scale,C=y.chart.options.elements.point,L=S.getPointPositionForValue(M,x.data[M]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),u.extend(h,{_datasetIndex:y.index,_index:M,_scale:S,_model:{x:p?S.xCenter:L.x,y:p?S.yCenter:L.y,tension:w.tension?w.tension:u.valueOrDefault(x.lineTension,y.chart.options.elements.line.tension),radius:w.radius?w.radius:u.valueAtIndexOrDefault(x.pointRadius,M,C.radius),backgroundColor:w.backgroundColor?w.backgroundColor:u.valueAtIndexOrDefault(x.pointBackgroundColor,M,C.backgroundColor),borderColor:w.borderColor?w.borderColor:u.valueAtIndexOrDefault(x.pointBorderColor,M,C.borderColor),borderWidth:w.borderWidth?w.borderWidth:u.valueAtIndexOrDefault(x.pointBorderWidth,M,C.borderWidth),pointStyle:w.pointStyle?w.pointStyle:u.valueAtIndexOrDefault(x.pointStyle,M,C.pointStyle),hitRadius:w.hitRadius?w.hitRadius:u.valueAtIndexOrDefault(x.pointHitRadius,M,C.hitRadius)}}),h._model.skip=w.skip?w.skip:isNaN(h._model.x)||isNaN(h._model.y)},updateBezierControlPoints:function(){var h=this.chart.chartArea,M=this.getMeta();u.each(M.data,function(p,y){var w=p._model,x=u.splineCurve(u.previousItem(M.data,y,!0)._model,w,u.nextItem(M.data,y,!0)._model,w.tension);w.controlPointPreviousX=Math.max(Math.min(x.previous.x,h.right),h.left),w.controlPointPreviousY=Math.max(Math.min(x.previous.y,h.bottom),h.top),w.controlPointNextX=Math.max(Math.min(x.next.x,h.right),h.left),w.controlPointNextY=Math.max(Math.min(x.next.y,h.bottom),h.top),p.pivot()})},setHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model;w.radius=p.hoverRadius?p.hoverRadius:u.valueAtIndexOrDefault(M.pointHoverRadius,y,this.chart.options.elements.point.hoverRadius),w.backgroundColor=p.hoverBackgroundColor?p.hoverBackgroundColor:u.valueAtIndexOrDefault(M.pointHoverBackgroundColor,y,u.getHoverColor(w.backgroundColor)),w.borderColor=p.hoverBorderColor?p.hoverBorderColor:u.valueAtIndexOrDefault(M.pointHoverBorderColor,y,u.getHoverColor(w.borderColor)),w.borderWidth=p.hoverBorderWidth?p.hoverBorderWidth:u.valueAtIndexOrDefault(M.pointHoverBorderWidth,y,w.borderWidth)},removeHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model,x=this.chart.options.elements.point;w.radius=p.radius?p.radius:u.valueAtIndexOrDefault(M.pointRadius,y,x.radius),w.backgroundColor=p.backgroundColor?p.backgroundColor:u.valueAtIndexOrDefault(M.pointBackgroundColor,y,x.backgroundColor),w.borderColor=p.borderColor?p.borderColor:u.valueAtIndexOrDefault(M.pointBorderColor,y,x.borderColor),w.borderWidth=p.borderWidth?p.borderWidth:u.valueAtIndexOrDefault(M.pointBorderWidth,y,x.borderWidth)}})}},1895:(le,me,F)=>{"use strict";F(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(v){return"("+v.xLabel+", "+v.yLabel+")"}}}}),le.exports=function(v){v.controllers.scatter=v.controllers.line}},8103:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:u.noop,onComplete:u.noop}}),le.exports=function(f){f.Animation=v.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),f.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(h,M,p,y){var x,S,w=this.animations;for(M.chart=h,y||(h.animating=!0),x=0,S=w.length;x1&&(p=Math.floor(h.dropFrames),h.dropFrames=h.dropFrames%1),h.advance(1+p);var y=Date.now();h.dropFrames+=(y-M)/h.frameDuration,h.animations.length>0&&h.requestAnimationFrame()},advance:function(h){for(var p,y,M=this.animations,w=0;w=p.numSteps?(u.callback(p.onAnimationComplete,[p],y),y.animating=!1,M.splice(w,1)):++w}},Object.defineProperty(f.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(f.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}})}},1047:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(2814),f=F(2294),h=F(8244),M=F(2445);le.exports=function(p){function w(S){var C=S.options;v.each(S.scales,function(L){f.removeBox(S,L)}),C=v.configMerge(p.defaults.global,p.defaults[S.config.type],C),S.options=S.config.options=C,S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.tooltip._options=C.tooltips,S.tooltip.initialize()}function x(S){return"top"===S||"bottom"===S}p.types={},p.instances={},p.controllers={},v.extend(p.prototype,{construct:function(S,C){var L=this;C=function y(S){var C=(S=S||{}).data=S.data||{};return C.datasets=C.datasets||[],C.labels=C.labels||[],S.options=v.configMerge(I.global,I[S.type],S.options||{}),S}(C);var A=h.acquireContext(S,C),j=A&&A.canvas,H=j&&j.height,K=j&&j.width;L.id=v.uid(),L.ctx=A,L.canvas=j,L.config=C,L.width=K,L.height=H,L.aspectRatio=H?K/H:null,L.options=C.options,L._bufferedRender=!1,L.chart=L,L.controller=L,p.instances[L.id]=L,Object.defineProperty(L,"data",{get:function(){return L.config.data},set:function(re){L.config.data=re}}),A&&j?(L.initialize(),L.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var S=this;return M.notify(S,"beforeInit"),v.retinaScale(S,S.options.devicePixelRatio),S.bindEvents(),S.options.responsive&&S.resize(!0),S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.initToolTip(),M.notify(S,"afterInit"),S},clear:function(){return v.canvas.clear(this),this},stop:function(){return p.animationService.cancelAnimation(this),this},resize:function(S){var C=this,L=C.options,A=C.canvas,j=L.maintainAspectRatio&&C.aspectRatio||null,H=Math.max(0,Math.floor(v.getMaximumWidth(A))),K=Math.max(0,Math.floor(j?H/j:v.getMaximumHeight(A)));if((C.width!==H||C.height!==K)&&(A.width=C.width=H,A.height=C.height=K,A.style.width=H+"px",A.style.height=K+"px",v.retinaScale(C,L.devicePixelRatio),!S)){var re={width:H,height:K};M.notify(C,"resize",[re]),C.options.onResize&&C.options.onResize(C,re),C.stop(),C.update(C.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var S=this.options,C=S.scales||{},L=S.scale;v.each(C.xAxes,function(A,j){A.id=A.id||"x-axis-"+j}),v.each(C.yAxes,function(A,j){A.id=A.id||"y-axis-"+j}),L&&(L.id=L.id||"scale")},buildOrUpdateScales:function(){var S=this,C=S.options,L=S.scales||{},A=[],j=Object.keys(L).reduce(function(H,K){return H[K]=!1,H},{});C.scales&&(A=A.concat((C.scales.xAxes||[]).map(function(H){return{options:H,dtype:"category",dposition:"bottom"}}),(C.scales.yAxes||[]).map(function(H){return{options:H,dtype:"linear",dposition:"left"}}))),C.scale&&A.push({options:C.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),v.each(A,function(H){var K=H.options,re=K.id,ve=v.valueOrDefault(K.type,H.dtype);x(K.position)!==x(H.dposition)&&(K.position=H.dposition),j[re]=!0;var Z=null;if(re in L&&L[re].type===ve)(Z=L[re]).options=K,Z.ctx=S.ctx,Z.chart=S;else{var Q=p.scaleService.getScaleConstructor(ve);if(!Q)return;Z=new Q({id:re,type:ve,options:K,ctx:S.ctx,chart:S}),L[Z.id]=Z}Z.mergeTicksOptions(),H.isDefault&&(S.scale=Z)}),v.each(j,function(H,K){H||delete L[K]}),S.scales=L,p.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var S=this,C=[],L=[];return v.each(S.data.datasets,function(A,j){var H=S.getDatasetMeta(j),K=A.type||S.config.type;if(H.type&&H.type!==K&&(S.destroyDatasetMeta(j),H=S.getDatasetMeta(j)),H.type=K,C.push(H.type),H.controller)H.controller.updateIndex(j),H.controller.linkScales();else{var re=p.controllers[H.type];if(void 0===re)throw new Error('"'+H.type+'" is not a chart type.');H.controller=new re(S,j),L.push(H.controller)}},S),L},resetElements:function(){var S=this;v.each(S.data.datasets,function(C,L){S.getDatasetMeta(L).controller.reset()},S)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(S){var C=this;if((!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]}),w(C),M._invalidate(C),!1!==M.notify(C,"beforeUpdate")){C.tooltip._data=C.data;var L=C.buildOrUpdateControllers();v.each(C.data.datasets,function(A,j){C.getDatasetMeta(j).controller.buildOrUpdateElements()},C),C.updateLayout(),C.options.animation&&C.options.animation.duration&&v.each(L,function(A){A.reset()}),C.updateDatasets(),C.tooltip.initialize(),C.lastActive=[],M.notify(C,"afterUpdate"),C._bufferedRender?C._bufferedRequest={duration:S.duration,easing:S.easing,lazy:S.lazy}:C.render(S)}},updateLayout:function(){var S=this;!1!==M.notify(S,"beforeLayout")&&(f.update(this,this.width,this.height),M.notify(S,"afterScaleUpdate"),M.notify(S,"afterLayout"))},updateDatasets:function(){var S=this;if(!1!==M.notify(S,"beforeDatasetsUpdate")){for(var C=0,L=S.data.datasets.length;C"u"&&0!==j.duration)){var K=new p.Animation({numSteps:(L||j.duration)/16.66,easing:S.easing||j.easing,render:function(re,ve){var Q=ve.currentStep,ce=Q/ve.numSteps;re.draw((0,v.easing.effects[ve.easing])(ce),ce,Q)},onAnimationProgress:j.onProgress,onAnimationComplete:H});p.animationService.addAnimation(C,K,L,A)}else C.draw(),H(new p.Animation({numSteps:0,chart:C}));return C}},draw:function(S){var C=this;C.clear(),v.isNullOrUndef(S)&&(S=1),C.transition(S),!1!==M.notify(C,"beforeDraw",[S])&&(v.each(C.boxes,function(L){L.draw(C.chartArea)},C),C.scale&&C.scale.draw(),C.drawDatasets(S),C._drawTooltip(S),M.notify(C,"afterDraw",[S]))},transition:function(S){for(var C=this,L=0,A=(C.data.datasets||[]).length;L=0;--L)C.isDatasetVisible(L)&&C.drawDataset(L,S);M.notify(C,"afterDatasetsDraw",[S])}},drawDataset:function(S,C){var L=this,A=L.getDatasetMeta(S),j={meta:A,index:S,easingValue:C};!1!==M.notify(L,"beforeDatasetDraw",[j])&&(A.controller.draw(C),M.notify(L,"afterDatasetDraw",[j]))},_drawTooltip:function(S){var C=this,L=C.tooltip,A={tooltip:L,easingValue:S};!1!==M.notify(C,"beforeTooltipDraw",[A])&&(L.draw(),M.notify(C,"afterTooltipDraw",[A]))},getElementAtEvent:function(S){return u.modes.single(this,S)},getElementsAtEvent:function(S){return u.modes.label(this,S,{intersect:!0})},getElementsAtXAxis:function(S){return u.modes["x-axis"](this,S,{intersect:!0})},getElementsAtEventForMode:function(S,C,L){var A=u.modes[C];return"function"==typeof A?A(this,S,L):[]},getDatasetAtEvent:function(S){return u.modes.dataset(this,S,{intersect:!0})},getDatasetMeta:function(S){var C=this,L=C.data.datasets[S];L._meta||(L._meta={});var A=L._meta[C.id];return A||(A=L._meta[C.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),A},getVisibleDatasetCount:function(){for(var S=0,C=0,L=this.data.datasets.length;C{"use strict";var I=F(3305);le.exports=function(v){var u=["push","pop","shift","splice","unshift"];function h(M,p){var y=M._chartjs;if(y){var w=y.listeners,x=w.indexOf(p);-1!==x&&w.splice(x,1),!(w.length>0)&&(u.forEach(function(S){delete M[S]}),delete M._chartjs)}}v.DatasetController=function(M,p){this.initialize(M,p)},I.extend(v.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(M,p){var y=this;y.chart=M,y.index=p,y.linkScales(),y.addElements()},updateIndex:function(M){this.index=M},linkScales:function(){var M=this,p=M.getMeta(),y=M.getDataset();(null===p.xAxisID||!(p.xAxisID in M.chart.scales))&&(p.xAxisID=y.xAxisID||M.chart.options.scales.xAxes[0].id),(null===p.yAxisID||!(p.yAxisID in M.chart.scales))&&(p.yAxisID=y.yAxisID||M.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(M){return this.chart.scales[M]},reset:function(){this.update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var M=this,p=M.datasetElementType;return p&&new p({_chart:M.chart,_datasetIndex:M.index})},createMetaData:function(M){var p=this,y=p.dataElementType;return y&&new y({_chart:p.chart,_datasetIndex:p.index,_index:M})},addElements:function(){var x,S,M=this,p=M.getMeta(),y=M.getDataset().data||[],w=p.data;for(x=0,S=y.length;xw&&M.insertElements(w,x-w)},insertElements:function(M,p){for(var y=0;y{"use strict";var I=F(3305);le.exports={_set:function(v,u){return I.merge(this[v]||(this[v]={}),u)}}},8839:(le,me,F)=>{"use strict";var I=F(7726),v=F(3305),f=function(h){v.extend(this,h),this.initialize.apply(this,arguments)};v.extend(f.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=v.clone(h._model)),h._start={},h},transition:function(h){var M=this,p=M._model,y=M._start,w=M._view;return p&&1!==h?(w||(w=M._view={}),y||(y=M._start={}),function u(h,M,p,y){var x,S,C,L,A,j,H,K,re,w=Object.keys(p);for(x=0,S=w.length;x{"use strict";var I=F(7726),v=F(9800),u=F(3305);le.exports=function(f){function h(y,w,x){var S;return"string"==typeof y?(S=parseInt(y,10),-1!==y.indexOf("%")&&(S=S/100*w.parentNode[x])):S=y,S}function M(y){return null!=y&&"none"!==y}function p(y,w,x){var S=document.defaultView,C=y.parentNode,L=S.getComputedStyle(y)[w],A=S.getComputedStyle(C)[w],j=M(L),H=M(A),K=Number.POSITIVE_INFINITY;return j||H?Math.min(j?h(L,y,x):K,H?h(A,C,x):K):"none"}u.configMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){var C=w[y]||{},L=x[y];"scales"===y?w[y]=u.scaleMerge(C,L):"scale"===y?w[y]=u.merge(C,[f.scaleService.getScaleDefaults(L.type),L]):u._merger(y,w,x,S)}})},u.scaleMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){if("xAxes"===y||"yAxes"===y){var L,A,j,C=x[y].length;for(w[y]||(w[y]=[]),L=0;L=w[y].length&&w[y].push({}),u.merge(w[y][L],!w[y][L].type||j.type&&j.type!==w[y][L].type?[f.scaleService.getScaleDefaults(A),j]:j)}else u._merger(y,w,x,S)}})},u.where=function(y,w){if(u.isArray(y)&&Array.prototype.filter)return y.filter(w);var x=[];return u.each(y,function(S){w(S)&&x.push(S)}),x},u.findIndex=Array.prototype.findIndex?function(y,w,x){return y.findIndex(w,x)}:function(y,w,x){x=void 0===x?y:x;for(var S=0,C=y.length;S=0;S--){var C=y[S];if(w(C))return C}},u.isNumber=function(y){return!isNaN(parseFloat(y))&&isFinite(y)},u.almostEquals=function(y,w,x){return Math.abs(y-w)y},u.max=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.max(w,x)},Number.NEGATIVE_INFINITY)},u.min=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.min(w,x)},Number.POSITIVE_INFINITY)},u.sign=Math.sign?function(y){return Math.sign(y)}:function(y){return 0==(y=+y)||isNaN(y)?y:y>0?1:-1},u.log10=Math.log10?function(y){return Math.log10(y)}:function(y){var w=Math.log(y)*Math.LOG10E,x=Math.round(w);return y===Math.pow(10,x)?x:w},u.toRadians=function(y){return y*(Math.PI/180)},u.toDegrees=function(y){return y*(180/Math.PI)},u.getAngleFromPoint=function(y,w){var x=w.x-y.x,S=w.y-y.y,C=Math.sqrt(x*x+S*S),L=Math.atan2(S,x);return L<-.5*Math.PI&&(L+=2*Math.PI),{angle:L,distance:C}},u.distanceBetweenPoints=function(y,w){return Math.sqrt(Math.pow(w.x-y.x,2)+Math.pow(w.y-y.y,2))},u.aliasPixel=function(y){return y%2==0?0:.5},u.splineCurve=function(y,w,x,S){var C=y.skip?w:y,L=w,A=x.skip?w:x,j=Math.sqrt(Math.pow(L.x-C.x,2)+Math.pow(L.y-C.y,2)),H=Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2)),K=j/(j+H),re=H/(j+H),ve=S*(K=isNaN(K)?0:K),Z=S*(re=isNaN(re)?0:re);return{previous:{x:L.x-ve*(A.x-C.x),y:L.y-ve*(A.y-C.y)},next:{x:L.x+Z*(A.x-C.x),y:L.y+Z*(A.y-C.y)}}},u.EPSILON=Number.EPSILON||1e-14,u.splineCurveMonotone=function(y){var S,C,L,A,H,K,re,ve,Z,w=(y||[]).map(function(Q){return{model:Q._model,deltaK:0,mK:0}}),x=w.length;for(S=0;S0?w[S-1]:null,(A=S0?w[S-1]:null)&&!C.model.skip&&(L.model.controlPointPreviousX=L.model.x-(Z=(L.model.x-C.model.x)/3),L.model.controlPointPreviousY=L.model.y-Z*L.mK),A&&!A.model.skip&&(L.model.controlPointNextX=L.model.x+(Z=(A.model.x-L.model.x)/3),L.model.controlPointNextY=L.model.y+Z*L.mK))},u.nextItem=function(y,w,x){return x?w>=y.length-1?y[0]:y[w+1]:w>=y.length-1?y[y.length-1]:y[w+1]},u.previousItem=function(y,w,x){return x?w<=0?y[y.length-1]:y[w-1]:w<=0?y[0]:y[w-1]},u.niceNum=function(y,w){var x=Math.floor(u.log10(y)),S=y/Math.pow(10,x);return(w?S<1.5?1:S<3?2:S<7?5:10:S<=1?1:S<=2?2:S<=5?5:10)*Math.pow(10,x)},u.requestAnimFrame=typeof window>"u"?function(y){y()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(y){return window.setTimeout(y,1e3/60)},u.getRelativePosition=function(y,w){var x,S,C=y.originalEvent||y,L=y.currentTarget||y.srcElement,A=L.getBoundingClientRect(),j=C.touches;j&&j.length>0?(x=j[0].clientX,S=j[0].clientY):(x=C.clientX,S=C.clientY);var H=parseFloat(u.getStyle(L,"padding-left")),K=parseFloat(u.getStyle(L,"padding-top")),re=parseFloat(u.getStyle(L,"padding-right")),ve=parseFloat(u.getStyle(L,"padding-bottom")),Q=A.bottom-A.top-K-ve;return{x:x=Math.round((x-A.left-H)/(A.right-A.left-H-re)*L.width/w.currentDevicePixelRatio),y:S=Math.round((S-A.top-K)/Q*L.height/w.currentDevicePixelRatio)}},u.getConstraintWidth=function(y){return p(y,"max-width","clientWidth")},u.getConstraintHeight=function(y){return p(y,"max-height","clientHeight")},u.getMaximumWidth=function(y){var w=y.parentNode;if(!w)return y.clientWidth;var x=parseInt(u.getStyle(w,"padding-left"),10),S=parseInt(u.getStyle(w,"padding-right"),10),C=w.clientWidth-x-S,L=u.getConstraintWidth(y);return isNaN(L)?C:Math.min(C,L)},u.getMaximumHeight=function(y){var w=y.parentNode;if(!w)return y.clientHeight;var x=parseInt(u.getStyle(w,"padding-top"),10),S=parseInt(u.getStyle(w,"padding-bottom"),10),C=w.clientHeight-x-S,L=u.getConstraintHeight(y);return isNaN(L)?C:Math.min(C,L)},u.getStyle=function(y,w){return y.currentStyle?y.currentStyle[w]:document.defaultView.getComputedStyle(y,null).getPropertyValue(w)},u.retinaScale=function(y,w){var x=y.currentDevicePixelRatio=w||window.devicePixelRatio||1;if(1!==x){var S=y.canvas,C=y.height,L=y.width;S.height=C*x,S.width=L*x,y.ctx.scale(x,x),!S.style.height&&!S.style.width&&(S.style.height=C+"px",S.style.width=L+"px")}},u.fontString=function(y,w,x){return w+" "+y+"px "+x},u.longestText=function(y,w,x,S){var C=(S=S||{}).data=S.data||{},L=S.garbageCollect=S.garbageCollect||[];S.font!==w&&(C=S.data={},L=S.garbageCollect=[],S.font=w),y.font=w;var A=0;u.each(x,function(K){null!=K&&!0!==u.isArray(K)?A=u.measureText(y,C,L,A,K):u.isArray(K)&&u.each(K,function(re){null!=re&&!u.isArray(re)&&(A=u.measureText(y,C,L,A,re))})});var j=L.length/2;if(j>x.length){for(var H=0;HS&&(S=L),S},u.numberOfLabelLines=function(y){var w=1;return u.each(y,function(x){u.isArray(x)&&x.length>w&&(w=x.length)}),w},u.color=I?function(y){return y instanceof CanvasGradient&&(y=v.global.defaultColor),I(y)}:function(y){return console.error("Color.js not found!"),y},u.getHoverColor=function(y){return y instanceof CanvasPattern?y:u.color(y).saturate(.5).darken(.1).rgbString()}}},2814:(le,me,F)=>{"use strict";var I=F(3305);function v(y,w){return y.native?{x:y.x,y:y.y}:I.getRelativePosition(y,w)}function u(y,w){var S,C,L,A,j;for(C=0,A=y.data.datasets.length;C0&&(L=y.getDatasetMeta(L[0]._datasetIndex).data),L},"x-axis":function(y,w){return p(y,w,{intersect:!1})},point:function(y,w){return f(y,v(w,y))},nearest:function(y,w,x){var S=v(w,y);x.axis=x.axis||"xy";var C=M(x.axis),L=h(y,S,x.intersect,C);return L.length>1&&L.sort(function(A,j){var re=A.getArea()-j.getArea();return 0===re&&(re=A._datasetIndex-j._datasetIndex),re}),L.slice(0,1)},x:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inXRange(S.x)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C},y:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inYRange(S.y)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C}}}},5979:(le,me,F)=>{"use strict";F(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),le.exports=function(){var v=function(u,f){return this.construct(u,f),this};return v.Chart=v,v}},2294:(le,me,F)=>{"use strict";var I=F(3305);function v(f,h){return I.where(f,function(M){return M.position===h})}function u(f,h){f.forEach(function(M,p){return M._tmpIndex_=p,M}),f.sort(function(M,p){var y=h?p:M,w=h?M:p;return y.weight===w.weight?y._tmpIndex_-w._tmpIndex_:y.weight-w.weight}),f.forEach(function(M){delete M._tmpIndex_})}le.exports={defaults:{},addBox:function(f,h){f.boxes||(f.boxes=[]),h.fullWidth=h.fullWidth||!1,h.position=h.position||"top",h.weight=h.weight||0,f.boxes.push(h)},removeBox:function(f,h){var M=f.boxes?f.boxes.indexOf(h):-1;-1!==M&&f.boxes.splice(M,1)},configure:function(f,h,M){for(var x,p=["fullWidth","position","weight"],y=p.length,w=0;w{"use strict";var I=F(9800),v=F(3305);I._set("global",{plugins:{}}),le.exports={_plugins:[],_cacheId:0,register:function(u){var f=this._plugins;[].concat(u).forEach(function(h){-1===f.indexOf(h)&&f.push(h)}),this._cacheId++},unregister:function(u){var f=this._plugins;[].concat(u).forEach(function(h){var M=f.indexOf(h);-1!==M&&f.splice(M,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(u,f,h){var y,w,x,S,C,M=this.descriptors(u),p=M.length;for(y=0;y{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(8347);function h(p){var w,x,y=[];for(w=0,x=p.length;w"u"&&(S.minor[C]=S[C]),typeof S.major[C]>"u"&&(S.major[C]=S[C]))},beforeUpdate:function(){u.callback(this.options.beforeUpdate,[this])},update:function(S,C,L){var j,H,K,re,ve,Z,A=this;for(A.beforeUpdate(),A.maxWidth=S,A.maxHeight=C,A.margins=u.extend({left:0,right:0,top:0,bottom:0},L),A.longestTextCache=A.longestTextCache||{},A.beforeSetDimensions(),A.setDimensions(),A.afterSetDimensions(),A.beforeDataLimits(),A.determineDataLimits(),A.afterDataLimits(),A.beforeBuildTicks(),ve=A.buildTicks()||[],A.afterBuildTicks(),A.beforeTickToLabelConversion(),K=A.convertTicksToLabels(ve)||A.ticks,A.afterTickToLabelConversion(),A.ticks=K,j=0,H=K.length;jQ&&HS.maxHeight){H--;break}H++,re=ve*K}S.labelRotation=H},afterCalculateTickRotation:function(){u.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){u.callback(this.options.beforeFit,[this])},fit:function(){var S=this,C=S.minSize={width:0,height:0},L=h(S._ticks),A=S.options,j=A.ticks,H=A.scaleLabel,K=A.gridLines,re=A.display,ve=S.isHorizontal(),Z=w(j),Q=A.gridLines.tickMarkLength;if(C.width=ve?S.isFullWidth()?S.maxWidth-S.margins.left-S.margins.right:S.maxWidth:re&&K.drawTicks?Q:0,C.height=ve?re&&K.drawTicks?Q:0:S.maxHeight,H.display&&re){var ee=x(H)+u.options.toPadding(H.padding).height;ve?C.height+=ee:C.width+=ee}if(j.display&&re){var ne=u.longestText(S.ctx,Z.font,L,S.longestTextCache),oe=u.numberOfLabelLines(L),ae=.5*Z.size,J=S.options.ticks.padding;if(ve){S.longestLabelWidth=ne;var Te=u.toRadians(S.labelRotation),ke=Math.cos(Te),Ae=Math.sin(Te);C.height=Math.min(S.maxHeight,C.height+(Ae*ne+Z.size*oe+ae*(oe-1)+ae)+J),S.ctx.font=Z.font;var et=y(S.ctx,L[0],Z.font),st=y(S.ctx,L[L.length-1],Z.font);0!==S.labelRotation?(S.paddingLeft="bottom"===A.position?ke*et+3:ke*ae+3,S.paddingRight="bottom"===A.position?ke*ae+3:ke*st+3):(S.paddingLeft=et/2+3,S.paddingRight=st/2+3)}else j.mirror?ne=0:ne+=J+ae,C.width=Math.min(S.maxWidth,C.width+ne),S.paddingTop=Z.size/2,S.paddingBottom=Z.size/2}S.handleMargins(),S.width=C.width,S.height=C.height},handleMargins:function(){var S=this;S.margins&&(S.paddingLeft=Math.max(S.paddingLeft-S.margins.left,0),S.paddingTop=Math.max(S.paddingTop-S.margins.top,0),S.paddingRight=Math.max(S.paddingRight-S.margins.right,0),S.paddingBottom=Math.max(S.paddingBottom-S.margins.bottom,0))},afterFit:function(){u.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(S){if(u.isNullOrUndef(S))return NaN;if("number"==typeof S&&!isFinite(S))return NaN;if(S)if(this.isHorizontal()){if(void 0!==S.x)return this.getRightValue(S.x)}else if(void 0!==S.y)return this.getRightValue(S.y);return S},getLabelForIndex:u.noop,getPixelForValue:u.noop,getValueForPixel:u.noop,getPixelForTick:function(S){var C=this,L=C.options.offset;if(C.isHorizontal()){var j=(C.width-(C.paddingLeft+C.paddingRight))/Math.max(C._ticks.length-(L?0:1),1),H=j*S+C.paddingLeft;return L&&(H+=j/2),C.left+Math.round(H)+(C.isFullWidth()?C.margins.left:0)}return C.top+S*((C.height-(C.paddingTop+C.paddingBottom))/(C._ticks.length-1))},getPixelForDecimal:function(S){var C=this;return C.isHorizontal()?C.left+Math.round((C.width-(C.paddingLeft+C.paddingRight))*S+C.paddingLeft)+(C.isFullWidth()?C.margins.left:0):C.top+S*C.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var S=this,C=S.min,L=S.max;return S.beginAtZero?0:C<0&&L<0?L:C>0&&L>0?C:0},_autoSkip:function(S){var C,Q,ce,ee,L=this,A=L.isHorizontal(),j=L.options.ticks.minor,H=S.length,K=u.toRadians(L.labelRotation),re=Math.cos(K),ve=L.longestLabelWidth*re,Z=[];for(j.maxTicksLimit&&(ee=j.maxTicksLimit),A&&(C=!1,(ve+j.autoSkipPadding)*H>L.width-(L.paddingLeft+L.paddingRight)&&(C=1+Math.floor((ve+j.autoSkipPadding)*H/(L.width-(L.paddingLeft+L.paddingRight)))),ee&&H>ee&&(C=Math.max(C,Math.floor(H/ee)))),Q=0;Q1&&Q%C>0||Q%C==0&&Q+C>=H)&&Q!==H-1&&delete ce.label,Z.push(ce);return Z},draw:function(S){var C=this,L=C.options;if(L.display){var A=C.ctx,j=I.global,H=L.ticks.minor,K=L.ticks.major||H,re=L.gridLines,ve=L.scaleLabel,Z=0!==C.labelRotation,Q=C.isHorizontal(),ce=H.autoSkip?C._autoSkip(C.getTicks()):C.getTicks(),q=u.valueOrDefault(H.fontColor,j.defaultFontColor),ee=w(H),ne=u.valueOrDefault(K.fontColor,j.defaultFontColor),oe=w(K),ae=re.drawTicks?re.tickMarkLength:0,J=u.valueOrDefault(ve.fontColor,j.defaultFontColor),Te=w(ve),ke=u.options.toPadding(ve.padding),Ae=u.toRadians(C.labelRotation),Ne=[],et=C.options.gridLines.lineWidth,st="right"===L.position?C.right:C.right-et-ae,rt="right"===L.position?C.right+ae:C.right,Bt="bottom"===L.position?C.top+et:C.bottom-ae-et,ln="bottom"===L.position?C.top+et+ae:C.bottom+et;if(u.each(ce,function(ie,de){if(!u.isNullOrUndef(ie.label)){var _e,be,fe,ge,ue=ie.label;de===C.zeroLineIndex&&L.offset===re.offsetGridLines?(_e=re.zeroLineWidth,be=re.zeroLineColor,fe=re.zeroLineBorderDash,ge=re.zeroLineBorderDashOffset):(_e=u.valueAtIndexOrDefault(re.lineWidth,de),be=u.valueAtIndexOrDefault(re.color,de),fe=u.valueOrDefault(re.borderDash,j.borderDash),ge=u.valueOrDefault(re.borderDashOffset,j.borderDashOffset));var we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn="middle",ti="middle",Ss=H.padding;if(Q){var Fs=ae+Ss;"bottom"===L.position?(ti=Z?"middle":"top",Dn=Z?"right":"center",Gt=C.top+Fs):(ti=Z?"middle":"bottom",Dn=Z?"left":"center",Gt=C.bottom-Fs);var yi=M(C,de,re.offsetGridLines&&ce.length>1);yi1);ni{"use strict";var I=F(9800),v=F(3305),u=F(2294);le.exports=function(f){f.scaleService={constructors:{},defaults:{},registerScaleType:function(h,M,p){this.constructors[h]=M,this.defaults[h]=v.clone(p)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?v.merge({},[I.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,M){var p=this;p.defaults.hasOwnProperty(h)&&(p.defaults[h]=v.extend(p.defaults[h],M))},addScalesToLayout:function(h){v.each(h.scales,function(M){M.fullWidth=M.options.fullWidth,M.position=M.options.position,M.weight=M.options.weight,u.addBox(h,M)})}}}},8347:(le,me,F)=>{"use strict";var I=F(3305);le.exports={formatters:{values:function(v){return I.isArray(v)?v:""+v},linear:function(v,u,f){var h=f.length>3?f[2]-f[1]:f[1]-f[0];Math.abs(h)>1&&v!==Math.floor(v)&&(h=v-Math.floor(v));var M=I.log10(Math.abs(h)),p="";if(0!==v){var y=-1*Math.floor(M);y=Math.max(Math.min(y,20),0),p=v.toFixed(y)}else p="0";return p},logarithmic:function(v,u,f){var h=v/Math.pow(10,Math.floor(I.log10(v)));return 0===v?"0":1===h||2===h||5===h||0===u||u===f.length-1?v.toExponential():""}}}},480:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:u.noop,title:function(f,h){var M="",p=h.labels,y=p?p.length:0;if(f.length>0){var w=f[0];w.xLabel?M=w.xLabel:y>0&&w.indexj.height-L.height&&(re="bottom");var ve,Z,Q,ce,q,ee=(H.left+H.right)/2,ne=(H.top+H.bottom)/2;"center"===re?(ve=function(ae){return ae<=ee},Z=function(ae){return ae>ee}):(ve=function(ae){return ae<=L.width/2},Z=function(ae){return ae>=j.width-L.width/2}),Q=function(ae){return ae+L.width+A.caretSize+A.caretPadding>j.width},ce=function(ae){return ae-L.width-A.caretSize-A.caretPadding<0},q=function(ae){return ae<=ne?"top":"bottom"},ve(A.x)?(K="left",Q(A.x)&&(K="center",re=q(A.y))):Z(A.x)&&(K="right",ce(A.x)&&(K="center",re=q(A.y)));var oe=C._options;return{xAlign:oe.xAlign?oe.xAlign:K,yAlign:oe.yAlign?oe.yAlign:re}}(this,Q),Z=function S(C,L,A,j){var H=C.x,K=C.y,ve=C.caretPadding,Q=A.xAlign,ce=A.yAlign,q=C.caretSize+ve,ee=C.cornerRadius+ve;return"right"===Q?H-=L.width:"center"===Q&&((H-=L.width/2)+L.width>j.width&&(H=j.width-L.width),H<0&&(H=0)),"top"===ce?K+=q:K-="bottom"===ce?L.height+q:L.height/2,"center"===ce?"left"===Q?H+=q:"right"===Q&&(H-=q):"left"===Q?H-=ee:"right"===Q&&(H+=ee),{x:H,y:K}}(H,Q,ve,L._chart)}else H.opacity=0;return H.xAlign=ve.xAlign,H.yAlign=ve.yAlign,H.x=Z.x,H.y=Z.y,H.width=Q.width,H.height=Q.height,H.caretX=ce.x,H.caretY=ce.y,L._model=H,C&&A.custom&&A.custom.call(L,H),L},drawCaret:function(C,L){var A=this._chart.ctx,H=this.getCaretPosition(C,L,this._view);A.lineTo(H.x1,H.y1),A.lineTo(H.x2,H.y2),A.lineTo(H.x3,H.y3)},getCaretPosition:function(C,L,A){var j,H,K,re,ve,Z,Q=A.caretSize,ce=A.cornerRadius,q=A.xAlign,ee=A.yAlign,ne=C.x,oe=C.y,ae=L.width,J=L.height;if("center"===ee)ve=oe+J/2,"left"===q?(H=(j=ne)-Q,K=j,re=ve+Q,Z=ve-Q):(H=(j=ne+ae)+Q,K=j,re=ve-Q,Z=ve+Q);else if("left"===q?(j=(H=ne+ce+Q)-Q,K=H+Q):"right"===q?(j=(H=ne+ae-ce-Q)-Q,K=H+Q):(j=(H=A.caretX)-Q,K=H+Q),"top"===ee)ve=(re=oe)-Q,Z=re;else{ve=(re=oe+J)+Q,Z=re;var Te=K;K=j,j=Te}return{x1:j,x2:H,x3:K,y1:re,y2:ve,y3:Z}},drawTitle:function(C,L,A,j){var H=L.title;if(H.length){A.textAlign=L._titleAlign,A.textBaseline="top";var ve,Z,K=L.titleFontSize,re=L.titleSpacing;for(A.fillStyle=h(L.titleFontColor,j),A.font=u.fontString(K,L._titleFontStyle,L._titleFontFamily),ve=0,Z=H.length;ve0&&A.stroke()},draw:function(){var C=this._chart.ctx,L=this._view;if(0!==L.opacity){var A={width:L.width,height:L.height},j={x:L.x,y:L.y},H=Math.abs(L.opacity<.001)?0:L.opacity;this._options.enabled&&(L.title.length||L.beforeBody.length||L.body.length||L.afterBody.length||L.footer.length)&&(this.drawBackground(j,L,C,A,H),j.x+=L.xPadding,j.y+=L.yPadding,this.drawTitle(j,L,C,H),this.drawBody(j,L,C,H),this.drawFooter(j,L,C,H))}},handleEvent:function(C){var j,L=this,A=L._options;return L._lastActive=L._lastActive||[],L._active="mouseout"===C.type?[]:L._chart.getElementsAtEventForMode(C,A.mode,A),(j=!u.arrayEquals(L._active,L._lastActive))&&(L._lastActive=L._active,(A.enabled||A.custom)&&(L._eventPosition={x:C.x,y:C.y},L.update(!0),L.pivot())),j}}),f.Tooltip.positioners={average:function(C){if(!C.length)return!1;var L,A,j=0,H=0,K=0;for(L=0,A=C.length;L{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{elements:{arc:{backgroundColor:I.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),le.exports=v.extend({inLabelRange:function(f){var h=this._view;return!!h&&Math.pow(f-h.x,2)S;)y-=2*Math.PI;for(;y=x&&y<=S&&w>=M.innerRadius&&w<=M.outerRadius}return!1},getCenterPoint:function(){var f=this._view,h=(f.startAngle+f.endAngle)/2,M=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},getArea:function(){var f=this._view;return Math.PI*((f.endAngle-f.startAngle)/(2*Math.PI))*(Math.pow(f.outerRadius,2)-Math.pow(f.innerRadius,2))},tooltipPosition:function(){var f=this._view,h=f.startAngle+(f.endAngle-f.startAngle)/2,M=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},draw:function(){var f=this._chart.ctx,h=this._view,M=h.startAngle,p=h.endAngle;f.beginPath(),f.arc(h.x,h.y,h.outerRadius,M,p),f.arc(h.x,h.y,h.innerRadius,p,M,!0),f.closePath(),f.strokeStyle=h.borderColor,f.lineWidth=h.borderWidth,f.fillStyle=h.backgroundColor,f.fill(),f.lineJoin="bevel",h.borderWidth&&f.stroke()}})},3819:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global;I._set("global",{elements:{line:{tension:.4,backgroundColor:f.defaultColor,borderWidth:3,borderColor:f.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),le.exports=v.extend({draw:function(){var C,L,A,j,h=this,M=h._view,p=h._chart.ctx,y=M.spanGaps,w=h._children.slice(),x=f.elements.line,S=-1;for(h._loop&&w.length&&w.push(w[0]),p.save(),p.lineCap=M.borderCapStyle||x.borderCapStyle,p.setLineDash&&p.setLineDash(M.borderDash||x.borderDash),p.lineDashOffset=M.borderDashOffset||x.borderDashOffset,p.lineJoin=M.borderJoinStyle||x.borderJoinStyle,p.lineWidth=M.borderWidth||x.borderWidth,p.strokeStyle=M.borderColor||f.defaultColor,p.beginPath(),S=-1,C=0;C{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global.defaultColor;function h(p){var y=this._view;return!!y&&Math.abs(p-y.x){"use strict";var I=F(9800),v=F(8839);function u(h){return void 0!==h._view.width}function f(h){var p,y,w,x,M=h._view;if(u(h)){var S=M.width/2;p=M.x-S,y=M.x+S,w=Math.min(M.y,M.base),x=Math.max(M.y,M.base)}else{var C=M.height/2;p=Math.min(M.x,M.base),y=Math.max(M.x,M.base),w=M.y-C,x=M.y+C}return{left:p,top:w,right:y,bottom:x}}I._set("global",{elements:{rectangle:{backgroundColor:I.global.defaultColor,borderColor:I.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),le.exports=v.extend({draw:function(){var p,y,w,x,S,C,L,h=this._chart.ctx,M=this._view,A=M.borderWidth;if(M.horizontal?(w=M.y-M.height/2,x=M.y+M.height/2,S=(y=M.x)>(p=M.base)?1:-1,C=1,L=M.borderSkipped||"left"):(p=M.x-M.width/2,y=M.x+M.width/2,S=1,C=(x=M.base)>(w=M.y)?1:-1,L=M.borderSkipped||"bottom"),A){var j=Math.min(Math.abs(p-y),Math.abs(w-x)),H=(A=A>j?j:A)/2,K=p+("left"!==L?H*S:0),re=y+("right"!==L?-H*S:0),ve=w+("top"!==L?H*C:0),Z=x+("bottom"!==L?-H*C:0);K!==re&&(w=ve,x=Z),ve!==Z&&(p=K,y=re)}h.beginPath(),h.fillStyle=M.backgroundColor,h.strokeStyle=M.borderColor,h.lineWidth=A;var Q=[[p,x],[p,w],[y,w],[y,x]],q=["bottom","left","top","right"].indexOf(L,0);function ee(ae){return Q[(q+ae)%4]}-1===q&&(q=0);var ne=ee(0);h.moveTo(ne[0],ne[1]);for(var oe=1;oe<4;oe++)ne=ee(oe),h.lineTo(ne[0],ne[1]);h.fill(),A&&h.stroke()},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,M){var p=!1;if(this._view){var y=f(this);p=h>=y.left&&h<=y.right&&M>=y.top&&M<=y.bottom}return p},inLabelRange:function(h,M){var p=this;if(!p._view)return!1;var w=f(p);return u(p)?h>=w.left&&h<=w.right:M>=w.top&&M<=w.bottom},inXRange:function(h){var M=f(this);return h>=M.left&&h<=M.right},inYRange:function(h){var M=f(this);return h>=M.top&&h<=M.bottom},getCenterPoint:function(){var M,p,h=this._view;return u(this)?(M=h.x,p=(h.y+h.base)/2):(M=(h.x+h.base)/2,p=h.y),{x:M,y:p}},getArea:function(){var h=this._view;return h.width*Math.abs(h.y-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}})},9931:(le,me,F)=>{"use strict";le.exports={},le.exports.Arc=F(280),le.exports.Line=F(3819),le.exports.Point=F(4674),le.exports.Rectangle=F(8667)},2397:(le,me,F)=>{"use strict";var I=F(4396),v=le.exports={clear:function(u){u.ctx.clearRect(0,0,u.width,u.height)},roundedRect:function(u,f,h,M,p,y){if(y){var w=Math.min(y,M/2),x=Math.min(y,p/2);u.moveTo(f+w,h),u.lineTo(f+M-w,h),u.quadraticCurveTo(f+M,h,f+M,h+x),u.lineTo(f+M,h+p-x),u.quadraticCurveTo(f+M,h+p,f+M-w,h+p),u.lineTo(f+w,h+p),u.quadraticCurveTo(f,h+p,f,h+p-x),u.lineTo(f,h+x),u.quadraticCurveTo(f,h,f+w,h)}else u.rect(f,h,M,p)},drawPoint:function(u,f,h,M,p){var y,w,x,S,C,L;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(y=f.toString())&&"[object HTMLCanvasElement]"!==y){if(!(isNaN(h)||h<=0)){switch(f){default:u.beginPath(),u.arc(M,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),C=(w=3*h/Math.sqrt(3))*Math.sqrt(3)/2,u.moveTo(M-w/2,p+C/3),u.lineTo(M+w/2,p+C/3),u.lineTo(M,p-2*C/3),u.closePath(),u.fill();break;case"rect":L=1/Math.SQRT2*h,u.beginPath(),u.fillRect(M-L,p-L,2*L,2*L),u.strokeRect(M-L,p-L,2*L,2*L);break;case"rectRounded":var A=h/Math.SQRT2,j=M-A,H=p-A,K=Math.SQRT2*h;u.beginPath(),this.roundedRect(u,j,H,K,K,h/2),u.closePath(),u.fill();break;case"rectRot":L=1/Math.SQRT2*h,u.beginPath(),u.moveTo(M-L,p),u.lineTo(M,p+L),u.lineTo(M+L,p),u.lineTo(M,p-L),u.closePath(),u.fill();break;case"cross":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"crossRot":u.beginPath(),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"star":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"line":u.beginPath(),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(M,p),u.lineTo(M+h,p),u.closePath()}u.stroke()}}else u.drawImage(f,M-f.width/2,p-f.height/2,f.width,f.height)},clipArea:function(u,f){u.save(),u.beginPath(),u.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),u.clip()},unclipArea:function(u){u.restore()},lineTo:function(u,f,h,M){if(h.steppedLine)return"after"===h.steppedLine&&!M||"after"!==h.steppedLine&&M?u.lineTo(f.x,h.y):u.lineTo(h.x,f.y),void u.lineTo(h.x,h.y);h.tension?u.bezierCurveTo(M?f.controlPointPreviousX:f.controlPointNextX,M?f.controlPointPreviousY:f.controlPointNextY,M?h.controlPointNextX:h.controlPointPreviousX,M?h.controlPointNextY:h.controlPointPreviousY,h.x,h.y):u.lineTo(h.x,h.y)}};I.clear=v.clear,I.drawRoundedRectangle=function(u){u.beginPath(),v.roundedRect.apply(v,arguments),u.closePath()}},4396:le=>{"use strict";var F,me={noop:function(){},uid:(F=0,function(){return F++}),isNullOrUndef:function(F){return null===F||typeof F>"u"},isArray:Array.isArray?Array.isArray:function(F){return"[object Array]"===Object.prototype.toString.call(F)},isObject:function(F){return null!==F&&"[object Object]"===Object.prototype.toString.call(F)},valueOrDefault:function(F,I){return typeof F>"u"?I:F},valueAtIndexOrDefault:function(F,I,v){return me.valueOrDefault(me.isArray(F)?F[I]:F,v)},callback:function(F,I,v){if(F&&"function"==typeof F.call)return F.apply(v,I)},each:function(F,I,v,u){var f,h,M;if(me.isArray(F))if(h=F.length,u)for(f=h-1;f>=0;f--)I.call(v,F[f],f);else for(f=0;f{"use strict";var I=F(4396),v={linear:function(u){return u},easeInQuad:function(u){return u*u},easeOutQuad:function(u){return-u*(u-2)},easeInOutQuad:function(u){return(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1)},easeInCubic:function(u){return u*u*u},easeOutCubic:function(u){return(u-=1)*u*u+1},easeInOutCubic:function(u){return(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2)},easeInQuart:function(u){return u*u*u*u},easeOutQuart:function(u){return-((u-=1)*u*u*u-1)},easeInOutQuart:function(u){return(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2)},easeInQuint:function(u){return u*u*u*u*u},easeOutQuint:function(u){return(u-=1)*u*u*u*u+1},easeInOutQuint:function(u){return(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2)},easeInSine:function(u){return 1-Math.cos(u*(Math.PI/2))},easeOutSine:function(u){return Math.sin(u*(Math.PI/2))},easeInOutSine:function(u){return-.5*(Math.cos(Math.PI*u)-1)},easeInExpo:function(u){return 0===u?0:Math.pow(2,10*(u-1))},easeOutExpo:function(u){return 1===u?1:1-Math.pow(2,-10*u)},easeInOutExpo:function(u){return 0===u?0:1===u?1:(u/=.5)<1?.5*Math.pow(2,10*(u-1)):.5*(2-Math.pow(2,-10*--u))},easeInCirc:function(u){return u>=1?u:-(Math.sqrt(1-u*u)-1)},easeOutCirc:function(u){return Math.sqrt(1-(u-=1)*u)},easeInOutCirc:function(u){return(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1)},easeInElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),-M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h))},easeOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),M*Math.pow(2,-10*u)*Math.sin((u-f)*(2*Math.PI)/h)+1)},easeInOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:2==(u/=.5)?1:(h||(h=.45),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),u<1?M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*-.5:M*Math.pow(2,-10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*.5+1)},easeInBack:function(u){var f=1.70158;return u*u*((f+1)*u-f)},easeOutBack:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},easeInOutBack:function(u){var f=1.70158;return(u/=.5)<1?u*u*((1+(f*=1.525))*u-f)*.5:.5*((u-=2)*u*((1+(f*=1.525))*u+f)+2)},easeInBounce:function(u){return 1-v.easeOutBounce(1-u)},easeOutBounce:function(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375},easeInOutBounce:function(u){return u<.5?.5*v.easeInBounce(2*u):.5*v.easeOutBounce(2*u-1)+.5}};le.exports={effects:v},I.easingEffects=v},5347:(le,me,F)=>{"use strict";var I=F(4396);le.exports={toLineHeight:function(v,u){var f=(""+v).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*u;switch(v=+f[2],f[3]){case"px":return v;case"%":v/=100}return u*v},toPadding:function(v){var u,f,h,M;return I.isObject(v)?(u=+v.top||0,f=+v.right||0,h=+v.bottom||0,M=+v.left||0):u=f=h=M=+v||0,{top:u,right:f,bottom:h,left:M,height:u+h,width:M+f}},resolve:function(v,u,f){var h,M,p;for(h=0,M=v.length;h{"use strict";le.exports=F(4396),le.exports.easing=F(4317),le.exports.canvas=F(2397),le.exports.options=F(5347)},1607:le=>{le.exports={acquireContext:function(me){return me&&me.canvas&&(me=me.canvas),me&&me.getContext("2d")||null}}},8005:(le,me,F)=>{"use strict";var I=F(3305),v="$chartjs",u="chartjs-",f=u+"render-monitor",h=u+"render-animation",M=["animationstart","webkitAnimationStart"],p={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function y(q,ee){var ne=I.getStyle(q,ee),oe=ne&&ne.match(/^(\d+)(\.\d+)?px$/);return oe?Number(oe[1]):void 0}var S=!!function(){var q=!1;try{var ee=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("e",null,ee)}catch{}return q}()&&{passive:!0};function C(q,ee,ne){q.addEventListener(ee,ne,S)}function L(q,ee,ne){q.removeEventListener(ee,ne,S)}function A(q,ee,ne,oe,ae){return{type:q,chart:ee,native:ae||null,x:void 0!==ne?ne:null,y:void 0!==oe?oe:null}}le.exports={_enabled:typeof window<"u"&&typeof document<"u",initialize:function(){var q="from{opacity:0.99}to{opacity:1}";!function ce(q,ee){var ne=q._style||document.createElement("style");q._style||(q._style=ne,ee="/* Chart.js */\n"+ee,ne.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(ne)),ne.appendChild(document.createTextNode(ee))}(this,"@-webkit-keyframes "+h+"{"+q+"}@keyframes "+h+"{"+q+"}."+f+"{-webkit-animation:"+h+" 0.001s;animation:"+h+" 0.001s;}")},acquireContext:function(q,ee){"string"==typeof q?q=document.getElementById(q):q.length&&(q=q[0]),q&&q.canvas&&(q=q.canvas);var ne=q&&q.getContext&&q.getContext("2d");return ne&&ne.canvas===q?(function w(q,ee){var ne=q.style,oe=q.getAttribute("height"),ae=q.getAttribute("width");if(q[v]={initial:{height:oe,width:ae,style:{display:ne.display,height:ne.height,width:ne.width}}},ne.display=ne.display||"block",null===ae||""===ae){var J=y(q,"width");void 0!==J&&(q.width=J)}if(null===oe||""===oe)if(""===q.style.height)q.height=q.width/(ee.options.aspectRatio||2);else{var Te=y(q,"height");void 0!==J&&(q.height=Te)}}(q,ee),ne):null},releaseContext:function(q){var ee=q.canvas;if(ee[v]){var ne=ee[v].initial;["height","width"].forEach(function(oe){var ae=ne[oe];I.isNullOrUndef(ae)?ee.removeAttribute(oe):ee.setAttribute(oe,ae)}),I.each(ne.style||{},function(oe,ae){ee.style[ae]=oe}),ee.width=ee.width,delete ee[v]}},addEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var ae=ne[v]||(ne[v]={}),Te=(ae.proxies||(ae.proxies={}))[q.id+"_"+ee]=function(ke){ne(function j(q,ee){var ne=p[q.type]||q.type,oe=I.getRelativePosition(q,ee);return A(ne,ee,oe.x,oe.y,q)}(ke,q))};C(oe,ee,Te)}else!function Z(q,ee,ne){var oe=q[v]||(q[v]={}),ae=oe.resizer=function K(q){var ee=document.createElement("div"),ne=u+"size-monitor",oe=1e6,ae="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";ee.style.cssText=ae,ee.className=ne,ee.innerHTML='
';var J=ee.childNodes[0],Te=ee.childNodes[1];ee._reset=function(){J.scrollLeft=oe,J.scrollTop=oe,Te.scrollLeft=oe,Te.scrollTop=oe};var ke=function(){ee._reset(),q()};return C(J,"scroll",ke.bind(J,"expand")),C(Te,"scroll",ke.bind(Te,"shrink")),ee}(function H(q,ee){var ne=!1,oe=[];return function(){oe=Array.prototype.slice.call(arguments),ee=ee||this,ne||(ne=!0,I.requestAnimFrame.call(window,function(){ne=!1,q.apply(ee,oe)}))}}(function(){if(oe.resizer)return ee(A("resize",ne))}));!function re(q,ee){var ne=q[v]||(q[v]={}),oe=ne.renderProxy=function(ae){ae.animationName===h&&ee()};I.each(M,function(ae){C(q,ae,oe)}),ne.reflow=!!q.offsetParent,q.classList.add(f)}(q,function(){if(oe.resizer){var J=q.parentNode;J&&J!==ae.parentNode&&J.insertBefore(ae,J.firstChild),ae._reset()}})}(oe,ne,q)},removeEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var Te=((ne[v]||{}).proxies||{})[q.id+"_"+ee];!Te||L(oe,ee,Te)}else!function Q(q){var ee=q[v]||{},ne=ee.resizer;delete ee.resizer,function ve(q){var ee=q[v]||{},ne=ee.renderProxy;ne&&(I.each(M,function(oe){L(q,oe,ne)}),delete ee.renderProxy),q.classList.remove(f)}(q),ne&&ne.parentNode&&ne.parentNode.removeChild(ne)}(oe)}},I.addEvent=C,I.removeEvent=L},8244:(le,me,F)=>{"use strict";var I=F(3305),v=F(1607),u=F(8005);le.exports=I.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},u._enabled?u:v)},6747:(le,me,F)=>{"use strict";le.exports={},le.exports.filler=F(6579),le.exports.legend=F(2230),le.exports.title=F(7412)},6579:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(C){var L=C.fill,A=C.chart,j=A.getDatasetMeta(L),K=j&&A.isDatasetVisible(L)&&j.dataset._children||[],re=K.length||0;return re?function(ve,Z){return Z=A)&&K;switch(H){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return H;default:return!1}}function M(C){var K,L=C.el._model||{},A=C.el._scale||{},j=C.fill,H=null;if(isFinite(j))return null;if("start"===j?H=void 0===L.scaleBottom?A.bottom:L.scaleBottom:"end"===j?H=void 0===L.scaleTop?A.top:L.scaleTop:void 0!==L.scaleZero?H=L.scaleZero:A.getBasePosition?H=A.getBasePosition():A.getBasePixel&&(H=A.getBasePixel()),null!=H){if(void 0!==H.x&&void 0!==H.y)return H;if("number"==typeof H&&isFinite(H))return{x:(K=A.isHorizontal())?H:null,y:K?null:H}}return null}function p(C,L,A){var re,H=C[L].fill,K=[L];if(!A)return H;for(;!1!==H&&-1===K.indexOf(H);){if(!isFinite(H))return H;if(!(re=C[H]))return!1;if(re.visible)return H;K.push(H),H=re.fill}return!1}function y(C){var L=C.fill,A="dataset";return!1===L?null:(isFinite(L)||(A="boundary"),f[A](C))}function w(C){return C&&!C.skip}function x(C,L,A,j,H){var K;if(j&&H){for(C.moveTo(L[0].x,L[0].y),K=1;K0;--K)u.canvas.lineTo(C,A[K],A[K-1],!0)}}le.exports={id:"filler",afterDatasetsUpdate:function(C,L){var K,re,ve,Z,A=(C.data.datasets||[]).length,j=L.propagate,H=[];for(re=0;re{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;function M(w,x){return w.usePointStyle?x*Math.SQRT2:w.boxWidth}I._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(w,x){var S=x.datasetIndex,C=this.chart,L=C.getDatasetMeta(S);L.hidden=null===L.hidden?!C.data.datasets[S].hidden:null,C.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(w){var x=w.data;return u.isArray(x.datasets)?x.datasets.map(function(S,C){return{text:S.label,fillStyle:u.isArray(S.backgroundColor)?S.backgroundColor[0]:S.backgroundColor,hidden:!w.isDatasetVisible(C),lineCap:S.borderCapStyle,lineDash:S.borderDash,lineDashOffset:S.borderDashOffset,lineJoin:S.borderJoinStyle,lineWidth:S.borderWidth,strokeStyle:S.borderColor,pointStyle:S.pointStyle,datasetIndex:C}},this):[]}}},legendCallback:function(w){var x=[];x.push('
    ');for(var S=0;S'),w.data.datasets[S].label&&x.push(w.data.datasets[S].label),x.push("");return x.push("
"),x.join("")}});var p=v.extend({initialize:function(w){u.extend(this,w),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(w,x,S){var C=this;return C.beforeUpdate(),C.maxWidth=w,C.maxHeight=x,C.margins=S,C.beforeSetDimensions(),C.setDimensions(),C.afterSetDimensions(),C.beforeBuildLabels(),C.buildLabels(),C.afterBuildLabels(),C.beforeFit(),C.fit(),C.afterFit(),C.afterUpdate(),C.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var w=this;w.isHorizontal()?(w.width=w.maxWidth,w.left=0,w.right=w.width):(w.height=w.maxHeight,w.top=0,w.bottom=w.height),w.paddingLeft=0,w.paddingTop=0,w.paddingRight=0,w.paddingBottom=0,w.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var w=this,x=w.options.labels||{},S=u.callback(x.generateLabels,[w.chart],w)||[];x.filter&&(S=S.filter(function(C){return x.filter(C,w.chart.data)})),w.options.reverse&&S.reverse(),w.legendItems=S},afterBuildLabels:h,beforeFit:h,fit:function(){var w=this,x=w.options,S=x.labels,C=x.display,L=w.ctx,A=I.global,j=u.valueOrDefault,H=j(S.fontSize,A.defaultFontSize),K=j(S.fontStyle,A.defaultFontStyle),re=j(S.fontFamily,A.defaultFontFamily),ve=u.fontString(H,K,re),Z=w.legendHitBoxes=[],Q=w.minSize,ce=w.isHorizontal();if(ce?(Q.width=w.maxWidth,Q.height=C?10:0):(Q.width=C?10:0,Q.height=w.maxHeight),C)if(L.font=ve,ce){var q=w.lineWidths=[0],ee=w.legendItems.length?H+S.padding:0;L.textAlign="left",L.textBaseline="top",u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;q[q.length-1]+st+S.padding>=w.width&&(ee+=H+S.padding,q[q.length]=w.left),Z[Ne]={left:0,top:0,width:st,height:H},q[q.length-1]+=st+S.padding}),Q.height+=ee}else{var ne=S.padding,oe=w.columnWidths=[],ae=S.padding,J=0,Te=0,ke=H+ne;u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;Te+ke>Q.height&&(ae+=J+S.padding,oe.push(J),J=0,Te=0),J=Math.max(J,st),Te+=ke,Z[Ne]={left:0,top:0,width:st,height:H}}),ae+=J,oe.push(J),Q.width+=ae}w.width=Q.width,w.height=Q.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var w=this,x=w.options,S=x.labels,C=I.global,L=C.elements.line,A=w.width,j=w.lineWidths;if(x.display){var q,H=w.ctx,K=u.valueOrDefault,re=K(S.fontColor,C.defaultFontColor),ve=K(S.fontSize,C.defaultFontSize),Z=K(S.fontStyle,C.defaultFontStyle),Q=K(S.fontFamily,C.defaultFontFamily),ce=u.fontString(ve,Z,Q);H.textAlign="left",H.textBaseline="middle",H.lineWidth=.5,H.strokeStyle=re,H.fillStyle=re,H.font=ce;var ee=M(S,ve),ne=w.legendHitBoxes,J=w.isHorizontal();q=J?{x:w.left+(A-j[0])/2,y:w.top+S.padding,line:0}:{x:w.left+S.padding,y:w.top+S.padding,line:0};var Te=ve+S.padding;u.each(w.legendItems,function(ke,Ae){var Ne=H.measureText(ke.text).width,et=ee+ve/2+Ne,st=q.x,rt=q.y;J?st+et>=A&&(rt=q.y+=Te,q.line++,st=q.x=w.left+(A-j[q.line])/2):rt+Te>w.bottom&&(st=q.x=st+w.columnWidths[q.line]+S.padding,rt=q.y=w.top+S.padding,q.line++),function(ke,Ae,Ne){if(!(isNaN(ee)||ee<=0)){H.save(),H.fillStyle=K(Ne.fillStyle,C.defaultColor),H.lineCap=K(Ne.lineCap,L.borderCapStyle),H.lineDashOffset=K(Ne.lineDashOffset,L.borderDashOffset),H.lineJoin=K(Ne.lineJoin,L.borderJoinStyle),H.lineWidth=K(Ne.lineWidth,L.borderWidth),H.strokeStyle=K(Ne.strokeStyle,C.defaultColor);var et=0===K(Ne.lineWidth,L.borderWidth);if(H.setLineDash&&H.setLineDash(K(Ne.lineDash,L.borderDash)),x.labels&&x.labels.usePointStyle){var st=ve*Math.SQRT2/2,rt=st/Math.SQRT2;u.canvas.drawPoint(H,Ne.pointStyle,st,ke+rt,Ae+rt)}else et||H.strokeRect(ke,Ae,ee,ve),H.fillRect(ke,Ae,ee,ve);H.restore()}}(st,rt,ke),ne[Ae].left=st,ne[Ae].top=rt,function(ke,Ae,Ne,et){var st=ve/2,rt=ee+st+ke,Bt=Ae+st;H.fillText(Ne.text,rt,Bt),Ne.hidden&&(H.beginPath(),H.lineWidth=2,H.moveTo(rt,Bt),H.lineTo(rt+et,Bt),H.stroke())}(st,rt,ke,Ne),J?q.x+=et+S.padding:q.y+=Te})}},handleEvent:function(w){var x=this,S=x.options,C="mouseup"===w.type?"click":w.type,L=!1;if("mousemove"===C){if(!S.onHover)return}else{if("click"!==C)return;if(!S.onClick)return}var A=w.x,j=w.y;if(A>=x.left&&A<=x.right&&j>=x.top&&j<=x.bottom)for(var H=x.legendHitBoxes,K=0;K=re.left&&A<=re.left+re.width&&j>=re.top&&j<=re.top+re.height){if("click"===C){S.onClick.call(x,w.native,x.legendItems[K]),L=!0;break}if("mousemove"===C){S.onHover.call(x,w.native,x.legendItems[K]),L=!0;break}}}return L}});function y(w,x){var S=new p({ctx:w.ctx,options:x,chart:w});f.configure(w,S,x),f.addBox(w,S),w.legend=S}le.exports={id:"legend",_element:p,beforeInit:function(w){var x=w.options.legend;x&&y(w,x)},beforeUpdate:function(w){var x=w.options.legend,S=w.legend;x?(u.mergeIf(x,I.global.legend),S?(f.configure(w,S,x),S.options=x):y(w,x)):S&&(f.removeBox(w,S),delete w.legend)},afterEvent:function(w,x){var S=w.legend;S&&S.handleEvent(x)}}},7412:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;I._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var M=v.extend({initialize:function(y){u.extend(this,y),this.legendHitBoxes=[]},beforeUpdate:h,update:function(y,w,x){var S=this;return S.beforeUpdate(),S.maxWidth=y,S.maxHeight=w,S.margins=x,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var y=this;y.isHorizontal()?(y.width=y.maxWidth,y.left=0,y.right=y.width):(y.height=y.maxHeight,y.top=0,y.bottom=y.height),y.paddingLeft=0,y.paddingTop=0,y.paddingRight=0,y.paddingBottom=0,y.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:h,afterBuildLabels:h,beforeFit:h,fit:function(){var y=this,x=y.options,S=x.display,C=(0,u.valueOrDefault)(x.fontSize,I.global.defaultFontSize),L=y.minSize,A=u.isArray(x.text)?x.text.length:1,j=u.options.toLineHeight(x.lineHeight,C),H=S?A*j+2*x.padding:0;y.isHorizontal()?(L.width=y.maxWidth,L.height=H):(L.width=H,L.height=y.maxHeight),y.width=L.width,y.height=L.height},afterFit:h,isHorizontal:function(){var y=this.options.position;return"top"===y||"bottom"===y},draw:function(){var y=this,w=y.ctx,x=u.valueOrDefault,S=y.options,C=I.global;if(S.display){var ee,ne,oe,L=x(S.fontSize,C.defaultFontSize),A=x(S.fontStyle,C.defaultFontStyle),j=x(S.fontFamily,C.defaultFontFamily),H=u.fontString(L,A,j),K=u.options.toLineHeight(S.lineHeight,L),re=K/2+S.padding,ve=0,Z=y.top,Q=y.left,ce=y.bottom,q=y.right;w.fillStyle=x(S.fontColor,C.defaultFontColor),w.font=H,y.isHorizontal()?(ne=Q+(q-Q)/2,oe=Z+re,ee=q-Q):(ne="left"===S.position?Q+re:q-re,oe=Z+(ce-Z)/2,ee=ce-Z,ve=Math.PI*("left"===S.position?-.5:.5)),w.save(),w.translate(ne,oe),w.rotate(ve),w.textAlign="center",w.textBaseline="middle";var ae=S.text;if(u.isArray(ae))for(var J=0,Te=0;Te{"use strict";le.exports=function(me){var I=me.Scale.extend({getLabels:function(){var v=this.chart.data;return this.options.labels||(this.isHorizontal()?v.xLabels:v.yLabels)||v.labels},determineDataLimits:function(){var f,v=this,u=v.getLabels();v.minIndex=0,v.maxIndex=u.length-1,void 0!==v.options.ticks.min&&(f=u.indexOf(v.options.ticks.min),v.minIndex=-1!==f?f:v.minIndex),void 0!==v.options.ticks.max&&(f=u.indexOf(v.options.ticks.max),v.maxIndex=-1!==f?f:v.maxIndex),v.min=u[v.minIndex],v.max=u[v.maxIndex]},buildTicks:function(){var v=this,u=v.getLabels();v.ticks=0===v.minIndex&&v.maxIndex===u.length-1?u:u.slice(v.minIndex,v.maxIndex+1)},getLabelForIndex:function(v,u){var f=this,h=f.chart.data,M=f.isHorizontal();return h.yLabels&&!M?f.getRightValue(h.datasets[u].data[v]):f.ticks[v-f.minIndex]},getPixelForValue:function(v,u){var p,f=this,h=f.options.offset,M=Math.max(f.maxIndex+1-f.minIndex-(h?0:1),1);if(null!=v&&(p=f.isHorizontal()?v.x:v.y),void 0!==p||void 0!==v&&isNaN(u)){var w=f.getLabels().indexOf(v=p||v);u=-1!==w?w:u}if(f.isHorizontal()){var x=f.width/M,S=x*(u-f.minIndex);return h&&(S+=x/2),f.left+Math.round(S)}var C=f.height/M,L=C*(u-f.minIndex);return h&&(L+=C/2),f.top+Math.round(L)},getPixelForTick:function(v){return this.getPixelForValue(this.ticks[v],v+this.minIndex,null)},getValueForPixel:function(v){var u=this,f=u.options.offset,M=Math.max(u._ticks.length-(f?0:1),1),p=u.isHorizontal(),y=(p?u.width:u.height)/M;return v-=p?u.left:u.top,f&&(v-=y/2),(v<=0?0:Math.round(v/y))+u.minIndex},getBasePixel:function(){return this.bottom}});me.scaleService.registerScaleType("category",I,{position:"bottom"})}},1704:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:u.formatters.linear}},M=f.LinearScaleBase.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function j(re){return C?re.xAxisID===p.id:re.yAxisID===p.id}p.min=null,p.max=null;var H=y.stacked;if(void 0===H&&v.each(S,function(re,ve){if(!H){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&void 0!==Z.stack&&(H=!0)}}),y.stacked||H){var K={};v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve),Q=[Z.type,void 0===y.stacked&&void 0===Z.stack?ve:"",Z.stack].join(".");void 0===K[Q]&&(K[Q]={positiveValues:[],negativeValues:[]});var ce=K[Q].positiveValues,q=K[Q].negativeValues;w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(ee,ne){var oe=+p.getRightValue(ee);isNaN(oe)||Z.data[ne].hidden||(ce[ne]=ce[ne]||0,q[ne]=q[ne]||0,y.relativePoints?ce[ne]=100:oe<0?q[ne]+=oe:ce[ne]+=oe)})}),v.each(K,function(re){var ve=re.positiveValues.concat(re.negativeValues),Z=v.min(ve),Q=v.max(ve);p.min=null===p.min?Z:Math.min(p.min,Z),p.max=null===p.max?Q:Math.max(p.max,Q)})}else v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(Q,ce){var q=+p.getRightValue(Q);isNaN(q)||Z.data[ce].hidden||((null===p.min||qp.max)&&(p.max=q))})});p.min=isFinite(p.min)&&!isNaN(p.min)?p.min:0,p.max=isFinite(p.max)&&!isNaN(p.max)?p.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var p,y=this,w=y.options.ticks;if(y.isHorizontal())p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.width/50));else{var x=v.valueOrDefault(w.fontSize,I.global.defaultFontSize);p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.height/(2*x)))}return p},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,y){return+this.getRightValue(this.chart.data.datasets[y].data[p])},getPixelForValue:function(p){var y=this,w=y.start,x=+y.getRightValue(p),C=y.end-w;return y.isHorizontal()?y.left+y.width/C*(x-w):y.bottom-y.height/C*(x-w)},getValueForPixel:function(p){var y=this,w=y.isHorizontal();return y.start+(w?p-y.left:y.bottom-p)/(w?y.width:y.height)*(y.end-y.start)},getPixelForTick:function(p){return this.getPixelForValue(this.ticksAsNumbers[p])}});f.scaleService.registerScaleType("linear",M,h)}},8351:(le,me,F)=>{"use strict";var I=F(3305);le.exports=function(u){var f=I.noop;u.LinearScaleBase=u.Scale.extend({getRightValue:function(h){return"string"==typeof h?+h:u.Scale.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,p=h.options.ticks;if(p.beginAtZero){var y=I.sign(h.min),w=I.sign(h.max);y<0&&w<0?h.max=0:y>0&&w>0&&(h.min=0)}var x=void 0!==p.min||void 0!==p.suggestedMin,S=void 0!==p.max||void 0!==p.suggestedMax;void 0!==p.min?h.min=p.min:void 0!==p.suggestedMin&&(h.min=null===h.min?p.suggestedMin:Math.min(h.min,p.suggestedMin)),void 0!==p.max?h.max=p.max:void 0!==p.suggestedMax&&(h.max=null===h.max?p.suggestedMax:Math.max(h.max,p.suggestedMax)),x!==S&&h.min>=h.max&&(x?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,p.beginAtZero||h.min--)},getTickLimit:f,handleDirectionalChanges:f,buildTicks:function(){var h=this,p=h.options.ticks,y=h.getTickLimit(),w={maxTicks:y=Math.max(2,y),min:p.min,max:p.max,stepSize:I.valueOrDefault(p.fixedStepSize,p.stepSize)},x=h.ticks=function v(u,f){var M,h=[];if(u.stepSize&&u.stepSize>0)M=u.stepSize;else{var p=I.niceNum(f.max-f.min,!1);M=I.niceNum(p/(u.maxTicks-1),!0)}var y=Math.floor(f.min/M)*M,w=Math.ceil(f.max/M)*M;u.min&&u.max&&u.stepSize&&I.almostWhole((u.max-u.min)/u.stepSize,M/1e3)&&(y=u.min,w=u.max);var x=(w-y)/M;x=I.almostEquals(x,Math.round(x),M/1e3)?Math.round(x):Math.ceil(x);var S=1;M<1&&(S=Math.pow(10,M.toString().length-2),y=Math.round(y*S)/S,w=Math.round(w*S)/S),h.push(void 0!==u.min?u.min:y);for(var C=1;C{"use strict";var I=F(3305),v=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:v.formatters.logarithmic}},M=f.Scale.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function L(H){return C?H.xAxisID===p.id:H.yAxisID===p.id}p.min=null,p.max=null,p.minNotZero=null;var A=y.stacked;if(void 0===A&&I.each(S,function(H,K){if(!A){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&void 0!==re.stack&&(A=!0)}}),y.stacked||A){var j={};I.each(S,function(H,K){var re=w.getDatasetMeta(K),ve=[re.type,void 0===y.stacked&&void 0===re.stack?K:"",re.stack].join(".");w.isDatasetVisible(K)&&L(re)&&(void 0===j[ve]&&(j[ve]=[]),I.each(H.data,function(Z,Q){var ce=j[ve],q=+p.getRightValue(Z);isNaN(q)||re.data[Q].hidden||q<0||(ce[Q]=ce[Q]||0,ce[Q]+=q)}))}),I.each(j,function(H){if(H.length>0){var K=I.min(H),re=I.max(H);p.min=null===p.min?K:Math.min(p.min,K),p.max=null===p.max?re:Math.max(p.max,re)}})}else I.each(S,function(H,K){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&I.each(H.data,function(ve,Z){var Q=+p.getRightValue(ve);isNaN(Q)||re.data[Z].hidden||Q<0||((null===p.min||Qp.max)&&(p.max=Q),0!==Q&&(null===p.minNotZero||Q0?p.min:p.max<1?Math.pow(10,Math.floor(I.log10(p.max))):1)},buildTicks:function(){var p=this,w=p.options.ticks,x=!p.isHorizontal(),C=p.ticks=function u(f,h){var S,C,M=[],p=I.valueOrDefault,y=p(f.min,Math.pow(10,Math.floor(I.log10(h.min)))),w=Math.floor(I.log10(h.max)),x=Math.ceil(h.max/Math.pow(10,w));0===y?(S=Math.floor(I.log10(h.minNotZero)),C=Math.floor(h.minNotZero/Math.pow(10,S)),M.push(y),y=C*Math.pow(10,S)):(S=Math.floor(I.log10(y)),C=Math.floor(y/Math.pow(10,S)));var L=S<0?Math.pow(10,Math.abs(S)):1;do{M.push(y),10==++C&&(C=1,L=++S>=0?1:L),y=Math.round(C*Math.pow(10,S)*L)/L}while(S{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h=I.global,M={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:u.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(Z){return Z}}};function p(Z){var Q=Z.options;return Q.angleLines.display||Q.pointLabels.display?Z.chart.data.labels.length:0}function y(Z){var Q=Z.options.pointLabels,ce=v.valueOrDefault(Q.fontSize,h.defaultFontSize),q=v.valueOrDefault(Q.fontStyle,h.defaultFontStyle),ee=v.valueOrDefault(Q.fontFamily,h.defaultFontFamily);return{size:ce,style:q,family:ee,font:v.fontString(ce,q,ee)}}function w(Z,Q,ce){return v.isArray(ce)?{w:v.longestText(Z,Z.font,ce),h:ce.length*Q+1.5*(ce.length-1)*Q}:{w:Z.measureText(ce).width,h:Q}}function x(Z,Q,ce,q,ee){return Z===q||Z===ee?{start:Q-ce/2,end:Q+ce/2}:Zee?{start:Q-ce-5,end:Q}:{start:Q,end:Q+ce+5}}function L(Z){return 0===Z||180===Z?"center":Z<180?"left":"right"}function A(Z,Q,ce,q){if(v.isArray(Q))for(var ee=ce.y,ne=1.5*q,oe=0;oe270||Z<90)&&(ce.y-=Q.h)}function re(Z){return v.isNumber(Z)?Z:0}var ve=f.LinearScaleBase.extend({setDimensions:function(){var Z=this,Q=Z.options,ce=Q.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var q=v.min([Z.height,Z.width]),ee=v.valueOrDefault(ce.fontSize,h.defaultFontSize);Z.drawingArea=Q.display?q/2-(ee/2+ce.backdropPaddingY):q/2},determineDataLimits:function(){var Z=this,Q=Z.chart,ce=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;v.each(Q.data.datasets,function(ee,ne){if(Q.isDatasetVisible(ne)){var oe=Q.getDatasetMeta(ne);v.each(ee.data,function(ae,J){var Te=+Z.getRightValue(ae);isNaN(Te)||oe.data[J].hidden||(ce=Math.min(Te,ce),q=Math.max(Te,q))})}}),Z.min=ce===Number.POSITIVE_INFINITY?0:ce,Z.max=q===Number.NEGATIVE_INFINITY?0:q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,Q=v.valueOrDefault(Z.fontSize,h.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*Q)))},convertTicksToLabels:function(){var Z=this;f.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,Q){return+this.getRightValue(this.chart.data.datasets[Q].data[Z])},fit:function(){this.options.pointLabels.display?function S(Z){var ne,oe,ae,Q=y(Z),ce=Math.min(Z.height/2,Z.width/2),q={r:Z.width,l:0,t:Z.height,b:0},ee={};Z.ctx.font=Q.font,Z._pointLabelSizes=[];var J=p(Z);for(ne=0;neq.r&&(q.r=Ae.end,ee.r=Te),Ne.startq.b&&(q.b=Ne.end,ee.b=Te)}Z.setReductions(ce,q,ee)}(this):function C(Z){var Q=Math.min(Z.height/2,Z.width/2);Z.drawingArea=Math.round(Q),Z.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,Q,ce){var q=this,ee=Q.l/Math.sin(ce.l),ne=Math.max(Q.r-q.width,0)/Math.sin(ce.r),oe=-Q.t/Math.cos(ce.t),ae=-Math.max(Q.b-q.height,0)/Math.cos(ce.b);ee=re(ee),ne=re(ne),oe=re(oe),ae=re(ae),q.drawingArea=Math.min(Math.round(Z-(ee+ne)/2),Math.round(Z-(oe+ae)/2)),q.setCenterPoint(ee,ne,oe,ae)},setCenterPoint:function(Z,Q,ce,q){var ee=this,ae=ce+ee.drawingArea,J=ee.height-q-ee.drawingArea;ee.xCenter=Math.round((Z+ee.drawingArea+(ee.width-Q-ee.drawingArea))/2+ee.left),ee.yCenter=Math.round((ae+J)/2+ee.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/p(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var Q=this;if(null===Z)return 0;var ce=Q.drawingArea/(Q.max-Q.min);return Q.options.ticks.reverse?(Q.max-Z)*ce:(Z-Q.min)*ce},getPointPosition:function(Z,Q){var q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(q)*Q)+this.xCenter,y:Math.round(Math.sin(q)*Q)+this.yCenter}},getPointPositionForValue:function(Z,Q){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(Q))},getBasePosition:function(){var Z=this,Q=Z.min,ce=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:Q<0&&ce<0?ce:Q>0&&ce>0?Q:0)},draw:function(){var Z=this,Q=Z.options,ce=Q.gridLines,q=Q.ticks,ee=v.valueOrDefault;if(Q.display){var ne=Z.ctx,oe=this.getIndexAngle(0),ae=ee(q.fontSize,h.defaultFontSize),J=ee(q.fontStyle,h.defaultFontStyle),Te=ee(q.fontFamily,h.defaultFontFamily),ke=v.fontString(ae,J,Te);v.each(Z.ticks,function(Ae,Ne){if(Ne>0||q.reverse){var et=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Ne]);if(ce.display&&0!==Ne&&function K(Z,Q,ce,q){var ee=Z.ctx;if(ee.strokeStyle=v.valueAtIndexOrDefault(Q.color,q-1),ee.lineWidth=v.valueAtIndexOrDefault(Q.lineWidth,q-1),Z.options.gridLines.circular)ee.beginPath(),ee.arc(Z.xCenter,Z.yCenter,ce,0,2*Math.PI),ee.closePath(),ee.stroke();else{var ne=p(Z);if(0===ne)return;ee.beginPath();var oe=Z.getPointPosition(0,ce);ee.moveTo(oe.x,oe.y);for(var ae=1;ae=0;ae--){if(q.display){var J=Z.getPointPosition(ae,ne);Q.beginPath(),Q.moveTo(Z.xCenter,Z.yCenter),Q.lineTo(J.x,J.y),Q.stroke(),Q.closePath()}if(ee.display){var Te=Z.getPointPosition(ae,ne+5),ke=v.valueAtIndexOrDefault(ee.fontColor,ae,h.defaultFontColor);Q.font=oe.font,Q.fillStyle=ke;var Ae=Z.getIndexAngle(ae),Ne=v.toDegrees(Ae);Q.textAlign=L(Ne),j(Ne,Z._pointLabelSizes[ae],Te),A(Q,Z.pointLabels[ae]||"",Te,oe.size)}}}(Z)}}});f.scaleService.registerScaleType("radialLinear",ve,M)}},4215:(le,me,F)=>{"use strict";var I=F(5439);I="function"==typeof I?I:window.moment;var v=F(9800),u=F(3305),f=Number.MIN_SAFE_INTEGER||-9007199254740991,h=Number.MAX_SAFE_INTEGER||9007199254740991,M={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},p=Object.keys(M);function y(q,ee){return q-ee}function w(q){var oe,ae,J,ee={},ne=[];for(oe=0,ae=q.length;oe=0&&oe<=ae;){if(ke=q[J=oe+ae>>1],!(Te=q[J-1]||null))return{lo:null,hi:ke};if(ke[ee]ne))return{lo:Te,hi:ke};ae=J-1}}return{lo:ke,hi:null}}(q,ee,ne),J=ae.lo?ae.hi?ae.lo:q[q.length-2]:q[0],Te=ae.lo?ae.hi?ae.hi:q[q.length-1]:q[1],ke=Te[ee]-J[ee];return J[oe]+(Te[oe]-J[oe])*(ke?(ne-J[ee])/ke:0)}function L(q,ee){var ne=ee.parser,oe=ee.parser||ee.format;return"function"==typeof ne?ne(q):"string"==typeof q&&"string"==typeof oe?I(q,oe):(q instanceof I||(q=I(q)),q.isValid()?q:"function"==typeof oe?oe(q):q)}function A(q,ee){if(u.isNullOrUndef(q))return null;var ne=ee.options.time,oe=L(ee.getRightValue(q),ne);return oe.isValid()?(ne.round&&oe.startOf(ne.round),oe.valueOf()):null}function re(q){for(var ee=p.indexOf(q)+1,ne=p.length;ee=ae&&rt<=J&&Ne.push(rt);return oe.min=ae,oe.max=J,oe._unit=ke.unit||function K(q,ee,ne,oe){var Te,ke,ae=I.duration(I(oe).diff(I(ne)));for(Te=p.length-1;Te>=p.indexOf(ee);Te--)if(M[ke=p[Te]].common&&ae.as(ke)>=q.length)return ke;return p[ee?p.indexOf(ee):0]}(Ne,ke.minUnit,oe.min,oe.max),oe._majorUnit=re(oe._unit),oe._table=function x(q,ee,ne,oe){if("linear"===oe||!q.length)return[{time:ee,pos:0},{time:ne,pos:1}];var Te,ke,Ae,Ne,et,ae=[],J=[ee];for(Te=0,ke=q.length;Teee&&Ne1?ee[1]:oe,"pos")-C(q,"time",Ae,"pos"))/2),ae.time.max||(Ae=ee.length>1?ee[ee.length-2]:ne,Te=(C(q,"time",ee[ee.length-1],"pos")-C(q,"time",Ae,"pos"))/2)),{left:J,right:Te}}(oe._table,Ne,ae,J,Te),oe._labelFormat=function ce(q,ee){var ne,oe,ae,J=q.length;for(ne=0;ne=0&&oe0?Ne:1}});q.scaleService.registerScaleType("time",ne,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:(le,me,F)=>{var I=F(9914);function v(Q){if(Q){var ae=[0,0,0],J=1,Te=Q.match(/^#([a-fA-F0-9]{3})$/i);if(Te){Te=Te[1];for(var ke=0;ke{var I=F(7227),v=F(3207),u=function(f){return f instanceof u?f:this instanceof u?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof f?(h=v.getRgba(f))?this.setValues("rgb",h):(h=v.getHsla(f))?this.setValues("hsl",h):(h=v.getHwb(f))&&this.setValues("hwb",h):"object"==typeof f&&(void 0!==(h=f).r||void 0!==h.red?this.setValues("rgb",h):void 0!==h.l||void 0!==h.lightness?this.setValues("hsl",h):void 0!==h.v||void 0!==h.value?this.setValues("hsv",h):void 0!==h.w||void 0!==h.whiteness?this.setValues("hwb",h):(void 0!==h.c||void 0!==h.cyan)&&this.setValues("cmyk",h)))):new u(f);var h};u.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var f=this.values;return 1!==f.alpha?f.hwb.concat([f.alpha]):f.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var f=this.values;return f.rgb.concat([f.alpha])},hslaArray:function(){var f=this.values;return f.hsl.concat([f.alpha])},alpha:function(f){return void 0===f?this.values.alpha:(this.setValues("alpha",f),this)},red:function(f){return this.setChannel("rgb",0,f)},green:function(f){return this.setChannel("rgb",1,f)},blue:function(f){return this.setChannel("rgb",2,f)},hue:function(f){return f&&(f=(f%=360)<0?360+f:f),this.setChannel("hsl",0,f)},saturation:function(f){return this.setChannel("hsl",1,f)},lightness:function(f){return this.setChannel("hsl",2,f)},saturationv:function(f){return this.setChannel("hsv",1,f)},whiteness:function(f){return this.setChannel("hwb",1,f)},blackness:function(f){return this.setChannel("hwb",2,f)},value:function(f){return this.setChannel("hsv",2,f)},cyan:function(f){return this.setChannel("cmyk",0,f)},magenta:function(f){return this.setChannel("cmyk",1,f)},yellow:function(f){return this.setChannel("cmyk",2,f)},black:function(f){return this.setChannel("cmyk",3,f)},hexString:function(){return v.hexString(this.values.rgb)},rgbString:function(){return v.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return v.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return v.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return v.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return v.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return v.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return v.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var f=this.values.rgb;return f[0]<<16|f[1]<<8|f[2]},luminosity:function(){for(var f=this.values.rgb,h=[],M=0;MM?(h+.05)/(M+.05):(M+.05)/(h+.05)},level:function(f){var h=this.contrast(f);return h>=7.1?"AAA":h>=4.5?"AA":""},dark:function(){var f=this.values.rgb;return(299*f[0]+587*f[1]+114*f[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var f=[],h=0;h<3;h++)f[h]=255-this.values.rgb[h];return this.setValues("rgb",f),this},lighten:function(f){var h=this.values.hsl;return h[2]+=h[2]*f,this.setValues("hsl",h),this},darken:function(f){var h=this.values.hsl;return h[2]-=h[2]*f,this.setValues("hsl",h),this},saturate:function(f){var h=this.values.hsl;return h[1]+=h[1]*f,this.setValues("hsl",h),this},desaturate:function(f){var h=this.values.hsl;return h[1]-=h[1]*f,this.setValues("hsl",h),this},whiten:function(f){var h=this.values.hwb;return h[1]+=h[1]*f,this.setValues("hwb",h),this},blacken:function(f){var h=this.values.hwb;return h[2]+=h[2]*f,this.setValues("hwb",h),this},greyscale:function(){var f=this.values.rgb,h=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[h,h,h]),this},clearer:function(f){var h=this.values.alpha;return this.setValues("alpha",h-h*f),this},opaquer:function(f){var h=this.values.alpha;return this.setValues("alpha",h+h*f),this},rotate:function(f){var h=this.values.hsl,M=(h[0]+f)%360;return h[0]=M<0?360+M:M,this.setValues("hsl",h),this},mix:function(f,h){var M=this,p=f,y=void 0===h?.5:h,w=2*y-1,x=M.alpha()-p.alpha(),S=((w*x==-1?w:(w+x)/(1+w*x))+1)/2,C=1-S;return this.rgb(S*M.red()+C*p.red(),S*M.green()+C*p.green(),S*M.blue()+C*p.blue()).alpha(M.alpha()*y+p.alpha()*(1-y))},toJSON:function(){return this.rgb()},clone:function(){var p,y,f=new u,h=this.values,M=f.values;for(var w in h)h.hasOwnProperty(w)&&("[object Array]"===(y={}.toString.call(p=h[w]))?M[w]=p.slice(0):"[object Number]"===y?M[w]=p:console.error("unexpected color value:",p));return f}},u.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},u.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},u.prototype.getValues=function(f){for(var h=this.values,M={},p=0;p{function me(z){var fe,we,se=z[0]/255,ie=z[1]/255,de=z[2]/255,ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return _e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),we=(ue+_e)/2,[fe,100*(_e==ue?0:we<=.5?be/(_e+ue):be/(2-_e-ue)),100*we]}function F(z){var fe,ge,se=z[0],ie=z[1],de=z[2],ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return ge=0==_e?0:be/_e*1e3/10,_e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),[fe,ge,_e/255*1e3/10]}function I(z){var se=z[0],ie=z[1],_e=z[2];return[me(z)[0],1/255*Math.min(se,Math.min(ie,_e))*100,100*(_e=1-1/255*Math.max(se,Math.max(ie,_e)))]}function v(z){var fe,se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*((1-se-(fe=Math.min(1-se,1-ie,1-de)))/(1-fe)||0),100*((1-ie-fe)/(1-fe)||0),100*((1-de-fe)/(1-fe)||0),100*fe]}function u(z){return Xe[JSON.stringify(z)]}function f(z){var se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*(.4124*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.3576*(ie=ie>.04045?Math.pow((ie+.055)/1.055,2.4):ie/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*se+.7152*ie+.0722*de),100*(.0193*se+.1192*ie+.9505*de)]}function h(z){var se=f(z),ie=se[0],de=se[1],ue=se[2];return de/=100,ue/=108.883,ie=(ie/=95.047)>.008856?Math.pow(ie,1/3):7.787*ie+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(ie-de),200*(de-(ue=ue>.008856?Math.pow(ue,1/3):7.787*ue+16/116))]}function p(z){var ue,_e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100;if(0==ie)return[ge=255*de,ge,ge];ue=2*de-(_e=de<.5?de*(1+ie):de+ie-de*ie),fe=[0,0,0];for(var we=0;we<3;we++)(be=se+1/3*-(we-1))<0&&be++,be>1&&be--,fe[we]=255*(ge=6*be<1?ue+6*(_e-ue)*be:2*be<1?_e:3*be<2?ue+(_e-ue)*(2/3-be)*6:ue);return fe}function C(z){var se=z[0]/60,ie=z[1]/100,ge=z[2]/100,de=Math.floor(se)%6,ue=se-Math.floor(se),_e=255*ge*(1-ie),be=255*ge*(1-ie*ue),fe=255*ge*(1-ie*(1-ue));switch(ge*=255,de){case 0:return[ge,fe,_e];case 1:return[be,ge,_e];case 2:return[_e,ge,fe];case 3:return[_e,be,ge];case 4:return[fe,_e,ge];case 5:return[ge,_e,be]}}function K(z){var _e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100,ue=ie+de;switch(ue>1&&(ie/=ue,de/=ue),fe=6*se-(_e=Math.floor(6*se)),0!=(1&_e)&&(fe=1-fe),ge=ie+fe*((be=1-de)-ie),_e){default:case 6:case 0:r=be,g=ge,b=ie;break;case 1:r=ge,g=be,b=ie;break;case 2:r=ie,g=be,b=ge;break;case 3:r=ie,g=ge,b=be;break;case 4:r=ge,g=ie,b=be;break;case 5:r=be,g=ie,b=ge}return[255*r,255*g,255*b]}function ce(z){var ie=z[1]/100,de=z[2]/100,ue=z[3]/100;return[255*(1-Math.min(1,z[0]/100*(1-ue)+ue)),255*(1-Math.min(1,ie*(1-ue)+ue)),255*(1-Math.min(1,de*(1-ue)+ue))]}function ae(z){var ue,_e,be,se=z[0]/100,ie=z[1]/100,de=z[2]/100;return _e=-.9689*se+1.8758*ie+.0415*de,be=.0557*se+-.204*ie+1.057*de,ue=(ue=3.2406*se+-1.5372*ie+-.4986*de)>.0031308?1.055*Math.pow(ue,1/2.4)-.055:ue*=12.92,_e=_e>.0031308?1.055*Math.pow(_e,1/2.4)-.055:_e*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(ue=Math.min(Math.max(0,ue),1)),255*(_e=Math.min(Math.max(0,_e),1)),255*(be=Math.min(Math.max(0,be),1))]}function J(z){var se=z[0],ie=z[1],de=z[2];return ie/=100,de/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(ie=ie>.008856?Math.pow(ie,1/3):7.787*ie+16/116)-16,500*(se-ie),200*(ie-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function ke(z){var ue,_e,be,fe,se=z[0],ie=z[1],de=z[2];return se<=8?fe=(_e=100*se/903.3)/100*7.787+16/116:(_e=100*Math.pow((se+16)/116,3),fe=Math.pow(_e/100,1/3)),[ue=ue/95.047<=.008856?ue=95.047*(ie/500+fe-16/116)/7.787:95.047*Math.pow(ie/500+fe,3),_e,be=be/108.883<=.008859?be=108.883*(fe-de/200-16/116)/7.787:108.883*Math.pow(fe-de/200,3)]}function Ae(z){var _e,se=z[0],ie=z[1],de=z[2];return(_e=360*Math.atan2(de,ie)/2/Math.PI)<0&&(_e+=360),[se,Math.sqrt(ie*ie+de*de),_e]}function Ne(z){return ae(ke(z))}function et(z){var be,ie=z[1];return be=z[2]/360*2*Math.PI,[z[0],ie*Math.cos(be),ie*Math.sin(be)]}function Bt(z){return Kn[z]}le.exports={rgb2hsl:me,rgb2hsv:F,rgb2hwb:I,rgb2cmyk:v,rgb2keyword:u,rgb2xyz:f,rgb2lab:h,rgb2lch:function M(z){return Ae(h(z))},hsl2rgb:p,hsl2hsv:function y(z){var ie=z[1]/100,de=z[2]/100;return 0===de?[0,0,0]:[z[0],2*(ie*=(de*=2)<=1?de:2-de)/(de+ie)*100,(de+ie)/2*100]},hsl2hwb:function w(z){return I(p(z))},hsl2cmyk:function x(z){return v(p(z))},hsl2keyword:function S(z){return u(p(z))},hsv2rgb:C,hsv2hsl:function L(z){var ue,_e,ie=z[1]/100,de=z[2]/100;return ue=ie*de,[z[0],100*(ue=(ue/=(_e=(2-ie)*de)<=1?_e:2-_e)||0),100*(_e/=2)]},hsv2hwb:function A(z){return I(C(z))},hsv2cmyk:function j(z){return v(C(z))},hsv2keyword:function H(z){return u(C(z))},hwb2rgb:K,hwb2hsl:function re(z){return me(K(z))},hwb2hsv:function ve(z){return F(K(z))},hwb2cmyk:function Z(z){return v(K(z))},hwb2keyword:function Q(z){return u(K(z))},cmyk2rgb:ce,cmyk2hsl:function q(z){return me(ce(z))},cmyk2hsv:function ee(z){return F(ce(z))},cmyk2hwb:function ne(z){return I(ce(z))},cmyk2keyword:function oe(z){return u(ce(z))},keyword2rgb:Bt,keyword2hsl:function ln(z){return me(Bt(z))},keyword2hsv:function Rn(z){return F(Bt(z))},keyword2hwb:function Mn(z){return I(Bt(z))},keyword2cmyk:function Sn(z){return v(Bt(z))},keyword2lab:function je(z){return h(Bt(z))},keyword2xyz:function jn(z){return f(Bt(z))},xyz2rgb:ae,xyz2lab:J,xyz2lch:function Te(z){return Ae(J(z))},lab2xyz:ke,lab2rgb:Ne,lab2lch:Ae,lch2lab:et,lch2xyz:function st(z){return ke(et(z))},lch2rgb:function rt(z){return Ne(et(z))}};var Kn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Xe={};for(var Ge in Kn)Xe[JSON.stringify(Kn[Ge])]=Ge},7227:(le,me,F)=>{var I=F(4126),v=function(){return new p};for(var u in I){v[u+"Raw"]=function(y){return function(w){return"number"==typeof w&&(w=Array.prototype.slice.call(arguments)),I[y](w)}}(u);var f=/(\w+)2(\w+)/.exec(u),h=f[1],M=f[2];(v[h]=v[h]||{})[M]=v[u]=function(y){return function(w){"number"==typeof w&&(w=Array.prototype.slice.call(arguments));var x=I[y](w);if("string"==typeof x||void 0===x)return x;for(var S=0;S{le.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7088:function(le,me,F){!function(I){"use strict";I.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(u){return/^nm$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"vm":"VM":h?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},2502:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(F(5439))},128:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(F(5439))},4519:function(le,me,F){!function(I){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},h=function(y){return function(w,x,S,C){var L=u(w),A=f[y][u(w)];return 2===L&&(A=A[x?0:1]),A.replace(/%d/i,w)}},M=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar-ly",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,w,x){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(w){return v[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},5443:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(F(5439))},7642:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};I.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(h){return"\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(h){return h.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(F(5439))},8592:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(F(5439))},7038:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},f=function(w){return 0===w?0:1===w?1:2===w?2:w%100>=3&&w%100<=10?3:w%100>=11?4:5},h={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(w){return function(x,S,C,L){var A=f(x),j=h[w][f(x)];return 2===A&&(j=j[S?0:1]),j.replace(/%d/i,x)}},p=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(w){return"\u0645"===w},meridiem:function(w,x,S){return w<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return u[x]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(x){return v[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},1213:function(le,me,F){!function(I){"use strict";var v={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};I.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(f){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(f)},meridiem:function(f,h,M){return f<4?"gec\u0259":f<12?"s\u0259h\u0259r":f<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(f){if(0===f)return f+"-\u0131nc\u0131";var h=f%10;return f+(v[h]||v[f%100-h]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9191:function(le,me,F){!function(I){"use strict";function u(h,M,p){return"m"===p?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":h+" "+function v(h,M){var p=h.split("_");return M%10==1&&M%100!=11?p[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?p[1]:p[2]}({ss:M?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[p],+h)}I.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(h)},meridiem:function(h,M,p){return h<4?"\u043d\u043e\u0447\u044b":h<12?"\u0440\u0430\u043d\u0456\u0446\u044b":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(h,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return h%10!=2&&h%10!=3||h%100==12||h%100==13?h+"-\u044b":h+"-\u0456";case"D":return h+"-\u0433\u0430";default:return h}},week:{dow:1,doy:7}})}(F(5439))},322:function(le,me,F){!function(I){"use strict";I.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},8042:function(le,me,F){!function(I){"use strict";I.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(F(5439))},9620:function(le,me,F){!function(I){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};I.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(h){return h.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u09b0\u09be\u09a4"===M&&h>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&h<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u09b0\u09be\u09a4":h<10?"\u09b8\u0995\u09be\u09b2":h<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":h<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(F(5439))},9645:function(le,me,F){!function(I){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};I.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(h){return h.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&h>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&h<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":h<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":h<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":h<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(F(5439))},5020:function(le,me,F){!function(I){"use strict";function v(y,w,x){return y+" "+function h(y,w){return 2===w?function M(y){var w={m:"v",b:"v",d:"z"};return void 0===w[y.charAt(0)]?y:w[y.charAt(0)]+y.substring(1)}(y):y}({mm:"munutenn",MM:"miz",dd:"devezh"}[x],y)}function f(y){return y>9?f(y%10):y}I.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:function u(y){switch(f(y)){case 1:case 3:case 4:case 5:case 9:return y+" bloaz";default:return y+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y){return y+(1===y?"a\xf1":"vet")},week:{dow:1,doy:4}})}(F(5439))},4792:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7980:function(le,me,F){!function(I){"use strict";I.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,f){var h=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===f||"W"===f)&&(h="a"),u+h},week:{dow:1,doy:4}})}(F(5439))},7322:function(le,me,F){!function(I){"use strict";var v="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function f(p){return p>1&&p<5&&1!=~~(p/10)}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sekund"):S+"sekundami";case"m":return y?"minuta":x?"minutu":"minutou";case"mm":return y||x?S+(f(p)?"minuty":"minut"):S+"minutami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hodin"):S+"hodinami";case"d":return y||x?"den":"dnem";case"dd":return y||x?S+(f(p)?"dny":"dn\xed"):S+"dny";case"M":return y||x?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||x?S+(f(p)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):S+"m\u011bs\xedci";case"y":return y||x?"rok":"rokem";case"yy":return y||x?S+(f(p)?"roky":"let"):S+"lety"}}I.defineLocale("cs",{months:v,monthsShort:u,monthsParse:function(p,y){var w,x=[];for(w=0;w<12;w++)x[w]=new RegExp("^"+p[w]+"$|^"+y[w]+"$","i");return x}(v,u),shortMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(u),longMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(v),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},365:function(le,me,F){!function(I){"use strict";I.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(F(5439))},2092:function(le,me,F){!function(I){"use strict";I.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(u){var h="";return u>20?h=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(h=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+h},week:{dow:1,doy:4}})}(F(5439))},7387:function(le,me,F){!function(I){"use strict";I.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9459:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3694:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4307:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9659:function(le,me,F){!function(I){"use strict";var v=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],u=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];I.defineLocale("dv",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(h){return"\u0789\u078a"===h},meridiem:function(h,M,p){return h<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(F(5439))},3460:function(le,me,F){!function(I){"use strict";I.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(f,h){return f?"string"==typeof h&&/D/.test(h.substring(0,h.indexOf("MMMM")))?this._monthsGenitiveEl[f.month()]:this._monthsNominativeEl[f.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(f,h,M){return f>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(f){return"\u03bc"===(f+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(f,h){var M=this._calendarEl[f],p=h&&h.hours();return function v(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}(M)&&(M=M.apply(h)),M.replace("{}",p%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(F(5439))},4369:function(le,me,F){!function(I){"use strict";I.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},530:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},9998:function(le,me,F){!function(I){"use strict";I.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},3391:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},5414:function(le,me,F){!function(I){"use strict";I.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},1248:function(le,me,F){!function(I){"use strict";I.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},4530:function(le,me,F){!function(I){"use strict";I.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,f,h){return u>11?h?"p.t.m.":"P.T.M.":h?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(F(5439))},8944:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},3609:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");I.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(F(5439))},6866:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},6725:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[f+"sekundi",f+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[f+" minuti",f+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[f+" tunni",f+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[f+" kuu",f+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[f+" aasta",f+" aastat"]};return h?y[M][2]?y[M][2]:y[M][1]:p?y[M][0]:y[M][1]}I.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7931:function(le,me,F){!function(I){"use strict";I.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6417:function(le,me,F){!function(I){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};I.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(h){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(h)},meridiem:function(h,M,p){return h<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/[\u06f0-\u06f9]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(F(5439))},944:function(le,me,F){!function(I){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function f(p,y,w,x){var S="";switch(w){case"s":return x?"muutaman sekunnin":"muutama sekunti";case"ss":return x?"sekunnin":"sekuntia";case"m":return x?"minuutin":"minuutti";case"mm":S=x?"minuutin":"minuuttia";break;case"h":return x?"tunnin":"tunti";case"hh":S=x?"tunnin":"tuntia";break;case"d":return x?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":S=x?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return x?"kuukauden":"kuukausi";case"MM":S=x?"kuukauden":"kuukautta";break;case"y":return x?"vuoden":"vuosi";case"yy":S=x?"vuoden":"vuotta"}return function h(p,y){return p<10?y?u[p]:v[p]:p}(p,x)+" "+S}I.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5867:function(le,me,F){!function(I){"use strict";I.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},6848:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(F(5439))},7773:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},1636:function(le,me,F){!function(I){"use strict";I.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,f){switch(f){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},4940:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");I.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},6924:function(le,me,F){!function(I){"use strict";I.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(y){return y+(1===y?"d":y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(F(5439))},6398:function(le,me,F){!function(I){"use strict";I.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(u){return 0===u.indexOf("un")?"n"+u:"en "+u},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2545:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["thodde secondanim","thodde second"],ss:[f+" secondanim",f+" second"],m:["eka mintan","ek minute"],mm:[f+" mintanim",f+" mintam"],h:["eka horan","ek hor"],hh:[f+" horanim",f+" horam"],d:["eka disan","ek dis"],dd:[f+" disanim",f+" dis"],M:["eka mhoinean","ek mhoino"],MM:[f+" mhoineanim",f+" mhoine"],y:["eka vorsan","ek voros"],yy:[f+" vorsanim",f+" vorsam"]};return h?y[M][0]:y[M][1]}I.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,h){return"D"===h?f+"er":f},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,h){return 12===f&&(f=0),"rati"===h?f<4?f:f+12:"sokalli"===h?f:"donparam"===h?f>12?f:f+12:"sanje"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(F(5439))},2641:function(le,me,F){!function(I){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};I.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(h){return h.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0ab0\u0abe\u0aa4"===M?h<4?h:h+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?h:"\u0aac\u0aaa\u0acb\u0ab0"===M?h>=10?h:h+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0ab0\u0abe\u0aa4":h<10?"\u0ab8\u0ab5\u0abe\u0ab0":h<17?"\u0aac\u0aaa\u0acb\u0ab0":h<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(F(5439))},7536:function(le,me,F){!function(I){"use strict";I.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,f,h){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?h?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?h?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(F(5439))},6335:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924"===M?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===M?h:"\u0926\u094b\u092a\u0939\u0930"===M?h>=10?h:h+12:"\u0936\u093e\u092e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(F(5439))},7458:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6540:function(le,me,F){!function(I){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(M,p,y,w){var x=M;switch(y){case"s":return w||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return x+(w||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(w||p?" perc":" perce");case"mm":return x+(w||p?" perc":" perce");case"h":return"egy"+(w||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return x+(w||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(w||p?" nap":" napja");case"dd":return x+(w||p?" nap":" napja");case"M":return"egy"+(w||p?" h\xf3nap":" h\xf3napja");case"MM":return x+(w||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(w||p?" \xe9v":" \xe9ve");case"yy":return x+(w||p?" \xe9v":" \xe9ve")}return""}function f(M){return(M?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}I.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,p,y){return M<12?!0===y?"de":"DE":!0===y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return f.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return f.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5283:function(le,me,F){!function(I){"use strict";I.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(u,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(F(5439))},8780:function(le,me,F){!function(I){"use strict";I.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"siang"===f?u>=11?u:u+12:"sore"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"siang":u<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},4205:function(le,me,F){!function(I){"use strict";function v(h){return h%100==11||h%10!=1}function u(h,M,p,y){var w=h+" ";switch(p){case"s":return M||y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(h)?w+(M||y?"sek\xfandur":"sek\xfandum"):w+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(h)?w+(M||y?"m\xedn\xfatur":"m\xedn\xfatum"):M?w+"m\xedn\xfata":w+"m\xedn\xfatu";case"hh":return v(h)?w+(M||y?"klukkustundir":"klukkustundum"):w+"klukkustund";case"d":return M?"dagur":y?"dag":"degi";case"dd":return v(h)?M?w+"dagar":w+(y?"daga":"d\xf6gum"):M?w+"dagur":w+(y?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(h)?M?w+"m\xe1nu\xf0ir":w+(y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?w+"m\xe1nu\xf0ur":w+(y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||y?"\xe1r":"\xe1ri";case"yy":return v(h)?w+(M||y?"\xe1r":"\xe1rum"):w+(M||y?"\xe1r":"\xe1ri")}}I.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4211:function(le,me,F){!function(I){"use strict";I.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},1003:function(le,me,F){!function(I){"use strict";I.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(u){return"\u5348\u5f8c"===u},meridiem:function(u,f,h){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()=11?u:u+12:"sonten"===f||"ndalu"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"enjing":u<15?"siyang":u<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(F(5439))},851:function(le,me,F){!function(I){"use strict";I.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(u)?u.replace(/\u10d8$/,"\u10e8\u10d8"):u+"\u10e8\u10d8"},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(F(5439))},6074:function(le,me,F){!function(I){"use strict";var v={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};I.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},3343:function(le,me,F){!function(I){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};I.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(h){return"\u179b\u17d2\u1784\u17b6\u1785"===h},meridiem:function(h,M,p){return h<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(h){return h.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},4799:function(le,me,F){!function(I){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};I.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(h){return h.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?h<4?h:h+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?h:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?h>=10?h:h+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":h<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":h<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":h<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(h){return h+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(F(5439))},3549:function(le,me,F){!function(I){"use strict";I.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,f,h){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(F(5439))},3125:function(le,me,F){!function(I){"use strict";var v={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};I.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9586:function(le,me,F){!function(I){"use strict";function v(p,y,w,x){var S={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return y?S[w][0]:S[w][1]}function h(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;if(p<10)return 4<=p&&p<=7;if(p<100){var y=p%10;return h(0===y?p/10:y)}if(p<1e4){for(;p>=10;)p/=10;return h(p)}return h(p/=1e3)}I.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function u(p){return h(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function f(p){return h(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2349:function(le,me,F){!function(I){"use strict";I.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,f,h){return u<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(u){return"\u0e97\u0eb5\u0ec8"+u}})}(F(5439))},2400:function(le,me,F){!function(I){"use strict";var v={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function f(w,x,S,C){return x?M(S)[0]:C?M(S)[1]:M(S)[2]}function h(w){return w%10==0||w>10&&w<20}function M(w){return v[w].split("_")}function p(w,x,S,C){var L=w+" ";return 1===w?L+f(0,x,S[0],C):x?L+(h(w)?M(S)[1]:M(S)[0]):C?L+M(S)[1]:L+(h(w)?M(S)[1]:M(S)[2])}I.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function u(w,x,S,C){return x?"kelios sekund\u0117s":C?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:f,mm:p,h:f,hh:p,d:f,dd:p,M:f,MM:p,y:f,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(w){return w+"-oji"},week:{dow:1,doy:4}})}(F(5439))},9991:function(le,me,F){!function(I){"use strict";var v={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function u(y,w,x){return x?w%10==1&&w%100!=11?y[2]:y[3]:w%10==1&&w%100!=11?y[0]:y[1]}function f(y,w,x){return y+" "+u(v[x],y,w)}function h(y,w,x){return u(v[x],y,w)}I.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function M(y,w){return w?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:f,m:h,mm:f,h,hh:f,d:h,dd:f,M:h,MM:f,y:h,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8477:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},5118:function(le,me,F){!function(I){"use strict";I.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5943:function(le,me,F){!function(I){"use strict";I.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},3849:function(le,me,F){!function(I){"use strict";I.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?u+12:u},meridiem:function(u,f,h){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(F(5439))},1977:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){switch(M){case"s":return h?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return f+(h?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return f+(h?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return f+(h?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return f+(h?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return f+(h?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return f+(h?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return f}}I.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(f){return"\u04ae\u0425"===f},meridiem:function(f,h,M){return f<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,h){switch(h){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(F(5439))},6184:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function f(M,p,y,w){var x="";if(p)switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":x="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":x="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":x="%d \u0924\u093e\u0938";break;case"d":x="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":x="%d \u0926\u093f\u0935\u0938";break;case"M":x="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":x="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u0947"}else switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":x="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":x="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":x="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":x="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":x="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":x="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":x="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return x.replace(/%d/i,M)}I.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return u[p]})},postformat:function(M){return M.replace(/\d/g,function(p){return v[p]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(M,p){return 12===M&&(M=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===p?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940"===p?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===p?M>=10?M:M+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p?M+12:void 0},meridiem:function(M,p,y){return M<4?"\u0930\u093e\u0924\u094d\u0930\u0940":M<10?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(F(5439))},4524:function(le,me,F){!function(I){"use strict";I.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},485:function(le,me,F){!function(I){"use strict";I.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},6681:function(le,me,F){!function(I){"use strict";I.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2024:function(le,me,F){!function(I){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};I.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(h){return h.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},2688:function(le,me,F){!function(I){"use strict";I.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8914:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924\u093f"===M?h<4?h:h+12:"\u092c\u093f\u0939\u093e\u0928"===M?h:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?h>=10?h:h+12:"\u0938\u093e\u0901\u091d"===M?h+12:void 0},meridiem:function(h,M,p){return h<3?"\u0930\u093e\u0924\u093f":h<12?"\u092c\u093f\u0939\u093e\u0928":h<16?"\u0926\u093f\u0909\u0901\u0938\u094b":h<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(F(5439))},2272:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1758:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1510:function(le,me,F){!function(I){"use strict";I.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7944:function(le,me,F){!function(I){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};I.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(h){return h.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0a30\u0a3e\u0a24"===M?h<4?h:h+12:"\u0a38\u0a35\u0a47\u0a30"===M?h:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?h>=10?h:h+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0a30\u0a3e\u0a24":h<10?"\u0a38\u0a35\u0a47\u0a30":h<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":h<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(F(5439))},1605:function(le,me,F){!function(I){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function f(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function h(p,y,w){var x=p+" ";switch(w){case"ss":return x+(f(p)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return x+(f(p)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return x+(f(p)?"godziny":"godzin");case"MM":return x+(f(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(f(p)?"lata":"lat")}}I.defineLocale("pl",{months:function(p,y){return p?""===y?"("+u[p.month()]+"|"+v[p.month()]+")":/D MMMM/.test(y)?u[p.month()]:v[p.month()]:v},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h,m:h,mm:h,h,hh:h,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3840:function(le,me,F){!function(I){"use strict";I.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(F(5439))},4225:function(le,me,F){!function(I){"use strict";I.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5128:function(le,me,F){!function(I){"use strict";function v(f,h,M){var y=" ";return(f%100>=20||f>=100&&f%100==0)&&(y=" de "),f+y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[M]}I.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(F(5439))},5127:function(le,me,F){!function(I){"use strict";function u(M,p,y){return"m"===y?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+function v(M,p){var y=M.split("_");return p%10==1&&p%100!=11?y[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?y[1]:y[2]}({ss:p?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:p?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[y],+M)}var f=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];I.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:f,longMonthsParse:f,shortMonthsParse:f,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,p,y){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,p){switch(p){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(F(5439))},2525:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],u=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];I.defineLocale("sd",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},9893:function(le,me,F){!function(I){"use strict";I.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3123:function(le,me,F){!function(I){"use strict";I.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,f,h){return u>11?h?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":h?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(F(5439))},9635:function(le,me,F){!function(I){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function f(p){return p>1&&p<5}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sek\xfand"):S+"sekundami";case"m":return y?"min\xfata":x?"min\xfatu":"min\xfatou";case"mm":return y||x?S+(f(p)?"min\xfaty":"min\xfat"):S+"min\xfatami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hod\xedn"):S+"hodinami";case"d":return y||x?"de\u0148":"d\u0148om";case"dd":return y||x?S+(f(p)?"dni":"dn\xed"):S+"d\u0148ami";case"M":return y||x?"mesiac":"mesiacom";case"MM":return y||x?S+(f(p)?"mesiace":"mesiacov"):S+"mesiacmi";case"y":return y||x?"rok":"rokom";case"yy":return y||x?S+(f(p)?"roky":"rokov"):S+"rokmi"}}I.defineLocale("sk",{months:v,monthsShort:u,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8106:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y=f+" ";switch(M){case"s":return h||p?"nekaj sekund":"nekaj sekundami";case"ss":return y+(1===f?h?"sekundo":"sekundi":2===f?h||p?"sekundi":"sekundah":f<5?h||p?"sekunde":"sekundah":"sekund");case"m":return h?"ena minuta":"eno minuto";case"mm":return y+(1===f?h?"minuta":"minuto":2===f?h||p?"minuti":"minutama":f<5?h||p?"minute":"minutami":h||p?"minut":"minutami");case"h":return h?"ena ura":"eno uro";case"hh":return y+(1===f?h?"ura":"uro":2===f?h||p?"uri":"urama":f<5?h||p?"ure":"urami":h||p?"ur":"urami");case"d":return h||p?"en dan":"enim dnem";case"dd":return y+(1===f?h||p?"dan":"dnem":2===f?h||p?"dni":"dnevoma":h||p?"dni":"dnevi");case"M":return h||p?"en mesec":"enim mesecem";case"MM":return y+(1===f?h||p?"mesec":"mesecem":2===f?h||p?"meseca":"mesecema":f<5?h||p?"mesece":"meseci":h||p?"mesecev":"meseci");case"y":return h||p?"eno leto":"enim letom";case"yy":return y+(1===f?h||p?"leto":"letom":2===f?h||p?"leti":"letoma":f<5?h||p?"leta":"leti":h||p?"let":"leti")}}I.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},8799:function(le,me,F){!function(I){"use strict";I.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(u){return"M"===u.charAt(0)},meridiem:function(u,f,h){return u<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2872:function(le,me,F){!function(I){"use strict";var v={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"\u0434\u0430\u043d",dd:v.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:v.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7949:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6167:function(le,me,F){!function(I){"use strict";I.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(u,f,h){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,f){return 12===u&&(u=0),"ekuseni"===f?u:"emini"===f?u>=11?u:u+12:"entsambama"===f||"ebusuku"===f?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(F(5439))},9713:function(le,me,F){!function(I){"use strict";I.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(F(5439))},1982:function(le,me,F){!function(I){"use strict";I.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(F(5439))},2732:function(le,me,F){!function(I){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};I.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(h){return h+"\u0bb5\u0ba4\u0bc1"},preparse:function(h){return h.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(h,M,p){return h<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":h<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":h<10?" \u0b95\u0bbe\u0bb2\u0bc8":h<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":h<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":h<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(h,M){return 12===h&&(h=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?h<2?h:h+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&h>=10?h:h+12},week:{dow:0,doy:6}})}(F(5439))},3636:function(le,me,F){!function(I){"use strict";I.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===f?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?u+12:void 0},meridiem:function(u,f,h){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(F(5439))},2115:function(le,me,F){!function(I){"use strict";I.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9801:function(le,me,F){!function(I){"use strict";var v={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};I.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(f,h){return 12===f&&(f=0),"\u0448\u0430\u0431"===h?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===h?f:"\u0440\u04ef\u0437"===h?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"\u0448\u0430\u0431":f<11?"\u0441\u0443\u0431\u04b3":f<16?"\u0440\u04ef\u0437":f<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},2868:function(le,me,F){!function(I){"use strict";I.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,f,h){return u<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(F(5439))},2360:function(le,me,F){!function(I){"use strict";I.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},6645:function(le,me,F){!function(I){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function h(y,w,x,S){var C=function M(y){var w=Math.floor(y%1e3/100),x=Math.floor(y%100/10),S=y%10,C="";return w>0&&(C+=v[w]+"vatlh"),x>0&&(C+=(""!==C?" ":"")+v[x]+"maH"),S>0&&(C+=(""!==C?" ":"")+v[S]),""===C?"pagh":C}(y);switch(x){case"ss":return C+" lup";case"mm":return C+" tup";case"hh":return C+" rep";case"dd":return C+" jaj";case"MM":return C+" jar";case"yy":return C+" DIS"}}I.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function u(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"leS":-1!==y.indexOf("jar")?w.slice(0,-3)+"waQ":-1!==y.indexOf("DIS")?w.slice(0,-3)+"nem":w+" pIq"},past:function f(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"Hu\u2019":-1!==y.indexOf("jar")?w.slice(0,-3)+"wen":-1!==y.indexOf("DIS")?w.slice(0,-3)+"ben":w+" ret"},s:"puS lup",ss:h,m:"wa\u2019 tup",mm:h,h:"wa\u2019 rep",hh:h,d:"wa\u2019 jaj",dd:h,M:"wa\u2019 jar",MM:h,y:"wa\u2019 DIS",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8374:function(le,me,F){!function(I){"use strict";var v={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};I.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(f,h){switch(h){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var M=f%10;return f+(v[M]||v[f%100-M]||v[f>=100?100:null])}},week:{dow:1,doy:7}})}(F(5439))},256:function(le,me,F){!function(I){"use strict";function u(f,h,M,p){var y={s:["viensas secunds","'iensas secunds"],ss:[f+" secunds",f+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[f+" m\xeduts",f+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[f+" \xfeoras",f+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[f+" ziuas",f+" ziuas"],M:["'n mes","'iens mes"],MM:[f+" mesen",f+" mesen"],y:["'n ar","'iens ar"],yy:[f+" ars",f+" ars"]};return p||h?y[M][0]:y[M][1]}I.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(f){return"d'o"===f.toLowerCase()},meridiem:function(f,h,M){return f>11?M?"d'o":"D'O":M?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},1631:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(F(5439))},1595:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(F(5439))},6050:function(le,me,F){!function(I){"use strict";I.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===f||"\u0633\u06d5\u06be\u06d5\u0631"===f||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===f?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(F(5439))},5610:function(le,me,F){!function(I){"use strict";function u(p,y,w){return"m"===w?y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===w?y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function v(p,y){var w=p.split("_");return y%10==1&&y%100!=11?w[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?w[1]:w[2]}({ss:y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:y?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[w],+p)}function h(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}I.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function f(p,y){var w={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return p?w[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(y)?"genitive":"nominative"][p.day()]:w.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:h("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:h("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:h("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:h("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,y,w){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,y){switch(y){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(F(5439))},6077:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],u=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];I.defineLocale("ur",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},2207:function(le,me,F){!function(I){"use strict";I.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(F(5439))},2862:function(le,me,F){!function(I){"use strict";I.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(F(5439))},8093:function(le,me,F){!function(I){"use strict";I.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(u){return/^ch$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"sa":"SA":h?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},5590:function(le,me,F){!function(I){"use strict";I.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9058:function(le,me,F){!function(I){"use strict";I.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(F(5439))},7908:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(F(5439))},8867:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},3291:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},5439:function(le,me,F){(le=F.nmd(le)).exports=function(){"use strict";var I,H;function v(){return I.apply(null,arguments)}function f(m){return m instanceof Array||"[object Array]"===Object.prototype.toString.call(m)}function h(m){return null!=m&&"[object Object]"===Object.prototype.toString.call(m)}function p(m){return void 0===m}function y(m){return"number"==typeof m||"[object Number]"===Object.prototype.toString.call(m)}function w(m){return m instanceof Date||"[object Date]"===Object.prototype.toString.call(m)}function x(m,P){var G,V=[];for(G=0;G>>0,G=0;G0)for(V=0;V=0?V?"+":"":"-")+Math.pow(10,Math.max(0,P-G.length)).toString().substr(1)+G}var Ee=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ze=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},dt={};function tt(m,P,V,G){var te=G;"string"==typeof G&&(te=function(){return this[G]()}),m&&(dt[m]=te),P&&(dt[P[0]]=function(){return we(te.apply(this,arguments),P[1],P[2])}),V&&(dt[V]=function(){return this.localeData().ordinal(te.apply(this,arguments),m)})}function Yt(m){return m.match(/\[[\s\S]/)?m.replace(/^\[|\]$/g,""):m.replace(/\\/g,"")}function Rt(m,P){return m.isValid()?(P=Gt(P,m.localeData()),ut[P]=ut[P]||function wn(m){var V,G,P=m.match(Ee);for(V=0,G=P.length;V=0&&Ze.test(m);)m=m.replace(Ze,G),Ze.lastIndex=0,V-=1;return m}var Dn=/\d/,ti=/\d\d/,Ss=/\d{3}/,Fs=/\d{4}/,yi=/[+-]?\d{6}/,Zt=/\d\d?/,fi=/\d\d\d\d?/,ni=/\d\d\d\d\d\d?/,mn=/\d{1,3}/,_n=/\d{1,4}/,la=/[+-]?\d{1,6}/,kn=/\d+/,ca=/[+-]?\d+/,S_=/Z|[+-]\d\d:?\d\d/gi,sn=/Z|[+-]\d\d(?::?\d\d)?/gi,Po=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,jh={};function Le(m,P,V){jh[m]=Ae(P)?P:function(G,te){return G&&V?V:P}}function Bl(m,P){return S(jh,m)?jh[m](P._strict,P._locale):new RegExp(function xt(m){return zt(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,V,G,te,xe){return V||G||te||xe}))}(m))}function zt(m){return m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Tu={};function Un(m,P){var V,G=P;for("string"==typeof m&&(m=[m]),y(P)&&(G=function(te,xe){xe[P]=ne(te)}),V=0;V68?1900:2e3)};var pi,Uh=Li("FullYear",!0);function Li(m,P){return function(V){return null!=V?(D_(this,m,V),v.updateOffset(this,P),this):tn(this,m)}}function tn(m,P){return m.isValid()?m._d["get"+(m._isUTC?"UTC":"")+P]():NaN}function D_(m,P,V){m.isValid()&&!isNaN(V)&&("FullYear"===P&&xu(m.year())&&1===m.month()&&29===m.date()?m._d["set"+(m._isUTC?"UTC":"")+P](V,m.month(),wt(V,m.month())):m._d["set"+(m._isUTC?"UTC":"")+P](V))}function wt(m,P){if(isNaN(m)||isNaN(P))return NaN;var V=function Ye(m,P){return(m%P+P)%P}(P,12);return m+=(P-V)/12,1===V?xu(m)?29:28:31-V%7%2}pi=Array.prototype.indexOf?Array.prototype.indexOf:function(m){var P;for(P=0;P=0&&isFinite(Ft.getFullYear())&&Ft.setFullYear(m),Ft}function Wr(m){var P=new Date(Date.UTC.apply(null,arguments));return m<100&&m>=0&&isFinite(P.getUTCFullYear())&&P.setUTCFullYear(m),P}function _r(m,P,V){var G=7+P-V;return-(7+Wr(m,0,G).getUTCDay()-P)%7+G-1}function E_(m,P,V,G,te){var Ht,Nn,Ft=1+7*(P-1)+(7+V-G)%7+_r(m,G,te);return Ft<=0?Nn=tl(Ht=m-1)+Ft:Ft>tl(m)?(Ht=m+1,Nn=Ft-tl(m)):(Ht=m,Nn=Ft),{year:Ht,dayOfYear:Nn}}function Wl(m,P,V){var xe,Ve,G=_r(m.year(),P,V),te=Math.floor((m.dayOfYear()-G-1)/7)+1;return te<1?xe=te+Hi(Ve=m.year()-1,P,V):te>Hi(m.year(),P,V)?(xe=te-Hi(m.year(),P,V),Ve=m.year()+1):(Ve=m.year(),xe=te),{week:xe,year:Ve}}function Hi(m,P,V){var G=_r(m,P,V),te=_r(m+1,P,V);return(tl(m)-G+te)/7}tt("w",["ww",2],"wo","week"),tt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),fe("week",5),fe("isoWeek",5),Le("w",Zt),Le("ww",Zt,ti),Le("W",Zt),Le("WW",Zt,ti),el(["w","ww","W","WW"],function(m,P,V,G){P[G.substr(0,1)]=ne(m)});tt("d",0,"do","day"),tt("dd",0,0,function(m){return this.localeData().weekdaysMin(this,m)}),tt("ddd",0,0,function(m){return this.localeData().weekdaysShort(this,m)}),tt("dddd",0,0,function(m){return this.localeData().weekdays(this,m)}),tt("e",0,0,"weekday"),tt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),fe("day",11),fe("weekday",11),fe("isoWeekday",11),Le("d",Zt),Le("e",Zt),Le("E",Zt),Le("dd",function(m,P){return P.weekdaysMinRegex(m)}),Le("ddd",function(m,P){return P.weekdaysShortRegex(m)}),Le("dddd",function(m,P){return P.weekdaysRegex(m)}),el(["dd","ddd","dddd"],function(m,P,V,G){var te=V._locale.weekdaysParse(m,G,V._strict);null!=te?P.d=te:j(V).invalidWeekday=m}),el(["d","e","E"],function(m,P,V,G){P[G]=ne(m)});var Gh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var ha="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qh(m,P,V){var G,te,xe,Ve=m.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],G=0;G<7;++G)xe=L([2e3,1]).day(G),this._minWeekdaysParse[G]=this.weekdaysMin(xe,"").toLocaleLowerCase(),this._shortWeekdaysParse[G]=this.weekdaysShort(xe,"").toLocaleLowerCase(),this._weekdaysParse[G]=this.weekdays(xe,"").toLocaleLowerCase();return V?"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null}var Je=Po;var gn=Po;var ir=Po;function rr(){function m(Vi,xs){return xs.length-Vi.length}var xe,Ve,Ft,Ht,Nn,P=[],V=[],G=[],te=[];for(xe=0;xe<7;xe++)Ve=L([2e3,1]).day(xe),Ft=this.weekdaysMin(Ve,""),Ht=this.weekdaysShort(Ve,""),Nn=this.weekdays(Ve,""),P.push(Ft),V.push(Ht),G.push(Nn),te.push(Ft),te.push(Ht),te.push(Nn);for(P.sort(m),V.sort(m),G.sort(m),te.sort(m),xe=0;xe<7;xe++)V[xe]=zt(V[xe]),G[xe]=zt(G[xe]),te[xe]=zt(te[xe]);this._weekdaysRegex=new RegExp("^("+te.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function gr(){return this.hours()%12||12}function It(m,P){tt(m,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function Fn(m,P){return P._meridiemParse}tt("H",["HH",2],0,"hour"),tt("h",["hh",2],0,gr),tt("k",["kk",2],0,function ot(){return this.hours()||24}),tt("hmm",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)}),tt("hmmss",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),tt("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),tt("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)}),It("a",!0),It("A",!1),de("hour","h"),fe("hour",13),Le("a",Fn),Le("A",Fn),Le("H",Zt),Le("h",Zt),Le("k",Zt),Le("HH",Zt,ti),Le("hh",Zt,ti),Le("kk",Zt,ti),Le("hmm",fi),Le("hmmss",ni),Le("Hmm",fi),Le("Hmmss",ni),Un(["H","HH"],3),Un(["k","kk"],function(m,P,V){var G=ne(m);P[3]=24===G?0:G}),Un(["a","A"],function(m,P,V){V._isPm=V._locale.isPM(m),V._meridiem=m}),Un(["h","hh"],function(m,P,V){P[3]=ne(m),j(V).bigHour=!0}),Un("hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G)),j(V).bigHour=!0}),Un("hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te)),j(V).bigHour=!0}),Un("Hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G))}),Un("Hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te))});var Lt,Oo=Li("Hours",!0),ii={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:k_,monthsShort:Wh,week:{dow:0,doy:6},weekdays:Gh,weekdaysMin:Qe,weekdaysShort:ha,meridiemParse:/[ap]\.?m?\.?/i},Qn={},ks={};function il(m){return m&&m.toLowerCase().replace("_","-")}function ma(m){var P=null;if(!Qn[m]&&le&&le.exports)try{P=Lt._abbr,F(6700)("./"+m),$r(P)}catch{}return Qn[m]}function $r(m,P){var V;return m&&((V=p(P)?Er(m):Pi(m,P))?Lt=V:typeof console<"u"&&console.warn&&console.warn("Locale "+m+" not found. Did you forget to load it?")),Lt._abbr}function Pi(m,P){if(null!==P){var V,G=ii;if(P.abbr=m,null!=Qn[m])ke("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),G=Qn[m]._config;else if(null!=P.parentLocale)if(null!=Qn[P.parentLocale])G=Qn[P.parentLocale]._config;else{if(null==(V=ma(P.parentLocale)))return ks[P.parentLocale]||(ks[P.parentLocale]=[]),ks[P.parentLocale].push({name:m,config:P}),null;G=V._config}return Qn[m]=new st(et(G,P)),ks[m]&&ks[m].forEach(function(te){Pi(te.name,te.config)}),$r(m),Qn[m]}return delete Qn[m],null}function Er(m){var P;if(m&&m._locale&&m._locale._abbr&&(m=m._locale._abbr),!m)return Lt;if(!f(m)){if(P=ma(m))return P;m=[m]}return function pa(m){for(var V,G,te,xe,P=0;P0;){if(te=ma(xe.slice(0,V).join("-")))return te;if(G&&G.length>=V&&oe(xe,G,!0)>=V-1)break;V--}P++}return Lt}(m)}function ao(m){var P,V=m._a;return V&&-2===j(m).overflow&&(P=V[1]<0||V[1]>11?1:V[2]<1||V[2]>wt(V[0],V[1])?2:V[3]<0||V[3]>24||24===V[3]&&(0!==V[4]||0!==V[5]||0!==V[6])?3:V[4]<0||V[4]>59?4:V[5]<0||V[5]>59?5:V[6]<0||V[6]>999?6:-1,j(m)._overflowDayOfYear&&(P<0||P>2)&&(P=2),j(m)._overflowWeeks&&-1===P&&(P=7),j(m)._overflowWeekday&&-1===P&&(P=8),j(m).overflow=P),m}function Ao(m,P,V){return m??P??V}function Ru(m){var P,V,te,xe,Ve,G=[];if(!m._d){for(te=function On(m){var P=new Date(v.now());return m._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(m),m._w&&null==m._a[2]&&null==m._a[1]&&function O_(m){var P,V,G,te,xe,Ve,Ft,Ht;if(null!=(P=m._w).GG||null!=P.W||null!=P.E)xe=1,Ve=4,V=Ao(P.GG,m._a[0],Wl(ri(),1,4).year),G=Ao(P.W,1),((te=Ao(P.E,1))<1||te>7)&&(Ht=!0);else{xe=m._locale._week.dow,Ve=m._locale._week.doy;var Nn=Wl(ri(),xe,Ve);V=Ao(P.gg,m._a[0],Nn.year),G=Ao(P.w,Nn.week),null!=P.d?((te=P.d)<0||te>6)&&(Ht=!0):null!=P.e?(te=P.e+xe,(P.e<0||P.e>6)&&(Ht=!0)):te=xe}G<1||G>Hi(V,xe,Ve)?j(m)._overflowWeeks=!0:null!=Ht?j(m)._overflowWeekday=!0:(Ft=E_(V,G,te,xe,Ve),m._a[0]=Ft.year,m._dayOfYear=Ft.dayOfYear)}(m),null!=m._dayOfYear&&(Ve=Ao(m._a[0],te[0]),(m._dayOfYear>tl(Ve)||0===m._dayOfYear)&&(j(m)._overflowDayOfYear=!0),V=Wr(Ve,0,m._dayOfYear),m._a[1]=V.getUTCMonth(),m._a[2]=V.getUTCDate()),P=0;P<3&&null==m._a[P];++P)m._a[P]=G[P]=te[P];for(;P<7;P++)m._a[P]=G[P]=m._a[P]??(2===P?1:0);24===m._a[3]&&0===m._a[4]&&0===m._a[5]&&0===m._a[6]&&(m._nextDay=!0,m._a[3]=0),m._d=(m._useUTC?Wr:l1).apply(null,G),xe=m._useUTC?m._d.getUTCDay():m._d.getDay(),null!=m._tzm&&m._d.setUTCMinutes(m._d.getUTCMinutes()-m._tzm),m._nextDay&&(m._a[3]=24),m._w&&typeof m._w.d<"u"&&m._w.d!==xe&&(j(m).weekdayMismatch=!0)}}var Gl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fu=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,sl=/Z|[+-]\d\d(?::?\d\d)?/,Ro=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ys=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zi=/^\/?Date\((\-?\d+)/i;function Qh(m){var P,V,xe,Ve,Ft,Ht,G=m._i,te=Gl.exec(G)||Fu.exec(G);if(te){for(j(m).iso=!0,P=0,V=Ro.length;P0&&j(m).unusedInput.push(Ve),P=P.slice(P.indexOf(G)+G.length),Ht+=G.length),dt[xe]?(G?j(m).empty=!1:j(m).unusedTokens.push(xe),jl(xe,G,m)):m._strict&&!G&&j(m).unusedTokens.push(xe);j(m).charsLeftOver=Ft-Ht,P.length>0&&j(m).unusedInput.push(P),m._a[3]<=12&&!0===j(m).bigHour&&m._a[3]>0&&(j(m).bigHour=void 0),j(m).parsedDateParts=m._a.slice(0),j(m).meridiem=m._meridiem,m._a[3]=function d1(m,P,V){var G;return null==V?P:null!=m.meridiemHour?m.meridiemHour(P,V):(null!=m.isPM&&((G=m.isPM(V))&&P<12&&(P+=12),!G&&12===P&&(P=0)),P)}(m._locale,m._a[3],m._meridiem),Ru(m),ao(m)}else R_(m);else Qh(m)}function N_(m){var P=m._i,V=m._f;return m._locale=m._locale||Er(m._l),null===P||void 0===V&&""===P?re({nullInput:!0}):("string"==typeof P&&(m._i=P=m._locale.preparse(P)),q(P)?new ce(ao(P)):(w(P)?m._d=P:f(V)?function h1(m){var P,V,G,te,xe;if(0===m._f.length)return j(m).invalidFormat=!0,void(m._d=new Date(NaN));for(te=0;tethis?this:m:re()});function H_(m,P){var V,G;if(1===P.length&&f(P[0])&&(P=P[0]),!P.length)return ri();for(V=P[0],G=1;G(xe=Hi(m,G,te))&&(P=xe),eg.call(this,m,P,V,G,te))}function eg(m,P,V,G,te){var xe=E_(m,P,V,G,te),Ve=Wr(xe.year,0,xe.dayOfYear);return this.year(Ve.getUTCFullYear()),this.month(Ve.getUTCMonth()),this.date(Ve.getUTCDate()),this}tt(0,["gg",2],0,function(){return this.weekYear()%100}),tt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tc("gggg","weekYear"),tc("ggggg","weekYear"),tc("GGGG","isoWeekYear"),tc("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),fe("weekYear",1),fe("isoWeekYear",1),Le("G",ca),Le("g",ca),Le("GG",Zt,ti),Le("gg",Zt,ti),Le("GGGG",_n,Fs),Le("gggg",_n,Fs),Le("GGGGG",la,yi),Le("ggggg",la,yi),el(["gggg","ggggg","GGGG","GGGGG"],function(m,P,V,G){P[G.substr(0,2)]=ne(m)}),el(["gg","GG"],function(m,P,V,G){P[G]=v.parseTwoDigitYear(m)}),tt("Q",0,"Qo","quarter"),de("quarter","Q"),fe("quarter",7),Le("Q",Dn),Un("Q",function(m,P){P[1]=3*(ne(m)-1)}),tt("D",["DD",2],"Do","date"),de("date","D"),fe("date",9),Le("D",Zt),Le("DD",Zt,ti),Le("Do",function(m,P){return m?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),Un(["D","DD"],2),Un("Do",function(m,P){P[2]=ne(m.match(Zt)[0])});var ic=Li("Date",!0);tt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),fe("dayOfYear",4),Le("DDD",mn),Le("DDDD",Ss),Un(["DDD","DDDD"],function(m,P,V){V._dayOfYear=ne(m)}),tt("m",["mm",2],0,"minute"),de("minute","m"),fe("minute",14),Le("m",Zt),Le("mm",Zt,ti),Un(["m","mm"],4);var hf=Li("Minutes",!1);tt("s",["ss",2],0,"second"),de("second","s"),fe("second",15),Le("s",Zt),Le("ss",Zt,ti),Un(["s","ss"],5);var js,ff=Li("Seconds",!1);for(tt("S",0,0,function(){return~~(this.millisecond()/100)}),tt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),tt(0,["SSS",3],0,"millisecond"),tt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),tt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),tt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),tt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),tt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),tt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),fe("millisecond",16),Le("S",mn,Dn),Le("SS",mn,ti),Le("SSS",mn,Ss),js="SSSS";js.length<=9;js+="S")Le(js,kn);function Ju(m,P){P[6]=ne(1e3*("0."+m))}for(js="S";js.length<=9;js+="S")Un(js,Ju);var tg=Li("Milliseconds",!1);tt("z",0,0,"zoneAbbr"),tt("zz",0,0,"zoneName");var We=ce.prototype;function pf(m){return m}We.add=tf,We.calendar=function lo(m,P){var V=m||ri(),G=Uu(V,this).startOf("day"),te=v.calendarFormat(this,G)||"sameElse",xe=P&&(Ae(P[te])?P[te].call(this,V):P[te]);return this.format(xe||this.localeData().calendar(te,this,ri(V)))},We.clone=function nf(){return new ce(this)},We.diff=function q_(m,P,V){var G,te,xe;if(!this.isValid())return NaN;if(!(G=Uu(m,this)).isValid())return NaN;switch(te=6e4*(G.utcOffset()-this.utcOffset()),P=ue(P)){case"year":xe=Jl(this,G)/12;break;case"month":xe=Jl(this,G);break;case"quarter":xe=Jl(this,G)/3;break;case"second":xe=(this-G)/1e3;break;case"minute":xe=(this-G)/6e4;break;case"hour":xe=(this-G)/36e5;break;case"day":xe=(this-G-te)/864e5;break;case"week":xe=(this-G-te)/6048e5;break;default:xe=this-G}return V?xe:ee(xe)},We.endOf=function k1(m){return void 0===(m=ue(m))||"millisecond"===m?this:("date"===m&&(m="day"),this.startOf(m).add(1,"isoWeek"===m?"week":m).subtract(1,"ms"))},We.format=function Xt(m){m||(m=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var P=Rt(this,m);return this.localeData().postformat(P)},We.from=function Ie(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({to:this,from:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.fromNow=function Oe(m){return this.from(ri(),m)},We.to=function wi(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({from:this,to:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.toNow=function sf(m){return this.to(ri(),m)},We.get=function o1(m){return Ae(this[m=ue(m)])?this[m]():this},We.invalidAt=function J_(){return j(this).overflow},We.isAfter=function qu(m,P){var V=q(m)?m:ri(m);return!(!this.isValid()||!V.isValid())&&("millisecond"===(P=ue(p(P)?"millisecond":P))?this.valueOf()>V.valueOf():V.valueOf()9999?Rt(V,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ae(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Rt(V,"Z")):Rt(V,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},We.inspect=function He(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var m="moment",P="";this.isLocal()||(m=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var V="["+m+'("]',G=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(V+G+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},We.toJSON=function af(){return this.isValid()?this.toISOString():null},We.toString=function K_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},We.unix=function T1(){return Math.floor(this.valueOf()/1e3)},We.valueOf=function Q_(){return this._d.valueOf()-6e4*(this._offset||0)},We.creationData=function lf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},We.year=Uh,We.isLeapYear=function s1(){return xu(this.year())},We.weekYear=function X_(m){return nc.call(this,m,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},We.isoWeekYear=function Zu(m){return nc.call(this,m,this.isoWeek(),this.isoWeekday(),1,4)},We.quarter=We.quarters=function uf(m){return null==m?Math.ceil((this.month()+1)/3):this.month(3*(m-1)+this.month()%3)},We.month=Lu,We.daysInMonth=function x_(){return wt(this.year(),this.month())},We.week=We.weeks=function cn(m){var P=this.localeData().week(this);return null==m?P:this.add(7*(m-P),"d")},We.isoWeek=We.isoWeeks=function $l(m){var P=Wl(this,1,4).week;return null==m?P:this.add(7*(m-P),"d")},We.weeksInYear=function cf(){var m=this.localeData()._week;return Hi(this.year(),m.dow,m.doy)},We.isoWeeksInYear=function Qu(){return Hi(this.year(),1,4)},We.date=ic,We.day=We.days=function Pt(m){if(!this.isValid())return null!=m?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=m?(m=function Iu(m,P){return"string"!=typeof m?m:isNaN(m)?"number"==typeof(m=P.weekdaysParse(m))?m:null:parseInt(m,10)}(m,this.localeData()),this.add(m-P,"d")):P},We.weekday=function I_(m){if(!this.isValid())return null!=m?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==m?P:this.add(m-P,"d")},We.isoWeekday=function Zh(m){if(!this.isValid())return null!=m?this:NaN;if(null!=m){var P=function Ou(m,P){return"string"==typeof m?P.weekdaysParse(m)%7||7:isNaN(m)?null:m}(m,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},We.dayOfYear=function df(m){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==m?P:this.add(m-P,"d")},We.hour=We.hours=Oo,We.minute=We.minutes=hf,We.second=We.seconds=ff,We.millisecond=We.milliseconds=tg,We.utcOffset=function Xh(m,P,V){var te,G=this._offset||0;if(!this.isValid())return null!=m?this:NaN;if(null!=m){if("string"==typeof m){if(null===(m=ju(sn,m)))return this}else Math.abs(m)<16&&!V&&(m*=60);return!this._isUTC&&P&&(te=Zl(this)),this._offset=m,this._isUTC=!0,null!=te&&this.add(te,"m"),G!==m&&(!P||this._changeInProgress?yr(this,br(m-G,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?G:Zl(this)},We.utc=function zu(m){return this.utcOffset(0,m)},We.local=function B_(m){return this._isUTC&&(this.utcOffset(0,m),this._isUTC=!1,m&&this.subtract(Zl(this),"m")),this},We.parseZone=function Gr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var m=ju(S_,this._i);null!=m?this.utcOffset(m):this.utcOffset(0,!0)}return this},We.hasAlignedHourOffset=function Wu(m){return!!this.isValid()&&(m=m?ri(m).utcOffset():0,(this.utcOffset()-m)%60==0)},We.isDST=function j_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},We.isLocal=function U_(){return!!this.isValid()&&!this._isUTC},We.isUtcOffset=function C1(){return!!this.isValid()&&this._isUTC},We.isUtc=ai,We.isUTC=ai,We.zoneAbbr=function ng(){return this._isUTC?"UTC":""},We.zoneName=function or(){return this._isUTC?"Coordinated Universal Time":""},We.dates=J("dates accessor is deprecated. Use date instead.",ic),We.months=J("months accessor is deprecated. Use month instead",Lu),We.years=J("years accessor is deprecated. Use year instead",Uh),We.zone=J("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function V_(m,P){return null!=m?("string"!=typeof m&&(m=-m),this.utcOffset(m,P),this):-this.utcOffset()}),We.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function $u(){if(!p(this._isDSTShifted))return this._isDSTShifted;var m={};if(Z(m,this),(m=N_(m))._a){var P=m._isUTC?L(m._a):ri(m._a);this._isDSTShifted=this.isValid()&&oe(m._a,P.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=st.prototype;function rc(m,P,V,G){var te=Er(),xe=L().set(G,P);return te[V](xe,m)}function mf(m,P,V){if(y(m)&&(P=m,m=void 0),m=m||"",null!=P)return rc(m,P,V,"month");var G,te=[];for(G=0;G<12;G++)te[G]=rc(m,G,V,"month");return te}function Xu(m,P,V,G){"boolean"==typeof m?(y(P)&&(V=P,P=void 0),P=P||""):(V=P=m,m=!1,y(P)&&(V=P,P=void 0),P=P||"");var te=Er(),xe=m?te._week.dow:0;if(null!=V)return rc(P,(V+xe)%7,G,"day");var Ve,Ft=[];for(Ve=0;Ve<7;Ve++)Ft[Ve]=rc(P,(Ve+xe)%7,G,"day");return Ft}xn.calendar=function ln(m,P,V){var G=this._calendar[m]||this._calendar.sameElse;return Ae(G)?G.call(P,V):G},xn.longDateFormat=function Mn(m){var P=this._longDateFormat[m],V=this._longDateFormat[m.toUpperCase()];return P||!V?P:(this._longDateFormat[m]=V.replace(/MMMM|MM|DD|dddd/g,function(G){return G.slice(1)}),this._longDateFormat[m])},xn.invalidDate=function je(){return this._invalidDate},xn.ordinal=function Xe(m){return this._ordinal.replace("%d",m)},xn.preparse=pf,xn.postformat=pf,xn.relativeTime=function z(m,P,V,G){var te=this._relativeTime[V];return Ae(te)?te(m,P,V,G):te.replace(/%d/i,m)},xn.pastFuture=function se(m,P){var V=this._relativeTime[m>0?"future":"past"];return Ae(V)?V(P):V.replace(/%s/i,P)},xn.set=function Ne(m){var P,V;for(V in m)Ae(P=m[V])?this[V]=P:this["_"+V]=P;this._config=m,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function zh(m,P){return m?f(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||nl).test(P)?"format":"standalone"][m.month()]:f(this._months)?this._months:this._months.standalone},xn.monthsShort=function T_(m,P){return m?f(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[nl.test(P)?"format":"standalone"][m.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function Ul(m,P,V){var G,te,xe;if(this._monthsParseExact)return $h.call(this,m,P,V);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),G=0;G<12;G++){if(te=L([2e3,G]),V&&!this._longMonthsParse[G]&&(this._longMonthsParse[G]=new RegExp("^"+this.months(te,"").replace(".","")+"$","i"),this._shortMonthsParse[G]=new RegExp("^"+this.monthsShort(te,"").replace(".","")+"$","i")),!V&&!this._monthsParse[G]&&(xe="^"+this.months(te,"")+"|^"+this.monthsShort(te,""),this._monthsParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"MMMM"===P&&this._longMonthsParse[G].test(m))return G;if(V&&"MMM"===P&&this._shortMonthsParse[G].test(m))return G;if(!V&&this._monthsParse[G].test(m))return G}},xn.monthsRegex=function zr(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=L_),this._monthsStrictRegex&&m?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function Eu(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=_t),this._monthsShortStrictRegex&&m?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function Tn(m){return Wl(m,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function da(){return this._week.doy},xn.firstDayOfWeek=function u1(){return this._week.dow},xn.weekdays=function Ns(m,P){return m?f(this._weekdays)?this._weekdays[m.day()]:this._weekdays[this._weekdays.isFormat.test(P)?"format":"standalone"][m.day()]:f(this._weekdays)?this._weekdays:this._weekdays.standalone},xn.weekdaysMin=function Au(m){return m?this._weekdaysMin[m.day()]:this._weekdaysMin},xn.weekdaysShort=function P_(m){return m?this._weekdaysShort[m.day()]:this._weekdaysShort},xn.weekdaysParse=function Kh(m,P,V){var G,te,xe;if(this._weekdaysParseExact)return qh.call(this,m,P,V);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),G=0;G<7;G++){if(te=L([2e3,1]).day(G),V&&!this._fullWeekdaysParse[G]&&(this._fullWeekdaysParse[G]=new RegExp("^"+this.weekdays(te,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[G]=new RegExp("^"+this.weekdaysShort(te,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[G]=new RegExp("^"+this.weekdaysMin(te,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[G]||(xe="^"+this.weekdays(te,"")+"|^"+this.weekdaysShort(te,"")+"|^"+this.weekdaysMin(te,""),this._weekdaysParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"dddd"===P&&this._fullWeekdaysParse[G].test(m))return G;if(V&&"ddd"===P&&this._shortWeekdaysParse[G].test(m))return G;if(V&&"dd"===P&&this._minWeekdaysParse[G].test(m))return G;if(!V&&this._weekdaysParse[G].test(m))return G}},xn.weekdaysRegex=function Ki(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&m?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function nr(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gn),this._weekdaysShortStrictRegex&&m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function fa(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ir),this._weekdaysMinStrictRegex&&m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function Lr(m){return"p"===(m+"").toLowerCase().charAt(0)},xn.meridiem=function Ei(m,P,V){return m>11?V?"pm":"PM":V?"am":"AM"},$r("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var P=m%10;return m+(1===ne(m%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),v.lang=J("moment.lang is deprecated. Use moment.locale instead.",$r),v.langData=J("moment.langData is deprecated. Use moment.localeData instead.",Er);var Us=Math.abs;function ya(m,P,V,G){var te=br(P,V);return m._milliseconds+=G*te._milliseconds,m._days+=G*te._days,m._months+=G*te._months,m._bubble()}function Ma(m){return m<0?Math.floor(m):Math.ceil(m)}function gf(m){return 4800*m/146097}function nd(m){return 146097*m/4800}function as(m){return function(){return this.as(m)}}var vf=as("ms"),bf=as("s"),lc=as("m"),yf=as("h"),Mf=as("d"),wa=as("w"),sg=as("M"),Ca=as("y");function Sa(m){return function(){return this.isValid()?this._data[m]:NaN}}var wf=Sa("milliseconds"),Cf=Sa("seconds"),og=Sa("minutes"),Ts=Sa("hours"),ag=Sa("days"),ol=Sa("months"),rd=Sa("years");var ls=Math.round,Pr={ss:44,s:45,m:45,h:22,d:26,M:11};function lg(m,P,V,G,te){return te.relativeTime(P||1,!!V,m,G)}var od=Math.abs;function zs(m){return(m>0)-(m<0)||+m}function uo(){if(!this.isValid())return this.localeData().invalidDate();var G,te,m=od(this._milliseconds)/1e3,P=od(this._days),V=od(this._months);G=ee(m/60),te=ee(G/60),m%=60,G%=60;var Ve=ee(V/12),Ft=V%=12,Ht=P,Nn=te,Vi=G,xs=m?m.toFixed(3).replace(/\.?0+$/,""):"",Da=this.asSeconds();if(!Da)return"P0D";var ad=Da<0?"-":"",No=zs(this._months)!==zs(Da)?"-":"",E1=zs(this._days)!==zs(Da)?"-":"",ld=zs(this._milliseconds)!==zs(Da)?"-":"";return ad+"P"+(Ve?No+Ve+"Y":"")+(Ft?No+Ft+"M":"")+(Ht?E1+Ht+"D":"")+(Nn||Vi||xs?"T":"")+(Nn?ld+Nn+"H":"")+(Vi?ld+Vi+"M":"")+(xs?ld+xs+"S":"")}var nn=Vu.prototype;return nn.isValid=function M1(){return this._isValid},nn.abs=function co(){var m=this._data;return this._milliseconds=Us(this._milliseconds),this._days=Us(this._days),this._months=Us(this._months),m.milliseconds=Us(m.milliseconds),m.seconds=Us(m.seconds),m.minutes=Us(m.minutes),m.hours=Us(m.hours),m.months=Us(m.months),m.years=Us(m.years),this},nn.add=function ig(m,P){return ya(this,m,P,1)},nn.subtract=function rg(m,P){return ya(this,m,P,-1)},nn.as=function x1(m){if(!this.isValid())return NaN;var P,V,G=this._milliseconds;if("month"===(m=ue(m))||"year"===m)return V=this._months+gf(P=this._days+G/864e5),"month"===m?V:V/12;switch(P=this._days+Math.round(nd(this._months)),m){case"week":return P/7+G/6048e5;case"day":return P+G/864e5;case"hour":return 24*P+G/36e5;case"minute":return 1440*P+G/6e4;case"second":return 86400*P+G/1e3;case"millisecond":return Math.floor(864e5*P)+G;default:throw new Error("Unknown unit "+m)}},nn.asMilliseconds=vf,nn.asSeconds=bf,nn.asMinutes=lc,nn.asHours=yf,nn.asDays=Mf,nn.asWeeks=wa,nn.asMonths=sg,nn.asYears=Ca,nn.valueOf=function L1(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ne(this._months/12):NaN},nn._bubble=function td(){var te,xe,Ve,Ft,Ht,m=this._milliseconds,P=this._days,V=this._months,G=this._data;return m>=0&&P>=0&&V>=0||m<=0&&P<=0&&V<=0||(m+=864e5*Ma(nd(V)+P),P=0,V=0),G.milliseconds=m%1e3,te=ee(m/1e3),G.seconds=te%60,xe=ee(te/60),G.minutes=xe%60,Ve=ee(xe/60),G.hours=Ve%24,P+=ee(Ve/24),V+=Ht=ee(gf(P)),P-=Ma(nd(Ht)),Ft=ee(V/12),V%=12,G.days=P,G.months=V,G.years=Ft,this},nn.clone=function id(){return br(this)},nn.get=function cc(m){return m=ue(m),this.isValid()?this[m+"s"]():NaN},nn.milliseconds=wf,nn.seconds=Cf,nn.minutes=og,nn.hours=Ts,nn.days=ag,nn.weeks=function sd(){return ee(this.days()/7)},nn.months=ol,nn.years=rd,nn.humanize=function Tf(m){if(!this.isValid())return this.localeData().invalidDate();var P=this.localeData(),V=function Sf(m,P,V){var G=br(m).abs(),te=ls(G.as("s")),xe=ls(G.as("m")),Ve=ls(G.as("h")),Ft=ls(G.as("d")),Ht=ls(G.as("M")),Nn=ls(G.as("y")),Vi=te<=Pr.ss&&["s",te]||te0,Vi[4]=V,lg.apply(null,Vi)}(this,!m,P);return m&&(V=P.pastFuture(+this,V)),P.postformat(V)},nn.toISOString=uo,nn.toString=uo,nn.toJSON=uo,nn.locale=ga,nn.localeData=Xl,nn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),nn.lang=os,tt("X",0,0,"unix"),tt("x",0,0,"valueOf"),Le("x",ca),Le("X",/[+-]?\d+(\.\d{1,3})?/),Un("X",function(m,P,V){V._d=new Date(1e3*parseFloat(m,10))}),Un("x",function(m,P,V){V._d=new Date(ne(m))}),v.version="2.22.2",function u(m){I=m}(ri),v.fn=We,v.min=function v1(){return H_("isBefore",[].slice.call(arguments,0))},v.max=function b1(){return H_("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=L,v.unix=function si(m){return ri(1e3*m)},v.months=function sc(m,P){return mf(m,P,"months")},v.isDate=w,v.locale=$r,v.invalid=re,v.duration=br,v.isMoment=q,v.weekdays=function ac(m,P,V){return Xu(m,P,V,"weekdays")},v.parseZone=function ba(){return ri.apply(null,arguments).parseZone()},v.localeData=Er,v.isDuration=Hs,v.monthsShort=function oc(m,P){return mf(m,P,"monthsShort")},v.weekdaysMin=function _f(m,P,V){return Xu(m,P,V,"weekdaysMin")},v.defineLocale=Pi,v.updateLocale=function rl(m,P){if(null!=P){var V,G,te=ii;null!=(G=ma(m))&&(te=G._config),(V=new st(P=et(te,P))).parentLocale=Qn[m],Qn[m]=V,$r(m)}else null!=Qn[m]&&(null!=Qn[m].parentLocale?Qn[m]=Qn[m].parentLocale:null!=Qn[m]&&delete Qn[m]);return Qn[m]},v.locales=function is(){return rt(Qn)},v.weekdaysShort=function ed(m,P,V){return Xu(m,P,V,"weekdaysShort")},v.normalizeUnits=ue,v.relativeTimeRounding=function Df(m){return void 0===m?ls:"function"==typeof m&&(ls=m,!0)},v.relativeTimeThreshold=function kf(m,P){return void 0!==Pr[m]&&(void 0===P?Pr[m]:(Pr[m]=P,"s"===m&&(Pr.ss=P-1),!0))},v.calendarFormat=function W_(m,P){var V=m.diff(P,"days",!0);return V<-6?"sameElse":V<-1?"lastWeek":V<0?"lastDay":V<1?"sameDay":V<2?"nextDay":V<7?"nextWeek":"sameElse"},v.prototype=We,v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},v}()},6700:(le,me,F)=>{var I={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function v(f){var h=u(f);return F(h)}function u(f){if(!F.o(I,f)){var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}return I[f]}v.keys=function(){return Object.keys(I)},v.resolve=u,le.exports=v,v.id=6700},6297:(le,me,F)=>{var I={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function v(u){if(!F.o(I,u))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+u+"'");throw M.code="MODULE_NOT_FOUND",M});var f=I[u],h=f[0];return F.e(f[1]).then(()=>F.t(h,19))}v.keys=()=>Object.keys(I),v.id=6297,le.exports=v}},le=>{le(le.s=9249)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js b/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js deleted file mode 100644 index e039fadb20..0000000000 --- a/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{9249:(le,me,F)=>{"use strict";function I(t){return"function"==typeof t}let v=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function f(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;f(t)},complete(){}},M=Array.isArray||(t=>t&&"number"==typeof t.length);function p(t){return null!==t&&"object"==typeof t}const w=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class x{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof x)e.remove(this);else if(null!==e)for(let o=0;on.concat(e instanceof w?e.errors:e),[])}x.EMPTY=((t=new x).closed=!0,t);const C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class A extends x{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!n){this.destination=h;break}if("object"==typeof n){n instanceof A?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new j(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new j(this,n,e,i)}}[C](){return this}static create(n,e,i){const s=new A(n,e,i);return s.syncErrorThrowable=!1,s}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class j extends A{constructor(n,e,i,s){super(),this._parentSubscriber=n;let o,a=this;I(e)?o=e:e&&(o=e.next,i=e.error,s=e.complete,e!==h&&(a=Object.create(e),I(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=i,this._complete=s}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=u;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):f(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;f(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw i;f(i)}}__tryOrSetError(n,e,i){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(s){return u.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=s,n.syncErrorThrown=!0,!0):(f(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const re="function"==typeof Symbol&&Symbol.observable||"@@observable";function ve(){}function Z(...t){return Q(t)}function Q(t){return t?1===t.length?t[0]:function(e){return t.reduce((i,s)=>s(i),e)}:ve}let ce=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,s){const{operator:o}=this,a=function K(t,n,e){if(t){if(t instanceof A)return t;if(t[C])return t[C]()}return t||n||e?new A(t,n,e):new A(h)}(e,i,s);if(a.add(o?o.call(a,this.source):this.source||u.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){u.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function H(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof A?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=q(i))((s,o)=>{let a;a=this.subscribe(l=>{try{e(l)}catch(c){o(c),a&&a.unsubscribe()}},o,s)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[re](){return this}pipe(...e){return 0===e.length?this:Q(e)(this)}toPromise(e){return new(e=q(e))((i,s)=>{let o;this.subscribe(a=>o=a,a=>s(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function q(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const ne=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class oe extends x{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class ae extends A{constructor(n){super(n),this.destination=n}}let J=(()=>{class t extends ce{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[C](){return new ae(this)}lift(e){const i=new Te(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ne;if(!this.isStopped){const{observers:i}=this,s=i.length,o=i.slice();for(let a=0;anew Te(n,e),t})();class Te extends J{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):x.EMPTY}}function ke(t){return t&&"function"==typeof t.schedule}class Ae extends A{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const Ne=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function Sn(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const je=t=>{if(t&&"function"==typeof t[re])return(t=>n=>{const e=t[re]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(Mn(t))return Ne(t);if(Sn(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,f),n))(t);if(t&&"function"==typeof t[rt])return(t=>n=>{const e=t[rt]();for(;;){const i=e.next();if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${p(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function jn(t,n,e,i,s=new Ae(t,e,i)){if(!s.closed)return n instanceof ce?n.subscribe(s):je(n)(s)}class Kn extends A{notifyNext(n,e,i,s,o){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}function Xe(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Ge(t,n))}}class Ge{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new z(n,this.project,this.thisArg))}}class z extends A{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function de(t,n){return new ce(e=>{const i=new x;let s=0;return i.add(n.schedule(function(){s!==t.length?(e.next(t[s++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function ge(t,n){return n?function fe(t,n){if(null!=t){if(function _e(t){return t&&"function"==typeof t[re]}(t))return function se(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>{const s=t[re]();i.add(s.subscribe({next(o){i.add(n.schedule(()=>e.next(o)))},error(o){i.add(n.schedule(()=>e.error(o)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(Sn(t))return function ie(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>t.then(s=>{i.add(n.schedule(()=>{e.next(s),i.add(n.schedule(()=>e.complete()))}))},s=>{i.add(n.schedule(()=>e.error(s)))}))),i})}(t,n);if(Mn(t))return de(t,n);if(function be(t){return t&&"function"==typeof t[rt]}(t)||"string"==typeof t)return function ue(t,n){if(!t)throw new Error("Iterable cannot be null");return new ce(e=>{const i=new x;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(n.schedule(()=>{s=t[rt](),i.add(n.schedule(function(){if(e.closed)return;let o,a;try{const l=s.next();o=l.value,a=l.done}catch(l){return void e.error(l)}a?e.complete():(e.next(o),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof ce?t:new ce(je(t))}function we(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(we((s,o)=>ge(t(s,o)).pipe(Xe((a,l)=>n(s,a,o,l))),e)):("number"==typeof n&&(e=n),i=>i.lift(new Ee(t,e)))}class Ee{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new Ze(n,this.project,this.concurrent))}}class Ze extends Kn{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ut(t){return t}function dt(t=Number.POSITIVE_INFINITY){return we(ut,t)}function tt(t,n){return n?de(t,n):new ce(Ne(t))}function Yt(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return ke(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof ce?t[0]:dt(n)(tt(t,e))}function wn(){return function(n){return n.lift(new Rt(n))}}class Rt{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const s=new Gt(n,i),o=e.subscribe(s);return s.closed||(s.connection=i.connect()),o}}class Gt extends A{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,s=n._connection;this.connection=null,s&&(!i||s===i)&&s.unsubscribe()}}class Dn extends ce{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new x,n.add(this.source.subscribe(new Ss(this.getSubject(),this))),n.closed&&(this._connection=null,n=x.EMPTY)),n}refCount(){return wn()(this)}}const ti=(()=>{const t=Dn.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 Ss extends ae{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}class fi{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,s=this.subjectFactory(),o=i(s).subscribe(n);return o.add(e.subscribe(s)),o}}function ni(){return new J}function mn(){return t=>wn()(function Zt(t,n){return function(i){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new fi(s,n));const o=Object.create(i,ti);return o.source=i,o.subjectFactory=s,o}}(ni)(t))}function _n(t){for(let n in t)if(t[n]===_n)return n;throw Error("Could not find renamed property on target object.")}function la(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function kn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(kn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function ca(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const S_=_n({__forward_ref__:_n});function sn(t){return t.__forward_ref__=sn,t.toString=function(){return kn(this())},t}function Mt(t){return Po(t)?t():t}function Po(t){return"function"==typeof t&&t.hasOwnProperty(S_)&&t.__forward_ref__===sn}class Le extends Error{constructor(n,e){super(function Bl(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function jl(t,n){throw new Le(-201,!1)}function Li(t,n){null==t&&function tn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ye(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function nl(t){return zh(t,Ul)||zh(t,Lu)}function zh(t,n){return t.hasOwnProperty(n)?t[n]:null}function $h(t){return t&&(t.hasOwnProperty(zl)||t.hasOwnProperty(x_))?t[zl]:null}const Ul=_n({\u0275prov:_n}),zl=_n({\u0275inj:_n}),Lu=_n({ngInjectableDef:_n}),x_=_n({ngInjectorDef:_n});var _t=(()=>((_t=_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 Eu;function zr(t){const n=Eu;return Eu=t,n}function Pu(t,n,e){const i=nl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&_t.Optional?null:void 0!==n?n:void jl(kn(t))}function Wr(t){return{toString:t}.toString()}var _r=(()=>((_r=_r||{})[_r.OnPush=0]="OnPush",_r[_r.Default=1]="Default",_r))(),Hi=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Hi||(Hi={})),Hi))();const Tn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),da={},cn=[],$l=_n({\u0275cmp:_n}),Iu=_n({\u0275dir:_n}),Ou=_n({\u0275pipe:_n}),Gh=_n({\u0275mod:_n}),Ns=_n({\u0275fac:_n}),ha=_n({__NG_ELEMENT_ID__:_n});let P_=0;function Qe(t){return Wr(()=>{const e=!0===t.standalone,i={},s={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:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===_r.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||cn,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Hi.Emulated,id:"c"+P_++,styles:t.styles||cn,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,a=t.features;return s.inputs=Zh(t.inputs,i),s.outputs=Zh(t.outputs),a&&a.forEach(l=>l(s)),s.directiveDefs=o?()=>("function"==typeof o?o():o).map(qh).filter(Kh):null,s.pipeDefs=o?()=>("function"==typeof o?o():o).map(ir).filter(Kh):null,s})}function Au(t,n,e){const i=t.\u0275cmp;i.directiveDefs=()=>("function"==typeof n?n():n).map(qh),i.pipeDefs=()=>("function"==typeof e?e():e).map(ir)}function qh(t){return gn(t)||nr(t)}function Kh(t){return null!==t}function Pt(t){return Wr(()=>({type:t.type,bootstrap:t.bootstrap||cn,declarations:t.declarations||cn,imports:t.imports||cn,exports:t.exports||cn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Zh(t,n){if(null==t)return da;const e={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),e[s]=i,n&&(n[s]=o)}return e}const Je=Qe;function Ki(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[$l]||null}function nr(t){return t[Iu]||null}function ir(t){return t[Ou]||null}function rr(t,n){const e=t[Gh]||null;if(!e&&!0===n)throw new Error(`Type ${kn(t)} does not have '\u0275mod' property.`);return e}function vr(t){return Array.isArray(t)&&"object"==typeof t[1]}function rs(t){return Array.isArray(t)&&!0===t[1]}function Nu(t){return 0!=(8&t.flags)}function ql(t){return 2==(2&t.flags)}function Kl(t){return 1==(1&t.flags)}function ss(t){return null!==t.template}function A_(t){return 0!=(256&t[2])}function Hs(t,n){return t.hasOwnProperty(Ns)?t[Ns]:null}class Bu{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ii(){return Jh}function Jh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Uu),ju}function ju(){const t=Xh(this),n=t?.current;if(n){const e=t.previous;if(e===da)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Uu(t,n,e,i){const s=Xh(t)||function V_(t,n){return t[Zl]=n}(t,{previous:da,current:null}),o=s.current||(s.current={}),a=s.previous,l=this.declaredInputs[e],c=a[l];o[l]=new Bu(c&&c.currentValue,n,a===da),t[i]=n}Ii.ngInherit=!0;const Zl="__ngSimpleChanges__";function Xh(t){return t[Zl]||null}function ai(t){for(;Array.isArray(t);)t=t[0];return t}function br(t,n){return ai(n[t])}function Oi(t,n){return ai(n[t.index])}function Gu(t,n){return t.data[n]}function Fo(t,n){return t[n]}function yr(t,n){const e=n[t];return vr(e)?e:e[0]}function tf(t){return 4==(4&t[2])}function Ql(t){return 64==(64&t[2])}function lo(t,n){return null==n?null:t[n]}function nf(t){t[18]=0}function qu(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const Tt={lFrame:hf(null),bindingsEnabled:!0};function Jl(){return Tt.bindingsEnabled}function He(){return Tt.lFrame.lView}function Xt(){return Tt.lFrame.tView}function Ie(t){return Tt.lFrame.contextLView=t,t[8]}function Oe(t){return Tt.lFrame.contextLView=null,t}function wi(){let t=sf();for(;null!==t&&64===t.type;)t=t.parent;return t}function sf(){return Tt.lFrame.currentTNode}function os(t,n){const e=Tt.lFrame;e.currentTNode=t,e.isParent=n}function Xl(){return Tt.lFrame.isParent}function Ku(){Tt.lFrame.isParent=!1}function sr(){const t=Tt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function va(){return Tt.lFrame.bindingIndex++}function Bs(t){const n=Tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function tc(t,n){const e=Tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Zu(n)}function Zu(t){Tt.lFrame.currentDirectiveIndex=t}function Qu(t){const n=Tt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function cf(){return Tt.lFrame.currentQueryIndex}function nc(t){Tt.lFrame.currentQueryIndex=t}function eg(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function uf(t,n,e){if(e&_t.SkipSelf){let s=n,o=t;for(;!(s=s.parent,null!==s||e&_t.Host||(s=eg(o),null===s||(o=o[15],10&s.type))););if(null===s)return!1;n=s,t=o}const i=Tt.lFrame=df();return i.currentTNode=n,i.lView=t,!0}function ic(t){const n=df(),e=t[1];Tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function df(){const t=Tt.lFrame,n=null===t?null:t.child;return null===n?hf(t):n}function hf(t){const n={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=n),n}function ff(){const t=Tt.lFrame;return Tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const js=ff;function Ju(){const t=ff();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 or(){return Tt.lFrame.selectedIndex}function We(t){Tt.lFrame.selectedIndex=t}function si(){const t=Tt.lFrame;return Gu(t.tView,t.selectedIndex)}function ba(){Tt.lFrame.currentNamespace="svg"}function sc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[c]<0&&(t[18]+=65536),(l>11>16&&(3&t[2])===n){t[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}class ya{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function as(t,n,e){let i=0;for(;in){a=o-1;break}}}for(;o>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let id=!0;function cc(t){const n=id;return id=t,n}let og=0;const Ts={};function ol(t,n){const e=sd(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,rd(i.data,t),rd(n,null),rd(i.blueprint,null));const s=ls(t,n),o=t.injectorIndex;if(Mf(s)){const a=wa(s),l=Ca(s,n),c=l[1].data;for(let _=0;_<8;_++)n[o+_]=l[a+_]|c[a+_]}return n[o+8]=s,o}function rd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function sd(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function ls(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,s=n;for(;null!==s;){if(i=Ft(s),null===i)return-1;if(e++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Pr(t,n,e){!function ag(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ha)&&(i=e[ha]),null==i&&(i=e[ha]=og++);const s=255&i;n.data[t+(s>>5)]|=1<=0?255&n:G:n}(e);if("function"==typeof o){if(!uf(n,t,i))return i&_t.Host?Sf(s,0,i):Df(n,e,i,s);try{const a=o(i);if(null!=a||i&_t.Optional)return a;jl()}finally{js()}}else if("number"==typeof o){let a=null,l=sd(t,n),c=-1,_=i&_t.Host?n[16][6]:null;for((-1===l||i&_t.SkipSelf)&&(c=-1===l?ls(t,n):n[l+8],-1!==c&&P(i,!1)?(a=n[1],l=wa(c),n=Ca(c,n)):l=-1);-1!==l;){const E=n[1];if(m(o,l,E.data)){const R=od(l,n,e,a,i,_);if(R!==Ts)return R}c=n[l+8],-1!==c&&P(i,n[1].data[l+8]===_)&&m(o,l,n)?(a=E,l=wa(c),n=Ca(c,n)):l=-1}}return s}function od(t,n,e,i,s,o){const a=n[1],l=a.data[t+8],E=zs(l,a,e,null==i?ql(l)&&id:i!=a&&0!=(3&l.type),s&_t.Host&&o===l);return null!==E?uo(n,a,E,l):Ts}function zs(t,n,e,i,s){const o=t.providerIndexes,a=n.data,l=1048575&o,c=t.directiveStart,E=o>>20,$=s?l+E:t.directiveEnd;for(let X=i?l:l+E;X<$;X++){const he=a[X];if(X=c&&he.type===e)return X}if(s){const X=a[c];if(X&&ss(X)&&X.type===e)return c}return null}function uo(t,n,e,i){let s=t[e];const o=n.data;if(function ig(t){return t instanceof ya}(s)){const a=s;a.resolving&&function Tu(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Le(-200,`Circular dependency in DI detected for ${t}${e}`)}(function zt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}(o[e]));const l=cc(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?zr(a.injectImpl):null;uf(t,i,_t.Default);try{s=t[e]=a.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function Xu(t,n,e){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=n.type.prototype;if(i){const a=Jh(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,a)}s&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,s),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==c&&zr(c),cc(l),a.resolving=!1,js()}}return s}function m(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Ns]||xe(n),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const o=s[Ns]||xe(s);if(o&&o!==e)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function xe(t){return Po(t)?()=>{const n=xe(Mt(t));return n&&n()}:Hs(t)}function Ft(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function Ht(t){return function lg(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let s=0;for(;s{const i=function ad(t){return function(...e){if(t){const i=t(...e);for(const s in i)this[s]=i[s]}}}(n);function s(...o){if(this instanceof s)return i.apply(this,o),this;const a=new s(...o);return l.annotation=a,l;function l(c,_,E){const R=c.hasOwnProperty(Vi)?c[Vi]:Object.defineProperty(c,Vi,{value:[]})[Vi];for(;R.length<=E;)R.push(null);return(R[E]=R[E]||[]).push(a),c}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Be{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ye({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cs(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?Yo(e,n):n(e))}function E1(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function xf(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function dd(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function DP(t,n,e,i){let s=t.length;if(s==n)t.push(e,i);else if(1===s)t.push(i,t[0]),t[0]=e;else{for(s--,t.push(t[s-1],t[s]);s>n;)t[s]=t[s-2],s--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function ug(t,n){const e=uc(t,n);if(e>=0)return t[1|e]}function uc(t,n){return function O1(t,n,e){let i=0,s=t.length>>e;for(;s!==i;){const o=i+(s-i>>1),a=t[o<n?s=o:i=o+1}return~(s<t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Of}()?.createHTML(t)||t}class al{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class QP extends al{getTypeName(){return"HTML"}}class JP extends al{getTypeName(){return"Style"}}class XP extends al{getTypeName(){return"Script"}}class eI extends al{getTypeName(){return"URL"}}class tI extends al{getTypeName(){return"ResourceURL"}}function ds(t){return t instanceof al?t.changingThisBreaksApplicationSecurity:t}function ho(t,n){const e=function nI(t){return t instanceof al&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class lI{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(pc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class cI{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=pc(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=pc(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let s=e.length-1;0gd(n.trim())).join(", ")}function fo(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function vd(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const K1=fo("area,br,col,hr,img,wbr"),Z1=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Q1=fo("rp,rt"),vg=vd(K1,vd(Z1,fo("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")),vd(Q1,fo("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")),vd(Q1,Z1)),bg=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=fo("srcset"),J1=vd(bg,yg,fo("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"),fo("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")),hI=fo("script,style,template");class fI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let s=this.checkClobberedElement(e,e.nextSibling);if(s){e=s;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!vg.hasOwnProperty(e))return this.sanitizedSomething=!0,!hI.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let s=0;s"),!0}endElement(n){const e=n.nodeName.toLowerCase();vg.hasOwnProperty(e)&&!K1.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(X1(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const pI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mI=/([^\#-~ |!])/g;function X1(t){return t.replace(/&/g,"&").replace(pI,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(mI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Rf;function eM(t,n){let e=null;try{Rf=Rf||function G1(t){const n=new cI(t);return function uI(){try{return!!(new window.DOMParser).parseFromString(pc(""),"text/html")}catch{return!1}}()?new lI(n):n}(t);let i=n?String(n):"";e=Rf.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=e.innerHTML,e=Rf.getInertBodyElement(i)}while(i!==o);return pc((new fI).sanitizeChildren(Mg(e)||e))}finally{if(e){const i=Mg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Mg(t){return"content"in t&&function _I(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function Ho(t){const n=function bd(){const t=He();return t&&t[12]}();return n?n.sanitize(vn.URL,t)||"":ho(t,"URL")?ds(t):gd(xt(t))}const wg=new Be("ENVIRONMENT_INITIALIZER"),nM=new Be("INJECTOR",-1),iM=new Be("INJECTOR_DEF_TYPES");class rM{get(n,e=hd){if(e===hd){const i=new Error(`NullInjectorError: No provider for ${kn(n)}!`);throw i.name="NullInjectorError",i}return e}}function SI(...t){return{\u0275providers:sM(0,t)}}function sM(t,...n){const e=[],i=new Set;let s;return Yo(n,o=>{const a=o;Cg(a,e,[],i)&&(s||(s=[]),s.push(a))}),void 0!==s&&oM(s,e),e}function oM(t,n){for(let e=0;e{n.push(o)})}}function Cg(t,n,e,i){if(!(t=Mt(t)))return!1;let s=null,o=$h(t);const a=!o&&gn(t);if(o||a){if(a&&!a.standalone)return!1;s=t}else{const c=t.ngModule;if(o=$h(c),!o)return!1;s=c}const l=i.has(s);if(a){if(l)return!1;if(i.add(s),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of c)Cg(_,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!l){let _;i.add(s);try{Yo(o.imports,E=>{Cg(E,n,e,i)&&(_||(_=[]),_.push(E))})}finally{}void 0!==_&&oM(_,n)}if(!l){const _=Hs(s)||(()=>new s);n.push({provide:s,useFactory:_,deps:cn},{provide:iM,useValue:s,multi:!0},{provide:wg,useValue:()=>Ce(s),multi:!0})}const c=o.providers;null==c||l||Yo(c,E=>{n.push(E)})}}return s!==t&&void 0!==t.providers}const DI=_n({provide:String,useValue:_n});function Sg(t){return null!==t&&"object"==typeof t&&DI in t}function ll(t){return"function"==typeof t}const Dg=new Be("Set Injector scope."),Ff={},TI={};let kg;function Nf(){return void 0===kg&&(kg=new rM),kg}class Ta{}class cM extends Ta{constructor(n,e,i,s){super(),this.parent=e,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xg(n,a=>this.processProvider(a)),this.records.set(nM,mc(void 0,this)),s.has("environment")&&this.records.set(Ta,mc(void 0,this));const o=this.records.get(Dg);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(iM.multi,cn,_t.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=dc(this),i=zr(void 0);try{return n()}finally{dc(e),zr(i)}}get(n,e=hd,i=_t.Default){this.assertNotDestroyed();const s=dc(this),o=zr(void 0);try{if(!(i&_t.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function II(t){return"function"==typeof t||"object"==typeof t&&t instanceof Be}(n)&&nl(n);l=c&&this.injectableDefInScope(c)?mc(Tg(n),Ff):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&_t.Self?Nf():this.parent).get(n,e=i&_t.Optional&&e===hd?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Ef]=a[Ef]||[]).unshift(kn(n)),s)throw a;return function NP(t,n,e,i){const s=t[Ef];throw n[A1]&&s.unshift(n[A1]),t.message=function YP(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let s=kn(n);if(Array.isArray(n))s=n.map(kn).join(" -> ");else if("object"==typeof n){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];o.push(a+":"+("string"==typeof l?JSON.stringify(l):kn(l)))}s=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${s}]: ${t.replace(OP,"\n ")}`}("\n"+t.message,s,e,i),t.ngTokenPath=s,t[Ef]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{zr(o),dc(s)}}resolveInjectorInitializers(){const n=dc(this),e=zr(void 0);try{const i=this.get(wg.multi,cn,_t.Self);for(const s of i)s()}finally{dc(n),zr(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(kn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Le(205,!1)}processProvider(n){let e=ll(n=Mt(n))?n:Mt(n&&n.provide);const i=function LI(t){return Sg(t)?mc(void 0,t.useValue):mc(uM(t),Ff)}(n);if(ll(n)||!0!==n.multi)this.records.get(e);else{let s=this.records.get(e);s||(s=mc(void 0,Ff,!0),s.factory=()=>fg(s.multi),this.records.set(e,s)),e=n,s.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Ff&&(e.value=TI,e.value=e.factory()),"object"==typeof e.value&&e.value&&function PI(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Mt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Tg(t){const n=nl(t),e=null!==n?n.factory:Hs(t);if(null!==e)return e;if(t instanceof Be)throw new Le(204,!1);if(t instanceof Function)return function xI(t){const n=t.length;if(n>0)throw dd(n,"?"),new Le(204,!1);const e=function Wh(t){const n=t&&(t[Ul]||t[Lu]);if(n){const e=function T_(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" 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 "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Le(204,!1)}function uM(t,n,e){let i;if(ll(t)){const s=Mt(t);return Hs(s)||Tg(s)}if(Sg(t))i=()=>Mt(t.useValue);else if(function lM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...fg(t.deps||[]));else if(function aM(t){return!(!t||!t.useExisting)}(t))i=()=>Ce(Mt(t.useExisting));else{const s=Mt(t&&(t.useClass||t.provide));if(!function EI(t){return!!t.deps}(t))return Hs(s)||Tg(s);i=()=>new s(...fg(t.deps))}return i}function mc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function OI(t){return!!t.\u0275providers}function xg(t,n){for(const e of t)Array.isArray(e)?xg(e,n):OI(e)?xg(e.\u0275providers,n):n(e)}class dM{}class FI{resolveComponentFactory(n){throw function RI(t){const n=Error(`No component factory found for ${kn(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let xa=(()=>{class t{}return t.NULL=new FI,t})();function NI(){return _c(wi(),He())}function _c(t,n){return new bt(Oi(t,n))}let bt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=NI,t})();function YI(t){return t instanceof bt?t.nativeElement:t}class yd{}let po=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function HI(){const t=He(),e=yr(wi().index,t);return(vr(e)?e:t)[11]}(),t})(),VI=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>null}),t})();class cl{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const BI=new cl("14.2.0"),Lg={};function Ag(t){return t.ngOriginalError}class Vo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ag(n);for(;e&&Ag(e);)e=Ag(e);return e||null}}const Rg=new Map;let XI=0;const Ng="__ngContext__";function Mr(t,n){vr(n)?(t[Ng]=n[20],function tO(t){Rg.set(t[20],t)}(n)):t[Ng]=n}function Md(t){const n=t[Ng];return"number"==typeof n?function vM(t){return Rg.get(t)||null}(n):n||null}function Yg(t){const n=Md(t);return n?vr(n)?n:n.lView:null}function Hg(t){return t.ownerDocument.defaultView}function Bo(t){return t instanceof Function?t():t}var qr=(()=>((qr=qr||{})[qr.Important=1]="Important",qr[qr.DashCase=2]="DashCase",qr))();function Bg(t,n){return undefined(t,n)}function wd(t){const n=t[3];return rs(n)?n[3]:n}function jg(t){return DM(t[13])}function Ug(t){return DM(t[4])}function DM(t){for(;null!==t&&!rs(t);)t=t[4];return t}function vc(t,n,e,i,s){if(null!=i){let o,a=!1;rs(i)?o=i:vr(i)&&(a=!0,i=i[0]);const l=ai(i);0===t&&null!==e?null==s?PM(n,e,l):ul(n,e,l,s||null,!0):1===t&&null!==e?ul(n,e,l,s||null,!0):2===t?function YM(t,n,e){const i=Yf(t,n);i&&function TO(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,l,a):3===t&&n.destroyNode(l),null!=o&&function EO(t,n,e,i,s){const o=e[7];o!==ai(e)&&vc(n,t,i,o,s);for(let l=10;l0&&(t[e-1][4]=i[4]);const o=xf(t,10+n);!function bO(t,n){Cd(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function xM(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&Cd(t,n,e,3,null,null),function wO(t){let n=t[13];if(!n)return Gg(t[1],t);for(;n;){let e=null;if(vr(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)vr(n)&&Gg(n[1],n),n=n[3];null===n&&(n=t),vr(n)&&Gg(n[1],n),e=n&&n[4]}n=e}}(n)}}function Gg(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function kO(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[s=_]():i[s=-_].unsubscribe(),o+=2}else{const a=i[s=e[o+1]];e[o].call(a)}if(null!==i){for(let o=s+1;oo?"":s[R+1].toLowerCase();const X=8&i?$:null;if(X&&-1!==BM(X,_,0)||2&i&&_!==$){if(Ws(i))return!1;a=!0}}}}else{if(!a&&!Ws(i)&&!Ws(c))return!1;if(a&&Ws(c))continue;a=!1,i=c|1&i}}return Ws(i)||a}function Ws(t){return 0==(1&t)}function RO(t,n,e,i){if(null===n)return-1;let s=0;if(i||!e){let o=!1;for(;s-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?s+="."+a:4&i&&(s+=" "+a);else""!==s&&!Ws(a)&&(n+=WM(o,s),s=""),i=a,o=o||!Ws(i);e++}return""!==s&&(n+=WM(o,s)),n}const Nt={};function d(t){$M(Xt(),He(),or()+t,!1)}function $M(t,n,e,i){if(!i)if(3==(3&n[2])){const o=t.preOrderCheckHooks;null!==o&&oc(n,o,e)}else{const o=t.preOrderHooks;null!==o&&ac(n,o,0,e)}We(e)}function ZM(t,n=null,e=null,i){const s=QM(t,n,e,i);return s.resolveInjectorInitializers(),s}function QM(t,n=null,e=null,i,s=new Set){const o=[e||cn,SI(t)];return i=i||("object"==typeof t?void 0:kn(t)),new cM(o,n||Nf(),i||null,s)}let Jn=(()=>{class t{static create(e,i){if(Array.isArray(e))return ZM({name:""},i,e,"");{const s=e.name??"";return ZM({name:s},e.parent,e.providers,s)}}}return t.THROW_IF_NOT_FOUND=hd,t.NULL=new rM,t.\u0275prov=Ye({token:t,providedIn:"any",factory:()=>Ce(nM)}),t.__NG_ELEMENT_ID__=-1,t})();function N(t,n=_t.Default){const e=He();return null===e?Ce(t,n):kf(wi(),e,Mt(t),n)}function dl(){throw new Error("invalid")}function jf(t,n){return t<<17|n<<2}function $s(t){return t>>17&32767}function nv(t){return 2|t}function jo(t){return(131068&t)>>2}function iv(t,n){return-131069&t|n<<2}function rv(t){return 1|t}function pw(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&$M(t,n,22,!1),e(i,s)}finally{We(o)}}function _w(t,n,e){if(Nu(n)){const s=n.directiveEnd;for(let o=n.directiveStart;o0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(l)!=c&&l.push(c),l.push(i,s,a)}}function Cw(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Sw(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function IA(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&vv(e)}}function vv(t){for(let i=jg(t);null!==i;i=Ug(i))for(let s=10;s0&&vv(o)}const e=t[1].components;if(null!==e)for(let i=0;i0&&vv(s)}}function HA(t,n){const e=yr(n,t),i=e[1];(function VA(t,n){for(let e=n.length;e-1&&($g(n,i),xf(e,i))}this._attachedToViewContainer=!1}xM(this._lView[1],this._lView)}onDestroy(n){vw(this._lView[1],this._lView,null,n)}markForCheck(){bv(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function yv(t,n,e){const i=n[10];i.begin&&i.begin();try{Sd(t,n,t.template,e)}catch(s){throw Iw(n,s),s}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MO(t,n){Cd(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Le(902,!1);this._appRef=n}}class jA extends Dd{constructor(n){super(n),this._view=n}detectChanges(){!function xw(t){!function BA(t){for(let n=0;n0&&Qg(_,R,it.join(" "))}if(Re=Gu(he,22),void 0!==e){const Fe=Re.projection=[];for(let it=0;it=0;i--){const s=t[i];s.hostVars=n+=s.hostVars,s.hostAttrs=lc(s.hostAttrs,e=lc(e,s.hostAttrs))}}(i)}function Sv(t){return t===da?{}:t===cn?[]:t}function JA(t,n){const e=t.viewQuery;t.viewQuery=e?(i,s)=>{n(i,s),e(i,s)}:n}function XA(t,n){const e=t.contentQueries;t.contentQueries=e?(i,s,o)=>{n(i,s,o),e(i,s,o)}:n}function eR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,s)=>{n(i,s),e(i,s)}:n}let Zf=null;function hl(){if(!Zf){const t=Tn.Symbol;if(t&&t.iterator)Zf=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;el(ai(Et[i.index])):i.index;let it=null;if(!l&&c&&(it=function hR(t,n,e,i){const s=t.cleanup;if(null!=s)for(let o=0;oc?l[c]:null}"string"==typeof a&&(o+=2)}return null}(t,n,s,i.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=o,it.__ngLastListenerFn__=o,X=!1;else{o=Gw(i,n,R,o,!1);const Et=e.listen(Re,s,o);$.push(o,Et),E&&E.push(s,Fe,$e,$e+1)}}else o=Gw(i,n,R,o,!1);const he=i.outputs;let Se;if(X&&null!==he&&(Se=he[s])){const Pe=Se.length;if(Pe)for(let Re=0;Re0;)n=n[15],t--;return n}(t,Tt.lFrame.contextLView))[8]}(t)}function fR(t,n){let e=null;const i=function FO(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let s=0;s=0}const ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iC(t){return t.substring(ji.key,ji.keyEnd)}function gR(t){return t.substring(ji.value,ji.valueEnd)}function rC(t,n){const e=ji.textEnd;return e===n?-1:(n=ji.keyEnd=function yR(t,n,e){for(;n32;)n++;return n}(t,ji.key=n,e),Pc(t,n,e))}function sC(t,n){const e=ji.textEnd;let i=ji.key=Pc(t,n,e);return e===i?-1:(i=ji.keyEnd=function MR(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=aC(t,i,e),i=ji.value=Pc(t,i,e),i=ji.valueEnd=function wR(t,n,e){let i=-1,s=-1,o=-1,a=n,l=a;for(;a32&&(l=a),o=s,s=i,i=-33&c}return l}(t,i,e),aC(t,i,e))}function oC(t){ji.key=0,ji.keyEnd=0,ji.value=0,ji.valueEnd=0,ji.textEnd=t.length}function Pc(t,n,e){for(;n=0;e=sC(n,e))dC(t,iC(n),gR(n))}function fs(t){qs(us,go,t,!0)}function go(t,n){for(let e=function vR(t){return oC(t),rC(t,Pc(t,0,ji.textEnd))}(n);e>=0;e=rC(n,e))us(t,iC(n),!0)}function Gs(t,n,e,i){const s=He(),o=Xt(),a=Bs(2);o.firstUpdatePass&&uC(o,t,a,i),n!==Nt&&wr(s,a,n)&&hC(o,o.data[or()],s,s[11],t,s[a+1]=function ER(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=kn(ds(t)))),t}(n,e),i,a)}function qs(t,n,e,i){const s=Xt(),o=Bs(2);s.firstUpdatePass&&uC(s,null,o,i);const a=He();if(e!==Nt&&wr(a,o,e)){const l=s.data[or()];if(pC(l,i)&&!cC(s,o)){let c=i?l.classesWithoutHost:l.stylesWithoutHost;null!==c&&(e=ca(c,e||"")),kv(s,l,a,e,i)}else!function LR(t,n,e,i,s,o,a,l){s===Nt&&(s=cn);let c=0,_=0,E=0=t.expandoStartIndex}function uC(t,n,e,i){const s=t.data;if(null===s[e+1]){const o=s[or()],a=cC(t,e);pC(o,i)&&null===n&&!a&&(n=!1),n=function SR(t,n,e,i){const s=Qu(t);let o=i?n.residualClasses:n.residualStyles;if(null===s)0===(i?n.classBindings:n.styleBindings)&&(e=Ed(e=Lv(null,t,n,e,i),n.attrs,i),o=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==s)if(e=Lv(s,t,n,e,i),null===o){let c=function DR(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==jo(i))return t[$s(i)]}(t,n,i);void 0!==c&&Array.isArray(c)&&(c=Lv(null,t,n,c[1],i),c=Ed(c,n.attrs,i),function kR(t,n,e,i){t[$s(e?n.classBindings:n.styleBindings)]=i}(t,n,i,c))}else o=function TR(t,n,e){let i;const s=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(_=!0)}else E=e;if(s)if(0!==c){const $=$s(t[l+1]);t[i+1]=jf($,l),0!==$&&(t[$+1]=iv(t[$+1],i)),t[l+1]=function aA(t,n){return 131071&t|n<<17}(t[l+1],i)}else t[i+1]=jf(l,0),0!==l&&(t[l+1]=iv(t[l+1],i)),l=i;else t[i+1]=jf(c,0),0===l?l=i:t[c+1]=iv(t[c+1],i),c=i;_&&(t[i+1]=nv(t[i+1])),nC(t,E,i,!0),nC(t,E,i,!1),function mR(t,n,e,i,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&uc(o,n)>=0&&(e[i+1]=rv(e[i+1]))}(n,E,t,i,o),a=jf(l,c),o?n.classBindings=a:n.styleBindings=a}(s,o,n,e,a,i)}}function Lv(t,n,e,i,s){let o=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const c=t[s],_=Array.isArray(c),E=_?c[1]:c,R=null===E;let $=e[s+1];$===Nt&&($=R?cn:void 0);let X=R?ug($,i):E===i?$:void 0;if(_&&!Xf(X)&&(X=ug(c,i)),Xf(X)&&(l=X,a))return l;const he=t[s+1];s=a?$s(he):jo(he)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(l=ug(c,i))}return l}function Xf(t){return void 0!==t}function pC(t,n){return 0!=(t.flags&(n?16:32))}function O(t,n=""){const e=He(),i=Xt(),s=t+22,o=i.firstCreatePass?yc(i,s,1,n,null):i.data[s],a=e[s]=function zg(t,n){return t.createText(n)}(e[11],n);Hf(i,e,a,o),os(o,!1)}function pe(t){return ye("",t,""),pe}function ye(t,n,e){const i=He(),s=Cc(i,t,n,e);return s!==Nt&&Uo(i,or(),s),ye}function ps(t,n,e,i,s){const o=He(),a=Sc(o,t,n,e,i,s);return a!==Nt&&Uo(o,or(),a),ps}function pl(t,n,e){const i=He();return wr(i,va(),n)&&hs(Xt(),si(),i,t,n,i[11],e,!0),pl}function ep(t,n,e){const i=He();if(wr(i,va(),n)){const o=Xt(),a=si();hs(o,a,i,t,n,Pw(Qu(o.data),a,i),e,!0)}return ep}const ml=void 0;var KR=["en",[["a","p"],["AM","PM"],ml],[["AM","PM"],ml,ml],[["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"]],ml,[["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"]],ml,[["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}",ml,"{1} 'at' {0}",ml],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qR(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ic={};function Or(t){const n=function ZR(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=OC(n);if(e)return e;const i=n.split("-")[0];if(e=OC(i),e)return e;if("en"===i)return KR;throw new Le(701,!1)}function OC(t){return t in Ic||(Ic[t]=Tn.ng&&Tn.ng.common&&Tn.ng.common.locales&&Tn.ng.common.locales[t]),Ic[t]}var ct=(()=>((ct=ct||{})[ct.LocaleId=0]="LocaleId",ct[ct.DayPeriodsFormat=1]="DayPeriodsFormat",ct[ct.DayPeriodsStandalone=2]="DayPeriodsStandalone",ct[ct.DaysFormat=3]="DaysFormat",ct[ct.DaysStandalone=4]="DaysStandalone",ct[ct.MonthsFormat=5]="MonthsFormat",ct[ct.MonthsStandalone=6]="MonthsStandalone",ct[ct.Eras=7]="Eras",ct[ct.FirstDayOfWeek=8]="FirstDayOfWeek",ct[ct.WeekendRange=9]="WeekendRange",ct[ct.DateFormat=10]="DateFormat",ct[ct.TimeFormat=11]="TimeFormat",ct[ct.DateTimeFormat=12]="DateTimeFormat",ct[ct.NumberSymbols=13]="NumberSymbols",ct[ct.NumberFormats=14]="NumberFormats",ct[ct.CurrencyCode=15]="CurrencyCode",ct[ct.CurrencySymbol=16]="CurrencySymbol",ct[ct.CurrencyName=17]="CurrencyName",ct[ct.Currencies=18]="Currencies",ct[ct.Directionality=19]="Directionality",ct[ct.PluralCase=20]="PluralCase",ct[ct.ExtraData=21]="ExtraData",ct))();const Oc="en-US";let AC=Oc;function Iv(t,n,e,i,s){if(t=Mt(t),Array.isArray(t))for(let o=0;o>20;if(ll(t)||!t.multi){const X=new ya(c,s,N),he=Av(l,n,s?E:E+$,R);-1===he?(Pr(ol(_,a),o,l),Ov(o,t,n.length),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(X),a.push(X)):(e[he]=X,a[he]=X)}else{const X=Av(l,n,E+$,R),he=Av(l,n,E,E+$),Se=X>=0&&e[X],Pe=he>=0&&e[he];if(s&&!Pe||!s&&!Se){Pr(ol(_,a),o,l);const Re=function GF(t,n,e,i,s){const o=new ya(t,e,N);return o.multi=[],o.index=n,o.componentProviders=0,sS(o,s,i&&!e),o}(s?$F:WF,e.length,s,i,c);!s&&Pe&&(e[he].providerFactory=Re),Ov(o,t,n.length,0),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(Re),a.push(Re)}else Ov(o,t,X>-1?X:he,sS(e[s?he:X],c,!s&&i));!s&&i&&Pe&&e[he].componentProviders++}}}function Ov(t,n,e,i){const s=ll(n),o=function kI(t){return!!t.useClass}(n);if(s||o){const c=(o?Mt(n.useClass):n).prototype.ngOnDestroy;if(c){const _=t.destroyHooks||(t.destroyHooks=[]);if(!s&&n.multi){const E=_.indexOf(e);-1===E?_.push(e,[i,c]):_[E+1].push(i,c)}else _.push(e,c)}}}function sS(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Av(t,n,e,i){for(let s=e;s{e.providersResolver=(i,s)=>function zF(t,n,e){const i=Xt();if(i.firstCreatePass){const s=ss(t);Iv(e,i.data,i.blueprint,s,!0),Iv(n,i.data,i.blueprint,s,!1)}}(i,s?s(t):t,n)}}class _l{}class oS{}class aS extends _l{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cv(this);const i=rr(n);this._bootstrapComponents=Bo(i.bootstrap),this._r3Injector=QM(n,e,[{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],kn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Fv extends oS{constructor(n){super(),this.moduleType=n}create(n){return new aS(this.moduleType,n)}}class KF extends _l{constructor(n,e,i){super(),this.componentFactoryResolver=new Cv(this),this.instance=null;const s=new cM([...n,{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],e||Nf(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function sp(t,n,e=null){return new KF(t,n,e).injector}let ZF=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=sM(0,e.type),s=i.length>0?sp([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,s)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Ye({token:t,providedIn:"environment",factory:()=>new t(Ce(Ta))}),t})();function lS(t){t.getStandaloneInjector=n=>n.get(ZF).getOrCreateStandaloneInjector(t)}function Hn(t,n,e){const i=sr()+t,s=He();return s[i]===Nt?_o(s,i,e?n.call(e):n()):function xd(t,n){return t[n]}(s,i)}function Ue(t,n,e,i){return mS(He(),sr(),t,n,e,i)}function hn(t,n,e,i,s){return _S(He(),sr(),t,n,e,i,s)}function Rd(t,n){const e=t[n];return e===Nt?void 0:e}function mS(t,n,e,i,s,o){const a=n+e;return wr(t,a,s)?_o(t,a+1,o?i.call(o,s):i(s)):Rd(t,a+1)}function _S(t,n,e,i,s,o,a){const l=n+e;return fl(t,l,s,o)?_o(t,l+2,a?i.call(a,s,o):i(s,o)):Rd(t,l+2)}function Y(t,n){const e=Xt();let i;const s=t+22;e.firstCreatePass?(i=function f3(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[s]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(s,i.onDestroy)):i=e.data[s];const o=i.factory||(i.factory=Hs(i.type)),a=zr(N);try{const l=cc(!1),c=o();return cc(l),function cR(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,He(),s,c),c}finally{zr(a)}}function B(t,n,e){const i=t+22,s=He(),o=Fo(s,i);return Fd(s,i)?mS(s,sr(),n,o.transform,e,o):o.transform(e)}function Vt(t,n,e,i){const s=t+22,o=He(),a=Fo(o,s);return Fd(o,s)?_S(o,sr(),n,a.transform,e,i,a):a.transform(e,i)}function Fd(t,n){return t[1].data[n].pure}function Yv(t){return n=>{setTimeout(t,void 0,n)}}const ft=class g3 extends J{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let s=n,o=e||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;s=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=Yv(o),s&&(s=Yv(s)),a&&(a=Yv(a)));const l=super.subscribe({next:s,error:o,complete:a});return n instanceof x&&n.add(l),l}};function v3(){return this._results[hl()]()}class gl{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=hl(),i=gl.prototype;i[e]||(i[e]=v3)}get changes(){return this._changes||(this._changes=new ft)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const s=cs(n);(this._changesDetected=!function CP(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=M3,t})();const b3=Ar,y3=class extends b3{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,s=Wf(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);s[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(s[19]=a.createEmbeddedView(i)),$f(i,s,n),new Dd(s)}};function M3(){return op(wi(),He())}function op(t,n){return 4&t.type?new y3(n,t,_c(t,n)):null}let ar=(()=>{class t{}return t.__NG_ELEMENT_ID__=w3,t})();function w3(){return wS(wi(),He())}const C3=ar,yS=class extends C3{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _c(this._hostTNode,this._hostLView)}get injector(){return new V(this._hostTNode,this._hostLView)}get parentInjector(){const n=ls(this._hostTNode,this._hostLView);if(Mf(n)){const e=Ca(n,this._hostLView),i=wa(n);return new V(e[1].data[i+8],e)}return new V(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=MS(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let s,o;"number"==typeof i?s=i:null!=i&&(s=i.index,o=i.injector);const a=n.createEmbeddedView(e||{},o);return this.insert(a,s),a}createComponent(n,e,i,s,o){const a=n&&!function ud(t){return"function"==typeof t}(n);let l;if(a)l=e;else{const R=e||{};l=R.index,i=R.injector,s=R.projectableNodes,o=R.environmentInjector||R.ngModuleRef}const c=a?n:new kd(gn(n)),_=i||this.parentInjector;if(!o&&null==c.ngModule){const $=(a?_:this.parentInjector).get(Ta,null);$&&(o=$)}const E=c.create(_,s,void 0,o);return this.insert(E.hostView,l),E}insert(n,e){const i=n._lView,s=i[1];if(function W_(t){return rs(t[3])}(i)){const E=this.indexOf(n);if(-1!==E)this.detach(E);else{const R=i[3],$=new yS(R,R[6],R[3]);$.detach($.indexOf(n))}}const o=this._adjustIndex(e),a=this._lContainer;!function CO(t,n,e,i){const s=10+i,o=e.length;i>0&&(e[s-1][4]=n),i0)i.push(a[l/2]);else{const _=o[l+1],E=n[-c];for(let R=10;R{class t{constructor(e){this.appInits=e,this.resolve=lp,this.reject=lp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{o.subscribe({complete:l,error:c})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(s=>{this.reject(s)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Ce(cp,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Nc=new Be("AppId",{providedIn:"root",factory:function $S(){return`${Kv()}${Kv()}${Kv()}`}});function Kv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const GS=new Be("Platform Initializer"),dp=new Be("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qS=new Be("appBootstrapListener"),Ui=new Be("AnimationModuleType");let Q3=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const vo=new Be("LocaleId",{providedIn:"root",factory:()=>Yn(vo,_t.Optional|_t.SkipSelf)||function J3(){return typeof $localize<"u"&&$localize.locale||Oc}()});class eN{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Zv=(()=>{class t{compileModuleSync(e){return new Fv(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Bo(rr(e).declarations).reduce((a,l)=>{const c=gn(l);return c&&a.push(new kd(c)),a},[]);return new eN(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const iN=(()=>Promise.resolve(0))();function Qv(t){typeof Zone>"u"?iN.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class mt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ft(!1),this.onMicrotaskEmpty=new ft(!1),this.onStable=new ft(!1),this.onError=new ft(!1),typeof Zone>"u")throw new Le(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&e,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function rN(){let t=Tn.requestAnimationFrame,n=Tn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function aN(t){const n=()=>{!function oN(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Tn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Xv(t),t.isCheckStableRunning=!0,Jv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Xv(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,s,o,a,l)=>{try{return QS(t),e.invokeTask(s,o,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),JS(t)}},onInvoke:(e,i,s,o,a,l,c)=>{try{return QS(t),e.invoke(s,o,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&n(),JS(t)}},onHasTask:(e,i,s,o)=>{e.hasTask(s,o),i===s&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Xv(t),Jv(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,s,o)=>(e.handleError(s,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mt.isInAngularZone())throw new Le(909,!1)}static assertNotInAngularZone(){if(mt.isInAngularZone())throw new Le(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,n,sN,lp,lp);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const sN={};function Jv(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 Xv(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function QS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function JS(t){t._nesting--,Jv(t)}class lN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ft,this.onMicrotaskEmpty=new ft,this.onStable=new ft,this.onError=new ft}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,s){return n.apply(e,i)}}const XS=new Be(""),hp=new Be("");let nb,eb=(()=>{class t{constructor(e,i,s){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,nb||(function cN(t){nb=t}(s),s.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{mt.assertNotInAngularZone(),Qv(()=>{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())Qv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:s})}whenStable(e,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,s){return[]}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(tb),Ce(hp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),tb=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return nb?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Aa=null;const eD=new Be("AllowMultipleToken"),ib=new Be("PlatformDestroyListeners");class tD{constructor(n,e){this.name=n,this.token=e}}function iD(t,n,e=[]){const i=`Platform: ${n}`,s=new Be(i);return(o=[])=>{let a=rb();if(!a||a.injector.get(eD,!1)){const l=[...e,...o,{provide:s,useValue:!0}];t?t(l):function hN(t){if(Aa&&!Aa.get(eD,!1))throw new Le(400,!1);Aa=t;const n=t.get(sD);(function nD(t){const n=t.get(GS,null);n&&n.forEach(e=>e())})(t)}(function rD(t=[],n){return Jn.create({name:n,providers:[{provide:Dg,useValue:"platform"},{provide:ib,useValue:new Set([()=>Aa=null])},...t]})}(l,i))}return function pN(t){const n=rb();if(!n)throw new Le(401,!1);return n}()}}function rb(){return Aa?.get(sD)??null}let sD=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const s=function aD(t,n){let e;return e="noop"===t?new lN:("zone.js"===t?void 0:t)||new mt(n),e}(i?.ngZone,function oD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:mt,useValue:s}];return s.run(()=>{const a=Jn.create({providers:o,parent:this.injector,name:e.moduleType.name}),l=e.create(a),c=l.injector.get(Vo,null);if(!c)throw new Le(402,!1);return s.runOutsideAngular(()=>{const _=s.onError.subscribe({next:E=>{c.handleError(E)}});l.onDestroy(()=>{fp(this._modules,l),_.unsubscribe()})}),function lD(t,n,e){try{const i=e();return Ld(i)?i.catch(s=>{throw n.runOutsideAngular(()=>t.handleError(s)),s}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(c,s,()=>{const _=l.injector.get(up);return _.runInitializers(),_.donePromise.then(()=>(function RC(t){Li(t,"Expected localeId to be defined"),"string"==typeof t&&(AC=t.toLowerCase().replace(/_/g,"-"))}(l.injector.get(vo,Oc)||Oc),this._moduleDoBootstrap(l),l))})})}bootstrapModule(e,i=[]){const s=cD({},i);return function uN(t,n,e){const i=new Fv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,s))}_moduleDoBootstrap(e){const i=e.injector.get(Yc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Le(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Le(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(ib,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function cD(t,n){return Array.isArray(n)?n.reduce(cD,t):{...t,...n}}let Yc=(()=>{class t{constructor(e,i,s){this._zone=e,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ce(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new ce(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{mt.assertNotInAngularZone(),Qv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const _=this._zone.onUnstable.subscribe(()=>{mt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),_.unsubscribe()}});this.isStable=Yt(o,a.pipe(mn()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const s=e instanceof dM;if(!this._injector.get(up).done)throw!s&&function fa(t){const n=gn(t)||nr(t)||ir(t);return null!==n&&n.standalone}(e),new Le(405,false);let a;a=s?e:this._injector.get(xa).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function dN(t){return t.isBoundToModule}(a)?void 0:this._injector.get(_l),_=a.create(Jn.NULL,[],i||a.selector,l),E=_.location.nativeElement,R=_.injector.get(XS,null);return R?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),fp(this.components,_),R?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Le(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;fp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(qS,[]).concat(this._bootstrapListeners).forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>fp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Le(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Ta),Ce(Vo))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fp(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let dD=!0,Xn=(()=>{class t{}return t.__NG_ELEMENT_ID__=gN,t})();function gN(t){return function vN(t,n,e){if(ql(t)&&!e){const i=yr(t.index,n);return new Dd(i,i)}return 47&t.type?new Dd(n[16],n):null}(wi(),He(),16==(16&t))}class _D{constructor(){}supports(n){return Td(n)}create(n){return new SN(n)}}const CN=(t,n)=>n;class SN{constructor(n){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=n||CN}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,s=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(s,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,s)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,s),i=!0),e=e._next,s++}),this.length=s;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,s){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,s)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,s)):n=this._addAfter(new DN(e,i),o,s),n}_verifyReinsertion(n,e,i,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,s):n.currentIndex!=s&&(n.currentIndex=s,this._addToMoves(n,s)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const s=n._prevRemoved,o=n._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const s=null===e?this._itHead:e._next;return n._next=s,n._prev=e,null===s?this._itTail=n:s._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new gD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class DN{constructor(n,e){this.item=n,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 kN{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class gD{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new kN,this.map.set(e,i)),i.add(n)}get(n,e){const s=this.map.get(n);return s?s.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vD(t,n,e){const i=t.previousIndex;if(null===i)return i;let s=0;return e&&i{if(e&&e.key===s)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(s,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const s=this._records.get(n);this._maybeAddToChanges(s,e);const o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const i=new xN(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class xN{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yD(){return new Yd([new _D])}let Yd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||yD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(null!=i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:yD}),t})();function MD(){return new Hd([new bD])}let Hd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||MD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:MD}),t})();const PN=iD(null,"core",[]);let IN=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Yc))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function Wo(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let _p=null;function bo(){return _p}const Ct=new Be("DocumentToken");let cb=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return function FN(){return Ce(wD)}()},providedIn:"platform"}),t})();const NN=new Be("Location Initialized");let wD=(()=>{class t extends cb{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bo().getBaseHref(this._doc)}onPopState(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,s){CD()?this._history.pushState(e,i,s):this.location.hash=s}replaceState(e,i,s){CD()?this._history.replaceState(e,i,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(){return function YN(){return new wD(Ce(Ct))}()},providedIn:"platform"}),t})();function CD(){return!!window.history.pushState}function ub(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function SD(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function $o(t){return t&&"?"!==t[0]?"?"+t:t}let bl=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(kD)},providedIn:"root"}),t})();const DD=new Be("appBaseHref");let kD=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Yn(Ct).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ub(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+$o(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${i}${s}`:i}pushState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(DD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HN=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=ub(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(DD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Vd=(()=>{class t{constructor(e){this._subject=new ft,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=SD(TD(i)),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+$o(i))}normalize(e){return t.stripTrailingSlash(function BN(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,TD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",s=null){this._locationStrategy.pushState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}replaceState(e,i="",s=null){this._locationStrategy.replaceState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(s=>s(e,i))}subscribe(e,i,s){return this._subject.subscribe({next:e,error:i,complete:s})}}return t.normalizeQueryParams=$o,t.joinWithSlash=ub,t.stripTrailingSlash=SD,t.\u0275fac=function(e){return new(e||t)(Ce(bl))},t.\u0275prov=Ye({token:t,factory:function(){return function VN(){return new Vd(Ce(bl))}()},providedIn:"root"}),t})();function TD(t){return t.replace(/\/index.html$/,"")}var Ci=(()=>((Ci=Ci||{})[Ci.Format=0]="Format",Ci[Ci.Standalone=1]="Standalone",Ci))(),Qt=(()=>((Qt=Qt||{})[Qt.Narrow=0]="Narrow",Qt[Qt.Abbreviated=1]="Abbreviated",Qt[Qt.Wide=2]="Wide",Qt[Qt.Short=3]="Short",Qt))(),ci=(()=>((ci=ci||{})[ci.Short=0]="Short",ci[ci.Medium=1]="Medium",ci[ci.Long=2]="Long",ci[ci.Full=3]="Full",ci))(),yt=(()=>((yt=yt||{})[yt.Decimal=0]="Decimal",yt[yt.Group=1]="Group",yt[yt.List=2]="List",yt[yt.PercentSign=3]="PercentSign",yt[yt.PlusSign=4]="PlusSign",yt[yt.MinusSign=5]="MinusSign",yt[yt.Exponential=6]="Exponential",yt[yt.SuperscriptingExponent=7]="SuperscriptingExponent",yt[yt.PerMille=8]="PerMille",yt[yt.Infinity=9]="Infinity",yt[yt.NaN=10]="NaN",yt[yt.TimeSeparator=11]="TimeSeparator",yt[yt.CurrencyDecimal=12]="CurrencyDecimal",yt[yt.CurrencyGroup=13]="CurrencyGroup",yt))();function gp(t,n){return Ps(Or(t)[ct.DateFormat],n)}function vp(t,n){return Ps(Or(t)[ct.TimeFormat],n)}function bp(t,n){return Ps(Or(t)[ct.DateTimeFormat],n)}function Es(t,n){const e=Or(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===yt.CurrencyDecimal)return e[ct.NumberSymbols][yt.Decimal];if(n===yt.CurrencyGroup)return e[ct.NumberSymbols][yt.Group]}return i}function LD(t){if(!t[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ps(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function hb(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const e4=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bd={},t4=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?: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}|c{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 zi=(()=>((zi=zi||{})[zi.Short=0]="Short",zi[zi.ShortGMT=1]="ShortGMT",zi[zi.Long=2]="Long",zi[zi.Extended=3]="Extended",zi))(),St=(()=>((St=St||{})[St.FullYear=0]="FullYear",St[St.Month=1]="Month",St[St.Date=2]="Date",St[St.Hours=3]="Hours",St[St.Minutes=4]="Minutes",St[St.Seconds=5]="Seconds",St[St.FractionalSeconds=6]="FractionalSeconds",St[St.Day=7]="Day",St))(),jt=(()=>((jt=jt||{})[jt.DayPeriods=0]="DayPeriods",jt[jt.Days=1]="Days",jt[jt.Months=2]="Months",jt[jt.Eras=3]="Eras",jt))();function ED(t,n,e,i){let s=function d4(t){if(OD(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[s,o=1,a=1]=t.split("-").map(l=>+l);return yp(s,o-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(e4))return function h4(t){const n=new Date(0);let e=0,i=0;const s=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,l=Number(t[5]||0)-i,c=Number(t[6]||0),_=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,a,l,c,_),n}(i)}const n=new Date(t);if(!OD(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=Go(e,n)||n;let l,a=[];for(;n;){if(l=t4.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const E=a.pop();if(!E)break;n=E}}let c=s.getTimezoneOffset();i&&(c=ID(i,c),s=function u4(t,n,e){const i=e?-1:1,s=t.getTimezoneOffset();return function c4(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(ID(n,s)-s))}(s,i,!0));let _="";return a.forEach(E=>{const R=function l4(t){if(pb[t])return pb[t];let n;switch(t){case"G":case"GG":case"GGG":n=zn(jt.Eras,Qt.Abbreviated);break;case"GGGG":n=zn(jt.Eras,Qt.Wide);break;case"GGGGG":n=zn(jt.Eras,Qt.Narrow);break;case"y":n=Ri(St.FullYear,1,0,!1,!0);break;case"yy":n=Ri(St.FullYear,2,0,!0,!0);break;case"yyy":n=Ri(St.FullYear,3,0,!1,!0);break;case"yyyy":n=Ri(St.FullYear,4,0,!1,!0);break;case"Y":n=Sp(1);break;case"YY":n=Sp(2,!0);break;case"YYY":n=Sp(3);break;case"YYYY":n=Sp(4);break;case"M":case"L":n=Ri(St.Month,1,1);break;case"MM":case"LL":n=Ri(St.Month,2,1);break;case"MMM":n=zn(jt.Months,Qt.Abbreviated);break;case"MMMM":n=zn(jt.Months,Qt.Wide);break;case"MMMMM":n=zn(jt.Months,Qt.Narrow);break;case"LLL":n=zn(jt.Months,Qt.Abbreviated,Ci.Standalone);break;case"LLLL":n=zn(jt.Months,Qt.Wide,Ci.Standalone);break;case"LLLLL":n=zn(jt.Months,Qt.Narrow,Ci.Standalone);break;case"w":n=fb(1);break;case"ww":n=fb(2);break;case"W":n=fb(1,!0);break;case"d":n=Ri(St.Date,1);break;case"dd":n=Ri(St.Date,2);break;case"c":case"cc":n=Ri(St.Day,1);break;case"ccc":n=zn(jt.Days,Qt.Abbreviated,Ci.Standalone);break;case"cccc":n=zn(jt.Days,Qt.Wide,Ci.Standalone);break;case"ccccc":n=zn(jt.Days,Qt.Narrow,Ci.Standalone);break;case"cccccc":n=zn(jt.Days,Qt.Short,Ci.Standalone);break;case"E":case"EE":case"EEE":n=zn(jt.Days,Qt.Abbreviated);break;case"EEEE":n=zn(jt.Days,Qt.Wide);break;case"EEEEE":n=zn(jt.Days,Qt.Narrow);break;case"EEEEEE":n=zn(jt.Days,Qt.Short);break;case"a":case"aa":case"aaa":n=zn(jt.DayPeriods,Qt.Abbreviated);break;case"aaaa":n=zn(jt.DayPeriods,Qt.Wide);break;case"aaaaa":n=zn(jt.DayPeriods,Qt.Narrow);break;case"b":case"bb":case"bbb":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Standalone,!0);break;case"bbbb":n=zn(jt.DayPeriods,Qt.Wide,Ci.Standalone,!0);break;case"bbbbb":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Standalone,!0);break;case"B":case"BB":case"BBB":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Format,!0);break;case"BBBB":n=zn(jt.DayPeriods,Qt.Wide,Ci.Format,!0);break;case"BBBBB":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Format,!0);break;case"h":n=Ri(St.Hours,1,-12);break;case"hh":n=Ri(St.Hours,2,-12);break;case"H":n=Ri(St.Hours,1);break;case"HH":n=Ri(St.Hours,2);break;case"m":n=Ri(St.Minutes,1);break;case"mm":n=Ri(St.Minutes,2);break;case"s":n=Ri(St.Seconds,1);break;case"ss":n=Ri(St.Seconds,2);break;case"S":n=Ri(St.FractionalSeconds,1);break;case"SS":n=Ri(St.FractionalSeconds,2);break;case"SSS":n=Ri(St.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=wp(zi.Short);break;case"ZZZZZ":n=wp(zi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=wp(zi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=wp(zi.Long);break;default:return null}return pb[t]=n,n}(E);_+=R?R(s,e,c):"''"===E?"'":E.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_}function yp(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Go(t,n){const e=function jN(t){return Or(t)[ct.LocaleId]}(t);if(Bd[e]=Bd[e]||{},Bd[e][n])return Bd[e][n];let i="";switch(n){case"shortDate":i=gp(t,ci.Short);break;case"mediumDate":i=gp(t,ci.Medium);break;case"longDate":i=gp(t,ci.Long);break;case"fullDate":i=gp(t,ci.Full);break;case"shortTime":i=vp(t,ci.Short);break;case"mediumTime":i=vp(t,ci.Medium);break;case"longTime":i=vp(t,ci.Long);break;case"fullTime":i=vp(t,ci.Full);break;case"short":const s=Go(t,"shortTime"),o=Go(t,"shortDate");i=Mp(bp(t,ci.Short),[s,o]);break;case"medium":const a=Go(t,"mediumTime"),l=Go(t,"mediumDate");i=Mp(bp(t,ci.Medium),[a,l]);break;case"long":const c=Go(t,"longTime"),_=Go(t,"longDate");i=Mp(bp(t,ci.Long),[c,_]);break;case"full":const E=Go(t,"fullTime"),R=Go(t,"fullDate");i=Mp(bp(t,ci.Full),[E,R])}return i&&(Bd[e][n]=i),i}function Mp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Zs(t,n,e="-",i,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=e));let a=String(t);for(;a.length0||l>-e)&&(l+=e),t===St.Hours)0===l&&-12===e&&(l=12);else if(t===St.FractionalSeconds)return function n4(t,n){return Zs(t,3).substring(0,n)}(l,n);const c=Es(a,yt.MinusSign);return Zs(l,n,c,i,s)}}function zn(t,n,e=Ci.Format,i=!1){return function(s,o){return function s4(t,n,e,i,s,o){switch(e){case jt.Months:return function WN(t,n,e){const i=Or(t),o=Ps([i[ct.MonthsFormat],i[ct.MonthsStandalone]],n);return Ps(o,e)}(n,s,i)[t.getMonth()];case jt.Days:return function zN(t,n,e){const i=Or(t),o=Ps([i[ct.DaysFormat],i[ct.DaysStandalone]],n);return Ps(o,e)}(n,s,i)[t.getDay()];case jt.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const _=function KN(t){const n=Or(t);return LD(n),(n[ct.ExtraData][2]||[]).map(i=>"string"==typeof i?hb(i):[hb(i[0]),hb(i[1])])}(n),E=function ZN(t,n,e){const i=Or(t);LD(i);const o=Ps([i[ct.ExtraData][0],i[ct.ExtraData][1]],n)||[];return Ps(o,e)||[]}(n,s,i),R=_.findIndex($=>{if(Array.isArray($)){const[X,he]=$,Se=a>=X.hours&&l>=X.minutes,Pe=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case zi.Short:return(s>=0?"+":"")+Zs(a,2,o)+Zs(Math.abs(s%60),2,o);case zi.ShortGMT:return"GMT"+(s>=0?"+":"")+Zs(a,1,o);case zi.Long:return"GMT"+(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);case zi.Extended:return 0===i?"Z":(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function PD(t){return yp(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function fb(t,n=!1){return function(e,i){let s;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();s=1+Math.floor((a+o)/7)}else{const o=PD(e),a=function a4(t){const n=yp(t,0,1).getDay();return yp(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),l=o.getTime()-a.getTime();s=1+Math.round(l/6048e5)}return Zs(s,t,Es(i,yt.MinusSign))}}function Sp(t,n=!1){return function(e,i){return Zs(PD(e).getFullYear(),t,Es(i,yt.MinusSign),n)}}const pb={};function ID(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function OD(t){return t instanceof Date&&!isNaN(t.valueOf())}function ND(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[s,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(s.trim()===n)return decodeURIComponent(o)}return null}let Wn=(()=>{class t{constructor(e,i,s,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=s,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Td(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${kn(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(s=>{i?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}return t.\u0275fac=function(e){return new(e||t)(N(Yd),N(Hd),N(bt),N(po))},t.\u0275dir=Je({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class D4{constructor(n,e,i,s){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=s}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 Fi=(()=>{class t{constructor(e,i,s){this._viewContainer=e,this._template=i,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((s,o,a)=>{if(null==s.previousIndex)i.createEmbeddedView(this._template,new D4(s.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const l=i.get(o);i.move(l,a),VD(l,s)}});for(let s=0,o=i.length;s{VD(i.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Yd))},t.\u0275dir=Je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function VD(t,n){t.context.$implicit=n.item}let Ot=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new T4,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){BD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){BD("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar))},t.\u0275dir=Je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class T4{constructor(){this.$implicit=null,this.ngIf=null}}function BD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${kn(n)}'.`)}class yb{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Hc=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class t{constructor(e,i,s){this.ngSwitch=s,s._addCase(),this._view=new yb(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),jD=(()=>{class t{constructor(e,i,s){s._addDefault(new yb(e,i))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),Tp=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(s,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(N(ar))},t.\u0275dir=Je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ii]}),t})();function Qs(t,n){return new Le(2100,!1)}class E4{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class P4{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const I4=new P4,O4=new E4;let zD=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Ld(e))return I4;if(zw(e))return O4;throw Qs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(N(Xn,16))},t.\u0275pipe=Ki({name:"async",type:t,pure:!1,standalone:!0}),t})();const Y4=new Be("DATE_PIPE_DEFAULT_TIMEZONE");let WD=(()=>{class t{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",s,o){if(null==e||""===e||e!=e)return null;try{return ED(e,i,o||this.locale,s??this.defaultTimezone??void 0)}catch(a){throw Qs()}}}return t.\u0275fac=function(e){return new(e||t)(N(vo,16),N(Y4,24))},t.\u0275pipe=Ki({name:"date",type:t,pure:!0,standalone:!0}),t})(),yo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const GD="browser";let X4=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>new e5(Ce(Ct),window)}),t})();class e5{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function t5(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=i.currentNode;for(;s;){const o=s.shadowRoot;if(o){const a=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(a)return a}s=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],s-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=qD(this.window.history)||qD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class KD{}class Db extends class y5 extends class RN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function AN(t){_p||(_p=t)}(new Db)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function M5(){return zd=zd||document.querySelector("base"),zd?zd.getAttribute("href"):null}();return null==e?null:function w5(t){Lp=Lp||document.createElement("a"),Lp.setAttribute("href",t);const n=Lp.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){zd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ND(document.cookie,n)}}let Lp,zd=null;const XD=new Be("TRANSITION_ID"),S5=[{provide:cp,useFactory:function C5(t,n,e){return()=>{e.get(up).donePromise.then(()=>{const i=bo(),s=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Ep=new Be("EventManagerPlugins");let Pp=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}addGlobalEventListener(e,i,s){return this._findPluginFor(i).addGlobalEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const s=this._plugins;for(let o=0;o{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),i.add(s))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wd=(()=>{class t extends tk{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,s){e.forEach(o=>{const a=this._doc.createElement("style");a.textContent=o,s.push(i.appendChild(a))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(nk),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,s)=>{this._addStylesToHost(e,s,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(nk))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function nk(t){bo().remove(t)}const kb={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/",math:"http://www.w3.org/1998/MathML/"},Tb=/%COMP%/g;function Ip(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let Op=(()=>{class t{constructor(e,i,s){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new xb(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Hi.Emulated:{let s=this.rendererByCompId.get(i.id);return s||(s=new I5(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,s)),s.applyToHost(e),s}case 1:case Hi.ShadowDom:return new O5(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const s=Ip(i.id,i.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Pp),Ce(Wd),Ce(Nc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class xb{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(kb[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(ak(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(ak(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,s){if(s){e=s+":"+e;const o=kb[s];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const s=kb[i];s?n.removeAttributeNS(s,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,s){s&(qr.DashCase|qr.Important)?n.style.setProperty(e,i,s&qr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&qr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,sk(i)):this.eventManager.addEventListener(n,e,sk(i))}}function ak(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class I5 extends xb{constructor(n,e,i,s){super(n),this.component=i;const o=Ip(s+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function L5(t){return"_ngcontent-%COMP%".replace(Tb,t)}(s+"-"+i.id),this.hostAttr=function E5(t){return"_nghost-%COMP%".replace(Tb,t)}(s+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class O5 extends xb{constructor(n,e,i,s){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ip(s.id,s.styles,[]);for(let a=0;a{class t extends ek{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const lk=["alt","control","meta","shift"],R5={"\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"},F5={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let N5=(()=>{class t extends ek{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),a=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bo().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const o=t._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),lk.forEach(_=>{const E=i.indexOf(_);E>-1&&(i.splice(E,1),a+=_+".")}),a+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let s=R5[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(s=e.code,o="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),lk.forEach(a=>{a!==s&&(0,F5[a])(e)&&(o+=a+".")}),o+=s,o===i)}static eventCallback(e,i,s){return o=>{t.matchEventFullKeyCode(o,e)&&s.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const uk=[{provide:dp,useValue:GD},{provide:GS,useValue:function Y5(){Db.makeCurrent()},multi:!0},{provide:Ct,useFactory:function V5(){return function qP(t){mg=t}(document),document},deps:[]}],B5=iD(PN,"browser",uk),dk=new Be(""),hk=[{provide:hp,useClass:class D5{addToWindow(n){Tn.getAngularTestability=(i,s=!0)=>{const o=n.findTestabilityInTree(i,s);if(null==o)throw new Error("Could not find testability for element.");return o},Tn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Tn.getAllAngularRootElements=()=>n.getAllRootElements(),Tn.frameworkStabilizers||(Tn.frameworkStabilizers=[]),Tn.frameworkStabilizers.push(i=>{const s=Tn.getAllAngularTestabilities();let o=s.length,a=!1;const l=function(c){a=a||c,o--,0==o&&i(a)};s.forEach(function(c){c.whenStable(l)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?bo().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:XS,useClass:eb,deps:[mt,tb,hp]},{provide:eb,useClass:eb,deps:[mt,tb,hp]}],fk=[{provide:Dg,useValue:"root"},{provide:Vo,useFactory:function H5(){return new Vo},deps:[]},{provide:Ep,useClass:A5,multi:!0,deps:[Ct,mt,dp]},{provide:Ep,useClass:N5,multi:!0,deps:[Ct]},{provide:Op,useClass:Op,deps:[Pp,Wd,Nc]},{provide:yd,useExisting:Op},{provide:tk,useExisting:Wd},{provide:Wd,useClass:Wd,deps:[Ct]},{provide:Pp,useClass:Pp,deps:[Ep,mt]},{provide:KD,useClass:k5,deps:[]},[]];let pk=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Nc,useValue:e.appId},{provide:XD,useExisting:Nc},S5]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(dk,12))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[...fk,...hk],imports:[yo,IN]}),t})(),mk=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function U5(){return new mk(Ce(Ct))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let Pb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new(e||t):Ce(vk),i},providedIn:"root"}),t})(),vk=(()=>{class t extends Pb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case vn.NONE:return i;case vn.HTML:return ho(i,"HTML")?ds(i):eM(this._doc,String(i)).toString();case vn.STYLE:return ho(i,"Style")?ds(i):i;case vn.SCRIPT:if(ho(i,"Script"))return ds(i);throw new Error("unsafe value used in a script context");case vn.URL:return ho(i,"URL")?ds(i):gd(String(i));case vn.RESOURCE_URL:if(ho(i,"ResourceURL"))return ds(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function iI(t){return new QP(t)}(e)}bypassSecurityTrustStyle(e){return function rI(t){return new JP(t)}(e)}bypassSecurityTrustScript(e){return function sI(t){return new XP(t)}(e)}bypassSecurityTrustUrl(e){return function oI(t){return new eI(t)}(e)}bypassSecurityTrustResourceUrl(e){return function aI(t){return new tI(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function Z5(t){return new vk(t.get(Ct))}(Ce(Jn)),i},providedIn:"root"}),t})();class bk{}const qo="*";function Ko(t,n){return{type:7,name:t,definitions:n,options:{}}}function Fr(t,n=null){return{type:4,styles:n,timings:t}}function yk(t,n=null){return{type:3,steps:t,options:n}}function Mk(t,n=null){return{type:2,steps:t,options:n}}function bn(t){return{type:6,styles:t,offset:null}}function Nr(t,n,e){return{type:0,name:t,styles:n,options:e}}function Sr(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Ib(t=null){return{type:9,options:t}}function Ob(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function wk(t){Promise.resolve(null).then(t)}class $d{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){wk(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Ck{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,s=0;const o=this.players.length;0==o?wk(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++s==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Sk(t){return new Le(3e3,!1)}function OY(){return typeof window<"u"&&typeof window.document<"u"}function Rb(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Fa(t){switch(t.length){case 0:return new $d;case 1:return t[0];default:return new Ck(t)}}function Dk(t,n,e,i,s=new Map,o=new Map){const a=[],l=[];let c=-1,_=null;if(i.forEach(E=>{const R=E.get("offset"),$=R==c,X=$&&_||new Map;E.forEach((he,Se)=>{let Pe=Se,Re=he;if("offset"!==Se)switch(Pe=n.normalizePropertyName(Pe,a),Re){case"!":Re=s.get(Se);break;case qo:Re=o.get(Se);break;default:Re=n.normalizeStyleValue(Se,Pe,Re,a)}X.set(Pe,Re)}),$||l.push(X),_=X,c=R}),a.length)throw function MY(t){return new Le(3502,!1)}();return l}function Fb(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Nb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Nb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Nb(e,"destroy",t)))}}function Nb(t,n,e){const o=Yb(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(o._data=a),o}function Yb(t,n,e,i,s="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:s,totalTime:o,disabled:!!a}}function ms(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function kk(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let Hb=(t,n)=>!1,Tk=(t,n,e)=>[],xk=null;function Vb(t){const n=t.parentNode||t.host;return n===xk?null:n}(Rb()||typeof Element<"u")&&(OY()?(xk=(()=>document.documentElement)(),Hb=(t,n)=>{for(;n;){if(n===t)return!0;n=Vb(n)}return!1}):Hb=(t,n)=>t.contains(n),Tk=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let yl=null,Lk=!1;const Ek=Hb,Pk=Tk;let Ik=(()=>{class t{validateStyleProperty(e){return function RY(t){yl||(yl=function FY(){return typeof document<"u"?document.body:null}()||{},Lk=!!yl.style&&"WebkitAppearance"in yl.style);let n=!0;return yl.style&&!function AY(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in yl.style,!n&&Lk&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in yl.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return Ek(e,i)}getParentElement(e){return Vb(e)}query(e,i,s){return Pk(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,o,a,l=[],c){return new $d(s,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Bb=(()=>{class t{}return t.NOOP=new Ik,t})();const jb="ng-enter",Ap="ng-leave",Rp="ng-trigger",Fp=".ng-trigger",Ak="ng-animating",Ub=".ng-animating";function Na(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:zb(parseFloat(n[1]),n[2])}function zb(t,n){return"s"===n?1e3*t:t}function Np(t,n,e){return t.hasOwnProperty("duration")?t:function HY(t,n,e){let s,o=0,a="";if("string"==typeof t){const l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(Sk()),{duration:0,delay:0,easing:""};s=zb(parseFloat(l[1]),l[2]);const c=l[3];null!=c&&(o=zb(parseFloat(c),l[4]));const _=l[5];_&&(a=_)}else s=t;if(!e){let l=!1,c=n.length;s<0&&(n.push(function X5(){return new Le(3100,!1)}()),l=!0),o<0&&(n.push(function eY(){return new Le(3101,!1)}()),l=!0),l&&n.splice(c,0,Sk())}return{duration:s,delay:o,easing:a}}(t,n,e)}function Gd(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function Rk(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Ya(t,n=new Map,e){if(e)for(let[i,s]of e)n.set(i,s);for(let[i,s]of t)n.set(i,s);return n}function Nk(t,n,e){return e?n+":"+e+";":""}function Yk(t){let n="";for(let e=0;e{const o=$b(s);e&&!e.has(s)&&e.set(s,t.style[o]),t.style[o]=i}),Rb()&&Yk(t))}function Ml(t,n){t.style&&(n.forEach((e,i)=>{const s=$b(i);t.style[s]=""}),Rb()&&Yk(t))}function qd(t){return Array.isArray(t)?1==t.length?t[0]:Mk(t):t}const Wb=new RegExp("{{\\s*(.+?)\\s*}}","g");function Hk(t){let n=[];if("string"==typeof t){let e;for(;e=Wb.exec(t);)n.push(e[1]);Wb.lastIndex=0}return n}function Yp(t,n,e){const i=t.toString(),s=i.replace(Wb,(o,a)=>{let l=n[a];return null==l&&(e.push(function nY(t){return new Le(3003,!1)}()),l=""),l.toString()});return s==i?t:s}function Hp(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const jY=/-+([a-z0-9])/g;function $b(t){return t.replace(jY,(...n)=>n[1].toUpperCase())}function UY(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _s(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function iY(t){return new Le(3004,!1)}()}}function Vk(t,n){return window.getComputedStyle(t)[n]}function KY(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function ZY(t,n,e){if(":"==t[0]){const c=function QY(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof c)return void n.push(c);t=c}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function _Y(t){return new Le(3015,!1)}()),n;const s=i[1],o=i[2],a=i[3];n.push(Bk(s,a));"<"==o[0]&&!("*"==s&&"*"==a)&&n.push(Bk(a,s))}(i,e,n)):e.push(t),e}const Up=new Set(["true","1"]),zp=new Set(["false","0"]);function Bk(t,n){const e=Up.has(t)||zp.has(t),i=Up.has(n)||zp.has(n);return(s,o)=>{let a="*"==t||t==s,l="*"==n||n==o;return!a&&e&&"boolean"==typeof s&&(a=s?Up.has(t):zp.has(t)),!l&&i&&"boolean"==typeof o&&(l=o?Up.has(n):zp.has(n)),a&&l}}const JY=new RegExp("s*:selfs*,?","g");function Gb(t,n,e,i){return new XY(t).build(n,e,i)}class XY{constructor(n){this._driver=n}build(n,e,i){const s=new nH(e);return this._resetContextStyleTimingState(s),_s(this,qd(n),s)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,s=e.depCount=0;const o=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function sY(){return new Le(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const c=l,_=c.name;_.toString().split(/\s*,\s*/).forEach(E=>{c.name=E,o.push(this.visitState(c,e))}),c.name=_}else if(1==l.type){const c=this.visitTransition(l,e);i+=c.queryCount,s+=c.depCount,a.push(c)}else e.errors.push(function oY(){return new Le(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:a,queryCount:i,depCount:s,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),s=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=s||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(c=>{Hk(c).forEach(_=>{a.hasOwnProperty(_)||o.add(_)})})}),o.size&&(Hp(o.values()),e.errors.push(function aY(t,n){return new Le(3008,!1)}()))}return{type:0,name:n.name,style:i,options:s?{params:s}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=_s(this,qd(n.animation),e);return{type:1,matchers:KY(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:wl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>_s(this,i,e)),options:wl(n.options)}}visitGroup(n,e){const i=e.currentTime;let s=0;const o=n.steps.map(a=>{e.currentTime=i;const l=_s(this,a,e);return s=Math.max(s,e.currentTime),l});return e.currentTime=s,{type:3,steps:o,options:wl(n.options)}}visitAnimate(n,e){const i=function rH(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return qb(Np(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=qb(0,0,"");return o.dynamic=!0,o.strValue=e,o}const s=Np(e,n);return qb(s.duration,s.delay,s.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let s,o=n.styles?n.styles:bn({});if(5==o.type)s=this.visitKeyframes(o,e);else{let a=n.styles,l=!1;if(!a){l=!0;const _={};i.easing&&(_.easing=i.easing),a=bn(_)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(a,e);c.isEmptyStep=l,s=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],s=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of s)"string"==typeof l?l===qo?i.push(l):e.errors.push(new Le(3002,!1)):i.push(Rk(l));let o=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!o))for(let c of l.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let s=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,c)=>{const _=e.collectedStyles.get(e.currentQuerySelector),E=_.get(c);let R=!0;E&&(o!=s&&o>=E.startTime&&s<=E.endTime&&(e.errors.push(function cY(t,n,e,i,s){return new Le(3010,!1)}()),R=!1),o=E.startTime),R&&_.set(c,{startTime:o,endTime:s}),e.options&&function BY(t,n,e){const i=n.params||{},s=Hk(t);s.length&&s.forEach(o=>{i.hasOwnProperty(o)||e.push(function tY(t){return new Le(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function uY(){return new Le(3011,!1)}()),i;let o=0;const a=[];let l=!1,c=!1,_=0;const E=n.steps.map(Re=>{const $e=this._makeStyleAst(Re,e);let Fe=null!=$e.offset?$e.offset:function iH(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}($e.styles),it=0;return null!=Fe&&(o++,it=$e.offset=Fe),c=c||it<0||it>1,l=l||it<_,_=it,a.push(it),$e});c&&e.errors.push(function dY(){return new Le(3012,!1)}()),l&&e.errors.push(function hY(){return new Le(3200,!1)}());const R=n.steps.length;let $=0;o>0&&o{const Fe=$>0?$e==X?1:$*$e:a[$e],it=Fe*Pe;e.currentTime=he+Se.delay+it,Se.duration=it,this._validateStyleAst(Re,e),Re.offset=Fe,i.styles.push(Re)}),i}visitReference(n,e){return{type:8,animation:_s(this,qd(n.animation),e),options:wl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:wl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:wl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,s=n.options||{};e.queryCount++,e.currentQuery=n;const[o,a]=function eH(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(JY,"")),t=t.replace(/@\*/g,Fp).replace(/@\w+/g,e=>Fp+"-"+e.slice(1)).replace(/:animating/g,Ub),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,ms(e.collectedStyles,e.currentQuerySelector,new Map);const l=_s(this,qd(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:s.limit||0,optional:!!s.optional,includeSelf:a,animation:l,originalSelector:n.selector,options:wl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function pY(){return new Le(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Np(n.timings,e.errors,!0);return{type:12,animation:_s(this,qd(n.animation),e),timings:i,options:null}}}class nH{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function wl(t){return t?(t=Gd(t)).params&&(t.params=function tH(t){return t?Gd(t):null}(t.params)):t={},t}function qb(t,n,e){return{duration:t,delay:n,easing:e}}function Kb(t,n,e,i,s,o,a=null,l=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:s,delay:o,totalTime:s+o,easing:a,subTimeline:l}}class Wp{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const aH=new RegExp(":enter","g"),cH=new RegExp(":leave","g");function Zb(t,n,e,i,s,o=new Map,a=new Map,l,c,_=[]){return(new uH).buildKeyframes(t,n,e,i,s,o,a,l,c,_)}class uH{buildKeyframes(n,e,i,s,o,a,l,c,_,E=[]){_=_||new Wp;const R=new Qb(n,e,_,s,o,E,[]);R.options=c;const $=c.delay?Na(c.delay):0;R.currentTimeline.delayNextStep($),R.currentTimeline.setStyles([a],null,R.errors,c),_s(this,i,R);const X=R.timelines.filter(he=>he.containsAnimation());if(X.length&&l.size){let he;for(let Se=X.length-1;Se>=0;Se--){const Pe=X[Se];if(Pe.element===e){he=Pe;break}}he&&!he.allowOnlyTimelineStyles()&&he.setStyles([l],null,R.errors,c)}return X.length?X.map(he=>he.buildKeyframes()):[Kb(e,[],[],[],0,$,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,s,s.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Na(i.duration):null,l=null!=i.delay?Na(i.delay):null;return 0!==a&&n.forEach(c=>{const _=e.appendInstructionToTimeline(c,a,l);o=Math.max(o,_.duration+_.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),_s(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let s=e;const o=n.options;if(o&&(o.params||o.delay)&&(s=e.createSubContext(o),s.transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=$p);const a=Na(o.delay);s.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>_s(this,a,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let s=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Na(n.options.delay):0;n.steps.forEach(a=>{const l=e.createSubContext(n.options);o&&l.delayNextStep(o),_s(this,a,l),s=Math.max(s,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(s),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Np(e.params?Yp(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=s&&s.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,o=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(c=>{l.forwardTime((c.offset||0)*o),l.setStyles(c.styles,c.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(s+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,s=n.options||{},o=s.delay?Na(s.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$p);let a=i;const l=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=l.length;let c=null;l.forEach((_,E)=>{e.currentQueryIndex=E;const R=e.createSubContext(n.options,_);o&&R.delayNextStep(o),_===e.element&&(c=R.currentTimeline),_s(this,n.animation,R),R.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,R.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,s=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),l=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=l-c;break;case"full":c=i.currentStaggerTime}const E=e.currentTimeline;c&&E.delayNextStep(c);const R=E.currentTime;_s(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=s.currentTime-R+(s.startTime-i.currentTimeline.startTime)}}const $p={};class Qb{constructor(n,e,i,s,o,a,l,c){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=o,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$p,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Gp(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let s=this.options;null!=i.duration&&(s.duration=Na(i.duration)),null!=i.delay&&(s.delay=Na(i.delay));const o=i.params;if(o){let a=s.params;a||(a=this.options.params={}),Object.keys(o).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=Yp(o[l],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return n}createSubContext(n=null,e,i){const s=e||this.element,o=new Qb(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=$p,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const s={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new dH(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,s,n.stretchStartingKeyframe);return this.timelines.push(o),s}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,s,o,a){let l=[];if(s&&l.push(this.element),n.length>0){n=(n=n.replace(aH,"."+this._enterClassName)).replace(cH,"."+this._leaveClassName);let _=this._driver.query(this.element,n,1!=i);0!==i&&(_=i<0?_.slice(_.length+i,_.length):_.slice(0,i)),l.push(..._)}return!o&&0==l.length&&a.push(function mY(t){return new Le(3014,!1)}()),l}}class Gp{constructor(n,e,i,s){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Gp(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||qo),this._currentKeyframe.set(e,qo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,s){e&&this._previousKeyframe.set("easing",e);const o=s&&s.params||{},a=function hH(t,n){const e=new Map;let i;return t.forEach(s=>{if("*"===s){i=i||n.keys();for(let o of i)e.set(o,qo)}else Ya(s,e)}),e}(n,this._globalTimelineStyles);for(let[l,c]of a){const _=Yp(c,o,i);this._pendingStyles.set(l,_),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??qo),this._updateStyle(l,_)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const s=this._styleSummary.get(i);(!s||e.time>s.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((l,c)=>{const _=Ya(l,new Map,this._backFill);_.forEach((E,R)=>{"!"===E?n.add(R):E===qo&&e.add(R)}),i||_.set("offset",c/this.duration),s.push(_)});const o=n.size?Hp(n.values()):[],a=e.size?Hp(e.values()):[];if(i){const l=s[0],c=new Map(l);l.set("offset",0),c.set("offset",1),s=[l,c]}return Kb(this.element,s,o,a,this.duration,this.startTime,this.easing,!1)}}class dH extends Gp{constructor(n,e,i,s,o,a,l=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,l=e/a,c=Ya(n[0]);c.set("offset",0),o.push(c);const _=Ya(n[0]);_.set("offset",zk(l)),o.push(_);const E=n.length-1;for(let R=1;R<=E;R++){let $=Ya(n[R]);const X=$.get("offset");$.set("offset",zk((e+X*i)/a)),o.push($)}i=a,e=0,s="",n=o}return Kb(this.element,n,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function zk(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class Jb{}const fH=new Set(["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"]);class pH extends Jb{normalizePropertyName(n,e){return $b(n)}normalizeStyleValue(n,e,i,s){let o="";const a=i.toString().trim();if(fH.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&s.push(function rY(t,n){return new Le(3005,!1)}())}return a+o}}function Wk(t,n,e,i,s,o,a,l,c,_,E,R,$){return{type:0,element:t,triggerName:n,isRemovalTransition:s,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:l,queriedElements:c,preStyleProps:_,postStyleProps:E,totalTime:R,errors:$}}const Xb={};class $k{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,s){return function mH(t,n,e,i,s){return t.some(o=>o(n,e,i,s))}(this.ast.matchers,n,e,i,s)}buildStyles(n,e,i){let s=this._stateStyles.get("*");return void 0!==n&&(s=this._stateStyles.get(n?.toString())||s),s?s.buildStyles(e,i):new Map}build(n,e,i,s,o,a,l,c,_,E){const R=[],$=this.ast.options&&this.ast.options.params||Xb,he=this.buildStyles(i,l&&l.params||Xb,R),Se=c&&c.params||Xb,Pe=this.buildStyles(s,Se,R),Re=new Set,$e=new Map,Fe=new Map,it="void"===s,Et={params:_H(Se,$),delay:this.ast.options?.delay},en=E?[]:Zb(n,e,this.ast.animation,o,a,he,Pe,Et,_,R);let di=0;if(en.forEach(Ms=>{di=Math.max(Ms.duration+Ms.delay,di)}),R.length)return Wk(e,this._triggerName,i,s,it,he,Pe,[],[],$e,Fe,di,R);en.forEach(Ms=>{const ws=Ms.element,Su=ms($e,ws,new Set);Ms.preStyleProps.forEach(ro=>Su.add(ro));const aa=ms(Fe,ws,new Set);Ms.postStyleProps.forEach(ro=>aa.add(ro)),ws!==e&&Re.add(ws)});const ys=Hp(Re.values());return Wk(e,this._triggerName,i,s,it,he,Pe,en,ys,$e,Fe,di)}}function _H(t,n){const e=Gd(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class gH{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,s=Gd(this.defaultParams);return Object.keys(n).forEach(o=>{const a=n[o];null!==a&&(s[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{a&&(a=Yp(a,s,e));const c=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,c,a,e),i.set(c,a)})}),i}}class bH{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(s=>{this.states.set(s.name,new gH(s.style,s.options&&s.options.params||{},i))}),Gk(this.states,"true","1"),Gk(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new $k(n,s,this.states))}),this.fallbackTransition=function yH(t,n,e){return new $k(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,s){return this.transitionFactories.find(a=>a.match(n,e,i,s))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function Gk(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const MH=new Wp;class wH{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=Gb(this._driver,e,i,[]);if(i.length)throw function wY(t){return new Le(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const s=n.element,o=Dk(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(s,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const s=[],o=this._animations.get(n);let a;const l=new Map;if(o?(a=Zb(this._driver,e,o,jb,Ap,new Map,new Map,i,MH,s),a.forEach(E=>{const R=ms(l,E.element,new Map);E.postStyleProps.forEach($=>R.set($,null))})):(s.push(function CY(){return new Le(3300,!1)}()),a=[]),s.length)throw function SY(t){return new Le(3504,!1)}();l.forEach((E,R)=>{E.forEach(($,X)=>{E.set(X,this._driver.computeStyle(R,X,qo))})});const _=Fa(a.map(E=>{const R=l.get(E.element);return this._buildPlayer(E,new Map,R)}));return this._playersById.set(n,_),_.onDestroy(()=>this.destroy(n)),this.players.push(_),_}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function DY(t){return new Le(3301,!1)}();return e}listen(n,e,i,s){const o=Yb(e,"","","");return Fb(this._getPlayer(n),i,o,s),()=>{}}command(n,e,i,s){if("register"==i)return void this.register(n,s[0]);if("create"==i)return void this.create(n,e,s[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(n)}}}const qk="ng-animate-queued",ey="ng-animate-disabled",TH=[],Kk={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Is="__ng_removed";class ty{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function IH(t){return t??null}(i?n.value:n),i){const o=Gd(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const Kd="void",ny=new ty(Kd);class LH{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Os(e,this._hostClassName)}listen(n,e,i,s){if(!this._triggers.has(e))throw function kY(t,n){return new Le(3302,!1)}();if(null==i||0==i.length)throw function TY(t){return new Le(3303,!1)}();if(!function OH(t){return"start"==t||"done"==t}(i))throw function xY(t,n){return new Le(3400,!1)}();const o=ms(this._elementListeners,n,[]),a={name:e,phase:i,callback:s};o.push(a);const l=ms(this._engine.statesByElement,n,new Map);return l.has(e)||(Os(n,Rp),Os(n,Rp+"-"+e),l.set(e,ny)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(e)||l.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function LY(t){return new Le(3401,!1)}();return e}trigger(n,e,i,s=!0){const o=this._getTrigger(e),a=new iy(this.id,e,n);let l=this._engine.statesByElement.get(n);l||(Os(n,Rp),Os(n,Rp+"-"+e),this._engine.statesByElement.set(n,l=new Map));let c=l.get(e);const _=new ty(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&_.absorbOptions(c.options),l.set(e,_),c||(c=ny),_.value!==Kd&&c.value===_.value){if(!function FH(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let s=0;s{Ml(n,Pe),Mo(n,Re)})}return}const $=ms(this._engine.playersByElement,n,[]);$.forEach(Se=>{Se.namespaceId==this.id&&Se.triggerName==e&&Se.queued&&Se.destroy()});let X=o.matchTransition(c.value,_.value,n,_.params),he=!1;if(!X){if(!s)return;X=o.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:X,fromState:c,toState:_,player:a,isFallbackTransition:he}),he||(Os(n,qk),a.onStart(()=>{Vc(n,qk)})),a.onDone(()=>{let Se=this.players.indexOf(a);Se>=0&&this.players.splice(Se,1);const Pe=this._engine.playersByElement.get(n);if(Pe){let Re=Pe.indexOf(a);Re>=0&&Pe.splice(Re,1)}}),this.players.push(a),$.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Fp,!0);i.forEach(s=>{if(s[Is])return;const o=this._engine.fetchNamespacesByElement(s);o.size?o.forEach(a=>a.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(n,e,i,s){const o=this._engine.statesByElement.get(n),a=new Map;if(o){const l=[];if(o.forEach((c,_)=>{if(a.set(_,c.value),this._triggers.has(_)){const E=this.trigger(n,_,Kd,s);E&&l.push(E)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&Fa(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const s=new Set;e.forEach(o=>{const a=o.name;if(s.has(a))return;s.add(a);const c=this._triggers.get(a).fallbackTransition,_=i.get(a)||ny,E=new ty(Kd),R=new iy(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:c,fromState:_,toState:E,player:R,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let s=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)s=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(n),s)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[Is];(!o||o===Kk)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Os(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(l=>{if(l.name==i.triggerName){const c=Yb(o,i.triggerName,i.fromState.value,i.toState.value);c._data=n,Fb(i.player,l.phase,c,l.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const o=i.transition.ast.depCount,a=s.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class EH{constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,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=(s,o)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new LH(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const c=s.get(l);if(c){const _=i.indexOf(c);i.splice(_+1,0,n),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(n)}else i.push(n);return s.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let s=this._namespaceLookup[n];s&&s.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let s of i.values())if(s.namespaceId){const o=this._fetchNamespace(s.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,s){if(qp(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,s),!0}return!1}insertNode(n,e,i,s){if(!qp(e))return;const o=e[Is];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Os(n,ey)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vc(n,ey))}removeNode(n,e,i,s){if(qp(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,s):this.markElementAsRemoved(n,e,!1,s),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(n,e,i,s,o){this.collectedLeaveElements.push(e),e[Is]={namespaceId:n,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,s,o){return qp(e)?this._fetchNamespace(n).listen(e,i,s,o):()=>{}}_buildInstruction(n,e,i,s,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,s,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Fp,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Ub,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Fa(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Is];if(e&&e.setForRemoval){if(n[Is]=Kk,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(ey)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Fa(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(n){throw function EY(t){return new Le(3402,!1)}()}_flushAnimations(n,e){const i=new Wp,s=[],o=new Map,a=[],l=new Map,c=new Map,_=new Map,E=new Set;this.disabledNodes.forEach(ht=>{E.add(ht);const gt=this.driver.query(ht,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=jb+Se++;he.set(gt,Dt),ht.forEach(un=>Os(un,Dt))});const Pe=[],Re=new Set,$e=new Set;for(let ht=0;htRe.add(un)):$e.add(gt))}const Fe=new Map,it=Jk($,Array.from(Re));it.forEach((ht,gt)=>{const Dt=Ap+Se++;Fe.set(gt,Dt),ht.forEach(un=>Os(un,Dt))}),n.push(()=>{X.forEach((ht,gt)=>{const Dt=he.get(gt);ht.forEach(un=>Vc(un,Dt))}),it.forEach((ht,gt)=>{const Dt=Fe.get(gt);ht.forEach(un=>Vc(un,Dt))}),Pe.forEach(ht=>{this.processLeaveNode(ht)})});const Et=[],en=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(Dt=>{const un=Dt.player,tr=Dt.element;if(Et.push(un),this.collectedEnterElements.length){const xr=tr[Is];if(xr&&xr.setForMove){if(xr.previousTriggersValues&&xr.previousTriggersValues.has(Dt.triggerName)){const Vl=xr.previousTriggersValues.get(Dt.triggerName),Rs=this.statesByElement.get(Dt.element);if(Rs&&Rs.has(Dt.triggerName)){const C_=Rs.get(Dt.triggerName);C_.value=Vl,Rs.set(Dt.triggerName,C_)}}return void un.destroy()}}const Eo=!R||!this.driver.containsElement(R,tr),Cs=Fe.get(tr),Xa=he.get(tr),hi=this._buildInstruction(Dt,i,Xa,Cs,Eo);if(hi.errors&&hi.errors.length)return void en.push(hi);if(Eo)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);if(Dt.isFallbackTransition)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);const wP=[];hi.timelines.forEach(xr=>{xr.stretchStartingKeyframe=!0,this.disabledNodes.has(xr.element)||wP.push(xr)}),hi.timelines=wP,i.append(tr,hi.timelines),a.push({instruction:hi,player:un,element:tr}),hi.queriedElements.forEach(xr=>ms(l,xr,[]).push(un)),hi.preStyleProps.forEach((xr,Vl)=>{if(xr.size){let Rs=c.get(Vl);Rs||c.set(Vl,Rs=new Set),xr.forEach((C_,e1)=>Rs.add(e1))}}),hi.postStyleProps.forEach((xr,Vl)=>{let Rs=_.get(Vl);Rs||_.set(Vl,Rs=new Set),xr.forEach((C_,e1)=>Rs.add(e1))})});if(en.length){const ht=[];en.forEach(gt=>{ht.push(function PY(t,n){return new Le(3505,!1)}())}),Et.forEach(gt=>gt.destroy()),this.reportError(ht)}const di=new Map,ys=new Map;a.forEach(ht=>{const gt=ht.element;i.has(gt)&&(ys.set(gt,gt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,di))}),s.forEach(ht=>{const gt=ht.element;this._getPreviousPlayers(gt,!1,ht.namespaceId,ht.triggerName,null).forEach(un=>{ms(di,gt,[]).push(un),un.destroy()})});const Ms=Pe.filter(ht=>eT(ht,c,_)),ws=new Map;Qk(ws,this.driver,$e,_,qo).forEach(ht=>{eT(ht,c,_)&&Ms.push(ht)});const aa=new Map;X.forEach((ht,gt)=>{Qk(aa,this.driver,new Set(ht),c,"!")}),Ms.forEach(ht=>{const gt=ws.get(ht),Dt=aa.get(ht);ws.set(ht,new Map([...Array.from(gt?.entries()??[]),...Array.from(Dt?.entries()??[])]))});const ro=[],Du=[],ku={};a.forEach(ht=>{const{element:gt,player:Dt,instruction:un}=ht;if(i.has(gt)){if(E.has(gt))return Dt.onDestroy(()=>Mo(gt,un.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(un.totalTime),void s.push(Dt);let tr=ku;if(ys.size>1){let Cs=gt;const Xa=[];for(;Cs=Cs.parentNode;){const hi=ys.get(Cs);if(hi){tr=hi;break}Xa.push(Cs)}Xa.forEach(hi=>ys.set(hi,tr))}const Eo=this._buildAnimation(Dt.namespaceId,un,di,o,aa,ws);if(Dt.setRealPlayer(Eo),tr===ku)ro.push(Dt);else{const Cs=this.playersByElement.get(tr);Cs&&Cs.length&&(Dt.parentPlayer=Fa(Cs)),s.push(Dt)}}else Ml(gt,un.fromStyles),Dt.onDestroy(()=>Mo(gt,un.toStyles)),Du.push(Dt),E.has(gt)&&s.push(Dt)}),Du.forEach(ht=>{const gt=o.get(ht.element);if(gt&>.length){const Dt=Fa(gt);ht.setRealPlayer(Dt)}}),s.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!Eo.destroyed);tr.length?AH(this,gt,tr):this.processLeaveNode(gt)}return Pe.length=0,ro.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const gt=this.players.indexOf(ht);this.players.splice(gt,1)}),ht.play()}),ro}elementContainsData(n,e){let i=!1;const s=e[Is];return s&&s.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,s,o){let a=[];if(e){const l=this.playersByQueriedElement.get(n);l&&(a=l)}else{const l=this.playersByElement.get(n);if(l){const c=!o||o==Kd;l.forEach(_=>{_.queued||!c&&_.triggerName!=s||a.push(_)})}}return(i||s)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||s&&s!=l.triggerName))),a}_beforeAnimationBuild(n,e,i){const o=e.element,a=e.isRemovalTransition?void 0:n,l=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const _=c.element,E=_!==o,R=ms(i,_,[]);this._getPreviousPlayers(_,E,a,l,e.toState).forEach(X=>{const he=X.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),X.destroy(),R.push(X)})}Ml(o,e.fromStyles)}_buildAnimation(n,e,i,s,o,a){const l=e.triggerName,c=e.element,_=[],E=new Set,R=new Set,$=e.timelines.map(he=>{const Se=he.element;E.add(Se);const Pe=Se[Is];if(Pe&&Pe.removedBeforeQueried)return new $d(he.duration,he.delay);const Re=Se!==c,$e=function RH(t){const n=[];return Xk(t,n),n}((i.get(Se)||TH).map(di=>di.getRealPlayer())).filter(di=>!!di.element&&di.element===Se),Fe=o.get(Se),it=a.get(Se),Et=Dk(0,this._normalizer,0,he.keyframes,Fe,it),en=this._buildPlayer(he,Et,$e);if(he.subTimeline&&s&&R.add(Se),Re){const di=new iy(n,l,Se);di.setRealPlayer(en),_.push(di)}return en});_.forEach(he=>{ms(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function PH(t,n,e){let i=t.get(n);if(i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,he.element,he))}),E.forEach(he=>Os(he,Ak));const X=Fa($);return X.onDestroy(()=>{E.forEach(he=>Vc(he,Ak)),Mo(c,e.toStyles)}),R.forEach(he=>{ms(s,he,[]).push(X)}),X}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new $d(n.duration,n.delay)}}class iy{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new $d,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(s=>Fb(n,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){ms(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function qp(t){return t&&1===t.nodeType}function Zk(t,n){const e=t.style.display;return t.style.display=n??"none",e}function Qk(t,n,e,i,s){const o=[];e.forEach(c=>o.push(Zk(c)));const a=[];i.forEach((c,_)=>{const E=new Map;c.forEach(R=>{const $=n.computeStyle(_,R,s);E.set(R,$),(!$||0==$.length)&&(_[Is]=xH,a.push(_))}),t.set(_,E)});let l=0;return e.forEach(c=>Zk(c,o[l++])),a}function Jk(t,n){const e=new Map;if(t.forEach(l=>e.set(l,[])),0==n.length)return e;const s=new Set(n),o=new Map;function a(l){if(!l)return 1;let c=o.get(l);if(c)return c;const _=l.parentNode;return c=e.has(_)?_:s.has(_)?1:a(_),o.set(l,c),c}return n.forEach(l=>{const c=a(l);1!==c&&e.get(c).push(l)}),e}function Os(t,n){t.classList?.add(n)}function Vc(t,n){t.classList?.remove(n)}function AH(t,n,e){Fa(e).onDone(()=>t.processLeaveNode(n))}function Xk(t,n){for(let e=0;es.add(o)):n.set(t,i),e.delete(t),!0}class Kp{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new EH(n,e,i),this._timelineEngine=new wH(n,e,i),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(n,e,i,s,o){const a=n+"-"+s;let l=this._triggerCache[a];if(!l){const c=[],E=Gb(this._driver,o,c,[]);if(c.length)throw function yY(t,n){return new Le(3404,!1)}();l=function vH(t,n,e){return new bH(t,n,e)}(s,E,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,s,l)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,s){this._transitionEngine.insertNode(n,e,i,s)}onRemove(n,e,i,s){this._transitionEngine.removeNode(n,e,s||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,s){if("@"==i.charAt(0)){const[o,a]=kk(i);this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,s)}listen(n,e,i,s,o){if("@"==i.charAt(0)){const[a,l]=kk(i);return this._timelineEngine.listen(a,e,l,o)}return this._transitionEngine.listen(n,e,i,s,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let YH=(()=>{class t{constructor(e,i,s){this._element=e,this._startStyles=i,this._endStyles=s,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mo(this._element,this._initialStyles),this._endStyles&&(Mo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ml(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ml(this._element,this._endStyles),this._endStyles=null),Mo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ry(t){let n=null;return t.forEach((e,i)=>{(function HH(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class tT{constructor(n,e,i,s){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&n.set(s,this._finished?i:Vk(this.element,s))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class VH{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return Ek(n,e)}getParentElement(n){return Vb(n)}query(n,e,i){return Pk(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,s,o,a=[]){const c={duration:i,delay:s,fill:0==s?"both":"forwards"};o&&(c.easing=o);const _=new Map,E=a.filter(X=>X instanceof tT);(function zY(t,n){return 0===t||0===n})(i,s)&&E.forEach(X=>{X.currentSnapshot.forEach((he,Se)=>_.set(Se,he))});let R=function VY(t){return t.length?t[0]instanceof Map?t:t.map(n=>Rk(n)):[]}(e).map(X=>Ya(X));R=function WY(t,n,e){if(e.size&&n.length){let i=n[0],s=[];if(e.forEach((o,a)=>{i.has(a)||s.push(a),i.set(a,o)}),s.length)for(let o=1;oa.set(l,Vk(t,l)))}}return n}(n,R,_);const $=function NH(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=ry(n[0]),n.length>1&&(i=ry(n[n.length-1]))):n instanceof Map&&(e=ry(n)),e||i?new YH(t,e,i):null}(n,R);return new tT(n,R,c,$)}}let BH=(()=>{class t extends bk{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Hi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Mk(e):e;return nT(this._renderer,null,i,"register",[s]),new jH(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(yd),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class jH extends class Q5{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new UH(this._id,n,e||{},this._renderer)}}class UH{constructor(n,e,i,s){this.id=n,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return nT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function nT(t,n,e,i,s){return t.setProperty(n,`@@${e}:${i}`,s)}const iT="@.disabled";let zH=(()=>{class t{constructor(e,i,s){this.delegate=e,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const l=a?.parentNode(o);l&&a.removeChild(l,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let E=this._rendererCache.get(o);return E||(E=new rT("",o,this.engine),this._rendererCache.set(o,E)),E}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const c=E=>{Array.isArray(E)?E.forEach(c):this.engine.registerTrigger(a,l,e,E.name,E)};return i.data.animation.forEach(c),new WH(this,l,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,s){e>=0&&ei(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,l]=o;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,s]))}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)(Ce(yd),Ce(Kp),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class rT{constructor(n,e,i){this.namespaceId=n,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,s=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,s)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,s){this.delegate.setAttribute(n,e,i,s)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,s){this.delegate.setStyle(n,e,i,s)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==iT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class WH extends rT{constructor(n,e,i,s){super(e,i,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==iT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const s=function $H(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function GH(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,s,o,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i)}}let qH=(()=>{class t extends Kp{constructor(e,i,s,o){super(e.body,i,s)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Bb),Ce(Jb),Ce(Yc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const sT=[{provide:bk,useClass:BH},{provide:Jb,useFactory:function KH(){return new pH}},{provide:Kp,useClass:qH},{provide:yd,useFactory:function ZH(t,n,e){return new zH(t,n,e)},deps:[Op,Kp,mt]}],sy=[{provide:Bb,useFactory:()=>new VH},{provide:Ui,useValue:"BrowserAnimations"},...sT],oT=[{provide:Bb,useClass:Ik},{provide:Ui,useValue:"NoopAnimations"},...sT];let QH=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?oT:sy}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:sy,imports:[pk]}),t})();function ze(...t){let n=t[t.length-1];return ke(n)?(t.pop(),de(t,n)):tt(t)}function Ha(t,n){return we(t,n,1)}function Si(t,n){return function(i){return i.lift(new JH(t,n))}}class JH{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new XH(n,this.predicate,this.thisArg))}}class XH extends A{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}class aT{}class lT{}class wo{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const s=e.slice(0,i),o=s.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(s,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const s=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(s,i),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof wo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new wo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof wo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const s=("a"===n.op?this.headers.get(e):void 0)||[];s.push(...i),this.headers.set(e,s);break;case"d":const o=n.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===o.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class eV{encodeKey(n){return cT(n)}encodeValue(n){return cT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const nV=/%(\d[a-f0-9])/gi,iV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function cT(t){return encodeURIComponent(t).replace(nV,(n,e)=>iV[e]??n)}function Qp(t){return`${t}`}class Va{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new eV,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tV(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{const o=s.indexOf("="),[a,l]=-1==o?[n.decodeKey(s),""]:[n.decodeKey(s.slice(0,o)),n.decodeValue(s.slice(o+1))],c=e.get(a)||[];c.push(l),e.set(a,c)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],s=Array.isArray(i)?i.map(Qp):[Qp(i)];this.map.set(e,s)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const s=n[i];Array.isArray(s)?s.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:s,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Va({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Qp(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const s=i.indexOf(Qp(n.value));-1!==s&&i.splice(s,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class rV{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function uT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function dT(t){return typeof Blob<"u"&&t instanceof Blob}function hT(t){return typeof FormData<"u"&&t instanceof FormData}class Zd{constructor(n,e,i,s){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function sV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==i?i:null,o=s):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new wo),this.context||(this.context=new rV),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":lR.set($,n.setHeaders[$]),c)),n.setParams&&(_=Object.keys(n.setParams).reduce((R,$)=>R.set($,n.setParams[$]),_)),new Zd(e,i,o,{params:_,headers:c,context:E,reportProgress:l,responseType:s,withCredentials:a})}}var Ni=(()=>((Ni=Ni||{})[Ni.Sent=0]="Sent",Ni[Ni.UploadProgress=1]="UploadProgress",Ni[Ni.ResponseHeader=2]="ResponseHeader",Ni[Ni.DownloadProgress=3]="DownloadProgress",Ni[Ni.Response=4]="Response",Ni[Ni.User=5]="User",Ni))();class oy{constructor(n,e=200,i="OK"){this.headers=n.headers||new wo,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class ay extends oy{constructor(n={}){super(n),this.type=Ni.ResponseHeader}clone(n={}){return new ay({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Jp extends oy{constructor(n={}){super(n),this.type=Ni.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Jp({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class fT extends oy{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function ly(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Cl=(()=>{class t{constructor(e){this.handler=e}request(e,i,s={}){let o;if(e instanceof Zd)o=e;else{let c,_;c=s.headers instanceof wo?s.headers:new wo(s.headers),s.params&&(_=s.params instanceof Va?s.params:new Va({fromObject:s.params})),o=new Zd(e,i,void 0!==s.body?s.body:null,{headers:c,context:s.context,params:_,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const a=ze(o).pipe(Ha(c=>this.handler.handle(c)));if(e instanceof Zd||"events"===s.observe)return a;const l=a.pipe(Si(c=>c instanceof Jp));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(Xe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(Xe(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Va).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,s={}){return this.request("PATCH",e,ly(s,i))}post(e,i,s={}){return this.request("POST",e,ly(s,i))}put(e,i,s={}){return this.request("PUT",e,ly(s,i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(aT))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class pT{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const mT=new Be("HTTP_INTERCEPTORS");let aV=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const lV=/^\)\]\}',?\n/;let _T=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce(i=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((X,he)=>s.setRequestHeader(X,he.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const X=e.detectContentTypeHeader();null!==X&&s.setRequestHeader("Content-Type",X)}if(e.responseType){const X=e.responseType.toLowerCase();s.responseType="json"!==X?X:"text"}const o=e.serializeBody();let a=null;const l=()=>{if(null!==a)return a;const X=s.statusText||"OK",he=new wo(s.getAllResponseHeaders()),Se=function cV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return a=new ay({headers:he,status:s.status,statusText:X,url:Se}),a},c=()=>{let{headers:X,status:he,statusText:Se,url:Pe}=l(),Re=null;204!==he&&(Re=typeof s.response>"u"?s.responseText:s.response),0===he&&(he=Re?200:0);let $e=he>=200&&he<300;if("json"===e.responseType&&"string"==typeof Re){const Fe=Re;Re=Re.replace(lV,"");try{Re=""!==Re?JSON.parse(Re):null}catch(it){Re=Fe,$e&&($e=!1,Re={error:it,text:Re})}}$e?(i.next(new Jp({body:Re,headers:X,status:he,statusText:Se,url:Pe||void 0})),i.complete()):i.error(new fT({error:Re,headers:X,status:he,statusText:Se,url:Pe||void 0}))},_=X=>{const{url:he}=l(),Se=new fT({error:X,status:s.status||0,statusText:s.statusText||"Unknown Error",url:he||void 0});i.error(Se)};let E=!1;const R=X=>{E||(i.next(l()),E=!0);let he={type:Ni.DownloadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),"text"===e.responseType&&!!s.responseText&&(he.partialText=s.responseText),i.next(he)},$=X=>{let he={type:Ni.UploadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),i.next(he)};return s.addEventListener("load",c),s.addEventListener("error",_),s.addEventListener("timeout",_),s.addEventListener("abort",_),e.reportProgress&&(s.addEventListener("progress",R),null!==o&&s.upload&&s.upload.addEventListener("progress",$)),s.send(o),i.next({type:Ni.Sent}),()=>{s.removeEventListener("error",_),s.removeEventListener("abort",_),s.removeEventListener("load",c),s.removeEventListener("timeout",_),e.reportProgress&&(s.removeEventListener("progress",R),null!==o&&s.upload&&s.upload.removeEventListener("progress",$)),s.readyState!==s.DONE&&s.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(KD))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const cy=new Be("XSRF_COOKIE_NAME"),uy=new Be("XSRF_HEADER_NAME");class gT{}let uV=(()=>{class t{constructor(e,i,s){this.doc=e,this.platform=i,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ND(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(dp),Ce(cy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),dy=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const s=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(gT),Ce(uy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),dV=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(mT,[]);this.chain=i.reduceRight((s,o)=>new pT(s,o),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(lT),Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),hV=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:dy,useClass:aV}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:cy,useValue:e.cookieName}:[],e.headerName?{provide:uy,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[dy,{provide:mT,useExisting:dy,multi:!0},{provide:gT,useClass:uV},{provide:cy,useValue:"XSRF-TOKEN"},{provide:uy,useValue:"X-XSRF-TOKEN"}]}),t})(),fV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Cl,{provide:aT,useClass:dV},_T,{provide:lT,useExisting:_T}],imports:[hV.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();class Wi extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ne;return this._value}next(n){super.next(this._value=n)}}const Xp=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),vT={};function hy(...t){let n=null,e=null;return ke(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&M(t[0])&&(t=t[0]),tt(t,e).lift(new pV(n))}class pV{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new mV(n,this.resultSelector))}}class mV extends Kn{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(vT),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.complete());function em(t){return t?function gV(t){return new ce(n=>t.schedule(()=>n.complete()))}(t):Ba}function Qd(t){return new ce(n=>{let e;try{e=t()}catch(s){return void n.error(s)}return(e?ge(e):em()).subscribe(n)})}function Dr(t,n){return new ce(n?e=>n.schedule(vV,0,{error:t,subscriber:e}):e=>e.error(t))}function vV({error:t,subscriber:n}){n.error(t)}function lr(t,n){return"function"==typeof n?e=>e.pipe(lr((i,s)=>ge(t(i,s)).pipe(Xe((o,a)=>n(i,o,s,a))))):e=>e.lift(new bV(t))}class bV{constructor(n){this.project=n}call(n,e){return e.subscribe(new yV(n,this.project))}}class yV extends Kn{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(s){return void this.destination.error(s)}this._innerSub(e,n,i)}_innerSub(n,e,i){const s=this.innerSubscription;s&&s.unsubscribe();const o=new Ae(this,void 0,void 0);this.destination.add(o),this.innerSubscription=jn(this,n,e,i,o)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(n,e,i,s,o){this.destination.next(e)}}const bT=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function An(t){return n=>0===t?em():n.lift(new MV(t))}class MV{constructor(n){if(this.total=n,this.total<0)throw new bT}call(n,e){return e.subscribe(new wV(n,this.total))}}class wV extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Yr(...t){const n=t[t.length-1];return ke(n)?(t.pop(),e=>Sl(t,e,n)):e=>Sl(t,e)}function Jd(t=null){return n=>n.lift(new CV(t))}class CV{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new SV(n,this.defaultValue))}}class SV extends A{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function yT(t=TV){return n=>n.lift(new DV(t))}class DV{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new kV(n,this.errorFactory))}}class kV extends A{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function TV(){return new Xp}function ja(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,An(1),e?Jd(n):yT(()=>new Xp))}function ui(t,n,e){return function(s){return s.lift(new xV(t,n,e))}}class xV{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new LV(n,this.nextOrObserver,this.error,this.complete))}}class LV extends A{constructor(n,e,i,s){super(n),this._tapNext=ve,this._tapError=ve,this._tapComplete=ve,this._tapError=i||ve,this._tapComplete=s||ve,I(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||ve,this._tapError=e.error||ve,this._tapComplete=e.complete||ve)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Qr(t){return function(e){const i=new EV(t),s=e.lift(i);return i.caught=s}}class EV{constructor(n){this.selector=n}call(n,e){return e.subscribe(new PV(n,this.selector,this.caught))}}class PV extends Kn{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new Ae(this,void 0,void 0);this.add(i),jn(this,e,void 0,void 0,i)}}}function tm(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new IV(t,n,e))}}class IV{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new OV(n,this.accumulator,this.seed,this.hasSeed))}}class OV extends A{constructor(n,e,i,s){super(n),this.accumulator=e,this._seed=i,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(s){this.destination.error(s)}this.seed=i,this.destination.next(i)}}function Xd(t){return function(e){return 0===t?em():e.lift(new AV(t))}}class AV{constructor(n){if(this.total=n,this.total<0)throw new bT}call(n,e){return e.subscribe(new RV(n,this.total))}}class RV extends A{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,s=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,s=this.ring;for(let o=0;o=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,Xd(1),e?Jd(n):yT(()=>new Xp))}function wT(t,n=!1){return e=>e.lift(new FV(t,n))}class FV{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new NV(n,this.predicate,this.inclusive))}}class NV extends A{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;Boolean(e)?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class HV{constructor(n){this.value=n}call(n,e){return e.subscribe(new VV(n,this.value))}}class VV extends A{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}}function nm(t){return n=>n.lift(new BV(t))}class BV{constructor(n){this.callback=n}call(n,e){return e.subscribe(new jV(n,this.callback))}}class jV extends A{constructor(n,e){super(n),this.add(new x(e))}}const $t="primary",eh=Symbol("RouteTitle");class UV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Bc(t){return new UV(t)}function zV(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[o]===s)}return t===n}function ST(t){return Array.prototype.concat.apply([],t)}function DT(t){return t.length>0?t[t.length-1]:null}function cr(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Ua(t){return Tv(t)?t:Ld(t)?ge(Promise.resolve(t)):ze(t)}const GV={exact:function xT(t,n,e){if(!kl(t.segments,n.segments)||!im(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!xT(t.children[i],n.children[i],e))return!1;return!0},subset:LT},kT={exact:function qV(t,n){return Co(t,n)},subset:function KV(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>CT(t[e],n[e]))},ignored:()=>!0};function TT(t,n,e){return GV[e.paths](t.root,n.root,e.matrixParams)&&kT[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function LT(t,n,e){return ET(t,n,n.segments,e)}function ET(t,n,e,i){if(t.segments.length>e.length){const s=t.segments.slice(0,e.length);return!(!kl(s,e)||n.hasChildren()||!im(s,e,i))}if(t.segments.length===e.length){if(!kl(t.segments,e)||!im(t.segments,e,i))return!1;for(const s in n.children)if(!t.children[s]||!LT(t.children[s],n.children[s],i))return!1;return!0}{const s=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(kl(t.segments,s)&&im(t.segments,s,i)&&t.children[$t])&&ET(t.children[$t],n,o,i)}}function im(t,n,e){return n.every((i,s)=>kT[e](t[s].parameters,i.parameters))}class Dl{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return JV.serialize(this)}}class qt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,cr(e,(i,s)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rm(this)}}class th{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Bc(this.parameters)),this._parameterMap}toString(){return AT(this)}}function kl(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return new py},providedIn:"root"}),t})();class py{parse(n){const e=new aB(n);return new Dl(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${nh(n.root,!0)}`,i=function tB(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(s=>`${sm(e)}=${sm(s)}`).join("&"):`${sm(e)}=${sm(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),s="string"==typeof n.fragment?`#${function XV(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${s}`}}const JV=new py;function rm(t){return t.segments.map(n=>AT(n)).join("/")}function nh(t,n){if(!t.hasChildren())return rm(t);if(n){const e=t.children[$t]?nh(t.children[$t],!1):"",i=[];return cr(t.children,(s,o)=>{o!==$t&&i.push(`${o}:${nh(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function QV(t,n){let e=[];return cr(t.children,(i,s)=>{s===$t&&(e=e.concat(n(i,s)))}),cr(t.children,(i,s)=>{s!==$t&&(e=e.concat(n(i,s)))}),e}(t,(i,s)=>s===$t?[nh(t.children[$t],!1)]:[`${s}:${nh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[$t]?`${rm(t)}/${e[0]}`:`${rm(t)}/(${e.join("//")})`}}function IT(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sm(t){return IT(t).replace(/%3B/gi,";")}function my(t){return IT(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function om(t){return decodeURIComponent(t)}function OT(t){return om(t.replace(/\+/g,"%20"))}function AT(t){return`${my(t.path)}${function eB(t){return Object.keys(t).map(n=>`;${my(n)}=${my(t[n])}`).join("")}(t.parameters)}`}const nB=/^[^\/()?;=#]+/;function am(t){const n=t.match(nB);return n?n[0]:""}const iB=/^[^=?&#]+/,sB=/^[^&#]+/;class aB{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qt([],{}):new qt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[$t]=new qt(n,e)),i}parseSegment(){const n=am(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Le(4009,!1);return this.capture(n),new th(om(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=am(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=am(this.remaining);s&&(i=s,this.capture(i))}n[om(e)]=om(i)}parseQueryParam(n){const e=function rB(t){const n=t.match(iB);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function oB(t){const n=t.match(sB);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const s=OT(e),o=OT(i);if(n.hasOwnProperty(s)){let a=n[s];Array.isArray(a)||(a=[a],n[s]=a),a.push(o)}else n[s]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=am(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Le(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=$t);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[$t]:new qt([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Le(4011,!1)}}function _y(t){return t.segments.length>0?new qt([],{[$t]:t}):t}function lm(t){const n={};for(const i of Object.keys(t.children)){const o=lm(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function lB(t){if(1===t.numberOfChildren&&t.children[$t]){const n=t.children[$t];return new qt(t.segments.concat(n.segments),n.children)}return t}(new qt(t.segments,n))}function Tl(t){return t instanceof Dl}function dB(t,n,e,i,s){if(0===e.length)return jc(n.root,n.root,n.root,i,s);const o=function NT(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new FT(!0,0,t);let n=0,e=!1;const i=t.reduce((s,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const l={};return cr(o.outlets,(c,_)=>{l[_]="string"==typeof c?c.split("/"):c}),[...s,{outlets:l}]}if(o.segmentPath)return[...s,o.segmentPath]}return"string"!=typeof o?[...s,o]:0===a?(o.split("/").forEach((l,c)=>{0==c&&"."===l||(0==c&&""===l?e=!0:".."===l?n++:""!=l&&s.push(l))}),s):[...s,o]},[]);return new FT(e,n,i)}(e);return o.toRoot()?jc(n.root,n.root,new qt([],{}),i,s):function a(c){const _=function fB(t,n,e,i){if(t.isAbsolute)return new Uc(n.root,!0,0);if(-1===i)return new Uc(e,e===n.root,0);return function YT(t,n,e){let i=t,s=n,o=e;for(;o>s;){if(o-=s,i=i.parent,!i)throw new Le(4005,!1);s=i.segments.length}return new Uc(i,!1,s-o)}(e,i+(ih(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,c),E=_.processChildren?sh(_.segmentGroup,_.index,o.commands):vy(_.segmentGroup,_.index,o.commands);return jc(n.root,_.segmentGroup,E,i,s)}(t.snapshot?._lastPathIndex)}function ih(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function rh(t){return"object"==typeof t&&null!=t&&t.outlets}function jc(t,n,e,i,s){let a,o={};i&&cr(i,(c,_)=>{o[_]=Array.isArray(c)?c.map(E=>`${E}`):`${c}`}),a=t===n?e:RT(t,n,e);const l=_y(lm(a));return new Dl(l,o,s)}function RT(t,n,e){const i={};return cr(t.children,(s,o)=>{i[o]=s===n?e:RT(s,n,e)}),new qt(t.segments,i)}class FT{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&ih(i[0]))throw new Le(4003,!1);const s=i.find(rh);if(s&&s!==DT(i))throw new Le(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uc{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function vy(t,n,e){if(t||(t=new qt([],{})),0===t.segments.length&&t.hasChildren())return sh(t,n,e);const i=function mB(t,n,e){let i=0,s=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return o;const a=t.segments[s],l=e[i];if(rh(l))break;const c=`${l}`,_=i0&&void 0===c)break;if(c&&_&&"object"==typeof _&&void 0===_.outlets){if(!VT(c,_,a))return o;i+=2}else{if(!VT(c,{},a))return o;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,n,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(s[a]=vy(t.children[a],n,o))}),cr(t.children,(o,a)=>{void 0===i[a]&&(s[a]=o)}),new qt(t.segments,s)}}function by(t,n,e){const i=t.segments.slice(0,n);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=by(new qt([],{}),0,e))}),n}function HT(t){const n={};return cr(t,(e,i)=>n[i]=`${e}`),n}function VT(t,n,e){return t==e.path&&Co(n,e.parameters)}class Zo{constructor(n,e){this.id=n,this.url=e}}class yy extends Zo{constructor(n,e,i="imperative",s=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class za extends Zo{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cm extends Zo{constructor(n,e,i,s){super(n,e),this.reason=i,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class BT extends Zo{constructor(n,e,i,s){super(n,e),this.error=i,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bB extends Zo{constructor(n,e,i,s,o){super(n,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class MB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wB{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class CB{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class SB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class DB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kB{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jT{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class UT{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=My(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=My(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=wy(n,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==n)}pathFromRoot(n){return wy(n,this._root).map(e=>e.value)}}function My(t,n){if(t===n.value)return n;for(const e of n.children){const i=My(t,e);if(i)return i}return null}function wy(t,n){if(t===n.value)return[n];for(const e of n.children){const i=wy(t,e);if(i.length)return i.unshift(n),i}return[]}class Qo{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function zc(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class zT extends UT{constructor(n,e){super(n),this.snapshot=e,Cy(this,n)}toString(){return this.snapshot.toString()}}function WT(t,n){const e=function LB(t,n){const a=new um([],{},{},"",{},$t,n,null,t.root,-1,{});return new GT("",new Qo(a,[]))}(t,n),i=new Wi([new th("",{})]),s=new Wi({}),o=new Wi({}),a=new Wi({}),l=new Wi(""),c=new Qi(i,s,a,l,o,$t,n,e.root);return c.snapshot=e.root,new zT(new Qo(c,[]),e)}class Qi{constructor(n,e,i,s,o,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.pipe(Xe(_=>_[eh]))??ze(void 0),this._futureSnapshot=c}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(Xe(n=>Bc(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Xe(n=>Bc(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $T(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const s=e[i],o=e[i-1];if(s.routeConfig&&""===s.routeConfig.path)i--;else{if(o.component)break;i--}}return function EB(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class um{constructor(n,e,i,s,o,a,l,c,_,E,R,$){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.[eh],this.routeConfig=c,this._urlSegment=_,this._lastPathIndex=E,this._correctedLastPathIndex=$??E,this._resolve=R}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=Bc(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class GT extends UT{constructor(n,e){super(e),this.url=n,Cy(this,e)}toString(){return qT(this._root)}}function Cy(t,n){n.value._routerState=t,n.children.forEach(e=>Cy(t,e))}function qT(t){const n=t.children.length>0?` { ${t.children.map(qT).join(", ")} } `:"";return`${t.value}${n}`}function Sy(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Co(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Co(n.params,e.params)||t.params.next(e.params),function WV(t,n){if(t.length!==n.length)return!1;for(let e=0;eCo(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Dy(t.parent,n.parent))}function oh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const s=function IB(t,n,e){return n.children.map(i=>{for(const s of e.children)if(t.shouldReuseRoute(i.value,s.value.snapshot))return oh(t,i,s);return oh(t,i)})}(t,n,e);return new Qo(i,s)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>oh(t,l)),a}}const i=function OB(t){return new Qi(new Wi(t.url),new Wi(t.params),new Wi(t.queryParams),new Wi(t.fragment),new Wi(t.data),t.outlet,t.component,t)}(n.value),s=n.children.map(o=>oh(t,o));return new Qo(i,s)}}const ky="ngNavigationCancelingError";function KT(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Tl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,s=ZT(!1,0,n);return s.url=e,s.navigationBehaviorOptions=i,s}function ZT(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[ky]=!0,i.cancellationCode=n,e&&(i.url=e),i}function QT(t){return JT(t)&&Tl(t.url)}function JT(t){return t&&t[ky]}class AB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ah,this.attachRef=null}}let ah=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const s=this.getOrCreateContext(e);s.outlet=i,this.contexts.set(e,s)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new AB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const dm=!1;let hm=(()=>{class t{constructor(e,i,s,o,a){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new ft,this.deactivateEvents=new ft,this.attachEvents=new ft,this.detachEvents=new ft,this.name=s||$t,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Le(4012,dm);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Le(4012,dm);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Le(4012,dm);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Le(4013,dm);this._activatedRoute=e;const s=this.location,a=e._futureSnapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new RB(e,l,s.injector);if(i&&function FB(t){return!!t.resolveComponentFactory}(i)){const _=i.resolveComponentFactory(a);this.activated=s.createComponent(_,s.length,c)}else this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(N(ah),N(ar),Ht("name"),N(Xn),N(Ta))},t.\u0275dir=Je({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class RB{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Qi?this.route:n===ah?this.childContexts:this.parent.get(n,e)}}let Ty=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],standalone:!0,features:[lS],decls:1,vars:0,template:function(e,i){1&e&&De(0,"router-outlet")},dependencies:[hm],encapsulation:2}),t})();function XT(t,n){return t.providers&&!t._injector&&(t._injector=sp(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Ly(t){const n=t.children&&t.children.map(Ly),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==$t&&(e.component=Ty),e}function As(t){return t.outlet||$t}function ex(t,n){const e=t.filter(i=>As(i)===n);return e.push(...t.filter(i=>As(i)!==n)),e}function lh(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class BB{constructor(n,e,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=s}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Sy(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,s[a],i),delete s[a]}),cr(s,(o,a)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(s===o)if(s.component){const a=i.getContext(s.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);if(i&&i.outlet){const a=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{this.activateRoutes(o,s[o.value.outlet],i),this.forwardEvent(new TB(o.value.snapshot))}),n.children.length&&this.forwardEvent(new DB(n.value.snapshot))}activateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(Sy(s),s===o)if(s.component){const a=i.getOrCreateContext(s.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(s.component){const a=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const l=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),Sy(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=lh(s.snapshot),c=l?.get(xa)??null;a.attachRef=null,a.route=s,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(s,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class tx{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class fm{constructor(n,e){this.component=n,this.route=e}}function jB(t,n,e){const i=t._root;return ch(i,n?n._root:null,e,[i.value])}function Wc(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function k_(t){return null!==nl(t)}(t)?n.get(t):t:i}function ch(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=zc(n);return t.children.forEach(a=>{(function zB(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function WB(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!kl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!kl(t.url,n.url)||!Co(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dy(t,n)||!Co(t.queryParams,n.queryParams);default:return!Dy(t,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new tx(i)):(o.data=a.data,o._resolvedData=a._resolvedData),ch(t,n,o.component?l?l.children:null:e,i,s),c&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new fm(l.outlet.component,a))}else a&&uh(n,l,s),s.canActivateChecks.push(new tx(i)),ch(t,null,o.component?l?l.children:null:e,i,s)})(a,o[a.value.outlet],e,i.concat([a.value]),s),delete o[a.value.outlet]}),cr(o,(a,l)=>uh(a,e.getContext(l),s)),s}function uh(t,n,e){const i=zc(t),s=t.value;cr(i,(o,a)=>{uh(o,s.component?n?n.children.getContext(a):null:n,e)}),e.canDeactivateChecks.push(new fm(s.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,s))}function dh(t){return"function"==typeof t}function Ey(t){return t instanceof Xp||"EmptyError"===t?.name}const pm=Symbol("INITIAL_VALUE");function $c(){return lr(t=>hy(t.map(n=>n.pipe(An(1),Yr(pm)))).pipe(Xe(n=>{for(const e of n)if(!0!==e){if(e===pm)return pm;if(!1===e||e instanceof Dl)return e}return!0}),Si(n=>n!==pm),An(1)))}function nx(t){return Z(ui(n=>{if(Tl(n))throw KT(0,n)}),Xe(n=>!0===n))}const Py={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ix(t,n,e,i,s){const o=Iy(t,n,e);return o.matched?function lj(t,n,e,i){const s=n.canMatch;return s&&0!==s.length?ze(s.map(a=>{const l=Wc(a,t);return Ua(function QB(t){return t&&dh(t.canMatch)}(l)?l.canMatch(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),nx()):ze(!0)}(i=XT(n,i),n,e).pipe(Xe(a=>!0===a?o:{...Py})):ze(o)}function Iy(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Py}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(n.matcher||zV)(e,t,n);if(!s)return{...Py};const o={};cr(s.posParams,(l,c)=>{o[c]=l.path});const a=s.consumed.length>0?{...o,...s.consumed[s.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:s.posParams??{}}}function mm(t,n,e,i,s="corrected"){if(e.length>0&&function dj(t,n,e){return e.some(i=>_m(t,n,i)&&As(i)!==$t)}(t,e,i)){const a=new qt(n,function uj(t,n,e,i){const s={};s[$t]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&As(o)!==$t){const a=new qt([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,s[As(o)]=a}return s}(t,n,i,new qt(e,t.children)));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function hj(t,n,e){return e.some(i=>_m(t,n,i))}(t,e,i)){const a=new qt(t.segments,function cj(t,n,e,i,s,o){const a={};for(const l of i)if(_m(t,e,l)&&!s[As(l)]){const c=new qt([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===o?t.segments.length:n.length,a[As(l)]=c}return{...s,...a}}(t,n,e,i,t.children,s));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:e}}const o=new qt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function _m(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function rx(t,n,e,i){return!!(As(t)===i||i!==$t&&_m(n,e,t))&&("**"===t.path||Iy(n,t,e).matched)}function sx(t,n,e){return 0===n.length&&!t.children[e]}const gm=!1;class vm{constructor(n){this.segmentGroup=n||null}}class ox{constructor(n){this.urlTree=n}}function hh(t){return Dr(new vm(t))}function ax(t){return Dr(new ox(t))}class _j{constructor(n,e,i,s,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=s,this.config=o,this.allowRedirects=!0}apply(){const n=mm(this.urlTree.root,[],[],this.config).segmentGroup,e=new qt(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,$t).pipe(Xe(o=>this.createUrlTree(lm(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Qr(o=>{if(o instanceof ox)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof vm?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,$t).pipe(Xe(s=>this.createUrlTree(lm(s),n.queryParams,n.fragment))).pipe(Qr(s=>{throw s instanceof vm?this.noMatchError(s):s}))}noMatchError(n){return new Le(4002,gm)}createUrlTree(n,e,i){const s=_y(n);return new Dl(s,e,i)}expandSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Xe(o=>new qt([],o))):this.expandSegment(n,i,e,i.segments,s,!0)}expandChildren(n,e,i){const s=[];for(const o of Object.keys(i.children))"primary"===o?s.unshift(o):s.push(o);return ge(s).pipe(Ha(o=>{const a=i.children[o],l=ex(e,o);return this.expandSegmentGroup(n,l,a,o).pipe(Xe(c=>({segment:c,outlet:o})))}),tm((o,a)=>(o[a.outlet]=a.segment,o),{}),MT())}expandSegment(n,e,i,s,o,a){return ge(i).pipe(Ha(l=>this.expandSegmentAgainstRoute(n,e,i,l,s,o,a).pipe(Qr(_=>{if(_ instanceof vm)return ze(null);throw _}))),ja(l=>!!l),Qr((l,c)=>{if(Ey(l))return sx(e,s,o)?ze(new qt([],{})):hh(e);throw l}))}expandSegmentAgainstRoute(n,e,i,s,o,a,l){return rx(s,e,o,a)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(n,e,s,o,a):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a):hh(e):hh(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,s,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,s){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ax(o):this.lineralizeSegments(i,o).pipe(we(a=>{const l=new qt(a,{});return this.expandSegment(n,l,e,a,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){const{matched:l,consumedSegments:c,remainingSegments:_,positionalParamSegments:E}=Iy(e,s,o);if(!l)return hh(e);const R=this.applyRedirectCommands(c,s.redirectTo,E);return s.redirectTo.startsWith("/")?ax(R):this.lineralizeSegments(s,R).pipe(we($=>this.expandSegment(n,e,i,$.concat(_),a,!1)))}matchSegmentAgainstRoute(n,e,i,s,o){return"**"===i.path?(n=XT(i,n),i.loadChildren?(i._loadedRoutes?ze({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(Xe(l=>(i._loadedRoutes=l.routes,i._loadedInjector=l.injector,new qt(s,{})))):ze(new qt(s,{}))):ix(e,i,s,n).pipe(lr(({matched:a,consumedSegments:l,remainingSegments:c})=>a?this.getChildConfig(n=i._injector??n,i,s).pipe(we(E=>{const R=E.injector??n,$=E.routes,{segmentGroup:X,slicedSegments:he}=mm(e,l,c,$),Se=new qt(X.segments,X.children);if(0===he.length&&Se.hasChildren())return this.expandChildren(R,$,Se).pipe(Xe(Fe=>new qt(l,Fe)));if(0===$.length&&0===he.length)return ze(new qt(l,{}));const Pe=As(i)===o;return this.expandSegment(R,Se,$,he,Pe?$t:o,!0).pipe(Xe($e=>new qt(l.concat($e.segments),$e.children)))})):hh(e)))}getChildConfig(n,e,i){return e.children?ze({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?ze({routes:e._loadedRoutes,injector:e._loadedInjector}):function aj(t,n,e,i){const s=n.canLoad;return void 0===s||0===s.length?ze(!0):ze(s.map(a=>{const l=Wc(a,t);return Ua(function GB(t){return t&&dh(t.canLoad)}(l)?l.canLoad(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),nx())}(n,e,i).pipe(we(s=>s?this.configLoader.loadChildren(n,e).pipe(ui(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function pj(t){return Dr(ZT(gm,3))}())):ze({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return ze(i);if(s.numberOfChildren>1||!s.children[$t])return Dr(new Le(4e3,gm));s=s.children[$t]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,s){const o=this.createSegmentGroup(n,e.root,i,s);return new Dl(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return cr(n,(s,o)=>{if("string"==typeof s&&s.startsWith(":")){const l=s.substring(1);i[o]=e[l]}else i[o]=s}),i}createSegmentGroup(n,e,i,s){const o=this.createSegments(n,e.segments,i,s);let a={};return cr(e.children,(l,c)=>{a[c]=this.createSegmentGroup(n,l,i,s)}),new qt(o,a)}createSegments(n,e,i,s){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,s):this.findOrReturn(o,i))}findPosParam(n,e,i){const s=i[e.path.substring(1)];if(!s)throw new Le(4001,gm);return s}findOrReturn(n,e){let i=0;for(const s of e){if(s.path===n.path)return e.splice(i),s;i++}return n}}class vj{}class Mj{constructor(n,e,i,s,o,a,l,c){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=s,this.url=o,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=l,this.urlSerializer=c}recognize(){const n=mm(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,$t).pipe(Xe(e=>{if(null===e)return null;const i=new um([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$t,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new Qo(i,e),o=new GT(this.url,s);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=$T(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,s)}processChildren(n,e,i){return ge(Object.keys(i.children)).pipe(Ha(s=>{const o=i.children[s],a=ex(e,s);return this.processSegmentGroup(n,a,o,s)}),tm((s,o)=>s&&o?(s.push(...o),s):null),wT(s=>null!==s),Jd(null),MT(),Xe(s=>{if(null===s)return null;const o=lx(s);return function wj(t){t.sort((n,e)=>n.value.outlet===$t?-1:e.value.outlet===$t?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,s,o){return ge(e).pipe(Ha(a=>this.processSegmentAgainstRoute(a._injector??n,a,i,s,o)),ja(a=>!!a),Qr(a=>{if(Ey(a))return sx(i,s,o)?ze([]):ze(null);throw a}))}processSegmentAgainstRoute(n,e,i,s,o){if(e.redirectTo||!rx(e,i,s,o))return ze(null);let a;if("**"===e.path){const l=s.length>0?DT(s).parameters:{},c=ux(i)+s.length;a=ze({snapshot:new um(s,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,hx(e),As(e),e.component??e._loadedComponent??null,e,cx(i),c,fx(e),c),consumedSegments:[],remainingSegments:[]})}else a=ix(i,e,s,n).pipe(Xe(({matched:l,consumedSegments:c,remainingSegments:_,parameters:E})=>{if(!l)return null;const R=ux(i)+c.length;return{snapshot:new um(c,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,hx(e),As(e),e.component??e._loadedComponent??null,e,cx(i),R,fx(e),R),consumedSegments:c,remainingSegments:_}}));return a.pipe(lr(l=>{if(null===l)return ze(null);const{snapshot:c,consumedSegments:_,remainingSegments:E}=l;n=e._injector??n;const R=e._loadedInjector??n,$=function Cj(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:X,slicedSegments:he}=mm(i,_,E,$.filter(Pe=>void 0===Pe.redirectTo),this.relativeLinkResolution);if(0===he.length&&X.hasChildren())return this.processChildren(R,$,X).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]));if(0===$.length&&0===he.length)return ze([new Qo(c,[])]);const Se=As(e)===o;return this.processSegment(R,$,X,he,Se?$t:o).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]))}))}}function Sj(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function lx(t){const n=[],e=new Set;for(const i of t){if(!Sj(i)){n.push(i);continue}const s=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):n.push(i)}for(const i of e){const s=lx(i.children);n.push(new Qo(i.value,s))}return n.filter(i=>!e.has(i))}function cx(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function ux(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function hx(t){return t.data||{}}function fx(t){return t.resolve||{}}function px(t){return"string"==typeof t.title||null===t.title}function Oy(t){return lr(n=>{const e=t(n);return e?ge(e).pipe(Xe(()=>n)):ze(n)})}let mx=(()=>{class t{buildTitle(e){let i,s=e.root;for(;void 0!==s;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===$t);return i}getResolvedTitleForRoute(e){return e.data[eh]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(_x)},providedIn:"root"}),t})(),_x=(()=>{class t extends mx{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(mk))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class gx{}class Oj extends class Ij{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const ym=new Be("",{providedIn:"root",factory:()=>({})}),Ay=new Be("ROUTES");let Ry=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ze(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ua(e.loadComponent()).pipe(ui(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),nm(()=>{this.componentLoaders.delete(e)})),s=new Dn(i,()=>new J).pipe(wn());return this.componentLoaders.set(e,s),s}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ze({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(Xe(l=>{this.onLoadEndListener&&this.onLoadEndListener(i);let c,_,E=!1;Array.isArray(l)?_=l:(c=l.create(e).injector,_=ST(c.get(Ay,[],_t.Self|_t.Optional)));return{routes:_.map(Ly),injector:c}}),nm(()=>{this.childrenLoaders.delete(i)})),a=new Dn(o,()=>new J).pipe(wn());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Ua(e()).pipe(we(i=>i instanceof oS||Array.isArray(i)?ze(i):ge(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn),Ce(Zv))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Rj{}class Fj{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function Nj(t){throw t}function Yj(t,n,e){return n.parse("/")}const Hj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function bx(){const t=Yn(PT),n=Yn(ah),e=Yn(Vd),i=Yn(Jn),s=Yn(Zv),o=Yn(Ay,{optional:!0})??[],a=Yn(ym,{optional:!0})??{},l=Yn(_x),c=Yn(mx,{optional:!0}),_=Yn(Rj,{optional:!0}),E=Yn(gx,{optional:!0}),R=new Ut(null,t,n,e,i,s,ST(o));return _&&(R.urlHandlingStrategy=_),E&&(R.routeReuseStrategy=E),R.titleStrategy=c??l,function Bj(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(a,R),R}let Ut=(()=>{class t{constructor(e,i,s,o,a,l,c){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=s,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new J,this.errorHandler=Nj,this.malformedUriErrorHandler=Yj,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ze(void 0),this.urlHandlingStrategy=new Fj,this.routeReuseStrategy=new Oj,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=a.get(Ry),this.configLoader.onLoadEndListener=$=>this.triggerEvent(new CB($)),this.configLoader.onLoadStartListener=$=>this.triggerEvent(new wB($)),this.ngModule=a.get(_l),this.console=a.get(Q3);const R=a.get(mt);this.isNgZoneEnabled=R instanceof mt&&mt.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=function $V(){return new Dl(new qt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=WT(this.currentUrlTree,this.rootComponentType),this.transitions=new Wi({id:0,targetPageId: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()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(Si(s=>0!==s.id),Xe(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),lr(s=>{let o=!1,a=!1;return ze(s).pipe(ui(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),lr(l=>{const c=this.browserUrlTree.toString(),_=!this.navigated||l.extractedUrl.toString()!==c||c!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_)&&this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return yx(l.source)&&(this.browserUrlTree=l.extractedUrl),ze(l).pipe(lr(R=>{const $=this.transitions.getValue();return i.next(new yy(R.id,this.serializeUrl(R.extractedUrl),R.source,R.restoredState)),$!==this.transitions.getValue()?Ba:Promise.resolve(R)}),function gj(t,n,e,i){return lr(s=>function mj(t,n,e,i,s){return new _j(t,n,e,i,s).apply()}(t,n,e,s.extractedUrl,i).pipe(Xe(o=>({...s,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ui(R=>{this.currentNavigation={...this.currentNavigation,finalUrl:R.urlAfterRedirects},s.urlAfterRedirects=R.urlAfterRedirects}),function kj(t,n,e,i,s,o){return we(a=>function yj(t,n,e,i,s,o,a="emptyOnly",l="legacy"){return new Mj(t,n,e,i,s,a,l,o).recognize().pipe(lr(c=>null===c?function bj(t){return new ce(n=>n.error(t))}(new vj):ze(c)))}(t,n,e,a.urlAfterRedirects,i.serialize(a.urlAfterRedirects),i,s,o).pipe(Xe(l=>({...a,targetSnapshot:l}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ui(R=>{if(s.targetSnapshot=R.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!R.extras.skipLocationChange){const X=this.urlHandlingStrategy.merge(R.urlAfterRedirects,R.rawUrl);this.setBrowserUrl(X,R)}this.browserUrlTree=R.urlAfterRedirects}const $=new gB(R.id,this.serializeUrl(R.extractedUrl),this.serializeUrl(R.urlAfterRedirects),R.targetSnapshot);i.next($)}));if(_&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:X,source:he,restoredState:Se,extras:Pe}=l,Re=new yy($,this.serializeUrl(X),he,Se);i.next(Re);const $e=WT(X,this.rootComponentType).snapshot;return ze(s={...l,targetSnapshot:$e,urlAfterRedirects:X,extras:{...Pe,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=l.rawUrl,l.resolve(null),Ba}),ui(l=>{const c=new vB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Xe(l=>s={...l,guards:jB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),function XB(t,n){return we(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?ze({...e,guardsResult:!0}):function ej(t,n,e,i){return ge(t).pipe(we(s=>function oj(t,n,e,i,s){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ze(o.map(l=>{const c=lh(n)??s,_=Wc(l,c);return Ua(function ZB(t){return t&&dh(t.canDeactivate)}(_)?_.canDeactivate(t,n,e,i):c.runInContext(()=>_(t,n,e,i))).pipe(ja())})).pipe($c()):ze(!0)}(s.component,s.route,e,n,i)),ja(s=>!0!==s,!0))}(a,i,s,t).pipe(we(l=>l&&function $B(t){return"boolean"==typeof t}(l)?function tj(t,n,e,i){return ge(n).pipe(Ha(s=>Sl(function ij(t,n){return null!==t&&n&&n(new SB(t)),ze(!0)}(s.route.parent,i),function nj(t,n){return null!==t&&n&&n(new kB(t)),ze(!0)}(s.route,i),function sj(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function UB(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Qd(()=>ze(a.guards.map(c=>{const _=lh(a.node)??e,E=Wc(c,_);return Ua(function KB(t){return t&&dh(t.canActivateChild)}(E)?E.canActivateChild(i,t):_.runInContext(()=>E(i,t))).pipe(ja())})).pipe($c())));return ze(o).pipe($c())}(t,s.path,e),function rj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ze(!0);const s=i.map(o=>Qd(()=>{const a=lh(n)??e,l=Wc(o,a);return Ua(function qB(t){return t&&dh(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(ja())}));return ze(s).pipe($c())}(t,s.route,e))),ja(s=>!0!==s,!0))}(i,o,t,n):ze(l)),Xe(l=>({...e,guardsResult:l})))})}(this.ngModule.injector,l=>this.triggerEvent(l)),ui(l=>{if(s.guardsResult=l.guardsResult,Tl(l.guardsResult))throw KT(0,l.guardsResult);const c=new bB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.triggerEvent(c)}),Si(l=>!!l.guardsResult||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",3),!1)),Oy(l=>{if(l.guards.canActivateChecks.length)return ze(l).pipe(ui(c=>{const _=new yB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}),lr(c=>{let _=!1;return ze(c).pipe(function Tj(t,n){return we(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return ze(e);let o=0;return ge(s).pipe(Ha(a=>function xj(t,n,e,i){const s=t.routeConfig,o=t._resolve;return void 0!==s?.title&&!px(s)&&(o[eh]=s.title),function Lj(t,n,e,i){const s=function Ej(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===s.length)return ze({});const o={};return ge(s).pipe(we(a=>function Pj(t,n,e,i){const s=lh(n)??i,o=Wc(t,s);return Ua(o.resolve?o.resolve(n,e):s.runInContext(()=>o(n,e)))}(t[a],n,e,i).pipe(ja(),ui(l=>{o[a]=l}))),Xd(1),function YV(t){return n=>n.lift(new HV(t))}(o),Qr(a=>Ey(a)?Ba:Dr(a)))}(o,t,n,i).pipe(Xe(a=>(t._resolvedData=a,t.data=$T(t,e).resolve,s&&px(s)&&(t.data[eh]=s.title),null)))}(a.route,i,t,n)),ui(()=>o++),Xd(1),we(a=>o===s.length?ze(e):Ba))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ui({next:()=>_=!0,complete:()=>{_||(this.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ui(c=>{const _=new MB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}))}),Oy(l=>{const c=_=>{const E=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&E.push(this.configLoader.loadComponent(_.routeConfig).pipe(ui(R=>{_.component=R}),Xe(()=>{})));for(const R of _.children)E.push(...c(R));return E};return hy(c(l.targetSnapshot.root)).pipe(Jd(),An(1))}),Oy(()=>this.afterPreactivation()),Xe(l=>{const c=function PB(t,n,e){const i=oh(t,n._root,e?e._root:void 0);return new zT(i,n)}(this.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return s={...l,targetRouterState:c}}),ui(l=>{this.currentUrlTree=l.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(l.urlAfterRedirects,l.rawUrl),this.routerState=l.targetRouterState,"deferred"===this.urlUpdateStrategy&&(l.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,l),this.browserUrlTree=l.urlAfterRedirects)}),((t,n,e)=>Xe(i=>(new BB(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,l=>this.triggerEvent(l)),ui({next(){o=!0},complete(){o=!0}}),nm(()=>{o||a||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Qr(l=>{if(a=!0,JT(l)){QT(l)||(this.navigated=!0,this.restoreHistory(s,!0));const c=new cm(s.id,this.serializeUrl(s.extractedUrl),l.message,l.cancellationCode);if(i.next(c),QT(l)){const _=this.urlHandlingStrategy.merge(l.url,this.rawUrlTree),E={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yx(s.source)};this.scheduleNavigation(_,"imperative",null,E,{resolve:s.resolve,reject:s.reject,promise:s.promise})}else s.resolve(!1)}else{this.restoreHistory(s,!0);const c=new BT(s.id,this.serializeUrl(s.extractedUrl),l,s.targetSnapshot??void 0);i.next(c);try{s.resolve(this.errorHandler(l))}catch(_){s.reject(_)}}return Ba}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const s={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(Ly),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,_=s||this.routerState.root,E=c?this.currentUrlTree.fragment:a;let R=null;switch(l){case"merge":R={...this.currentUrlTree.queryParams,...o};break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=o||null}return null!==R&&(R=this.removeEmptyProps(R)),dB(_,this.currentUrlTree,e,R,E??null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=Tl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function jj(t){for(let n=0;n{const o=e[s];return null!=o&&(i[s]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new za(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let l,c,_;a?(l=a.resolve,c=a.reject,_=a.promise):_=new Promise(($,X)=>{l=$,c=X});const E=++this.navigationId;let R;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),R=s&&s.\u0275routerPageId?s.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):R=0,this.setTransition({id:E,targetPageId:R,source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:l,reject:c,promise:_,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_.catch($=>Promise.reject($))}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl?this.location.replaceState(s,"",o):this.location.go(s,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===s?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,s){const o=new cm(e.id,this.serializeUrl(e.extractedUrl),i,s);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:function(){return bx()},providedIn:"root"}),t})();function yx(t){return"imperative"!==t}let Wa=(()=>{class t{constructor(e,i,s){this.router=e,this.route=i,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new J,this.subscription=e.events.subscribe(o=>{o instanceof za&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=Wo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Wo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Wo(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,s,o,a){return!!(0!==e||i||s||o||a||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(N(Ut),N(Qi),N(bl))},t.\u0275dir=Je({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Wt("target",i.target)("href",i.href,Ho)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Ii]}),t})();class Mx{}let Wj=(()=>{class t{constructor(e,i,s,o,a){this.router=e,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Si(e=>e instanceof za),Ha(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const o of i){o.providers&&!o._injector&&(o._injector=sp(o.providers,e,`Route: ${o.path}`));const a=o._injector??e,l=o._loadedInjector??a;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?s.push(this.preloadConfig(a,o)):(o.children||o._loadedRoutes)&&s.push(this.processRoutes(l,o.children??o._loadedRoutes))}return ge(s).pipe(dt())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let s;s=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ze(null);const o=s.pipe(we(a=>null===a?ze(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?ge([o,this.loader.loadComponent(i)]).pipe(dt()):o})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Zv),Ce(Ta),Ce(Mx),Ce(Ry))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ny=new Be("");let wx=(()=>{class t{constructor(e,i,s={}){this.router=e,this.viewportScroller=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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(e=>{e instanceof yy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof za&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof jT&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new jT(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function Gc(t,n){return{\u0275kind:t,\u0275providers:n}}function Yy(t){return[{provide:Ay,multi:!0,useValue:t}]}function Sx(){const t=Yn(Jn);return n=>{const e=t.get(Yc);if(n!==e.components[0])return;const i=t.get(Ut),s=t.get(Dx);1===t.get(Hy)&&i.initialNavigation(),t.get(kx,null,_t.Optional)?.setUpPreloading(),t.get(Ny,null,_t.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),s.next(),s.complete()}}const Dx=new Be("",{factory:()=>new J}),Hy=new Be("",{providedIn:"root",factory:()=>1});const kx=new Be("");function Kj(t){return Gc(0,[{provide:kx,useExisting:Wj},{provide:Mx,useExisting:t}])}const Tx=new Be("ROUTER_FORROOT_GUARD"),Zj=[Vd,{provide:PT,useClass:py},{provide:Ut,useFactory:bx},ah,{provide:Qi,useFactory:function Cx(t){return t.routerState.root},deps:[Ut]},Ry];function Qj(){return new tD("Router",Ut)}let xx=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Zj,[],Yy(e),{provide:Tx,useFactory:t8,deps:[[Ut,new ka,new hc]]},{provide:ym,useValue:i||{}},i?.useHash?{provide:bl,useClass:HN}:{provide:bl,useClass:kD},{provide:Ny,useFactory:()=>{const t=Yn(Ut),n=Yn(X4),e=Yn(ym);return e.scrollOffset&&n.setOffset(e.scrollOffset),new wx(t,n,e)}},i?.preloadingStrategy?Kj(i.preloadingStrategy).\u0275providers:[],{provide:tD,multi:!0,useFactory:Qj},i?.initialNavigation?n8(i):[],[{provide:Lx,useFactory:Sx},{provide:qS,multi:!0,useExisting:Lx}]]}}static forChild(e){return{ngModule:t,providers:[Yy(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Tx,8))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ty]}),t})();function t8(t){return"guarded"}function n8(t){return["disabled"===t.initialNavigation?Gc(3,[{provide:cp,multi:!0,useFactory:()=>{const n=Yn(Ut);return()=>{n.setUpLocationChangeListener()}}},{provide:Hy,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Gc(2,[{provide:Hy,useValue:0},{provide:cp,multi:!0,deps:[Jn],useFactory:n=>{const e=n.get(NN,Promise.resolve(null));let i=!1;return()=>e.then(()=>new Promise(o=>{const a=n.get(Ut),l=n.get(Dx);(function s(o){n.get(Ut).events.pipe(Si(l=>l instanceof za||l instanceof cm||l instanceof BT),Xe(l=>l instanceof za||l instanceof cm&&(0===l.code||1===l.code)&&null),Si(l=>null!==l),An(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),a.afterPreactivation=()=>(o(!0),i||l.closed?ze(void 0):l),a.initialNavigation()}))}}]).\u0275providers:[]]}const Lx=new Be("");class r8 extends x{constructor(n,e){super()}schedule(n,e=0){return this}}class Sm extends r8{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(n,e,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let s,i=!1;try{this.work(n)}catch(o){i=!0,s=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),s}_unsubscribe(){const n=this.id,e=this.scheduler,i=e.actions,s=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&i.splice(s,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}}let Ex=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,s){return new this.SchedulerAction(this,e).schedule(s,i)}}return t.now=()=>Date.now(),t})();class Js extends Ex{constructor(n,e=Ex.now){super(n,()=>Js.delegate&&Js.delegate!==this?Js.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return Js.delegate&&Js.delegate!==this?Js.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const qc=new Js(Sm);class Jr{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return ze(this.value);case"E":return Dr(this.error);case"C":return em()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new Jr("N",n):Jr.undefinedValueNotification}static createError(n){return new Jr("E",void 0,n)}static createComplete(){return Jr.completeNotification}}function Ji(t,n=qc){const i=function s8(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return s=>s.lift(new o8(i,n))}Jr.completeNotification=new Jr("C"),Jr.undefinedValueNotification=new Jr("N",void 0);class o8{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new Vy(n,this.delay,this.scheduler))}}class Vy extends A{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,s=n.scheduler,o=n.destination;for(;i.length>0&&i[0].time-s.now()<=0;)i.shift().notification.observe(o);if(i.length>0){const a=Math.max(0,i[0].time-s.now());this.schedule(n,a)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(Vy.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new a8(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(Jr.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(Jr.createComplete()),this.unsubscribe()}}class a8{constructor(n,e){this.time=n,this.notification=e}}var xl=(()=>(function(t){t.NoConnection="NoConnection",t.Unknown="Unknown"}(xl||(xl={})),xl))();class l8{}const Px="common.operation-error";function an(t){if(t&&t.type&&!t.srcElement)return t;const n=new l8;if(n.originalError=t,!t||"string"==typeof t)return n.originalServerErrorMsg=t||"",n.translatableErrorMsg=t||Px,n.type=xl.Unknown,n;n.originalServerErrorMsg=function u8(t){if(t){if("string"==typeof t._body)return t._body;if(t.originalServerErrorMsg&&"string"==typeof t.originalServerErrorMsg)return t.originalServerErrorMsg;if(t.error&&"string"==typeof t.error)return t.error;if(t.error&&t.error.error&&t.error.error.message)return t.error.error.message;if(t.error&&t.error.error&&"string"==typeof t.error.error)return t.error.error;if(t.message)return t.message;if(t._body&&t._body.error)return t._body.error;try{return JSON.parse(t._body).error}catch{}}return null}(t);return null!=t.status&&(0===t.status||504===t.status)&&(n.type=xl.NoConnection,n.translatableErrorMsg="common.no-connection-error"),n.type||(n.type=xl.Unknown,n.translatableErrorMsg=n.originalServerErrorMsg?function c8(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch{}if(t.startsWith("400")||t.startsWith("403")){const e=t.split(" - ",2);t=2===e.length?e[1]:t}const n=(t=t.trim()).substr(0,1);return n.toUpperCase()!==n&&(t=n.toUpperCase()+t.substr(1,t.length-1)),!t.endsWith(".")&&!t.endsWith(",")&&!t.endsWith(":")&&!t.endsWith(";")&&!t.endsWith("?")&&!t.endsWith("!")&&(t+="."),t}(n.originalServerErrorMsg):Px),n}const f8=new class h8 extends Js{}(class d8 extends Sm{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(n,e,i):n.flush(this)}});class Dm extends A{constructor(n,e,i=0){super(n),this.scheduler=e,this.delay=i}static dispatch(n){const{notification:e,destination:i}=n;e.observe(i),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Dm.dispatch,this.delay,new m8(n,this.destination)))}_next(n){this.scheduleMessage(Jr.createNext(n))}_error(n){this.scheduleMessage(Jr.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Jr.createComplete()),this.unsubscribe()}}class m8{constructor(n,e){this.notification=n,this.destination=e}}class Xs extends J{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new _8(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,o=i.length;let a;if(this.closed)throw new ne;if(this.isStopped||this.hasError?a=x.EMPTY:(this.observers.push(n),a=new oe(this,n)),s&&n.add(n=new Dm(n,s)),e)for(let l=0;le&&(a=Math.max(a,o-e)),a>0&&s.splice(0,a),s}}class _8{constructor(n,e){this.time=n,this.value=e}}const km="refreshSeconds",Tm="labelsData",xm="localNodesData",Ix="nodesData";var ur=(()=>(function(t){t.Node="nd",t.Transport="tp",t.DmsgServer="ds"}(ur||(ur={})),ur))();let By,Xi=(()=>{class t{constructor(){this.currentRefreshTimeSubject=new Xs(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set}initialize(e){this.storage=localStorage,this.hypervisorPk=e,this.migrateDataToHvStorage(),this.currentRefreshTime=parseInt(this.getDataForHv(km),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(o=>{this.savedLocalNodes.set(o.publicKey,o),o.hidden||this.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(o=>this.savedLabels.set(o.id,o)),this.loadLegacyNodeData();const i=[];this.savedLocalNodes.forEach(o=>i.push(o));const s=[];this.savedLabels.forEach(o=>s.push(o)),this.saveLocalNodes(i),this.saveLabels(s)}getDataForHv(e){return this.storage.getItem(this.hypervisorPk+e)}setDataForHv(e,i){return this.storage.setItem(this.hypervisorPk+e,i)}migrateDataToHvStorage(){const e=this.storage.getItem(km);if(e){const o=parseInt(e,10)||10;this.setRefreshTime(o),this.storage.removeItem(km)}const i=this.storage.getItem(xm);if(i){const o=JSON.parse(i)||[];this.saveLocalNodes(o),this.storage.removeItem(xm)}const s=this.storage.getItem(Tm);if(s){const o=JSON.parse(s)||[];this.saveLabels(o),this.storage.removeItem(Tm)}}loadLegacyNodeData(){const e=JSON.parse(this.storage.getItem(Ix))||[];if(e.length>0){const i=this.getSavedLocalNodes(),s=this.getSavedLabels();e.forEach(o=>{i.push({publicKey:o.publicKey,hidden:o.deleted,ip:null}),this.savedLocalNodes.set(o.publicKey,i[i.length-1]),o.deleted||this.savedVisibleLocalNodes.add(o.publicKey),s.push({id:o.publicKey,identifiedElementType:ur.Node,label:o.label}),this.savedLabels.set(o.publicKey,s[s.length-1])}),this.saveLocalNodes(i),this.saveLabels(s),this.storage.removeItem(Ix)}}setRefreshTime(e){this.setDataForHv(km,e.toString()),this.currentRefreshTime=e,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}getRefreshTimeObservable(){return this.currentRefreshTimeSubject.asObservable()}getRefreshTime(){return this.currentRefreshTime}includeVisibleLocalNodes(e,i){this.changeLocalNodesHiddenProperty(e,i,!1)}setLocalNodesAsHidden(e,i){this.changeLocalNodesHiddenProperty(e,i,!0)}changeLocalNodesHiddenProperty(e,i,s){if(e.length!==i.length)throw new Error("Invalid params");const o=new Map,a=new Map;e.forEach((_,E)=>{o.set(_,i[E]),a.set(_,i[E])});let l=!1;const c=this.getSavedLocalNodes();c.forEach(_=>{o.has(_.publicKey)&&(a.has(_.publicKey)&&a.delete(_.publicKey),_.ip!==o.get(_.publicKey)&&(_.ip=o.get(_.publicKey),l=!0,this.savedLocalNodes.set(_.publicKey,_)),_.hidden!==s&&(_.hidden=s,l=!0,this.savedLocalNodes.set(_.publicKey,_),s?this.savedVisibleLocalNodes.delete(_.publicKey):this.savedVisibleLocalNodes.add(_.publicKey)))}),a.forEach((_,E)=>{l=!0;const R={publicKey:E,hidden:s,ip:_};c.push(R),this.savedLocalNodes.set(E,R),s?this.savedVisibleLocalNodes.delete(E):this.savedVisibleLocalNodes.add(E)}),l&&this.saveLocalNodes(c)}getSavedLocalNodes(){return JSON.parse(this.getDataForHv(xm))||[]}getSavedVisibleLocalNodes(){return this.savedVisibleLocalNodes}saveLocalNodes(e){this.setDataForHv(xm,JSON.stringify(e))}getSavedLabels(){return JSON.parse(this.getDataForHv(Tm))||[]}saveLabels(e){this.setDataForHv(Tm,JSON.stringify(e))}saveLabel(e,i,s){if(i){let o=!1;const a=this.getSavedLabels().map(l=>(l.id===e&&l.identifiedElementType===s&&(o=!0,l.label=i,this.savedLabels.set(l.id,{label:l.label,id:l.id,identifiedElementType:l.identifiedElementType})),l));if(o)this.saveLabels(a);else{const l={label:i,id:e,identifiedElementType:s};a.push(l),this.savedLabels.set(e,l),this.saveLabels(a)}}else{this.savedLabels.has(e)&&this.savedLabels.delete(e);let o=!1;const a=this.getSavedLabels().filter(l=>l.id!==e||(o=!0,!1));o&&this.saveLabels(a)}}getDefaultLabel(e){return e?e.ip?e.ip:e.localPk.substr(0,8):""}getLabelInfo(e){return this.savedLabels.has(e)?this.savedLabels.get(e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();try{By=typeof Intl<"u"&&Intl.v8BreakIterator}catch{By=!1}let Kc,Di=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function J4(t){return t===GD}(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&&!By)&&typeof CSS<"u"&&!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)(Ce(dp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ox=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ax(){if(Kc)return Kc;if("object"!=typeof document||!document)return Kc=new Set(Ox),Kc;let t=document.createElement("input");return Kc=new Set(Ox.filter(n=>(t.setAttribute("type",n),t.type===n))),Kc}let fh,El,jy;function Ll(t){return function g8(){if(null==fh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fh=!0}))}finally{fh=fh||!1}return fh}()?t:!!t.capture}function v8(){if(null==El){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return El=!1,El;if("scrollBehavior"in document.documentElement.style)El=!0;else{const t=Element.prototype.scrollTo;El=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return El}function Rx(t){if(function b8(){if(null==jy){const t=typeof document<"u"?document.head:null;jy=!(!t||!t.createShadowRoot&&!t.attachShadow)}return jy}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Uy(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Pl(t){return t.composedPath?t.composedPath()[0]:t.target}function zy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function So(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Wy(t,n=qc){return e=>e.lift(new P8(t,n))}class P8{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new I8(n,this.dueTime,this.scheduler))}}class I8 extends A{constructor(n,e,i){super(n),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O8,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){const n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}function O8(t){t.debouncedNext()}function $y(t){return n=>n.lift(new A8(t))}class A8{constructor(n){this.total=n}call(n,e){return e.subscribe(new R8(n,this.total))}}class R8 extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}function Gy(t,n){return e=>e.lift(new F8(t,n))}class F8{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new N8(n,this.compare,this.keySelector))}}class N8 extends A{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:s}=this;e=s?s(n):n}catch(s){return this.destination.error(s)}let i=!1;if(this.hasKey)try{const{compare:s}=this;i=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}function fn(t){return n=>n.lift(new Y8(t))}class Y8{constructor(n){this.notifier=n}call(n,e){const i=new H8(n),s=jn(i,this.notifier);return s&&!i.seenValue?(i.add(s),e.subscribe(i)):i}}class H8 extends Kn{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,i,s,o){this.seenValue=!0,this.complete()}notifyComplete(){}}function En(t){return null!=t&&"false"!=`${t}`}function eo(t,n=0){return function V8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Am(t){return Array.isArray(t)?t:[t]}function Yi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Jo(t){return t instanceof bt?t.nativeElement:t}let Nx=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),B8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Jo(e);return new ce(s=>{const a=this._observeElement(i).subscribe(s);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new J,s=this._mutationObserverFactory.create(o=>i.next(o));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:s}=this._observedElements.get(e);i&&i.disconnect(),s.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Nx))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qy=(()=>{class t{constructor(e,i,s){this._contentObserver=e,this._elementRef=i,this._ngZone=s,this.event=new ft,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=eo(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Wy(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(B8),N(bt),N(mt))},t.\u0275dir=Je({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Rm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Nx]}),t})();const Yx=new Set;let Zc,j8=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z8}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function U8(t){if(!Yx.has(t))try{Zc||(Zc=document.createElement("style"),Zc.setAttribute("type","text/css"),document.head.appendChild(Zc)),Zc.sheet&&(Zc.sheet.insertRule(`@media ${t} {body{ }}`,0),Yx.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function z8(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Fm=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Hx(Am(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let o=hy(Hx(Am(e)).map(a=>this._registerQuery(a).observable));return o=Sl(o.pipe(An(1)),o.pipe($y(1),Wy(0))),o.pipe(Xe(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:_})=>{l.matches=l.matches||c,l.breakpoints[_]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ce(a=>{const l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Yr(i),Xe(({matches:a})=>({query:e,matches:a})),fn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(Ce(j8),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Hx(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Nm(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const jx="cdk-describedby-message",Ym="cdk-describedby-host";let Ky=0,G8=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ky++,this._document=e,this._id=Yn(Nc)+"-"+Ky++}describe(e,i,s){if(!this._canBeDescribed(e,i))return;const o=Zy(i,s);"string"!=typeof i?(Ux(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,s),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,s){if(!i||!this._isElementNode(e))return;const o=Zy(i,s);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Ym}="${this._id}"]`);for(let i=0;i0!=s.indexOf(jx));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const s=this._messageRegistry.get(i);(function W8(t,n,e){const i=Nm(t,n);i.some(s=>s.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(Ym,this._id),s.referenceCount++}_removeMessageReference(e,i){const s=this._messageRegistry.get(i);s.referenceCount--,function $8(t,n,e){const s=Nm(t,n).filter(o=>o!=e.trim());s.length?t.setAttribute(n,s.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Ym)}_isElementDescribedByMessage(e,i){const s=Nm(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=s.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const s=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!s||o&&o.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Zy(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function Ux(t,n){t.id||(t.id=`${jx}-${n}-${Ky++}`)}class zx{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=x.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,n instanceof gl&&n.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ui(e=>this._pressedLetters.push(e)),Wy(n),Si(()=>this._pressedLetters.length>0),Xe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let s=1;s!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||So(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.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(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const s=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof gl?this._items.toArray():this._items}}class q8 extends zx{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Wx extends zx{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Hm=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Z8(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function K8(t){try{return t.frameElement}catch{return null}}(function r6(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===Gx(i)||!this.isVisible(i)))return!1;let s=e.nodeName.toLowerCase(),o=Gx(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function n6(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==o:"video"===s?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function i6(t){return!function J8(t){return function e6(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function Q8(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function X8(t){return function t6(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||$x(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $x(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function Gx(t){if(!$x(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class s6{constructor(n,e,i,s,o=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const s=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(s)return s}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(An(1)).subscribe(n)}}let Qy=(()=>{class t{constructor(e,i,s){this._checker=e,this._ngZone=i,this._document=s}create(e,i=!1){return new s6(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hm),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Jy(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Xy(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const o6=new Be("cdk-input-modality-detector-options"),a6={ignoreKeys:[18,17,224,91,16]},Qc=Ll({passive:!0,capture:!0});let l6=(()=>{class t{constructor(e,i,s,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Wi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pl(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Jy(a)?"keyboard":"mouse"),this._mostRecentTarget=Pl(a))},this._onTouchstart=a=>{Xy(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pl(a))},this._options={...a6,...o},this.modalityDetected=this._modality.pipe($y(1)),this.modalityChanged=this.modalityDetected.pipe(Gy()),e.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Qc),s.addEventListener("mousedown",this._onMousedown,Qc),s.addEventListener("touchstart",this._onTouchstart,Qc)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qc),document.removeEventListener("mousedown",this._onMousedown,Qc),document.removeEventListener("touchstart",this._onTouchstart,Qc))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct),Ce(o6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const c6=new Be("liveAnnouncerElement",{providedIn:"root",factory:function u6(){return null}}),d6=new Be("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let e0=(()=>{class t{constructor(e,i,s,o){this._ngZone=i,this._defaultOptions=o,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...i){const s=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=s&&s.politeness?s.politeness:"polite"),null==a&&s&&(a=s.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let o=0;o{class t{constructor(e,i,s,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{for(let _=Pl(l);_;_=_.parentElement)"focus"===l.type?this._onFocus(l,_):this._onBlur(l,_)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const s=Jo(e);if(!this._platform.isBrowser||1!==s.nodeType)return ze(null);const o=Rx(s)||this._getDocument(),a=this._elementInfo.get(s);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new J,rootNode:o};return this._elementInfo.set(s,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=Jo(e),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(e,i,s){const o=Jo(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const s=this._elementInfo.get(i),o=Pl(e);!s||!s.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),s)}_onBlur(e,i){const s=this._elementInfo.get(i);!s||s.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vm)}),this._rootNodeFocusListenerCount.set(i,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vm),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,s){this._setClasses(e,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((s,o)=>{(o===e||s.checkChildren&&o.contains(e))&&i.push([o,s])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new ft}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do))},t.\u0275dir=Je({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const Kx="cdk-high-contrast-black-on-white",Zx="cdk-high-contrast-white-on-black",t0="cdk-high-contrast-active";let Qx=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Yn(Fm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(t0,Kx,Zx),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(t0,Kx):2===i&&e.add(t0,Zx)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),n0=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Qx))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Rm]}),t})();function Jc(t,n,e,i){return I(e)&&(i=e,e=void 0),i?Jc(t,n,e).pipe(Xe(s=>M(s)?i(...s):i(s))):new ce(s=>{Jx(t,n,function o(a){s.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},s,e)})}function Jx(t,n,e,i,s){let o;if(function _6(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const a=t;t.addEventListener(n,e,s),o=()=>a.removeEventListener(n,e,s)}else if(function m6(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const a=t;t.on(n,e),o=()=>a.off(n,e)}else if(function p6(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const a=t;t.addListener(n,e),o=()=>a.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,l=t.length;a0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let y6=1;const r0={},Xx={setImmediate(t){const n=y6++;return r0[n]=t,Promise.resolve().then(()=>function M6(t){const n=r0[t];n&&n()}(n)),n},clearImmediate(t){delete r0[t]}},s0=new class C6 extends Js{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,s=-1,o=e.length;n=n||e.shift();do{if(i=n.execute(n.state,n.delay))break}while(++s0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=Xx.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(Xx.clearImmediate(e),n.scheduled=void 0)}});class D6{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new k6(n,this.durationSelector))}}class k6 extends Kn{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(n)}catch(s){return this.destination.error(s)}const i=jn(this,e);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:n,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,i,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function o0(t){return!M(t)&&t-parseFloat(t)+1>=0}function Bm(t=0,n,e){let i=-1;return o0(n)?i=Number(n)<1?1:Number(n):ke(n)&&(e=n),ke(e)||(e=qc),new ce(s=>{const o=o0(t)?t:+t-e.now();return e.schedule(T6,o,{index:0,period:i,subscriber:s})})}function T6(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}function e2(t,n=qc){return function S6(t){return function(e){return e.lift(new D6(t))}}(()=>Bm(t,n))}const x6=new Be("cdk-dir-doc",{providedIn:"root",factory:function L6(){return Yn(Ct)}}),E6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let gs=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new ft,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function P6(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?E6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ce(x6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),t2=(()=>{class t{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ce(i=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(e2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ze()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Si(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=Jo(i),o=e.getElementRef().nativeElement;do{if(s==o)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Jc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Di),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Il=(()=>{class t{constructor(e,i,s){this._platform=e,this._change=new J,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),s=e.documentElement,o=s.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(e2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),n2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,vh,gh,vh]}),t})();class a0{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Xc extends a0{constructor(n,e,i,s){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=s}}class eu extends a0{constructor(n,e,i,s){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class A6 extends a0{constructor(n){super(),this.element=n instanceof bt?n.nativeElement:n}}class jm{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Xc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof eu?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof A6?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class R6 extends jm{constructor(n,e,i,s,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=s,this.attachDomPortal=a=>{const l=a.element,c=this._document.createComment("dom-portal");l.parentNode.insertBefore(c,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(l,c)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let s;return n.viewContainerRef?(s=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=i.create(n.injector||this._defaultInjector||Jn.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=n,s}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);-1!==s&&e.remove(s)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let $a=(()=>{class t extends jm{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ft,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pt]}),t})(),tu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const r2=v8();class F6{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yi(-this._previousScrollPosition.left),n.style.top=Yi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,s=this._document.body.style,o=i.scrollBehavior||"",a=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),r2&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),r2&&(i.scrollBehavior=o,s.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class N6{constructor(n,e,i,s){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class s2{enable(){}disable(){}attach(){}}function l0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function o2(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class Y6{constructor(n,e,i,s){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();l0(e,[{width:i,height:s,bottom:s,right:i,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 H6=(()=>{class t{constructor(e,i,s,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new s2,this.close=a=>new N6(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new F6(this._viewportRuler,this._document),this.reposition=a=>new Y6(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(Ce(t2),Ce(Il),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class bh{constructor(n){if(this.scrollStrategy=new s2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class V6{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let a2=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),B6=(()=>{class t extends a2{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(s)):l.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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)(Ce(Ct),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j6=(()=>{class t extends a2{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Pl(o)},this._clickListener=o=>{const a=Pl(o),l="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let _=c.length-1;_>-1;_--){const E=c[_];if(E._outsidePointerEvents.observers.length<1||!E.hasAttached())continue;if(E.overlayElement.contains(a)||E.overlayElement.contains(l))break;const R=E._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>R.next(o)):R.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Um=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||zy()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(R),this._backdropTransitionendHandler=R=>{this._disposeBackdrop(R.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(An(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),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),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?.remove(),this._previousHostParent=this._pane=this._host=null,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Yi(this._config.width),n.height=Yi(this._config.height),n.minWidth=Yi(this._config.minWidth),n.minHeight=Yi(this._config.minHeight),n.maxWidth=Yi(this._config.maxWidth),n.maxHeight=Yi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const s=Am(e||[]).filter(o=>!!o);s.length&&(i?n.classList.add(...s):n.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(fn(Yt(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._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const l2="cdk-overlay-connected-position-bounding-box",U6=/([A-Za-z%]+)$/;class z6{constructor(n,e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o,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 J,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(l2),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,o=[];let a;for(let l of this._preferredPositions){let c=this._getOriginPoint(n,s,l),_=this._getOverlayPoint(c,e,l),E=this._getOverlayFit(_,e,i,l);if(E.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,c);this._canFitWithFlexibleDimensions(E,_,i)?o.push({position:l,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,l)}):(!a||a.overlayFit.visibleAreac&&(c=E,l=_)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ol(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(l2),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let s,o;if("center"==i.originX)s=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,l=this._isRtl()?n.left:n.right;s="start"==i.originX?a:l}return e.left<0&&(s-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:s,y:o}}_getOverlayPoint(n,e,i){let s,o;return s="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+s,y:n.y+o}}_getOverlayFit(n,e,i,s){const o=u2(e);let{x:a,y:l}=n,c=this._getOffset(s,"x"),_=this._getOffset(s,"y");c&&(a+=c),_&&(l+=_);let $=0-l,X=l+o.height-i.height,he=this._subtractOverflows(o.width,0-a,a+o.width-i.width),Se=this._subtractOverflows(o.height,$,X),Pe=he*Se;return{visibleArea:Pe,isCompletelyWithinViewport:o.width*o.height===Pe,fitsInViewportVertically:Se===o.height,fitsInViewportHorizontally:he==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const s=i.bottom-e.y,o=i.right-e.x,a=c2(this._overlayRef.getConfig().minHeight),l=c2(this._overlayRef.getConfig().minWidth),_=n.fitsInViewportHorizontally||null!=l&&l<=o;return(n.fitsInViewportVertically||null!=a&&a<=s)&&_}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const s=u2(e),o=this._viewportRect,a=Math.max(n.x+s.width-o.width,0),l=Math.max(n.y+s.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),_=Math.max(o.left-i.left-n.x,0);let E=0,R=0;return E=s.width<=o.width?_||-a:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-he/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=i.width-n.x+this._viewportMargin,E=n.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)R=n.x,E=i.right-n.x;else{const X=Math.min(i.right-n.x+i.left,n.x),he=this._lastBoundingBoxSize.width;E=2*X,R=n.x-X,E>he&&!this._isInitialRender&&!this._growAfterOpen&&(R=n.x-he/2)}return{top:a,left:R,bottom:l,right:$,width:E,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;s.height=Yi(i.height),s.top=Yi(i.top),s.bottom=Yi(i.bottom),s.width=Yi(i.width),s.left=Yi(i.left),s.right=Yi(i.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(s.maxHeight=Yi(o)),a&&(s.maxWidth=Yi(a))}this._lastBoundingBoxSize=i,Ol(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Ol(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ol(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(s){const E=this._viewportRuler.getViewportScrollPosition();Ol(i,this._getExactOverlayY(e,n,E)),Ol(i,this._getExactOverlayX(e,n,E))}else i.position="static";let l="",c=this._getOffset(e,"x"),_=this._getOffset(e,"y");c&&(l+=`translateX(${c}px) `),_&&(l+=`translateY(${_}px)`),i.transform=l.trim(),a.maxHeight&&(s?i.maxHeight=Yi(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(s?i.maxWidth=Yi(a.maxWidth):o&&(i.maxWidth="")),Ol(this._pane.style,i)}_getExactOverlayY(n,e,i){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=Yi(o.y),s}_getExactOverlayX(n,e,i){let a,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=Yi(o.x),s}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:o2(n,i),isOriginOutsideView:l0(n,i),isOverlayClipped:o2(e,i),isOverlayOutsideView:l0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,s)=>i-Math.max(s,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Am(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof bt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ol(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function c2(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(U6);return e&&"px"!==e?null:parseFloat(n)}return t||null}function u2(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const d2="cdk-global-overlay-wrapper";class W6{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(d2),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:a,maxHeight:l}=i,c=!("100%"!==s&&"100vw"!==s||a&&"100%"!==a&&"100vw"!==a),_=!("100%"!==o&&"100vh"!==o||l&&"100%"!==l&&"100vh"!==l),E=this._xPosition,R=this._xOffset,$="rtl"===this._overlayRef.getConfig().direction;let X="",he="",Se="";c?Se="flex-start":"center"===E?(Se="center",$?he=R:X=R):$?"left"===E||"end"===E?(Se="flex-end",X=R):("right"===E||"start"===E)&&(Se="flex-start",he=R):"left"===E||"start"===E?(Se="flex-start",X=R):("right"===E||"end"===E)&&(Se="flex-end",he=R),n.position=this._cssPosition,n.marginLeft=c?"0":X,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":he,e.justifyContent=Se,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(d2),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let $6=(()=>{class t{constructor(e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new W6}flexibleConnectedTo(e){return new z6(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Il),Ce(Ct),Ce(Di),Ce(Um))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),G6=0,Xr=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=_,this._directionality=E,this._location=R,this._outsideClickDispatcher=$,this._animationsModuleType=X}create(e){const i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),a=new bh(e);return a.direction=a.direction||this._directionality.value,new yh(o,i,s,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+G6++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Yc)),new R6(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Ce(H6),Ce(Um),Ce(xa),Ce($6),Ce(B6),Ce(Jn),Ce(mt),Ce(Ct),Ce(gs),Ce(Vd),Ce(j6),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const q6=[{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"}],h2=new Be("cdk-connected-overlay-scroll-strategy");let f2=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),p2=(()=>{class t{constructor(e,i,s,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ft,this.positionChange=new ft,this.attach=new ft,this.detach=new ft,this.overlayKeydown=new ft,this.overlayOutsideClick=new ft,this._templatePortal=new eu(i,s),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=En(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=En(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=En(e)}get push(){return this._push}set push(e){this._push=En(e)}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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=q6);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new bh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof f2?this.origin.elementRef:this.origin}_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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(wT(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),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)(N(Xr),N(Ar),N(ar),N(h2),N(gs,8))},t.\u0275dir=Je({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ii]}),t})();const Z6={provide:h2,deps:[Xr],useFactory:function K6(t){return()=>t.scrollStrategies.reposition()}};let nu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Xr,Z6],imports:[gh,tu,n2,n2]}),t})();function Q6(t,n){}class zm{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let m2=(()=>{class t extends jm{constructor(e,i,s,o,a,l,c,_){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=_,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=E=>{this._portalOutlet.hasAttached();const R=this._portalOutlet.attachDomPortal(E);return this._contentAttached(),R},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=s}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const s=()=>{e.removeEventListener("blur",s),e.removeEventListener("mousedown",s),e.removeAttribute("tabindex")};e.addEventListener("blur",s),e.addEventListener("mousedown",s)})),e.focus(i)}_focusByCssSelector(e,i){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const s=Uy(),o=this._elementRef.nativeElement;(!s||s===this._document.body||s===o||o.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Uy();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Uy())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N(zm),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Wt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,Q6,0,0,"ng-template",0)},dependencies:[$a],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class c0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new J,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const _2=new Be("DialogScrollStrategy"),J6=new Be("DialogData"),X6=new Be("DefaultDialogConfig"),t9={provide:_2,deps:[Xr],useFactory:function e9(t){return()=>t.scrollStrategies.block()}};let n9=0,g2=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._injector=i,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new zm,...i}).id=i.id||"cdk-dialog-"+n9++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),a=this._overlay.create(o),l=new c0(a,i),c=this._attachContainer(a,l,i);return l.containerInstance=c,this._attachDialogContent(e,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){u0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){u0(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),u0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new bh({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,s){const o=s.injector||s.viewContainerRef?.injector,a=[{provide:zm,useValue:s},{provide:c0,useValue:i},{provide:yh,useValue:e}];let l;s.container?"function"==typeof s.container?l=s.container:(l=s.container.type,a.push(...s.container.providers(s))):l=m2;const c=new Xc(l,s.viewContainerRef,Jn.create({parent:o||this._injector,providers:a}),s.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,s,o){if(e instanceof Ar){const a=this._createInjector(o,i,s,void 0);let l={$implicit:o.data,dialogRef:i};o.templateContext&&(l={...l,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),s.attachTemplatePortal(new eu(e,null,l,a))}else{const a=this._createInjector(o,i,s,this._injector),l=s.attachComponentPortal(new Xc(e,o.viewContainerRef,a,o.componentFactoryResolver));i.componentInstance=l.instance}}_createInjector(e,i,s,o){const a=e.injector||e.viewContainerRef?.injector,l=[{provide:J6,useValue:e.data},{provide:c0,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,s)):l.push(...e.providers)),e.direction&&(!a||!a.get(gs,null,_t.Optional))&&l.push({provide:gs,useValue:{value:e.direction,change:ze()}}),Jn.create({parent:a||o,providers:l})}_removeOpenDialog(e,i){const s=this.openDialogs.indexOf(e);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let s=i.length-1;s>-1;s--){const o=i[s];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(X6,8),Ce(t,12),Ce(Um),Ce(_2))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function u0(t,n){let e=t.length;for(;e--;)n(t[e])}let i9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[g2,t9],imports:[nu,tu,n0,tu]}),t})();function r9(t,n){if(1&t&&De(0,"mat-pseudo-checkbox",4),2&t){const e=W();D("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function s9(t,n){if(1&t&&(T(0,"span",5),O(1),k()),2&t){const e=W();d(1),ye("(",e.group.label,")")}}const o9=["*"],l9=new Be("mat-sanity-checks",{providedIn:"root",factory:function a9(){return!0}});let Pn=(()=>{class t{constructor(e,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!zy()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(Ce(Qx),Ce(l9,8),Ce(Ct))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,gh]}),t})();function iu(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n)}}}function ru(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function Mh(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=En(n)}}}function y2(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?eo(e):this.defaultTabIndex}}}function M2(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}let u9=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.dirty||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class d9{constructor(n,e,i,s=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const w2={enterDuration:225,exitDuration:150},d0=Ll({passive:!0}),C2=["mousedown","touchstart"],S2=["mouseup","mouseleave","touchend","touchcancel"];class f9{constructor(n,e,i,s){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Jo(i))}fadeInRipple(n,e,i={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...w2,...i.animation};i.centered&&(n=s.left+s.width/2,e=s.top+s.height/2);const a=i.radius||function p9(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+s*s)}(n,e,s),l=n-s.left,c=e-s.top,_=o.enterDuration,E=document.createElement("div");E.classList.add("mat-ripple-element"),E.style.left=l-a+"px",E.style.top=c-a+"px",E.style.height=2*a+"px",E.style.width=2*a+"px",null!=i.color&&(E.style.backgroundColor=i.color),E.style.transitionDuration=`${_}ms`,this._containerElement.appendChild(E);const R=window.getComputedStyle(E),X=R.transitionDuration,he="none"===R.transitionProperty||"0s"===X||"0s, 0s"===X,Se=new d9(this,E,i,he);E.style.transform="scale3d(1, 1, 1)",Se.state=0,i.persistent||(this._mostRecentTransientRipple=Se);let Pe=null;return!he&&(_||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>this._finishRippleTransition(Se),$e=()=>this._destroyRipple(Se);E.addEventListener("transitionend",Re),E.addEventListener("transitioncancel",$e),Pe={onTransitionEnd:Re,onTransitionCancel:$e}}),this._activeRipples.set(Se,Pe),(he||!_)&&this._finishRippleTransition(Se),Se}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...w2,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Jo(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(C2))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(S2),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=Jy(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,d0)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(C2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}),this._pointerUpEventsRegistered&&S2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}))}}const D2=new Be("mat-ripple-global-options");let Xo=(()=>{class t{constructor(e,i,s,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new f9(this,i,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...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(e,i=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(Di),N(D2,8),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&dn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Ch=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})(),m9=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&dn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},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:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::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}'],encapsulation:2,changeDetection:0}),t})(),_9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn]}),t})();const k2=new Be("MAT_OPTION_PARENT_COMPONENT"),T2=new Be("MatOptgroup");let g9=0;class v9{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let b9=(()=>{class t{constructor(e,i,s,o){this._element=e,this._changeDetectorRef=i,this._parent=s,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+g9++,this.onSelectionChange=new ft,this._stateChanges=new J}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(e){this._disabled=En(e)}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(e,i){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!So(e)&&(this._selectViaInteraction(),e.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 e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new v9(this,e))}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),su=(()=>{class t extends b9{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(k2,8),N(T2,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&Me("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(pl("id",i.id),Wt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),dn("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[pt],ngContentSelectors:o9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Kr(),U(0,r9,1,2,"mat-pseudo-checkbox",0),T(1,"span",1),mi(2),k(),U(3,s9,2,1,"span",2),De(4,"div",3)),2&e&&(D("ngIf",i.multiple),d(3),D("ngIf",i.group&&i.group._inert),d(1),D("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xo,Ot,m9],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:rgba(0,0,0,0)}.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;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}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function x2(t,n,e){if(e.length){let i=n.toArray(),s=e.toArray(),o=0;for(let a=0;a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,yo,Pn,_9]}),t})();function M9(t,n){}const ou={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},w9={dialogContainer:Ko("dialogContainer",[Nr("void, exit",bn({opacity:0,transform:"scale(0.7)"})),Nr("enter",bn({transform:"none"})),Sr("* => enter",yk([Fr("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",bn({transform:"none",opacity:1})),Ob("@*",Ib(),{optional:!0})]),ou),Sr("* => void, * => exit",yk([Fr("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",bn({opacity:0})),Ob("@*",Ib(),{optional:!0})]),ou)])};class $n{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="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ou.params.enterAnimationDuration,this.exitAnimationDuration=ou.params.exitAnimationDuration}}let C9=(()=>{class t extends m2{constructor(e,i,s,o,a,l,c,_){super(e,i,s,o,a,l,c,_),this._animationStateChanged=new ft}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],features:[pt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),S9=(()=>{class t extends C9{constructor(e,i,s,o,a,l,c,_,E){super(e,i,s,o,a,l,c,E),this._changeDetectorRef=_,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ou.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ou.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Xn),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&Jf("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(pl("id",i._config.id),Wt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),ep("@dialogContainer",i._getAnimationState()))},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,M9,0,0,"ng-template",0)},dependencies:[$a],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[w9.dialogContainer]}}),t})();class ei{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Si(s=>"opened"===s.state),An(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Si(s=>"closed"===s.state),An(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Yt(this.backdropClick(),this.keydownEvents().pipe(Si(s=>27===s.keyCode&&!this.disableClose&&!So(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),E2(this,"keydown"===s.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Si(e=>"closing"===e.state),An(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function E2(t,n,e){return t._closeInteractionType=n,t.close(e)}const $i=new Be("MatDialogData"),P2=new Be("mat-dialog-default-options"),I2=new Be("mat-dialog-scroll-strategy"),k9={provide:I2,deps:[Xr],useFactory:function D9(t){return()=>t.scrollStrategies.block()}};let T9=0,x9=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this._overlay=e,this._defaultOptions=s,this._parentDialog=o,this._dialogRefConstructor=c,this._dialogContainerType=_,this._dialogDataToken=E,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l,this._dialog=i.get(g2)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let s;(i={...this._defaultOptions||new $n,...i}).id=i.id||`${this._idPrefix}${T9++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:$n,useValue:i},{provide:zm,useValue:i}]},templateContext:()=>({dialogRef:s}),providers:(a,l,c)=>(s=new this._dialogRefConstructor(a,i,c),s.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:s}])});return s.componentInstance=o.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(s);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Gn=(()=>{class t extends x9{constructor(e,i,s,o,a,l,c,_){super(e,i,o,l,c,a,ei,S9,$i,_)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(Vd,8),Ce(P2,8),Ce(I2),Ce(t,12),Ce(Um),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),L9=0,E9=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this._elementRef=i,this._dialog=s,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=O2(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){E2(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._onButtonClick(o)}),2&e&&Wt("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ii]}),t})(),P9=(()=>{class t{constructor(e,i,s){this._dialogRef=e,this._elementRef=i,this._dialog=s,this.id="mat-dialog-title-"+L9++}ngOnInit(){this._dialogRef||(this._dialogRef=O2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&pl("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),h0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})();function O2(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let I9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Gn,k9],imports:[i9,nu,tu,Pn,Pn]}),t})();const A2=["mat-button",""],R2=["*"],R9=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],F9=ru(iu(Mh(class{constructor(t){this._elementRef=t}})));let kr=(()=>{class t extends F9{constructor(e,i,s){super(e),this._focusMonitor=i,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of R9)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.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(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do),N(Ui,8))},t.\u0275cmp=Qe({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(e,i){if(1&e&&vt(Xo,5),2&e){let s;at(s=lt())&&(i.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Wt("disabled",i.disabled||null),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[pt],attrs:A2,ngContentSelectors:R2,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(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),t})(),N9=(()=>{class t extends kr{constructor(e,i,s,o){super(i,e,s),this._ngZone=o,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){return new(e||t)(N(Do),N(bt),N(Ui,8),N(mt,8))},t.\u0275cmp=Qe({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[pt],attrs:A2,ngContentSelectors:R2,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(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),t})(),F2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Pn]}),t})();function Y9(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){return Ie(e),Oe(W().action())}),O(2),k()()}if(2&t){const e=W();d(2),pe(e.data.action)}}function H9(t,n){}const f0=new Be("MatSnackBarData");class $m{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const V9=Math.pow(2,31)-1;class Gm{constructor(n,e){this._overlayRef=e,this._afterDismissed=new J,this._afterOpened=new J,this._onAction=new J,this._dismissedByAction=!1,this.containerInstance=n,n._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(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,V9))}_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 B9=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(N(Gm),N(f0))},t.\u0275cmp=Qe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"span",0),O(1),k(),U(2,Y9,3,1,"div",1)),2&e&&(d(1),pe(i.data.message),d(1),D("ngIf",i.hasAction))},dependencies:[Ot,kr],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}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),t})();const j9={snackBarState:Ko("state",[Nr("void, hidden",bn({transform:"scale(0.8)",opacity:0})),Nr("visible",bn({transform:"scale(1)",opacity:1})),Sr("* => visible",Fr("150ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void, * => hidden",Fr("75ms cubic-bezier(0.4, 0.0, 1, 1)",bn({opacity:0})))])};let U9=(()=>{class t extends jm{constructor(e,i,s,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=s,this._platform=o,this.snackBarConfig=a,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new J,this._onExit=new J,this._onEnter=new J,this._animationState="void",this.attachDomPortal=l=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:s}=e;if(("void"===s&&"void"!==i||"hidden"===s)&&this._completeExit(),"visible"===s){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{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(An(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(mt),N(bt),N(Xn),N(Di),N($m))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},features:[pt]}),t})(),z9=(()=>{class t extends U9{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&Jf("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&ep("@state",i._animationState)},features:[pt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(T(0,"div",0),U(1,H9,0,0,"ng-template",1),k(),De(2,"div")),2&e&&(d(2),Wt("aria-live",i._live)("role",i._role))},dependencies:[$a],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%}"],encapsulation:2,data:{animation:[j9.snackBarState]}}),t})(),N2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[nu,tu,yo,F2,Pn,Pn]}),t})();const p0=new Be("mat-snack-bar-default-options",{providedIn:"root",factory:function W9(){return new $m}});let $9=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._live=i,this._injector=s,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",s){const o={...this._defaultConfig,...s};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Jn.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:$m,useValue:i}]}),a=new Xc(this.snackBarContainerComponent,i.viewContainerRef,o),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){const s={...new $m,...this._defaultConfig,...i},o=this._createOverlay(s),a=this._attachSnackBarContainer(o,s),l=new Gm(a,o);if(e instanceof Ar){const c=new eu(e,null,{$implicit:s.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(s,l),_=new Xc(e,void 0,c),E=a.attachComponentPortal(_);l.instance=E.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(fn(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),s.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(l,s),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new bh;i.direction=e.direction;let s=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,l=!a&&"center"!==e.horizontalPosition;return a?s.left("0"):l?s.right("0"):s.centerHorizontally(),"top"===e.verticalPosition?s.top("0"):s.bottom("0"),i.positionStrategy=s,this._overlay.create(i)}_createInjector(e,i){return Jn.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Gm,useValue:i},{provide:f0,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),G9=(()=>{class t extends $9{constructor(e,i,s,o,a,l){super(e,i,s,o,a,l),this.simpleSnackBarComponent=B9,this.snackBarContainerComponent=z9,this.handsetCssClass="mat-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:N2}),t})();function Y2(...t){if(1===t.length){const n=t[0];if(M(n))return qm(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return qm(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return qm(t=1===t.length&&M(t[0])?t[0]:t,null).pipe(Xe(e=>n(...e)))}return qm(t,null)}function qm(t,n){return new ce(e=>{const i=t.length;if(0===i)return void e.complete();const s=new Array(i);let o=0,a=0;for(let l=0;l{_||(_=!0,a++),s[l]=E},error:E=>e.error(E),complete:()=>{o++,(o===i||!_)&&(a===i&&e.next(n?n.reduce((E,R,$)=>(E[R]=s[$],E),{}):s),e.complete())}}))}})}const q9=["*"];let Km;function Sh(t){return function K9(){if(void 0===Km&&(Km=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Km=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Km}()?.createHTML(t)||t}function H2(t){return Error(`Unable to find icon with the name "${t}"`)}function V2(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function B2(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Al{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Zm=(()=>{class t{constructor(e,i,s,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(e,i,s){return this.addSvgIconInNamespace("",e,i,s)}addSvgIconLiteral(e,i,s){return this.addSvgIconLiteralInNamespace("",e,i,s)}addSvgIconInNamespace(e,i,s,o){return this._addSvgIconConfig(e,i,new Al(s,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,s,o){const a=this._sanitizer.sanitize(vn.HTML,s);if(!a)throw B2(s);const l=Sh(a);return this._addSvgIconConfig(e,i,new Al("",l,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,s){return this._addSvgIconSetConfig(e,new Al(i,null,s))}addSvgIconSetLiteralInNamespace(e,i,s){const o=this._sanitizer.sanitize(vn.HTML,i);if(!o)throw B2(i);const a=Sh(o);return this._addSvgIconSetConfig(e,new Al("",a,s))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(vn.RESOURCE_URL,e);if(!i)throw V2(e);const s=this._cachedIconsByUrl.get(i);return s?ze(Qm(s)):this._loadSvgIconFromConfig(new Al(e,null)).pipe(ui(o=>this._cachedIconsByUrl.set(i,o)),Xe(o=>Qm(o)))}getNamedSvgIcon(e,i=""){const s=j2(i,e);let o=this._svgIconConfigs.get(s);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(s,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Dr(H2(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ze(Qm(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Xe(i=>Qm(i)))}_getSvgFromIconSetConfigs(e,i){const s=this._extractIconWithNameFromAnySet(e,i);return s?ze(s):Y2(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Qr(l=>{const _=`Loading icon set URL: ${this._sanitizer.sanitize(vn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(_)),ze(null)})))).pipe(Xe(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw H2(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(a,e,o.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ui(i=>e.svgText=i),Xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ze(null):this._fetchIcon(e).pipe(ui(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,s){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,s);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),s);const l=this._svgElementFromString(Sh(""));return l.appendChild(a),this._setSvgAttributes(l,s)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const s=i.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const i=this._svgElementFromString(Sh("")),s=e.attributes;for(let o=0;oSh(_)),nm(()=>this._inProgressUrlFetches.delete(a)),mn());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,s){return this._svgIconConfigs.set(j2(e,i),s),this}_addSvgIconSetConfig(e,i){const s=this._iconSetConfigs.get(e);return s?s.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let s=0;sn?n.pathname+n.search:""}}}),U2=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],r7=U2.map(t=>`[${t}]`).join(", "),s7=/^url\(['"]?#(.*?)['"]?\)$/;let Cn=(()=>{class t extends X9{constructor(e,i,s,o,a,l){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=x.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=En(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const s=e.childNodes[i];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>e.classList.remove(s)),i.forEach(s=>e.classList.add(s)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((s,o)=>{s.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(r7),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const l=i[o],c=l.getAttribute(a),_=c?c.match(s7):null;if(_){let E=s.get(l);E||(E=[],s.set(l,E)),E.push({name:a,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,s]=this._splitIconName(e);i&&(this._svgNamespace=i),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,i).pipe(An(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${s}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Zm),Ht("aria-hidden"),N(t7),N(Vo),N(e7,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),dn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[pt],ngContentSelectors:q9,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),mi(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),t})(),o7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})();function l7(t,n,e){return 0===e?[n]:(t.push(n),t)}class Dh{}let z2=(()=>{class t extends Dh{getTranslation(e){return ze({})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class m0{}let W2=(()=>{class t{handle(e){return e.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class Jm{}let $2=(()=>{class t extends Jm{compile(e,i){return e}compileTranslations(e,i){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function kh(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;let s,o,a,e=typeof t;if(e==typeof n&&"object"==e){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(o in a=Object.create(null),t){if(!kh(t[o],n[o]))return!1;a[o]=!0}for(o in n)if(!(o in a)&&typeof n[o]<"u")return!1;return!0}if(!Array.isArray(n))return!1;if((s=t.length)==n.length){for(o=0;o{_0(n[i])?i in t?e[i]=G2(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}class Xm{}let q2=(()=>{class t extends Xm{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,i){let s;return s="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,s}getValue(e,i){let s=i.split(".");i="";do{i+=s.shift(),!to(e)||!to(e[i])||"object"!=typeof e[i]&&s.length?s.length?i+=".":e=void 0:(e=e[i],i="")}while(s.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(s,o)=>{let a=this.getValue(i,o);return to(a)?a:s}):e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class K2{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new ft,this.onLangChange=new ft,this.onDefaultLangChange=new ft}}const g0=new Be("USE_STORE"),v0=new Be("USE_DEFAULT_LANG");let Hr=(()=>{class t{constructor(e,i,s,o,a,l=!0,c=!1){this.store=e,this.currentLoader=i,this.compiler=s,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=l,this.isolate=c,this.pending=!1,this._onTranslationChange=new ft,this._onLangChange=new ft,this._onDefaultLangChange=new ft,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang||(this.defaultLang=e),i.pipe(An(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return ze(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(An(1)).subscribe(s=>{this.changeLang(e)}),i):(this.changeLang(e),ze(this.translations[e]))}retrieveTranslations(e){let i;return typeof this.translations[e]>"u"&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(e).pipe(mn()),this.loadingTranslations.pipe(An(1)).subscribe(i=>{this.translations[e]=this.compiler.compileTranslations(i,e),this.updateLangs(),this.pending=!1},i=>{this.pending=!1}),this.loadingTranslations}setTranslation(e,i,s=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=s&&this.translations[e]?G2(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,s){let o;if(i instanceof Array){let a={},l=!1;for(let c of i)a[c]=this.getParsedResult(e,c,s),"function"==typeof a[c].subscribe&&(l=!0);if(l){let c;for(let _ of i){let E="function"==typeof a[_].subscribe?a[_]:ze(a[_]);c=typeof c>"u"?E:Yt(c,E)}return c.pipe(function c7(){return function a7(t,n){return arguments.length>=2?function(i){return Z(tm(t,n),Xd(1),Jd(n))(i)}:function(i){return Z(tm((s,o,a)=>t(s,o,a+1)),Xd(1))(i)}}(l7,[])}(),Xe(_=>{let E={};return _.forEach((R,$)=>{E[i[$]]=R}),E}))}return a}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),s)),typeof o>"u"&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),s)),typeof o>"u"){let a={key:i,translateService:this};typeof s<"u"&&(a.interpolateParams=s),o=this.missingTranslationHandler.handle(a)}return typeof o<"u"?o:i}get(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return ce.create(s=>{let o=l=>{s.next(l),s.complete()},a=l=>{s.error(l)};this.loadingTranslations.subscribe(l=>{"function"==typeof(l=this.getParsedResult(this.compiler.compileTranslations(l,this.currentLang),e,i)).subscribe?l.subscribe(o,a):o(l)},a)});{let s=this.getParsedResult(this.translations[this.currentLang],e,i);return"function"==typeof s.subscribe?s:ze(s)}}stream(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');return Sl(this.get(e,i),this.onLangChange.pipe(lr(s=>{const o=this.getParsedResult(s.translations,e,i);return"function"==typeof o.subscribe?o:ze(o)})))}instant(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,i);if(typeof s.subscribe<"u"){if(e instanceof Array){let o={};return e.forEach((a,l)=>{o[e[l]]=e[l]}),o}return e}return s}set(e,i,s=this.currentLang){this.translations[s][e]=this.compiler.compile(i,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return t.\u0275fac=function(e){return new(e||t)(Ce(K2),Ce(Dh),Ce(Jm),Ce(Xm),Ce(m0),Ce(v0),Ce(g0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),kt=(()=>{class t{constructor(e,i){this.translate=e,this._ref=i,this.value=""}updateValue(e,i,s){let o=a=>{this.value=void 0!==a?a:e,this.lastKey=e,this._ref.markForCheck()};if(s){let a=this.translate.getParsedResult(s,e,i);"function"==typeof a.subscribe?a.subscribe(o):o(a)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||0===e.length)return e;if(kh(e,this.lastKey)&&kh(i,this.lastParams))return this.value;let s;if(to(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(s=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Hr,16),N(Xn,16))},t.\u0275pipe=Ki({name:"translate",type:t,pure:!1}),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Z2=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:z2},e.compiler||{provide:Jm,useClass:$2},e.parser||{provide:Xm,useClass:q2},e.missingTranslationHandler||{provide:m0,useClass:W2},K2,{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:z2},e.compiler||{provide:Jm,useClass:$2},e.parser||{provide:Xm,useClass:q2},e.missingTranslationHandler||{provide:m0,useClass:W2},{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function u7(t,n){if(1&t&&(T(0,"div",5)(1,"mat-icon",6),O(2),k()()),2&t){const e=W();d(1),D("inline",!0),d(1),pe(e.config.icon)}}function d7(t,n){if(1&t&&(T(0,"div",7),O(1),Y(2,"translate"),Y(3,"translate"),k()),2&t){const e=W();d(1),ps(" ",B(2,2,"common.error")," ",Vt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var au=(()=>(function(t){t.Error="error",t.Done="done",t.Warning="warning"}(au||(au={})),au))(),lu=(()=>(function(t){t.Red="red-background",t.Green="green-background",t.Yellow="yellow-background"}(lu||(lu={})),lu))();let h7=(()=>{class t{constructor(e,i){this.snackbarRef=i,this.config=e}close(){this.snackbarRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(N(f0),N(Gm))},t.\u0275cmp=Qe({type:t,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,i){1&e&&(T(0,"div"),U(1,u7,3,2,"div",0),T(2,"div",1),O(3),Y(4,"translate"),U(5,d7,4,7,"div",2),k(),De(6,"div",3),T(7,"mat-icon",4),Me("click",function(){return i.close()}),O(8,"close"),k()()),2&e&&(fs("main-container "+i.config.color),d(1),D("ngIf",i.config.icon),d(2),ye(" ",Vt(4,5,i.config.text,i.config.textTranslationParams)," "),d(2),D("ngIf",i.config.smallText))},dependencies:[Ot,Cn,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),t})(),Vn=(()=>{class t{constructor(e){this.snackBar=e,this.lastWasTemporaryError=!1}showError(e,i=null,s=!1,o=null,a=null){e=an(e),o=o?an(o):null,this.lastWasTemporaryError=s,this.show(e.translatableErrorMsg,i,o?o.translatableErrorMsg:null,a,au.Error,lu.Red,15e3)}showWarning(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Warning,lu.Yellow,15e3)}showDone(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Done,lu.Green,5e3)}closeCurrent(){this.snackBar.dismiss()}closeCurrentIfTemporaryError(){this.lastWasTemporaryError&&this.snackBar.dismiss()}show(e,i,s,o,a,l,c){this.snackBar.openFromComponent(h7,{duration:c,panelClass:"snackbar-container",data:{text:e,textTranslationParams:i,smallText:s,smallTextTranslationParams:o,icon:a,color:l}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(G9))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}};class f7{constructor(n){Object.assign(this,n)}}let e_=(()=>{class t{constructor(e){this.translate=e,this.currentLanguage=new Xs(1),this.languages=new Xs(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}loadLanguageSettings(){if(this.settingsLoaded)return;this.settingsLoaded=!0;const e=[];Kt.languages.forEach(i=>{const s=new f7(i);this.languagesInternal.push(s),e.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(i=>this.onLanguageChanged(i)),this.loadCurrentLanguage()}changeLanguage(e){this.translate.use(e)}onLanguageChanged(e){this.currentLanguage.next(this.languagesInternal.find(i=>i.code===e.lang)),localStorage.setItem(this.storageKey,e.lang)}loadCurrentLanguage(){let e=localStorage.getItem(this.storageKey);e=e||Kt.defaultLanguage,setTimeout(()=>this.translate.use(e),16)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hr))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const p7={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class b0 extends Te{constructor(n,e){if(super(),n instanceof ce)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},p7);if(this._output=new J,"string"==typeof n)i.url=n;else for(let s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Xs}}lift(n){const e=new b0(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new Xs),this._output=new J}multiplex(n,e,i){const s=this;return new ce(o=>{try{s.next(n())}catch(l){o.error(l)}const a=s.subscribe(l=>{try{i(l)&&o.next(l)}catch(c){o.error(c)}},l=>o.error(l),()=>o.complete());return()=>{try{s.next(e())}catch(l){o.error(l)}a.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:n,protocol:e,url:i,binaryType:s}=this._config,o=this._output;let a=null;try{a=e?new n(i,e):new n(i),this._socket=a,s&&(this._socket.binaryType=s)}catch(c){return void o.error(c)}const l=new x(()=>{this._socket=null,a&&1===a.readyState&&a.close()});a.onopen=c=>{const{_socket:_}=this;if(!_)return a.close(),void this._resetState();const{openObserver:E}=this._config;E&&E.next(c);const R=this.destination;this.destination=A.create($=>{if(1===a.readyState)try{const{serializer:X}=this._config;a.send(X($))}catch(X){this.destination.error(X)}},$=>{const{closingObserver:X}=this._config;X&&X.next(void 0),$&&$.code?a.close($.code,$.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:$}=this._config;$&&$.next(void 0),a.close(),this._resetState()}),R&&R instanceof Xs&&l.add(R.subscribe(this.destination))},a.onerror=c=>{this._resetState(),o.error(c)},a.onclose=c=>{this._resetState();const{closeObserver:_}=this._config;_&&_.next(c),c.wasClean?o.complete():o.error(c)},a.onmessage=c=>{try{const{deserializer:_}=this._config;o.next(_(c))}catch(_){o.error(_)}}}_subscribe(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&1===i.readyState&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&1===n.readyState&&n.close(),this._resetState(),super.unsubscribe()}}var cu=(()=>(function(t){t.Json="json",t.Text="text"}(cu||(cu={})),cu))(),uu=(()=>(function(t){t.Json="json"}(uu||(uu={})),uu))();class Rl{constructor(n){this.responseType=cu.Json,this.requestType=uu.Json,this.ignoreAuth=!1,Object.assign(this,n)}}let Ga=(()=>{class t{constructor(e,i,s){this.http=e,this.router=i,this.ngZone=s,this.apiPrefix="api/",this.wsApiPrefix="api/"}get(e,i=null){return this.request("GET",e,{},i)}post(e,i={},s=null){return this.request("POST",e,i,s)}put(e,i={},s=null){return this.request("PUT",e,i,s)}delete(e,i=null){return this.request("DELETE",e,{},i)}ws(e,i={}){const a=function _7(t){return new b0(t)}((location.protocol.startsWith("https")?"wss://":"ws://")+location.host+"/"+this.wsApiPrefix+e);return a.next(i),a}request(e,i,s,o){return s=s||{},o=o||new Rl,i.startsWith("/")&&(i=i.substr(1,i.length-1)),this.http.request(e,this.apiPrefix+i,{...this.getRequestOptions(o),responseType:o.responseType,withCredentials:!0,body:this.getPostBody(s,o)}).pipe(Xe(a=>this.successHandler(a)),Qr(a=>this.errorHandler(a,o)))}getRequestOptions(e){const i={};return i.headers=new wo,e.requestType===uu.Json&&(i.headers=i.headers.append("Content-Type","application/json")),i}getPostBody(e,i){if(i.requestType===uu.Json)return JSON.stringify(e);const s=new FormData;return Object.keys(e).forEach(o=>s.append(o,e[o])),s}successHandler(e){if("string"==typeof e&&"manager token is null"===e)throw new Error(e);return e}errorHandler(e,i){if(!i.ignoreAuth){if(401===e.status){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}if(e.error&&"string"==typeof e.error&&e.error.includes("change password")){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}}return Dr(an(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl),Ce(Ut),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function g7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}function v7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}const y7=ru(class{constructor(t){this._elementRef=t}},"primary"),M7=new Be("mat-progress-spinner-default-options",{providedIn:"root",factory:function w7(){return{diameter:100}}});class Vr extends y7{constructor(n,e,i,s,o,a,l,c){super(n),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=x.EMPTY,this.mode="determinate";const _=Vr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),_.has(i.head)||_.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,"mat-spinner"===n.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&l&&a&&c&&(this._resizeSubscription=l.change(150).subscribe(()=>{"indeterminate"===this.mode&&c.run(()=>a.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=eo(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=eo(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,eo(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=Rx(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){const e=50*(n.currentScale??1);return`${e}% ${e}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,i=Vr._diameters;let s=i.get(n);if(!s||!s.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),n.appendChild(o),s||(s=new Set,i.set(n,s)),s.add(e)}}_getAnimationText(){const n=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*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Vr._diameters=new WeakMap,Vr.\u0275fac=function(n){return new(n||Vr)(N(bt),N(Di),N(Ct,8),N(Ui,8),N(M7),N(Xn),N(Il),N(mt))},Vr.\u0275cmp=Qe({type:Vr,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(Wt("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),Ia("width",e.diameter,"px")("height",e.diameter,"px"),dn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[pt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(ba(),T(0,"svg",0,1),U(2,g7,1,11,"circle",2),U(3,v7,1,9,"circle",3),k()),2&n&&(Ia("width",e.diameter,"px")("height",e.diameter,"px"),D("ngSwitch","indeterminate"===e.mode),Wt("viewBox",e._getViewBox()),d(2),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1))},dependencies:[Hc,kp],styles:[".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:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[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-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition: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)}}"],encapsulation:2,changeDetection:0});let S7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,yo,Pn]}),t})();const D7=function(t){return{"white-theme":t}};let ko=(()=>{class t{constructor(){this.showWhite=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"mat-spinner",1),k()),2&e&&(D("ngClass",Ue(2,D7,i.showWhite)),d(1),D("diameter",50))},dependencies:[Wn,Vr],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t})();function k7(t,n){1&t&&(T(0,"div",5)(1,"div"),De(2,"img",6),T(3,"div"),O(4),Y(5,"translate"),k()()()),2&t&&(d(4),pe(B(5,1,"common.window-size-error")))}function T7(t,n){1&t&&De(0,"router-outlet")}function x7(t,n){1&t&&De(0,"app-loading-indicator",7)}const L7=function(t){return{background:t}};let E7=(()=>{class t{constructor(e,i,s,o,a,l){this.storage=e,this.snackbarService=o,this.languageService=a,this.apiService=l,this.inVpnClient=!1,this.hypervisorPkObtained=!1,this.pkErrorShown=!1,s.afterOpened.subscribe(()=>o.closeCurrent()),i.events.subscribe(c=>{c instanceof za&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(()=>o.closeCurrentIfTemporaryError()),i.events.subscribe(()=>{this.inVpnClient=i.url.includes("/vpn/")||i.url.includes("vpnlogin"),i.url.length>2&&(document.title=this.inVpnClient?"Skywire VPN":"Skywire Manager")}),this.languageService.loadLanguageSettings(),this.checkHypervisorPk(0)}checkHypervisorPk(e){ze(1).pipe(Ji(e),we(()=>this.apiService.get("about"))).subscribe(i=>{i.public_key?(this.finishStartup(i.public_key),this.hypervisorPkObtained=!0):(this.pkErrorShown||(this.snackbarService.showError("start.loading-error",null,!0),this.pkErrorShown=!0),this.checkHypervisorPk(1e3))},i=>{if(!this.pkErrorShown){const s=an(i);this.snackbarService.showError("start.loading-error",null,!0,s),this.pkErrorShown=!0}this.checkHypervisorPk(1e3)})}finishStartup(e){this.storage.initialize(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(Ut),N(Gn),N(Vn),N(e_),N(Ga))},t.\u0275cmp=Qe({type:t,selectors:[["app-root"]],decls:5,vars:6,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[4,"ngIf"],["class","h-100",4,"ngIf"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"],[1,"h-100"]],template:function(e,i){1&e&&(U(0,k7,6,3,"div",0),T(1,"div",1),De(2,"div",2),U(3,T7,1,0,"router-outlet",3),U(4,x7,1,0,"app-loading-indicator",4),k()),2&e&&(D("ngIf",i.inVpnClient),d(2),D("ngClass",Ue(4,L7,i.inVpnClient)),d(1),D("ngIf",i.hypervisorPkObtained),d(1),D("ngIf",!i.hypervisorPkObtained))},dependencies:[Wn,Ot,hm,ko,kt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),t})(),Th=(()=>{class t{constructor(e){this.router=e,this.forceFailInternal=!1}set forceFail(e){this.forceFailInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var To=(()=>(function(t){t[t.AuthDisabled=0]="AuthDisabled",t[t.Logged=1]="Logged",t[t.NotLogged=2]="NotLogged"}(To||(To={})),To))();let xh=(()=>{class t{constructor(e,i,s){this.apiService=e,this.translateService=i,this.authGuardService=s}login(e){return this.apiService.post("login",{username:"admin",password:e},new Rl({ignoreAuth:!0})).pipe(ui(i=>{if(!0!==i)throw new Error;this.authGuardService.forceFail=!1}))}checkLogin(){return this.apiService.get("user",new Rl({ignoreAuth:!0})).pipe(Xe(e=>e.username?To.Logged:To.AuthDisabled),Qr(e=>(e=an(e)).originalError&&401===e.originalError.status?(this.authGuardService.forceFail=!0,ze(To.NotLogged)):Dr(e)))}logout(){return this.apiService.post("logout",{}).pipe(ui(e=>{if(!0!==e)throw new Error;this.authGuardService.forceFail=!0}))}changePassword(e,i){return this.apiService.post("change-password",{old_password:e,new_password:i},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(s=>{if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(this.translateService.instant("settings.password.errors.default-password")):new Error(this.translateService.instant("common.operation-error"))}),Qr(s=>((s=an(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Dr(s))))}initialConfig(e){return this.apiService.post("create-account",{username:"admin",password:e},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(i=>{if("string"==typeof i&&"true"===i.trim())return!0;throw new Error(i)}),Qr(i=>((i=an(i)).originalError&&500===i.originalError.status&&(i.translatableErrorMsg="settings.password.initial-config.error"),Dr(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Hr),Ce(Th))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),P7=(()=>{class t{constructor(e,i){this.authService=e,this.router=i}ngOnInit(){this.verificationSubscription=this.authService.checkLogin().subscribe(e=>{this.router.navigate(e!==To.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},()=>{this.router.navigate(["nodes"],{replaceUrl:!0})})}ngOnDestroy(){this.verificationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-loading-indicator"),k())},dependencies:[ko]}),t})(),Q2=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt))},t.\u0275dir=Je({type:t}),t})(),Fl=(()=>{class t extends Q2{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,features:[pt]}),t})();const no=new Be("NgValueAccessor"),O7={provide:no,useExisting:sn(()=>dr),multi:!0},R7=new Be("CompositionEventMode");let dr=(()=>{class t extends Q2{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A7(){const t=bo()?bo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt),N(R7,8))},t.\u0275dir=Je({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(e,i){1&e&&Me("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[on([O7]),pt]}),t})();function qa(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function X2(t){return null!=t&&"number"==typeof t.length}const hr=new Be("NgValidators"),Ka=new Be("NgAsyncValidators"),N7=/^(?=.{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 yn{static min(n){return function eL(t){return n=>{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function nL(t){return qa(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function iL(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function rL(t){return qa(t.value)||N7.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function sL(t){return n=>qa(n.value)||!X2(n.value)?null:n.value.length{if(qa(i.value))return null;const s=i.value;return n.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(n)}static nullValidator(n){return null}static compose(n){return fL(n)}static composeAsync(n){return pL(n)}}function oL(t){return n=>X2(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function n_(t){return null}function lL(t){return null!=t}function cL(t){return Ld(t)?ge(t):t}function uL(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function dL(t,n){return n.map(e=>e(t))}function hL(t){return t.map(n=>function Y7(t){return!t.validate}(n)?n:e=>n.validate(e))}function fL(t){if(!t)return null;const n=t.filter(lL);return 0==n.length?null:function(e){return uL(dL(e,n))}}function M0(t){return null!=t?fL(hL(t)):null}function pL(t){if(!t)return null;const n=t.filter(lL);return 0==n.length?null:function(e){return Y2(dL(e,n).map(cL)).pipe(Xe(uL))}}function w0(t){return null!=t?pL(hL(t)):null}function mL(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function _L(t){return t._rawValidators}function gL(t){return t._rawAsyncValidators}function C0(t){return t?Array.isArray(t)?t:[t]:[]}function i_(t,n){return Array.isArray(t)?t.includes(n):t===n}function vL(t,n){const e=C0(n);return C0(t).forEach(s=>{i_(e,s)||e.push(s)}),e}function bL(t,n){return C0(n).filter(e=>!i_(t,e))}class yL{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(n){this._rawValidators=n||[],this._composedValidatorFn=M0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=w0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Br extends yL{get formDirective(){return null}get path(){return null}}class xo extends yL{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ML{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let fr=(()=>{class t extends ML{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(xo,2))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[pt]}),t})(),pr=(()=>{class t extends ML{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Br,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[pt]}),t})();const Lh="VALID",s_="INVALID",du="PENDING",Eh="DISABLED";function T0(t){return(o_(t)?t.validators:t)||null}function CL(t){return Array.isArray(t)?M0(t):t||null}function x0(t,n){return(o_(n)?n.asyncValidators:t)||null}function SL(t){return Array.isArray(t)?w0(t):t||null}function o_(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function DL(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new Le(1e3,"");if(!i[e])throw new Le(1001,"")}function kL(t,n,e){t._forEachChild((i,s)=>{if(void 0===e[s])throw new Le(1002,"")})}class a_{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=CL(this._rawValidators),this._composedAsyncValidatorFn=SL(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Lh}get invalid(){return this.status===s_}get pending(){return this.status==du}get disabled(){return this.status===Eh}get enabled(){return this.status!==Eh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=CL(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=SL(n)}addValidators(n){this.setValidators(vL(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(vL(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(bL(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(bL(n,this._rawAsyncValidators))}hasValidator(n){return i_(this._rawValidators,n)}hasAsyncValidator(n){return i_(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=du,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Eh,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Lh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lh||this.status===du)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Eh:Lh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=du,this._hasOwnPendingAsyncValidator=!0;const e=cL(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,s)=>i&&i._find(s),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ft,this.statusChanges=new ft}_calculateStatus(){return this._allControlsDisabled()?Eh:this.errors?s_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(du)?du:this._anyControlsHaveStatus(s_)?s_:Lh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){o_(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class hu extends a_{constructor(n,e,i){super(T0(e),x0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){kL(this,0,n),Object.keys(n).forEach(i=>{DL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const s=this.controls[i];s&&s.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,s)=>((i.enabled||this.disabled)&&(e[s]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((s,o)=>{i=e(i,s,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const TL=hu;class xL extends hu{}function Ph(t,n){L0(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function $7(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&LL(t,n)})}(t,n),function q7(t,n){const e=(i,s)=>{n.valueAccessor.writeValue(i),s&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function G7(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&LL(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function W7(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function c_(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),d_(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function u_(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function L0(t,n){const e=_L(t);null!==n.validator?t.setValidators(mL(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=gL(t);null!==n.asyncValidator?t.setAsyncValidators(mL(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();u_(n._rawValidators,s),u_(n._rawAsyncValidators,s)}function d_(t,n){let e=!1;if(null!==t){if(null!==n.validator){const s=_L(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.validator);o.length!==s.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const s=gL(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.asyncValidator);o.length!==s.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return u_(n._rawValidators,i),u_(n._rawAsyncValidators,i),e}function LL(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function EL(t,n){L0(t,n)}function IL(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const X7={provide:Br,useExisting:sn(()=>Oh)},Ih=(()=>Promise.resolve(null))();let Oh=(()=>{class t extends Br{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ft,this.form=new hu({},M0(e),w0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ih.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ph(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path),s=new hu({});EL(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Ih.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,IL(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([X7]),pt]}),t})();function OL(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function AL(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const fu=class extends a_{constructor(n=null,e,i){super(T0(e),x0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),o_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=AL(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){OL(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){OL(this._onDisabledChange,n)}_forEachChild(n){}_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(n){AL(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},h_=fu;let mr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),VL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const I0=new Be("NgModelWithFormControlWarning"),lU={provide:Br,useExisting:sn(()=>ki)};let ki=(()=>{class t extends Br{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ft,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(d_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ph(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){c_(e.control||null,e,!1),function J7(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,IL(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(c_(i||null,e),(t=>t instanceof fu)(s)&&(Ph(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);EL(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function K7(t,n){return d_(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){L0(this.form,this),this._oldForm&&d_(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([lU]),pt,Ii]}),t})();const dU={provide:xo,useExisting:sn(()=>er)};let er=(()=>{class t extends xo{constructor(e,i,s,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new ft,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=function P0(t,n){if(!n)return null;let e,i,s;return Array.isArray(n),n.forEach(o=>{o.constructor===dr?e=o:function Q7(t){return Object.getPrototypeOf(t.constructor)===Fl}(o)?i=o:s=o}),s||i||e||null}(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),function E0(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return function l_(t,n){return[...n.path,t]}(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._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(N(Br,13),N(hr,10),N(Ka,10),N(no,10),N(I0,8))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[on([dU]),pt,Ii]}),t})();let Nl=(()=>{class t{constructor(){this._validator=n_}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):n_,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,features:[Ii]}),t})();const SU={provide:hr,useExisting:sn(()=>es),multi:!0};let es=(()=>{class t extends Nl{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function GL(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>oL(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Wt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[on([SU]),pt]}),t})(),eE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[VL]}),t})(),kU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[eE]}),t})(),H0=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:I0,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[eE]}),t})();class tE extends a_{constructor(n,e,i){super(T0(e),x0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let s=this._adjustIndex(n);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),e&&(this.controls.splice(s,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){kL(this,0,n),n.forEach((i,s)=>{DL(this,!1,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function nE(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let TU=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const s=this._reduceControls(e);let o={};return nE(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new hu(s,o)}record(e,i=null){const s=this._reduceControls(e);return new xL(s,i)}control(e,i,s){let o={};return this.useNonNullable?(nE(i)?o=i:(o.validators=i,o.asyncValidators=s),new fu(e,{...o,nonNullable:!0})):new fu(e,i,s)}array(e,i,s){const o=e.map(a=>this._createControl(a));return new tE(o,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return e instanceof fu||e instanceof a_?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:H0}),t})(),ts=(()=>{class t extends TU{group(e,i=null){return super.group(e,i)}control(e,i,s){return super.control(e,i,s)}array(e,i,s){return super.array(e,i,s)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:H0}),t})();const xU=["connectionContainer"],LU=["inputContainer"],EU=["label"];function PU(t,n){1&t&&(qe(0),T(1,"div",14),De(2,"div",15)(3,"div",16)(4,"div",17),k(),T(5,"div",18),De(6,"div",15)(7,"div",16)(8,"div",17),k(),Ke())}function IU(t,n){if(1&t){const e=nt();T(0,"div",19),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),mi(1,1),k()}2&t&&D("cdkObserveContentDisabled","outline"!=W().appearance)}function OU(t,n){if(1&t&&(qe(0),mi(1,2),T(2,"span"),O(3),k(),Ke()),2&t){const e=W(2);d(3),pe(e._control.placeholder)}}function AU(t,n){1&t&&mi(0,3,["*ngSwitchCase","true"])}function RU(t,n){1&t&&(T(0,"span",23),O(1," *"),k())}function FU(t,n){if(1&t){const e=nt();T(0,"label",20,21),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),U(2,OU,4,1,"ng-container",12),U(3,AU,1,0,"ng-content",12),U(4,RU,2,0,"span",22),k()}if(2&t){const e=W();dn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),D("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Wt("for",e._control.id)("aria-owns",e._control.id),d(2),D("ngSwitchCase",!1),d(1),D("ngSwitchCase",!0),d(1),D("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function NU(t,n){1&t&&(T(0,"div",24),mi(1,4),k())}function YU(t,n){if(1&t&&(T(0,"div",25),De(1,"span",26),k()),2&t){const e=W();d(1),dn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function HU(t,n){1&t&&(T(0,"div"),mi(1,5),k()),2&t&&D("@transitionMessages",W()._subscriptAnimationState)}function VU(t,n){if(1&t&&(T(0,"div",30),O(1),k()),2&t){const e=W(2);D("id",e._hintLabelId),d(1),pe(e.hintLabel)}}function BU(t,n){if(1&t&&(T(0,"div",27),U(1,VU,2,2,"div",28),mi(2,6),De(3,"div",29),mi(4,7),k()),2&t){const e=W();D("@transitionMessages",e._subscriptAnimationState),d(1),D("ngIf",e.hintLabel)}}const jU=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],UU=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let zU=0;const iE=new Be("MatError");let Ah=(()=>{class t{constructor(e,i){this.id="mat-error-"+zU++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Ht("aria-live"),N(bt))},t.\u0275dir=Je({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Wt("id",i.id)},inputs:{id:"id"},features:[on([{provide:iE,useExisting:t}])]}),t})();const WU={transitionMessages:Ko("transitionMessages",[Nr("enter",bn({opacity:1,transform:"translateY(0%)"})),Sr("void => enter",[bn({opacity:0,transform:"translateY(-5px)"}),Fr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let f_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t}),t})();const $U=new Be("MatHint");let rE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-label"]]}),t})(),GU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-placeholder"]]}),t})();const qU=new Be("MatPrefix"),KU=new Be("MatSuffix");let sE=0;const QU=ru(class{constructor(t){this._elementRef=t}},"primary"),JU=new Be("MAT_FORM_FIELD_DEFAULT_OPTIONS"),V0=new Be("MatFormField");let jr=(()=>{class t extends QU{constructor(e,i,s,o,a,l,c){super(e),this._changeDetectorRef=i,this._dir=s,this._defaults=o,this._platform=a,this._ngZone=l,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new J,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+sE++,this._labelId="mat-form-field-label-"+sE++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=En(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Yr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(fn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Yr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Yr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fn(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(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_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,Jc(this._label.nativeElement,"transitionend").pipe(An(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 e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,s=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const E=i.querySelectorAll(`${s}, ${o}`);for(let R=0;R0?.75*he+10:0}for(let E=0;E{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Rm,Pn]}),t})();const aE=Ll({passive:!0});let XU=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ba;const i=Jo(e),s=this._monitoredElements.get(i);if(s)return s.subject;const o=new J,a="cdk-text-field-autofilled",l=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,aE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",l,aE)}}),o}stopMonitoring(e){const i=Jo(e),s=this._monitoredElements.get(i);s&&(s.unlisten(),s.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const ez=new Be("MAT_INPUT_VALUE_ACCESSOR"),tz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let nz=0;const iz=M2(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new J}});let vs=(()=>{class t extends iz{constructor(e,i,s,o,a,l,c,_,E,R){super(l,o,a,s),this._elementRef=e,this._platform=i,this._autofillMonitor=_,this._formField=R,this._uid="mat-input-"+nz++,this.focused=!1,this.stateChanges=new J,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Ax().has(he)),this._iOSKeyupListener=he=>{const Se=he.target;!Se.value&&0===Se.selectionStart&&0===Se.selectionEnd&&(Se.setSelectionRange(1,1),Se.setSelectionRange(0,0))};const $=this._elementRef.nativeElement,X=$.nodeName.toLowerCase();this._inputValueAccessor=c||$,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&E.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===X,this._isTextarea="textarea"===X,this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=En(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ax().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=En(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,i=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(i!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=i,i?s.setAttribute("placeholder",i):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){tz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Di),N(xo,10),N(Oh,8),N(ki,8),N(Wm),N(ez,10),N(XU),N(mt),N(V0,8))},t.\u0275dir=Je({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&Me("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(pl("disabled",i.disabled)("required",i.required),Wt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),dn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[on([{provide:f_,useExisting:t}]),pt,Ii]}),t})(),rz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Wm],imports:[lE,p_,Pn,lE,p_]}),t})();const sz=["tooltip"],cE="tooltip-panel",uE=Ll({passive:!0}),dE=new Be("mat-tooltip-scroll-strategy"),cz={provide:dE,deps:[Xr],useFactory:function lz(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},uz=new Be("mat-tooltip-default-options",{providedIn:"root",factory:function dz(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let hz=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this._overlay=e,this._elementRef=i,this._scrollDispatcher=s,this._viewContainerRef=o,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=_,this._dir=R,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new J,this._scrollStrategy=E,this._document=X,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),R.change.pipe(fn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=eo(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=eo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,s])=>{e.removeEventListener(i,s,uE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Xc(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=i.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(fn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${cE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!So(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,s=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...s.main,...o.main}),this._addOffset({...s.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i||"below"==i?s={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i?s={overlayX:"center",overlayY:"bottom"}:"below"==i?s={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(An(1),fn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:s,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const c=`${this._cssClassPrefix}-${cE}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_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 e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const s=i.relatedTarget;(!s||!this._overlayRef?.overlayElement.contains(s))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,s])=>{this._elementRef.nativeElement.addEventListener(i,s,uE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;i!==s&&!s.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,s=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!i.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),vi=(()=>{class t extends hz{constructor(e,i,s,o,a,l,c,_,E,R,$,X){super(e,i,s,o,a,l,c,_,E,R,$,X),this._tooltipComponent=pz}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(t2),N(ar),N(mt),N(Di),N(G8),N(Do),N(dE),N(gs,8),N(uz,8),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[pt]}),t})(),fz=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,s=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:s),i.classList.add(e?s:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Ui,8))},t.\u0275dir=Je({type:t}),t})(),pz=(()=>{class t extends fz{constructor(e,i,s){super(e,s),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Fm),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&vt(sz,7),2&e){let s;at(s=lt())&&(i._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&Me("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Ia("zoom",i.isVisible()?1:null)},features:[pt],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(T(0,"div",0,1),Me("animationend",function(o){return i._handleAnimationEnd(o)}),Y(2,"async"),O(3),k()),2&e){let s;dn("mat-tooltip-handset",null==(s=B(2,4,i._isHandset))?null:s.matches),D("ngClass",i.tooltipClass),d(3),pe(i.message)}},dependencies:[Wn,zD],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[cz],imports:[n0,yo,nu,Pn,Pn,vh]}),t})();const _z=["button1"],gz=["button2"];function vz(t,n){1&t&&De(0,"mat-spinner",4),2&t&&D("diameter",W().loadingSize)}function bz(t,n){1&t&&(T(0,"mat-icon"),O(1,"error_outline"),k())}const yz=function(t){return{"for-dark-background":t}},Mz=["*"];var ea=(()=>(function(t){t[t.Normal=0]="Normal",t[t.Error=1]="Error",t[t.Loading=2]="Loading"}(ea||(ea={})),ea))();let Tr=(()=>{class t{constructor(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new ft,this.state=ea.Normal,this.buttonStates=ea}ngOnDestroy(){this.action.complete()}click(){this.disabled||(this.reset(),this.action.emit())}reset(e=!0){this.state=ea.Normal,e&&(this.disabled=!1)}focus(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}showEnabled(){this.disabled=!1}showDisabled(){this.disabled=!0}showLoading(e=!0){this.state=ea.Loading,e&&(this.disabled=!0)}showError(e=!0){this.state=ea.Error,e&&(this.disabled=!1)}get isLoading(){return this.state===ea.Loading}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-button"]],viewQuery:function(e,i){if(1&e&&(vt(_z,5),vt(gz,5)),2&e){let s;at(s=lt())&&(i.button1=s.first),at(s=lt())&&(i.button2=s.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:Mz,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i.click()}),U(2,vz,1,1,"mat-spinner",2),U(3,bz,2,0,"mat-icon",3),mi(4),k()),2&e&&(D("disabled",i.disabled)("color",i.color)("ngClass",Ue(5,yz,i.forDarkBackground)),d(2),D("ngIf",i.state===i.buttonStates.Loading),d(1),D("ngIf",i.state===i.buttonStates.Error))},dependencies:[Wn,Ot,kr,Cn,Vr],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t})();const wz=["button"],Cz=["firstInput"],Sz=function(t){return{"element-disabled":t}};function Dz(t,n){if(1&t&&(T(0,"mat-form-field",10),De(1,"input",11),Y(2,"translate"),T(3,"mat-error"),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("ngClass",Ue(7,Sz,e.working)),d(1),D("placeholder",B(2,3,"settings.password.old-password")),d(3),ye(" ",B(5,5,"settings.password.errors.old-password-required")," ")}}const kz=function(t){return{"rounded-elevated-box":t}},hE=function(t,n){return{"white-form-field":t,"element-disabled":n}},Tz=function(t,n){return{"mt-2 app-button":t,"float-right":n}};let fE=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.forInitialConfig=!1}ngOnInit(){this.form=new TL({oldPassword:new h_("",this.forInitialConfig?null:yn.required),newPassword:new h_("",yn.compose([yn.required,yn.minLength(6),yn.maxLength(64)])),newPasswordConfirmation:new h_("",[yn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(()=>this.form.controls.newPasswordConfirmation.updateValueAndValidity())}ngAfterViewInit(){this.forInitialConfig&&setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}get working(){return!!this.button&&this.button.isLoading}changePassword(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(()=>{this.dialog.closeAll(),this.snackbarService.showDone("settings.password.initial-config.done")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(()=>{this.router.navigate(["nodes"]),this.snackbarService.showDone("settings.password.password-changed")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e)}))}validatePasswords(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-password"]],viewQuery:function(e,i){if(1&e&&(vt(wz,5),vt(Cz,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:40,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",3,"ngClass",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field",3,"ngClass"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),O(5," help "),k()(),T(6,"form",3),U(7,Dz,6,9,"mat-form-field",4),T(8,"mat-form-field",0),De(9,"input",5,6),Y(11,"translate"),T(12,"mat-error"),O(13),Y(14,"translate"),k()(),T(15,"mat-form-field",0),De(16,"input",7),Y(17,"translate"),T(18,"mat-error"),O(19),Y(20,"translate"),k()(),T(21,"app-button",8,9),Me("action",function(){return i.changePassword()}),O(23),Y(24,"translate"),k()()()()),2&e&&(D("ngClass",Ue(29,kz,!i.forInitialConfig)),d(2),fs((i.forInitialConfig?"":"white-")+"form-help-icon-container"),d(1),D("inline",!0)("matTooltip",B(4,17,i.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),d(3),D("formGroup",i.form),d(1),D("ngIf",!i.forInitialConfig),d(1),D("ngClass",hn(31,hE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(11,19,i.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),d(4),ye(" ",B(14,21,"settings.password.errors.new-password-error")," "),d(2),D("ngClass",hn(34,hE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(17,23,i.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),d(3),ye(" ",B(20,25,"settings.password.errors.passwords-not-match")," "),d(2),D("ngClass",hn(37,Tz,!i.forInitialConfig,i.forInitialConfig))("disabled",!i.form.valid)("forDarkBackground",!i.forInitialConfig),d(2),ye(" ",B(24,27,i.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Tr,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),t})();function xz(t,n){1&t&&(T(0,"button",5)(1,"mat-icon"),O(2,"close"),k()())}function Lz(t,n){1&t&&Pa(0)}const pE=function(t){return{"content-margin":t}};function Ez(t,n){if(1&t&&(T(0,"mat-dialog-content",6),U(1,Lz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,pE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Pz(t,n){1&t&&Pa(0)}function Iz(t,n){if(1&t&&(T(0,"div",6),U(1,Pz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,pE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Oz(t,n){1&t&&mi(0)}const Az=["*"];let bi=(()=>{class t{constructor(e){this.matDialog=e,this.includeScrollableArea=!0,this.includeVerticalMargins=!0}set dialog(e){e.disableClose=!0,this.dialogInternal=e}onKeyUp(){this.closePopup()}closePopup(){this.disableDismiss||this.matDialog.openDialogs[this.matDialog.openDialogs.length-1].id===this.dialogInternal.id&&this.dialogInternal.close()}}return t.\u0275fac=function(e){return new(e||t)(N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-dialog"]],hostBindings:function(e,i){1&e&&Me("keyup.esc",function(){return i.onKeyUp()},0,Hg)},inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins",dialog:"dialog"},ngContentSelectors:Az,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&(Kr(),T(0,"div",0)(1,"span"),O(2),k(),U(3,xz,3,0,"button",1),k(),De(4,"div",2),U(5,Ez,2,4,"mat-dialog-content",3),U(6,Iz,2,4,"div",3),U(7,Oz,1,0,"ng-template",null,4,Oa)),2&e&&(d(2),pe(i.headline),d(1),D("ngIf",!i.disableDismiss),d(2),D("ngIf",i.includeScrollableArea),d(1),D("ngIf",!i.includeScrollableArea))},dependencies:[Wn,Ot,Tp,E9,P9,h0,kr,Cn],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t})(),Rz=(()=>{class t{constructor(e){this.dialogRef=e}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}}return t.\u0275fac=function(e){return new(e||t)(N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-initial-setup"]],decls:3,vars:5,consts:[[3,"headline","dialog"],[3,"forInitialConfig"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),De(2,"app-password",1),k()),2&e&&(D("headline",B(1,3,"settings.password.initial-config.title"))("dialog",i.dialogRef),d(2),D("forInitialConfig",!0))},dependencies:[fE,bi,kt]}),t})();function Fz(t,n){if(1&t){const e=nt();T(0,"button",3),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().closePopup(o))}),De(1,"img",4),T(2,"div",5),O(3),k()()}if(2&t){const e=n.$implicit;d(1),D("src","assets/img/lang/"+e.iconName,Ho),d(2),pe(e.name)}}let mE=(()=>{class t{constructor(e,i){this.dialogRef=e,this.languageService=i,this.languages=[]}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.subscription=this.languageService.languages.subscribe(e=>{this.languages=e})}ngOnDestroy(){this.subscription.unsubscribe()}closePopup(e=null){e&&this.languageService.changeLanguage(e.code),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(e_))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-language"]],decls:4,vars:5,consts:[[3,"headline","dialog"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),U(3,Fz,4,2,"button",2),k()()),2&e&&(D("headline",B(1,3,"language.title"))("dialog",i.dialogRef),d(3),D("ngForOf",i.languages))},dependencies:[Fi,kr,bi,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t})();function Nz(t,n){1&t&&De(0,"img",2),2&t&&D("src","assets/img/lang/"+W().language.iconName,Ho)}let Yz=(()=>{class t{constructor(e,i){this.languageService=e,this.dialog=i}ngOnInit(){this.subscription=this.languageService.currentLanguage.subscribe(e=>{this.language=e})}ngOnDestroy(){this.subscription.unsubscribe()}openLanguageWindow(){mE.openDialog(this.dialog)}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,i){1&e&&(T(0,"button",0),Me("click",function(){return i.openLanguageWindow()}),Y(1,"translate"),U(2,Nz,1,1,"img",1),k()),2&e&&(D("matTooltip",B(1,2,"language.title")),d(2),D("ngIf",i.language))},dependencies:[Ot,kr,vi,kt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})();const Hz=function(t){return{"element-disabled":t}};let _E=(()=>{class t{constructor(e,i,s,o,a){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.route=a,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}ngOnInit(){this.routeSubscription=this.route.paramMap.subscribe(e=>{this.vpnKey=e.get("key"),this.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),this.verificationSubscription=this.authService.checkLogin().subscribe(i=>{i!==To.NotLogged&&this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new TL({password:new h_("",yn.required)})}ngOnDestroy(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}login(){!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(()=>this.onLoginSuccess(),e=>this.onLoginError(e)))}configure(){Rz.openDialog(this.dialog)}onLoginSuccess(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}onLoginError(e){e=an(e),this.loading=!1,this.snackbarService.showError(e.originalError&&401===e.originalError.status?"login.incorrect-password":e.translatableErrorMsg)}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-login"]],decls:14,vars:11,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input",3,"ngClass"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-lang-button"),T(2,"div",1),De(3,"img",2),T(4,"form",3)(5,"div",4)(6,"input",5),Me("keydown.enter",function(){return i.login()}),Y(7,"translate"),k(),T(8,"button",6),Me("click",function(){return i.login()}),T(9,"mat-icon"),O(10,"chevron_right"),k()()()(),T(11,"div",7),Me("click",function(){return i.configure()}),O(12),Y(13,"translate"),k()()()),2&e&&(d(4),D("formGroup",i.form),d(1),D("ngClass",Ue(9,Hz,i.loading)),d(1),D("placeholder",B(7,5,"login.password")),d(2),D("disabled",!i.form.valid||i.loading),d(4),pe(B(13,7,"login.initial-config")))},dependencies:[Wn,mr,dr,fr,pr,ki,er,Cn,Yz,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),t})();var B0=F(9774),m_=F.n(B0);class j0{}class Vz{}var io=(()=>(function(t){t.Connecting="connecting",t.Unhealthy="unhealthy",t.Healthy="healthy"}(io||(io={})),io))();class Bz{constructor(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}var ta=(()=>(function(t){t.UseCustomSettings="updaterUseCustomSettings",t.Channel="updaterChannel",t.Version="updaterVersion",t.ArchiveURL="updaterArchiveURL",t.ChecksumsURL="updaterChecksumsURL"}(ta||(ta={})),ta))();let pu=(()=>{class t{constructor(e,i){this.apiService=e,this.storageService=i,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Wi(null),this.updatingNodeListSubject=new Wi(!1),this.specificNodeSubject=new Wi(null),this.updatingSpecificNodeSubject=new Wi(!1),this.specificNodeTrafficDataSubject=new Wi(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(s=>{this.dataRefreshDelay=1e3*s,this.nodeListRefreshSubscription&&this.forceNodeListRefresh(),this.specificNodeRefreshSubscription&&this.forceSpecificNodeRefresh()})}get nodeList(){return this.nodeListSubject.asObservable()}get updatingNodeList(){return this.updatingNodeListSubject.asObservable()}get specificNode(){return this.specificNodeSubject.asObservable()}get updatingSpecificNode(){return this.updatingSpecificNodeSubject.asObservable()}get specificNodeTrafficData(){return this.specificNodeTrafficDataSubject.asObservable()}startRequestingNodeList(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);let i=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);i=i>0?i:0,this.startDataSubscription(i,!0)}startRequestingSpecificNode(e){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===e)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);const s=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==e||0===s?(this.specificNodeKey=e,this.specificNodeTrafficDataSubject.next(new Bz),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(s,!1)}calculateRemainingTime(e){if(e<1)return 0;let i=this.dataRefreshDelay-(Date.now()-e);return i<0&&(i=0),i}stopRequestingNodeList(){this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.nodeListRefreshSubscription.unsubscribe(),this.nodeListRefreshSubscription=null}))}stopRequestingSpecificNode(){this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.specificNodeRefreshSubscription.unsubscribe(),this.specificNodeRefreshSubscription=null}))}startDataSubscription(e,i){let s,o,a;i?(s=this.updatingNodeListSubject,o=this.nodeListSubject,a=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,o=this.specificNodeSubject,a=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());const l=ze(1).pipe(Ji(e),ui(()=>s.next(!0)),Ji(120),we(()=>a)).subscribe(c=>{let _;s.next(!1),i?_=this.dataRefreshDelay:(this.updateTrafficData(c.transports),_=this.calculateRemainingTime(this.lastScheduledHistoryUpdateTime),_<1e3&&(this.lastScheduledHistoryUpdateTime=Date.now(),_=this.dataRefreshDelay));const E={data:c,error:null,momentOfLastCorrectUpdate:Date.now()};o.next(E),this.startDataSubscription(_,i)},c=>{s.next(!1),c=an(c);const _={data:o.value&&o.value.data?o.value.data:null,error:c,momentOfLastCorrectUpdate:o.value?o.value.momentOfLastCorrectUpdate:-1};!i&&c.originalError&&400===c.originalError.status||this.startDataSubscription(Kt.connectionRetryDelay,i),o.next(_)});i?this.nodeListRefreshSubscription=l:this.specificNodeRefreshSubscription=l}updateTrafficData(e){const i=this.specificNodeTrafficDataSubject.value;if(i.totalSent=0,i.totalReceived=0,e&&e.length>0&&(i.totalSent=e.reduce((s,o)=>s+o.sent,0),i.totalReceived=e.reduce((s,o)=>s+o.recv,0)),0===i.sentHistory.length)for(let s=0;sthis.maxTrafficHistorySlots&&(o=this.maxTrafficHistorySlots),0===o)i.sentHistory[i.sentHistory.length-1]=i.totalSent,i.receivedHistory[i.receivedHistory.length-1]=i.totalReceived;else for(let a=0;athis.maxTrafficHistorySlots&&(i.sentHistory.splice(0,i.sentHistory.length-this.maxTrafficHistorySlots),i.receivedHistory.splice(0,i.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(i)}forceNodeListRefresh(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}forceSpecificNodeRefresh(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}getNodes(){let e=[];return this.apiService.get("visors-summary").pipe(Xe(i=>{i&&i.forEach(c=>{const _=new j0;_.online=c.online,_.localPk=c.overview.local_pk,_.version=c.overview.build_info.version,_.autoconnectTransports=c.public_autoconnect,_.buildTag=c.build_tag?c.build_tag:"",_.ip=c.overview&&c.overview.local_ip&&c.overview.local_ip.trim()?c.overview.local_ip:null;const E=this.storageService.getLabelInfo(_.localPk);if(_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),!_.online)return _.dmsgServerPk="",_.roundTripPing="",void e.push(_);_.health={servicesHealth:c.health.services_health},_.dmsgServerPk=c.dmsg_stats.server_public_key,_.roundTripPing=this.nsToMs(c.dmsg_stats.round_trip),_.isHypervisor=c.is_hypervisor,e.push(_)});const s=new Map,o=[],a=[];e.forEach(c=>{s.set(c.localPk,c),c.online&&(o.push(c.localPk),a.push(c.ip))}),this.storageService.includeVisibleLocalNodes(o,a);const l=[];return this.storageService.getSavedLocalNodes().forEach(c=>{if(!s.has(c.publicKey)&&!c.hidden){const _=new j0;_.localPk=c.publicKey;const E=this.storageService.getLabelInfo(c.publicKey);_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),_.online=!1,_.dmsgServerPk="",_.roundTripPing="",l.push(_)}s.has(c.publicKey)&&!s.get(c.publicKey).online&&c.hidden&&s.delete(c.publicKey)}),e=[],s.forEach(c=>e.push(c)),e=e.concat(l),e}))}nsToMs(e){let i=new(m_())(e).dividedBy(1e6);return i=i.isLessThan(10)?i.decimalPlaces(2):i.decimalPlaces(0),i.toString(10)}getNode(e){return this.apiService.get(`visors/${e}/summary`).pipe(Xe(i=>{const s=new j0;s.localPk=i.overview.local_pk,s.version=i.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(i.uptime)),s.minHops=i.min_hops,s.buildTag=i.build_tag,s.skybianBuildVersion=i.skybian_build_version,s.isSymmeticNat=i.overview.is_symmetic_nat,s.publicIp=i.overview.public_ip,s.autoconnectTransports=i.public_autoconnect,s.ip=i.overview.local_ip&&i.overview.local_ip.trim()?i.overview.local_ip:null;const o=this.storageService.getLabelInfo(s.localPk);s.label=o&&o.label?o.label:this.storageService.getDefaultLabel(s),s.health={servicesHealth:i.health.services_health},s.transports=[],i.overview.transports&&i.overview.transports.forEach(l=>{s.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),s.persistentTransports=[],i.persistent_transports&&i.persistent_transports.forEach(l=>{s.persistentTransports.push({pk:l.pk,type:l.type})}),s.routes=[],i.routes&&i.routes.forEach(l=>{s.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:l.rule_summary.keep_alive,ruleType:l.rule_summary.rule_type,keyRouteId:l.rule_summary.key_route_id},l.rule_summary.app_fields&&l.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:l.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.app_fields.route_descriptor.dst_port,srcPk:l.rule_summary.app_fields.route_descriptor.src_pk,srcPort:l.rule_summary.app_fields.route_descriptor.src_port}}),l.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:l.rule_summary.forward_fields.next_rid,nextTid:l.rule_summary.forward_fields.next_tid},l.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:l.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:l.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:l.rule_summary.forward_fields.route_descriptor.src_port})),l.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],i.overview.apps&&i.overview.apps.forEach(l=>{s.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,detailedStatus:l.detailed_status,args:l.args})});let a=!1;return i.dmsg_stats&&(s.dmsgServerPk=i.dmsg_stats.server_public_key,s.roundTripPing=this.nsToMs(i.dmsg_stats.round_trip),a=!0),a||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}reboot(e){return this.apiService.post(`visors/${e}/restart`)}checkIfUpdating(e){return this.apiService.get(`visors/${e}/update/ws/running`)}checkUpdate(e){let i="stable";return i=localStorage.getItem(ta.Channel)||i,this.apiService.get(`visors/${e}/update/available/${i}`)}update(e){const i={channel:"stable"};if(localStorage.getItem(ta.UseCustomSettings)){const o=localStorage.getItem(ta.Channel);o&&(i.channel=o);const a=localStorage.getItem(ta.Version);a&&(i.version=a);const l=localStorage.getItem(ta.ArchiveURL);l&&(i.archive_url=l);const c=localStorage.getItem(ta.ChecksumsURL);c&&(i.checksums_url=c)}return this.apiService.ws(`visors/${e}/update/ws`,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jz=["firstInput"];let U0=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.storageService=o,this.snackbarService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({label:[this.data.label]})}ngAfterViewInit(){setTimeout(()=>this.firstInput.nativeElement.focus())}save(){const e=this.form.get("label").value.trim();e!==this.data.label?(this.storageService.saveLabel(this.data.id,e,this.data.identifiedElementType),e?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-label"]],viewQuery:function(e,i){if(1&e&&vt(jz,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.save()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"labeled-element.edit-label"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"edit-label.label")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const Uz=["cancelButton"],zz=["confirmButton"];function Wz(t,n){if(1&t&&(T(0,"div"),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;d(1),ye(" - ",B(2,1,e)," ")}}function $z(t,n){if(1&t&&(T(0,"div",8),U(1,Wz,3,3,"div",9),k()),2&t){const e=W();d(1),D("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function Gz(t,n){if(1&t&&(T(0,"div",1),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.data.lowerText)," ")}}function qz(t,n){if(1&t){const e=nt();T(0,"app-button",10,11),Me("action",function(){return Ie(e),Oe(W().closeModal())}),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(2),ye(" ",B(3,1,e.data.cancelButtonText)," ")}}var Za=(()=>(function(t){t.Asking="Asking",t.Processing="Processing",t.Done="Done"}(Za||(Za={})),Za))();let Kz=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.disableDismiss=!1,this.state=Za.Asking,this.confirmationStates=Za,this.operationAccepted=new ft,this.disableDismiss=!!i.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}ngAfterViewInit(){this.data.cancelButtonText?setTimeout(()=>this.cancelButton.focus()):setTimeout(()=>this.confirmButton.focus())}ngOnDestroy(){this.operationAccepted.complete()}closeModal(){this.dialogRef.close()}sendOperationAcceptedEvent(){this.operationAccepted.emit()}showAsking(e){e&&(this.data=e),this.state=Za.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}showProcessing(){this.state=Za.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}showDone(e,i,s=null){this.doneTitle=e||this.data.headerText,this.doneText=i,this.doneList=s,this.confirmButton.reset(),setTimeout(()=>this.confirmButton.focus()),this.state=Za.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-confirmation"]],viewQuery:function(e,i){if(1&e&&(vt(Uz,5),vt(zz,5)),2&e){let s;at(s=lt())&&(i.cancelButton=s.first),at(s=lt())&&(i.confirmButton=s.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:14,consts:[[3,"headline","dialog","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),U(5,$z,2,1,"div",2),U(6,Gz,3,3,"div",3),T(7,"div",4),U(8,qz,4,3,"app-button",5),T(9,"app-button",6,7),Me("action",function(){return i.state===i.confirmationStates.Asking?i.sendOperationAcceptedEvent():i.closeModal()}),O(11),Y(12,"translate"),k()()()),2&e&&(D("headline",B(1,8,i.state!==i.confirmationStates.Done?i.data.headerText:i.doneTitle))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),ye(" ",B(4,10,i.state!==i.confirmationStates.Done?i.data.text:i.doneText)," "),d(2),D("ngIf",i.data.list&&i.state!==i.confirmationStates.Done||i.doneList&&i.state===i.confirmationStates.Done),d(1),D("ngIf",i.data.lowerText&&i.state!==i.confirmationStates.Done),d(2),D("ngIf",i.data.cancelButtonText&&i.state!==i.confirmationStates.Done),d(3),ye(" ",B(12,12,i.state!==i.confirmationStates.Done?i.data.confirmButtonText:"confirmation.close")," "))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t})();class rn{static createConfirmationDialog(n,e){const i={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!1},s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,n.open(Kz,s)}static checkIfTagIsUpdatable(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase()||n.toUpperCase()==="Mac".toUpperCase()||n.toUpperCase()==="Macos".toUpperCase()||n.toUpperCase()==="Mac OS".toUpperCase()||n.toUpperCase()==="Darwin".toUpperCase())}static checkIfTagCanOpenterminal(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase())}}function Zz(t,n){if(1&t&&(T(0,"mat-icon",6),O(1),k()),2&t){const e=W().$implicit;D("inline",!0),d(1),pe(e.icon)}}function Qz(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){const o=Ie(e).index;return Oe(W().closePopup(o+1))}),T(2,"div",4),U(3,Zz,2,2,"mat-icon",5),T(4,"span"),O(5),Y(6,"translate"),k()()()()}if(2&t){const e=n.$implicit;d(3),D("ngIf",e.icon),d(2),pe(B(6,2,e.label))}}let Ur=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i,s){const o=new $n;return o.data={options:i,title:s},o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}closePopup(e){this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-option"]],decls:3,vars:6,consts:[[3,"headline","dialog","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Qz,7,4,"div",1),k()),2&e&&(D("headline",B(1,4,i.data.title))("dialog",i.dialogRef)("includeVerticalMargins",!1),d(2),D("ngForOf",i.data.options))},dependencies:[Fi,Ot,kr,Cn,bi,kt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),t})();var qn=(()=>(function(t){t.TextInput="TextInput",t.Select="Select"}(qn||(qn={})),qn))();let Rh=(()=>{class t{constructor(e){this.dom=e}copy(e){let i=null,s=!1;try{i=this.dom.createElement("textarea"),i.style.height="0px",i.style.left="-100px",i.style.opacity="0",i.style.position="fixed",i.style.top="-100px",i.style.width="0px",this.dom.body.appendChild(i),i.value=e,i.select(),this.dom.execCommand("copy"),s=!0}finally{i&&i.parentNode&&i.parentNode.removeChild(i)}return s}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function eW(t,n){if(1&t&&(qe(0),T(1,"span",2),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.shortText)}}function tW(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.text)}}const nW=function(){return{"tooltip-word-break":!0}};let gE=(()=>{class t{constructor(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}get shortText(){if(this.text.length>2*this.shortTextLength){const e=this.text.length;return`${this.text.slice(0,this.shortTextLength)}...${this.text.slice(e-this.shortTextLength,e)}`}return this.text}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,i){1&e&&(T(0,"div",0),U(1,eW,3,1,"ng-container",1),U(2,tW,3,1,"ng-container",1),k()),2&e&&(D("matTooltip",i.short&&i.showTooltip?i.text:"")("matTooltipClass",Hn(4,nW)),d(1),D("ngIf",i.short),d(1),D("ngIf",!i.short))},dependencies:[Ot,vi],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),t})();function iW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.prefix)," ")}}function rW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.prefixSeparator," ")}}function sW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.label," ")}}function oW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.translatableLabel)," ")}}const aW=function(t){return{text:t}},lW=function(){return{"tooltip-word-break":!0}};class cW{constructor(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}let na=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.clipboardService=s,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=ur.Node,this.labelEdited=new ft}set id(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)}get id(){return this.idInternal?this.idInternal:""}static getLabelComponents(e,i){let s;s=!!e.getSavedVisibleLocalNodes().has(i);const o=new cW;return o.labelInfo=e.getLabelInfo(i),o.labelInfo&&o.labelInfo.label?(s&&(o.prefix="labeled-element.local-element",o.prefixSeparator=" - "),o.label=o.labelInfo.label):e.getSavedVisibleLocalNodes().has(i)?o.prefix="labeled-element.unnamed-local-visor":o.translatableLabel="labeled-element.unnamed-element",o}static getCompleteLabel(e,i,s){const o=t.getLabelComponents(e,s);return(o.prefix?i.instant(o.prefix):"")+o.prefixSeparator+o.label+(o.translatableLabel?i.instant(o.translatableLabel):"")}ngOnDestroy(){this.labelEdited.complete()}processClick(){const e=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&e.push({icon:"close",label:"labeled-element.remove-label"}),Ur.openDialog(this.dialog,e,"common.options").afterClosed().subscribe(i=>{if(1===i)this.clipboardService.copy(this.id)&&this.snackbarService.showDone("copy.copied");else if(3===i){const s=rn.createConfirmationDialog(this.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.storageService.saveLabel(this.id,null,this.elementType),this.snackbarService.showDone("edit-label.label-removed-warning"),this.labelEdited.emit()})}else if(2===i){let s=this.labelComponents.labelInfo;s||(s={id:this.id,label:"",identifiedElementType:this.elementType}),U0.openDialog(this.dialog,s).afterClosed().subscribe(o=>{o&&this.labelEdited.emit()})}})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N(Rh),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0),Me("click",function(o){return o.stopPropagation(),i.processClick()}),Y(1,"translate"),T(2,"span",1),U(3,iW,3,3,"span",2),U(4,rW,2,1,"span",2),U(5,sW,2,1,"span",2),U(6,oW,3,3,"span",2),k(),De(7,"br")(8,"app-truncated-text",3),O(9," \xa0"),T(10,"mat-icon",4),O(11,"settings"),k()()),2&e&&(D("matTooltip",Vt(1,11,i.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Ue(14,aW,i.id)))("matTooltipClass",Hn(16,lW)),d(3),D("ngIf",i.labelComponents&&i.labelComponents.prefix),d(1),D("ngIf",i.labelComponents&&i.labelComponents.prefixSeparator),d(1),D("ngIf",i.labelComponents&&i.labelComponents.label),d(1),D("ngIf",i.labelComponents&&i.labelComponents.translatableLabel),d(2),D("short",i.short)("showTooltip",!1)("shortTextLength",i.shortTextLength)("text",i.id),d(2),D("inline",!0))},dependencies:[Ot,Cn,vi,gE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t})();class In{constructor(n,e,i,s){this.properties=n,this.label=e,this.sortingMode=i,this.labelProperties=s}get id(){return this.properties.join("")}}var Jt=(()=>(function(t){t.Text="Text",t.Number="Number",t.NumberReversed="NumberReversed",t.Boolean="Boolean"}(Jt||(Jt={})),Jt))();class mu{constructor(n,e,i,s,o,a){this.dialog=n,this.translateService=e,this.storageService=i,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new J,this.sortableColumns=s,this.id=a,this.defaultColumnIndex=o,this.sortBy=s[o];const l=this.storageService.getDataForHv(this.columnStorageKeyPrefix+a);if(l){const c=s.find(_=>_.id===l);c&&(this.sortBy=c)}this.sortReverse="true"===this.storageService.getDataForHv(this.orderStorageKeyPrefix+a),this.sortByLabel="true"===this.storageService.getDataForHv(this.labelStorageKeyPrefix+a)}get sortingArrow(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}get currentSortingColumn(){return this.sortBy}get sortingInReverseOrder(){return this.sortReverse}get dataSorted(){return this.dataUpdatedSubject.asObservable()}get currentlySortingByLabel(){return this.sortByLabel}dispose(){this.dataUpdatedSubject.complete()}setTieBreakerColumnIndex(n){this.tieBreakerColumnIndex=n}setData(n){this.data=n,this.sortData()}changeSortingOrder(n){if(this.sortBy===n||n.labelProperties)if(n.labelProperties){const e=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Ur.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(n,i>2,i%2==0)})}else this.sortReverse=!this.sortReverse,this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(n,!1,!1)}changeSortingParams(n,e,i){this.sortBy=n,this.sortByLabel=e,this.sortReverse=i,this.storageService.setDataForHv(this.columnStorageKeyPrefix+this.id,n.id),this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.storageService.setDataForHv(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}openSortingOrderModal(){const n=[],e=[];this.sortableColumns.forEach(i=>{const s=this.translateService.instant(i.label);n.push({label:s}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),n.push({label:s+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(n.push({label:s+" "+this.translateService.instant("tables.label")}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),n.push({label:s+" "+this.translateService.instant("tables.label")+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))}),Ur.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(e[i-1].sortBy,e[i-1].sortByLabel,e[i-1].sortReverse)})}sortData(){this.data&&(this.data.sort((n,e)=>{let i=this.getSortResponse(this.sortBy,n,e,!0);return 0===i&&null!==this.tieBreakerColumnIndex&&this.sortableColumns[this.tieBreakerColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.tieBreakerColumnIndex],n,e,!1)),0===i&&this.sortableColumns[this.defaultColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.defaultColumnIndex],n,e,!1)),i}),this.dataUpdatedSubject.next())}getSortResponse(n,e,i,s){let a=e,l=i;(this.sortByLabel&&s&&n.labelProperties?n.labelProperties:n.properties).forEach(E=>{a=a[E],l=l[E]});const c=this.sortByLabel&&s?Jt.Text:n.sortingMode;let _=0;return c===Jt.Text?_=this.sortReverse?l.localeCompare(a):a.localeCompare(l):c===Jt.NumberReversed?_=this.sortReverse?a-l:l-a:c===Jt.Number?_=this.sortReverse?l-a:a-l:c===Jt.Boolean&&(a&&!l?_=-1:!a&&l&&(_=1),_*=this.sortReverse?-1:1),_}}class uW{constructor(n=!1,e,i=!0,s){this._multiple=n,this._emitChanges=i,this.compareWith=s,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const dW=["trigger"],hW=["panel"];function fW(t,n){if(1&t&&(T(0,"span",8),O(1),k()),2&t){const e=W();d(1),pe(e.placeholder)}}function pW(t,n){if(1&t&&(T(0,"span",12),O(1),k()),2&t){const e=W(2);d(1),pe(e.triggerValue)}}function mW(t,n){1&t&&mi(0,0,["*ngSwitchCase","true"])}function _W(t,n){1&t&&(T(0,"span",9),U(1,pW,2,1,"span",10),U(2,mW,1,0,"ng-content",11),k()),2&t&&(D("ngSwitch",!!W().customTrigger),d(2),D("ngSwitchCase",!0))}function gW(t,n){if(1&t){const e=nt();T(0,"div",13)(1,"div",14,15),Me("@transformPanel.done",function(s){return Ie(e),Oe(W()._panelDoneAnimatingStream.next(s.toState))})("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))}),mi(3,1),k()()}if(2&t){const e=W();D("@transformPanelWrap",void 0),d(1),function wC(t,n,e){qs(us,go,Cc(He(),t,n,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Ia("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),D("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Wt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const vW=[[["mat-select-trigger"]],"*"],bW=["mat-select-trigger","*"],vE={transformPanelWrap:Ko("transformPanelWrap",[Sr("* => void",Ob("@transformPanel",[Ib()],{optional:!0}))]),transformPanel:Ko("transformPanel",[Nr("void",bn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Nr("showing",bn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Nr("showing-multiple",bn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Sr("void => *",Fr("120ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))])};let bE=0;const ME=new Be("mat-select-scroll-strategy"),CW=new Be("MAT_SELECT_CONFIG"),SW={provide:ME,deps:[Xr],useFactory:function wW(t){return()=>t.scrollStrategies.reposition()}};class DW{constructor(n,e){this.source=n,this.value=e}}const kW=Mh(y2(iu(M2(class{constructor(t,n,e,i,s){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=s,this.stateChanges=new J}})))),wE=new Be("MatSelectTrigger");let TW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-select-trigger"]],features:[on([{provide:wE,useExisting:t}])]}),t})(),xW=(()=>{class t extends kW{constructor(e,i,s,o,a,l,c,_,E,R,$,X,he,Se){super(a,o,c,_,R),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=s,this._dir=l,this._parentFormField=E,this._liveAnnouncer=he,this._defaultOptions=Se,this._panelOpen=!1,this._compareWith=(Pe,Re)=>Pe===Re,this._uid="mat-select-"+bE++,this._triggerAriaLabelledBy=null,this._destroy=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+bE++,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Qd(()=>{const Pe=this.options;return Pe?Pe.changes.pipe(Yr(Pe),lr(()=>Yt(...Pe.map(Re=>Re.onSelectionChange)))):this._ngZone.onStable.pipe(An(1),lr(()=>this.optionSelectionChanges))}),this.openedChange=new ft,this._openedStream=this.openedChange.pipe(Si(Pe=>Pe),Xe(()=>{})),this._closedStream=this.openedChange.pipe(Si(Pe=>!Pe),Xe(()=>{})),this.selectionChange=new ft,this.valueChange=new ft,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Se?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Se.typeaheadDebounceInterval),this._scrollStrategyFactory=X,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=En(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=En(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=eo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new uW(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gy(),fn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(fn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Yr(null),fn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?s.setAttribute("aria-labelledby",e):s.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.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(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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 e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,s=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!So(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,s=e.keyCode,o=40===s||38===s,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==s&&32!==s||!i.activeItem||So(e))if(!a&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.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(An(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.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new q8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(fn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(fn(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 e=Yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Yt(...this.options.map(i=>i._stateChanges)).pipe(fn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,s)=>this.sortComparator?this.sortComparator(i,s,e):e.indexOf(i)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(N(Il),N(Xn),N(mt),N(Wm),N(bt),N(gs,8),N(Oh,8),N(ki,8),N(V0,8),N(xo,10),Ht("tabindex"),N(ME),N(e0),N(CW,8))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(dW,5),vt(hW,5),vt(p2,5)),2&e){let s;at(s=lt())&&(i.trigger=s.first),at(s=lt())&&(i.panel=s.first),at(s=lt())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[pt,Ii]}),t})(),Nh=(()=>{class t extends xW{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(e,i,s){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(fn(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(An(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=x2(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function y9(t,n,e,i){return te+i?Math.max(0,t-i+n):e}((e+i)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new DW(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),s=this._isRtl(),o=this.multiple?56:32;let a;if(this.multiple)a=40;else if(this.disableOptionCentering)a=16;else{let _=this._selectionModel.selected[0]||this.options.first;a=_&&_.group?32:16}s||(a*=-1);const l=0-(e.left+a-(s?o:0)),c=e.right+a-i.width+(s?0:o);l>0?a+=l+8:c>0&&(a-=c+8),this._overlayDir.offsetX=Math.round(a),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,s){const o=this._getItemHeight(),a=(o-this._triggerRect.height)/2,l=Math.floor(256/o);let c;return this.disableOptionCentering?0:(c=0===this._scrollTop?e*o:this._scrollTop===s?(e-(this._getItemCount()-l))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*c-a))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,a=s.height-this._triggerRect.bottom-8,l=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*i,256)-l-this._triggerRect.height;_>a?this._adjustPanelUp(_,a):l>o?this._adjustPanelDown(l,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const s=Math.round(e-i);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,s){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),s=Math.min(i*e,256),a=i*e-s;let l;l=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),l+=x2(l,this.options,this.optionGroups);const c=s/2;this._scrollTop=this._calculateOverlayScroll(l,c,a),this._offsetY=this._calculateOverlayOffsetY(l,c,a),this._checkOverlayWithinViewport(a)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,wE,5),gi(s,su,5),gi(s,T2,5)),2&e){let o;at(o=lt())&&(i.customTrigger=o.first),at(o=lt())&&(i.options=o),at(o=lt())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Wt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),dn("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[on([{provide:f_,useExisting:t},{provide:k2,useExisting:t}]),pt],ngContentSelectors:bW,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 mat-select-min-line",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","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Kr(vW),T(0,"div",0,1),Me("click",function(){return i.toggle()}),T(3,"div",2),U(4,fW,2,1,"span",3),U(5,_W,3,2,"span",4),k(),T(6,"div",5),De(7,"div",6),k()(),U(8,gW,4,14,"ng-template",7),Me("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const s=li(1);Wt("aria-owns",i.panelOpen?i.id+"-panel":null),d(3),D("ngSwitch",i.empty),Wt("id",i._valueId),d(1),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1),d(3),D("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Wn,Hc,kp,jD,p2,f2],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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 rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[vE.transformPanelWrap,vE.transformPanel]},changeDetection:0}),t})(),LW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[SW],imports:[yo,nu,L2,Pn,vh,p_,L2,Pn]}),t})();function EW(t,n){if(1&t&&(De(0,"input",7),Y(1,"translate")),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",B(1,3,e.filterName))}}function PW(t,n){if(1&t&&(T(0,"div",12),De(1,"div",13),k()),2&t){const e=W().$implicit,i=W(2).$implicit;oi("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),d(1),oi("background-image: url('"+e.image+"');")}}function IW(t,n){if(1&t&&(T(0,"mat-option",10),U(1,PW,2,4,"div",11),O(2),Y(3,"translate"),k()),2&t){const e=n.$implicit,i=W(2).$implicit;D("value",e.value),d(1),D("ngIf",i.printableLabelGeneralSettings&&e.image),d(1),ye(" ",B(3,3,e.label)," ")}}function OW(t,n){if(1&t&&(T(0,"mat-select",8),Y(1,"translate"),U(2,IW,4,5,"mat-option",9),k()),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("placeholder",B(1,3,e.filterName)),d(2),D("ngForOf",e.printableLabelsForValues)}}function AW(t,n){if(1&t&&(qe(0),T(1,"mat-form-field"),U(2,EW,2,5,"input",5),U(3,OW,3,5,"mat-select",6),k(),Ke()),2&t){const e=n.$implicit,i=W();d(2),D("ngIf",e.type===i.filterFieldTypes.TextInput),d(1),D("ngIf",e.type===i.filterFieldTypes.Select)}}let RW=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.filterFieldTypes=qn}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=[this.data.currentFilters[i.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(e)}apply(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=this.form.get(i.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-filters-selection"]],decls:8,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,AW,4,2,"ng-container",2),k(),T(4,"app-button",3,4),Me("action",function(){return i.apply()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,5,"filters.filter-action"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngForOf",i.data.filterPropertiesList),d(3),ye(" ",B(7,7,"common.ok")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,su,Tr,bi,kt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),t})();class gu{constructor(n,e,i,s,o){this.dialog=n,this.route=e,this.router=i,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new J,this.filterPropertiesList=s,this.currentFilters={},this.filterPropertiesList.forEach(a=>{a.keyNameInFiltersObject=o+"_"+a.keyNameInElementsArray,this.currentFilters[a.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(a=>{Object.keys(this.currentFilters).forEach(l=>{a.has(l)&&(this.currentFilters[l]=a.get(l))}),this.currentUrlQueryParamsInternal={},a.keys.forEach(l=>{this.currentUrlQueryParamsInternal[l]=a.get(l)}),this.filter()})}get currentFiltersTexts(){return this.currentFiltersTextsInternal}get currentUrlQueryParams(){return this.currentUrlQueryParamsInternal}get dataFiltered(){return this.dataUpdatedSubject.asObservable()}dispose(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}setData(n){this.data=n,this.filter()}removeFilters(){const n=rn.createConfirmationDialog(this.dialog,"filters.remove-confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.closeModal(),this.router.navigate([],{queryParams:{}})})}changeFilters(){RW.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(e=>{e&&this.router.navigate([],{queryParams:e})})}filter(){if(this.data){let n,e=!1;Object.keys(this.currentFilters).forEach(i=>{this.currentFilters[i]&&(e=!0)}),e?(n=function Jz(t,n,e){if(t){const i=[];return Object.keys(n).forEach(o=>{if(n[o])for(const a of e)if(a.keyNameInFiltersObject===o){i.push(a);break}}),t.filter(o=>{let a=!0;return i.forEach(l=>{const c=String(o[l.keyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase()),_=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase());!c&&!_&&(a=!1)}),a})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(n=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(n)}}updateCurrentFilters(){this.currentFiltersTextsInternal=function Xz(t,n){const e=[];return n.forEach(i=>{if(t[i.keyNameInFiltersObject]){let s,o;i.printableLabelsForValues&&i.printableLabelsForValues.forEach(a=>{a.value===t[i.keyNameInFiltersObject]&&(o=a.label)}),o||(s=t[i.keyNameInFiltersObject]),e.push({filterName:i.filterName,translatableValue:o,value:s})}}),e}(this.currentFilters,this.filterPropertiesList)}}function FW(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k()(),T(6,"div",9)(7,"app-button",10),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).openTerminal(o.key))}),O(8),Y(9,"translate"),k()()()}if(2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(3),ye(" ",B(9,3,"update-all.update-button")," ")}}function NW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,FW,10,5,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.updatable-list-text")," "),d(3),D("ngForOf",e.updatableNodes)}}function YW(t,n){if(1&t&&(T(0,"div",8),O(1),k()),2&t){const e=W().$implicit;d(1),pe(e.tag)}}function HW(t,n){if(1&t&&(T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k(),U(6,YW,2,1,"div",11),k()()),2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(1),D("ngIf",e.tag)}}function VW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,HW,7,3,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.non-updatable-list-text")," "),d(3),D("ngForOf",e.nonUpdatableNodes)}}let BW=(()=>{class t{constructor(e,i){this.dialogRef=e,this.updatableNodes=i[0],this.nonUpdatableNodes=i[1]}static openDialog(e,i,s){const o=new $n;return o.data=[i,s],o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}openTerminal(e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+e+"?commands=update","_blank","noopener noreferrer")}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-update-all"]],decls:4,vars:6,consts:[[3,"headline","dialog"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,NW,6,4,"ng-container",1),U(3,VW,6,4,"ng-container",1),k()),2&e&&(D("headline",B(1,4,"update-all.title"))("dialog",i.dialogRef),d(2),D("ngIf",i.updatableNodes&&i.updatableNodes.length>0),d(1),D("ngIf",i.nonUpdatableNodes&&i.nonUpdatableNodes.length>0))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;line-height:1.5;color:#215f9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),t})();const jW=["mat-menu-item",""];function UW(t,n){1&t&&(ba(),T(0,"svg",2),De(1,"polygon",3),k())}const CE=["*"];function zW(t,n){if(1&t){const e=nt();T(0,"div",0),Me("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))})("click",function(){return Ie(e),Oe(W().closed.emit("click"))})("@transformMenu.start",function(s){return Ie(e),Oe(W()._onAnimationStart(s))})("@transformMenu.done",function(s){return Ie(e),Oe(W()._onAnimationDone(s))}),T(1,"div",1),mi(2),k()()}if(2&t){const e=W();D("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Wt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const g_={transformMenu:Ko("transformMenu",[Nr("void",bn({opacity:0,transform:"scale(0.8)"})),Sr("void => enter",Fr("120ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:1,transform:"scale(1)"}))),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))]),fadeInItems:Ko("fadeInItems",[Nr("showing",bn({opacity:1})),Sr("void => *",[bn({opacity:0}),Fr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},WW=new Be("MatMenuContent"),z0=new Be("MAT_MENU_PANEL"),$W=Mh(iu(class{}));let ia=(()=>{class t extends $W{constructor(e,i,s,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=s,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new J,this._focused=new J,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),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(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=s,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new gl,this._tabSubscription=x.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new J,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ft,this.close=this.closed,this.panelId="mat-menu-panel-"+qW++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=En(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Wx(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(e=>Yt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const s=e.toArray(),o=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[o]&&!s[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(i=>Yt(...i.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,s=this._keyManager;switch(i){case 27:So(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(An(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(e).setFirstItemActive(),!s.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,i=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Yr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(SE),N(Xn))},t.\u0275dir=Je({type:t,contentQueries:function(e,i,s){if(1&e&&(gi(s,WW,5),gi(s,ia,5),gi(s,ia,4)),2&e){let o;at(o=lt())&&(i.lazyContent=o.first),at(o=lt())&&(i._allItems=o),at(o=lt())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&vt(Ar,5),2&e){let s;at(s=lt())&&(i.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),vu=(()=>{class t extends Yh{constructor(e,i,s,o){super(e,i,s,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(SE),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Wt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[on([{provide:z0,useExisting:t}]),pt],ngContentSelectors:CE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(Kr(),U(0,zW,3,6,"ng-template"))},dependencies:[Wn],styles:['mat-menu{display:none}.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;position:relative}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}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}'],encapsulation:2,data:{animation:[g_.transformMenu,g_.fadeInItems]},changeDetection:0}),t})();const DE=new Be("mat-menu-scroll-strategy"),ZW={provide:DE,deps:[Xr],useFactory:function KW(t){return()=>t.scrollStrategies.reposition()}},kE=Ll({passive:!0});let QW=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this._overlay=e,this._element=i,this._viewContainerRef=s,this._menuItemInstance=l,this._dir=c,this._focusMonitor=_,this._ngZone=E,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.EMPTY,this._hoverSubscription=x.EMPTY,this._menuCloseSubscription=x.EMPTY,this._handleTouchStart=R=>{Xy(R)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ft,this.onMenuOpen=this.menuOpened,this.menuClosed=new ft,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Yh?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,kE),l&&(l._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kE),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(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),s=i.getConfig(),o=s.positionStrategy;this._setPosition(e,o),s.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Yh&&(e._startAnimation(),e._directDescendantItems.changes.pipe(fn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Yh?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Si(s=>"void"===s.toState),An(1),fn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,s=e.parentMenu;for(;s;)i++,s=s.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new bh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(s=>{const o="start"===s.connectionPair.overlayX?"after":"before",a="top"===s.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[s,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,_]=[a,l],[E,R]=[s,o],$=0;if(this.triggersSubmenu()){if(R=s="before"===e.xPosition?"start":"end",o=E="end"===s?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const X=this._parentMaterialMenu.items.first;this._parentInnerPadding=X?X._getHostElement().offsetTop:0}$="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",_="top"===l?"bottom":"top");i.withPositions([{originX:s,originY:c,overlayX:E,overlayY:a,offsetY:$},{originX:o,originY:c,overlayX:R,overlayY:a,offsetY:$},{originX:s,originY:_,overlayX:E,overlayY:l,offsetY:-$},{originX:o,originY:_,overlayX:R,overlayY:l,offsetY:-$}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Yt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ze(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Si(a=>a!==this._menuItemInstance),Si(()=>this._menuOpen)):ze(),i)}_handleMousedown(e){Jy(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Si(e=>e===this._menuItemInstance&&!e.disabled),Ji(0,s0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Yh&&this.menu._isAnimating?this.menu._animationDone.pipe(An(1),Ji(0,s0),fn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new eu(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(ar),N(DE),N(z0,8),N(ia,10),N(gs,8),N(Do),N(mt))},t.\u0275dir=Je({type:t,hostVars:3,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Wt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),bu=(()=>{class t extends QW{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[pt]}),t})(),JW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[ZW],imports:[yo,Pn,Ch,nu,vh,Pn]}),t})();const TE=function(){return["1"]};function XW(t,n){if(1&t&&(T(0,"a",10)(1,"mat-icon",11),O(2,"chevron_left"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,TE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(2),ye(" ",B(4,4,"paginator.first")," ")}}function e$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_left"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,TE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.first"))}}const Qa=function(t){return[t]};function t$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_left"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function n$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-2)}}function i$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-1)}}function r$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+1)}}function s$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+2)}}function o$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_right"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function a$(t,n){if(1&t&&(T(0,"a",10),O(1),Y(2,"translate"),T(3,"mat-icon",11),O(4,"chevron_right"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),ye(" ",B(2,4,"paginator.last")," "),d(2),D("inline",!0)}}function l$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_right"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.last"))}}const xE=function(t){return{number:t}};function c$(t,n){if(1&t&&(T(0,"div",15),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,xE,e.numberOfPages)))}}function u$(t,n){if(1&t&&(T(0,"div",16),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,xE,e.numberOfPages)))}}let yu=(()=>{class t{constructor(e,i){this.dialog=e,this.router=i,this.linkParts=[""],this.queryParams={}}openSelectionDialog(){const e=[];for(let i=1;i<=this.numberOfPages;i++)e.push({label:i.toString()});Ur.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe(i=>{i&&this.router.navigate(this.linkParts.concat([i.toString()]),{queryParams:this.queryParams})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),O(4,"\xa0"),De(5,"br"),O(6,"\xa0"),k(),U(7,XW,5,7,"a",4),U(8,e$,6,7,"a",5),U(9,t$,4,5,"a",4),U(10,n$,2,5,"a",4),U(11,i$,2,5,"a",6),T(12,"a",7),Me("click",function(){return i.openSelectionDialog()}),O(13),k(),U(14,r$,2,5,"a",6),U(15,s$,2,5,"a",4),U(16,o$,4,5,"a",4),U(17,a$,5,8,"a",4),U(18,l$,6,8,"a",5),k()(),U(19,c$,3,6,"div",8),U(20,u$,3,6,"div",9),k()),2&e&&(d(7),D("ngIf",i.currentPage>3),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(2),pe(i.currentPage),d(1),D("ngIf",i.currentPage3),d(1),D("ngIf",i.numberOfPages>2))},dependencies:[Ot,Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),t})();function Hh(t){return n=>n.lift(new d$(t,n))}class d${constructor(n,e){this.notifier=n,this.source=e}call(n,e){return e.subscribe(new h$(n,this.notifier,this.source))}}class h$ extends Kn{constructor(n,e,i){super(n),this.notifier=e,this.source=i}error(n){if(!this.isStopped){let e=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{e=new J;try{const{notifier:o}=this;i=o(e)}catch(o){return super.error(o)}s=jn(this,i)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=s,e.next(n)}}_unsubscribe(){const{errors:n,retriesSubscription:e}=this;n&&(n.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null}notifyNext(n,e,i,s,o){const{_unsubscribe:a}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=a,this.source.subscribe(this)}}let Mu=(()=>{class t{constructor(e){this.apiService=e}changeAppState(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,{status:s?1:0})}changeAppAutostart(e,i,s){return this.changeAppSettings(e,i,{autostart:s})}changeAppSettings(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,s)}getLogMessages(e,i,s){const a=ED(-1!==s?Date.now()-864e5*s:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get(`visors/${e}/apps/${encodeURIComponent(i)}/logs?since=${a}`).pipe(Xe(l=>l.logs))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Bn=(()=>(function(t){t.None="None",t.Favorite="Favorite",t.Blocked="Blocked"}(Bn||(Bn={})),Bn))(),ns=(()=>(function(t){t.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",t.OnlyBytes="OnlyBytes",t.OnlyBits="OnlyBits"}(ns||(ns={})),ns))();let Yl=(()=>{class t{constructor(e,i){this.router=e,this.storageService=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Xs(1),this.historySubject=new Xs(1),this.favoritesSubject=new Xs(1),this.blockedSubject=new Xs(1)}initialize(){this.migrateDataToHvStorage(),this.serversMap=new Map;const e=this.storageService.getDataForHv(this.savedServersStorageKey);if(e){const i=JSON.parse(e);i.serverList.forEach(s=>{this.serversMap.set(s.pk,s)}),this.savedDataVersion=i.version,i.selectedServerPk&&this.updateCurrentServerPk(i.selectedServerPk)}this.launchListEvents()}migrateDataToHvStorage(){const e=localStorage.getItem(this.savedServersStorageKey);e&&(this.storageService.setDataForHv(this.savedServersStorageKey,e),localStorage.removeItem(this.savedServersStorageKey));const i=localStorage.getItem(this.checkIpSettingStorageKey);i&&(this.storageService.setDataForHv(this.checkIpSettingStorageKey,i),localStorage.removeItem(this.checkIpSettingStorageKey));const s=localStorage.getItem(this.dataUnitsSettingStorageKey);s&&(this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,s),localStorage.removeItem(this.dataUnitsSettingStorageKey))}get currentServer(){return this.serversMap.get(this.currentServerPk)}get currentServerObservable(){return this.currentServerSubject.asObservable()}get history(){return this.historySubject.asObservable()}get favorites(){return this.favoritesSubject.asObservable()}get blocked(){return this.blockedSubject.asObservable()}getSavedVersion(e,i){return i&&this.checkIfDataWasChanged(),this.serversMap.get(e)}getCheckIpSetting(){const e=this.storageService.getDataForHv(this.checkIpSettingStorageKey);return null==e||"false"!==e}setCheckIpSetting(e){this.storageService.setDataForHv(this.checkIpSettingStorageKey,e?"true":"false")}getDataUnitsSetting(){return this.storageService.getDataForHv(this.dataUnitsSettingStorageKey)??ns.BitsSpeedAndBytesVolume}setDataUnitsSetting(e){this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,e)}updateFromDiscovery(e){this.checkIfDataWasChanged(),e.forEach(i=>{if(this.serversMap.has(i.pk)){const s=this.serversMap.get(i.pk);s.countryCode=i.countryCode,s.name=i.name,s.location=i.location,s.note=i.note}}),this.saveData()}updateServer(e){this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData()}processFromDiscovery(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.countryCode=e.countryCode,i.name=e.name,i.location=e.location,i.note=e.note,this.saveData(),i):{countryCode:e.countryCode,name:e.name,customName:null,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:e.location,personalNote:null,note:e.note,enteredManually:!1,usedWithPassword:!1}}processFromManual(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.customName=e.name,i.personalNote=e.note,i.enteredManually=!0,this.saveData(),i):{countryCode:"zz",name:"",customName:e.name,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:"",personalNote:e.note,note:"",enteredManually:!0,usedWithPassword:!1}}changeFlag(e,i){this.checkIfDataWasChanged();const s=this.serversMap.get(e.pk);s&&(e=s),e.flag!==i&&(e.flag=i,this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData())}removeFromHistory(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e);!i||!i.inHistory||(i.inHistory=!1,this.cleanServers(),this.saveData())}modifyCurrentServer(e){this.checkIfDataWasChanged(),e.pk!==this.currentServerPk&&(this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.updateCurrentServerPk(e.pk),this.cleanServers(),this.saveData())}compareCurrentServer(e){if(this.checkIfDataWasChanged(),e){if(!this.currentServerPk||this.currentServerPk!==e){if(this.currentServerPk=e,!this.serversMap.get(e)){const s=this.processFromManual({pk:e});this.serversMap.set(s.pk,s),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}updateHistory(){this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;let e=[];this.serversMap.forEach(s=>{s.inHistory&&e.push(s)}),e=e.sort((s,o)=>o.lastUsed-s.lastUsed);let i=0;e.forEach(s=>{i{!i.inHistory&&i.flag===Bn.None&&i.pk!==this.currentServerPk&&!i.customName&&!i.personalNote&&e.push(i.pk)}),e.forEach(i=>{this.serversMap.delete(i)})}saveData(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);if(i&&(e=JSON.parse(i).version),e!==this.savedDataVersion)return void this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"storage"}});this.savedDataVersion+=1;const s={version:this.savedDataVersion,serverList:Array.from(this.serversMap.values()),selectedServerPk:this.currentServerPk},o=JSON.stringify(s);this.storageService.setDataForHv(this.savedServersStorageKey,o),this.launchListEvents()}checkIfDataWasChanged(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);i&&(e=JSON.parse(i).version),e!==this.savedDataVersion&&this.initialize()}launchListEvents(){const e=[],i=[],s=[];this.serversMap.forEach(o=>{o.inHistory&&e.push(o),o.flag===Bn.Favorite&&i.push(o),o.flag===Bn.Blocked&&s.push(o)}),this.historySubject.next(e),this.favoritesSubject.next(i),this.blockedSubject.next(s)}updateCurrentServerPk(e){this.currentServerPk=e,this.currentServerSubject.next(this.currentServer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var pn=(()=>(function(t){t.Stopped="stopped",t.Connecting="Connecting",t.Running="Running",t.ShuttingDown="Shutting down",t.Reconnecting="Connection failed, reconnecting"}(pn||(pn={})),pn))();class f${constructor(){this.updateDate=Date.now()}}class p${}class m${constructor(){this.latency=0,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.connectionDuration=0,this.error=""}}var Gi=(()=>(function(t){t[t.PerformingInitialCheck=1]="PerformingInitialCheck",t[t.Off=10]="Off",t[t.Starting=20]="Starting",t[t.Running=100]="Running",t[t.Disconnecting=200]="Disconnecting"}(Gi||(Gi={})),Gi))(),bs=(()=>(function(t){t[t.Busy=1]="Busy",t[t.Ok=2]="Ok",t[t.MustStop=3]="MustStop",t[t.SamePkRunning=4]="SamePkRunning",t[t.SamePkStopped=5]="SamePkStopped"}(bs||(bs={})),bs))();let wu=(()=>{class t{constructor(e,i,s,o,a,l,c){this.apiService=e,this.appsService=i,this.router=s,this.vpnSavedDataService=o,this.http=a,this.snackbarService=l,this.translateService=c,this.vpnClientAppName="vpn-client",this.standardWaitTime=2e3,this.stateSubject=new Wi(null),this.errorSubject=new Wi(!1),this.working=!0,this.requestedServer=null,this.requestedPassword=null,this.updatesStopped=!1,this.currentEventData=new f$,this.currentEventData.busy=!0,this.lastServiceState=Gi.PerformingInitialCheck}initialize(e){e&&(this.nodeKey?e!==this.nodeKey?this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"pkChange"}}):this.updatesStopped&&(this.updatesStopped=!1,this.updateData()):(this.nodeKey=e,this.vpnSavedDataService.initialize(),this.updateData()))}get backendState(){return this.stateSubject.asObservable()}get errorsConnecting(){return this.errorSubject.asObservable()}updateData(){this.continuallyUpdateData(0)}start(){return!this.working&&this.lastServiceState<20&&(this.changeAppState(!0),!0)}stop(){return!this.working&&this.lastServiceState>=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}getIpData(){return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Hh(e=>Sl(e.pipe(Ji(this.standardWaitTime),An(4)),Dr(""))),Xe(e=>{let i="";i=e&&e.ip_address?e.ip_address:this.translateService.instant("common.unknown");let s="";return s=e&&e.country_name?e.country_name:this.translateService.instant("common.unknown"),[i,s]}))}changeServerUsingHistory(e,i){return this.requestedServer=e,this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerUsingDiscovery(e,i){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerManually(e,i){return this.requestedServer=this.vpnSavedDataService.processFromManual(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}updateRequestedServerPasswordSetting(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;const e=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);e&&(e.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(e))}changeServer(){return!this.working&&(this.stop()||this.processServerChange(),!0)}checkNewPk(e){return this.working?bs.Busy:this.lastServiceState!==Gi.Off?e===this.vpnSavedDataService.currentServer.pk?bs.SamePkRunning:bs.MustStop:this.vpnSavedDataService.currentServer&&e===this.vpnSavedDataService.currentServer.pk?bs.SamePkStopped:bs.Ok}processServerChange(){this.dataSubscription&&this.dataSubscription.unsubscribe();const e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe(()=>{this.vpnSavedDataService.modifyCurrentServer(this.requestedServer),this.requestedServer=null,this.requestedPassword=null,this.working=!1,this.start()},i=>{i=an(i),this.snackbarService.showError("vpn.server-change.backend-error",null,!1,i.originalServerErrorMsg),this.working=!1,this.requestedServer=null,this.requestedPassword=null,this.sendUpdate(),this.updateData()})}changeAppState(e){if(this.working)return;this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();const i={status:1};e?(this.lastServiceState=Gi.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Gi.Disconnecting,i.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,i).pipe(Qr(s=>this.getVpnClientState().pipe(we(o=>{if(o){if(e&&o.running)return ze(!0);if(!e&&!o.running)return ze(!0)}return Dr(s)}))),Hh(s=>Sl(s.pipe(Ji(this.standardWaitTime),An(3)),s.pipe(we(o=>Dr(o)))))).subscribe(s=>{this.working=!1;const o=this.processAppData(s);this.lastServiceState=o.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=o,this.currentEventData.updateDate=Date.now(),this.sendUpdate(),this.updateData(),!e&&this.requestedServer&&this.processServerChange()},s=>{s=an(s),this.snackbarService.showError(this.lastServiceState===Gi.Starting?"vpn.status-page.problem-starting-error":this.lastServiceState===Gi.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),this.working=!1,this.sendUpdate(),this.updateData()})}continuallyUpdateData(e){if(this.working&&this.lastServiceState!==Gi.PerformingInitialCheck)return;this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();let i=0;this.continuousUpdateSubscription=ze(0).pipe(Ji(e),we(()=>this.getVpnClientState()),Hh(s=>s.pipe(we(o=>(this.errorSubject.next(!0),(o=an(o)).originalError&&o.originalError.status&&401===o.originalError.status?Dr(o):this.lastServiceState!==Gi.PerformingInitialCheck||i<4?(i+=1,ze(o).pipe(Ji(this.standardWaitTime))):Dr(o)))))).subscribe(s=>{s?(this.errorSubject.next(!1),this.lastServiceState===Gi.PerformingInitialCheck&&(this.working=!1),this.vpnSavedDataService.compareCurrentServer(s.serverPk),this.lastServiceState=s.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=s,this.currentEventData.updateDate=Date.now(),this.sendUpdate()):this.lastServiceState===Gi.PerformingInitialCheck&&(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null,this.updatesStopped=!0),this.continuallyUpdateData(this.standardWaitTime)},s=>{(s=an(s)).originalError&&s.originalError.status&&401===s.originalError.status||(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null),this.updatesStopped=!0})}stopContinuallyUpdatingData(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}getVpnClientState(){let e;const i=new Rl;return i.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/summary`,i).pipe(we(s=>{let o;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(a=>{a.name===this.vpnClientAppName&&(o=a)}),o&&(e=this.processAppData(o)),e.minHops=s.min_hops?s.min_hops:0,e&&e.running){const a=new Rl;return a.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/apps/${this.vpnClientAppName}/connections`,a)}return ze(null)}),Xe(s=>{if(s&&s.length>0){const o=new m$;s.forEach(a=>{o.latency+=a.latency/s.length,o.uploadSpeed+=a.upload_speed/s.length,o.downloadSpeed+=a.download_speed/s.length,o.totalUploaded+=a.bandwidth_sent,o.totalDownloaded+=a.bandwidth_received,a.error&&(o.error=a.error),a.connection_duration>o.connectionDuration&&(o.connectionDuration=a.connection_duration)}),(!this.connectionHistoryPk||this.connectionHistoryPk!==e.serverPk)&&(this.connectionHistoryPk=e.serverPk,this.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),o.latency=Math.round(o.latency),o.uploadSpeed=Math.round(o.uploadSpeed),o.downloadSpeed=Math.round(o.downloadSpeed),o.totalUploaded=Math.round(o.totalUploaded),o.totalDownloaded=Math.round(o.totalDownloaded),this.uploadSpeedHistory.splice(0,1),this.uploadSpeedHistory.push(o.uploadSpeed),o.uploadSpeedHistory=this.uploadSpeedHistory,this.downloadSpeedHistory.splice(0,1),this.downloadSpeedHistory.push(o.downloadSpeed),o.downloadSpeedHistory=this.downloadSpeedHistory,this.latencyHistory.splice(0,1),this.latencyHistory.push(o.latency),o.latencyHistory=this.latencyHistory,e.connectionData=o}return e}))}processAppData(e){const i=new p$;if(i.running=0!==e.status&&2!==e.status,i.connectionDuration=e.connection_duration,i.appState=pn.Stopped,i.running?e.detailed_status===pn.Connecting||3===e.status?i.appState=pn.Connecting:e.detailed_status===pn.Running?i.appState=pn.Running:e.detailed_status===pn.ShuttingDown?i.appState=pn.ShuttingDown:e.detailed_status===pn.Reconnecting&&(i.appState=pn.Reconnecting):2===e.status&&(i.lastErrorMsg=e.detailed_status,i.lastErrorMsg||(i.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),i.killswitch=!1,e.args&&e.args.length>0)for(let s=0;s{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.vpnSavedDataService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){let e=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);e=e||this.data.server;const i=this.form.get("value").value;i!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?e.customName=i:e.personalNote=i,this.vpnSavedDataService.updateServer(e),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,i){if(1&e&&vt(_$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-label")),d(4),ye(" ",B(9,9,"vpn.server-options.edit-value.apply-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const v$=["firstInput"];let LE=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({password:["",this.data?void 0:yn.required]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){this.dialogRef.close("-"+this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,i){if(1&e&&vt(v$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:12,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,6,"vpn.server-list.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,8,"vpn.server-list.password-dialog.password"+(i.data?"-if-any":"")+"-label")),d(3),D("disabled",!i.form.valid),d(1),ye(" ",B(9,10,"vpn.server-list.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,ki,er,jr,vs,Tr,bi,kt]}),t})(),qi=(()=>{class t{static changeCurrentPk(e){this.currentPk=e}static setDefaultTabForServerList(e){sessionStorage.setItem(t.serverListTabStorageKey,e)}static get vpnTabsData(){const e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}static getLatencyValueString(e){return e<1e3?"time-in-ms":"time-in-segs"}static getPrintableLatency(e){return e<1e3?e+"":(e/1e3).toFixed(1)}static processServerChange(e,i,s,o,a,l,c,_,E,R,$){let X;if(_&&(E||R)||E&&(_||R)||R&&(_||E))throw new Error("Invalid call");if(_)X=_.pk;else if(E)X=E.pk;else{if(!R)throw new Error("Invalid call");X=R.pk}const he=s.getSavedVersion(X,!0),Se=he&&($||he.usedWithPassword),Pe=i.checkNewPk(X);if(Pe!==bs.Busy)if(Pe!==bs.SamePkRunning||Se)if(Pe===bs.MustStop||Pe===bs.SamePkRunning&&Se){const Re=rn.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c)})}else if(Pe!==bs.SamePkStopped||Se)_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c);else{const Re=rn.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),R&&he&&s.processFromManual(R),i.start(),t.redirectAfterServerChange(e,l,c)})}else o.showWarning("vpn.server-change.already-selected-warning");else o.showError("vpn.server-change.busy-error")}static redirectAfterServerChange(e,i,s){i&&i.close(),e.navigate(["vpn",s,"status"])}static openServerOptions(e,i,s,o,a,l){const c=[],_=[];return e.usedWithPassword?(c.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),_.push(201),c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),_.push(202)):e.enteredManually&&(c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),_.push(202)),c.push({icon:"edit",label:"vpn.server-options.edit-name"}),_.push(101),c.push({icon:"subject",label:"vpn.server-options.edit-label"}),_.push(102),(!e||e.flag!==Bn.Favorite)&&(c.push({icon:"star",label:"vpn.server-options.make-favorite"}),_.push(1)),e&&e.flag===Bn.Favorite&&(c.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),_.push(-1)),(!e||e.flag!==Bn.Blocked)&&(c.push({icon:"pan_tool",label:"vpn.server-options.block"}),_.push(2)),e&&e.flag===Bn.Blocked&&(c.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),_.push(-2)),e&&e.inHistory&&(c.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),_.push(-3)),Ur.openDialog(l,c,"common.options").afterClosed().pipe(we(E=>{if(E){const R=s.getSavedVersion(e.pk,!0);if(e=R||e,_[E-=1]>200){if(201===_[E]){let $=!1;const X=rn.createConfirmationDialog(l,"vpn.server-options.connect-without-password-confirmation");return X.componentInstance.operationAccepted.subscribe(()=>{$=!0,t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,null),X.componentInstance.closeModal()}),X.afterClosed().pipe(Xe(()=>$))}return LE.openDialog(l,!1).afterClosed().pipe(Xe($=>!(!$||"-"===$||(t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,$.substr(1)),0))))}if(_[E]>100)return g$.openDialog(l,{editName:101===_[E],server:e}).afterClosed();if(1===_[E])return t.makeFavorite(e,s,a,l);if(-1===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.remove-from-favorites-done"),ze(!0);if(2===_[E])return t.blockServer(e,s,o,a,l);if(-2===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.unblock-done"),ze(!0);if(-3===_[E])return t.removeFromHistory(e,s,a,l)}return ze(!1)}))}static removeFromHistory(e,i,s,o){let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.remove-from-history-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.removeFromHistory(e.pk),s.showDone("vpn.server-options.remove-from-history-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static makeFavorite(e,i,s,o){if(e.flag!==Bn.Blocked)return i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),ze(!0);let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.make-favorite-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static blockServer(e,i,s,o,a){if(e.flag!==Bn.Favorite&&(!i.currentServer||i.currentServer.pk!==e.pk))return i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),ze(!0);let l=!1;const c=i.currentServer&&i.currentServer.pk===e.pk;let _;_=e.flag!==Bn.Favorite?"vpn.server-options.block-selected-confirmation":c?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation";const E=rn.createConfirmationDialog(a,_);return E.componentInstance.operationAccepted.subscribe(()=>{l=!0,i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),c&&s.stop(),E.componentInstance.closeModal()}),E.afterClosed().pipe(Xe(()=>l))}}return t.serverListTabStorageKey="ServerListTab",t.currentPk="",t})();var ra=(()=>(function(t){t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks"}(ra||(ra={})),ra))();class b${}class EE{static getElapsedTime(n){const e=new b$;e.timeRepresentation=ra.Seconds,e.totalMinutes=Math.floor(n/60).toString(),e.translationVarName="second";let i=1;n>=60&&n<3600?(e.timeRepresentation=ra.Minutes,i=60,e.translationVarName="minute"):n>=3600&&n<86400?(e.timeRepresentation=ra.Hours,i=3600,e.translationVarName="hour"):n>=86400&&n<604800?(e.timeRepresentation=ra.Days,i=86400,e.translationVarName="day"):n>=604800&&(e.timeRepresentation=ra.Weeks,i=604800,e.translationVarName="week");const s=Math.floor(n/i);return e.elapsedTime=s.toString(),(e.timeRepresentation===ra.Seconds||s>1)&&(e.translationVarName=e.translationVarName+"s"),e}}function y$(t,n){1&t&&De(0,"mat-spinner",5),2&t&&D("diameter",14)}function M$(t,n){1&t&&De(0,"mat-spinner",6),2&t&&D("diameter",18)}function w$(t,n){1&t&&(T(0,"mat-icon",9),O(1,"refresh"),k()),2&t&&D("inline",!0)}function C$(t,n){1&t&&(T(0,"mat-icon",10),O(1,"warning"),k()),2&t&&D("inline",!0)}function S$(t,n){if(1&t&&(qe(0),U(1,w$,2,1,"mat-icon",7),U(2,C$,2,1,"mat-icon",8),Ke()),2&t){const e=W();d(1),D("ngIf",!e.showAlert),d(1),D("ngIf",e.showAlert)}}const PE=function(t){return{time:t}};function D$(t,n){if(1&t&&(T(0,"span",11),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"refresh-button."+e.elapsedTime.translationVarName,Ue(4,PE,e.elapsedTime.elapsedTime)))}}const k$=function(t){return{"grey-button-background":t}};let T$=(()=>{class t{constructor(){this.refeshRate=-1}set secondsSinceLastUpdate(e){this.elapsedTime=EE.getElapsedTime(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,i){1&e&&(T(0,"button",0),Y(1,"translate"),U(2,y$,1,1,"mat-spinner",1),U(3,M$,1,1,"mat-spinner",2),U(4,S$,3,2,"ng-container",3),U(5,D$,3,6,"span",4),k()),2&e&&(D("disabled",i.showLoading)("ngClass",Ue(10,k$,!i.showLoading))("matTooltip",i.showAlert?Vt(1,7,"refresh-button.error-tooltip",Ue(12,PE,i.refeshRate)):""),d(2),D("ngIf",i.showLoading),d(1),D("ngIf",i.showLoading),d(1),D("ngIf",!i.showLoading),d(1),D("ngIf",i.elapsedTime))},dependencies:[Wn,Ot,kr,Cn,vi,Vr,kt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),t})(),Vh=(()=>{class t{transform(e,i){let o,s=!0;i?i.showPerSecond?i.useBits?(o=t.measurementsPerSecInBits,s=!1):o=t.measurementsPerSec:i.useBits?(o=t.accumulatedMeasurementsInBits,s=!1):o=t.accumulatedMeasurements:o=t.accumulatedMeasurements;let a=new B0.BigNumber(e);s||(a=a.multipliedBy(8));let l=o[0],c=0;for(;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),c+=1,l=o[c];let _="";return(!i||!!i.showValue)&&(_=i&&i.limitDecimals?new B0.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!i||!!i.showValue&&!!i.showUnit)&&(_+=" "),(!i||!!i.showUnit)&&(_+=l),_}}return t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Ki({name:"autoScale",type:t,pure:!0}),t})();function x$(t,n){if(1&t){const e=nt();T(0,"button",23),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),T(1,"mat-icon"),O(2,"chevron_left"),k()()}}function L$(t,n){1&t&&(qe(0),De(1,"img",24),Ke())}function E$(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}const P$=function(t){return{transparent:t}};function I$(t,n){if(1&t){const e=nt();qe(0),T(1,"div",26),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).requestAction(o.actionName))}),T(2,"mat-icon",27),O(3),k(),O(4),Y(5,"translate"),k(),Ke()}if(2&t){const e=n.$implicit;d(1),D("disabled",e.disabled),d(1),D("ngClass",Ue(6,P$,e.disabled)),d(1),pe(e.icon),d(1),ye(" ",B(5,4,e.name)," ")}}function O$(t,n){1&t&&De(0,"div",28)}function A$(t,n){if(1&t&&(qe(0),U(1,I$,6,8,"ng-container",25),U(2,O$,1,0,"div",9),Ke()),2&t){const e=W();d(1),D("ngForOf",e.optionsData),d(1),D("ngIf",e.returnText)}}function R$(t,n){1&t&&De(0,"div",28)}function F$(t,n){1&t&&De(0,"img",31),2&t&&D("src","assets/img/lang/"+W(2).language.iconName,Ho)}function N$(t,n){if(1&t){const e=nt();T(0,"div",29),Me("click",function(){return Ie(e),Oe(W().openLanguageWindow())}),U(1,F$,1,1,"img",30),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(1),D("ngIf",e.language),d(1),ye(" ",B(3,2,e.language?e.language.name:"")," ")}}function Y$(t,n){if(1&t){const e=nt();T(0,"div",32)(1,"a",33),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),Y(2,"translate"),T(3,"mat-icon",34),O(4,"chevron_left"),k()()()}if(2&t){const e=W();d(1),D("matTooltip",B(2,2,e.returnText)),d(2),D("inline",!0)}}function H$(t,n){if(1&t&&(T(0,"span",35),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}function V$(t,n){1&t&&De(0,"img",36)}const B$=function(t,n){return{"d-lg-none":t,"d-none d-md-inline-block":n}},IE=function(t,n){return{"mouse-disabled":t,"grey-button-background":n}};function j$(t,n){if(1&t&&(T(0,"div",27)(1,"a",37)(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k()()()),2&t){const e=n.$implicit,i=n.index,s=W();D("ngClass",hn(9,B$,e.onlyIfLessThanLg,1!==s.tabsData.length)),d(1),D("disabled",i===s.selectedTabIndex)("routerLink",e.linkParts)("ngClass",hn(12,IE,s.disableMouse,!s.disableMouse&&i!==s.selectedTabIndex)),d(1),D("inline",!0),d(1),pe(e.icon),d(2),pe(B(6,7,e.label))}}const U$=function(t){return{"d-none":t}};function z$(t,n){if(1&t){const e=nt();T(0,"div",38)(1,"button",39),Me("click",function(){return Ie(e),Oe(W().openTabSelector())}),T(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k(),T(7,"mat-icon",34),O(8,"keyboard_arrow_down"),k()()()}if(2&t){const e=W();D("ngClass",Ue(8,U$,1===e.tabsData.length)),d(1),D("ngClass",hn(10,IE,e.disableMouse,!e.disableMouse)),d(1),D("inline",!0),d(1),pe(e.tabsData[e.selectedTabIndex].icon),d(2),pe(B(6,6,e.tabsData[e.selectedTabIndex].label)),d(2),D("inline",!0)}}function W$(t,n){if(1&t){const e=nt();T(0,"app-refresh-button",43),Me("click",function(){return Ie(e),Oe(W(2).sendRefreshEvent())}),k()}if(2&t){const e=W(2);D("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.showLoading)("showAlert",e.showAlert)("refeshRate",e.refeshRate)}}function $$(t,n){if(1&t&&(T(0,"div",40),U(1,W$,1,4,"app-refresh-button",41),T(2,"button",42)(3,"mat-icon",34),O(4,"menu"),k()()()),2&t){const e=W(),i=li(12);d(1),D("ngIf",e.showUpdateButton),d(1),D("matMenuTriggerFor",i),d(1),D("inline",!0)}}function G$(t,n){if(1&t){const e=nt();T(0,"div",51)(1,"div",52),Me("click",function(){return Ie(e),Oe(W(2).openLanguageWindow())}),De(2,"img",53),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(2),D("src","assets/img/lang/"+e.language.iconName,Ho),d(1),ye(" ",B(4,2,e.language?e.language.name:"")," ")}}function q$(t,n){1&t&&(T(0,"div",54),Y(1,"translate"),T(2,"mat-icon",34),O(3,"warning"),k(),O(4),Y(5,"translate"),k()),2&t&&(D("matTooltip",B(1,3,"vpn.connection-error.info")),d(2),D("inline",!0),d(2),ye(" ",B(5,5,"vpn.connection-error.text")," "))}function K$(t,n){1&t&&(T(0,"div",61)(1,"mat-icon",59),O(2,"brightness_1"),k()()),2&t&&(d(1),D("inline",!0))}const Z$=function(t,n){return{"animation-container":t,"d-none":n}},Q$=function(t){return{time:t}},OE=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function J$(t,n){if(1&t&&(T(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),T(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),O(8,"brightness_1"),k(),O(9),Y(10,"translate"),k()()(),U(11,K$,3,1,"div",60),T(12,"mat-icon",59),O(13,"brightness_1"),k(),O(14),Y(15,"translate"),k(),T(16,"td",56),Y(17,"translate"),T(18,"mat-icon",34),O(19,"swap_horiz"),k(),O(20),Y(21,"translate"),k()(),T(22,"tr")(23,"td",56),Y(24,"translate"),T(25,"mat-icon",34),O(26,"arrow_upward"),k(),O(27),Y(28,"autoScale"),k(),T(29,"td",56),Y(30,"translate"),T(31,"mat-icon",34),O(32,"arrow_downward"),k(),O(33),Y(34,"autoScale"),k()()()),2&t){const e=W(2);d(2),fs(e.vpnData.stateClass+" state-td"),D("matTooltip",B(3,18,e.vpnData.state+"-info")),d(2),D("ngClass",hn(39,Z$,e.showVpnStateAnimation,!e.showVpnStateAnimation)),d(3),D("inline",!0),d(2),ye(" ",B(10,20,e.vpnData.state)," "),d(2),D("ngIf",e.showVpnStateAnimatedDot),d(1),D("inline",!0),d(2),ye(" ",B(15,22,e.vpnData.state)," "),d(2),D("matTooltip",B(17,24,"vpn.connection-info.latency-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Ue(42,Q$,e.getPrintableLatency(e.vpnData.latency)))," "),d(3),D("matTooltip",B(24,29,"vpn.connection-info.upload-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(28,31,e.vpnData.uploadSpeed,Ue(44,OE,e.showVpnDataStatsInBits))," "),d(2),D("matTooltip",B(30,34,"vpn.connection-info.download-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(34,36,e.vpnData.downloadSpeed,Ue(46,OE,e.showVpnDataStatsInBits))," ")}}function X$(t,n){1&t&&De(0,"mat-spinner",62),2&t&&D("diameter",20)}function eG(t,n){if(1&t&&(T(0,"div")(1,"div",44),U(2,G$,5,4,"div",45),De(3,"div",46),U(4,q$,6,7,"div",47),k(),T(5,"div",48),U(6,J$,35,48,"table",49),U(7,X$,1,1,"mat-spinner",50),k()()),2&t){const e=W();d(2),D("ngIf",!e.hideLanguageButton&&e.language),d(2),D("ngIf",e.errorsConnectingToVpn),d(2),D("ngIf",e.vpnData),d(1),D("ngIf",!e.vpnData)}}function tG(t,n){1&t&&(T(0,"div",63)(1,"div",64)(2,"mat-icon",34),O(3,"error_outline"),k(),O(4),Y(5,"translate"),k(),T(6,"div",65),O(7),Y(8,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.remote-access-title")," "),d(3),ye(" ",B(8,5,"vpn.remote-access-text")," "))}const AE=function(t,n){return{"d-lg-none":t,"d-none":n}},nG=function(t){return{"normal-height":t}},iG=function(t,n){return{"d-none d-lg-flex":t,"d-flex":n}};let Hl=(()=>{class t{constructor(e,i,s,o,a){this.languageService=e,this.dialog=i,this.router=s,this.vpnClientService=o,this.vpnSavedDataService=a,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new ft,this.optionSelected=new ft,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}set localVpnKey(e){this.localVpnKeyInternal=e,e?this.startGettingVpnInfo():this.stopGettingVpnInfo()}ngOnInit(){this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(i=>{this.language=i})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(i=>{this.hideLanguageButton=!(i.length>1)}));const e=window.location.hostname;!e.toLowerCase().includes("localhost")&&!e.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}ngOnDestroy(){this.langSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}startGettingVpnInfo(){this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(e=>{e&&(this.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===pn.Stopped?(this.vpnData.state="vpn.connection-info.state-disconnected",this.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===pn.Connecting?(this.vpnData.state="vpn.connection-info.state-connecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Running?(this.vpnData.state="vpn.connection-info.state-connected",this.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===pn.ShuttingDown?(this.vpnData.state="vpn.connection-info.state-disconnecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Reconnecting&&(this.vpnData.state="vpn.connection-info.state-reconnecting",this.vpnData.stateClass="yellow-clear-text"),this.initialVpnStateObtained?this.lastVpnState!==this.vpnData.state&&(this.lastVpnState=this.vpnData.state,this.showVpnStateAnimation=!1,this.showVpnStateChangeAnimationSubscription&&this.showVpnStateChangeAnimationSubscription.unsubscribe(),this.showVpnStateChangeAnimationSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimation=!0)):(this.initialVpnStateObtained=!0,this.lastVpnState=this.vpnData.state),this.showVpnStateAnimatedDot=!1,this.showVpnStateAnimatedDotSubscription&&this.showVpnStateAnimatedDotSubscription.unsubscribe(),this.showVpnStateAnimatedDotSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimatedDot=!0))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(e=>{this.errorsConnectingToVpn=e})}stopGettingVpnInfo(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}requestAction(e){this.optionSelected.emit(e)}openLanguageWindow(){mE.openDialog(this.dialog)}sendRefreshEvent(){this.refreshRequested.emit()}openTabSelector(){const e=[];this.tabsData.forEach(i=>{e.push({label:i.label,icon:i.icon})}),Ur.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe(i=>{i&&(i-=1)!==this.selectedTabIndex&&this.router.navigate(this.tabsData[i].linkParts)})}updateVpnDataStatsUnit(){const e=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=e===ns.BitsSpeedAndBytesVolume||e===ns.OnlyBits}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn),N(Ut),N(wu),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,i){if(1&e&&(T(0,"div",0)(1,"div",1),U(2,x$,3,0,"button",2),k(),T(3,"div",3),U(4,L$,2,0,"ng-container",4),U(5,E$,3,3,"ng-container",4),k(),T(6,"div",1)(7,"button",5)(8,"mat-icon"),O(9,"menu"),k()()()(),De(10,"div",6),T(11,"mat-menu",7,8),U(13,A$,3,2,"ng-container",4),U(14,R$,1,0,"div",9),U(15,N$,4,4,"div",10),k(),T(16,"div",11)(17,"div",12)(18,"div",13),U(19,Y$,5,4,"div",14),U(20,H$,3,3,"span",15),U(21,V$,1,0,"img",16),k(),T(22,"div",17),U(23,j$,7,15,"div",18),U(24,z$,9,13,"div",19),De(25,"div",20),U(26,$$,5,3,"div",21),k()(),U(27,eG,8,4,"div",4),k(),U(28,tG,9,7,"div",22)),2&e){const s=li(12);D("ngClass",hn(20,AE,!i.showVpnInfo,i.showVpnInfo)),d(2),D("ngIf",i.returnText),d(2),D("ngIf",!i.titleParts||i.titleParts.length<2),d(1),D("ngIf",i.titleParts&&i.titleParts.length>=2),d(2),D("matMenuTriggerFor",s),d(3),D("ngClass",hn(23,AE,!i.showVpnInfo,i.showVpnInfo)),d(1),D("overlapTrigger",!1),d(2),D("ngIf",i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton&&i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton),d(1),D("ngClass",Ue(26,nG,!i.showVpnInfo)),d(2),D("ngClass",hn(28,iG,!i.showVpnInfo,i.showVpnInfo)),d(1),D("ngIf",i.returnText),d(1),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(2),D("ngForOf",i.tabsData),d(1),D("ngIf",i.tabsData&&i.tabsData[i.selectedTabIndex]),d(2),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo&&i.remoteAccess)}},dependencies:[Wn,Fi,Ot,Wa,kr,N9,Cn,vi,vu,ia,bu,Vr,T$,kt,Vh],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 5px 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),t})();const RE=function(){return["start.title"]};function rG(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator",4),k()),2&t){const e=W();d(2),D("titleParts",Hn(4,RE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function sG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oG(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aG(t,n){if(1&t&&(T(0,"div",23)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sG,3,3,"ng-container",24),U(5,oG,2,1,"ng-container",24),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lG(t,n){if(1&t){const e=nt();T(0,"div",20),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.removeFilters())}),U(1,aG,6,5,"div",21),T(2,"div",22),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cG(t,n){if(1&t){const e=nt();T(0,"mat-icon",25),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function uG(t,n){1&t&&(T(0,"mat-icon",26),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(12)))}const FE=function(){return["/nodes","list"]},NE=function(){return["/nodes","dmsg"]};function dG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,NE):Hn(4,FE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _G(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function gG(t,n){if(1&t&&(qe(0),T(1,"mat-icon",42),O(2),k(),U(3,_G,2,0,"ng-container",24),Ke()),2&t){const e=W(5);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function vG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dmsgServerSortData))}),O(1),Y(2,"translate"),U(3,gG,4,3,"ng-container",24),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.dmsg-server")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dmsgServerSortData)}}function bG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.pingSortData))}),O(1),Y(2,"translate"),U(3,bG,2,2,"mat-icon",35),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.ping")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pingSortData)}}function MG(t,n){1&t&&(T(0,"mat-icon",49),Y(1,"translate"),O(2,"star"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"nodes.hypervisor-info"))}function wG(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(6).forceDataRefresh())}),k()}if(2&t){const e=W(2).$implicit,i=W(4);Ln("id",e.dmsgServerPk),D("short",!0)("elementType",i.labeledElementTypes.DmsgServer)}}function CG(t,n){if(1&t&&(T(0,"td"),U(1,wG,1,3,"app-labeled-element-text",50),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}const YE=function(t){return{time:t}};function SG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W(2).$implicit;d(1),ye(" ",Vt(2,1,"common.time-in-ms",Ue(4,YE,e.roundTripPing))," ")}}function DG(t,n){if(1&t&&(T(0,"td"),U(1,SG,3,6,"ng-container",24),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}function kG(t,n){1&t&&(T(0,"button",52),Y(1,"translate"),T(2,"mat-icon",42),O(3,"chevron_right"),k()()),2&t&&(D("matTooltip",B(1,2,"nodes.view-node")),d(2),D("inline",!0))}function TG(t,n){if(1&t){const e=nt();T(0,"button",46),Me("click",function(s){Ie(e);const o=W().$implicit,a=W(4);return s.stopPropagation(),s.preventDefault(),Oe(a.deleteNode(o))}),Y(1,"translate"),T(2,"mat-icon"),O(3,"close"),k()()}2&t&&D("matTooltip",B(1,1,"nodes.delete-node"))}const xG=function(t,n){return{"click-effect":t,"non-selectable":n}},HE=function(t){return["/nodes",t]};function LG(t,n){if(1&t){const e=nt();T(0,"a",43)(1,"td"),U(2,MG,3,4,"mat-icon",44),k(),T(3,"td"),De(4,"span",45),Y(5,"translate"),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),U(10,CG,2,1,"td",24),U(11,DG,2,1,"td",24),T(12,"td",40)(13,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.copyToClipboard(a))}),Y(14,"translate"),T(15,"mat-icon",42),O(16,"filter_none"),k()(),T(17,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showEditLabelDialog(a))}),Y(18,"translate"),T(19,"mat-icon",42),O(20,"short_text"),k()(),U(21,kG,4,4,"button",47),U(22,TG,4,3,"button",48),k()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",hn(22,xG,e.online,!e.online))("routerLink",e.online?Ue(25,HE,e.localPk):null),d(2),D("ngIf",e.isHypervisor),d(2),fs(i.nodeStatusClass(e,!0)),D("matTooltip",B(5,16,i.nodeStatusText(e,!0))),d(3),ye(" ",e.label," "),d(2),ye(" ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(2),D("matTooltip",B(14,18,i.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),d(2),D("inline",!0),d(2),D("matTooltip",B(18,20,"labeled-element.edit-label")),d(2),D("inline",!0),d(2),D("ngIf",e.online),d(1),D("ngIf",!e.online)}}function EG(t,n){if(1&t){const e=nt();T(0,"table",32)(1,"tr")(2,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.hypervisorSortData))}),Y(3,"translate"),T(4,"mat-icon",34),O(5,"star_outline"),k(),U(6,hG,2,2,"mat-icon",35),k(),T(7,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(8,"translate"),De(9,"span",36),U(10,fG,2,2,"mat-icon",35),k(),T(11,"th",37),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(12),Y(13,"translate"),U(14,pG,2,2,"mat-icon",35),k(),T(15,"th",38),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(16),Y(17,"translate"),U(18,mG,2,2,"mat-icon",35),k(),U(19,vG,4,4,"th",39),U(20,yG,4,4,"th",39),De(21,"th",40),k(),U(22,LG,23,27,"a",41),k()}if(2&t){const e=W(3);d(2),D("matTooltip",B(3,11,"nodes.hypervisor")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.hypervisorSortData),d(1),D("matTooltip",B(8,13,"nodes.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(13,15,"nodes.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(17,17,"nodes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(1),D("ngIf",e.showDmsgInfo),d(1),D("ngIf",e.showDmsgInfo),d(2),D("ngForOf",e.dataSource)}}function PG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function IG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function OG(t,n){1&t&&(T(0,"div",62)(1,"mat-icon",67),O(2,"star"),k(),O(3,"\xa0 "),T(4,"span",68),O(5),Y(6,"translate"),k()()),2&t&&(d(1),D("inline",!0),d(4),pe(B(6,2,"nodes.hypervisor")))}function AG(t,n){if(1&t){const e=nt();T(0,"div",63)(1,"span",9),O(2),Y(3,"translate"),k(),O(4,": "),T(5,"app-labeled-element-text",69),Me("labelEdited",function(){return Ie(e),Oe(W(5).forceDataRefresh())}),k()()}if(2&t){const e=W().$implicit,i=W(4);d(2),pe(B(3,3,"nodes.dmsg-server")),d(3),Ln("id",e.dmsgServerPk),D("elementType",i.labeledElementTypes.DmsgServer)}}function RG(t,n){if(1&t&&(T(0,"div",62)(1,"span",9),O(2),Y(3,"translate"),k(),O(4),Y(5,"translate"),k()),2&t){const e=W().$implicit;d(2),pe(B(3,2,"nodes.ping")),d(2),ye(": ",Vt(5,4,"common.time-in-ms",Ue(7,YE,e.roundTripPing))," ")}}const FG=function(t){return{"selectable click-effect":t}};function NG(t,n){if(1&t){const e=nt();T(0,"a",59)(1,"tr",60)(2,"td",60)(3,"div",55)(4,"div",56),U(5,OG,7,4,"div",61),T(6,"div",62)(7,"span",9),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"span"),O(12),Y(13,"translate"),k()(),T(14,"div",62)(15,"span",9),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",63)(20,"span",9),O(21),Y(22,"translate"),k(),O(23),k(),U(24,AG,6,5,"div",64),U(25,RG,6,9,"div",61),k(),De(26,"div",65),T(27,"div",57)(28,"button",66),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showOptionsDialog(a))}),Y(29,"translate"),T(30,"mat-icon"),O(31),k()()()()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(25,FG,e.online))("routerLink",e.online?Ue(27,HE,e.localPk):null),d(5),D("ngIf",e.isHypervisor),d(3),pe(B(9,15,"nodes.state")),d(3),fs(i.nodeStatusClass(e,!1)+" title"),d(1),pe(B(13,17,i.nodeStatusText(e,!1))),d(4),pe(B(17,19,"nodes.label")),d(2),ye(": ",e.label," "),d(3),pe(B(22,21,"nodes.key")),d(2),ye(": ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(3),D("matTooltip",B(29,23,"common.options")),d(3),pe("add")}}function YG(t,n){if(1&t){const e=nt();T(0,"table",53)(1,"tr",54),Me("click",function(){return Ie(e),Oe(W(3).dataSorter.openSortingOrderModal())}),T(2,"td")(3,"div",55)(4,"div",56)(5,"div",9),O(6),Y(7,"translate"),k(),T(8,"div"),O(9),Y(10,"translate"),U(11,PG,3,3,"ng-container",24),U(12,IG,3,3,"ng-container",24),k()(),T(13,"div",57)(14,"mat-icon",42),O(15,"keyboard_arrow_down"),k()()()()(),U(16,NG,32,29,"a",58),k()}if(2&t){const e=W(3);d(6),pe(B(7,6,"tables.sorting-title")),d(3),ye("",B(10,8,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource)}}function HG(t,n){if(1&t&&(T(0,"div",28)(1,"div",29),U(2,EG,23,19,"table",30),U(3,YG,17,10,"table",31),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0),d(1),D("ngIf",e.dataSource.length>0)}}function VG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,NE):Hn(4,FE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function BG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty")))}function jG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty-with-filter")))}function UG(t,n){if(1&t&&(T(0,"div",28)(1,"div",70)(2,"mat-icon",71),O(3,"warning"),k(),U(4,BG,3,3,"span",72),U(5,jG,3,3,"span",72),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allNodes.length),d(1),D("ngIf",0!==e.allNodes.length)}}const zG=function(t){return{"paginator-icons-fixer":t}};function WG(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Me("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))})("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),T(3,"div",6)(4,"div",8)(5,"div",9),U(6,lG,5,4,"div",10),k(),T(7,"div",11)(8,"div",12),U(9,cG,3,4,"mat-icon",13),U(10,uG,2,1,"mat-icon",14),T(11,"mat-menu",15,16)(13,"div",17),Me("click",function(){return Ie(e),Oe(W().removeOffline())}),O(14),Y(15,"translate"),k()()(),U(16,dG,1,6,"app-paginator",18),k()(),U(17,HG,4,2,"div",19),U(18,VG,1,6,"app-paginator",18),U(19,UG,6,3,"div",19),k()()}if(2&t){const e=W();d(2),D("titleParts",Hn(21,RE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.options),d(2),D("ngClass",Ue(22,zG,e.numberOfPages>1)),d(2),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",e.allNodes&&e.allNodes.length>0),d(1),D("ngIf",e.dataSource.length>0),d(1),D("overlapTrigger",!1),d(2),Ln("disabled",!e.hasOfflineNodes),d(1),ye(" ",B(15,19,"nodes.delete-all-offline")," "),d(2),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}let VE=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this.nodeService=e,this.router=i,this.dialog=s,this.authService=o,this.storageService=a,this.ngZone=l,this.snackbarService=c,this.clipboardService=_,this.translateService=E,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new In(["isHypervisor"],"nodes.hypervisor",Jt.Boolean),this.stateSortData=new In(["online"],"nodes.state",Jt.Boolean),this.labelSortData=new In(["label"],"nodes.label",Jt.Text),this.keySortData=new In(["localPk"],"nodes.key",Jt.Text),this.dmsgServerSortData=new In(["dmsgServerPk"],"nodes.dmsg-server",Jt.Text,["dmsgServerPk_label"]),this.pingSortData=new In(["roundTripPing"],"nodes.ping",Jt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:qn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:qn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:qn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=ur,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(X=>{this.canLogOut=X!==To.AuthDisabled,this.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);const $=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&($.push(this.dmsgServerSortData),$.push(this.pingSortData)),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,$,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,R,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(X=>{this.filteredNodes=X,this.hasOfflineNodes=!1,this.filteredNodes.forEach(he=>{he.online||(this.hasOfflineNodes=!0)}),this.dataSorter.setData(this.filteredNodes)}),this.navigationsSubscription=R.paramMap.subscribe(X=>{if(X.has("page")){let he=Number.parseInt(X.get("page"),10);(isNaN(he)||he<1)&&(he=1),this.currentPageInUrl=he,this.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.nodeService.forceNodeListRefresh()})}updateOptionsMenu(){this.options=[],this.options.push({name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}ngOnInit(){this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}ngOnDestroy(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}performAction(e){"logout"===e?this.logout():"updateAll"===e&&this.updateAll()}nodeStatusClass(e,i){return e.online?e.health&&e.health.servicesHealth===io.Unhealthy?i?"dot-yellow blinking":"yellow-text":e.health&&e.health.servicesHealth===io.Healthy?i?"dot-green":"green-text":i?"dot-outline-gray":"":i?"dot-red":"red-text"}nodeStatusText(e,i){return e.online?e.health&&e.health.servicesHealth===io.Healthy?"node.statuses.online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Unhealthy?"node.statuses.partially-online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Connecting?"node.statuses.connecting"+(i?"-tooltip":""):"node.statuses.unknown"+(i?"-tooltip":""):"node.statuses.offline"+(i?"-tooltip":"")}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingNodeList.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.nodeList.subscribe(e=>{this.ngZone.run(()=>{e&&(e.data&&!e.error?(this.allNodes=e.data,this.showDmsgInfo&&this.allNodes.forEach(i=>{i.dmsgServerPk_label=na.getCompleteLabel(this.storageService,this.translateService,i.dmsgServerPk)}),this.dataFilterer.setData(this.allNodes),this.loading=!1,this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1)):e.error&&(this.errorsUpdating||this.snackbarService.showError(this.loading?"common.loading-error":"nodes.error-load",null,!0,e.error),this.errorsUpdating=!0))})}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){const e=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(i,i+e)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}updateAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-update");const e=[],i=[];this.dataSource.forEach(s=>{if(s.online){const o={key:s.localPk,label:s.label,version:s.version,tag:s.buildTag};rn.checkIfTagIsUpdatable(s.buildTag)?e.push(o):i.push(o)}}),BW.openDialog(this.dialog,e,i)}recursivelyUpdateWallets(e,i,s=0){return this.nodeService.update(e[e.length-1]).pipe(Qr(()=>ze(null)),we(o=>(o&&o.updated&&!o.error?this.snackbarService.showDone(this.translateService.instant("nodes.update.done",{name:i[i.length-1]})):(this.snackbarService.showError(this.translateService.instant("nodes.update.update-error",{name:i[i.length-1]})),s+=1),e.pop(),i.pop(),e.length>=1?this.recursivelyUpdateWallets(e,i,s):ze(s))))}showOptionsDialog(e){const i=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&i.push({icon:"filter_none",label:"nodes.copy-dmsg"}),i.push({icon:"short_text",label:"labeled-element.edit-label"}),e.online||i.push({icon:"close",label:"nodes.delete-node"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):this.showDmsgInfo?2===s?this.copySpecificTextToClipboard(e.dmsgServerPk):3===s?this.showEditLabelDialog(e):4===s&&this.deleteNode(e):2===s?this.showEditLabelDialog(e):3===s&&this.deleteNode(e)})}copyToClipboard(e){this.showDmsgInfo?Ur.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):2===s&&this.copySpecificTextToClipboard(e.dmsgServerPk)}):this.copySpecificTextToClipboard(e.localPk)}copySpecificTextToClipboard(e){this.clipboardService.copy(e)&&this.snackbarService.showDone("copy.copied")}showEditLabelDialog(e){let i=this.storageService.getLabelInfo(e.localPk);i||(i={id:e.localPk,label:"",identifiedElementType:ur.Node}),U0.openDialog(this.dialog,i).afterClosed().subscribe(s=>{s&&this.forceDataRefresh()})}deleteNode(e){const i=rn.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.setLocalNodesAsHidden([e.localPk],[e.ip]),this.forceDataRefresh(),this.snackbarService.showDone("nodes.deleted")})}removeOffline(){let e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");const i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close();const s=[],o=[];this.filteredNodes.forEach(a=>{a.online||(s.push(a.localPk),o.push(a.ip))}),s.length>0&&(this.storageService.setLocalNodesAsHidden(s,o),this.forceDataRefresh(),1===s.length?this.snackbarService.showDone("nodes.deleted-singular"):this.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}}return t.\u0275fac=function(e){return new(e||t)(N(pu),N(Ut),N(Gn),N(xh),N(Xi),N(mt),N(Vn),N(Rh),N(Hr),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable","link-row",3,"ngClass","routerLink"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"selectable","click-effect",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[1,"link-row",3,"ngClass","routerLink"],[1,"d-block"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,rG,4,5,"div",0),U(1,WG,20,24,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Fi,Ot,Wa,kr,Cn,vi,vu,ia,bu,ko,yu,Hl,na,kt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}.non-selectable[_ngcontent-%COMP%]{cursor:not-allowed}"]}),t})();const $G=["terminal"],GG=["dialogContent"];let qG=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.renderer=s,this.apiService=o,this.translate=a,this.history=[],this.historyIndex=0,this.currentInputText=""}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngAfterViewInit(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}keyEvent(e){this.terminal.hasFocus()&&this.history.length>0&&(38===e.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===e.keyCode&&(this.historyIndex=this.historyIndex{this.history.push(e),this.historyIndex=this.history.length,this.currentInputText="",this.subscription=this.apiService.post(`/visors/${this.data.pk}/exec`,{command:e}).subscribe(i=>{this.printLines(i.output?i.output:this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()},i=>{i=an(i),this.printLines(i.originalServerErrorMsg&&"string"==typeof i.originalServerErrorMsg?i.type===xl.Unknown?i.originalServerErrorMsg:this.translate.instant(i.translatableErrorMsg):this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()})})}printLines(e){let i=e.replace(//g,">"),i=i.replace(/\n/g,"
"),i=i.replace(/\t/g," "),i=i.replace(/ /g," "),this.terminal.print(i),setTimeout(()=>{this.dialogContentElement.nativeElement.scrollTop=this.dialogContentElement.nativeElement.scrollHeight})}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(po),N(Ga),N(Hr))},t.\u0275cmp=Qe({type:t,selectors:[["app-basic-terminal"]],viewQuery:function(e,i){if(1&e&&(vt($G,5),vt(GG,5)),2&e){let s;at(s=lt())&&(i.terminalElement=s.first),at(s=lt())&&(i.dialogContentElement=s.first)}},hostBindings:function(e,i){1&e&&Me("keyup",function(o){return i.keyEvent(o)},0,Hg)},decls:7,vars:6,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins","dialog"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-dialog-content",1,2),Me("click",function(){return i.focusTerminal()}),T(4,"div",3),De(5,"div",null,4),k()()()),2&e&&D("headline",B(1,4,"actions.terminal.title")+" - "+i.data.label+" ("+i.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)("dialog",i.dialogRef)},dependencies:[h0,bi,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),t})();class BE{constructor(n,e){this.canBeUpdated=!1,this.canBeRestarted=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=n.get(Gn),this.router=n.get(Ut),this.snackbarService=n.get(Vn),this.nodeService=n.get(pu),this.storageService=n.get(Xi),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}updateOptions(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.canBeRestarted&&this.options.push({name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"}),this.canBeUpdated&&this.options.push({name:"actions.menu.update",actionName:"update",icon:"get_app"})}setCurrentNode(n){this.currentNode=n,rn.checkIfTagIsUpdatable(n.buildTag)?(this.canBeUpdated=!0,this.canBeRestarted=!0):(this.canBeUpdated=!1,this.canBeRestarted=!1),this.canOpenTerminal=rn.checkIfTagCanOpenterminal(n.buildTag),this.updateOptions()}setCurrentNodeKey(n){this.currentNodeKey=n}performAction(n,e){"terminal"===n?this.terminal():"update"===n?this.update():"logs"===n?window.open(window.location.origin+"/api/visors/"+e+"/runtime-logs","_blank"):"reboot"===n?this.reboot():null===n&&this.back()}dispose(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}reboot(){const n=rn.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.showProcessing(),this.rebootSubscription=this.nodeService.reboot(this.currentNodeKey).subscribe(()=>{this.snackbarService.showDone("actions.reboot.done"),n.close()},e=>{e=an(e),n.componentInstance.showDone("confirmation.error-header-text",e.translatableErrorMsg)})})}update(){const n=rn.createConfirmationDialog(this.dialog,"actions.update.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{const e=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(e+"//"+i+"/pty/"+this.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),n.close()})}terminal(){Ur.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(e=>{if(1===e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+this.currentNodeKey,"_blank","noopener noreferrer")}else 2===e&&qG.openDialog(this.dialog,{pk:this.currentNodeKey,label:this.currentNode?this.currentNode.label:""})})}back(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}function KG(t,n){1&t&&De(0,"app-loading-indicator")}function ZG(t,n){1&t&&(T(0,"div",6)(1,"div")(2,"mat-icon",7),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,2,"node.not-found")," "))}function QG(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"div")(2,"app-top-bar",3),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),U(3,KG,1,0,"app-loading-indicator",4),U(4,ZG,6,4,"div",5),k()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("showUpdateButton",!1)("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound)}}function JG(t,n){1&t&&De(0,"app-node-info-content",15),2&t&&D("nodeInfo",W(2).node)}const XG=function(t,n){return{"main-area":t,"full-size-main-area":n}},eq=function(t){return{"d-none":t}};function tq(t,n){if(1&t){const e=nt();T(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))})("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))}),k()(),T(3,"div",9)(4,"div",11)(5,"div",12),De(6,"router-outlet"),k()(),T(7,"div",13),U(8,JG,1,1,"app-node-info-content",14),k()()()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(2),D("ngClass",hn(12,XG,!e.showingInfo&&!e.showingFullList,e.showingInfo||e.showingFullList)),d(3),D("ngClass",Ue(15,eq,e.showingInfo||e.showingFullList)),d(1),D("ngIf",!e.showingInfo&&!e.showingFullList)}}let At=(()=>{class t{constructor(e,i,s,o,a,l,c){this.storageService=e,this.nodeService=i,this.route=s,this.ngZone=o,this.snackbarService=a,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new Xs(1),t.currentInstanceInternal=this,this.navigationsSubscription=c.events.subscribe(_=>{_.urlAfterRedirects&&(t.currentNodeKey=this.route.snapshot.params.key,this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.lastUrl=_.urlAfterRedirects,this.updateTabBar(),this.navigationsSubscription.unsubscribe(),this.nodeService.startRequestingSpecificNode(t.currentNodeKey),this.startGettingData())})}static refreshCurrentDisplayedData(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)}static getCurrentNodeKey(){return t.currentNodeKey}static get currentNode(){return t.nodeSubject.asObservable()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}updateTabBar(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new BE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new BE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);let e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}performAction(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.specificNode.subscribe(e=>{this.ngZone.run(()=>{if(e)if(e.data&&!e.error)this.node=e.data,t.nodeSubject.next(this.node),this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNode(this.node),this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1);else if(e.error){if(e.error.originalError&&400===e.error.originalError.status)return void(this.notFound=!0);this.errorsUpdating||this.snackbarService.showError(this.node?"node.error-load":"common.loading-error",null,!0,e.error),this.errorsUpdating=!0}})}))})}ngOnDestroy(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(pu),N(Qi),N(mt),N(Vn),N(Jn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,i){1&e&&(U(0,QG,5,8,"div",0),U(1,tq,9,17,"div",1)),2&e&&(D("ngIf",!i.node),d(1),D("ngIf",i.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),t})();function nq(t,n){if(1&t&&(T(0,"mat-option",8),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;Ln("value",e),d(1),ps(" ",e," ",B(2,3,"settings.seconds")," ")}}let iq=(()=>{class t{constructor(e,i,s){this.formBuilder=e,this.storageService=i,this.snackbarService=s,this.timesList=["3","5","10","15","30","60","90","150","300"]}ngOnInit(){this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(e=>{this.storageService.setRefreshTime(e),this.snackbarService.showDone("settings.refresh-rate-confirmation")})}ngOnDestroy(){this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),O(5," help "),k()(),T(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),U(10,nq,3,5,"mat-option",7),k()()()()()),2&e&&(d(3),D("inline",!0)("matTooltip",B(4,5,"settings.refresh-rate-help")),d(3),D("formGroup",i.form),d(2),D("placeholder",B(9,7,"settings.refresh-rate")),d(2),D("ngForOf",i.timesList))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Cn,vi,Nh,su,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),t})();const rq=["input"],sq=["label"],oq=function(t){return{enterDuration:t}},aq=["*"],lq=new Be("mat-checkbox-default-options",{providedIn:"root",factory:jE});function jE(){return{color:"accent",clickAction:"check-indeterminate"}}let cq=0;const UE=jE(),uq={provide:no,useExisting:sn(()=>Ja),multi:!0};class dq{}const hq=y2(ru(Mh(iu(class{constructor(t){this._elementRef=t}}))));let fq=(()=>{class t extends hq{constructor(e,i,s,o,a,l,c){super(i),this._changeDetectorRef=s,this._ngZone=o,this._animationMode=l,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ft,this.indeterminateChange=new ft,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||UE,this.color=this.defaultColor=this._options.color||UE.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++cq}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=En(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=En(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=En(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=En(e),i&&(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(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,s=this._getAnimationTargetElement();if(i!==e&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(rq,5),vt(sq,5),vt(Xo,5)),2&e){let s;at(s=lt())&&(i._inputElement=s.first),at(s=lt())&&(i._labelElement=s.first),at(s=lt())&&(i.ripple=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[pt]}),t})(),Ja=(()=>{class t extends fq{constructor(e,i,s,o,a,l,c){super("mat-checkbox-",e,i,o,a,l,c),this._focusMonitor=s,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new dq;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Do),N(mt),Ht("tabindex"),N(Ui,8),N(lq,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(pl("id",i.id),Wt("tabindex",null)("aria-label",null)("aria-labelledby",null),dn("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[on([uq]),pt],ngContentSelectors:aq,decls:17,vars:21,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","aria-hidden","true",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(e,i){if(1&e&&(Kr(),T(0,"label",0,1)(2,"span",2)(3,"input",3,4),Me("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),k(),T(5,"span",5),De(6,"span",6),k(),De(7,"span",7),T(8,"span",8),ba(),T(9,"svg",9),De(10,"path",10),k(),function xn(){!function rc(){Tt.lFrame.currentNamespace=null}()}(),De(11,"span",11),k()(),T(12,"span",12,13),Me("cdkObserveContent",function(){return i._onLabelTextChange()}),T(14,"span",14),O(15,"\xa0"),k(),mi(16),k()()),2&e){const s=li(1),o=li(13);Wt("for",i.inputId),d(2),dn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),d(1),D("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Wt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),d(2),D("matRippleTrigger",s)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ue(19,oq,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[Xo,qy],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:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.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}.mat-checkbox-layout{-webkit-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;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:rgba(0,0,0,0);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}.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);-webkit-print-color-adjust:exact;color-adjust:exact}._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:rgba(0,0,0,0)}.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-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),zE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),_q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Rm,zE,Pn,zE]}),t})();const gq=function(t){return{number:t}};let v_=(()=>{class t{constructor(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"a",1),O(2),Y(3,"translate"),T(4,"mat-icon",2),O(5,"chevron_right"),k()()()),2&e&&(d(1),D("routerLink",i.linkParts)("queryParams",i.queryParams),d(1),ye(" ",Vt(3,4,"view-all-link.label",Ue(7,gq,i.numberOfElements))," "),d(2),D("inline",!0))},dependencies:[Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),t})();function vq(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"labels.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"labels.info")))}function bq(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function yq(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function Mq(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,bq,3,3,"ng-container",20),U(5,yq,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function wq(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,Mq,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function Cq(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function Sq(t,n){if(1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t){W();const e=li(9);D("inline",!0)("matMenuTriggerFor",e)}}const W0=function(){return["/settings","labels"]};function Dq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function kq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Tq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function xq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Lq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),T(7,"td"),O(8),Y(9,"translate"),k(),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.id))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.id)),d(2),ye(" ",e.label," "),d(2),ye(" ",e.id," "),d(2),ps(" ",i.getLabelTypeIdentification(e)[0]," - ",B(9,7,i.getLabelTypeIdentification(e)[1])," "),d(3),D("matTooltip",B(12,9,"labels.delete")),d(2),D("inline",!0)}}function Eq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function Pq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function Iq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",42)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",43)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",42)(17,"span",1),O(18),Y(19,"translate"),k(),O(20),Y(21,"translate"),k()(),De(22,"div",44),T(23,"div",35)(24,"button",45),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(25,"translate"),T(26,"mat-icon"),O(27),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.id)),d(4),pe(B(9,10,"labels.label")),d(2),ye(": ",e.label," "),d(3),pe(B(14,12,"labels.id")),d(2),ye(": ",e.id," "),d(3),pe(B(19,14,"labels.type")),d(2),ps(": ",i.getLabelTypeIdentification(e)[0]," - ",B(21,16,i.getLabelTypeIdentification(e)[1])," "),d(4),D("matTooltip",B(25,18,"common.options")),d(3),pe("add")}}function Oq(t,n){if(1&t&&De(0,"app-view-all-link",46),2&t){const e=W(2);D("numberOfElements",e.filteredLabels.length)("linkParts",Hn(3,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Aq=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},Rq=function(t){return{"d-lg-none d-xl-table":t}},Fq=function(t){return{"d-lg-table d-xl-none":t}};function Nq(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(6),Y(7,"translate"),U(8,kq,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(10),Y(11,"translate"),U(12,Tq,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(14),Y(15,"translate"),U(16,xq,2,2,"mat-icon",28),k(),De(17,"th",29),k(),U(18,Lq,15,11,"tr",30),k(),T(19,"table",31)(20,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),O(25),Y(26,"translate"),k(),T(27,"div"),O(28),Y(29,"translate"),U(30,Eq,3,3,"ng-container",20),U(31,Pq,3,3,"ng-container",20),k()(),T(32,"div",35)(33,"mat-icon",36),O(34,"keyboard_arrow_down"),k()()()()(),U(35,Iq,28,20,"tr",30),k(),U(36,Oq,1,4,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(27,Aq,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(30,Rq,e.showShortList_)),d(4),ye(" ",B(7,17,"labels.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(11,19,"labels.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(15,21,"labels.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(32,Fq,e.showShortList_)),d(6),pe(B(26,23,"tables.sorting-title")),d(3),ye("",B(29,25,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function Yq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty")))}function Hq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty-with-filter")))}function Vq(t,n){if(1&t&&(T(0,"div",24)(1,"div",47)(2,"mat-icon",48),O(3,"warning"),k(),U(4,Yq,3,3,"span",49),U(5,Hq,3,3,"span",49),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allLabels.length),d(1),D("ngIf",0!==e.allLabels.length)}}function Bq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const jq=function(t){return{"paginator-icons-fixer":t}};let WE=(()=>{class t{constructor(e,i,s,o,a,l){this.dialog=e,this.route=i,this.router=s,this.snackbarService=o,this.translateService=a,this.storageService=l,this.listId="ll",this.labelSortData=new In(["label"],"labels.label",Jt.Text),this.idSortData=new In(["id"],"labels.id",Jt.Text),this.typeSortData=new In(["identifiedElementType_sort"],"labels.type",Jt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:qn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:qn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:ur.Node,label:"labels.filter-dialog.type-options.visor"},{value:ur.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:ur.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredLabels=_,this.dataSorter.setData(this.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredLabels)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}loadData(){this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(e=>{e.identifiedElementType_sort=this.getLabelTypeIdentification(e)[0]}),this.dataFilterer.setData(this.allLabels)}getLabelTypeIdentification(e){return e.identifiedElementType===ur.Node?["1","labels.filter-dialog.type-options.visor"]:e.identifiedElementType===ur.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:e.identifiedElementType===ur.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.close(),this.selections.forEach((i,s)=>{i&&this.storageService.saveLabel(s,"",null)}),this.snackbarService.showDone("labels.deleted"),this.loadData()})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(s=>{1===s&&this.delete(e.id)})}delete(e){const i=rn.createConfirmationDialog(this.dialog,"labels.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.saveLabel(e,"",null),this.snackbarService.showDone("labels.deleted"),this.loadData()})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredLabels){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(i,i+e);const o=new Map;this.labelsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,vq,6,7,"span",2),U(3,wq,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,Cq,3,4,"mat-icon",6),U(7,Sq,2,2,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,Dq,1,5,"app-paginator",12),k()(),U(20,Nq,37,34,"div",13),U(21,Vq,6,3,"div",13),U(22,Bq,1,5,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,jq,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allLabels&&i.allLabels.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Uq(t,n){1&t&&De(0,"app-password")}function zq(t,n){1&t&&(T(0,"div",8),De(1,"mat-spinner",9),O(2),Y(3,"translate"),k()),2&t&&(d(1),D("diameter",11),d(1),ye(" ",B(3,2,"settings.checking-auth")," "))}const Wq=function(){return["start.title"]};let $q=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.tabsData=[],this.options=[],this.waitBeforeShowingLoading=!0,this.authChecked=!1,this.authActive=!1,this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}ngOnInit(){setTimeout(()=>{this.waitBeforeShowingLoading=!1},500),this.checkAuth(0)}checkAuth(e){this.authSubscription=ze(1).pipe(Ji(e),we(()=>this.authService.checkLogin())).subscribe(i=>{this.authChecked=!0,this.authActive=i===To.Logged},()=>{this.checkAuth(15e3)})}ngOnDestroy(){this.authSubscription.unsubscribe()}performAction(e){"logout"===e&&this.logout()}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-settings"]],decls:8,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[4,"ngIf"],["class","white-theme checking-container",4,"ngIf"],[3,"showShortList"],[1,"white-theme","checking-container"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-refresh-rate",4),U(5,Uq,1,0,"app-password",5),U(6,zq,4,4,"div",6),De(7,"app-label-list",7),k()()),2&e&&(d(2),D("titleParts",Hn(8,Wq))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",i.options),d(3),D("ngIf",i.authChecked&&i.authActive),d(1),D("ngIf",!i.authChecked&&!i.waitBeforeShowingLoading),d(1),D("showShortList",!0))},dependencies:[Ot,Vr,fE,iq,Hl,WE,kt],styles:[".checking-container[_ngcontent-%COMP%]{font-size:10px;opacity:.5}.checking-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block}.show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t})(),$0=(()=>{class t{constructor(e){this.apiService=e}create(e,i,s){const o={remote_pk:i};return s&&(o.transport_type=s),this.apiService.post(`visors/${e}/transports`,o)}delete(e,i){return this.apiService.delete(`visors/${e}/transports/${i}`)}savePersistentTransportsData(e,i){return this.apiService.put(`visors/${e}/persistent-transports`,i)}getPersistentTransports(e){return this.apiService.get(`visors/${e}/persistent-transports`)}types(e){return this.apiService.get(`visors/${e}/transport-types`)}changeAutoconnectSetting(e,i){const s={};return s.public_autoconnect=i,this.apiService.put(`visors/${e}/public-autoconnect`,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gq=["button"],qq=["firstInput"];function Kq(t,n){1&t&&De(0,"app-loading-indicator",5),2&t&&D("showWhite",!1)}function Zq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Qq(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function Jq(t,n){if(1&t&&(T(0,"mat-option",17),O(1),k()),2&t){const e=n.$implicit;D("value",e),d(1),pe(e)}}const b_=function(t){return{"element-disabled":t}};function Xq(t,n){if(1&t){const e=nt();T(0,"form",6)(1,"mat-form-field",7),De(2,"input",8,9),Y(4,"translate"),T(5,"mat-error"),U(6,Zq,3,3,"ng-container",10),k(),U(7,Qq,2,3,"ng-template",null,11,Oa),k(),T(9,"mat-form-field",7),De(10,"input",12),Y(11,"translate"),k(),T(12,"mat-form-field",7)(13,"mat-select",13),Y(14,"translate"),U(15,Jq,2,2,"mat-option",14),k(),T(16,"mat-error"),O(17),Y(18,"translate"),k()(),T(19,"mat-checkbox",15),Me("change",function(s){return Ie(e),Oe(W().setMakePersistent(s))}),O(20),Y(21,"translate"),T(22,"mat-icon",16),Y(23,"translate"),O(24,"help"),k()()()}if(2&t){const e=li(8),i=W();D("formGroup",i.form),d(1),D("ngClass",Ue(28,b_,i.disableDismiss)),d(1),D("placeholder",B(4,16,"transports.dialog.remote-key")),d(4),D("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",e),d(3),D("ngClass",Ue(30,b_,i.disableDismiss)),d(1),D("placeholder",B(11,18,"transports.dialog.label")),d(2),D("ngClass",Ue(32,b_,i.disableDismiss)),d(1),D("placeholder",B(14,20,"transports.dialog.transport-type")),d(2),D("ngForOf",i.types),d(2),ye(" ",B(18,22,"transports.dialog.errors.transport-type-error")," "),d(2),D("checked",i.makePersistent)("ngClass",Ue(34,b_,i.disableDismiss)),d(1),ye(" ",B(21,24,"transports.dialog.make-persistent")," "),d(2),D("inline",!0)("matTooltip",B(23,26,"transports.dialog.persistent-tooltip"))}}let eK=(()=>{class t{constructor(e,i,s,o,a,l){this.transportService=e,this.formBuilder=i,this.dialogRef=s,this.snackbarService=o,this.storageService=a,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({remoteKey:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",yn.required]}),this.loadData(0)}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setMakePersistent(e){this.makePersistent=!!e.checked}create(){if(!this.form.valid||this.button.disabled)return;this.button.showLoading();const e=this.form.get("remoteKey").value,i=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){const o=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=o.subscribe(a=>{const l=a||[];let c=!1;l.forEach(_=>{_.pk.toUpperCase()===e.toUpperCase()&&_.type.toUpperCase()===i.toUpperCase()&&(c=!0)}),c?this.createTransport(e,i,s,!0):this.createPersistent(l,e,i,s)},a=>{this.onError(a)})}else this.createTransport(e,i,s,!1)}createPersistent(e,i,s,o){e.push({pk:i,type:s}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),e).subscribe(()=>{this.createTransport(i,s,o,!0)},a=>{this.onError(a)})}createTransport(e,i,s,o){this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),e,i).subscribe(a=>{let l=!1;s&&(a&&a.id?this.storageService.saveLabel(a.id,s,ur.Transport):l=!0),At.refreshCurrentDisplayedData(),this.dialogRef.close(),l?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},a=>{o?(At.refreshCurrentDisplayedData(),this.dialogRef.close(),this.snackbarService.showWarning("transports.dialog.only-persistent-created")):this.onError(a)})}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}loadData(e){this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=ze(1).pipe(Ji(e),we(()=>this.transportService.types(At.getCurrentNodeKey()))).subscribe(i=>{i.sort((o,a)=>"stcp"===o.toLowerCase()?1:"stcp"===a.toLowerCase()?-1:o.localeCompare(a));let s=i.findIndex(o=>"dmsg"===o.toLowerCase());s=-1!==s?s:0,this.types=i,this.form.get("type").setValue(i[s]),this.snackbarService.closeCurrentIfTemporaryError(),setTimeout(()=>this.firstInput.nativeElement.focus())},i=>{i=an(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N($0),N(ts),N(ei),N(Vn),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-create-transport"]],viewQuery:function(e,i){if(1&e&&(vt(Gq,5),vt(qq,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:8,vars:11,consts:[[3,"headline","dialog","disableDismiss"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],[3,"ngClass"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Kq,1,1,"app-loading-indicator",1),U(3,Xq,25,36,"form",2),T(4,"app-button",3,4),Me("action",function(){return i.create()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,7,"transports.create"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("ngIf",!i.types),d(1),D("ngIf",i.types),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(7,9,"transports.create")," "))},dependencies:[Wn,Fi,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Nh,su,Ja,Tr,bi,ko,kt]}),t})();function tK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),T(3,"mat-icon",6),Y(4,"translate"),O(5,"help"),k(),Ke()),2&t&&(d(1),ye(" ",B(2,3,"common.yes")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.persistent-transport-tooltip")))}function nK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.no")))}let iK=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-details"]],decls:51,vars:45,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),U(12,tK,6,7,"ng-container",4),U(13,nK,3,3,"ng-container",4),k(),T(14,"div",3)(15,"span"),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",3)(20,"span"),O(21),Y(22,"translate"),k(),O(23),k(),T(24,"div",3)(25,"span"),O(26),Y(27,"translate"),k(),O(28),k(),T(29,"div",3)(30,"span"),O(31),Y(32,"translate"),k(),O(33),k(),T(34,"div",5)(35,"mat-icon",2),O(36,"import_export"),k(),O(37),Y(38,"translate"),k(),T(39,"div",3)(40,"span"),O(41),Y(42,"translate"),k(),O(43),Y(44,"autoScale"),k(),T(45,"div",3)(46,"span"),O(47),Y(48,"translate"),k(),O(49),Y(50,"autoScale"),k()()()),2&e&&(D("headline",B(1,21,"transports.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,23,"transports.details.basic.title")," "),d(4),pe(B(11,25,"transports.details.basic.persistent")),d(2),D("ngIf",i.data.isPersistent),d(1),D("ngIf",!i.data.isPersistent),d(3),pe(B(17,27,"transports.details.basic.id")),d(2),ye(" ",i.data.id," "),d(3),pe(B(22,29,"transports.details.basic.local-pk")),d(2),ye(" ",i.data.localPk," "),d(3),pe(B(27,31,"transports.details.basic.remote-pk")),d(2),ye(" ",i.data.remotePk," "),d(3),pe(B(32,33,"transports.details.basic.type")),d(2),ye(" ",i.data.type," "),d(2),D("inline",!0),d(2),ye("",B(38,35,"transports.details.data.title")," "),d(4),pe(B(42,37,"transports.details.data.uploaded")),d(2),ye(" ",B(44,39,i.data.sent)," "),d(4),pe(B(48,41,"transports.details.data.downloaded")),d(2),ye(" ",B(50,43,i.data.recv)," "))},dependencies:[Ot,Cn,vi,bi,kt,Vh],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),t})();function rK(t,n){1&t&&(T(0,"span",15),O(1),Y(2,"translate"),T(3,"mat-icon",16),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"transports.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.info")))}function sK(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oK(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aK(t,n){if(1&t&&(T(0,"div",20)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sK,3,3,"ng-container",21),U(5,oK,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lK(t,n){if(1&t){const e=nt();T(0,"div",17),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,aK,6,5,"div",18),T(2,"div",19),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cK(t,n){if(1&t){const e=nt();T(0,"mat-icon",22),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),O(1,"filter_list"),k()}2&t&&D("inline",!0)}function uK(t,n){if(1&t&&(T(0,"mat-icon",23),O(1,"more_horiz"),k()),2&t){W();const e=li(11);D("inline",!0)("matMenuTriggerFor",e)}}const G0=function(t){return["/nodes",t,"transports"]};function dK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function pK(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,fK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function mK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function _K(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,mK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function gK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function vK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function bK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!1))}),Y(1,"translate"),T(2,"mat-icon",49),O(3,"star"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.persistent-transport-button-tooltip")),d(2),D("inline",!0))}function MK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!0))}),Y(1,"translate"),T(2,"mat-icon",50),O(3,"star_outline"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.non-persistent-transport-button-tooltip")),d(2),D("inline",!0))}function wK(t,n){1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function CK(t,n){if(1&t){const e=nt();T(0,"td")(1,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k(),U(2,wK,3,3,"span",21),k()}if(2&t){const e=W().$implicit,i=W(2);d(1),Ln("id",e.id),D("short",!0)("elementType",i.labeledElementTypes.Transport),d(1),D("ngIf",e.notFound)}}function SK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function DK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.sent)," ")}}function kK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.recv)," ")}}function TK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function xK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function LK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).details(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"visibility"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.details.title")),d(2),D("inline",!0))}function EK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).delete(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"close"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.delete")),d(2),D("inline",!0))}const $E=function(t){return{offline:t}};function PK(t,n){if(1&t){const e=nt();T(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,yK,4,4,"button",45),U(5,MK,4,4,"button",45),k(),U(6,CK,3,4,"td",21),U(7,SK,3,3,"td",21),T(8,"td")(9,"app-labeled-element-text",46),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(10,"td"),O(11),k(),U(12,DK,3,3,"td",21),U(13,kK,3,3,"td",21),U(14,TK,3,3,"td",21),U(15,xK,3,3,"td",21),T(16,"td",32),U(17,LK,4,4,"button",47),U(18,EK,4,4,"button",47),k()()}if(2&t){const e=n.$implicit,i=W(2);D("ngClass",Ue(15,$E,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(1),D("ngIf",!e.isPersistent),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(2),Ln("id",e.remotePk),D("short",!0),d(2),ye(" ",e.type," "),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(1),D("ngIf",e.notFound),d(2),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound)}}function IK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function OK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function AK(t,n){1&t&&(T(0,"div",59)(1,"div",59)(2,"mat-icon",62),O(3,"star"),k(),O(4,"\xa0 "),T(5,"span",63),O(6),Y(7,"translate"),k()()()),2&t&&(d(2),D("inline",!0),d(4),pe(B(7,2,"transports.persistent")))}function RK(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",64),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()}if(2&t){const e=W().$implicit,i=W(2);Ln("id",e.id),D("elementType",i.labeledElementTypes.Transport)}}function FK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function NK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.sent))}}function YK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function HK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.recv))}}function VK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function BK(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",37),U(6,AK,8,4,"div",55),T(7,"div",56)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),U(12,RK,1,2,"app-labeled-element-text",57),U(13,FK,3,3,"ng-container",21),k(),T(14,"div",56)(15,"span",1),O(16),Y(17,"translate"),k(),O(18,": "),T(19,"app-labeled-element-text",58),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(20,"div",59)(21,"span",1),O(22),Y(23,"translate"),k(),O(24),k(),T(25,"div",59)(26,"span",1),O(27),Y(28,"translate"),k(),O(29,": "),U(30,NK,3,3,"ng-container",21),U(31,YK,3,3,"ng-container",21),k(),T(32,"div",59)(33,"span",1),O(34),Y(35,"translate"),k(),O(36,": "),U(37,HK,3,3,"ng-container",21),U(38,VK,3,3,"ng-container",21),k()(),De(39,"div",60),T(40,"div",38)(41,"button",61),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(42,"translate"),T(43,"mat-icon"),O(44),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("ngClass",Ue(30,$E,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(3),pe(B(10,18,"transports.id")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(17,20,"transports.remote-node")),d(3),Ln("id",e.remotePk),d(3),pe(B(23,22,"transports.type")),d(2),ye(": ",e.type," "),d(3),pe(B(28,24,"common.uploaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(35,26,"common.downloaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),D("matTooltip",B(42,28,"common.options")),d(3),pe("add")}}function jK(t,n){if(1&t&&De(0,"app-view-all-link",65),2&t){const e=W(2);D("numberOfElements",e.filteredTransports.length)("linkParts",Ue(3,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const UK=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},zK=function(t){return{"d-lg-none d-xl-table":t}},WK=function(t){return{"d-lg-table d-xl-none":t}};function $K(t,n){if(1&t){const e=nt();T(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),De(4,"th"),T(5,"th",28),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.persistentSortData))}),Y(6,"translate"),T(7,"mat-icon",29),O(8,"star_outline"),k(),U(9,hK,2,2,"mat-icon",30),k(),T(10,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(11),Y(12,"translate"),U(13,pK,4,3,"ng-container",21),k(),T(14,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.remotePkSortData))}),O(15),Y(16,"translate"),U(17,_K,4,3,"ng-container",21),k(),T(18,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(19),Y(20,"translate"),U(21,gK,2,2,"mat-icon",30),k(),T(22,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.uploadedSortData))}),O(23),Y(24,"translate"),U(25,vK,2,2,"mat-icon",30),k(),T(26,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.downloadedSortData))}),O(27),Y(28,"translate"),U(29,bK,2,2,"mat-icon",30),k(),De(30,"th",32),k(),U(31,PK,19,17,"tr",33),k(),T(32,"table",34)(33,"tr",35),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),O(38),Y(39,"translate"),k(),T(40,"div"),O(41),Y(42,"translate"),U(43,IK,3,3,"ng-container",21),U(44,OK,3,3,"ng-container",21),k()(),T(45,"div",38)(46,"mat-icon",39),O(47,"keyboard_arrow_down"),k()()()()(),U(48,BK,45,32,"tr",40),k(),U(49,jK,1,5,"app-view-all-link",41),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(39,UK,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(42,zK,e.showShortList_)),d(3),D("matTooltip",B(6,23,"transports.persistent-tooltip")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.persistentSortData),d(2),ye(" ",B(12,25,"transports.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(16,27,"transports.remote-node")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.remotePkSortData),d(2),ye(" ",B(20,29,"transports.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(24,31,"common.uploaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.uploadedSortData),d(2),ye(" ",B(28,33,"common.downloaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.downloadedSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(44,WK,e.showShortList_)),d(6),pe(B(39,35,"tables.sorting-title")),d(3),ye("",B(42,37,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function GK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty")))}function qK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty-with-filter")))}function KK(t,n){if(1&t&&(T(0,"div",25)(1,"div",66)(2,"mat-icon",67),O(3,"warning"),k(),U(4,GK,3,3,"span",68),U(5,qK,3,3,"span",68),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allTransports.length),d(1),D("ngIf",0!==e.allTransports.length)}}function ZK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const QK=function(t){return{"paginator-icons-fixer":t}};let GE=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialog=e,this.transportService=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.nodeService=_,this.listId="tr",this.persistentSortData=new In(["isPersistent"],"transports.persistent",Jt.Boolean),this.idSortData=new In(["id"],"transports.id",Jt.Text,["id_label"]),this.remotePkSortData=new In(["remotePk"],"transports.remote-node",Jt.Text,["remote_pk_label"]),this.typeSortData=new In(["type"],"transports.type",Jt.Text),this.uploadedSortData=new In(["sent"],"common.uploaded",Jt.NumberReversed),this.downloadedSortData=new In(["recv"],"common.downloaded",Jt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:qn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:qn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:qn.TextInput,maxlength:66}],this.labeledElementTypes=ur,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredTransports=R,this.dataSorter.setData(this.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.node=this.currentNode})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredTransports)}set node(e){this.currentNode=e,this.allTransports=e.transports,this.nodePK=e.localPk;const i=new Map;e.persistentTransports.forEach(s=>i.set(this.getPersistentTransportID(s.pk,s.type),s)),this.allTransports.forEach(s=>{i.has(this.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,i.delete(this.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),i.forEach((s,o)=>{this.allTransports.push({id:this.getPersistentTransportID(s.pk,s.type),localPk:e.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(s=>{s.id_label=na.getCompleteLabel(this.storageService,this.translateService,s.id),s.remote_pk_label=na.getCompleteLabel(this.storageService,this.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}create(){eK.openDialog(this.dialog)}showOptionsDialog(e){const i=[];i.push(e.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),e.notFound||(i.push({icon:"visibility",label:"transports.details.title"}),i.push({icon:"close",label:"transports.delete"})),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.changeIfPersistent([e],!e.isPersistent):2===s?this.details(e):3===s&&this.delete(e)})}changeIfPersistentOfSelected(e){const i=[];this.allTransports.forEach(s=>{this.selections.has(s.id)&&this.selections.get(s.id)&&i.push(s)}),this.changeIfPersistent(i,e)}changeIfPersistent(e,i){if(e.length<1)return;let s="transports.";s+=1===e.length?i?"make-persistent-confirmation":"make"+(e[0].notFound?"-offline":"")+"-non-persistent-confirmation":i?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation";const o=rn.createConfirmationDialog(this.dialog,s);o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.persistentTransportSubscription=this.transportService.getPersistentTransports(this.nodePK).subscribe(a=>{const l=a||[];let c=!1;const _=new Map;if(e.forEach(E=>_.set(this.getPersistentTransportID(E.remotePk,E.type),E)),i)l.forEach(E=>{_.has(this.getPersistentTransportID(E.pk,E.type))&&_.delete(this.getPersistentTransportID(E.pk,E.type))}),c=0===_.size,c||_.forEach(E=>{l.push({pk:E.remotePk,type:E.type})});else{c=!0;for(let E=0;E{o.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.changes-made")},E=>{E=an(E),o.componentInstance.showDone("confirmation.error-header-text",E.translatableErrorMsg)})},a=>{a=an(a),o.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}details(e){iK.openDialog(this.dialog,e)}delete(e){const s=rn.createConfirmationDialog(this.dialog,"transports.delete-"+(e.isPersistent?"persistent-":"")+"confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e.id).subscribe(()=>{s.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")},o=>{o=an(o),s.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))})}refreshData(){At.refreshCurrentDisplayedData()}getPersistentTransportID(e,i){return e.toUpperCase()+i.toUpperCase()}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredTransports){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(i,i+e);const o=new Map;this.transportsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}startDeleting(e){return this.transportService.delete(At.getCurrentNodeKey(),e)}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N($0),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,rK,6,7,"span",2),U(3,lK,5,4,"div",3),k(),T(4,"div",4)(5,"div",5)(6,"mat-icon",6),Me("click",function(){return i.create()}),O(7,"add"),k(),U(8,cK,2,1,"mat-icon",7),U(9,uK,2,2,"mat-icon",8),T(10,"mat-menu",9,10)(12,"div",11),Me("click",function(){return i.changeAllSelections(!0)}),O(13),Y(14,"translate"),k(),T(15,"div",11),Me("click",function(){return i.changeAllSelections(!1)}),O(16),Y(17,"translate"),k(),T(18,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!0)}),O(19),Y(20,"translate"),k(),T(21,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!1)}),O(22),Y(23,"translate"),k(),T(24,"div",12),Me("click",function(){return i.deleteSelected()}),O(25),Y(26,"translate"),k()()(),U(27,dK,1,6,"app-paginator",13),k()(),U(28,$K,50,46,"div",14),U(29,KK,6,3,"div",14),U(30,ZK,1,6,"app-paginator",13)),2&e&&(D("ngClass",Ue(29,QK,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("inline",!0),d(2),D("ngIf",i.allTransports&&i.allTransports.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(14,19,"selection.select-all")," "),d(3),ye(" ",B(17,21,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(20,23,"transports.make-selected-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(23,25,"transports.make-selected-non-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(26,27,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt,Vh],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),t})();function JK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"settings"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.app")," "))}function XK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"swap_horiz"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.forward")," "))}function eZ(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"arrow_forward"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function tZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k()()),2&t){const e=W(2);d(3),pe(B(4,5,"routes.details.specific-fields.route-id")),d(2),ye(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),d(3),pe(B(9,7,"routes.details.specific-fields.transport-id")),d(2),ps(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function nZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k()()),2&t){const e=W(2);d(3),pe(B(4,10,"routes.details.specific-fields.destination-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),d(3),pe(B(9,12,"routes.details.specific-fields.source-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),d(3),pe(B(14,14,"routes.details.specific-fields.destination-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),d(3),pe(B(19,16,"routes.details.specific-fields.source-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function iZ(t,n){if(1&t&&(T(0,"div")(1,"div",5)(2,"mat-icon",2),O(3,"list"),k(),O(4),Y(5,"translate"),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k(),U(21,JK,5,4,"div",6),U(22,XK,5,4,"div",6),U(23,eZ,5,4,"div",6),U(24,tZ,11,9,"div",4),U(25,nZ,21,18,"div",4),k()),2&t){const e=W();d(2),D("inline",!0),d(2),ye("",B(5,13,"routes.details.summary.title")," "),d(4),pe(B(9,15,"routes.details.summary.keep-alive")),d(2),ye(" ",e.routeRule.ruleSummary.keepAlive," "),d(3),pe(B(14,17,"routes.details.summary.type")),d(2),ye(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),d(3),pe(B(19,19,"routes.details.summary.key-route-id")),d(2),ye(" ",e.routeRule.ruleSummary.keyRouteId," "),d(1),D("ngIf",e.routeRule.appFields),d(1),D("ngIf",e.routeRule.forwardFields),d(1),D("ngIf",e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}let rZ=(()=>{class t{constructor(e,i,s){this.dialogRef=i,this.storageService=s,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}getRuleTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):e.toString()}closePopup(){this.dialogRef.close()}getLabel(e){const i=this.storageService.getLabelInfo(e);return i?" ("+i.label+")":""}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-details"]],decls:19,vars:17,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),O(12),k(),T(13,"div",3)(14,"span"),O(15),Y(16,"translate"),k(),O(17),k(),U(18,iZ,26,21,"div",4),k()()),2&e&&(D("headline",B(1,9,"routes.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,11,"routes.details.basic.title")," "),d(4),pe(B(11,13,"routes.details.basic.key")),d(2),ye(" ",i.routeRule.key," "),d(3),pe(B(16,15,"routes.details.basic.rule")),d(2),ye(" ",i.routeRule.rule," "),d(1),D("ngIf",i.routeRule.ruleSummary))},dependencies:[Ot,Cn,bi,kt]}),t})(),qE=(()=>{class t{constructor(e){this.apiService=e}get(e,i){return this.apiService.get(`visors/${e}/routes/${i}`)}delete(e,i){return this.apiService.delete(`visors/${e}/routes/${i}`)}setMinHops(e,i){return this.apiService.post(`visors/${e}/min-hops`,{min_hops:i})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sZ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"routes.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"routes.info")))}function oZ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function aZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function lZ(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,oZ,3,3,"ng-container",20),U(5,aZ,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function cZ(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,lZ,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function uZ(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function dZ(t,n){1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const q0=function(t){return["/nodes",t,"routes"]};function hZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function fZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _Z(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function gZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td")(2,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(3,"td")(4,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(2),Ln("id",e.src),D("short",!0)("elementType",i.labeledElementTypes.Node),d(2),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Node)}}function vZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td")(4,"app-labeled-element-text",42),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(4),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Transport)}}function bZ(t,n){1&t&&(qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td"),O(4,"---"),k(),Ke())}function yZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),U(7,gZ,5,6,"ng-container",20),U(8,vZ,5,3,"ng-container",20),U(9,bZ,5,0,"ng-container",20),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).details(o))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"visibility"),k()(),T(15,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.key))}),Y(16,"translate"),T(17,"mat-icon",36),O(18,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.key)),d(2),ye(" ",e.key," "),d(2),ye(" ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(2),D("matTooltip",B(12,10,"routes.details.title")),d(2),D("inline",!0),d(2),D("matTooltip",B(16,12,"routes.delete")),d(2),D("inline",!0)}}function MZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function wZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function CZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": "),T(6,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(7,"div",44)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),T(12,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,6,"routes.source")),d(3),Ln("id",e.src),D("elementType",i.labeledElementTypes.Node),d(3),pe(B(10,8,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Node)}}function SZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,4,"routes.source")),d(5),pe(B(9,6,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Transport)}}function DZ(t,n){1&t&&(qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": --- "),k(),Ke()),2&t&&(d(3),pe(B(4,2,"routes.source")),d(5),pe(B(9,4,"routes.destination")))}function kZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",44)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),U(16,CZ,13,10,"ng-container",20),U(17,SZ,12,8,"ng-container",20),U(18,DZ,11,6,"ng-container",20),k(),De(19,"div",45),T(20,"div",35)(21,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(22,"translate"),T(23,"mat-icon"),O(24),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.key)),d(4),pe(B(9,10,"routes.key")),d(2),ye(": ",e.key," "),d(3),pe(B(14,12,"routes.type")),d(2),ye(": ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(3),D("matTooltip",B(22,14,"common.options")),d(3),pe("add")}}function TZ(t,n){if(1&t&&De(0,"app-view-all-link",48),2&t){const e=W(2);D("numberOfElements",e.filteredRoutes.length)("linkParts",Ue(3,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const xZ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},LZ=function(t){return{"d-lg-none d-xl-table":t}},EZ=function(t){return{"d-lg-table d-xl-none":t}};function PZ(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(6),Y(7,"translate"),U(8,fZ,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(10),Y(11,"translate"),U(12,pZ,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.sourceSortData))}),O(14),Y(15,"translate"),U(16,mZ,2,2,"mat-icon",28),k(),T(17,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.destinationSortData))}),O(18),Y(19,"translate"),U(20,_Z,2,2,"mat-icon",28),k(),De(21,"th",29),k(),U(22,yZ,19,14,"tr",30),k(),T(23,"table",31)(24,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,MZ,3,3,"ng-container",20),U(35,wZ,3,3,"ng-container",20),k()(),T(36,"div",35)(37,"mat-icon",36),O(38,"keyboard_arrow_down"),k()()()()(),U(39,kZ,25,16,"tr",30),k(),U(40,TZ,1,5,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,xZ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,LZ,e.showShortList_)),d(4),ye(" ",B(7,19,"routes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(2),ye(" ",B(11,21,"routes.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(15,23,"routes.source")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.sourceSortData),d(2),ye(" ",B(19,25,"routes.destination")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.destinationSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,EZ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function IZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty")))}function OZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty-with-filter")))}function AZ(t,n){if(1&t&&(T(0,"div",24)(1,"div",49)(2,"mat-icon",50),O(3,"warning"),k(),U(4,IZ,3,3,"span",51),U(5,OZ,3,3,"span",51),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allRoutes.length),d(1),D("ngIf",0!==e.allRoutes.length)}}function RZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const FZ=function(t){return{"paginator-icons-fixer":t}};let KE=(()=>{class t{constructor(e,i,s,o,a,l,c){this.routeService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="rl",this.keySortData=new In(["key"],"routes.key",Jt.Number),this.typeSortData=new In(["type"],"routes.type",Jt.Number),this.sourceSortData=new In(["src"],"routes.source",Jt.Text,["src_label"]),this.destinationSortData=new In(["dst"],"routes.destination",Jt.Text,["dst_label"]),this.labeledElementTypes=ur,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:qn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:qn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:qn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()});const E={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:qn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((R,$)=>{E.printableLabelsForValues.push({value:$+"",label:R})}),this.filterProperties=[E].concat(this.filterProperties),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredRoutes=R,this.dataSorter.setData(this.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredRoutes)}set routes(e){this.allRoutes=e,this.allRoutes.forEach(i=>{if(i.type=i.ruleSummary.ruleType||0===i.ruleSummary.ruleType?i.ruleSummary.ruleType:"",i.appFields||i.forwardFields){const s=i.appFields?i.appFields.routeDescriptor:i.forwardFields.routeDescriptor;i.src=s.srcPk,i.src_label=na.getCompleteLabel(this.storageService,this.translateService,i.src),i.dst=s.dstPk,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)}else i.intermediaryForwardFields?(i.src="",i.src_label="",i.dst=i.intermediaryForwardFields.nextTid,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)):(i.src="",i.src_label="",i.dst="",i.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}refreshData(){At.refreshCurrentDisplayedData()}getTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):"Unknown"}changeSelection(e){this.selections.get(e.key)?this.selections.set(e.key,!1):this.selections.set(e.key,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(s=>{1===s?this.details(e):2===s&&this.delete(e.key)})}details(e){rZ.openDialog(this.dialog,e)}delete(e){const i=rn.createConfirmationDialog(this.dialog,"routes.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e).subscribe(()=>{i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")},s=>{s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(i,i+e);const o=new Map;this.routesToShow.forEach(l=>{o.set(l.key,!0),this.selections.has(l.key)||this.selections.set(l.key,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}startDeleting(e){return this.routeService.delete(At.getCurrentNodeKey(),e.toString())}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(qE),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,sZ,6,7,"span",2),U(3,cZ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,uZ,3,4,"mat-icon",6),U(7,dZ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,hZ,1,6,"app-paginator",12),k()(),U(20,PZ,41,38,"div",13),U(21,AZ,6,3,"div",13),U(22,RZ,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,FZ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allRoutes&&i.allRoutes.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})(),NZ=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.node=e,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&De(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(D("node",i.node)("showShortList",!0),d(1),D("routes",i.routes)("showShortList",!0)("nodePK",i.nodePK))},dependencies:[GE,KE]}),t})();function YZ(t,n){if(1&t&&(T(0,"mat-option",4),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;D("value",e.days),d(1),pe(B(2,2,e.text))}}let HZ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(e=>{this.dialogRef.close(this.filters.find(i=>i.days===e))})}ngOnDestroy(){this.formSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-log-filter"]],decls:7,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),U(6,YZ,3,4,"mat-option",3),k()()()()),2&e&&(D("headline",B(1,5,"apps.log.filter.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(5,7,"apps.log.filter.filter")),d(2),D("ngForOf",i.filters))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Nh,su,bi,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t})();const VZ=["content"];function BZ(t,n){if(1&t&&(T(0,"div",8)(1,"span",3),O(2),k(),O(3),k()),2&t){const e=n.$implicit;d(2),ye(" ",e.time," "),d(1),ye(" ",e.msg," ")}}function jZ(t,n){1&t&&(T(0,"div",9),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.log.empty")," "))}function UZ(t,n){1&t&&De(0,"app-loading-indicator",10),2&t&&D("showWhite",!1)}let zZ=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.appsService=s,this.dialog=o,this.snackbarService=a,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription()}filter(){HZ.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(e=>{e&&(this.currentFilter=e,this.logMessages=[],this.loadData(0))})}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=ze(1).pipe(Ji(e),we(()=>this.appsService.getLogMessages(At.getCurrentNodeKey(),this.data.name,this.currentFilter.days))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}onLogsReceived(e=[]){this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),e.forEach(i=>{const s=i.startsWith("[")?0:-1,o=-1!==s?i.indexOf("]"):-1;this.logMessages.push(-1!==s&&-1!==o?{time:i.substr(s,o+1),msg:i.substr(o+1)}:{time:"",msg:i})}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}onLogsError(e){e=an(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(Gn),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-log"]],viewQuery:function(e,i){if(1&e&&vt(VZ,5),2&e){let s;at(s=lt())&&(i.content=s.first)}},decls:16,vars:15,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1)(3,"div",2),Me("click",function(){return i.filter()}),T(4,"span",3),O(5),Y(6,"translate"),k(),O(7,"\xa0 "),T(8,"span"),O(9),Y(10,"translate"),k()()(),T(11,"mat-dialog-content",null,4),U(13,BZ,4,2,"div",5),U(14,jZ,3,3,"div",6),U(15,UZ,1,1,"app-loading-indicator",7),k()()),2&e&&(D("headline",B(1,9,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),d(5),pe(B(6,11,"apps.log.filter-button")),d(4),pe(B(10,13,i.currentFilter.text)),d(4),D("ngForOf",i.logMessages),d(1),D("ngIf",!(i.loading||i.logMessages&&0!==i.logMessages.length)),d(1),D("ngIf",i.loading))},dependencies:[Fi,Ot,h0,bi,ko,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),t})();const WZ=["button"],$Z=["firstInput"],y_=function(t){return{"element-disabled":t}};function GZ(t,n){if(1&t&&(T(0,"mat-form-field",2),De(1,"input",10),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,y_,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-server-settings.netifc"))}}function qZ(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"mat-checkbox",12),Me("change",function(s){return Ie(e),Oe(W().setSecureMode(s))}),O(2),Y(3,"translate"),T(4,"mat-icon",13),Y(5,"translate"),O(6,"help"),k()()()}if(2&t){const e=W();d(1),D("checked",e.secureMode)("ngClass",Ue(9,y_,e.disableDismiss)),d(1),ye(" ",B(3,5,"apps.vpn-socks-server-settings.secure-mode-check")," "),d(2),D("inline",!0)("matTooltip",B(5,7,"apps.vpn-socks-server-settings.secure-mode-info"))}}let KZ=(()=>{class t{constructor(e,i,s,o,a,l){this.data=e,this.appsService=i,this.formBuilder=s,this.dialogRef=o,this.snackbarService=a,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(()=>{this.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(let e=0;ethis.firstInput.nativeElement.focus())}ngOnDestroy(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setSecureMode(e){this.button.disabled||(this.secureMode=!!e.checked)}saveChanges(){if(!this.form.valid||this.button.disabled)return;const e=this.form.get("password").value?"apps.vpn-socks-server-settings.change-passowrd-confirmation":"apps.vpn-socks-server-settings.remove-passowrd-confirmation",i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.continueSavingChanges()})}continueSavingChanges(){this.button.showLoading();const e={passcode:this.form.get("password").value};this.configuringVpn&&(e.secure=this.secureMode,e.netifc=this.form.get("netifc").value),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-server-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}validatePasswords(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(Mu),N(ts),N(ei),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-settings"]],viewQuery:function(e,i){if(1&e&&(vt(WZ,5),vt($Z,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:20,vars:27,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[3,"ngClass"],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["id","passwordConfirmation","type","password","formControlName","passwordConfirmation","maxlength","100","matInput","",3,"placeholder"],[3,"ngClass",4,"ngIf"],["class","main-theme settings-option",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["id","netifc","type","text","formControlName","netifc","matInput","",3,"placeholder"],[1,"main-theme","settings-option"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field",2),De(4,"input",3,4),Y(6,"translate"),k(),T(7,"mat-form-field",2),De(8,"input",5,4),Y(10,"translate"),T(11,"mat-error"),O(12),Y(13,"translate"),k()(),U(14,GZ,3,6,"mat-form-field",6),U(15,qZ,7,11,"div",7),k(),T(16,"app-button",8,9),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()),2&e&&(D("headline",B(1,13,"apps.vpn-socks-server-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(23,y_,i.disableDismiss)),d(1),D("placeholder",B(6,15,"apps.vpn-socks-server-settings.new-password")),d(3),D("ngClass",Ue(25,y_,i.disableDismiss)),d(1),D("placeholder",B(10,17,"apps.vpn-socks-server-settings.repeat-password")),d(4),ye(" ",B(13,19,"apps.vpn-socks-server-settings.passwords-not-match")," "),d(2),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.configuringVpn),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(19,21,"apps.vpn-socks-server-settings.save")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Ja,Tr,bi,kt]}),t})();const ZZ=["firstInput"];let QZ=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i||"",s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({note:[this.data]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("note").value.trim();this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-skysocks-client-note"]],viewQuery:function(e,i){if(1&e&&vt(ZZ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.finish()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"apps.vpn-socks-client-settings.change-note-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"apps.vpn-socks-client-settings.change-note-dialog.note")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const sa={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Democratic Republic",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (North)",KR:"Korea (South)",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",ME:"Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown"};function JZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit,i=W(2);d(1),pe(i.completeCountriesList[e.toUpperCase()])}}function XZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.toUpperCase())}}function eQ(t,n){if(1&t&&(T(0,"mat-option",8)(1,"div",10),De(2,"div"),k(),U(3,JZ,2,1,"ng-container",2),U(4,XZ,2,1,"ng-container",2),k()),2&t){const e=n.$implicit,i=W(2);D("value",e.toUpperCase()),d(2),oi("background-image: url('assets/img/flags/"+e.toLocaleLowerCase()+".png');"),d(1),D("ngIf",i.completeCountriesList[e.toUpperCase()]),d(1),D("ngIf",!i.completeCountriesList[e.toUpperCase()])}}function tQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.filter-dialog.any-country")," "))}function nQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.completeCountriesList[e.form.get("country").value])}}function iQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.form.get("country").value)}}function rQ(t,n){if(1&t&&(qe(0),T(1,"div",10),De(2,"div"),k(),U(3,nQ,2,1,"ng-container",2),U(4,iQ,2,1,"ng-container",2),Ke()),2&t){const e=W(2);d(2),oi("background-image: url('assets/img/flags/"+e.form.get("country").value.toLocaleLowerCase()+".png');"),d(1),D("ngIf",e.completeCountriesList[e.form.get("country").value]),d(1),D("ngIf",!e.completeCountriesList[e.form.get("country").value])}}function sQ(t,n){if(1&t&&(T(0,"mat-form-field")(1,"mat-select",7),Y(2,"translate"),T(3,"mat-option",8),O(4),Y(5,"translate"),k(),U(6,eQ,5,5,"mat-option",9),T(7,"mat-select-trigger"),U(8,tQ,3,3,"ng-container",2),U(9,rQ,5,4,"ng-container",2),k()()()),2&t){const e=W();d(1),D("placeholder",B(2,6,"apps.vpn-socks-client-settings.filter-dialog.country")),d(2),D("value","-"),d(1),pe(B(5,8,"apps.vpn-socks-client-settings.filter-dialog.any-country")),d(2),D("ngForOf",e.data.availableCountries),d(2),D("ngIf","-"===e.form.get("country").value),d(1),D("ngIf","-"!==e.form.get("country").value)}}class ZE{constructor(){this.country="",this.location="",this.key=""}}let oQ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.completeCountriesList=sa}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({country:[this.data.currentFilters.country?this.data.currentFilters.country:"-"],"location-text":[this.data.currentFilters.location],"key-text":[this.data.currentFilters.key]})}apply(){const e=new ZE;let i=this.form.get("country").value.trim();"-"===i&&(i=""),e.country=i,e.location=this.form.get("location-text").value.trim(),e.key=this.form.get("key-text").value.trim(),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-filter"]],decls:14,vars:15,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngIf"],["formControlName","location-text","maxlength","100","matInput","",3,"placeholder"],["formControlName","key-text","maxlength","66","matInput","",3,"placeholder"],["type","mat-raised-button","color","primary",1,"float-right",3,"action"],["button",""],["formControlName","country","id","country",3,"placeholder"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"flag-container"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,sQ,10,10,"mat-form-field",2),T(4,"mat-form-field"),De(5,"input",3),Y(6,"translate"),k(),T(7,"mat-form-field"),De(8,"input",4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.apply()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,7,"apps.vpn-socks-client-settings.filter-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngIf",i.data.availableCountries.length>0),d(2),D("placeholder",B(6,9,"apps.vpn-socks-client-settings.filter-dialog.location")),d(3),D("placeholder",B(9,11,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),d(4),ye(" ",B(13,13,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,TW,su,Tr,bi,kt]}),t})();const aQ=["firstInput"];let lQ=(()=>{class t{constructor(e,i){this.dialogRef=e,this.formBuilder=i}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({password:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("password").value;this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,i){if(1&e&&vt(aQ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:13,vars:14,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"div",2),O(4),Y(5,"translate"),k(),T(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5),Me("action",function(){return i.finish()}),O(11),Y(12,"translate"),k()()),2&e&&(D("headline",B(1,6,"apps.vpn-socks-client-settings.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),pe(B(5,8,"apps.vpn-socks-client-settings.password-dialog.info")),d(3),D("placeholder",B(9,10,"apps.vpn-socks-client-settings.password-dialog.password")),d(4),ye(" ",B(12,12,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t})(),cQ=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}getServices(e){const i=[];return this.http.get(this.discoveryServiceUrl+(e?"proxy":"vpn")).pipe(Hh(s=>s.pipe(Ji(4e3))),Xe(s=>(s.forEach(o=>{const a=new Vz,l=o.address.split(":");2===l.length&&(a.address=o.address,a.pk=l[0],a.port=l[1],a.location="",o.geo&&(o.geo.country&&(a.country=o.geo.country,a.location+=sa[o.geo.country.toUpperCase()]?sa[o.geo.country.toUpperCase()]:o.geo.country),o.geo.region&&o.geo.country&&(a.location+=", "),o.geo.region&&(a.region=o.geo.region,a.location+=a.region)),i.push(a))}),i)))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function uQ(t,n){1&t&&mi(0)}const QE=["*"];function dQ(t,n){}const hQ=function(t){return{animationDuration:t}},fQ=function(t,n){return{value:t,params:n}},pQ=["tabListContainer"],mQ=["tabList"],_Q=["tabListInner"],gQ=["nextPaginator"],vQ=["previousPaginator"],bQ=["tabBodyWrapper"],yQ=["tabHeader"];function MQ(t,n){}function wQ(t,n){1&t&&U(0,MQ,0,0,"ng-template",10),2&t&&D("cdkPortalOutlet",W().$implicit.templateLabel)}function CQ(t,n){1&t&&O(0),2&t&&pe(W().$implicit.textLabel)}function SQ(t,n){if(1&t){const e=nt();T(0,"div",6),Me("click",function(){const s=Ie(e),o=s.$implicit,a=s.index,l=W(),c=li(1);return Oe(l._handleClick(o,c,a))})("cdkFocusChange",function(s){const a=Ie(e).index;return Oe(W()._tabFocusChanged(s,a))}),T(1,"div",7),U(2,wQ,1,1,"ng-template",8),U(3,CQ,1,1,"ng-template",null,9,Oa),k()()}if(2&t){const e=n.$implicit,i=n.index,s=li(4),o=W();dn("mat-tab-label-active",o.selectedIndex===i),D("id",o._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||o.disableRipple),Wt("tabIndex",o._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),d(2),D("ngIf",e.templateLabel)("ngIfElse",s)}}function DQ(t,n){if(1&t){const e=nt();T(0,"mat-tab-body",11),Me("_onCentered",function(){return Ie(e),Oe(W()._removeTabBodyWrapperHeight())})("_onCentering",function(s){return Ie(e),Oe(W()._setTabBodyWrapperHeight(s))}),k()}if(2&t){const e=n.$implicit,i=n.index,s=W();dn("mat-tab-body-active",s.selectedIndex===i),D("id",s._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration)("preserveContent",s.preserveContent),Wt("tabindex",null!=s.contentTabIndex&&s.selectedIndex===i?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(i))}}const kQ=new Be("MatInkBarPositioner",{providedIn:"root",factory:function TQ(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let JE=(()=>{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=s,this._animationMode=o}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(An(1)).subscribe(()=>{const i=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=i.left,s.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(kQ),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const xQ=new Be("MatTabContent"),LQ=new Be("MatTabLabel"),EQ=new Be("MAT_TAB"),PQ=iu(class{}),XE=new Be("MAT_TAB_GROUP");let eP=(()=>{class t extends PQ{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new J,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new eu(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(XE,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,LQ,5),gi(s,xQ,7,Ar)),2&e){let o;at(o=lt())&&(i.templateLabel=o.first),at(o=lt())&&(i._explicitContent=o.first)}},viewQuery:function(e,i){if(1&e&&vt(Ar,7),2&e){let s;at(s=lt())&&(i._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[on([{provide:EQ,useExisting:t}]),pt,Ii],ngContentSelectors:QE,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),U(0,uQ,1,0,"ng-template"))},encapsulation:2}),t})();const IQ={translateTab:Ko("translateTab",[Nr("center, void, left-origin-center, right-origin-center",bn({transform:"none"})),Nr("left",bn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Nr("right",bn({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Sr("* => left, * => right, left => center, right => center",Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Sr("void => left-origin-center",[bn({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Sr("void => right-origin-center",[bn({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let OQ=(()=>{class t extends $a{constructor(e,i,s,o){super(e,i,o),this._host=s,this._centeringSub=x.EMPTY,this._leavingSub=x.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Yr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(sn(()=>tP)),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTabBodyHost",""]],features:[pt]}),t})(),AQ=(()=>{class t{constructor(e,i,s){this._elementRef=e,this._dir=i,this._dirChangeSubscription=x.EMPTY,this._translateTabComplete=new J,this._onCentering=new ft,this._beforeCentering=new ft,this._afterLeavingCenter=new ft,this._onCentered=new ft(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),s.markForCheck()})),this._translateTabComplete.pipe(Gy((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275dir=Je({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),tP=(()=>{class t extends AQ{constructor(e,i,s){super(e,i,s)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&vt($a,5),2&e){let s;at(s=lt())&&(i._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[pt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(T(0,"div",0,1),Me("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),U(2,dQ,0,0,"ng-template",2),k()),2&e&&D("@translateTab",hn(3,fQ,i._position,Ue(1,hQ,i.animationDuration)))},dependencies:[OQ],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[IQ.translateTab]}}),t})();const nP=new Be("MAT_TABS_CONFIG"),RQ=iu(class{});let iP=(()=>{class t extends RQ{constructor(e){super(),this.elementRef=e}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)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Wt("aria-disabled",!!i.disabled),dn("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[pt]}),t})();const rP=Ll({passive:!0});let YQ=(()=>{class t{constructor(e,i,s,o,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=s,this._dir=o,this._ngZone=a,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new J,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new J,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ft,this.indexFocused=new ft,a.runOutsideAngular(()=>{Jc(e.nativeElement,"mouseleave").pipe(fn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=eo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Jc(this._previousPaginator.nativeElement,"touchstart",rP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Jc(this._nextPaginator.nativeElement,"touchstart",rP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ze("ltr"),i=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Wx(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(An(1)).subscribe(s),Yt(e,i,this._items.changes,this._itemsResized()).pipe(fn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(fn(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Ba:this._items.changes.pipe(Yr(this._items),lr(e=>new ce(i=>this._ngZone.runOutsideAngular(()=>{const s=new ResizeObserver(()=>{i.next()});return e.forEach(o=>{s.observe(o.elementRef.nativeElement)}),()=>{s.disconnect()}}))),$y(1))}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(e){if(!So(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let l,c;"ltr"==this._getLayoutDirection()?(l=o,c=l+a):(c=this._tabListInner.nativeElement.offsetWidth-o,l=c-a);const _=this.scrollDistance,E=this.scrollDistance+s;l<_?this.scrollDistance-=_-l+60:c>E&&(this.scrollDistance+=c-E+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_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._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Bm(650,100).pipe(fn(Yt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:o}=this._scrollHeader(e);(0===o||o>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),HQ=(()=>{class t extends YQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=En(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disableRipple:"disableRipple"},features:[pt]}),t})(),VQ=(()=>{class t extends HQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,s){if(1&e&&gi(s,iP,4),2&e){let o;at(o=lt())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(vt(JE,7),vt(pQ,7),vt(mQ,7),vt(_Q,7),vt(gQ,5),vt(vQ,5)),2&e){let s;at(s=lt())&&(i._inkBar=s.first),at(s=lt())&&(i._tabListContainer=s.first),at(s=lt())&&(i._tabList=s.first),at(s=lt())&&(i._tabListInner=s.first),at(s=lt())&&(i._nextPaginator=s.first),at(s=lt())&&(i._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pt],ngContentSelectors:QE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),De(2,"div",2),k(),T(3,"div",3,4),Me("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),Me("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7,8),mi(9),k(),De(10,"mat-ink-bar"),k()(),T(11,"button",9,10),Me("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),De(13,"div",2),k()),2&e&&(dn("mat-tab-header-pagination-disabled",i._disableScrollBefore),D("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),d(5),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(6),dn("mat-tab-header-pagination-disabled",i._disableScrollAfter),D("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Xo,qy,JE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.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;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-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.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-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),BQ=0;class jQ{}const UQ=ru(Mh(class{constructor(t){this._elementRef=t}}),"primary");let zQ=(()=>{class t extends UQ{constructor(e,i,s,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new gl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=x.EMPTY,this._tabLabelSubscription=x.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ft,this.focusChange=new ft,this.animationDone=new ft,this.selectedTabChange=new ft(!0),this._groupId=BQ++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=s?.contentTabIndex??null,this.preserveContent=!!s?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=eo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=eo(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=En(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,o)=>s.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,s)=>{i.position=s-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let s;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Yr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new jQ;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,s){e.disabled||(this.selectedIndex=i.focusIndex=s)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(nP,8),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[pt]}),t})(),WQ=(()=>{class t extends zQ{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(nP,8),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,s){if(1&e&&gi(s,eP,5),2&e){let o;at(o=lt())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(vt(bQ,5),vt(yQ,5)),2&e){let s;at(s=lt())&&(i._tabBodyWrapper=s.first),at(s=lt())&&(i._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[on([{provide:XE,useExisting:t}]),pt],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","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(T(0,"mat-tab-header",0,1),Me("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),U(2,SQ,5,15,"div",2),k(),T(3,"div",3,4),U(5,DQ,1,11,"mat-tab-body",5),k()),2&e&&(D("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),d(2),D("ngForOf",i._tabs),d(1),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(2),D("ngForOf",i._tabs))},dependencies:[Wn,Fi,Ot,$a,Xo,f6,iP,tP,VQ],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.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}.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-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;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}"],encapsulation:2}),t})(),$Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,tu,Ch,Rm,n0,Pn]}),t})();const GQ=["button"],qQ=["settingsButton"],KQ=["firstInput"];function ZQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function QQ(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}const oP=function(t){return{"element-disabled":t}};function JQ(t,n){if(1&t&&(T(0,"mat-form-field",3),De(1,"input",22),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,oP,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-client-settings.password"))}}function XQ(t,n){1&t&&(T(0,"div",23)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function eJ(t,n){1&t&&De(0,"app-loading-indicator",25),2&t&&D("showWhite",!1)}function tJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function nJ(t,n){1&t&&(T(0,"div",33),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function iJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e[1]))}}function rJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e[2])}}function sJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),U(4,iJ,3,3,"ng-container",14),U(5,rJ,2,1,"ng-container",14),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e[0])," "),d(2),D("ngIf",e[1]),d(1),D("ngIf",e[2])}}function oJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}const aP=function(t){return{highlighted:t}};function aJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,aP,i%2!=0)),d(1),pe(e)}}function lJ(t,n){if(1&t&&(qe(0),T(1,"div",38),De(2,"div"),k(),Ke()),2&t){const e=W(2).$implicit;d(2),oi("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function cJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,aP,i%2!=0)),d(1),pe(e)}}function uJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"span"),O(5,"\xa0 "),U(6,lJ,3,2,"ng-container",14),U(7,cJ,3,4,"ng-container",36),k()()),2&t){const e=W().$implicit,i=W(2);d(2),pe(B(3,3,"apps.vpn-socks-client-settings.location")),d(4),D("ngIf",e.country),d(1),D("ngForOf",i.getHighlightedTextParts(e.location,i.currentFilters.location))}}function dJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",27),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).saveChanges(o.pk,null,!1,o.location))}),T(2,"div",35)(3,"div",33)(4,"span"),O(5),Y(6,"translate"),k(),T(7,"span"),O(8,"\xa0"),U(9,aJ,3,4,"ng-container",36),k()(),U(10,uJ,8,5,"div",30),k()(),T(11,"button",37),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).copyPk(o.pk))}),Y(12,"translate"),T(13,"mat-icon",24),O(14,"filter_none"),k()()()}if(2&t){const e=n.$implicit,i=W(2);d(5),pe(B(6,5,"apps.vpn-socks-client-settings.key")),d(4),D("ngForOf",i.getHighlightedTextParts(e.pk,i.currentFilters.key)),d(1),D("ngIf",e.location),d(1),D("matTooltip",B(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),d(2),D("inline",!0)}}function hJ(t,n){if(1&t){const e=nt();qe(0),T(1,"button",27),Me("click",function(){return Ie(e),Oe(W().changeFilters())}),T(2,"div",28)(3,"div",29)(4,"mat-icon",24),O(5,"filter_list"),k()(),T(6,"div"),U(7,nJ,3,3,"div",30),U(8,sJ,6,5,"div",31),T(9,"div",32),O(10),Y(11,"translate"),k()()()(),U(12,oJ,5,4,"div",13),U(13,dJ,15,9,"div",16),Ke()}if(2&t){const e=W();d(4),D("inline",!0),d(3),D("ngIf",0===e.currentFiltersTexts.length),d(1),D("ngForOf",e.currentFiltersTexts),d(2),pe(B(11,6,"apps.vpn-socks-client-settings.click-to-change")),d(2),D("ngIf",0===e.filteredProxiesFromDiscovery.length),d(1),D("ngForOf",e.proxiesFromDiscoveryToShow)}}const fJ=function(t,n){return{currentElementsRange:t,totalElements:n}};function pJ(t,n){if(1&t){const e=nt();T(0,"div",39)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"button",40),Me("click",function(){return Ie(e),Oe(W().goToPreviousPage())}),T(5,"mat-icon"),O(6,"chevron_left"),k()(),T(7,"button",40),Me("click",function(){return Ie(e),Oe(W().goToNextPage())}),T(8,"mat-icon"),O(9,"chevron_right"),k()()()}if(2&t){const e=W();d(2),pe(Vt(3,1,"apps.vpn-socks-client-settings.pagination-info",hn(4,fJ,e.currentRange,e.filteredProxiesFromDiscovery.length)))}}const mJ=function(t){return{number:t}};function _J(t,n){if(1&t&&(T(0,"div")(1,"div",26)(2,"mat-icon",24),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),ye(" ",Vt(5,2,"apps.vpn-socks-client-settings.no-history",Ue(5,mJ,e.maxHistoryElements))," ")}}function gJ(t,n){1&t&&Pa(0)}function vJ(t,n){1&t&&Pa(0)}function bJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(2).$implicit;d(2),ye(" ",e.note,"")}}function yJ(t,n){1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),ye(" ",B(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function MJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(4).$implicit;d(2),ye(" (",e.location,")")}}function wJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),U(4,MJ,3,1,"ng-container",14),Ke()),2&t){const e=W(3).$implicit;d(2),ye(" ",B(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),d(2),D("ngIf",e.location)}}function CJ(t,n){if(1&t&&(qe(0),U(1,yJ,4,3,"ng-container",14),U(2,wJ,5,4,"ng-container",14),Ke()),2&t){const e=W(2).$implicit;d(1),D("ngIf",e.enteredManually),d(1),D("ngIf",!e.enteredManually)}}function SJ(t,n){if(1&t&&(T(0,"div",46)(1,"div",47)(2,"div",33)(3,"span"),O(4),Y(5,"translate"),k(),T(6,"span"),O(7),k()(),T(8,"div",33)(9,"span"),O(10),Y(11,"translate"),k(),U(12,bJ,3,1,"ng-container",14),U(13,CJ,3,2,"ng-container",14),k()(),T(14,"div",48)(15,"div",49)(16,"mat-icon",24),O(17,"add"),k()()()()),2&t){const e=W().$implicit;d(4),pe(B(5,6,"apps.vpn-socks-client-settings.key")),d(3),ye(" ",e.key,""),d(3),pe(B(11,8,"apps.vpn-socks-client-settings.note")),d(2),D("ngIf",e.note),d(1),D("ngIf",!e.note),d(3),D("inline",!0)}}function DJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",41),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().useFromHistory(o))}),U(2,gJ,1,0,"ng-container",42),k(),T(3,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().changeNote(o))}),Y(4,"translate"),T(5,"mat-icon",24),O(6,"edit"),k()(),T(7,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().removeFromHistory(o.key))}),Y(8,"translate"),T(9,"mat-icon",24),O(10,"close"),k()(),T(11,"button",44),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().openHistoryOptions(o))}),U(12,vJ,1,0,"ng-container",42),k(),U(13,SJ,18,10,"ng-template",null,45,Oa),k()}if(2&t){const e=li(14);d(2),D("ngTemplateOutlet",e),d(1),D("matTooltip",B(4,6,"apps.vpn-socks-client-settings.change-note")),d(2),D("inline",!0),d(2),D("matTooltip",B(8,8,"apps.vpn-socks-client-settings.remove-entry")),d(2),D("inline",!0),d(3),D("ngTemplateOutlet",e)}}function kJ(t,n){1&t&&(T(0,"div",50)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}let TJ=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.data=e,this.dialogRef=i,this.appsService=s,this.formBuilder=o,this.snackbarService=a,this.dialog=l,this.proxyDiscoveryService=c,this.clipboardService=_,this.storageService=E,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new ZE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.migrateDataToHvStorage(),this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(s=>{this.proxiesFromDiscovery=s,this.proxiesFromDiscovery.forEach(o=>{o.country&&this.countriesFromDiscovery.add(o.country.toUpperCase())}),this.filterProxies(),this.loadingFromDiscovery=!1});const e=this.storageService.getDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];let i="";if(this.data.args&&this.data.args.length>0)for(let s=0;sthis.firstInput.nativeElement.focus())}ngOnDestroy(){this.discoverySubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}migrateDataToHvStorage(){const e=localStorage.getItem(this.socksHistoryStorageKey);e&&(this.storageService.setDataForHv(this.socksHistoryStorageKey,e),localStorage.removeItem(this.socksHistoryStorageKey));const i=localStorage.getItem(this.vpnHistoryStorageKey);i&&(this.storageService.setDataForHv(this.vpnHistoryStorageKey,i),localStorage.removeItem(this.vpnHistoryStorageKey))}get disableDismiss(){return!(!this.button||!this.settingsButton)&&(this.button.isLoading||this.settingsButton.isLoading)}setKillswitch(e){this.working||(this.killswitch=!!e.checked)}changeFilters(){const e=[];this.countriesFromDiscovery.forEach(s=>e.push(s)),oQ.openDialog(this.dialog,{currentFilters:this.currentFilters,availableCountries:e}).afterClosed().subscribe(s=>{s&&(this.currentFilters=s,this.filterProxies())})}getHighlightedTextParts(e,i){if(!i)return[e];const s=e.toLowerCase(),o=i.toLowerCase();let a=!0,l=0;const c=[];for(;a;){const _=s.indexOf(o,l);-1===_?a=!1:(c.push(e.substring(l,_)),c.push(e.substring(_,_+i.length)),l=_+i.length)}return c.push(e.substring(l)),c}filterProxies(){this.filteredProxiesFromDiscovery=this.currentFilters.country||this.currentFilters.location||this.currentFilters.key?this.proxiesFromDiscovery.filter(e=>!(this.currentFilters.country&&(!e.country||!e.country.toUpperCase().includes(this.currentFilters.country.toUpperCase()))||this.currentFilters.location&&!e.location.toLowerCase().includes(this.currentFilters.location.toLowerCase())||this.currentFilters.key&&!e.address.toLowerCase().includes(this.currentFilters.key.toLowerCase()))):this.proxiesFromDiscovery,this.updateCurrentFilters(),this.updatePagination()}updateCurrentFilters(){if(this.currentFiltersTexts=[],this.currentFilters.country){const e=sa[this.currentFilters.country.toUpperCase()]?sa[this.currentFilters.country.toUpperCase()]:this.currentFilters.country.toUpperCase();this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.country","",e])}this.currentFilters.location&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.location","",this.currentFilters.location]),this.currentFilters.key&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.pub-key","",this.currentFilters.key])}updatePagination(){this.currentPage=1,this.numberOfPages=Math.ceil(this.filteredProxiesFromDiscovery.length/this.maxElementsPerPage),this.showCurrentPage()}goToNextPage(){this.currentPage>=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}goToPreviousPage(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}showCurrentPage(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage{1===s?this.useFromHistory(e):2===s?this.changeNote(e):3===s&&this.removeFromHistory(e.key)})}removeFromHistory(e){const s=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.remove-from-history-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{this.history=this.history.filter(a=>a.key!==e);const o=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,o),s.close()})}changeNote(e){QZ.openDialog(this.dialog,e.note).afterClosed().subscribe(i=>{if(i){i=i.substr(1,i.length-1),this.history.forEach(o=>{o.key===e.key&&(o.note=i)});const s=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),i?this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"):this.snackbarService.showWarning("apps.vpn-socks-client-settings.default-note-warning")}})}useFromHistory(e){e.hasPassword?lQ.openDialog(this.dialog).afterClosed().subscribe(i=>{i&&(i=i.substr(1,i.length-1),this.saveChanges(e.key,i,e.enteredManually,e.location,e.note))}):this.saveChanges(e.key,null,e.enteredManually,e.location,e.note)}saveChanges(e=null,i=null,s=null,o=null,a=null){if(!this.form.valid&&!e||this.working)return;s=!e||s,i=e?i:this.form.get("password").value,e=e||this.form.get("pk").value;const c=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.change-key-confirmation");c.componentInstance.operationAccepted.subscribe(()=>{c.close(),this.continueSavingChanges(e,i,s,o,a)})}saveSettings(){if(this.working)return;const e={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe(()=>{this.initialKillswitchSetting=this.killswitch,this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.settingsButton.reset(!1),this.button.reset(!1),At.refreshCurrentDisplayedData()},i=>{this.working=!1,this.settingsButton.showError(!1),this.button.reset(!1),i=an(i),this.snackbarService.showError(i)})}copyPk(e){this.clipboardService.copy(e)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}continueSavingChanges(e,i,s,o,a){if(this.working)return;this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;const l={pk:e};this.configuringVpn&&(l.passcode=i||""),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,l).subscribe(()=>this.onServerDataChangeSuccess(e,!!i,s,o,a),c=>this.onServerDataChangeError(c))}onServerDataChangeSuccess(e,i,s,o,a){this.history=this.history.filter(_=>_.key!==e);const l={key:e,enteredManually:s};if(i&&(l.hasPassword=i),o&&(l.location=o),a&&(l.note=a),this.history=[l].concat(this.history),this.history.length>this.maxHistoryElements){const _=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-_,_)}this.form.get("pk").setValue(e);const c=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,c),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}onServerDataChangeError(e){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(ts),N(Vn),N(Gn),N(cQ),N(Rh),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,i){if(1&e&&(vt(GQ,5),vt(qQ,5),vt(KQ,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.settingsButton=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:44,vars:51,consts:[[3,"headline","dialog","disableDismiss"],[3,"label"],[3,"formGroup"],[3,"ngClass"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[3,"ngClass",4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],[4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),T(5,"form",2)(6,"mat-form-field",3),De(7,"input",4,5),Y(9,"translate"),T(10,"mat-error"),U(11,ZQ,3,3,"ng-container",6),k(),U(12,QQ,2,3,"ng-template",null,7,Oa),k(),U(14,JQ,3,6,"mat-form-field",8),U(15,XQ,5,4,"div",9),T(16,"app-button",10,11),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()(),T(20,"mat-tab",1),Y(21,"translate"),U(22,eJ,1,1,"app-loading-indicator",12),U(23,tJ,5,4,"div",13),U(24,hJ,14,8,"ng-container",14),U(25,pJ,10,7,"div",15),k(),T(26,"mat-tab",1),Y(27,"translate"),U(28,_J,6,7,"div",14),U(29,DJ,15,10,"div",16),k(),T(30,"mat-tab",1),Y(31,"translate"),T(32,"div",17)(33,"mat-checkbox",18),Me("change",function(o){return i.setKillswitch(o)}),O(34),Y(35,"translate"),T(36,"mat-icon",19),Y(37,"translate"),O(38,"help"),k()()(),U(39,kJ,5,4,"div",20),T(40,"app-button",10,21),Me("action",function(){return i.saveSettings()}),O(42),Y(43,"translate"),k()()()()),2&e){const s=li(13);D("headline",B(1,29,"apps.vpn-socks-client-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),D("label",B(4,31,"apps.vpn-socks-client-settings.remote-visor-tab")),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(49,oP,i.disableDismiss)),d(1),D("placeholder",B(9,33,"apps.vpn-socks-client-settings.public-key")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(3),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.form&&i.form.get("password").value),d(1),D("disabled",!i.form.valid||i.working),d(2),ye(" ",B(19,35,"apps.vpn-socks-client-settings.save")," "),d(2),D("label",B(21,37,"apps.vpn-socks-client-settings.discovery-tab")),d(2),D("ngIf",i.loadingFromDiscovery),d(1),D("ngIf",!i.loadingFromDiscovery&&0===i.proxiesFromDiscovery.length),d(1),D("ngIf",!i.loadingFromDiscovery&&i.proxiesFromDiscovery.length>0),d(1),D("ngIf",i.numberOfPages>1),d(1),D("label",B(27,39,"apps.vpn-socks-client-settings.history-tab")),d(2),D("ngIf",0===i.history.length),d(1),D("ngForOf",i.history),d(1),D("label",B(31,41,"apps.vpn-socks-client-settings.settings-tab")),d(3),D("checked",i.killswitch),d(1),ye(" ",B(35,43,"apps.vpn-socks-client-settings.killswitch-check")," "),d(2),D("inline",!0)("matTooltip",B(37,45,"apps.vpn-socks-client-settings.killswitch-info")),d(3),D("ngIf",i.killswitch!==i.initialKillswitchSetting),d(1),D("disabled",i.killswitch===i.initialKillswitchSetting||i.working),d(2),ye(" ",B(43,47,"apps.vpn-socks-client-settings.save-settings")," ")}},dependencies:[Wn,Fi,Ot,Tp,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,WQ,eP,kr,Cn,vi,Ja,Tr,bi,ko,kt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),t})();function xJ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.title")))}function LJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function EJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function PJ(t,n){if(1&t&&(T(0,"div",18)(1,"span"),O(2),Y(3,"translate"),k(),U(4,LJ,3,3,"ng-container",19),U(5,EJ,2,1,"ng-container",19),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function IJ(t,n){if(1&t){const e=nt();T(0,"div",15),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,PJ,6,5,"div",16),T(2,"div",17),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function OJ(t,n){if(1&t){const e=nt();T(0,"mat-icon",20),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function AJ(t,n){1&t&&(T(0,"mat-icon",21),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const K0=function(t){return["/nodes",t,"apps-list"]};function RJ(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function FJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function NJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function YJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function HJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function VJ(t,n){if(1&t&&(De(0,"i",46),Y(1,"translate")),2&t){const e=W().$implicit,i=W(2);fs(i.getStateClass(e)),D("matTooltip",B(1,3,i.getStateTooltip(e)))}}const lP=function(t){return{error:t}};function BJ(t,n){if(1&t&&(T(0,"mat-icon",47),Y(1,"translate"),O(2,"warning"),k()),2&t){const e=W().$implicit;D("inline",!0)("matTooltip",Vt(1,2,"apps.status-failed-tooltip",Ue(5,lP,e.detailedStatus?e.detailedStatus:"")))}}function jJ(t,n){if(1&t&&(T(0,"a",48)(1,"button",49),Y(2,"translate"),T(3,"mat-icon",37),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,3,"apps.open")),d(2),D("inline",!0)}}function UJ(t,n){if(1&t){const e=nt();T(0,"button",43),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).config(s))}),Y(1,"translate"),T(2,"mat-icon",37),O(3,"settings"),k()()}2&t&&(D("matTooltip",B(1,2,"apps.settings")),d(2),D("inline",!0))}function zJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,VJ,2,5,"i",41),U(5,BJ,3,7,"mat-icon",42),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),T(10,"td")(11,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppAutostart(o))}),Y(12,"translate"),T(13,"mat-icon",37),O(14),k()()(),T(15,"td",30),U(16,jJ,5,5,"a",44),U(17,UJ,4,4,"button",45),T(18,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).viewLogs(o))}),Y(19,"translate"),T(20,"mat-icon",37),O(21,"list"),k()(),T(22,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppState(o))}),Y(23,"translate"),T(24,"mat-icon",37),O(25),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.name)),d(2),D("ngIf",2!==e.status),d(1),D("ngIf",2===e.status),d(2),ye(" ",e.name," "),d(2),ye(" ",e.port," "),d(2),D("matTooltip",B(12,15,e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),d(2),D("inline",!0),d(1),pe(e.autostart?"done":"close"),d(2),D("ngIf",i.getLink(e)),d(1),D("ngIf",i.appsWithConfig.has(e.name)),d(1),D("matTooltip",B(19,17,"apps.view-logs")),d(2),D("inline",!0),d(2),D("matTooltip",B(23,19,"apps."+(0===e.status||2===e.status?"start-app":"stop-app"))),d(2),D("inline",!0),d(1),pe(0===e.status||2===e.status?"play_arrow":"stop")}}function WJ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function $J(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function GJ(t,n){if(1&t&&(T(0,"a",55),Me("click",function(i){return i.stopPropagation()}),T(1,"button",56),Y(2,"translate"),T(3,"mat-icon"),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,2,"apps.open"))}}function qJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",35)(6,"div",51)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",51)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",51)(17,"span",1),O(18),Y(19,"translate"),k(),O(20,": "),T(21,"span"),O(22),Y(23,"translate"),k()(),T(24,"div",51)(25,"span",1),O(26),Y(27,"translate"),k(),O(28,": "),T(29,"span"),O(30),Y(31,"translate"),k()()(),De(32,"div",52),T(33,"div",36),U(34,GJ,5,4,"a",53),T(35,"button",54),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(36,"translate"),T(37,"mat-icon"),O(38),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.name)),d(4),pe(B(9,16,"apps.apps-list.app-name")),d(2),ye(": ",e.name," "),d(3),pe(B(14,18,"apps.apps-list.port")),d(2),ye(": ",e.port," "),d(3),pe(B(19,20,"apps.apps-list.state")),d(3),fs(i.getSmallScreenStateClass(e)+" title"),d(1),ye(" ",Vt(23,22,i.getSmallScreenStateTextVar(e),Ue(31,lP,e.detailedStatus?e.detailedStatus:""))," "),d(4),pe(B(27,25,"apps.apps-list.auto-start")),d(3),fs((e.autostart?"green-clear-text":"red-clear-text")+" title"),d(1),ye(" ",B(31,27,e.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),d(4),D("ngIf",i.getLink(e)),d(1),D("matTooltip",B(36,29,"common.options")),d(3),pe("add")}}function KJ(t,n){if(1&t&&De(0,"app-view-all-link",57),2&t){const e=W(2);D("numberOfElements",e.filteredApps.length)("linkParts",Ue(3,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const ZJ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},QJ=function(t){return{"d-lg-none d-xl-table":t}},JJ=function(t){return{"d-lg-table d-xl-none":t}};function XJ(t,n){if(1&t){const e=nt();T(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),De(4,"th"),T(5,"th",26),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(6,"translate"),De(7,"span",27),U(8,FJ,2,2,"mat-icon",28),k(),T(9,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),O(10),Y(11,"translate"),U(12,NJ,2,2,"mat-icon",28),k(),T(13,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.portSortData))}),O(14),Y(15,"translate"),U(16,YJ,2,2,"mat-icon",28),k(),T(17,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.autoStartSortData))}),O(18),Y(19,"translate"),U(20,HJ,2,2,"mat-icon",28),k(),De(21,"th",30),k(),U(22,zJ,26,21,"tr",31),k(),T(23,"table",32)(24,"tr",33),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,WJ,3,3,"ng-container",19),U(35,$J,3,3,"ng-container",19),k()(),T(36,"div",36)(37,"mat-icon",37),O(38,"keyboard_arrow_down"),k()()()()(),U(39,qJ,39,33,"tr",31),k(),U(40,KJ,1,5,"app-view-all-link",38),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,ZJ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,QJ,e.showShortList_)),d(3),D("matTooltip",B(6,19,"apps.apps-list.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(11,21,"apps.apps-list.app-name")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(2),ye(" ",B(15,23,"apps.apps-list.port")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.portSortData),d(2),ye(" ",B(19,25,"apps.apps-list.auto-start")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.autoStartSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,JJ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function eX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty")))}function tX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty-with-filter")))}function nX(t,n){if(1&t&&(T(0,"div",23)(1,"div",58)(2,"mat-icon",59),O(3,"warning"),k(),U(4,eX,3,3,"span",60),U(5,tX,3,3,"span",60),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allApps.length),d(1),D("ngIf",0!==e.allApps.length)}}function iX(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const rX=function(t){return{"paginator-icons-fixer":t}};let cP=(()=>{class t{constructor(e,i,s,o,a,l,c){this.appsService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="ap",this.stateSortData=new In(["status"],"apps.apps-list.state",Jt.NumberReversed),this.nameSortData=new In(["name"],"apps.apps-list.app-name",Jt.Text),this.portSortData=new In(["port"],"apps.apps-list.port",Jt.Number),this.autoStartSortData=new In(["autostart"],"apps.apps-list.auto-start",Jt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:qn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:qn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(E=>{this.filteredApps=E,this.dataSorter.setData(this.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(E=>{if(E.has("page")){let R=Number.parseInt(E.get("page"),10);(isNaN(R)||R<1)&&(R=1),this.currentPageInUrl=R,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredApps)}set apps(e){this.allApps=e||[],this.dataFilterer.setData(this.allApps)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}getLink(e){if("skychat"===e.name.toLocaleLowerCase()&&this.nodeIp&&0!==e.status&&2!==e.status){let i="8001";if(e.args)for(let s=0;s{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}changeStateOfSelected(e){const i=[];if(this.selections.forEach((s,o)=>{s&&(e&&(0===this.appsMap.get(o).status||2===this.appsMap.get(o).status)||!e&&0!==this.appsMap.get(o).status&&2!==this.appsMap.get(o).status)&&i.push(o)}),e)this.changeAppsValRecursively(i,!1,e);else{const s=rn.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!1,e,s)})}}changeAutostartOfSelected(e){const i=[];this.selections.forEach((o,a)=>{o&&(e&&!this.appsMap.get(a).autostart||!e&&this.appsMap.get(a).autostart)&&i.push(a)});const s=rn.createConfirmationDialog(this.dialog,e?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!0,e,s)})}showOptionsDialog(e){const i=[{icon:"list",label:"apps.view-logs"},{icon:0===e.status||2===e.status?"play_arrow":"stop",label:"apps."+(0===e.status||2===e.status?"start-app":"stop-app")},{icon:e.autostart?"close":"done",label:e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithConfig.has(e.name)&&i.push({icon:"settings",label:"apps.settings"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.viewLogs(e):2===s?this.changeAppState(e):3===s?this.changeAppAutostart(e):4===s&&this.config(e)})}changeAppState(e){if(0===e.status||2===e.status)this.changeSingleAppVal(this.startChangingAppState(e.name,!0));else{const i=rn.createConfirmationDialog(this.dialog,"apps.stop-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppState(e.name,!1),i)})}}changeAppAutostart(e){const i=rn.createConfirmationDialog(this.dialog,e.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppAutostart(e.name,!e.autostart),i)})}changeSingleAppVal(e,i=null){this.operationSubscriptionsGroup.push(e.subscribe(()=>{i&&i.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")},s=>{s=an(s),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),i?i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):this.snackbarService.showError(s)}))}viewLogs(e){0!==e.status&&2!==e.status?zZ.openDialog(this.dialog,e):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}config(e){"skysocks"===e.name||"vpn-server"===e.name?KZ.openDialog(this.dialog,e):"skysocks-client"===e.name||"vpn-client"===e.name?TJ.openDialog(this.dialog,e):this.snackbarService.showError("apps.error")}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredApps){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(i,i+e),this.appsMap=new Map,this.appsToShow.forEach(a=>{this.appsMap.set(a.name,a),this.selections.has(a.name)||this.selections.set(a.name,!1)});const o=[];this.selections.forEach((a,l)=>{this.appsMap.has(l)||o.push(l)}),o.forEach(a=>{this.selections.delete(a)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(()=>At.refreshCurrentDisplayedData(),2e3))}startChangingAppState(e,i){return this.appsService.changeAppState(At.getCurrentNodeKey(),e,i).pipe(Xe(s=>(null!=s.status&&this.dataSource.forEach(o=>{o.name===e&&(o.status=s.status,o.detailedStatus=s.detailed_status)}),s)))}startChangingAppAutostart(e,i){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),e,i)}changeAppsValRecursively(e,i,s,o=null){if(!e||0===e.length)return setTimeout(()=>At.refreshCurrentDisplayedData(),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(o&&o.close());let a;a=i?this.startChangingAppAutostart(e[e.length-1],s):this.startChangingAppState(e[e.length-1],s),this.operationSubscriptionsGroup.push(a.subscribe(()=>{e.pop(),0===e.length?(o&&o.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")):this.changeAppsValRecursively(e,i,s,o)},l=>{l=an(l),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):this.snackbarService.showError(l)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Mu),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,xJ,3,3,"span",2),U(3,IJ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,OJ,3,4,"mat-icon",6),U(7,AJ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.changeStateOfSelected(!0)}),O(17),Y(18,"translate"),k(),T(19,"div",11),Me("click",function(){return i.changeStateOfSelected(!1)}),O(20),Y(21,"translate"),k(),T(22,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!0)}),O(23),Y(24,"translate"),k(),T(25,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!1)}),O(26),Y(27,"translate"),k()()(),U(28,RJ,1,6,"app-paginator",12),k()(),U(29,XJ,41,38,"div",13),U(30,nX,6,3,"div",13),U(31,iX,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(32,rX,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allApps&&i.allApps.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,20,"selection.select-all")," "),d(3),ye(" ",B(15,22,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,24,"selection.start-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(21,26,"selection.stop-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(24,28,"selection.enable-autostart-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(27,30,"selection.disable-autostart-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),t})(),sX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps,this.nodeIp=e.ip})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,i){1&e&&De(0,"app-node-app-list",0),2&e&&D("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp)},dependencies:[cP]}),t})();function oX(t,n){1&t&&De(0,"app-transport-list",1),2&t&&D("node",W().node)("showShortList",!1)}let aX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>this.node=e)}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,i){1&e&&U(0,oX,1,2,"app-transport-list",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,GE]}),t})();function lX(t,n){if(1&t&&De(0,"app-route-list",1),2&t){const e=W();D("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}let cX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,lX,1,3,"app-route-list",0),2&e&&D("ngIf",i.routes)},dependencies:[Ot,KE]}),t})();function uX(t,n){if(1&t&&De(0,"app-node-app-list",1),2&t){const e=W();D("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}let dX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,uX,1,3,"app-node-app-list",0),2&e&&D("ngIf",i.apps)},dependencies:[Ot,cP]}),t})();const hX=["button"],fX=["firstInput"],pX=function(t){return{"element-disabled":t}};let uP=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.routeService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({min:[this.data.minHops,yn.compose([yn.required,yn.maxLength(3),yn.pattern("^[0-9]+$")])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}save(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(qE))},t.\u0275cmp=Qe({type:t,selectors:[["app-router-config"]],viewQuery:function(e,i){if(1&e&&(vt(hX,5),vt(fX,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:14,vars:19,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup","ngClass"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),T(5,"form",2)(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.save()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,9,"router-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),pe(B(4,11,"router-config.info")),d(2),D("formGroup",i.form)("ngClass",Ue(17,pX,i.disableDismiss)),d(2),D("placeholder",B(9,13,"router-config.min-hops")),d(3),D("disabled",!i.form.valid),d(2),ye(" ",B(13,15,"router-config.save-config-button")," "))},dependencies:[Wn,mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),t})(),mX=(()=>{class t{constructor(e){this.clipboardService=e,this.copyEvent=new ft,this.errorEvent=new ft,this.value=""}ngOnDestroy(){this.copyEvent.complete(),this.errorEvent.complete()}copyToClipboard(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}return t.\u0275fac=function(e){return new(e||t)(N(Rh))},t.\u0275dir=Je({type:t,selectors:[["","clipboard",""]],hostBindings:function(e,i){1&e&&Me("click",function(){return i.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t})();function _X(t,n){if(1&t&&(qe(0),De(1,"app-truncated-text",3),O(2," \xa0"),T(3,"mat-icon",4),O(4,"filter_none"),k(),Ke()),2&t){const e=W();d(1),D("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),d(2),D("inline",!0)}}function gX(t,n){if(1&t&&(T(0,"div",5)(1,"div",6),O(2),k(),O(3," \xa0"),T(4,"mat-icon",4),O(5,"filter_none"),k()()),2&t){const e=W();d(2),pe(e.text),d(2),D("inline",!0)}}const vX=function(t){return{text:t}},bX=function(){return{"tooltip-word-break":!0}};let Z0=(()=>{class t{constructor(e){this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}onCopyToClipboardClicked(){this.snackbarService.showDone("copy.copied")}}return t.\u0275fac=function(e){return new(e||t)(N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,i){1&e&&(T(0,"div",0),Me("copyEvent",function(){return i.onCopyToClipboardClicked()}),Y(1,"translate"),U(2,_X,5,5,"ng-container",1),U(3,gX,6,2,"div",2),k()),2&e&&(D("clipboard",i.text)("matTooltip",Vt(1,5,i.short||i.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Ue(8,vX,i.text)))("matTooltipClass",Hn(10,bX)),d(2),D("ngIf",!i.shortSimple),d(1),D("ngIf",i.shortSimple))},dependencies:[Ot,Cn,vi,mX,gE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),t})();var yX=F(6149);const MX=["chart"];let Q0=(()=>{class t{constructor(e){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}ngAfterViewInit(){this.chart=new yX.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}ngDoCheck(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}ngOnDestroy(){this.chart&&this.chart.destroy()}updateMinAndMax(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}return t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(N(Yd))},t.\u0275cmp=Qe({type:t,selectors:[["app-line-chart"]],viewQuery:function(e,i){if(1&e&&vt(MX,5),2&e){let s;at(s=lt())&&(i.chartElement=s.first)}},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"canvas",null,1),k()),2&e&&oi("height: "+i.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t})();const dP=function(){return{showValue:!0}},hP=function(){return{showUnit:!0}};let wX=(()=>{class t{constructor(e){this.nodeService=e}ngOnInit(){this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(e=>{this.data=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-line-chart",1),T(2,"div",2)(3,"span",3),O(4),Y(5,"translate"),k(),T(6,"span",4)(7,"span",5),O(8),Y(9,"autoScale"),k(),T(10,"span",6),O(11),Y(12,"autoScale"),k()()()(),T(13,"div",0),De(14,"app-line-chart",1),T(15,"div",2)(16,"span",3),O(17),Y(18,"translate"),k(),T(19,"span",4)(20,"span",5),O(21),Y(22,"autoScale"),k(),T(23,"span",6),O(24),Y(25,"autoScale"),k()()()()),2&e&&(d(1),D("data",i.data.sentHistory),d(3),pe(B(5,8,"common.uploaded")),d(4),pe(Vt(9,10,i.data.totalSent,Hn(24,dP))),d(3),pe(Vt(12,13,i.data.totalSent,Hn(25,hP))),d(3),D("data",i.data.receivedHistory),d(3),pe(B(18,16,"common.downloaded")),d(4),pe(Vt(22,18,i.data.totalReceived,Hn(26,dP))),d(3),pe(Vt(25,21,i.data.totalReceived,Hn(27,hP))))},dependencies:[Q0,kt,Vh],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),t})();function CX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.public-ip"),"\xa0"),d(2),Ln("text",e.node.publicIp)}}function SX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.ip"),"\xa0"),d(2),Ln("text",e.node.ip)}}function DX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),O(4),k()),2&t){const e=W(2);d(2),pe(B(3,2,"node.details.node-info.skybian-version")),d(2),ye(" ",e.node.skybianBuildVersion," ")}}const J0=function(t){return{time:t}};function kX(t,n){if(1&t&&(T(0,"mat-icon",12),Y(1,"translate"),O(2," info "),k()),2&t){const e=W(2);D("inline",!0)("matTooltip",Vt(1,2,"node.details.node-info.time.minutes",Ue(5,J0,e.timeOnline.totalMinutes)))}}function TX(t,n){if(1&t){const e=nt();T(0,"div",1)(1,"div",2)(2,"span",3),O(3),Y(4,"translate"),k(),T(5,"span",4)(6,"span",5),O(7),Y(8,"translate"),k(),T(9,"span",6),Me("click",function(){return Ie(e),Oe(W().showEditLabelDialog())}),O(10),T(11,"mat-icon",7),O(12,"edit"),k()()(),T(13,"span",4)(14,"span",5),O(15),Y(16,"translate"),k(),De(17,"app-copy-to-clipboard-text",8),k(),T(18,"span",4)(19,"span",5),O(20),Y(21,"translate"),k(),O(22),Y(23,"translate"),k(),U(24,CX,5,4,"span",9),U(25,SX,5,4,"span",9),T(26,"span",4)(27,"span",5),O(28),Y(29,"translate"),k(),De(30,"app-copy-to-clipboard-text",8),k(),T(31,"span",4)(32,"span",5),O(33),Y(34,"translate"),k(),O(35),Y(36,"translate"),k(),T(37,"span",4)(38,"span",5),O(39),Y(40,"translate"),k(),O(41),Y(42,"translate"),k(),T(43,"span",4)(44,"span",5),O(45),Y(46,"translate"),k(),O(47),Y(48,"translate"),k(),U(49,DX,5,4,"span",9),T(50,"span",4)(51,"span",5),O(52),Y(53,"translate"),k(),O(54),Y(55,"translate"),U(56,kX,3,7,"mat-icon",10),k()(),De(57,"div",11),T(58,"div",2)(59,"span",3),O(60),Y(61,"translate"),k(),T(62,"span",4)(63,"span",5),O(64),Y(65,"translate"),k(),O(66),Y(67,"translate"),T(68,"mat-icon",12),Y(69,"translate"),O(70,"info"),k()(),T(71,"div",13)(72,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeTransportsConfig())}),O(73),Y(74,"translate"),k()()(),De(75,"div",11),T(76,"div",2)(77,"span",3),O(78),Y(79,"translate"),k(),T(80,"span",4)(81,"span",5),O(82),Y(83,"translate"),k(),O(84),k(),T(85,"div",13)(86,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeRouterConfig())}),O(87),Y(88,"translate"),k()()(),De(89,"div",11),T(90,"div",2)(91,"span",3),O(92),Y(93,"translate"),k(),T(94,"span",4)(95,"span",5),O(96),Y(97,"translate"),k(),De(98,"i"),O(99),Y(100,"translate"),k()(),De(101,"div",11),T(102,"div",2)(103,"span",3),O(104),Y(105,"translate"),k(),De(106,"app-charts",15),k()()}if(2&t){const e=W();d(3),pe(B(4,40,"node.details.node-info.title")),d(4),pe(B(8,42,"node.details.node-info.label")),d(3),ye(" ",e.node.label," "),d(1),D("inline",!0),d(4),ye("",B(16,44,"node.details.node-info.public-key"),"\xa0"),d(2),Ln("text",e.node.localPk),d(3),ye("",B(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),d(2),ye(" ",B(23,48,e.node.isSymmeticNat?"common.yes":"common.no")," "),d(2),D("ngIf",!e.node.isSymmeticNat),d(1),D("ngIf",e.node.ip),d(3),ye("",B(29,50,"node.details.node-info.dmsg-server"),"\xa0"),d(2),Ln("text",e.node.dmsgServerPk),d(3),ye("",B(34,52,"node.details.node-info.ping"),"\xa0"),d(2),ye(" ",Vt(36,54,"common.time-in-ms",Ue(94,J0,e.node.roundTripPing))," "),d(4),pe(B(40,57,"node.details.node-info.node-version")),d(2),ye(" ",e.node.version?e.node.version:B(42,59,"common.unknown")," "),d(4),pe(B(46,61,"node.details.node-info.build-type")),d(2),ye(" ",e.node.buildTag?e.node.buildTag:B(48,63,"node.details.node-info.unknown-build")," "),d(2),D("ngIf",e.node.skybianBuildVersion),d(3),pe(B(53,65,"node.details.node-info.time.title")),d(2),ye(" ",Vt(55,67,"node.details.node-info.time."+e.timeOnline.translationVarName,Ue(96,J0,e.timeOnline.elapsedTime))," "),d(2),D("ngIf",e.timeOnline.totalMinutes>60),d(4),pe(B(61,70,"node.details.transports-info.title")),d(4),pe(B(65,72,"node.details.transports-info.autoconnect")),d(2),ye(" ",B(67,74,"node.details.transports-info."+(e.node.autoconnectTransports?"enabled":"disabled"))," "),d(2),D("inline",!0)("matTooltip",B(69,76,"node.details.transports-info.autoconnect-info")),d(4),D("forDarkBackground",!0),d(1),ye(" ",B(74,78,"node.details.transports-info."+(e.node.autoconnectTransports?"disable":"enable")+"-button")," "),d(5),pe(B(79,80,"node.details.router-info.title")),d(4),pe(B(83,82,"node.details.router-info.min-hops")),d(2),ye(" ",e.node.minHops," "),d(2),D("forDarkBackground",!0),d(1),ye(" ",B(88,84,"node.details.router-info.change-config-button")," "),d(5),pe(B(93,86,"node.details.node-health.title")),d(4),pe(B(97,88,"node.details.node-health.uptime-tracker")),d(2),fs(e.nodeHealthClass),d(1),ye(" ",B(100,90,e.nodeHealthText)," "),d(5),pe(B(105,92,"node.details.node-traffic-data"))}}let fP=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.transportService=s,this.snackbarService=o}set nodeInfo(e){this.node=e,this.timeOnline=EE.getElapsedTime(e.secondsOnline),e.health&&e.health.servicesHealth===io.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):e.health&&e.health.servicesHealth===io.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):e.health&&e.health.servicesHealth===io.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}ngOnDestroy(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}showEditLabelDialog(){let e=this.storageService.getLabelInfo(this.node.localPk);e||(e={id:this.node.localPk,label:"",identifiedElementType:ur.Node}),U0.openDialog(this.dialog,e).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeRouterConfig(){uP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeTransportsConfig(){const e=rn.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=this.transportService.changeAutoconnectSetting(this.node.localPk,!this.node.autoconnectTransports);this.autoconnectSubscription=i.subscribe(()=>{e.close(),this.snackbarService.showDone(this.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},s=>{s=an(s),e.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N($0),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,i){1&e&&U(0,TX,107,98,"div",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,Cn,vi,Z0,Tr,wX,kt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),t})(),xX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.node=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,i){1&e&&De(0,"app-node-info-content",0),2&e&&D("nodeInfo",i.node)},dependencies:[fP]}),t})();const LX=function(){return["settings.title","labels.title"]};let EX=(()=>{class t{constructor(e){this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}performAction(e){null===e&&this.router.navigate(["settings"])}}return t.\u0275fac=function(e){return new(e||t)(N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-label-list",4),k()()),2&e&&(d(2),D("titleParts",Hn(5,LX))("tabsData",i.tabsData)("showUpdateButton",!1)("returnText",i.returnButtonText),d(2),D("showShortList",!1))},dependencies:[Hl,WE]}),t})();const PX=["firstInput"];function IX(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function OX(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}let AX=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialogRef=e,this.data=i,this.formBuilder=s,this.dialog=o,this.router=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({pk:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){if(!this.form.valid)return;const e={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,e,this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Gn),N(Ut),N(wu),N(Yl),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(e,i){if(1&e&&vt(PX,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:23,vars:23,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),T(7,"mat-error"),U(8,IX,3,3,"ng-container",4),k(),U(9,OX,2,3,"ng-template",null,5,Oa),k(),T(11,"mat-form-field"),De(12,"input",6),Y(13,"translate"),k(),T(14,"mat-form-field"),De(15,"input",7),Y(16,"translate"),k(),T(17,"mat-form-field"),De(18,"input",8),Y(19,"translate"),k()(),T(20,"app-button",9),Me("action",function(){return i.process()}),O(21),Y(22,"translate"),k()()),2&e){const s=li(10);D("headline",B(1,11,"vpn.server-list.add-server-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,13,"vpn.server-list.add-server-dialog.pk-label")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(4),D("placeholder",B(13,15,"vpn.server-list.add-server-dialog.password-label")),d(3),D("placeholder",B(16,17,"vpn.server-list.add-server-dialog.name-label")),d(3),D("placeholder",B(19,19,"vpn.server-list.add-server-dialog.note-label")),d(2),D("disabled",!i.form.valid),d(1),ye(" ",B(22,21,"vpn.server-list.add-server-dialog.use-server-button")," ")}},dependencies:[Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Tr,bi,kt]}),t})();class RX{constructor(){this.countryCode="ZZ"}}let FX=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}getServers(){return this.servers?ze(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Hh(e=>e.pipe(Ji(4e3))),Xe(e=>{const i=[];return e.forEach(s=>{const o=new RX,a=s.address.split(":");2===a.length&&(o.pk=a[0],o.location="",s.geo&&(s.geo.country&&(o.countryCode=s.geo.country),s.geo.region&&(o.location=s.geo.region)),o.name=a[0],o.note="",i.push(o))}),this.servers=i,i}))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function NX(t,n){1&t&&Pa(0)}const pP=function(){return["vpn.title"]};function YX(t,n){if(1&t&&(T(0,"div",3)(1,"div",4),De(2,"app-top-bar",5),T(3,"div",6)(4,"div",7)(5,"div",8),U(6,NX,1,0,"ng-container",9),k()()()(),De(7,"app-loading-indicator",10),k()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(6,pP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(4),D("ngTemplateOutlet",i)}}function HX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.public")))}const M_=function(t,n){return["/vpn",t,"servers",n,1]};function VX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Public)),d(2),pe(B(3,2,"vpn.server-list.tabs.public"))}}function BX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.history")))}function jX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.History)),d(2),pe(B(3,2,"vpn.server-list.tabs.history"))}}function UX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.favorites")))}function zX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Favorites)),d(2),pe(B(3,2,"vpn.server-list.tabs.favorites"))}}function WX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.blocked")))}function $X(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Blocked)),d(2),pe(B(3,2,"vpn.server-list.tabs.blocked"))}}function GX(t,n){1&t&&De(0,"br")}function qX(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function KX(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function ZX(t,n){if(1&t&&(T(0,"div",28)(1,"span"),O(2),Y(3,"translate"),k(),U(4,qX,3,3,"ng-container",21),U(5,KX,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function QX(t,n){if(1&t){const e=nt();T(0,"div",25),Me("click",function(){return Ie(e),Oe(W(3).dataFilterer.removeFilters())}),T(1,"div",26)(2,"mat-icon",19),O(3,"search"),k(),O(4),Y(5,"translate"),k(),U(6,ZX,6,5,"div",27),k()}if(2&t){const e=W(3);d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.server-list.current-filters"),""),d(2),D("ngForOf",e.dataFilterer.currentFiltersTexts)}}function JX(t,n){if(1&t&&(qe(0),U(1,GX,1,0,"br",21),U(2,QX,7,5,"div",24),Ke()),2&t){const e=W(2);d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}const XX=function(t){return{deactivated:t}};function eee(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),U(4,HX,4,3,"div",15),U(5,VX,4,7,"a",16),U(6,BX,4,3,"div",15),U(7,jX,4,7,"a",16),U(8,UX,4,3,"div",15),U(9,zX,4,7,"a",16),U(10,WX,4,3,"div",15),U(11,$X,4,7,"a",16),k()()()(),T(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Me("click",function(){Ie(e);const s=W();return Oe(s.dataFilterer?s.dataFilterer.changeFilters():null)}),Y(17,"translate"),T(18,"span")(19,"mat-icon",19),O(20,"search"),k()()()()()()(),T(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Me("click",function(){return Ie(e),Oe(W().enterManually())}),Y(26,"translate"),T(27,"span")(28,"mat-icon",19),O(29,"add"),k()()()()()()(),U(30,JX,3,2,"ng-container",21)}if(2&t){const e=W();d(4),D("ngIf",e.currentList===e.lists.Public),d(1),D("ngIf",e.currentList!==e.lists.Public),d(1),D("ngIf",e.currentList===e.lists.History),d(1),D("ngIf",e.currentList!==e.lists.History),d(1),D("ngIf",e.currentList===e.lists.Favorites),d(1),D("ngIf",e.currentList!==e.lists.Favorites),d(1),D("ngIf",e.currentList===e.lists.Blocked),d(1),D("ngIf",e.currentList!==e.lists.Blocked),d(1),D("ngClass",Ue(18,XX,e.loading)),d(4),D("matTooltip",B(17,14,"filters.filter-info")),d(3),D("inline",!0),d(6),D("matTooltip",B(26,16,"vpn.server-list.add-manually-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataFilterer)}}function tee(t,n){1&t&&Pa(0)}function nee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function iee(t,n){if(1&t){const e=nt();T(0,"th",50),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dateSortData))}),Y(1,"translate"),T(2,"div",43)(3,"div",44),O(4),Y(5,"translate"),k(),U(6,nee,2,2,"mat-icon",41),k()()}if(2&t){const e=W(4);D("matTooltip",B(1,3,"vpn.server-list.date-info")),d(4),ye(" ",B(5,5,"vpn.server-list.date-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dateSortData)}}function ree(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function see(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function oee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function aee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function lee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function cee(t,n){if(1&t&&(T(0,"td",64),O(1),Y(2,"date"),k()),2&t){const e=W().$implicit;d(1),ye(" ",Vt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function uee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),ye(" ",e.location," ")}}function dee(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.unknown")," "))}const hee=function(t,n){return{custom:t,original:n}};function fee(t,n){if(1&t&&(T(0,"mat-icon",65),Me("click",function(i){return i.stopPropagation()}),Y(1,"translate"),O(2,"info_outline"),k()),2&t){const e=W().$implicit,i=W(4);D("inline",!0)("matTooltip",Vt(1,2,i.getNoteVar(e),hn(5,hee,e.personalNote,e.note)))}}const pee=function(t){return{"selectable click-effect":t}};function mee(t,n){if(1&t){const e=nt();T(0,"tr",51),Me("click",function(){const o=Ie(e).$implicit,a=W(4);return Oe(a.currentList!==a.lists.Blocked?a.selectServer(o):null)}),U(1,cee,3,4,"td",52),T(2,"td",53)(3,"div",54),De(4,"div",55),k()(),T(5,"td",56),De(6,"app-vpn-server-name",57),k(),T(7,"td",58),U(8,uee,2,1,"ng-container",21),U(9,dee,3,3,"ng-container",21),k(),T(10,"td",59)(11,"app-copy-to-clipboard-text",60),Me("click",function(s){return s.stopPropagation()}),k()(),T(12,"td",61),U(13,fee,3,8,"mat-icon",62),k(),T(14,"td",48)(15,"button",63),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),Oe(l.openOptions(a))}),Y(16,"translate"),T(17,"mat-icon",19),O(18,"settings"),k()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(23,pee,i.currentList!==i.lists.Blocked)),d(1),D("ngIf",i.currentList===i.lists.History),d(3),oi("background-image: url('assets/img/big-flags/"+e.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",i.getCountryName(e.countryCode)),d(2),D("isCurrentServer",i.currentServer&&e.pk===i.currentServer.pk)("isFavorite",e.flag===i.serverFlags.Favorite&&i.currentList!==i.lists.Favorites)("isBlocked",e.flag===i.serverFlags.Blocked&&i.currentList!==i.lists.Blocked)("isInHistory",e.inHistory&&i.currentList!==i.lists.History)("hasPassword",e.usedWithPassword)("name",e.name)("pk",e.pk)("customName",e.customName)("defaultName","vpn.server-list.none"),d(2),D("ngIf",e.location),d(1),D("ngIf",!e.location),d(2),D("shortSimple",!0)("text",e.pk),d(2),D("ngIf",e.note||e.personalNote),d(2),D("matTooltip",B(16,21,"vpn.server-options.tooltip")),d(2),D("inline",!0)}}const _ee=function(t,n){return{"public-pk-column":t,"history-pk-column":n}};function gee(t,n){if(1&t){const e=nt();T(0,"table",38)(1,"tr"),U(2,iee,7,7,"th",39),T(3,"th",40),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.countrySortData))}),Y(4,"translate"),T(5,"mat-icon",19),O(6,"flag"),k(),U(7,ree,2,2,"mat-icon",41),k(),T(8,"th",42),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),T(9,"div",43)(10,"div",44),O(11),Y(12,"translate"),k(),U(13,see,2,2,"mat-icon",41),k()(),T(14,"th",45),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.locationSortData))}),T(15,"div",43)(16,"div",44),O(17),Y(18,"translate"),k(),U(19,oee,2,2,"mat-icon",41),k()(),T(20,"th",46),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.pkSortData))}),Y(21,"translate"),T(22,"div",43)(23,"div",44),O(24),Y(25,"translate"),k(),U(26,aee,2,2,"mat-icon",41),k()(),T(27,"th",47),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.noteSortData))}),Y(28,"translate"),T(29,"div",43)(30,"mat-icon",19),O(31,"info_outline"),k(),U(32,lee,2,2,"mat-icon",41),k()(),De(33,"th",48),k(),U(34,mee,19,25,"tr",49),k()}if(2&t){const e=W(3);d(2),D("ngIf",e.currentList===e.lists.History),d(1),D("matTooltip",B(4,16,"vpn.server-list.country-info")),d(2),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.countrySortData),d(4),ye(" ",B(12,18,"vpn.server-list.name-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(4),ye(" ",B(18,20,"vpn.server-list.location-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.locationSortData),d(1),D("ngClass",hn(28,_ee,e.currentList===e.lists.Public,e.currentList===e.lists.History))("matTooltip",B(21,22,"vpn.server-list.public-key-info")),d(4),ye(" ",B(25,24,"vpn.server-list.public-key-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pkSortData),d(1),D("matTooltip",B(28,26,"vpn.server-list.note-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.noteSortData),d(2),D("ngForOf",e.dataSource)}}function vee(t,n){if(1&t&&(T(0,"div",35)(1,"div",36),U(2,gee,35,31,"table",37),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0)}}const bee=function(t,n){return["/vpn",t,"servers",n]};function yee(t,n){if(1&t&&De(0,"app-paginator",66),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",hn(4,bee,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Mee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-discovery")))}function wee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-history")))}function Cee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-favorites")))}function See(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-blocked")))}function Dee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-with-filter")))}function kee(t,n){if(1&t&&(T(0,"div",35)(1,"div",67)(2,"mat-icon",68),O(3,"warning"),k(),U(4,Mee,3,3,"span",69),U(5,wee,3,3,"span",69),U(6,Cee,3,3,"span",69),U(7,See,3,3,"span",69),U(8,Dee,3,3,"span",69),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),d(1),D("ngIf",0!==e.allServers.length)}}const Tee=function(t){return{"mb-3":t}};function xee(t,n){if(1&t&&(T(0,"div",29)(1,"div",30),De(2,"app-top-bar",5),k(),T(3,"div",31)(4,"div",7)(5,"div",32),U(6,tee,1,0,"ng-container",9),k(),U(7,vee,3,1,"div",33),U(8,yee,1,7,"app-paginator",34),U(9,kee,9,6,"div",33),k()()()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(10,pP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(3),D("ngClass",Ue(11,Tee,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),d(1),D("ngTemplateOutlet",i),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}var Ti=(()=>(function(t){t.Public="public",t.History="history",t.Favorites="favorites",t.Blocked="blocked"}(Ti||(Ti={})),Ti))();let mP=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.dialog=e,this.router=i,this.translateService=s,this.route=o,this.vpnClientDiscoveryService=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_,this.storageService=E,this.maxFullListElements=50,this.dateSortData=new In(["lastUsed"],"vpn.server-list.date-small-table-label",Jt.NumberReversed),this.countrySortData=new In(["countryName"],"vpn.server-list.country-small-table-label",Jt.Text),this.nameSortData=new In(["name"],"vpn.server-list.name-small-table-label",Jt.Text),this.locationSortData=new In(["location"],"vpn.server-list.location-small-table-label",Jt.Text),this.pkSortData=new In(["pk"],"vpn.server-list.public-key-small-table-label",Jt.Text),this.noteSortData=new In(["note"],"vpn.server-list.note-small-table-label",Jt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=qi.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Ti.Public,this.vpnRunning=!1,this.serverFlags=Bn,this.lists=Ti,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(R=>{if(R.has("type")?R.get("type")===Ti.Favorites?(this.currentList=Ti.Favorites,this.listId="vfs"):R.get("type")===Ti.Blocked?(this.currentList=Ti.Blocked,this.listId="vbs"):R.get("type")===Ti.History?(this.currentList=Ti.History,this.listId="vhs"):(this.currentList=Ti.Public,this.listId="vps"):(this.currentList=Ti.Public,this.listId="vps"),qi.setDefaultTabForServerList(this.currentList),R.has("key")&&(this.currentLocalPk=R.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}this.initialLoadStarted||(this.initialLoadStarted=!0,this.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(R=>this.currentServer=R),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(R=>{R&&(this.loadingBackendData=!1,this.vpnRunning=R.vpnClientAppData.running)})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}enterManually(){AX.openDialog(this.dialog,this.currentLocalPk)}getNoteVar(e){return e.note&&e.personalNote?"vpn.server-list.notes-info":!e.note&&e.personalNote?e.personalNote:e.note}selectServer(e){const i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),i&&i.flag===Bn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===e.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{const s=rn.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.vpnClientService.start(),qi.redirectAfterServerChange(this.router,null,this.currentLocalPk)})}return}if(i&&i.usedWithPassword)return void LE.openDialog(this.dialog,!0).afterClosed().subscribe(s=>{s&&this.makeServerChange(e,"-"===s?null:s.substr(1))});this.makeServerChange(e,null)}}makeServerChange(e,i){qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,e.originalLocalData,e.originalDiscoveryData,null,i)}openOptions(e){let i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);i||(i=this.vpnSavedDataService.processFromDiscovery(e.originalDiscoveryData)),i?qi.openServerOptions(i,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(s=>{s&&this.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}loadData(){if(this.currentList===Ti.Public)this.dataSubscription=this.vpnClientDiscoveryService.getServers().subscribe(e=>{this.allServers=e.map(i=>({countryCode:i.countryCode,countryName:this.getCountryName(i.countryCode),name:i.name,customName:null,location:i.location,pk:i.pk,note:i.note,personalNote:null,originalDiscoveryData:i})),this.vpnSavedDataService.updateFromDiscovery(e),this.loading=!1,this.processAllServers()});else{let e;e=this.currentList===Ti.History?this.vpnSavedDataService.history:this.currentList===Ti.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked,this.dataSubscription=e.subscribe(i=>{const s=[];i.forEach(o=>{s.push({countryCode:o.countryCode,countryName:this.getCountryName(o.countryCode),name:o.name,customName:null,location:o.location,pk:o.pk,note:o.note,personalNote:null,lastUsed:o.lastUsed,inHistory:o.inHistory,flag:o.flag,originalLocalData:o})}),this.allServers=s,this.loading=!1,this.processAllServers()})}}processAllServers(){this.fillFilterPropertiesArray();const e=new Set;this.allServers.forEach((_,E)=>{e.add(_.countryCode);const R=this.vpnSavedDataService.getSavedVersion(_.pk,0===E);_.customName=R?R.customName:null,_.personalNote=R?R.personalNote:null,_.inHistory=!!R&&R.inHistory,_.flag=R?R.flag:Bn.None,_.enteredManually=!!R&&R.enteredManually,_.usedWithPassword=!!R&&R.usedWithPassword});let i=[];e.forEach(_=>{i.push({label:this.getCountryName(_),value:_,image:"/assets/img/big-flags/"+_.toLowerCase()+".png"})}),i.sort((_,E)=>_.label.localeCompare(E.label)),i=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(i),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:qn.Select,printableLabelsForValues:i,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);const o=[];let a,l,c;this.currentList===Ti.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=0,l=1):(this.currentList===Ti.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=this.currentList===Ti.History?0:1,l=this.currentList===Ti.History?2:3),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,o,a,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredServers=_,this.dataSorter.setData(this.filteredServers)}),c=this.currentList===Ti.Public?this.allServers.filter(_=>_.flag!==Bn.Blocked):this.allServers,this.dataFilterer.setData(c)}fillFilterPropertiesArray(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:qn.TextInput,maxlength:100}]}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){const e=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(i,i+e)}else this.serversToShow=null;this.dataSource=this.serversToShow}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut),N(Hr),N(Qi),N(FX),N(wu),N(Yl),N(Vn),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,YX,8,7,"div",0),U(1,eee,31,20,"ng-template",null,1,Oa),U(3,xee,10,13,"div",2)),2&e&&(D("ngIf",i.loading||i.loadingBackendData),d(3),D("ngIf",!i.loading&&!i.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Eee(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}const Bh=function(t,n){return{"small-text-icon":t,"big-text-icon":n}};function Pee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"done"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.selected-info"))}}function Iee(t,n){if(1&t&&(T(0,"mat-icon",5),Y(1,"translate"),O(2,"clear"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.blocked-info"))}}function Oee(t,n){if(1&t&&(T(0,"mat-icon",6),Y(1,"translate"),O(2,"star"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.favorite-info"))}}function Aee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"history"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.history-info"))}}function Ree(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"lock_outlined"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.has-password-info"))}}function Fee(t,n){if(1&t&&(qe(0),O(1),T(2,"mat-icon",7),O(3,"fiber_manual_record"),k(),O(4),Ke()),2&t){const e=W();d(1),ye(" ",e.customName," "),d(1),D("inline",!0),d(2),ye(" ",e.name,"\n")}}function Nee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.customName)}}function Yee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.name)}}function Hee(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),pe(B(2,1,e.defaultName))}}let _P=(()=>{class t{constructor(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,i){1&e&&(U(0,Pee,3,8,"mat-icon",0),U(1,Iee,3,8,"mat-icon",1),U(2,Oee,3,8,"mat-icon",2),U(3,Aee,3,8,"mat-icon",0),U(4,Ree,3,8,"mat-icon",0),U(5,Fee,5,3,"ng-container",3),U(6,Nee,2,1,"ng-container",3),U(7,Yee,2,1,"ng-container",3),U(8,Hee,3,3,"ng-container",3)),2&e&&(D("ngIf",i.isCurrentServer),d(1),D("ngIf",i.isBlocked),d(1),D("ngIf",i.isFavorite),d(1),D("ngIf",i.isInHistory),d(1),D("ngIf",i.hasPassword),d(1),D("ngIf",i.customName&&i.name&&(!i.pk||i.name!==i.pk)),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&i.customName),d(1),D("ngIf",i.name&&(!i.pk||i.name!==i.pk)&&!i.customName),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&!i.customName))},dependencies:[Wn,Ot,Cn,vi,kt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t})();const gP=function(){return["vpn.title"]};function Vee(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator"),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,gP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function Bee(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",40)}function jee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}function Uee(t,n){if(1&t){const e=nt();qe(0),T(1,"div",34),De(2,"div",35),k(),T(3,"div",36)(4,"div",37),De(5,"app-vpn-server-name",38),k(),T(6,"div",39),De(7,"app-copy-to-clipboard-text",40),k()(),T(8,"div",41),De(9,"div"),k(),T(10,"div",42)(11,"mat-icon",43),Me("click",function(){return Ie(e),Oe(W(3).openServerOptions())}),Y(12,"translate"),O(13,"settings"),k()(),Ke()}if(2&t){const e=W(3);d(2),oi("background-image: url('assets/img/big-flags/"+e.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",e.getCountryName(e.currentRemoteServer.countryCode)),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(2),D("shortSimple",!0)("text",e.currentRemoteServer.pk),d(4),D("inline",!0)("matTooltip",B(12,13,"vpn.server-options.tooltip"))}}function zee(t,n){1&t&&(qe(0),T(1,"div",44),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),pe(B(3,1,"vpn.status-page.no-server")))}const Wee=function(t,n){return{custom:t,original:n}};function $ee(t,n){if(1&t&&(T(0,"div",45)(1,"mat-icon",33),O(2,"info_outline"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ye(" ",Vt(4,2,e.getNoteVar(),hn(5,Wee,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function Gee(t,n){if(1&t&&(T(0,"div",46)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}const vP=function(t){return{"disabled-button":t}};function qee(t,n){if(1&t){const e=nt();T(0,"div",22)(1,"div",11)(2,"div",13),O(3),Y(4,"translate"),k(),T(5,"div")(6,"div",23),Me("click",function(){return Ie(e),Oe(W(2).start())}),T(7,"div",24),De(8,"div",25),k(),T(9,"div",24),De(10,"div",26),k(),U(11,Bee,1,1,"mat-spinner",27),U(12,jee,2,1,"mat-icon",28),k()(),T(13,"div",29),U(14,Uee,14,15,"ng-container",18),U(15,zee,4,3,"ng-container",18),k(),T(16,"div"),U(17,$ee,5,8,"div",30),k(),T(18,"div"),U(19,Gee,5,5,"div",31),k()()()}if(2&t){const e=W(2);d(3),pe(B(4,8,"vpn.status-page.start-title")),d(3),D("ngClass",Ue(10,vP,e.showBusy)),d(5),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),D("ngIf",e.currentRemoteServer),d(1),D("ngIf",!e.currentRemoteServer),d(2),D("ngIf",e.currentRemoteServer&&(e.currentRemoteServer.note||e.currentRemoteServer.personalNote)),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.lastErrorMsg)}}function Kee(t,n){if(1&t&&(T(0,"div",77)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function Zee(t,n){1&t&&(T(0,"div"),De(1,"mat-spinner",32),k()),2&t&&(d(1),D("diameter",24))}function Qee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}const Cu=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},bP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},yP=function(t){return{showValue:!0,showUnit:!0,useBits:t}},w_=function(t){return{time:t}};function Jee(t,n){if(1&t){const e=nt();T(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),O(5,"timer"),k(),T(6,"span"),O(7),k()()(),T(8,"div",50),O(9),Y(10,"translate"),k(),T(11,"div",51)(12,"div",52),O(13),Y(14,"translate"),k(),De(15,"div"),k(),T(16,"div",53),O(17),Y(18,"translate"),k(),U(19,Kee,5,5,"div",54),T(20,"div",55)(21,"div",56),Y(22,"translate"),T(23,"div",57),De(24,"app-line-chart",58),k(),T(25,"div",59)(26,"div",60)(27,"div",61),O(28),Y(29,"autoScale"),k(),De(30,"div",62),k()(),T(31,"div",59)(32,"div",63)(33,"div",61),O(34),Y(35,"autoScale"),k(),De(36,"div",62),k()(),T(37,"div",59)(38,"div",64)(39,"div",61),O(40),Y(41,"autoScale"),k()()(),T(42,"div",65)(43,"mat-icon",66),O(44,"keyboard_backspace"),k(),T(45,"div",67),O(46),Y(47,"autoScale"),k(),T(48,"div",68),O(49),Y(50,"autoScale"),Y(51,"translate"),k()()(),T(52,"div",56),Y(53,"translate"),T(54,"div",57),De(55,"app-line-chart",58),k(),T(56,"div",69)(57,"div",60)(58,"div",61),O(59),Y(60,"autoScale"),k(),De(61,"div",62),k()(),T(62,"div",59)(63,"div",63)(64,"div",61),O(65),Y(66,"autoScale"),k(),De(67,"div",62),k()(),T(68,"div",59)(69,"div",64)(70,"div",61),O(71),Y(72,"autoScale"),k()()(),T(73,"div",65)(74,"mat-icon",70),O(75,"keyboard_backspace"),k(),T(76,"div",67),O(77),Y(78,"autoScale"),k(),T(79,"div",68),O(80),Y(81,"autoScale"),Y(82,"translate"),k()()()(),T(83,"div",71)(84,"div",72),Y(85,"translate"),T(86,"div",57),De(87,"app-line-chart",73),k(),T(88,"div",69)(89,"div",60)(90,"div",61),O(91),Y(92,"translate"),k(),De(93,"div",62),k()(),T(94,"div",59)(95,"div",63)(96,"div",61),O(97),Y(98,"translate"),k(),De(99,"div",62),k()(),T(100,"div",59)(101,"div",64)(102,"div",61),O(103),Y(104,"translate"),k()()(),T(105,"div",65)(106,"mat-icon",33),O(107,"swap_horiz"),k(),T(108,"div"),O(109),Y(110,"translate"),k()()()(),T(111,"div",74),Me("click",function(){return Ie(e),Oe(W(2).stop())}),T(112,"div",75)(113,"div",76),U(114,Zee,2,1,"div",18),U(115,Qee,2,1,"mat-icon",28),T(116,"span"),O(117),Y(118,"translate"),k()()()()()()}if(2&t){const e=W(2);d(4),D("inline",!0),d(3),pe(e.connectionTimeString),d(2),pe(B(10,58,"vpn.connection-info.state-title")),d(4),pe(B(14,60,e.currentStateText)),d(2),fs("state-line "+e.currentStateLineClass),d(2),pe(B(18,62,e.currentStateText+"-info")),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.connectionData&&e.backendState.vpnClientAppData.connectionData.error),d(2),D("matTooltip",B(22,64,"vpn.status-page.upload-info")),d(3),D("animated",!1)("data",e.sentHistory)("min",e.minUploadInGraph)("max",e.maxUploadInGraph),d(4),ye(" ",Vt(29,66,e.maxUploadInGraph,Ue(118,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(35,69,e.midUploadInGraph,Ue(120,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(41,72,e.minUploadInGraph,Ue(122,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(47,75,e.uploadSpeed,Ue(124,bP,e.showSpeedsInBits))),d(3),ps(" ",Vt(50,78,e.totalUploaded,Ue(126,yP,e.showTotalsInBits))," ",B(51,81,"vpn.status-page.total-data-label")," "),d(3),D("matTooltip",B(53,83,"vpn.status-page.download-info")),d(3),D("animated",!1)("data",e.receivedHistory)("min",e.minDownloadInGraph)("max",e.maxDownloadInGraph),d(4),ye(" ",Vt(60,85,e.maxDownloadInGraph,Ue(128,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(66,88,e.midDownloadInGraph,Ue(130,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(72,91,e.minDownloadInGraph,Ue(132,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(78,94,e.downloadSpeed,Ue(134,bP,e.showSpeedsInBits))),d(3),ps(" ",Vt(81,97,e.totalDownloaded,Ue(136,yP,e.showTotalsInBits))," ",B(82,100,"vpn.status-page.total-data-label")," "),d(4),D("matTooltip",B(85,102,"vpn.status-page.latency-info")),d(3),D("animated",!1)("data",e.latencyHistory)("min",e.minLatencyInGraph)("max",e.maxLatencyInGraph),d(4),ye(" ",Vt(92,104,"common."+e.getLatencyValueString(e.maxLatencyInGraph),Ue(138,w_,e.getPrintableLatency(e.maxLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(98,107,"common."+e.getLatencyValueString(e.midLatencyInGraph),Ue(140,w_,e.getPrintableLatency(e.midLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(104,110,"common."+e.getLatencyValueString(e.minLatencyInGraph),Ue(142,w_,e.getPrintableLatency(e.minLatencyInGraph)))," "),d(3),D("inline",!0),d(3),pe(Vt(110,113,"common."+e.getLatencyValueString(e.latency),Ue(144,w_,e.getPrintableLatency(e.latency)))),d(2),D("ngClass",Ue(146,vP,e.showBusy)),d(3),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),pe(B(118,116,"vpn.status-page.disconnect"))}}function Xee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.currentIp)}}function ete(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function tte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function nte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-problem-info"))}function ite(t,n){if(1&t){const e=nt();T(0,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(3).getIp())}),Y(1,"translate"),O(2,"refresh"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-refresh-info"))}function rte(t,n){if(1&t&&(T(0,"div",78),U(1,Xee,2,1,"ng-container",18),U(2,ete,3,3,"ng-container",18),U(3,tte,1,1,"mat-spinner",27),U(4,nte,3,4,"mat-icon",79),U(5,ite,3,4,"mat-icon",80),k()),2&t){const e=W(2);d(1),D("ngIf",e.currentIp),d(1),D("ngIf",!e.currentIp&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp),d(1),D("ngIf",!e.loadingCurrentIp)}}function ste(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function ote(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.ipCountry)}}function ate(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function lte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function cte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-country-problem-info"))}function ute(t,n){if(1&t&&(T(0,"div",78),U(1,ote,2,1,"ng-container",18),U(2,ate,3,3,"ng-container",18),U(3,lte,1,1,"mat-spinner",27),U(4,cte,3,4,"mat-icon",79),k()),2&t){const e=W(2);d(1),D("ngIf",e.ipCountry),d(1),D("ngIf",!e.ipCountry&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp)}}function dte(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function hte(t,n){if(1&t){const e=nt();T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",78),De(5,"app-vpn-server-name",83),T(6,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(2).openServerOptions())}),Y(7,"translate"),O(8,"settings"),k()()()}if(2&t){const e=W(2);d(2),pe(B(3,10,"vpn.status-page.data.server")),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(1),D("inline",!0)("matTooltip",B(7,12,"vpn.server-options.tooltip"))}}function fte(t,n){1&t&&De(0,"div",15)}function pte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.server-note")),d(3),ye(" ",e.currentRemoteServer.personalNote," ")}}function mte(t,n){1&t&&De(0,"div",15)}function _te(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),d(3),ye(" ",e.currentRemoteServer.note," ")}}function gte(t,n){1&t&&De(0,"div",15)}function vte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),De(5,"app-copy-to-clipboard-text",21),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.remote-pk")),d(3),D("text",e.currentRemoteServer.pk)}}function bte(t,n){1&t&&De(0,"div",15)}function yte(t,n){if(1&t&&(T(0,"div",4)(1,"div",5)(2,"div",6),De(3,"app-top-bar",3),k()(),T(4,"div",7),U(5,qee,20,12,"div",8),U(6,Jee,119,148,"div",9),T(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),O(12),Y(13,"translate"),k(),U(14,rte,6,5,"div",14),U(15,ste,3,3,"div",14),k(),De(16,"div",15),T(17,"div")(18,"div",13),O(19),Y(20,"translate"),k(),U(21,ute,5,4,"div",14),U(22,dte,3,3,"div",14),k(),De(23,"div",16)(24,"div",17)(25,"div",16),U(26,hte,9,14,"div",18),U(27,fte,1,0,"div",19),U(28,pte,6,4,"div",18),U(29,mte,1,0,"div",19),U(30,_te,6,4,"div",18),U(31,gte,1,0,"div",19),U(32,vte,6,4,"div",18),U(33,bte,1,0,"div",19),T(34,"div")(35,"div",13),O(36),Y(37,"translate"),k(),T(38,"div",20),De(39,"app-copy-to-clipboard-text",21),k()()()()()()()),2&t){const e=W();d(3),D("titleParts",Hn(29,gP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(2),D("ngIf",!e.showStarted),d(1),D("ngIf",e.showStarted),d(6),pe(B(13,23,"vpn.status-page.data.ip")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),pe(B(20,25,"vpn.status-page.data.country")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(3),pe(B(37,27,"vpn.status-page.data.local-pk")),d(3),D("text",e.currentLocalPk)}}let Mte=(()=>{class t{constructor(e,i,s,o,a,l,c){this.vpnClientService=e,this.vpnSavedDataService=i,this.snackbarService=s,this.translateService=o,this.route=a,this.dialog=l,this.router=c,this.tabsData=qi.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Q0.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Bn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();const _=this.vpnSavedDataService.getDataUnitsSetting();_===ns.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):_===ns.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}ngOnInit(){this.navigationsSubscription=this.route.paramMap.subscribe(e=>{e.has("key")&&(this.currentLocalPk=e.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),setTimeout(()=>this.navigationsSubscription.unsubscribe()),this.dataSubscription=this.vpnClientService.backendState.subscribe(i=>{if(i&&i.serviceState!==Gi.PerformingInitialCheck){const s=!this.backendState;if(this.backendState=i,(s||this.lastAppState===pn.Running&&i.vpnClientAppData.appState!==pn.Running||this.lastAppState!==pn.Running&&i.vpnClientAppData.appState===pn.Running)&&this.getIp(!0),this.showStarted=i.vpnClientAppData.running||i.vpnClientAppData.appState!==pn.Stopped,this.showStartedLastValue!==this.showStarted){for(let o=0;o<10;o++)this.receivedHistory[o]=0,this.sentHistory[o]=0,this.latencyHistory[o]=0;this.updateGraphLimits(),this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0}if(this.lastAppState=i.vpnClientAppData.appState,this.showStartedLastValue=this.showStarted,this.stopRequested?this.showStarted||(this.stopRequested=!1,this.showBusy=i.busy):this.showBusy=i.busy,i.vpnClientAppData.connectionData){for(let o=0;o<10;o++)this.receivedHistory[o]=i.vpnClientAppData.connectionData.downloadSpeedHistory[o],this.sentHistory[o]=i.vpnClientAppData.connectionData.uploadSpeedHistory[o],this.latencyHistory[o]=i.vpnClientAppData.connectionData.latencyHistory[o];this.updateGraphLimits(),this.uploadSpeed=i.vpnClientAppData.connectionData.uploadSpeed,this.downloadSpeed=i.vpnClientAppData.connectionData.downloadSpeed,this.totalUploaded=i.vpnClientAppData.connectionData.totalUploaded,this.totalDownloaded=i.vpnClientAppData.connectionData.totalDownloaded,this.latency=i.vpnClientAppData.connectionData.latency}i.vpnClientAppData.running&&i.vpnClientAppData.appState===pn.Running&&i.vpnClientAppData.connectionData&&i.vpnClientAppData.connectionData.connectionDuration?(-1===this.calculatedSegs||i.vpnClientAppData.connectionData.connectionDuration>this.calculatedSegs+2||i.vpnClientAppData.connectionData.connectionDuration(e.add(n.schedule(Eee,t,{subscriber:e,counter:0,period:t})),e))}(1e3).subscribe(()=>{this.calculatedSegs+=1,this.refreshConnectionTimeString()})):this.timeUpdateSubscription&&(this.timeUpdateSubscription.unsubscribe(),this.timeUpdateSubscription=null,this.calculatedSegs=-1,this.connectionTimeString="00:00:00"),this.loading=!1}}),this.currentRemoteServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(i=>{this.currentRemoteServer=i})})}refreshConnectionTimeString(){const e=this.calculatedSegs%60,i=Math.floor(this.calculatedSegs/60),s=i%60,o=Math.floor(i/60);this.connectionTimeString=String(o).padStart(2,"0")+":"+String(s).padStart(2,"0")+":"+String(e).padStart(2,"0")}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}start(){if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(()=>this.snackbarService.showWarning("vpn.status-page.select-server-warning"),100);this.currentRemoteServer.flag!==Bn.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}stop(){if(!this.backendState.vpnClientAppData.killswitch)return void this.finishStoppingVpn();const e=rn.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishStoppingVpn()})}finishStoppingVpn(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}openServerOptions(){qi.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}getNoteVar(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}get currentStateText(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===pn.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===pn.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===pn.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===pn.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}get currentStateLineClass(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"red-line":this.backendState.vpnClientAppData.appState===pn.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===pn.Running?"green-line":"yellow-line"}closeOperationSubscription(){this.operationSubscription&&this.operationSubscription.unsubscribe()}updateGraphLimits(){const e=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=e[0],this.midUploadInGraph=e[1],this.maxUploadInGraph=e[2];const i=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=i[0],this.midDownloadInGraph=i[1],this.maxDownloadInGraph=i[2];const s=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=s[0],this.midLatencyInGraph=s[1],this.maxLatencyInGraph=s[2]}calculateGraphLimits(e){let s=0,o=0;return e.forEach(a=>{a>s&&(s=a)}),0===s&&(s+=1),o=new(m_())(s).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),[0,o,s]}getIp(e=!1){if(this.ipInfoAllowed){if(!e){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");const i=1e4;if(Date.now()-this.lastIpRefresDate{this.loadingCurrentIp=!1,this.lastIpRefresDate=Date.now(),i?(this.problemGettingIp=!1,this.currentIp=i[0],this.ipCountry=i[1]):this.problemGettingIp=!0},()=>{this.lastIpRefresDate=Date.now(),this.loadingCurrentIp=!1,this.problemGettingIp=!1})}}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Yl),N(Vn),N(Hr),N(Qi),N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","lower-text current-server-note",4,"ngIf"],["class","lower-text last-error",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","name","pk","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"lower-text","current-server-note"],[1,"lower-text","last-error"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"d-inline-block"],[1,"state-text"],[1,"state-explanation"],["class","last-connected-error",4,"ngIf"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"last-connected-error"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","pk","customName"]],template:function(e,i){1&e&&(U(0,Vee,4,6,"div",0),U(1,yte,40,30,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Ot,Cn,vi,Vr,Z0,Q0,ko,Hl,_P,kt,Vh],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-line[_ngcontent-%COMP%]{height:1px;width:100%;margin-bottom:5px}.left-area-connected[_ngcontent-%COMP%] .green-line[_ngcontent-%COMP%]{background-color:#2ecc54}.left-area-connected[_ngcontent-%COMP%] .yellow-line[_ngcontent-%COMP%]{background-color:#d48b05}.left-area-connected[_ngcontent-%COMP%] .red-line[_ngcontent-%COMP%]{background-color:#da3439}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%]{margin-top:15px;font-size:.8rem;color:#ff393f}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0px;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px #00000080;width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px #00000080}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0px 0px 5px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0px;height:0px;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{animation:button-animation 4s linear infinite;pointer-events:none}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);width:20px;height:15px;background-size:contain;align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:rgba(255,255,255,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:10px}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area[_ngcontent-%COMP%] .last-error[_ngcontent-%COMP%]{font-size:.8rem;color:#ff393f}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:rgba(61,103,162,.1490196078);padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:rgba(255,255,255,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),t})(),X0=(()=>{class t{constructor(e){this.router=e}set lastError(e){this.lastErrorInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Lo=(()=>(function(t){t.UnableToConnectWithTheVpnClientApp="unavailable",t.NoLocalVisorPkProvided="pk",t.InvalidStorageState="storage",t.LocalVisorPkChangedDuringUsage="pkChange"}(Lo||(Lo={})),Lo))();let wte=(()=>{class t{constructor(e,i,s){this.route=e,this.vpnAuthGuardService=i,this.vpnClientService=s,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(o=>{this.problem=o.get("problem"),this.problem||(this.problem=Lo.UnableToConnectWithTheVpnClientApp),this.vpnAuthGuardService.lastError=this.problem,this.vpnClientService.stopContinuallyUpdatingData(),setTimeout(()=>this.navigationsSubscription.unsubscribe())})}getTitle(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.text-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"}getInfo(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"}}return t.\u0275fac=function(e){return new(e||t)(N(Qi),N(X0),N(wu))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),O(5,"error_outline"),k()(),T(6,"div"),O(7),Y(8,"translate"),k(),T(9,"div",5),O(10),Y(11,"translate"),k()()()()),2&e&&(d(4),D("inline",!0),d(3),pe(B(8,3,i.getTitle())),d(3),pe(B(11,5,i.getInfo())))},dependencies:[Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),t})();const Cte=["topBarLoading"],Ste=["topBarLoaded"],MP=function(){return["vpn.title"]};function Dte(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3,4),k(),De(4,"app-loading-indicator",5),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,MP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function kte(t,n){1&t&&De(0,"mat-spinner",20),2&t&&D("diameter",12)}function Tte(t,n){if(1&t){const e=nt();T(0,"div",6)(1,"div",7),De(2,"app-top-bar",3,8),k(),T(4,"div",9)(5,"div",10)(6,"div",11)(7,"div",12)(8,"table",13)(9,"tr")(10,"th",14)(11,"div",15)(12,"div",16),O(13),Y(14,"translate"),k()()(),T(15,"th",14),O(16),Y(17,"translate"),k()(),T(18,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeKillswitchOption())}),T(19,"td",14)(20,"div"),O(21),Y(22,"translate"),T(23,"mat-icon",18),Y(24,"translate"),O(25,"help"),k()()(),T(26,"td",14),De(27,"span"),O(28),Y(29,"translate"),U(30,kte,1,1,"mat-spinner",19),k()(),T(31,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeGetIpOption())}),T(32,"td",14)(33,"div"),O(34),Y(35,"translate"),T(36,"mat-icon",18),Y(37,"translate"),O(38,"help"),k()()(),T(39,"td",14),De(40,"span"),O(41),Y(42,"translate"),k()(),T(43,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeDataUnits())}),T(44,"td",14)(45,"div"),O(46),Y(47,"translate"),T(48,"mat-icon",18),Y(49,"translate"),O(50,"help"),k()()(),T(51,"td",14),O(52),Y(53,"translate"),k()(),T(54,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeHops())}),T(55,"td",14)(56,"div"),O(57),Y(58,"translate"),T(59,"mat-icon",18),Y(60,"translate"),O(61,"help"),k()()(),T(62,"td",14),O(63),k()()()()()()()()}if(2&t){const e=W();d(2),D("titleParts",Hn(54,MP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(11),ye(" ",B(14,28,"vpn.settings-page.setting-small-table-label")," "),d(3),ye(" ",B(17,30,"vpn.settings-page.value-small-table-label")," "),d(5),ye(" ",B(22,32,"vpn.settings-page.killswitch")," "),d(2),D("inline",!0)("matTooltip",B(24,34,"vpn.settings-page.killswitch-info")),d(4),fs(e.getStatusClass(e.backendData.vpnClientAppData.killswitch)),d(1),ye(" ",B(29,36,e.getStatusText(e.backendData.vpnClientAppData.killswitch))," "),d(2),D("ngIf",e.working===e.workingOptions.Killswitch),d(4),ye(" ",B(35,38,"vpn.settings-page.get-ip")," "),d(2),D("inline",!0)("matTooltip",B(37,40,"vpn.settings-page.get-ip-info")),d(4),fs(e.getStatusClass(e.getIpOption)),d(1),ye(" ",B(42,42,e.getStatusText(e.getIpOption))," "),d(5),ye(" ",B(47,44,"vpn.settings-page.data-units")," "),d(2),D("inline",!0)("matTooltip",B(49,46,"vpn.settings-page.data-units-info")),d(4),ye(" ",B(53,48,e.getUnitsOptionText(e.dataUnitsOption))," "),d(5),ye(" ",B(58,50,"vpn.settings-page.minimum-hops")," "),d(2),D("inline",!0)("matTooltip",B(60,52,"vpn.settings-page.minimum-hops-info")),d(4),ye(" ",e.backendData.vpnClientAppData.minHops," ")}}var oa=(()=>(function(t){t[t.None=0]="None",t[t.Killswitch=1]="Killswitch"}(oa||(oa={})),oa))();const xte=[{path:"",component:P7},{path:"login",component:_E},{path:"nodes",canActivate:[Th],canActivateChild:[Th],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:VE},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:VE},{path:":key",component:At,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:xX},{path:"routing",component:NZ},{path:"apps",component:sX},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:aX},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:cX},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:dX}]}]},{path:"settings",canActivate:[Th],canActivateChild:[Th],children:[{path:"",component:$q},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:EX}]},{path:"vpnlogin/:key",component:_E},{path:"vpn",canActivate:[X0],canActivateChild:[X0],children:[{path:"unavailable",component:wte},{path:":key",children:[{path:"status",component:Mte},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:mP},{path:"settings",component:(()=>{class t{constructor(e,i,s,o,a,l){this.vpnClientService=e,this.snackbarService=i,this.appsService=s,this.vpnSavedDataService=o,this.dialog=a,this.loading=!0,this.tabsData=qi.vpnTabsData,this.working=oa.None,this.workingOptions=oa,this.navigationsSubscription=l.paramMap.subscribe(c=>{c.has("key")&&(this.currentLocalPk=c.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(c=>{c&&c.serviceState!==Gi.PerformingInitialCheck&&(this.backendData=c,this.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}getStatusClass(e){return!0===e?"dot-green":"dot-red"}getStatusText(e){return!0===e?"vpn.settings-page.setting-on":"vpn.settings-page.setting-off"}getUnitsOptionText(e){switch(e){case ns.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case ns.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}}changeKillswitchOption(){if(this.working===oa.None)if(this.backendData.vpnClientAppData.running){const e=rn.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")}finishChangingKillswitchOption(){this.working=oa.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(()=>{this.working=oa.None,this.vpnClientService.updateData()},e=>{this.working=oa.None,e=an(e),this.snackbarService.showError(e)})}changeGetIpOption(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)}changeDataUnits(){const e=[],i=[];Object.keys(ns).forEach(s=>{const o={label:this.getUnitsOptionText(ns[s])};this.dataUnitsOption===ns[s]&&(o.icon="done"),e.push(o),i.push(ns[s])}),Ur.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(s=>{s&&(this.dataUnitsOption=i[s-1],this.vpnSavedDataService.setDataUnitsSetting(this.dataUnitsOption),this.topBarLoading&&this.topBarLoading.updateVpnDataStatsUnit(),this.topBarLoaded&&this.topBarLoaded.updateVpnDataStatsUnit())})}changeHops(){uP.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Vn),N(Mu),N(Yl),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(e,i){if(1&e&&(vt(Cte,5),vt(Ste,5)),2&e){let s;at(s=lt())&&(i.topBarLoading=s.first),at(s=lt())&&(i.topBarLoaded=s.first)}},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(U(0,Dte,5,6,"div",0),U(1,Tte,64,55,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Ot,Cn,vi,Vr,ko,Hl,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .data-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:400!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),t})()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}];let Lte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[xx.forRoot(xte,{useHash:!0,relativeLinkResolution:"legacy"}),xx]}),t})(),Pte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Pn]}),t})();class Ite{getTranslation(n){return ge(F(6297)(`./${n}.json`))}}let Ote=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Z2.forRoot({loader:{provide:Dh,useClass:Ite}}),Z2]}),t})(),Ate=(()=>{class t{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Rte={disabled:!0};let Fte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t,bootstrap:[E7]}),t.\u0275inj=wt({providers:[Rh,{provide:p0,useValue:{duration:3e3,verticalPosition:"top"}},{provide:P2,useValue:{width:"600px",hasBackdrop:!0}},{provide:Wm,useClass:u9},{provide:gx,useClass:Ate},{provide:D2,useValue:Rte}],imports:[pk,QH,H0,fV,Lte,Ote,N2,I9,p_,rz,$Q,F2,o7,mz,JW,kU,Pte,LW,S7,_q]}),t})();Au(At,[Wn,Ot,hm,Cn,ko,Hl,fP],[kt]),Au(mP,[Wn,Fi,Ot,Tp,Wa,kr,Cn,vi,Z0,ko,yu,Hl,_P],[WD,kt]),function _N(){dD=!1}(),B5().bootstrapModule(Fte).catch(t=>console.log(t))},9774:function(le,me,F){var I;!function(v){"use strict";var u,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,M=Math.floor,p="[BigNumber Error] ",y=p+"Number primitive has more than 15 significant digits: ",w=1e14,x=14,S=9007199254740991,C=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],L=1e7,A=1e9;function H(ee){var ne=0|ee;return ee>0||ee===ne?ne:ne-1}function K(ee){for(var ne,oe,ae=1,J=ee.length,Te=ee[0]+"";aeet^oe?1:-1;for(Ae=(Ne=J.length)<(et=Te.length)?Ne:et,ke=0;keTe[ke]^oe?1:-1;return Ne==et?0:Ne>et^oe?1:-1}function ve(ee,ne,oe,ae){if(eeoe||ee!==(ee<0?h(ee):M(ee)))throw Error(p+(ae||"Argument")+("number"==typeof ee?eeoe?" out of range: ":" not an integer: ":" not a primitive number: ")+ee)}function Z(ee){return"[object Array]"==Object.prototype.toString.call(ee)}function Q(ee){var ne=ee.c.length-1;return H(ee.e/x)==ne&&ee.c[ne]%2!=0}function ce(ee,ne){return(ee.length>1?ee.charAt(0)+"."+ee.slice(1):ee)+(ne<0?"e":"e+")+ne}function q(ee,ne,oe){var ae,J;if(ne<0){for(J=oe+".";++ne;J+=oe);ee=J+ee}else if(++ne>(ae=ee.length)){for(J=oe,ne-=ae;--ne;J+=oe);ee+=J}else ne=10;be/=10,_e++);return Ee.e=_e,void(Ee.c=[z])}we=z+""}else{if(!f.test(we=z+""))return ae(Ee,we,fe);Ee.s=45==we.charCodeAt(0)?(we=we.slice(1),-1):1}(_e=we.indexOf("."))>-1&&(we=we.replace(".","")),(be=we.search(/e/i))>0?(_e<0&&(_e=be),_e+=+we.slice(be+1),we=we.substring(0,be)):_e<0&&(_e=we.length)}else{if(ve(se,2,Sn.length,"Base"),we=z+"",10==se)return Ge(Ee=new je(z instanceof je?z:we),ke+Ee.e+1,Ae);if(fe="number"==typeof z){if(0*z!=0)return ae(Ee,we,fe,se);if(Ee.s=1/z<0?(we=we.slice(1),-1):1,je.DEBUG&&we.replace(/^0\.0*|\./,"").length>15)throw Error(y+z);fe=!1}else Ee.s=45===we.charCodeAt(0)?(we=we.slice(1),-1):1;for(ie=Sn.slice(0,se),_e=be=0,ge=we.length;be_e){_e=ge;continue}}else if(!ue&&(we==we.toUpperCase()&&(we=we.toLowerCase())||we==we.toLowerCase()&&(we=we.toUpperCase()))){ue=!0,be=-1,_e=0;continue}return ae(Ee,z+"",fe,se)}(_e=(we=oe(we,se,10,Ee.s)).indexOf("."))>-1?we=we.replace(".",""):_e=we.length}for(be=0;48===we.charCodeAt(be);be++);for(ge=we.length;48===we.charCodeAt(--ge););if(we=we.slice(be,++ge)){if(ge-=be,fe&&je.DEBUG&&ge>15&&(z>S||z!==M(z)))throw Error(y+Ee.s*z);if((_e=_e-be-1)>rt)Ee.c=Ee.e=null;else if(_efe){if(--se>0)for(ge+=".";se--;ge+="0");}else if((se+=_e-fe)>0)for(_e+1==fe&&(ge+=".");se--;ge+="0");return z.s<0&&ue?"-"+ge:ge}function Kn(z,se){var ie,de,ue=0;for(Z(z[0])&&(z=z[0]),ie=new je(z[0]);++ue=10;ue/=10,de++);return(ie=de+ie*x-1)>rt?z.c=z.e=null:ie=10;fe/=10,ue++);if((_e=se-ue)<0)_e+=x,Ee=(ge=Ze[we=0])/ut[ue-(be=se)-1]%10|0;else if((we=h((_e+1)/x))>=Ze.length){if(!de)break e;for(;Ze.length<=we;Ze.push(0));ge=Ee=0,ue=1,be=(_e%=x)-x+1}else{for(ge=fe=Ze[we],ue=1;fe>=10;fe/=10,ue++);Ee=(be=(_e%=x)-x+ue)<0?0:ge/ut[ue-be-1]%10|0}if(de=de||se<0||null!=Ze[we+1]||(be<0?ge:ge%ut[ue-be-1]),de=ie<4?(Ee||de)&&(0==ie||ie==(z.s<0?3:2)):Ee>5||5==Ee&&(4==ie||de||6==ie&&(_e>0?be>0?ge/ut[ue-be]:0:Ze[we-1])%10&1||ie==(z.s<0?8:7)),se<1||!Ze[0])return Ze.length=0,de?(Ze[0]=ut[(x-(se-=z.e+1)%x)%x],z.e=-se||0):Ze[0]=z.e=0,z;if(0==_e?(Ze.length=we,fe=1,we--):(Ze.length=we+1,fe=ut[x-_e],Ze[we]=be>0?M(ge/ut[ue-be]%ut[be])*fe:0),de)for(;;){if(0==we){for(_e=1,be=Ze[0];be>=10;be/=10,_e++);for(be=Ze[0]+=fe,fe=1;be>=10;be/=10,fe++);_e!=fe&&(z.e++,Ze[0]==w&&(Ze[0]=1));break}if(Ze[we]+=fe,Ze[we]!=w)break;Ze[we--]=0,fe=1}for(_e=Ze.length;0===Ze[--_e];Ze.pop());}z.e>rt?z.c=z.e=null:z.e>>11))>=9e15?(ue=crypto.getRandomValues(new Uint32Array(2)),de[ge]=ue[0],de[ge+1]=ue[1]):(we.push(fe%1e14),ge+=2);ge=be/2}else{if(!crypto.randomBytes)throw Bt=!1,Error(p+"crypto unavailable");for(de=crypto.randomBytes(be*=7);ge=9e15?crypto.randomBytes(7).copy(de,ge):(we.push(fe%1e14),ge+=7);ge=be/7}if(!Bt)for(;ge=10;fe/=10,ge++);geue-1&&(null==fe[be+1]&&(fe[be+1]=0),fe[be+1]+=fe[be]/ue|0,fe[be]%=ue)}return fe.reverse()}return function(ie,de,ue,_e,be){var fe,ge,we,Ee,Ze,ut,dt,tt,Yt=ie.indexOf("."),wn=ke,Rt=Ae;for(Yt>=0&&(Ee=Rn,Rn=0,ie=ie.replace(".",""),ut=(tt=new je(de)).pow(ie.length-Yt),Rn=Ee,tt.c=se(q(K(ut.c),ut.e,"0"),10,ue,z),tt.e=tt.c.length),we=Ee=(dt=se(ie,de,ue,be?(fe=Sn,z):(fe=z,Sn))).length;0==dt[--Ee];dt.pop());if(!dt[0])return fe.charAt(0);if(Yt<0?--we:(ut.c=dt,ut.e=we,ut.s=_e,dt=(ut=ne(ut,tt,wn,Rt,ue)).c,Ze=ut.r,we=ut.e),Yt=dt[ge=we+wn+1],Ee=ue/2,Ze=Ze||ge<0||null!=dt[ge+1],Ze=Rt<4?(null!=Yt||Ze)&&(0==Rt||Rt==(ut.s<0?3:2)):Yt>Ee||Yt==Ee&&(4==Rt||Ze||6==Rt&&1&dt[ge-1]||Rt==(ut.s<0?8:7)),ge<1||!dt[0])ie=Ze?q(fe.charAt(1),-wn,fe.charAt(0)):fe.charAt(0);else{if(dt.length=ge,Ze)for(--ue;++dt[--ge]>ue;)dt[ge]=0,ge||(++we,dt=[1].concat(dt));for(Ee=dt.length;!dt[--Ee];);for(Yt=0,ie="";Yt<=Ee;ie+=fe.charAt(dt[Yt++]));ie=q(ie,we,fe.charAt(0))}return ie}}(),ne=function(){function z(de,ue,_e){var be,fe,ge,we,Ee=0,Ze=de.length,ut=ue%L,dt=ue/L|0;for(de=de.slice();Ze--;)Ee=((fe=ut*(ge=de[Ze]%L)+(be=dt*ge+(we=de[Ze]/L|0)*ut)%L*L+Ee)/_e|0)+(be/L|0)+dt*we,de[Ze]=fe%_e;return Ee&&(de=[Ee].concat(de)),de}function se(de,ue,_e,be){var fe,ge;if(_e!=be)ge=_e>be?1:-1;else for(fe=ge=0;fe<_e;fe++)if(de[fe]!=ue[fe]){ge=de[fe]>ue[fe]?1:-1;break}return ge}function ie(de,ue,_e,be){for(var fe=0;_e--;)de[_e]-=fe,de[_e]=(fe=de[_e]1;de.splice(0,1));}return function(de,ue,_e,be,fe){var ge,we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn,ti,Ss,Fs,yi,Zt,fi=de.s==ue.s?1:-1,ni=de.c,mn=ue.c;if(!(ni&&ni[0]&&mn&&mn[0]))return new je(de.s&&ue.s&&(ni?!mn||ni[0]!=mn[0]:mn)?ni&&0==ni[0]||!mn?0*fi:fi/0:NaN);for(wn=(Yt=new je(fi)).c=[],fi=_e+(we=de.e-ue.e)+1,fe||(fe=w,we=H(de.e/x)-H(ue.e/x),fi=fi/x|0),Ee=0;mn[Ee]==(ni[Ee]||0);Ee++);if(mn[Ee]>(ni[Ee]||0)&&we--,fi<0)wn.push(1),Ze=!0;else{for(Ss=ni.length,yi=mn.length,Ee=0,fi+=2,(ut=M(fe/(mn[0]+1)))>1&&(mn=z(mn,ut,fe),ni=z(ni,ut,fe),yi=mn.length,Ss=ni.length),ti=yi,Gt=(Rt=ni.slice(0,yi)).length;Gt=fe/2&&Fs++;do{if(ut=0,(ge=se(mn,Rt,yi,Gt))<0){if(Dn=Rt[0],yi!=Gt&&(Dn=Dn*fe+(Rt[1]||0)),(ut=M(Dn/Fs))>1)for(ut>=fe&&(ut=fe-1),tt=(dt=z(mn,ut,fe)).length,Gt=Rt.length;1==se(dt,Rt,tt,Gt);)ut--,ie(dt,yi=10;fi/=10,Ee++);Ge(Yt,_e+(Yt.e=Ee+we*x-1)+1,be,Ze)}else Yt.e=we,Yt.r=+Ze;return Yt}}(),ae=function(){var z=/^(-?)0([xbo])(?=\w[\w.]*$)/i,se=/^([^.]+)\.$/,ie=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,ue=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(_e,be,fe,ge){var we,Ee=fe?be:be.replace(ue,"");if(de.test(Ee))_e.s=isNaN(Ee)?null:Ee<0?-1:1,_e.c=_e.e=null;else{if(!fe&&(Ee=Ee.replace(z,function(Ze,ut,dt){return we="x"==(dt=dt.toLowerCase())?16:"b"==dt?2:8,ge&&ge!=we?Ze:ut}),ge&&(we=ge,Ee=Ee.replace(se,"$1").replace(ie,"0.$1")),be!=Ee))return new je(Ee,we);if(je.DEBUG)throw Error(p+"Not a"+(ge?" base "+ge:"")+" number: "+be);_e.c=_e.e=_e.s=null}}}(),J.absoluteValue=J.abs=function(){var z=new je(this);return z.s<0&&(z.s=1),z},J.comparedTo=function(z,se){return re(this,new je(z,se))},J.decimalPlaces=J.dp=function(z,se){var ie,de,ue;if(null!=z)return ve(z,0,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z+this.e+1,se);if(!(ie=this.c))return null;if(de=((ue=ie.length-1)-H(this.e/x))*x,ue=ie[ue])for(;ue%10==0;ue/=10,de--);return de<0&&(de=0),de},J.dividedBy=J.div=function(z,se){return ne(this,new je(z,se),ke,Ae)},J.dividedToIntegerBy=J.idiv=function(z,se){return ne(this,new je(z,se),0,1)},J.exponentiatedBy=J.pow=function(z,se){var ie,de,ue,be,fe,ge,we,Ee=this;if((z=new je(z)).c&&!z.isInteger())throw Error(p+"Exponent not an integer: "+z);if(null!=se&&(se=new je(se)),be=z.e>14,!Ee.c||!Ee.c[0]||1==Ee.c[0]&&!Ee.e&&1==Ee.c.length||!z.c||!z.c[0])return we=new je(Math.pow(+Ee.valueOf(),be?2-Q(z):+z)),se?we.mod(se):we;if(fe=z.s<0,se){if(se.c?!se.c[0]:!se.s)return new je(NaN);(de=!fe&&Ee.isInteger()&&se.isInteger())&&(Ee=Ee.mod(se))}else{if(z.e>9&&(Ee.e>0||Ee.e<-1||(0==Ee.e?Ee.c[0]>1||be&&Ee.c[1]>=24e7:Ee.c[0]<8e13||be&&Ee.c[0]<=9999975e7)))return ue=Ee.s<0&&Q(z)?-0:0,Ee.e>-1&&(ue=1/ue),new je(fe?1/ue:ue);Rn&&(ue=h(Rn/x+2))}for(be?(ie=new je(.5),ge=Q(z)):ge=z%2,fe&&(z.s=1),we=new je(Te);;){if(ge){if(!(we=we.times(Ee)).c)break;ue?we.c.length>ue&&(we.c.length=ue):de&&(we=we.mod(se))}if(be){if(Ge(z=z.times(ie),z.e+1,1),!z.c[0])break;be=z.e>14,ge=Q(z)}else{if(!(z=M(z/2)))break;ge=z%2}Ee=Ee.times(Ee),ue?Ee.c&&Ee.c.length>ue&&(Ee.c.length=ue):de&&(Ee=Ee.mod(se))}return de?we:(fe&&(we=Te.div(we)),se?we.mod(se):ue?Ge(we,Rn,Ae,void 0):we)},J.integerValue=function(z){var se=new je(this);return null==z?z=Ae:ve(z,0,8),Ge(se,se.e+1,z)},J.isEqualTo=J.eq=function(z,se){return 0===re(this,new je(z,se))},J.isFinite=function(){return!!this.c},J.isGreaterThan=J.gt=function(z,se){return re(this,new je(z,se))>0},J.isGreaterThanOrEqualTo=J.gte=function(z,se){return 1===(se=re(this,new je(z,se)))||0===se},J.isInteger=function(){return!!this.c&&H(this.e/x)>this.c.length-2},J.isLessThan=J.lt=function(z,se){return re(this,new je(z,se))<0},J.isLessThanOrEqualTo=J.lte=function(z,se){return-1===(se=re(this,new je(z,se)))||0===se},J.isNaN=function(){return!this.s},J.isNegative=function(){return this.s<0},J.isPositive=function(){return this.s>0},J.isZero=function(){return!!this.c&&0==this.c[0]},J.minus=function(z,se){var ie,de,ue,_e,be=this,fe=be.s;if(se=(z=new je(z,se)).s,!fe||!se)return new je(NaN);if(fe!=se)return z.s=-se,be.plus(z);var ge=be.e/x,we=z.e/x,Ee=be.c,Ze=z.c;if(!ge||!we){if(!Ee||!Ze)return Ee?(z.s=-se,z):new je(Ze?be:NaN);if(!Ee[0]||!Ze[0])return Ze[0]?(z.s=-se,z):new je(Ee[0]?be:3==Ae?-0:0)}if(ge=H(ge),we=H(we),Ee=Ee.slice(),fe=ge-we){for((_e=fe<0)?(fe=-fe,ue=Ee):(we=ge,ue=Ze),ue.reverse(),se=fe;se--;ue.push(0));ue.reverse()}else for(de=(_e=(fe=Ee.length)<(se=Ze.length))?fe:se,fe=se=0;se0)for(;se--;Ee[ie++]=0);for(se=w-1;de>fe;){if(Ee[--de]=0;){for(ie=0,ut=Dn[ue]%wn,dt=Dn[ue]/wn|0,_e=ue+(be=ge);_e>ue;)ie=((we=ut*(we=Gt[--be]%wn)+(fe=dt*we+(Ee=Gt[be]/wn|0)*ut)%wn*wn+tt[_e]+ie)/Yt|0)+(fe/wn|0)+dt*Ee,tt[_e--]=we%Yt;tt[_e]=ie}return ie?++de:tt.splice(0,1),Xe(z,tt,de)},J.negated=function(){var z=new je(this);return z.s=-z.s||null,z},J.plus=function(z,se){var ie,de=this,ue=de.s;if(se=(z=new je(z,se)).s,!ue||!se)return new je(NaN);if(ue!=se)return z.s=-se,de.minus(z);var _e=de.e/x,be=z.e/x,fe=de.c,ge=z.c;if(!_e||!be){if(!fe||!ge)return new je(ue/0);if(!fe[0]||!ge[0])return ge[0]?z:new je(fe[0]?de:0*ue)}if(_e=H(_e),be=H(be),fe=fe.slice(),ue=_e-be){for(ue>0?(be=_e,ie=ge):(ue=-ue,ie=fe),ie.reverse();ue--;ie.push(0));ie.reverse()}for((ue=fe.length)-(se=ge.length)<0&&(ie=ge,ge=fe,fe=ie,se=ue),ue=0;se;)ue=(fe[--se]=fe[se]+ge[se]+ue)/w|0,fe[se]=w===fe[se]?0:fe[se]%w;return ue&&(fe=[ue].concat(fe),++be),Xe(z,fe,be)},J.precision=J.sd=function(z,se){var ie,de,ue;if(null!=z&&z!==!!z)return ve(z,1,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z,se);if(!(ie=this.c))return null;if(de=(ue=ie.length-1)*x+1,ue=ie[ue]){for(;ue%10==0;ue/=10,de--);for(ue=ie[0];ue>=10;ue/=10,de++);}return z&&this.e+1>de&&(de=this.e+1),de},J.shiftedBy=function(z){return ve(z,-S,S),this.times("1e"+z)},J.squareRoot=J.sqrt=function(){var z,se,ie,de,ue,_e=this,be=_e.c,fe=_e.s,ge=_e.e,we=ke+4,Ee=new je("0.5");if(1!==fe||!be||!be[0])return new je(!fe||fe<0&&(!be||be[0])?NaN:be?_e:1/0);if(0==(fe=Math.sqrt(+_e))||fe==1/0?(((se=K(be)).length+ge)%2==0&&(se+="0"),fe=Math.sqrt(se),ge=H((ge+1)/2)-(ge<0||ge%2),ie=new je(se=fe==1/0?"1e"+ge:(se=fe.toExponential()).slice(0,se.indexOf("e")+1)+ge)):ie=new je(fe+""),ie.c[0])for((fe=(ge=ie.e)+we)<3&&(fe=0);;)if(ie=Ee.times((ue=ie).plus(ne(_e,ue,we,1))),K(ue.c).slice(0,fe)===(se=K(ie.c)).slice(0,fe)){if(ie.e0&&ut>0){for(ge=Ze.substr(0,de=ut%_e||_e);de0&&(ge+=fe+Ze.slice(de)),Ee&&(ge="-"+ge)}ie=we?ge+Mn.decimalSeparator+((be=+Mn.fractionGroupSize)?we.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+Mn.fractionGroupSeparator):we):ge}return ie},J.toFraction=function(z){var se,ie,de,ue,_e,be,fe,ge,we,Ee,Ze,ut,dt=this,tt=dt.c;if(null!=z&&(!(ge=new je(z)).isInteger()&&(ge.c||1!==ge.s)||ge.lt(Te)))throw Error(p+"Argument "+(ge.isInteger()?"out of range: ":"not an integer: ")+z);if(!tt)return dt.toString();for(ie=new je(Te),Ee=de=new je(Te),ue=we=new je(Te),ut=K(tt),be=ie.e=ut.length-dt.e-1,ie.c[0]=C[(fe=be%x)<0?x+fe:fe],z=!z||ge.comparedTo(ie)>0?be>0?ie:Ee:ge,fe=rt,rt=1/0,ge=new je(ut),we.c[0]=0;Ze=ne(ge,ie,0,1),1!=(_e=de.plus(Ze.times(ue))).comparedTo(z);)de=ue,ue=_e,Ee=we.plus(Ze.times(_e=Ee)),we=_e,ie=ge.minus(Ze.times(_e=ie)),ge=_e;return _e=ne(z.minus(de),ue,0,1),we=we.plus(_e.times(Ee)),de=de.plus(_e.times(ue)),we.s=Ee.s=dt.s,se=ne(Ee,ue,be*=2,Ae).minus(dt).abs().comparedTo(ne(we,de,be,Ae).minus(dt).abs())<1?[Ee.toString(),ue.toString()]:[we.toString(),de.toString()],rt=fe,se},J.toNumber=function(){return+this},J.toPrecision=function(z,se){return null!=z&&ve(z,1,A),jn(this,z,se,2)},J.toString=function(z){var se,de=this.s,ue=this.e;return null===ue?de?(se="Infinity",de<0&&(se="-"+se)):se="NaN":(se=K(this.c),null==z?se=ue<=Ne||ue>=et?ce(se,ue):q(se,ue,"0"):(ve(z,2,Sn.length,"Base"),se=oe(q(se,ue,"0"),10,z,de,!0)),de<0&&this.c[0]&&(se="-"+se)),se},J.valueOf=J.toJSON=function(){var z,ie=this.e;return null===ie?this.toString():(z=K(this.c),z=ie<=Ne||ie>=et?ce(z,ie):q(z,ie,"0"),this.s<0?"-"+z:z)},J._isBigNumber=!0,null!=ee&&je.set(ee),je}(),u.default=u.BigNumber=u,void 0!==(I=function(){return u}.call(me,F,me,le))&&(le.exports=I)}()},6149:(le,me,F)=>{var I=F(5979)();I.helpers=F(3305),F(3533)(I),I.defaults=F(9800),I.Element=F(8839),I.elements=F(9931),I.Interaction=F(2814),I.layouts=F(2294),I.platform=F(8244),I.plugins=F(2445),I.Ticks=F(8347),F(8103)(I),F(1047)(I),F(7897)(I),F(5464)(I),F(6308)(I),F(480)(I),F(8351)(I),F(4977)(I),F(1704)(I),F(1486)(I),F(8726)(I),F(4215)(I),F(2690)(I),F(4033)(I),F(787)(I),F(6769)(I),F(6580)(I),F(4657)(I),F(1895)(I),F(6038)(I),F(2898)(I),F(3414)(I),F(6667)(I),F(402)(I),F(846)(I),F(9377)(I);var v=F(6747);for(var u in v)v.hasOwnProperty(u)&&I.plugins.register(v[u]);I.platform.initialize(),le.exports=I,typeof window<"u"&&(window.Chart=I),I.Legend=v.legend._element,I.Title=v.title._element,I.pluginService=I.plugins,I.PluginBase=I.Element.extend({}),I.canvasHelpers=I.helpers.canvas,I.layoutService=I.layouts},6038:le=>{"use strict";le.exports=function(me){me.Bar=function(F,I){return I.type="bar",new me(F,I)}}},2898:le=>{"use strict";le.exports=function(me){me.Bubble=function(F,I){return I.type="bubble",new me(F,I)}}},3414:le=>{"use strict";le.exports=function(me){me.Doughnut=function(F,I){return I.type="doughnut",new me(F,I)}}},6667:le=>{"use strict";le.exports=function(me){me.Line=function(F,I){return I.type="line",new me(F,I)}}},402:le=>{"use strict";le.exports=function(me){me.PolarArea=function(F,I){return I.type="polarArea",new me(F,I)}}},846:le=>{"use strict";le.exports=function(me){me.Radar=function(F,I){return I.type="radar",new me(F,I)}}},9377:le=>{"use strict";le.exports=function(me){me.Scatter=function(F,I){return I.type="scatter",new me(F,I)}}},2690:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),I._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(p,y){var w="";return p.length>0&&(p[0].yLabel?w=p[0].yLabel:y.labels.length>0&&p[0].index0?Math.min(w,C-S):w,S=C;return w}(w,j):-1,{min:re,pixels:j,start:L,end:A,stackCount:x,scale:w}},calculateBarValuePixels:function(y,w){var ve,Z,Q,ce,q,ee,x=this,S=x.chart,C=x.getMeta(),L=x.getValueScale(),A=S.data.datasets,j=L.getRightValue(A[y].data[w]),H=L.options.stacked,K=C.stack,re=0;if(H||void 0===H&&void 0!==K)for(ve=0;ve=0&&Q>0)&&(re+=Q));return ce=L.getPixelForValue(re),{size:ee=((q=L.getPixelForValue(re+j))-ce)/2,base:ce,head:q,center:q+ee/2}},calculateBarIndexPixels:function(y,w,x){var C=x.scale.options,L="flex"===C.barThickness?function M(p,y,w){var x=y.pixels,S=x[p],C=p>0?x[p-1]:null,L=p{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(f,h){return(h.datasets[f.datasetIndex].label||"")+": ("+f.xLabel+", "+f.yLabel+", "+h.datasets[f.datasetIndex].data[f.index].r+")"}}}}),le.exports=function(f){f.controllers.bubble=f.DatasetController.extend({dataElementType:v.Point,update:function(h){var M=this,p=M.getMeta();u.each(p.data,function(w,x){M.updateElement(w,x,h)})},updateElement:function(h,M,p){var y=this,w=y.getMeta(),x=h.custom||{},S=y.getScaleForId(w.xAxisID),C=y.getScaleForId(w.yAxisID),L=y._resolveElementOptions(h,M),A=y.getDataset().data[M],j=y.index,H=p?S.getPixelForDecimal(.5):S.getPixelForValue("object"==typeof A?A:NaN,M,j),K=p?C.getBasePixel():C.getPixelForValue(A,M,j);h._xScale=S,h._yScale=C,h._options=L,h._datasetIndex=j,h._index=M,h._model={backgroundColor:L.backgroundColor,borderColor:L.borderColor,borderWidth:L.borderWidth,hitRadius:L.hitRadius,pointStyle:L.pointStyle,radius:p?0:L.radius,skip:x.skip||isNaN(H)||isNaN(K),x:H,y:K},h.pivot()},setHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=u.valueOrDefault(p.hoverBackgroundColor,u.getHoverColor(p.backgroundColor)),M.borderColor=u.valueOrDefault(p.hoverBorderColor,u.getHoverColor(p.borderColor)),M.borderWidth=u.valueOrDefault(p.hoverBorderWidth,p.borderWidth),M.radius=p.radius+p.hoverRadius},removeHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=p.backgroundColor,M.borderColor=p.borderColor,M.borderWidth=p.borderWidth,M.radius=p.radius},_resolveElementOptions:function(h,M){var H,K,re,p=this,y=p.chart,x=y.data.datasets[p.index],S=h.custom||{},C=y.options.elements.point,L=u.options.resolve,A=x.data[M],j={},ve={chart:y,dataIndex:M,dataset:x,datasetIndex:p.index},Z=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(H=0,K=Z.length;H{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],x=y.data[p],S=x&&x.custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y=Math.PI?-1:re<-Math.PI?1:0))+K,Z={x:Math.cos(re),y:Math.sin(re)},Q={x:Math.cos(ve),y:Math.sin(ve)},ce=re<=0&&ve>=0||re<=2*Math.PI&&2*Math.PI<=ve,q=re<=.5*Math.PI&&.5*Math.PI<=ve||re<=2.5*Math.PI&&2.5*Math.PI<=ve,ee=re<=-Math.PI&&-Math.PI<=ve||re<=Math.PI&&Math.PI<=ve,ne=re<=.5*-Math.PI&&.5*-Math.PI<=ve||re<=1.5*Math.PI&&1.5*Math.PI<=ve,oe=H/100,ae={x:ee?-1:Math.min(Z.x*(Z.x<0?1:oe),Q.x*(Q.x<0?1:oe)),y:ne?-1:Math.min(Z.y*(Z.y<0?1:oe),Q.y*(Q.y<0?1:oe))},J={x:ce?1:Math.max(Z.x*(Z.x>0?1:oe),Q.x*(Q.x>0?1:oe)),y:q?1:Math.max(Z.y*(Z.y>0?1:oe),Q.y*(Q.y>0?1:oe))},Te={width:.5*(J.x-ae.x),height:.5*(J.y-ae.y)};L=Math.min(S/Te.width,C/Te.height),A={x:-.5*(J.x+ae.x),y:-.5*(J.y+ae.y)}}p.borderWidth=M.getMaxBorderWidth(j.data),p.outerRadius=Math.max((L-p.borderWidth)/2,0),p.innerRadius=Math.max(H?p.outerRadius/100*H:0,0),p.radiusLength=(p.outerRadius-p.innerRadius)/p.getVisibleDatasetCount(),p.offsetX=A.x*p.outerRadius,p.offsetY=A.y*p.outerRadius,j.total=M.calculateTotal(),M.outerRadius=p.outerRadius-p.radiusLength*M.getRingIndex(M.index),M.innerRadius=Math.max(M.outerRadius-p.radiusLength,0),u.each(j.data,function(ke,Ae){M.updateElement(ke,Ae,h)})},updateElement:function(h,M,p){var y=this,w=y.chart,x=w.chartArea,S=w.options,C=S.animation,L=(x.left+x.right)/2,A=(x.top+x.bottom)/2,j=S.rotation,H=S.rotation,K=y.getDataset(),re=p&&C.animateRotate||h.hidden?0:y.calculateCircumference(K.data[M])*(S.circumference/(2*Math.PI));u.extend(h,{_datasetIndex:y.index,_index:M,_model:{x:L+w.offsetX,y:A+w.offsetY,startAngle:j,endAngle:H,circumference:re,outerRadius:p&&C.animateScale?0:y.outerRadius,innerRadius:p&&C.animateScale?0:y.innerRadius,label:(0,u.valueAtIndexOrDefault)(K.label,M,w.data.labels[M])}});var ce=h._model;this.removeHoverStyle(h),(!p||!C.animateRotate)&&(ce.startAngle=0===M?S.rotation:y.getMeta().data[M-1]._model.endAngle,ce.endAngle=ce.startAngle+ce.circumference),h.pivot()},removeHoverStyle:function(h){f.DatasetController.prototype.removeHoverStyle.call(this,h,this.chart.options.elements.arc)},calculateTotal:function(){var y,h=this.getDataset(),M=this.getMeta(),p=0;return u.each(M.data,function(w,x){y=h.data[x],!isNaN(y)&&!w.hidden&&(p+=Math.abs(y))}),p},calculateCircumference:function(h){var M=this.getMeta().total;return M>0&&!isNaN(h)?2*Math.PI*(Math.abs(h)/M):0},getMaxBorderWidth:function(h){for(var w,x,M=0,p=this.index,y=h.length,S=0;S(M=(w=h[S]._model?h[S]._model.borderWidth:0)>M?w:M)?x:M;return M}})}},6769:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),le.exports=function(f){function h(M,p){return u.valueOrDefault(M.showLine,p.showLines)}f.controllers.line=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,update:function(M){var A,j,H,p=this,y=p.getMeta(),w=y.dataset,x=y.data||[],S=p.chart.options,C=S.elements.line,L=p.getScaleForId(y.yAxisID),K=p.getDataset(),re=h(K,S);for(re&&(H=w.custom||{},void 0!==K.tension&&void 0===K.lineTension&&(K.lineTension=K.tension),w._scale=L,w._datasetIndex=p.index,w._children=x,w._model={spanGaps:K.spanGaps?K.spanGaps:S.spanGaps,tension:H.tension?H.tension:u.valueOrDefault(K.lineTension,C.tension),backgroundColor:H.backgroundColor?H.backgroundColor:K.backgroundColor||C.backgroundColor,borderWidth:H.borderWidth?H.borderWidth:K.borderWidth||C.borderWidth,borderColor:H.borderColor?H.borderColor:K.borderColor||C.borderColor,borderCapStyle:H.borderCapStyle?H.borderCapStyle:K.borderCapStyle||C.borderCapStyle,borderDash:H.borderDash?H.borderDash:K.borderDash||C.borderDash,borderDashOffset:H.borderDashOffset?H.borderDashOffset:K.borderDashOffset||C.borderDashOffset,borderJoinStyle:H.borderJoinStyle?H.borderJoinStyle:K.borderJoinStyle||C.borderJoinStyle,fill:H.fill?H.fill:void 0!==K.fill?K.fill:C.fill,steppedLine:H.steppedLine?H.steppedLine:u.valueOrDefault(K.steppedLine,C.stepped),cubicInterpolationMode:H.cubicInterpolationMode?H.cubicInterpolationMode:u.valueOrDefault(K.cubicInterpolationMode,C.cubicInterpolationMode)},w.pivot()),A=0,j=x.length;A{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],S=y.data[p].custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y0&&!isNaN(h)?2*Math.PI/M:0}})}},4657:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),le.exports=function(f){f.controllers.radar=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:u.noop,update:function(h){var M=this,p=M.getMeta(),w=p.data,x=p.dataset.custom||{},S=M.getDataset(),C=M.chart.options.elements.line,L=M.chart.scale;void 0!==S.tension&&void 0===S.lineTension&&(S.lineTension=S.tension),u.extend(p.dataset,{_datasetIndex:M.index,_scale:L,_children:w,_loop:!0,_model:{tension:x.tension?x.tension:u.valueOrDefault(S.lineTension,C.tension),backgroundColor:x.backgroundColor?x.backgroundColor:S.backgroundColor||C.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:S.borderWidth||C.borderWidth,borderColor:x.borderColor?x.borderColor:S.borderColor||C.borderColor,fill:x.fill?x.fill:void 0!==S.fill?S.fill:C.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:S.borderCapStyle||C.borderCapStyle,borderDash:x.borderDash?x.borderDash:S.borderDash||C.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:S.borderDashOffset||C.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:S.borderJoinStyle||C.borderJoinStyle}}),p.dataset.pivot(),u.each(w,function(A,j){M.updateElement(A,j,h)},M),M.updateBezierControlPoints()},updateElement:function(h,M,p){var y=this,w=h.custom||{},x=y.getDataset(),S=y.chart.scale,C=y.chart.options.elements.point,L=S.getPointPositionForValue(M,x.data[M]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),u.extend(h,{_datasetIndex:y.index,_index:M,_scale:S,_model:{x:p?S.xCenter:L.x,y:p?S.yCenter:L.y,tension:w.tension?w.tension:u.valueOrDefault(x.lineTension,y.chart.options.elements.line.tension),radius:w.radius?w.radius:u.valueAtIndexOrDefault(x.pointRadius,M,C.radius),backgroundColor:w.backgroundColor?w.backgroundColor:u.valueAtIndexOrDefault(x.pointBackgroundColor,M,C.backgroundColor),borderColor:w.borderColor?w.borderColor:u.valueAtIndexOrDefault(x.pointBorderColor,M,C.borderColor),borderWidth:w.borderWidth?w.borderWidth:u.valueAtIndexOrDefault(x.pointBorderWidth,M,C.borderWidth),pointStyle:w.pointStyle?w.pointStyle:u.valueAtIndexOrDefault(x.pointStyle,M,C.pointStyle),hitRadius:w.hitRadius?w.hitRadius:u.valueAtIndexOrDefault(x.pointHitRadius,M,C.hitRadius)}}),h._model.skip=w.skip?w.skip:isNaN(h._model.x)||isNaN(h._model.y)},updateBezierControlPoints:function(){var h=this.chart.chartArea,M=this.getMeta();u.each(M.data,function(p,y){var w=p._model,x=u.splineCurve(u.previousItem(M.data,y,!0)._model,w,u.nextItem(M.data,y,!0)._model,w.tension);w.controlPointPreviousX=Math.max(Math.min(x.previous.x,h.right),h.left),w.controlPointPreviousY=Math.max(Math.min(x.previous.y,h.bottom),h.top),w.controlPointNextX=Math.max(Math.min(x.next.x,h.right),h.left),w.controlPointNextY=Math.max(Math.min(x.next.y,h.bottom),h.top),p.pivot()})},setHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model;w.radius=p.hoverRadius?p.hoverRadius:u.valueAtIndexOrDefault(M.pointHoverRadius,y,this.chart.options.elements.point.hoverRadius),w.backgroundColor=p.hoverBackgroundColor?p.hoverBackgroundColor:u.valueAtIndexOrDefault(M.pointHoverBackgroundColor,y,u.getHoverColor(w.backgroundColor)),w.borderColor=p.hoverBorderColor?p.hoverBorderColor:u.valueAtIndexOrDefault(M.pointHoverBorderColor,y,u.getHoverColor(w.borderColor)),w.borderWidth=p.hoverBorderWidth?p.hoverBorderWidth:u.valueAtIndexOrDefault(M.pointHoverBorderWidth,y,w.borderWidth)},removeHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model,x=this.chart.options.elements.point;w.radius=p.radius?p.radius:u.valueAtIndexOrDefault(M.pointRadius,y,x.radius),w.backgroundColor=p.backgroundColor?p.backgroundColor:u.valueAtIndexOrDefault(M.pointBackgroundColor,y,x.backgroundColor),w.borderColor=p.borderColor?p.borderColor:u.valueAtIndexOrDefault(M.pointBorderColor,y,x.borderColor),w.borderWidth=p.borderWidth?p.borderWidth:u.valueAtIndexOrDefault(M.pointBorderWidth,y,x.borderWidth)}})}},1895:(le,me,F)=>{"use strict";F(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(v){return"("+v.xLabel+", "+v.yLabel+")"}}}}),le.exports=function(v){v.controllers.scatter=v.controllers.line}},8103:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:u.noop,onComplete:u.noop}}),le.exports=function(f){f.Animation=v.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),f.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(h,M,p,y){var x,S,w=this.animations;for(M.chart=h,y||(h.animating=!0),x=0,S=w.length;x1&&(p=Math.floor(h.dropFrames),h.dropFrames=h.dropFrames%1),h.advance(1+p);var y=Date.now();h.dropFrames+=(y-M)/h.frameDuration,h.animations.length>0&&h.requestAnimationFrame()},advance:function(h){for(var p,y,M=this.animations,w=0;w=p.numSteps?(u.callback(p.onAnimationComplete,[p],y),y.animating=!1,M.splice(w,1)):++w}},Object.defineProperty(f.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(f.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}})}},1047:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(2814),f=F(2294),h=F(8244),M=F(2445);le.exports=function(p){function w(S){var C=S.options;v.each(S.scales,function(L){f.removeBox(S,L)}),C=v.configMerge(p.defaults.global,p.defaults[S.config.type],C),S.options=S.config.options=C,S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.tooltip._options=C.tooltips,S.tooltip.initialize()}function x(S){return"top"===S||"bottom"===S}p.types={},p.instances={},p.controllers={},v.extend(p.prototype,{construct:function(S,C){var L=this;C=function y(S){var C=(S=S||{}).data=S.data||{};return C.datasets=C.datasets||[],C.labels=C.labels||[],S.options=v.configMerge(I.global,I[S.type],S.options||{}),S}(C);var A=h.acquireContext(S,C),j=A&&A.canvas,H=j&&j.height,K=j&&j.width;L.id=v.uid(),L.ctx=A,L.canvas=j,L.config=C,L.width=K,L.height=H,L.aspectRatio=H?K/H:null,L.options=C.options,L._bufferedRender=!1,L.chart=L,L.controller=L,p.instances[L.id]=L,Object.defineProperty(L,"data",{get:function(){return L.config.data},set:function(re){L.config.data=re}}),A&&j?(L.initialize(),L.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var S=this;return M.notify(S,"beforeInit"),v.retinaScale(S,S.options.devicePixelRatio),S.bindEvents(),S.options.responsive&&S.resize(!0),S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.initToolTip(),M.notify(S,"afterInit"),S},clear:function(){return v.canvas.clear(this),this},stop:function(){return p.animationService.cancelAnimation(this),this},resize:function(S){var C=this,L=C.options,A=C.canvas,j=L.maintainAspectRatio&&C.aspectRatio||null,H=Math.max(0,Math.floor(v.getMaximumWidth(A))),K=Math.max(0,Math.floor(j?H/j:v.getMaximumHeight(A)));if((C.width!==H||C.height!==K)&&(A.width=C.width=H,A.height=C.height=K,A.style.width=H+"px",A.style.height=K+"px",v.retinaScale(C,L.devicePixelRatio),!S)){var re={width:H,height:K};M.notify(C,"resize",[re]),C.options.onResize&&C.options.onResize(C,re),C.stop(),C.update(C.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var S=this.options,C=S.scales||{},L=S.scale;v.each(C.xAxes,function(A,j){A.id=A.id||"x-axis-"+j}),v.each(C.yAxes,function(A,j){A.id=A.id||"y-axis-"+j}),L&&(L.id=L.id||"scale")},buildOrUpdateScales:function(){var S=this,C=S.options,L=S.scales||{},A=[],j=Object.keys(L).reduce(function(H,K){return H[K]=!1,H},{});C.scales&&(A=A.concat((C.scales.xAxes||[]).map(function(H){return{options:H,dtype:"category",dposition:"bottom"}}),(C.scales.yAxes||[]).map(function(H){return{options:H,dtype:"linear",dposition:"left"}}))),C.scale&&A.push({options:C.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),v.each(A,function(H){var K=H.options,re=K.id,ve=v.valueOrDefault(K.type,H.dtype);x(K.position)!==x(H.dposition)&&(K.position=H.dposition),j[re]=!0;var Z=null;if(re in L&&L[re].type===ve)(Z=L[re]).options=K,Z.ctx=S.ctx,Z.chart=S;else{var Q=p.scaleService.getScaleConstructor(ve);if(!Q)return;Z=new Q({id:re,type:ve,options:K,ctx:S.ctx,chart:S}),L[Z.id]=Z}Z.mergeTicksOptions(),H.isDefault&&(S.scale=Z)}),v.each(j,function(H,K){H||delete L[K]}),S.scales=L,p.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var S=this,C=[],L=[];return v.each(S.data.datasets,function(A,j){var H=S.getDatasetMeta(j),K=A.type||S.config.type;if(H.type&&H.type!==K&&(S.destroyDatasetMeta(j),H=S.getDatasetMeta(j)),H.type=K,C.push(H.type),H.controller)H.controller.updateIndex(j),H.controller.linkScales();else{var re=p.controllers[H.type];if(void 0===re)throw new Error('"'+H.type+'" is not a chart type.');H.controller=new re(S,j),L.push(H.controller)}},S),L},resetElements:function(){var S=this;v.each(S.data.datasets,function(C,L){S.getDatasetMeta(L).controller.reset()},S)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(S){var C=this;if((!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]}),w(C),M._invalidate(C),!1!==M.notify(C,"beforeUpdate")){C.tooltip._data=C.data;var L=C.buildOrUpdateControllers();v.each(C.data.datasets,function(A,j){C.getDatasetMeta(j).controller.buildOrUpdateElements()},C),C.updateLayout(),C.options.animation&&C.options.animation.duration&&v.each(L,function(A){A.reset()}),C.updateDatasets(),C.tooltip.initialize(),C.lastActive=[],M.notify(C,"afterUpdate"),C._bufferedRender?C._bufferedRequest={duration:S.duration,easing:S.easing,lazy:S.lazy}:C.render(S)}},updateLayout:function(){var S=this;!1!==M.notify(S,"beforeLayout")&&(f.update(this,this.width,this.height),M.notify(S,"afterScaleUpdate"),M.notify(S,"afterLayout"))},updateDatasets:function(){var S=this;if(!1!==M.notify(S,"beforeDatasetsUpdate")){for(var C=0,L=S.data.datasets.length;C"u"&&0!==j.duration)){var K=new p.Animation({numSteps:(L||j.duration)/16.66,easing:S.easing||j.easing,render:function(re,ve){var Q=ve.currentStep,ce=Q/ve.numSteps;re.draw((0,v.easing.effects[ve.easing])(ce),ce,Q)},onAnimationProgress:j.onProgress,onAnimationComplete:H});p.animationService.addAnimation(C,K,L,A)}else C.draw(),H(new p.Animation({numSteps:0,chart:C}));return C}},draw:function(S){var C=this;C.clear(),v.isNullOrUndef(S)&&(S=1),C.transition(S),!1!==M.notify(C,"beforeDraw",[S])&&(v.each(C.boxes,function(L){L.draw(C.chartArea)},C),C.scale&&C.scale.draw(),C.drawDatasets(S),C._drawTooltip(S),M.notify(C,"afterDraw",[S]))},transition:function(S){for(var C=this,L=0,A=(C.data.datasets||[]).length;L=0;--L)C.isDatasetVisible(L)&&C.drawDataset(L,S);M.notify(C,"afterDatasetsDraw",[S])}},drawDataset:function(S,C){var L=this,A=L.getDatasetMeta(S),j={meta:A,index:S,easingValue:C};!1!==M.notify(L,"beforeDatasetDraw",[j])&&(A.controller.draw(C),M.notify(L,"afterDatasetDraw",[j]))},_drawTooltip:function(S){var C=this,L=C.tooltip,A={tooltip:L,easingValue:S};!1!==M.notify(C,"beforeTooltipDraw",[A])&&(L.draw(),M.notify(C,"afterTooltipDraw",[A]))},getElementAtEvent:function(S){return u.modes.single(this,S)},getElementsAtEvent:function(S){return u.modes.label(this,S,{intersect:!0})},getElementsAtXAxis:function(S){return u.modes["x-axis"](this,S,{intersect:!0})},getElementsAtEventForMode:function(S,C,L){var A=u.modes[C];return"function"==typeof A?A(this,S,L):[]},getDatasetAtEvent:function(S){return u.modes.dataset(this,S,{intersect:!0})},getDatasetMeta:function(S){var C=this,L=C.data.datasets[S];L._meta||(L._meta={});var A=L._meta[C.id];return A||(A=L._meta[C.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),A},getVisibleDatasetCount:function(){for(var S=0,C=0,L=this.data.datasets.length;C{"use strict";var I=F(3305);le.exports=function(v){var u=["push","pop","shift","splice","unshift"];function h(M,p){var y=M._chartjs;if(y){var w=y.listeners,x=w.indexOf(p);-1!==x&&w.splice(x,1),!(w.length>0)&&(u.forEach(function(S){delete M[S]}),delete M._chartjs)}}v.DatasetController=function(M,p){this.initialize(M,p)},I.extend(v.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(M,p){var y=this;y.chart=M,y.index=p,y.linkScales(),y.addElements()},updateIndex:function(M){this.index=M},linkScales:function(){var M=this,p=M.getMeta(),y=M.getDataset();(null===p.xAxisID||!(p.xAxisID in M.chart.scales))&&(p.xAxisID=y.xAxisID||M.chart.options.scales.xAxes[0].id),(null===p.yAxisID||!(p.yAxisID in M.chart.scales))&&(p.yAxisID=y.yAxisID||M.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(M){return this.chart.scales[M]},reset:function(){this.update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var M=this,p=M.datasetElementType;return p&&new p({_chart:M.chart,_datasetIndex:M.index})},createMetaData:function(M){var p=this,y=p.dataElementType;return y&&new y({_chart:p.chart,_datasetIndex:p.index,_index:M})},addElements:function(){var x,S,M=this,p=M.getMeta(),y=M.getDataset().data||[],w=p.data;for(x=0,S=y.length;xw&&M.insertElements(w,x-w)},insertElements:function(M,p){for(var y=0;y{"use strict";var I=F(3305);le.exports={_set:function(v,u){return I.merge(this[v]||(this[v]={}),u)}}},8839:(le,me,F)=>{"use strict";var I=F(7726),v=F(3305),f=function(h){v.extend(this,h),this.initialize.apply(this,arguments)};v.extend(f.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=v.clone(h._model)),h._start={},h},transition:function(h){var M=this,p=M._model,y=M._start,w=M._view;return p&&1!==h?(w||(w=M._view={}),y||(y=M._start={}),function u(h,M,p,y){var x,S,C,L,A,j,H,K,re,w=Object.keys(p);for(x=0,S=w.length;x{"use strict";var I=F(7726),v=F(9800),u=F(3305);le.exports=function(f){function h(y,w,x){var S;return"string"==typeof y?(S=parseInt(y,10),-1!==y.indexOf("%")&&(S=S/100*w.parentNode[x])):S=y,S}function M(y){return null!=y&&"none"!==y}function p(y,w,x){var S=document.defaultView,C=y.parentNode,L=S.getComputedStyle(y)[w],A=S.getComputedStyle(C)[w],j=M(L),H=M(A),K=Number.POSITIVE_INFINITY;return j||H?Math.min(j?h(L,y,x):K,H?h(A,C,x):K):"none"}u.configMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){var C=w[y]||{},L=x[y];"scales"===y?w[y]=u.scaleMerge(C,L):"scale"===y?w[y]=u.merge(C,[f.scaleService.getScaleDefaults(L.type),L]):u._merger(y,w,x,S)}})},u.scaleMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){if("xAxes"===y||"yAxes"===y){var L,A,j,C=x[y].length;for(w[y]||(w[y]=[]),L=0;L=w[y].length&&w[y].push({}),u.merge(w[y][L],!w[y][L].type||j.type&&j.type!==w[y][L].type?[f.scaleService.getScaleDefaults(A),j]:j)}else u._merger(y,w,x,S)}})},u.where=function(y,w){if(u.isArray(y)&&Array.prototype.filter)return y.filter(w);var x=[];return u.each(y,function(S){w(S)&&x.push(S)}),x},u.findIndex=Array.prototype.findIndex?function(y,w,x){return y.findIndex(w,x)}:function(y,w,x){x=void 0===x?y:x;for(var S=0,C=y.length;S=0;S--){var C=y[S];if(w(C))return C}},u.isNumber=function(y){return!isNaN(parseFloat(y))&&isFinite(y)},u.almostEquals=function(y,w,x){return Math.abs(y-w)y},u.max=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.max(w,x)},Number.NEGATIVE_INFINITY)},u.min=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.min(w,x)},Number.POSITIVE_INFINITY)},u.sign=Math.sign?function(y){return Math.sign(y)}:function(y){return 0==(y=+y)||isNaN(y)?y:y>0?1:-1},u.log10=Math.log10?function(y){return Math.log10(y)}:function(y){var w=Math.log(y)*Math.LOG10E,x=Math.round(w);return y===Math.pow(10,x)?x:w},u.toRadians=function(y){return y*(Math.PI/180)},u.toDegrees=function(y){return y*(180/Math.PI)},u.getAngleFromPoint=function(y,w){var x=w.x-y.x,S=w.y-y.y,C=Math.sqrt(x*x+S*S),L=Math.atan2(S,x);return L<-.5*Math.PI&&(L+=2*Math.PI),{angle:L,distance:C}},u.distanceBetweenPoints=function(y,w){return Math.sqrt(Math.pow(w.x-y.x,2)+Math.pow(w.y-y.y,2))},u.aliasPixel=function(y){return y%2==0?0:.5},u.splineCurve=function(y,w,x,S){var C=y.skip?w:y,L=w,A=x.skip?w:x,j=Math.sqrt(Math.pow(L.x-C.x,2)+Math.pow(L.y-C.y,2)),H=Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2)),K=j/(j+H),re=H/(j+H),ve=S*(K=isNaN(K)?0:K),Z=S*(re=isNaN(re)?0:re);return{previous:{x:L.x-ve*(A.x-C.x),y:L.y-ve*(A.y-C.y)},next:{x:L.x+Z*(A.x-C.x),y:L.y+Z*(A.y-C.y)}}},u.EPSILON=Number.EPSILON||1e-14,u.splineCurveMonotone=function(y){var S,C,L,A,H,K,re,ve,Z,w=(y||[]).map(function(Q){return{model:Q._model,deltaK:0,mK:0}}),x=w.length;for(S=0;S0?w[S-1]:null,(A=S0?w[S-1]:null)&&!C.model.skip&&(L.model.controlPointPreviousX=L.model.x-(Z=(L.model.x-C.model.x)/3),L.model.controlPointPreviousY=L.model.y-Z*L.mK),A&&!A.model.skip&&(L.model.controlPointNextX=L.model.x+(Z=(A.model.x-L.model.x)/3),L.model.controlPointNextY=L.model.y+Z*L.mK))},u.nextItem=function(y,w,x){return x?w>=y.length-1?y[0]:y[w+1]:w>=y.length-1?y[y.length-1]:y[w+1]},u.previousItem=function(y,w,x){return x?w<=0?y[y.length-1]:y[w-1]:w<=0?y[0]:y[w-1]},u.niceNum=function(y,w){var x=Math.floor(u.log10(y)),S=y/Math.pow(10,x);return(w?S<1.5?1:S<3?2:S<7?5:10:S<=1?1:S<=2?2:S<=5?5:10)*Math.pow(10,x)},u.requestAnimFrame=typeof window>"u"?function(y){y()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(y){return window.setTimeout(y,1e3/60)},u.getRelativePosition=function(y,w){var x,S,C=y.originalEvent||y,L=y.currentTarget||y.srcElement,A=L.getBoundingClientRect(),j=C.touches;j&&j.length>0?(x=j[0].clientX,S=j[0].clientY):(x=C.clientX,S=C.clientY);var H=parseFloat(u.getStyle(L,"padding-left")),K=parseFloat(u.getStyle(L,"padding-top")),re=parseFloat(u.getStyle(L,"padding-right")),ve=parseFloat(u.getStyle(L,"padding-bottom")),Q=A.bottom-A.top-K-ve;return{x:x=Math.round((x-A.left-H)/(A.right-A.left-H-re)*L.width/w.currentDevicePixelRatio),y:S=Math.round((S-A.top-K)/Q*L.height/w.currentDevicePixelRatio)}},u.getConstraintWidth=function(y){return p(y,"max-width","clientWidth")},u.getConstraintHeight=function(y){return p(y,"max-height","clientHeight")},u.getMaximumWidth=function(y){var w=y.parentNode;if(!w)return y.clientWidth;var x=parseInt(u.getStyle(w,"padding-left"),10),S=parseInt(u.getStyle(w,"padding-right"),10),C=w.clientWidth-x-S,L=u.getConstraintWidth(y);return isNaN(L)?C:Math.min(C,L)},u.getMaximumHeight=function(y){var w=y.parentNode;if(!w)return y.clientHeight;var x=parseInt(u.getStyle(w,"padding-top"),10),S=parseInt(u.getStyle(w,"padding-bottom"),10),C=w.clientHeight-x-S,L=u.getConstraintHeight(y);return isNaN(L)?C:Math.min(C,L)},u.getStyle=function(y,w){return y.currentStyle?y.currentStyle[w]:document.defaultView.getComputedStyle(y,null).getPropertyValue(w)},u.retinaScale=function(y,w){var x=y.currentDevicePixelRatio=w||window.devicePixelRatio||1;if(1!==x){var S=y.canvas,C=y.height,L=y.width;S.height=C*x,S.width=L*x,y.ctx.scale(x,x),!S.style.height&&!S.style.width&&(S.style.height=C+"px",S.style.width=L+"px")}},u.fontString=function(y,w,x){return w+" "+y+"px "+x},u.longestText=function(y,w,x,S){var C=(S=S||{}).data=S.data||{},L=S.garbageCollect=S.garbageCollect||[];S.font!==w&&(C=S.data={},L=S.garbageCollect=[],S.font=w),y.font=w;var A=0;u.each(x,function(K){null!=K&&!0!==u.isArray(K)?A=u.measureText(y,C,L,A,K):u.isArray(K)&&u.each(K,function(re){null!=re&&!u.isArray(re)&&(A=u.measureText(y,C,L,A,re))})});var j=L.length/2;if(j>x.length){for(var H=0;HS&&(S=L),S},u.numberOfLabelLines=function(y){var w=1;return u.each(y,function(x){u.isArray(x)&&x.length>w&&(w=x.length)}),w},u.color=I?function(y){return y instanceof CanvasGradient&&(y=v.global.defaultColor),I(y)}:function(y){return console.error("Color.js not found!"),y},u.getHoverColor=function(y){return y instanceof CanvasPattern?y:u.color(y).saturate(.5).darken(.1).rgbString()}}},2814:(le,me,F)=>{"use strict";var I=F(3305);function v(y,w){return y.native?{x:y.x,y:y.y}:I.getRelativePosition(y,w)}function u(y,w){var S,C,L,A,j;for(C=0,A=y.data.datasets.length;C0&&(L=y.getDatasetMeta(L[0]._datasetIndex).data),L},"x-axis":function(y,w){return p(y,w,{intersect:!1})},point:function(y,w){return f(y,v(w,y))},nearest:function(y,w,x){var S=v(w,y);x.axis=x.axis||"xy";var C=M(x.axis),L=h(y,S,x.intersect,C);return L.length>1&&L.sort(function(A,j){var re=A.getArea()-j.getArea();return 0===re&&(re=A._datasetIndex-j._datasetIndex),re}),L.slice(0,1)},x:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inXRange(S.x)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C},y:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inYRange(S.y)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C}}}},5979:(le,me,F)=>{"use strict";F(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),le.exports=function(){var v=function(u,f){return this.construct(u,f),this};return v.Chart=v,v}},2294:(le,me,F)=>{"use strict";var I=F(3305);function v(f,h){return I.where(f,function(M){return M.position===h})}function u(f,h){f.forEach(function(M,p){return M._tmpIndex_=p,M}),f.sort(function(M,p){var y=h?p:M,w=h?M:p;return y.weight===w.weight?y._tmpIndex_-w._tmpIndex_:y.weight-w.weight}),f.forEach(function(M){delete M._tmpIndex_})}le.exports={defaults:{},addBox:function(f,h){f.boxes||(f.boxes=[]),h.fullWidth=h.fullWidth||!1,h.position=h.position||"top",h.weight=h.weight||0,f.boxes.push(h)},removeBox:function(f,h){var M=f.boxes?f.boxes.indexOf(h):-1;-1!==M&&f.boxes.splice(M,1)},configure:function(f,h,M){for(var x,p=["fullWidth","position","weight"],y=p.length,w=0;w{"use strict";var I=F(9800),v=F(3305);I._set("global",{plugins:{}}),le.exports={_plugins:[],_cacheId:0,register:function(u){var f=this._plugins;[].concat(u).forEach(function(h){-1===f.indexOf(h)&&f.push(h)}),this._cacheId++},unregister:function(u){var f=this._plugins;[].concat(u).forEach(function(h){var M=f.indexOf(h);-1!==M&&f.splice(M,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(u,f,h){var y,w,x,S,C,M=this.descriptors(u),p=M.length;for(y=0;y{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(8347);function h(p){var w,x,y=[];for(w=0,x=p.length;w"u"&&(S.minor[C]=S[C]),typeof S.major[C]>"u"&&(S.major[C]=S[C]))},beforeUpdate:function(){u.callback(this.options.beforeUpdate,[this])},update:function(S,C,L){var j,H,K,re,ve,Z,A=this;for(A.beforeUpdate(),A.maxWidth=S,A.maxHeight=C,A.margins=u.extend({left:0,right:0,top:0,bottom:0},L),A.longestTextCache=A.longestTextCache||{},A.beforeSetDimensions(),A.setDimensions(),A.afterSetDimensions(),A.beforeDataLimits(),A.determineDataLimits(),A.afterDataLimits(),A.beforeBuildTicks(),ve=A.buildTicks()||[],A.afterBuildTicks(),A.beforeTickToLabelConversion(),K=A.convertTicksToLabels(ve)||A.ticks,A.afterTickToLabelConversion(),A.ticks=K,j=0,H=K.length;jQ&&HS.maxHeight){H--;break}H++,re=ve*K}S.labelRotation=H},afterCalculateTickRotation:function(){u.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){u.callback(this.options.beforeFit,[this])},fit:function(){var S=this,C=S.minSize={width:0,height:0},L=h(S._ticks),A=S.options,j=A.ticks,H=A.scaleLabel,K=A.gridLines,re=A.display,ve=S.isHorizontal(),Z=w(j),Q=A.gridLines.tickMarkLength;if(C.width=ve?S.isFullWidth()?S.maxWidth-S.margins.left-S.margins.right:S.maxWidth:re&&K.drawTicks?Q:0,C.height=ve?re&&K.drawTicks?Q:0:S.maxHeight,H.display&&re){var ee=x(H)+u.options.toPadding(H.padding).height;ve?C.height+=ee:C.width+=ee}if(j.display&&re){var ne=u.longestText(S.ctx,Z.font,L,S.longestTextCache),oe=u.numberOfLabelLines(L),ae=.5*Z.size,J=S.options.ticks.padding;if(ve){S.longestLabelWidth=ne;var Te=u.toRadians(S.labelRotation),ke=Math.cos(Te),Ae=Math.sin(Te);C.height=Math.min(S.maxHeight,C.height+(Ae*ne+Z.size*oe+ae*(oe-1)+ae)+J),S.ctx.font=Z.font;var et=y(S.ctx,L[0],Z.font),st=y(S.ctx,L[L.length-1],Z.font);0!==S.labelRotation?(S.paddingLeft="bottom"===A.position?ke*et+3:ke*ae+3,S.paddingRight="bottom"===A.position?ke*ae+3:ke*st+3):(S.paddingLeft=et/2+3,S.paddingRight=st/2+3)}else j.mirror?ne=0:ne+=J+ae,C.width=Math.min(S.maxWidth,C.width+ne),S.paddingTop=Z.size/2,S.paddingBottom=Z.size/2}S.handleMargins(),S.width=C.width,S.height=C.height},handleMargins:function(){var S=this;S.margins&&(S.paddingLeft=Math.max(S.paddingLeft-S.margins.left,0),S.paddingTop=Math.max(S.paddingTop-S.margins.top,0),S.paddingRight=Math.max(S.paddingRight-S.margins.right,0),S.paddingBottom=Math.max(S.paddingBottom-S.margins.bottom,0))},afterFit:function(){u.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(S){if(u.isNullOrUndef(S))return NaN;if("number"==typeof S&&!isFinite(S))return NaN;if(S)if(this.isHorizontal()){if(void 0!==S.x)return this.getRightValue(S.x)}else if(void 0!==S.y)return this.getRightValue(S.y);return S},getLabelForIndex:u.noop,getPixelForValue:u.noop,getValueForPixel:u.noop,getPixelForTick:function(S){var C=this,L=C.options.offset;if(C.isHorizontal()){var j=(C.width-(C.paddingLeft+C.paddingRight))/Math.max(C._ticks.length-(L?0:1),1),H=j*S+C.paddingLeft;return L&&(H+=j/2),C.left+Math.round(H)+(C.isFullWidth()?C.margins.left:0)}return C.top+S*((C.height-(C.paddingTop+C.paddingBottom))/(C._ticks.length-1))},getPixelForDecimal:function(S){var C=this;return C.isHorizontal()?C.left+Math.round((C.width-(C.paddingLeft+C.paddingRight))*S+C.paddingLeft)+(C.isFullWidth()?C.margins.left:0):C.top+S*C.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var S=this,C=S.min,L=S.max;return S.beginAtZero?0:C<0&&L<0?L:C>0&&L>0?C:0},_autoSkip:function(S){var C,Q,ce,ee,L=this,A=L.isHorizontal(),j=L.options.ticks.minor,H=S.length,K=u.toRadians(L.labelRotation),re=Math.cos(K),ve=L.longestLabelWidth*re,Z=[];for(j.maxTicksLimit&&(ee=j.maxTicksLimit),A&&(C=!1,(ve+j.autoSkipPadding)*H>L.width-(L.paddingLeft+L.paddingRight)&&(C=1+Math.floor((ve+j.autoSkipPadding)*H/(L.width-(L.paddingLeft+L.paddingRight)))),ee&&H>ee&&(C=Math.max(C,Math.floor(H/ee)))),Q=0;Q1&&Q%C>0||Q%C==0&&Q+C>=H)&&Q!==H-1&&delete ce.label,Z.push(ce);return Z},draw:function(S){var C=this,L=C.options;if(L.display){var A=C.ctx,j=I.global,H=L.ticks.minor,K=L.ticks.major||H,re=L.gridLines,ve=L.scaleLabel,Z=0!==C.labelRotation,Q=C.isHorizontal(),ce=H.autoSkip?C._autoSkip(C.getTicks()):C.getTicks(),q=u.valueOrDefault(H.fontColor,j.defaultFontColor),ee=w(H),ne=u.valueOrDefault(K.fontColor,j.defaultFontColor),oe=w(K),ae=re.drawTicks?re.tickMarkLength:0,J=u.valueOrDefault(ve.fontColor,j.defaultFontColor),Te=w(ve),ke=u.options.toPadding(ve.padding),Ae=u.toRadians(C.labelRotation),Ne=[],et=C.options.gridLines.lineWidth,st="right"===L.position?C.right:C.right-et-ae,rt="right"===L.position?C.right+ae:C.right,Bt="bottom"===L.position?C.top+et:C.bottom-ae-et,ln="bottom"===L.position?C.top+et+ae:C.bottom+et;if(u.each(ce,function(ie,de){if(!u.isNullOrUndef(ie.label)){var _e,be,fe,ge,ue=ie.label;de===C.zeroLineIndex&&L.offset===re.offsetGridLines?(_e=re.zeroLineWidth,be=re.zeroLineColor,fe=re.zeroLineBorderDash,ge=re.zeroLineBorderDashOffset):(_e=u.valueAtIndexOrDefault(re.lineWidth,de),be=u.valueAtIndexOrDefault(re.color,de),fe=u.valueOrDefault(re.borderDash,j.borderDash),ge=u.valueOrDefault(re.borderDashOffset,j.borderDashOffset));var we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn="middle",ti="middle",Ss=H.padding;if(Q){var Fs=ae+Ss;"bottom"===L.position?(ti=Z?"middle":"top",Dn=Z?"right":"center",Gt=C.top+Fs):(ti=Z?"middle":"bottom",Dn=Z?"left":"center",Gt=C.bottom-Fs);var yi=M(C,de,re.offsetGridLines&&ce.length>1);yi1);ni{"use strict";var I=F(9800),v=F(3305),u=F(2294);le.exports=function(f){f.scaleService={constructors:{},defaults:{},registerScaleType:function(h,M,p){this.constructors[h]=M,this.defaults[h]=v.clone(p)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?v.merge({},[I.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,M){var p=this;p.defaults.hasOwnProperty(h)&&(p.defaults[h]=v.extend(p.defaults[h],M))},addScalesToLayout:function(h){v.each(h.scales,function(M){M.fullWidth=M.options.fullWidth,M.position=M.options.position,M.weight=M.options.weight,u.addBox(h,M)})}}}},8347:(le,me,F)=>{"use strict";var I=F(3305);le.exports={formatters:{values:function(v){return I.isArray(v)?v:""+v},linear:function(v,u,f){var h=f.length>3?f[2]-f[1]:f[1]-f[0];Math.abs(h)>1&&v!==Math.floor(v)&&(h=v-Math.floor(v));var M=I.log10(Math.abs(h)),p="";if(0!==v){var y=-1*Math.floor(M);y=Math.max(Math.min(y,20),0),p=v.toFixed(y)}else p="0";return p},logarithmic:function(v,u,f){var h=v/Math.pow(10,Math.floor(I.log10(v)));return 0===v?"0":1===h||2===h||5===h||0===u||u===f.length-1?v.toExponential():""}}}},480:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:u.noop,title:function(f,h){var M="",p=h.labels,y=p?p.length:0;if(f.length>0){var w=f[0];w.xLabel?M=w.xLabel:y>0&&w.indexj.height-L.height&&(re="bottom");var ve,Z,Q,ce,q,ee=(H.left+H.right)/2,ne=(H.top+H.bottom)/2;"center"===re?(ve=function(ae){return ae<=ee},Z=function(ae){return ae>ee}):(ve=function(ae){return ae<=L.width/2},Z=function(ae){return ae>=j.width-L.width/2}),Q=function(ae){return ae+L.width+A.caretSize+A.caretPadding>j.width},ce=function(ae){return ae-L.width-A.caretSize-A.caretPadding<0},q=function(ae){return ae<=ne?"top":"bottom"},ve(A.x)?(K="left",Q(A.x)&&(K="center",re=q(A.y))):Z(A.x)&&(K="right",ce(A.x)&&(K="center",re=q(A.y)));var oe=C._options;return{xAlign:oe.xAlign?oe.xAlign:K,yAlign:oe.yAlign?oe.yAlign:re}}(this,Q),Z=function S(C,L,A,j){var H=C.x,K=C.y,ve=C.caretPadding,Q=A.xAlign,ce=A.yAlign,q=C.caretSize+ve,ee=C.cornerRadius+ve;return"right"===Q?H-=L.width:"center"===Q&&((H-=L.width/2)+L.width>j.width&&(H=j.width-L.width),H<0&&(H=0)),"top"===ce?K+=q:K-="bottom"===ce?L.height+q:L.height/2,"center"===ce?"left"===Q?H+=q:"right"===Q&&(H-=q):"left"===Q?H-=ee:"right"===Q&&(H+=ee),{x:H,y:K}}(H,Q,ve,L._chart)}else H.opacity=0;return H.xAlign=ve.xAlign,H.yAlign=ve.yAlign,H.x=Z.x,H.y=Z.y,H.width=Q.width,H.height=Q.height,H.caretX=ce.x,H.caretY=ce.y,L._model=H,C&&A.custom&&A.custom.call(L,H),L},drawCaret:function(C,L){var A=this._chart.ctx,H=this.getCaretPosition(C,L,this._view);A.lineTo(H.x1,H.y1),A.lineTo(H.x2,H.y2),A.lineTo(H.x3,H.y3)},getCaretPosition:function(C,L,A){var j,H,K,re,ve,Z,Q=A.caretSize,ce=A.cornerRadius,q=A.xAlign,ee=A.yAlign,ne=C.x,oe=C.y,ae=L.width,J=L.height;if("center"===ee)ve=oe+J/2,"left"===q?(H=(j=ne)-Q,K=j,re=ve+Q,Z=ve-Q):(H=(j=ne+ae)+Q,K=j,re=ve-Q,Z=ve+Q);else if("left"===q?(j=(H=ne+ce+Q)-Q,K=H+Q):"right"===q?(j=(H=ne+ae-ce-Q)-Q,K=H+Q):(j=(H=A.caretX)-Q,K=H+Q),"top"===ee)ve=(re=oe)-Q,Z=re;else{ve=(re=oe+J)+Q,Z=re;var Te=K;K=j,j=Te}return{x1:j,x2:H,x3:K,y1:re,y2:ve,y3:Z}},drawTitle:function(C,L,A,j){var H=L.title;if(H.length){A.textAlign=L._titleAlign,A.textBaseline="top";var ve,Z,K=L.titleFontSize,re=L.titleSpacing;for(A.fillStyle=h(L.titleFontColor,j),A.font=u.fontString(K,L._titleFontStyle,L._titleFontFamily),ve=0,Z=H.length;ve0&&A.stroke()},draw:function(){var C=this._chart.ctx,L=this._view;if(0!==L.opacity){var A={width:L.width,height:L.height},j={x:L.x,y:L.y},H=Math.abs(L.opacity<.001)?0:L.opacity;this._options.enabled&&(L.title.length||L.beforeBody.length||L.body.length||L.afterBody.length||L.footer.length)&&(this.drawBackground(j,L,C,A,H),j.x+=L.xPadding,j.y+=L.yPadding,this.drawTitle(j,L,C,H),this.drawBody(j,L,C,H),this.drawFooter(j,L,C,H))}},handleEvent:function(C){var j,L=this,A=L._options;return L._lastActive=L._lastActive||[],L._active="mouseout"===C.type?[]:L._chart.getElementsAtEventForMode(C,A.mode,A),(j=!u.arrayEquals(L._active,L._lastActive))&&(L._lastActive=L._active,(A.enabled||A.custom)&&(L._eventPosition={x:C.x,y:C.y},L.update(!0),L.pivot())),j}}),f.Tooltip.positioners={average:function(C){if(!C.length)return!1;var L,A,j=0,H=0,K=0;for(L=0,A=C.length;L{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{elements:{arc:{backgroundColor:I.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),le.exports=v.extend({inLabelRange:function(f){var h=this._view;return!!h&&Math.pow(f-h.x,2)S;)y-=2*Math.PI;for(;y=x&&y<=S&&w>=M.innerRadius&&w<=M.outerRadius}return!1},getCenterPoint:function(){var f=this._view,h=(f.startAngle+f.endAngle)/2,M=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},getArea:function(){var f=this._view;return Math.PI*((f.endAngle-f.startAngle)/(2*Math.PI))*(Math.pow(f.outerRadius,2)-Math.pow(f.innerRadius,2))},tooltipPosition:function(){var f=this._view,h=f.startAngle+(f.endAngle-f.startAngle)/2,M=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},draw:function(){var f=this._chart.ctx,h=this._view,M=h.startAngle,p=h.endAngle;f.beginPath(),f.arc(h.x,h.y,h.outerRadius,M,p),f.arc(h.x,h.y,h.innerRadius,p,M,!0),f.closePath(),f.strokeStyle=h.borderColor,f.lineWidth=h.borderWidth,f.fillStyle=h.backgroundColor,f.fill(),f.lineJoin="bevel",h.borderWidth&&f.stroke()}})},3819:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global;I._set("global",{elements:{line:{tension:.4,backgroundColor:f.defaultColor,borderWidth:3,borderColor:f.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),le.exports=v.extend({draw:function(){var C,L,A,j,h=this,M=h._view,p=h._chart.ctx,y=M.spanGaps,w=h._children.slice(),x=f.elements.line,S=-1;for(h._loop&&w.length&&w.push(w[0]),p.save(),p.lineCap=M.borderCapStyle||x.borderCapStyle,p.setLineDash&&p.setLineDash(M.borderDash||x.borderDash),p.lineDashOffset=M.borderDashOffset||x.borderDashOffset,p.lineJoin=M.borderJoinStyle||x.borderJoinStyle,p.lineWidth=M.borderWidth||x.borderWidth,p.strokeStyle=M.borderColor||f.defaultColor,p.beginPath(),S=-1,C=0;C{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global.defaultColor;function h(p){var y=this._view;return!!y&&Math.abs(p-y.x){"use strict";var I=F(9800),v=F(8839);function u(h){return void 0!==h._view.width}function f(h){var p,y,w,x,M=h._view;if(u(h)){var S=M.width/2;p=M.x-S,y=M.x+S,w=Math.min(M.y,M.base),x=Math.max(M.y,M.base)}else{var C=M.height/2;p=Math.min(M.x,M.base),y=Math.max(M.x,M.base),w=M.y-C,x=M.y+C}return{left:p,top:w,right:y,bottom:x}}I._set("global",{elements:{rectangle:{backgroundColor:I.global.defaultColor,borderColor:I.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),le.exports=v.extend({draw:function(){var p,y,w,x,S,C,L,h=this._chart.ctx,M=this._view,A=M.borderWidth;if(M.horizontal?(w=M.y-M.height/2,x=M.y+M.height/2,S=(y=M.x)>(p=M.base)?1:-1,C=1,L=M.borderSkipped||"left"):(p=M.x-M.width/2,y=M.x+M.width/2,S=1,C=(x=M.base)>(w=M.y)?1:-1,L=M.borderSkipped||"bottom"),A){var j=Math.min(Math.abs(p-y),Math.abs(w-x)),H=(A=A>j?j:A)/2,K=p+("left"!==L?H*S:0),re=y+("right"!==L?-H*S:0),ve=w+("top"!==L?H*C:0),Z=x+("bottom"!==L?-H*C:0);K!==re&&(w=ve,x=Z),ve!==Z&&(p=K,y=re)}h.beginPath(),h.fillStyle=M.backgroundColor,h.strokeStyle=M.borderColor,h.lineWidth=A;var Q=[[p,x],[p,w],[y,w],[y,x]],q=["bottom","left","top","right"].indexOf(L,0);function ee(ae){return Q[(q+ae)%4]}-1===q&&(q=0);var ne=ee(0);h.moveTo(ne[0],ne[1]);for(var oe=1;oe<4;oe++)ne=ee(oe),h.lineTo(ne[0],ne[1]);h.fill(),A&&h.stroke()},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,M){var p=!1;if(this._view){var y=f(this);p=h>=y.left&&h<=y.right&&M>=y.top&&M<=y.bottom}return p},inLabelRange:function(h,M){var p=this;if(!p._view)return!1;var w=f(p);return u(p)?h>=w.left&&h<=w.right:M>=w.top&&M<=w.bottom},inXRange:function(h){var M=f(this);return h>=M.left&&h<=M.right},inYRange:function(h){var M=f(this);return h>=M.top&&h<=M.bottom},getCenterPoint:function(){var M,p,h=this._view;return u(this)?(M=h.x,p=(h.y+h.base)/2):(M=(h.x+h.base)/2,p=h.y),{x:M,y:p}},getArea:function(){var h=this._view;return h.width*Math.abs(h.y-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}})},9931:(le,me,F)=>{"use strict";le.exports={},le.exports.Arc=F(280),le.exports.Line=F(3819),le.exports.Point=F(4674),le.exports.Rectangle=F(8667)},2397:(le,me,F)=>{"use strict";var I=F(4396),v=le.exports={clear:function(u){u.ctx.clearRect(0,0,u.width,u.height)},roundedRect:function(u,f,h,M,p,y){if(y){var w=Math.min(y,M/2),x=Math.min(y,p/2);u.moveTo(f+w,h),u.lineTo(f+M-w,h),u.quadraticCurveTo(f+M,h,f+M,h+x),u.lineTo(f+M,h+p-x),u.quadraticCurveTo(f+M,h+p,f+M-w,h+p),u.lineTo(f+w,h+p),u.quadraticCurveTo(f,h+p,f,h+p-x),u.lineTo(f,h+x),u.quadraticCurveTo(f,h,f+w,h)}else u.rect(f,h,M,p)},drawPoint:function(u,f,h,M,p){var y,w,x,S,C,L;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(y=f.toString())&&"[object HTMLCanvasElement]"!==y){if(!(isNaN(h)||h<=0)){switch(f){default:u.beginPath(),u.arc(M,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),C=(w=3*h/Math.sqrt(3))*Math.sqrt(3)/2,u.moveTo(M-w/2,p+C/3),u.lineTo(M+w/2,p+C/3),u.lineTo(M,p-2*C/3),u.closePath(),u.fill();break;case"rect":L=1/Math.SQRT2*h,u.beginPath(),u.fillRect(M-L,p-L,2*L,2*L),u.strokeRect(M-L,p-L,2*L,2*L);break;case"rectRounded":var A=h/Math.SQRT2,j=M-A,H=p-A,K=Math.SQRT2*h;u.beginPath(),this.roundedRect(u,j,H,K,K,h/2),u.closePath(),u.fill();break;case"rectRot":L=1/Math.SQRT2*h,u.beginPath(),u.moveTo(M-L,p),u.lineTo(M,p+L),u.lineTo(M+L,p),u.lineTo(M,p-L),u.closePath(),u.fill();break;case"cross":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"crossRot":u.beginPath(),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"star":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"line":u.beginPath(),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(M,p),u.lineTo(M+h,p),u.closePath()}u.stroke()}}else u.drawImage(f,M-f.width/2,p-f.height/2,f.width,f.height)},clipArea:function(u,f){u.save(),u.beginPath(),u.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),u.clip()},unclipArea:function(u){u.restore()},lineTo:function(u,f,h,M){if(h.steppedLine)return"after"===h.steppedLine&&!M||"after"!==h.steppedLine&&M?u.lineTo(f.x,h.y):u.lineTo(h.x,f.y),void u.lineTo(h.x,h.y);h.tension?u.bezierCurveTo(M?f.controlPointPreviousX:f.controlPointNextX,M?f.controlPointPreviousY:f.controlPointNextY,M?h.controlPointNextX:h.controlPointPreviousX,M?h.controlPointNextY:h.controlPointPreviousY,h.x,h.y):u.lineTo(h.x,h.y)}};I.clear=v.clear,I.drawRoundedRectangle=function(u){u.beginPath(),v.roundedRect.apply(v,arguments),u.closePath()}},4396:le=>{"use strict";var F,me={noop:function(){},uid:(F=0,function(){return F++}),isNullOrUndef:function(F){return null===F||typeof F>"u"},isArray:Array.isArray?Array.isArray:function(F){return"[object Array]"===Object.prototype.toString.call(F)},isObject:function(F){return null!==F&&"[object Object]"===Object.prototype.toString.call(F)},valueOrDefault:function(F,I){return typeof F>"u"?I:F},valueAtIndexOrDefault:function(F,I,v){return me.valueOrDefault(me.isArray(F)?F[I]:F,v)},callback:function(F,I,v){if(F&&"function"==typeof F.call)return F.apply(v,I)},each:function(F,I,v,u){var f,h,M;if(me.isArray(F))if(h=F.length,u)for(f=h-1;f>=0;f--)I.call(v,F[f],f);else for(f=0;f{"use strict";var I=F(4396),v={linear:function(u){return u},easeInQuad:function(u){return u*u},easeOutQuad:function(u){return-u*(u-2)},easeInOutQuad:function(u){return(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1)},easeInCubic:function(u){return u*u*u},easeOutCubic:function(u){return(u-=1)*u*u+1},easeInOutCubic:function(u){return(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2)},easeInQuart:function(u){return u*u*u*u},easeOutQuart:function(u){return-((u-=1)*u*u*u-1)},easeInOutQuart:function(u){return(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2)},easeInQuint:function(u){return u*u*u*u*u},easeOutQuint:function(u){return(u-=1)*u*u*u*u+1},easeInOutQuint:function(u){return(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2)},easeInSine:function(u){return 1-Math.cos(u*(Math.PI/2))},easeOutSine:function(u){return Math.sin(u*(Math.PI/2))},easeInOutSine:function(u){return-.5*(Math.cos(Math.PI*u)-1)},easeInExpo:function(u){return 0===u?0:Math.pow(2,10*(u-1))},easeOutExpo:function(u){return 1===u?1:1-Math.pow(2,-10*u)},easeInOutExpo:function(u){return 0===u?0:1===u?1:(u/=.5)<1?.5*Math.pow(2,10*(u-1)):.5*(2-Math.pow(2,-10*--u))},easeInCirc:function(u){return u>=1?u:-(Math.sqrt(1-u*u)-1)},easeOutCirc:function(u){return Math.sqrt(1-(u-=1)*u)},easeInOutCirc:function(u){return(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1)},easeInElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),-M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h))},easeOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),M*Math.pow(2,-10*u)*Math.sin((u-f)*(2*Math.PI)/h)+1)},easeInOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:2==(u/=.5)?1:(h||(h=.45),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),u<1?M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*-.5:M*Math.pow(2,-10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*.5+1)},easeInBack:function(u){var f=1.70158;return u*u*((f+1)*u-f)},easeOutBack:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},easeInOutBack:function(u){var f=1.70158;return(u/=.5)<1?u*u*((1+(f*=1.525))*u-f)*.5:.5*((u-=2)*u*((1+(f*=1.525))*u+f)+2)},easeInBounce:function(u){return 1-v.easeOutBounce(1-u)},easeOutBounce:function(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375},easeInOutBounce:function(u){return u<.5?.5*v.easeInBounce(2*u):.5*v.easeOutBounce(2*u-1)+.5}};le.exports={effects:v},I.easingEffects=v},5347:(le,me,F)=>{"use strict";var I=F(4396);le.exports={toLineHeight:function(v,u){var f=(""+v).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*u;switch(v=+f[2],f[3]){case"px":return v;case"%":v/=100}return u*v},toPadding:function(v){var u,f,h,M;return I.isObject(v)?(u=+v.top||0,f=+v.right||0,h=+v.bottom||0,M=+v.left||0):u=f=h=M=+v||0,{top:u,right:f,bottom:h,left:M,height:u+h,width:M+f}},resolve:function(v,u,f){var h,M,p;for(h=0,M=v.length;h{"use strict";le.exports=F(4396),le.exports.easing=F(4317),le.exports.canvas=F(2397),le.exports.options=F(5347)},1607:le=>{le.exports={acquireContext:function(me){return me&&me.canvas&&(me=me.canvas),me&&me.getContext("2d")||null}}},8005:(le,me,F)=>{"use strict";var I=F(3305),v="$chartjs",u="chartjs-",f=u+"render-monitor",h=u+"render-animation",M=["animationstart","webkitAnimationStart"],p={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function y(q,ee){var ne=I.getStyle(q,ee),oe=ne&&ne.match(/^(\d+)(\.\d+)?px$/);return oe?Number(oe[1]):void 0}var S=!!function(){var q=!1;try{var ee=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("e",null,ee)}catch{}return q}()&&{passive:!0};function C(q,ee,ne){q.addEventListener(ee,ne,S)}function L(q,ee,ne){q.removeEventListener(ee,ne,S)}function A(q,ee,ne,oe,ae){return{type:q,chart:ee,native:ae||null,x:void 0!==ne?ne:null,y:void 0!==oe?oe:null}}le.exports={_enabled:typeof window<"u"&&typeof document<"u",initialize:function(){var q="from{opacity:0.99}to{opacity:1}";!function ce(q,ee){var ne=q._style||document.createElement("style");q._style||(q._style=ne,ee="/* Chart.js */\n"+ee,ne.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(ne)),ne.appendChild(document.createTextNode(ee))}(this,"@-webkit-keyframes "+h+"{"+q+"}@keyframes "+h+"{"+q+"}."+f+"{-webkit-animation:"+h+" 0.001s;animation:"+h+" 0.001s;}")},acquireContext:function(q,ee){"string"==typeof q?q=document.getElementById(q):q.length&&(q=q[0]),q&&q.canvas&&(q=q.canvas);var ne=q&&q.getContext&&q.getContext("2d");return ne&&ne.canvas===q?(function w(q,ee){var ne=q.style,oe=q.getAttribute("height"),ae=q.getAttribute("width");if(q[v]={initial:{height:oe,width:ae,style:{display:ne.display,height:ne.height,width:ne.width}}},ne.display=ne.display||"block",null===ae||""===ae){var J=y(q,"width");void 0!==J&&(q.width=J)}if(null===oe||""===oe)if(""===q.style.height)q.height=q.width/(ee.options.aspectRatio||2);else{var Te=y(q,"height");void 0!==J&&(q.height=Te)}}(q,ee),ne):null},releaseContext:function(q){var ee=q.canvas;if(ee[v]){var ne=ee[v].initial;["height","width"].forEach(function(oe){var ae=ne[oe];I.isNullOrUndef(ae)?ee.removeAttribute(oe):ee.setAttribute(oe,ae)}),I.each(ne.style||{},function(oe,ae){ee.style[ae]=oe}),ee.width=ee.width,delete ee[v]}},addEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var ae=ne[v]||(ne[v]={}),Te=(ae.proxies||(ae.proxies={}))[q.id+"_"+ee]=function(ke){ne(function j(q,ee){var ne=p[q.type]||q.type,oe=I.getRelativePosition(q,ee);return A(ne,ee,oe.x,oe.y,q)}(ke,q))};C(oe,ee,Te)}else!function Z(q,ee,ne){var oe=q[v]||(q[v]={}),ae=oe.resizer=function K(q){var ee=document.createElement("div"),ne=u+"size-monitor",oe=1e6,ae="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";ee.style.cssText=ae,ee.className=ne,ee.innerHTML='
';var J=ee.childNodes[0],Te=ee.childNodes[1];ee._reset=function(){J.scrollLeft=oe,J.scrollTop=oe,Te.scrollLeft=oe,Te.scrollTop=oe};var ke=function(){ee._reset(),q()};return C(J,"scroll",ke.bind(J,"expand")),C(Te,"scroll",ke.bind(Te,"shrink")),ee}(function H(q,ee){var ne=!1,oe=[];return function(){oe=Array.prototype.slice.call(arguments),ee=ee||this,ne||(ne=!0,I.requestAnimFrame.call(window,function(){ne=!1,q.apply(ee,oe)}))}}(function(){if(oe.resizer)return ee(A("resize",ne))}));!function re(q,ee){var ne=q[v]||(q[v]={}),oe=ne.renderProxy=function(ae){ae.animationName===h&&ee()};I.each(M,function(ae){C(q,ae,oe)}),ne.reflow=!!q.offsetParent,q.classList.add(f)}(q,function(){if(oe.resizer){var J=q.parentNode;J&&J!==ae.parentNode&&J.insertBefore(ae,J.firstChild),ae._reset()}})}(oe,ne,q)},removeEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var Te=((ne[v]||{}).proxies||{})[q.id+"_"+ee];!Te||L(oe,ee,Te)}else!function Q(q){var ee=q[v]||{},ne=ee.resizer;delete ee.resizer,function ve(q){var ee=q[v]||{},ne=ee.renderProxy;ne&&(I.each(M,function(oe){L(q,oe,ne)}),delete ee.renderProxy),q.classList.remove(f)}(q),ne&&ne.parentNode&&ne.parentNode.removeChild(ne)}(oe)}},I.addEvent=C,I.removeEvent=L},8244:(le,me,F)=>{"use strict";var I=F(3305),v=F(1607),u=F(8005);le.exports=I.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},u._enabled?u:v)},6747:(le,me,F)=>{"use strict";le.exports={},le.exports.filler=F(6579),le.exports.legend=F(2230),le.exports.title=F(7412)},6579:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(C){var L=C.fill,A=C.chart,j=A.getDatasetMeta(L),K=j&&A.isDatasetVisible(L)&&j.dataset._children||[],re=K.length||0;return re?function(ve,Z){return Z=A)&&K;switch(H){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return H;default:return!1}}function M(C){var K,L=C.el._model||{},A=C.el._scale||{},j=C.fill,H=null;if(isFinite(j))return null;if("start"===j?H=void 0===L.scaleBottom?A.bottom:L.scaleBottom:"end"===j?H=void 0===L.scaleTop?A.top:L.scaleTop:void 0!==L.scaleZero?H=L.scaleZero:A.getBasePosition?H=A.getBasePosition():A.getBasePixel&&(H=A.getBasePixel()),null!=H){if(void 0!==H.x&&void 0!==H.y)return H;if("number"==typeof H&&isFinite(H))return{x:(K=A.isHorizontal())?H:null,y:K?null:H}}return null}function p(C,L,A){var re,H=C[L].fill,K=[L];if(!A)return H;for(;!1!==H&&-1===K.indexOf(H);){if(!isFinite(H))return H;if(!(re=C[H]))return!1;if(re.visible)return H;K.push(H),H=re.fill}return!1}function y(C){var L=C.fill,A="dataset";return!1===L?null:(isFinite(L)||(A="boundary"),f[A](C))}function w(C){return C&&!C.skip}function x(C,L,A,j,H){var K;if(j&&H){for(C.moveTo(L[0].x,L[0].y),K=1;K0;--K)u.canvas.lineTo(C,A[K],A[K-1],!0)}}le.exports={id:"filler",afterDatasetsUpdate:function(C,L){var K,re,ve,Z,A=(C.data.datasets||[]).length,j=L.propagate,H=[];for(re=0;re{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;function M(w,x){return w.usePointStyle?x*Math.SQRT2:w.boxWidth}I._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(w,x){var S=x.datasetIndex,C=this.chart,L=C.getDatasetMeta(S);L.hidden=null===L.hidden?!C.data.datasets[S].hidden:null,C.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(w){var x=w.data;return u.isArray(x.datasets)?x.datasets.map(function(S,C){return{text:S.label,fillStyle:u.isArray(S.backgroundColor)?S.backgroundColor[0]:S.backgroundColor,hidden:!w.isDatasetVisible(C),lineCap:S.borderCapStyle,lineDash:S.borderDash,lineDashOffset:S.borderDashOffset,lineJoin:S.borderJoinStyle,lineWidth:S.borderWidth,strokeStyle:S.borderColor,pointStyle:S.pointStyle,datasetIndex:C}},this):[]}}},legendCallback:function(w){var x=[];x.push('
    ');for(var S=0;S'),w.data.datasets[S].label&&x.push(w.data.datasets[S].label),x.push("");return x.push("
"),x.join("")}});var p=v.extend({initialize:function(w){u.extend(this,w),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(w,x,S){var C=this;return C.beforeUpdate(),C.maxWidth=w,C.maxHeight=x,C.margins=S,C.beforeSetDimensions(),C.setDimensions(),C.afterSetDimensions(),C.beforeBuildLabels(),C.buildLabels(),C.afterBuildLabels(),C.beforeFit(),C.fit(),C.afterFit(),C.afterUpdate(),C.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var w=this;w.isHorizontal()?(w.width=w.maxWidth,w.left=0,w.right=w.width):(w.height=w.maxHeight,w.top=0,w.bottom=w.height),w.paddingLeft=0,w.paddingTop=0,w.paddingRight=0,w.paddingBottom=0,w.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var w=this,x=w.options.labels||{},S=u.callback(x.generateLabels,[w.chart],w)||[];x.filter&&(S=S.filter(function(C){return x.filter(C,w.chart.data)})),w.options.reverse&&S.reverse(),w.legendItems=S},afterBuildLabels:h,beforeFit:h,fit:function(){var w=this,x=w.options,S=x.labels,C=x.display,L=w.ctx,A=I.global,j=u.valueOrDefault,H=j(S.fontSize,A.defaultFontSize),K=j(S.fontStyle,A.defaultFontStyle),re=j(S.fontFamily,A.defaultFontFamily),ve=u.fontString(H,K,re),Z=w.legendHitBoxes=[],Q=w.minSize,ce=w.isHorizontal();if(ce?(Q.width=w.maxWidth,Q.height=C?10:0):(Q.width=C?10:0,Q.height=w.maxHeight),C)if(L.font=ve,ce){var q=w.lineWidths=[0],ee=w.legendItems.length?H+S.padding:0;L.textAlign="left",L.textBaseline="top",u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;q[q.length-1]+st+S.padding>=w.width&&(ee+=H+S.padding,q[q.length]=w.left),Z[Ne]={left:0,top:0,width:st,height:H},q[q.length-1]+=st+S.padding}),Q.height+=ee}else{var ne=S.padding,oe=w.columnWidths=[],ae=S.padding,J=0,Te=0,ke=H+ne;u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;Te+ke>Q.height&&(ae+=J+S.padding,oe.push(J),J=0,Te=0),J=Math.max(J,st),Te+=ke,Z[Ne]={left:0,top:0,width:st,height:H}}),ae+=J,oe.push(J),Q.width+=ae}w.width=Q.width,w.height=Q.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var w=this,x=w.options,S=x.labels,C=I.global,L=C.elements.line,A=w.width,j=w.lineWidths;if(x.display){var q,H=w.ctx,K=u.valueOrDefault,re=K(S.fontColor,C.defaultFontColor),ve=K(S.fontSize,C.defaultFontSize),Z=K(S.fontStyle,C.defaultFontStyle),Q=K(S.fontFamily,C.defaultFontFamily),ce=u.fontString(ve,Z,Q);H.textAlign="left",H.textBaseline="middle",H.lineWidth=.5,H.strokeStyle=re,H.fillStyle=re,H.font=ce;var ee=M(S,ve),ne=w.legendHitBoxes,J=w.isHorizontal();q=J?{x:w.left+(A-j[0])/2,y:w.top+S.padding,line:0}:{x:w.left+S.padding,y:w.top+S.padding,line:0};var Te=ve+S.padding;u.each(w.legendItems,function(ke,Ae){var Ne=H.measureText(ke.text).width,et=ee+ve/2+Ne,st=q.x,rt=q.y;J?st+et>=A&&(rt=q.y+=Te,q.line++,st=q.x=w.left+(A-j[q.line])/2):rt+Te>w.bottom&&(st=q.x=st+w.columnWidths[q.line]+S.padding,rt=q.y=w.top+S.padding,q.line++),function(ke,Ae,Ne){if(!(isNaN(ee)||ee<=0)){H.save(),H.fillStyle=K(Ne.fillStyle,C.defaultColor),H.lineCap=K(Ne.lineCap,L.borderCapStyle),H.lineDashOffset=K(Ne.lineDashOffset,L.borderDashOffset),H.lineJoin=K(Ne.lineJoin,L.borderJoinStyle),H.lineWidth=K(Ne.lineWidth,L.borderWidth),H.strokeStyle=K(Ne.strokeStyle,C.defaultColor);var et=0===K(Ne.lineWidth,L.borderWidth);if(H.setLineDash&&H.setLineDash(K(Ne.lineDash,L.borderDash)),x.labels&&x.labels.usePointStyle){var st=ve*Math.SQRT2/2,rt=st/Math.SQRT2;u.canvas.drawPoint(H,Ne.pointStyle,st,ke+rt,Ae+rt)}else et||H.strokeRect(ke,Ae,ee,ve),H.fillRect(ke,Ae,ee,ve);H.restore()}}(st,rt,ke),ne[Ae].left=st,ne[Ae].top=rt,function(ke,Ae,Ne,et){var st=ve/2,rt=ee+st+ke,Bt=Ae+st;H.fillText(Ne.text,rt,Bt),Ne.hidden&&(H.beginPath(),H.lineWidth=2,H.moveTo(rt,Bt),H.lineTo(rt+et,Bt),H.stroke())}(st,rt,ke,Ne),J?q.x+=et+S.padding:q.y+=Te})}},handleEvent:function(w){var x=this,S=x.options,C="mouseup"===w.type?"click":w.type,L=!1;if("mousemove"===C){if(!S.onHover)return}else{if("click"!==C)return;if(!S.onClick)return}var A=w.x,j=w.y;if(A>=x.left&&A<=x.right&&j>=x.top&&j<=x.bottom)for(var H=x.legendHitBoxes,K=0;K=re.left&&A<=re.left+re.width&&j>=re.top&&j<=re.top+re.height){if("click"===C){S.onClick.call(x,w.native,x.legendItems[K]),L=!0;break}if("mousemove"===C){S.onHover.call(x,w.native,x.legendItems[K]),L=!0;break}}}return L}});function y(w,x){var S=new p({ctx:w.ctx,options:x,chart:w});f.configure(w,S,x),f.addBox(w,S),w.legend=S}le.exports={id:"legend",_element:p,beforeInit:function(w){var x=w.options.legend;x&&y(w,x)},beforeUpdate:function(w){var x=w.options.legend,S=w.legend;x?(u.mergeIf(x,I.global.legend),S?(f.configure(w,S,x),S.options=x):y(w,x)):S&&(f.removeBox(w,S),delete w.legend)},afterEvent:function(w,x){var S=w.legend;S&&S.handleEvent(x)}}},7412:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;I._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var M=v.extend({initialize:function(y){u.extend(this,y),this.legendHitBoxes=[]},beforeUpdate:h,update:function(y,w,x){var S=this;return S.beforeUpdate(),S.maxWidth=y,S.maxHeight=w,S.margins=x,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var y=this;y.isHorizontal()?(y.width=y.maxWidth,y.left=0,y.right=y.width):(y.height=y.maxHeight,y.top=0,y.bottom=y.height),y.paddingLeft=0,y.paddingTop=0,y.paddingRight=0,y.paddingBottom=0,y.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:h,afterBuildLabels:h,beforeFit:h,fit:function(){var y=this,x=y.options,S=x.display,C=(0,u.valueOrDefault)(x.fontSize,I.global.defaultFontSize),L=y.minSize,A=u.isArray(x.text)?x.text.length:1,j=u.options.toLineHeight(x.lineHeight,C),H=S?A*j+2*x.padding:0;y.isHorizontal()?(L.width=y.maxWidth,L.height=H):(L.width=H,L.height=y.maxHeight),y.width=L.width,y.height=L.height},afterFit:h,isHorizontal:function(){var y=this.options.position;return"top"===y||"bottom"===y},draw:function(){var y=this,w=y.ctx,x=u.valueOrDefault,S=y.options,C=I.global;if(S.display){var ee,ne,oe,L=x(S.fontSize,C.defaultFontSize),A=x(S.fontStyle,C.defaultFontStyle),j=x(S.fontFamily,C.defaultFontFamily),H=u.fontString(L,A,j),K=u.options.toLineHeight(S.lineHeight,L),re=K/2+S.padding,ve=0,Z=y.top,Q=y.left,ce=y.bottom,q=y.right;w.fillStyle=x(S.fontColor,C.defaultFontColor),w.font=H,y.isHorizontal()?(ne=Q+(q-Q)/2,oe=Z+re,ee=q-Q):(ne="left"===S.position?Q+re:q-re,oe=Z+(ce-Z)/2,ee=ce-Z,ve=Math.PI*("left"===S.position?-.5:.5)),w.save(),w.translate(ne,oe),w.rotate(ve),w.textAlign="center",w.textBaseline="middle";var ae=S.text;if(u.isArray(ae))for(var J=0,Te=0;Te{"use strict";le.exports=function(me){var I=me.Scale.extend({getLabels:function(){var v=this.chart.data;return this.options.labels||(this.isHorizontal()?v.xLabels:v.yLabels)||v.labels},determineDataLimits:function(){var f,v=this,u=v.getLabels();v.minIndex=0,v.maxIndex=u.length-1,void 0!==v.options.ticks.min&&(f=u.indexOf(v.options.ticks.min),v.minIndex=-1!==f?f:v.minIndex),void 0!==v.options.ticks.max&&(f=u.indexOf(v.options.ticks.max),v.maxIndex=-1!==f?f:v.maxIndex),v.min=u[v.minIndex],v.max=u[v.maxIndex]},buildTicks:function(){var v=this,u=v.getLabels();v.ticks=0===v.minIndex&&v.maxIndex===u.length-1?u:u.slice(v.minIndex,v.maxIndex+1)},getLabelForIndex:function(v,u){var f=this,h=f.chart.data,M=f.isHorizontal();return h.yLabels&&!M?f.getRightValue(h.datasets[u].data[v]):f.ticks[v-f.minIndex]},getPixelForValue:function(v,u){var p,f=this,h=f.options.offset,M=Math.max(f.maxIndex+1-f.minIndex-(h?0:1),1);if(null!=v&&(p=f.isHorizontal()?v.x:v.y),void 0!==p||void 0!==v&&isNaN(u)){var w=f.getLabels().indexOf(v=p||v);u=-1!==w?w:u}if(f.isHorizontal()){var x=f.width/M,S=x*(u-f.minIndex);return h&&(S+=x/2),f.left+Math.round(S)}var C=f.height/M,L=C*(u-f.minIndex);return h&&(L+=C/2),f.top+Math.round(L)},getPixelForTick:function(v){return this.getPixelForValue(this.ticks[v],v+this.minIndex,null)},getValueForPixel:function(v){var u=this,f=u.options.offset,M=Math.max(u._ticks.length-(f?0:1),1),p=u.isHorizontal(),y=(p?u.width:u.height)/M;return v-=p?u.left:u.top,f&&(v-=y/2),(v<=0?0:Math.round(v/y))+u.minIndex},getBasePixel:function(){return this.bottom}});me.scaleService.registerScaleType("category",I,{position:"bottom"})}},1704:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:u.formatters.linear}},M=f.LinearScaleBase.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function j(re){return C?re.xAxisID===p.id:re.yAxisID===p.id}p.min=null,p.max=null;var H=y.stacked;if(void 0===H&&v.each(S,function(re,ve){if(!H){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&void 0!==Z.stack&&(H=!0)}}),y.stacked||H){var K={};v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve),Q=[Z.type,void 0===y.stacked&&void 0===Z.stack?ve:"",Z.stack].join(".");void 0===K[Q]&&(K[Q]={positiveValues:[],negativeValues:[]});var ce=K[Q].positiveValues,q=K[Q].negativeValues;w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(ee,ne){var oe=+p.getRightValue(ee);isNaN(oe)||Z.data[ne].hidden||(ce[ne]=ce[ne]||0,q[ne]=q[ne]||0,y.relativePoints?ce[ne]=100:oe<0?q[ne]+=oe:ce[ne]+=oe)})}),v.each(K,function(re){var ve=re.positiveValues.concat(re.negativeValues),Z=v.min(ve),Q=v.max(ve);p.min=null===p.min?Z:Math.min(p.min,Z),p.max=null===p.max?Q:Math.max(p.max,Q)})}else v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(Q,ce){var q=+p.getRightValue(Q);isNaN(q)||Z.data[ce].hidden||((null===p.min||qp.max)&&(p.max=q))})});p.min=isFinite(p.min)&&!isNaN(p.min)?p.min:0,p.max=isFinite(p.max)&&!isNaN(p.max)?p.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var p,y=this,w=y.options.ticks;if(y.isHorizontal())p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.width/50));else{var x=v.valueOrDefault(w.fontSize,I.global.defaultFontSize);p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.height/(2*x)))}return p},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,y){return+this.getRightValue(this.chart.data.datasets[y].data[p])},getPixelForValue:function(p){var y=this,w=y.start,x=+y.getRightValue(p),C=y.end-w;return y.isHorizontal()?y.left+y.width/C*(x-w):y.bottom-y.height/C*(x-w)},getValueForPixel:function(p){var y=this,w=y.isHorizontal();return y.start+(w?p-y.left:y.bottom-p)/(w?y.width:y.height)*(y.end-y.start)},getPixelForTick:function(p){return this.getPixelForValue(this.ticksAsNumbers[p])}});f.scaleService.registerScaleType("linear",M,h)}},8351:(le,me,F)=>{"use strict";var I=F(3305);le.exports=function(u){var f=I.noop;u.LinearScaleBase=u.Scale.extend({getRightValue:function(h){return"string"==typeof h?+h:u.Scale.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,p=h.options.ticks;if(p.beginAtZero){var y=I.sign(h.min),w=I.sign(h.max);y<0&&w<0?h.max=0:y>0&&w>0&&(h.min=0)}var x=void 0!==p.min||void 0!==p.suggestedMin,S=void 0!==p.max||void 0!==p.suggestedMax;void 0!==p.min?h.min=p.min:void 0!==p.suggestedMin&&(h.min=null===h.min?p.suggestedMin:Math.min(h.min,p.suggestedMin)),void 0!==p.max?h.max=p.max:void 0!==p.suggestedMax&&(h.max=null===h.max?p.suggestedMax:Math.max(h.max,p.suggestedMax)),x!==S&&h.min>=h.max&&(x?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,p.beginAtZero||h.min--)},getTickLimit:f,handleDirectionalChanges:f,buildTicks:function(){var h=this,p=h.options.ticks,y=h.getTickLimit(),w={maxTicks:y=Math.max(2,y),min:p.min,max:p.max,stepSize:I.valueOrDefault(p.fixedStepSize,p.stepSize)},x=h.ticks=function v(u,f){var M,h=[];if(u.stepSize&&u.stepSize>0)M=u.stepSize;else{var p=I.niceNum(f.max-f.min,!1);M=I.niceNum(p/(u.maxTicks-1),!0)}var y=Math.floor(f.min/M)*M,w=Math.ceil(f.max/M)*M;u.min&&u.max&&u.stepSize&&I.almostWhole((u.max-u.min)/u.stepSize,M/1e3)&&(y=u.min,w=u.max);var x=(w-y)/M;x=I.almostEquals(x,Math.round(x),M/1e3)?Math.round(x):Math.ceil(x);var S=1;M<1&&(S=Math.pow(10,M.toString().length-2),y=Math.round(y*S)/S,w=Math.round(w*S)/S),h.push(void 0!==u.min?u.min:y);for(var C=1;C{"use strict";var I=F(3305),v=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:v.formatters.logarithmic}},M=f.Scale.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function L(H){return C?H.xAxisID===p.id:H.yAxisID===p.id}p.min=null,p.max=null,p.minNotZero=null;var A=y.stacked;if(void 0===A&&I.each(S,function(H,K){if(!A){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&void 0!==re.stack&&(A=!0)}}),y.stacked||A){var j={};I.each(S,function(H,K){var re=w.getDatasetMeta(K),ve=[re.type,void 0===y.stacked&&void 0===re.stack?K:"",re.stack].join(".");w.isDatasetVisible(K)&&L(re)&&(void 0===j[ve]&&(j[ve]=[]),I.each(H.data,function(Z,Q){var ce=j[ve],q=+p.getRightValue(Z);isNaN(q)||re.data[Q].hidden||q<0||(ce[Q]=ce[Q]||0,ce[Q]+=q)}))}),I.each(j,function(H){if(H.length>0){var K=I.min(H),re=I.max(H);p.min=null===p.min?K:Math.min(p.min,K),p.max=null===p.max?re:Math.max(p.max,re)}})}else I.each(S,function(H,K){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&I.each(H.data,function(ve,Z){var Q=+p.getRightValue(ve);isNaN(Q)||re.data[Z].hidden||Q<0||((null===p.min||Qp.max)&&(p.max=Q),0!==Q&&(null===p.minNotZero||Q0?p.min:p.max<1?Math.pow(10,Math.floor(I.log10(p.max))):1)},buildTicks:function(){var p=this,w=p.options.ticks,x=!p.isHorizontal(),C=p.ticks=function u(f,h){var S,C,M=[],p=I.valueOrDefault,y=p(f.min,Math.pow(10,Math.floor(I.log10(h.min)))),w=Math.floor(I.log10(h.max)),x=Math.ceil(h.max/Math.pow(10,w));0===y?(S=Math.floor(I.log10(h.minNotZero)),C=Math.floor(h.minNotZero/Math.pow(10,S)),M.push(y),y=C*Math.pow(10,S)):(S=Math.floor(I.log10(y)),C=Math.floor(y/Math.pow(10,S)));var L=S<0?Math.pow(10,Math.abs(S)):1;do{M.push(y),10==++C&&(C=1,L=++S>=0?1:L),y=Math.round(C*Math.pow(10,S)*L)/L}while(S{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h=I.global,M={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:u.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(Z){return Z}}};function p(Z){var Q=Z.options;return Q.angleLines.display||Q.pointLabels.display?Z.chart.data.labels.length:0}function y(Z){var Q=Z.options.pointLabels,ce=v.valueOrDefault(Q.fontSize,h.defaultFontSize),q=v.valueOrDefault(Q.fontStyle,h.defaultFontStyle),ee=v.valueOrDefault(Q.fontFamily,h.defaultFontFamily);return{size:ce,style:q,family:ee,font:v.fontString(ce,q,ee)}}function w(Z,Q,ce){return v.isArray(ce)?{w:v.longestText(Z,Z.font,ce),h:ce.length*Q+1.5*(ce.length-1)*Q}:{w:Z.measureText(ce).width,h:Q}}function x(Z,Q,ce,q,ee){return Z===q||Z===ee?{start:Q-ce/2,end:Q+ce/2}:Zee?{start:Q-ce-5,end:Q}:{start:Q,end:Q+ce+5}}function L(Z){return 0===Z||180===Z?"center":Z<180?"left":"right"}function A(Z,Q,ce,q){if(v.isArray(Q))for(var ee=ce.y,ne=1.5*q,oe=0;oe270||Z<90)&&(ce.y-=Q.h)}function re(Z){return v.isNumber(Z)?Z:0}var ve=f.LinearScaleBase.extend({setDimensions:function(){var Z=this,Q=Z.options,ce=Q.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var q=v.min([Z.height,Z.width]),ee=v.valueOrDefault(ce.fontSize,h.defaultFontSize);Z.drawingArea=Q.display?q/2-(ee/2+ce.backdropPaddingY):q/2},determineDataLimits:function(){var Z=this,Q=Z.chart,ce=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;v.each(Q.data.datasets,function(ee,ne){if(Q.isDatasetVisible(ne)){var oe=Q.getDatasetMeta(ne);v.each(ee.data,function(ae,J){var Te=+Z.getRightValue(ae);isNaN(Te)||oe.data[J].hidden||(ce=Math.min(Te,ce),q=Math.max(Te,q))})}}),Z.min=ce===Number.POSITIVE_INFINITY?0:ce,Z.max=q===Number.NEGATIVE_INFINITY?0:q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,Q=v.valueOrDefault(Z.fontSize,h.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*Q)))},convertTicksToLabels:function(){var Z=this;f.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,Q){return+this.getRightValue(this.chart.data.datasets[Q].data[Z])},fit:function(){this.options.pointLabels.display?function S(Z){var ne,oe,ae,Q=y(Z),ce=Math.min(Z.height/2,Z.width/2),q={r:Z.width,l:0,t:Z.height,b:0},ee={};Z.ctx.font=Q.font,Z._pointLabelSizes=[];var J=p(Z);for(ne=0;neq.r&&(q.r=Ae.end,ee.r=Te),Ne.startq.b&&(q.b=Ne.end,ee.b=Te)}Z.setReductions(ce,q,ee)}(this):function C(Z){var Q=Math.min(Z.height/2,Z.width/2);Z.drawingArea=Math.round(Q),Z.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,Q,ce){var q=this,ee=Q.l/Math.sin(ce.l),ne=Math.max(Q.r-q.width,0)/Math.sin(ce.r),oe=-Q.t/Math.cos(ce.t),ae=-Math.max(Q.b-q.height,0)/Math.cos(ce.b);ee=re(ee),ne=re(ne),oe=re(oe),ae=re(ae),q.drawingArea=Math.min(Math.round(Z-(ee+ne)/2),Math.round(Z-(oe+ae)/2)),q.setCenterPoint(ee,ne,oe,ae)},setCenterPoint:function(Z,Q,ce,q){var ee=this,ae=ce+ee.drawingArea,J=ee.height-q-ee.drawingArea;ee.xCenter=Math.round((Z+ee.drawingArea+(ee.width-Q-ee.drawingArea))/2+ee.left),ee.yCenter=Math.round((ae+J)/2+ee.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/p(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var Q=this;if(null===Z)return 0;var ce=Q.drawingArea/(Q.max-Q.min);return Q.options.ticks.reverse?(Q.max-Z)*ce:(Z-Q.min)*ce},getPointPosition:function(Z,Q){var q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(q)*Q)+this.xCenter,y:Math.round(Math.sin(q)*Q)+this.yCenter}},getPointPositionForValue:function(Z,Q){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(Q))},getBasePosition:function(){var Z=this,Q=Z.min,ce=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:Q<0&&ce<0?ce:Q>0&&ce>0?Q:0)},draw:function(){var Z=this,Q=Z.options,ce=Q.gridLines,q=Q.ticks,ee=v.valueOrDefault;if(Q.display){var ne=Z.ctx,oe=this.getIndexAngle(0),ae=ee(q.fontSize,h.defaultFontSize),J=ee(q.fontStyle,h.defaultFontStyle),Te=ee(q.fontFamily,h.defaultFontFamily),ke=v.fontString(ae,J,Te);v.each(Z.ticks,function(Ae,Ne){if(Ne>0||q.reverse){var et=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Ne]);if(ce.display&&0!==Ne&&function K(Z,Q,ce,q){var ee=Z.ctx;if(ee.strokeStyle=v.valueAtIndexOrDefault(Q.color,q-1),ee.lineWidth=v.valueAtIndexOrDefault(Q.lineWidth,q-1),Z.options.gridLines.circular)ee.beginPath(),ee.arc(Z.xCenter,Z.yCenter,ce,0,2*Math.PI),ee.closePath(),ee.stroke();else{var ne=p(Z);if(0===ne)return;ee.beginPath();var oe=Z.getPointPosition(0,ce);ee.moveTo(oe.x,oe.y);for(var ae=1;ae=0;ae--){if(q.display){var J=Z.getPointPosition(ae,ne);Q.beginPath(),Q.moveTo(Z.xCenter,Z.yCenter),Q.lineTo(J.x,J.y),Q.stroke(),Q.closePath()}if(ee.display){var Te=Z.getPointPosition(ae,ne+5),ke=v.valueAtIndexOrDefault(ee.fontColor,ae,h.defaultFontColor);Q.font=oe.font,Q.fillStyle=ke;var Ae=Z.getIndexAngle(ae),Ne=v.toDegrees(Ae);Q.textAlign=L(Ne),j(Ne,Z._pointLabelSizes[ae],Te),A(Q,Z.pointLabels[ae]||"",Te,oe.size)}}}(Z)}}});f.scaleService.registerScaleType("radialLinear",ve,M)}},4215:(le,me,F)=>{"use strict";var I=F(5439);I="function"==typeof I?I:window.moment;var v=F(9800),u=F(3305),f=Number.MIN_SAFE_INTEGER||-9007199254740991,h=Number.MAX_SAFE_INTEGER||9007199254740991,M={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},p=Object.keys(M);function y(q,ee){return q-ee}function w(q){var oe,ae,J,ee={},ne=[];for(oe=0,ae=q.length;oe=0&&oe<=ae;){if(ke=q[J=oe+ae>>1],!(Te=q[J-1]||null))return{lo:null,hi:ke};if(ke[ee]ne))return{lo:Te,hi:ke};ae=J-1}}return{lo:ke,hi:null}}(q,ee,ne),J=ae.lo?ae.hi?ae.lo:q[q.length-2]:q[0],Te=ae.lo?ae.hi?ae.hi:q[q.length-1]:q[1],ke=Te[ee]-J[ee];return J[oe]+(Te[oe]-J[oe])*(ke?(ne-J[ee])/ke:0)}function L(q,ee){var ne=ee.parser,oe=ee.parser||ee.format;return"function"==typeof ne?ne(q):"string"==typeof q&&"string"==typeof oe?I(q,oe):(q instanceof I||(q=I(q)),q.isValid()?q:"function"==typeof oe?oe(q):q)}function A(q,ee){if(u.isNullOrUndef(q))return null;var ne=ee.options.time,oe=L(ee.getRightValue(q),ne);return oe.isValid()?(ne.round&&oe.startOf(ne.round),oe.valueOf()):null}function re(q){for(var ee=p.indexOf(q)+1,ne=p.length;ee=ae&&rt<=J&&Ne.push(rt);return oe.min=ae,oe.max=J,oe._unit=ke.unit||function K(q,ee,ne,oe){var Te,ke,ae=I.duration(I(oe).diff(I(ne)));for(Te=p.length-1;Te>=p.indexOf(ee);Te--)if(M[ke=p[Te]].common&&ae.as(ke)>=q.length)return ke;return p[ee?p.indexOf(ee):0]}(Ne,ke.minUnit,oe.min,oe.max),oe._majorUnit=re(oe._unit),oe._table=function x(q,ee,ne,oe){if("linear"===oe||!q.length)return[{time:ee,pos:0},{time:ne,pos:1}];var Te,ke,Ae,Ne,et,ae=[],J=[ee];for(Te=0,ke=q.length;Teee&&Ne1?ee[1]:oe,"pos")-C(q,"time",Ae,"pos"))/2),ae.time.max||(Ae=ee.length>1?ee[ee.length-2]:ne,Te=(C(q,"time",ee[ee.length-1],"pos")-C(q,"time",Ae,"pos"))/2)),{left:J,right:Te}}(oe._table,Ne,ae,J,Te),oe._labelFormat=function ce(q,ee){var ne,oe,ae,J=q.length;for(ne=0;ne=0&&oe0?Ne:1}});q.scaleService.registerScaleType("time",ne,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:(le,me,F)=>{var I=F(9914);function v(Q){if(Q){var ae=[0,0,0],J=1,Te=Q.match(/^#([a-fA-F0-9]{3})$/i);if(Te){Te=Te[1];for(var ke=0;ke{var I=F(7227),v=F(3207),u=function(f){return f instanceof u?f:this instanceof u?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof f?(h=v.getRgba(f))?this.setValues("rgb",h):(h=v.getHsla(f))?this.setValues("hsl",h):(h=v.getHwb(f))&&this.setValues("hwb",h):"object"==typeof f&&(void 0!==(h=f).r||void 0!==h.red?this.setValues("rgb",h):void 0!==h.l||void 0!==h.lightness?this.setValues("hsl",h):void 0!==h.v||void 0!==h.value?this.setValues("hsv",h):void 0!==h.w||void 0!==h.whiteness?this.setValues("hwb",h):(void 0!==h.c||void 0!==h.cyan)&&this.setValues("cmyk",h)))):new u(f);var h};u.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var f=this.values;return 1!==f.alpha?f.hwb.concat([f.alpha]):f.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var f=this.values;return f.rgb.concat([f.alpha])},hslaArray:function(){var f=this.values;return f.hsl.concat([f.alpha])},alpha:function(f){return void 0===f?this.values.alpha:(this.setValues("alpha",f),this)},red:function(f){return this.setChannel("rgb",0,f)},green:function(f){return this.setChannel("rgb",1,f)},blue:function(f){return this.setChannel("rgb",2,f)},hue:function(f){return f&&(f=(f%=360)<0?360+f:f),this.setChannel("hsl",0,f)},saturation:function(f){return this.setChannel("hsl",1,f)},lightness:function(f){return this.setChannel("hsl",2,f)},saturationv:function(f){return this.setChannel("hsv",1,f)},whiteness:function(f){return this.setChannel("hwb",1,f)},blackness:function(f){return this.setChannel("hwb",2,f)},value:function(f){return this.setChannel("hsv",2,f)},cyan:function(f){return this.setChannel("cmyk",0,f)},magenta:function(f){return this.setChannel("cmyk",1,f)},yellow:function(f){return this.setChannel("cmyk",2,f)},black:function(f){return this.setChannel("cmyk",3,f)},hexString:function(){return v.hexString(this.values.rgb)},rgbString:function(){return v.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return v.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return v.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return v.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return v.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return v.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return v.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var f=this.values.rgb;return f[0]<<16|f[1]<<8|f[2]},luminosity:function(){for(var f=this.values.rgb,h=[],M=0;MM?(h+.05)/(M+.05):(M+.05)/(h+.05)},level:function(f){var h=this.contrast(f);return h>=7.1?"AAA":h>=4.5?"AA":""},dark:function(){var f=this.values.rgb;return(299*f[0]+587*f[1]+114*f[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var f=[],h=0;h<3;h++)f[h]=255-this.values.rgb[h];return this.setValues("rgb",f),this},lighten:function(f){var h=this.values.hsl;return h[2]+=h[2]*f,this.setValues("hsl",h),this},darken:function(f){var h=this.values.hsl;return h[2]-=h[2]*f,this.setValues("hsl",h),this},saturate:function(f){var h=this.values.hsl;return h[1]+=h[1]*f,this.setValues("hsl",h),this},desaturate:function(f){var h=this.values.hsl;return h[1]-=h[1]*f,this.setValues("hsl",h),this},whiten:function(f){var h=this.values.hwb;return h[1]+=h[1]*f,this.setValues("hwb",h),this},blacken:function(f){var h=this.values.hwb;return h[2]+=h[2]*f,this.setValues("hwb",h),this},greyscale:function(){var f=this.values.rgb,h=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[h,h,h]),this},clearer:function(f){var h=this.values.alpha;return this.setValues("alpha",h-h*f),this},opaquer:function(f){var h=this.values.alpha;return this.setValues("alpha",h+h*f),this},rotate:function(f){var h=this.values.hsl,M=(h[0]+f)%360;return h[0]=M<0?360+M:M,this.setValues("hsl",h),this},mix:function(f,h){var M=this,p=f,y=void 0===h?.5:h,w=2*y-1,x=M.alpha()-p.alpha(),S=((w*x==-1?w:(w+x)/(1+w*x))+1)/2,C=1-S;return this.rgb(S*M.red()+C*p.red(),S*M.green()+C*p.green(),S*M.blue()+C*p.blue()).alpha(M.alpha()*y+p.alpha()*(1-y))},toJSON:function(){return this.rgb()},clone:function(){var p,y,f=new u,h=this.values,M=f.values;for(var w in h)h.hasOwnProperty(w)&&("[object Array]"===(y={}.toString.call(p=h[w]))?M[w]=p.slice(0):"[object Number]"===y?M[w]=p:console.error("unexpected color value:",p));return f}},u.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},u.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},u.prototype.getValues=function(f){for(var h=this.values,M={},p=0;p{function me(z){var fe,we,se=z[0]/255,ie=z[1]/255,de=z[2]/255,ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return _e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),we=(ue+_e)/2,[fe,100*(_e==ue?0:we<=.5?be/(_e+ue):be/(2-_e-ue)),100*we]}function F(z){var fe,ge,se=z[0],ie=z[1],de=z[2],ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return ge=0==_e?0:be/_e*1e3/10,_e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),[fe,ge,_e/255*1e3/10]}function I(z){var se=z[0],ie=z[1],_e=z[2];return[me(z)[0],1/255*Math.min(se,Math.min(ie,_e))*100,100*(_e=1-1/255*Math.max(se,Math.max(ie,_e)))]}function v(z){var fe,se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*((1-se-(fe=Math.min(1-se,1-ie,1-de)))/(1-fe)||0),100*((1-ie-fe)/(1-fe)||0),100*((1-de-fe)/(1-fe)||0),100*fe]}function u(z){return Xe[JSON.stringify(z)]}function f(z){var se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*(.4124*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.3576*(ie=ie>.04045?Math.pow((ie+.055)/1.055,2.4):ie/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*se+.7152*ie+.0722*de),100*(.0193*se+.1192*ie+.9505*de)]}function h(z){var se=f(z),ie=se[0],de=se[1],ue=se[2];return de/=100,ue/=108.883,ie=(ie/=95.047)>.008856?Math.pow(ie,1/3):7.787*ie+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(ie-de),200*(de-(ue=ue>.008856?Math.pow(ue,1/3):7.787*ue+16/116))]}function p(z){var ue,_e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100;if(0==ie)return[ge=255*de,ge,ge];ue=2*de-(_e=de<.5?de*(1+ie):de+ie-de*ie),fe=[0,0,0];for(var we=0;we<3;we++)(be=se+1/3*-(we-1))<0&&be++,be>1&&be--,fe[we]=255*(ge=6*be<1?ue+6*(_e-ue)*be:2*be<1?_e:3*be<2?ue+(_e-ue)*(2/3-be)*6:ue);return fe}function C(z){var se=z[0]/60,ie=z[1]/100,ge=z[2]/100,de=Math.floor(se)%6,ue=se-Math.floor(se),_e=255*ge*(1-ie),be=255*ge*(1-ie*ue),fe=255*ge*(1-ie*(1-ue));switch(ge*=255,de){case 0:return[ge,fe,_e];case 1:return[be,ge,_e];case 2:return[_e,ge,fe];case 3:return[_e,be,ge];case 4:return[fe,_e,ge];case 5:return[ge,_e,be]}}function K(z){var _e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100,ue=ie+de;switch(ue>1&&(ie/=ue,de/=ue),fe=6*se-(_e=Math.floor(6*se)),0!=(1&_e)&&(fe=1-fe),ge=ie+fe*((be=1-de)-ie),_e){default:case 6:case 0:r=be,g=ge,b=ie;break;case 1:r=ge,g=be,b=ie;break;case 2:r=ie,g=be,b=ge;break;case 3:r=ie,g=ge,b=be;break;case 4:r=ge,g=ie,b=be;break;case 5:r=be,g=ie,b=ge}return[255*r,255*g,255*b]}function ce(z){var ie=z[1]/100,de=z[2]/100,ue=z[3]/100;return[255*(1-Math.min(1,z[0]/100*(1-ue)+ue)),255*(1-Math.min(1,ie*(1-ue)+ue)),255*(1-Math.min(1,de*(1-ue)+ue))]}function ae(z){var ue,_e,be,se=z[0]/100,ie=z[1]/100,de=z[2]/100;return _e=-.9689*se+1.8758*ie+.0415*de,be=.0557*se+-.204*ie+1.057*de,ue=(ue=3.2406*se+-1.5372*ie+-.4986*de)>.0031308?1.055*Math.pow(ue,1/2.4)-.055:ue*=12.92,_e=_e>.0031308?1.055*Math.pow(_e,1/2.4)-.055:_e*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(ue=Math.min(Math.max(0,ue),1)),255*(_e=Math.min(Math.max(0,_e),1)),255*(be=Math.min(Math.max(0,be),1))]}function J(z){var se=z[0],ie=z[1],de=z[2];return ie/=100,de/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(ie=ie>.008856?Math.pow(ie,1/3):7.787*ie+16/116)-16,500*(se-ie),200*(ie-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function ke(z){var ue,_e,be,fe,se=z[0],ie=z[1],de=z[2];return se<=8?fe=(_e=100*se/903.3)/100*7.787+16/116:(_e=100*Math.pow((se+16)/116,3),fe=Math.pow(_e/100,1/3)),[ue=ue/95.047<=.008856?ue=95.047*(ie/500+fe-16/116)/7.787:95.047*Math.pow(ie/500+fe,3),_e,be=be/108.883<=.008859?be=108.883*(fe-de/200-16/116)/7.787:108.883*Math.pow(fe-de/200,3)]}function Ae(z){var _e,se=z[0],ie=z[1],de=z[2];return(_e=360*Math.atan2(de,ie)/2/Math.PI)<0&&(_e+=360),[se,Math.sqrt(ie*ie+de*de),_e]}function Ne(z){return ae(ke(z))}function et(z){var be,ie=z[1];return be=z[2]/360*2*Math.PI,[z[0],ie*Math.cos(be),ie*Math.sin(be)]}function Bt(z){return Kn[z]}le.exports={rgb2hsl:me,rgb2hsv:F,rgb2hwb:I,rgb2cmyk:v,rgb2keyword:u,rgb2xyz:f,rgb2lab:h,rgb2lch:function M(z){return Ae(h(z))},hsl2rgb:p,hsl2hsv:function y(z){var ie=z[1]/100,de=z[2]/100;return 0===de?[0,0,0]:[z[0],2*(ie*=(de*=2)<=1?de:2-de)/(de+ie)*100,(de+ie)/2*100]},hsl2hwb:function w(z){return I(p(z))},hsl2cmyk:function x(z){return v(p(z))},hsl2keyword:function S(z){return u(p(z))},hsv2rgb:C,hsv2hsl:function L(z){var ue,_e,ie=z[1]/100,de=z[2]/100;return ue=ie*de,[z[0],100*(ue=(ue/=(_e=(2-ie)*de)<=1?_e:2-_e)||0),100*(_e/=2)]},hsv2hwb:function A(z){return I(C(z))},hsv2cmyk:function j(z){return v(C(z))},hsv2keyword:function H(z){return u(C(z))},hwb2rgb:K,hwb2hsl:function re(z){return me(K(z))},hwb2hsv:function ve(z){return F(K(z))},hwb2cmyk:function Z(z){return v(K(z))},hwb2keyword:function Q(z){return u(K(z))},cmyk2rgb:ce,cmyk2hsl:function q(z){return me(ce(z))},cmyk2hsv:function ee(z){return F(ce(z))},cmyk2hwb:function ne(z){return I(ce(z))},cmyk2keyword:function oe(z){return u(ce(z))},keyword2rgb:Bt,keyword2hsl:function ln(z){return me(Bt(z))},keyword2hsv:function Rn(z){return F(Bt(z))},keyword2hwb:function Mn(z){return I(Bt(z))},keyword2cmyk:function Sn(z){return v(Bt(z))},keyword2lab:function je(z){return h(Bt(z))},keyword2xyz:function jn(z){return f(Bt(z))},xyz2rgb:ae,xyz2lab:J,xyz2lch:function Te(z){return Ae(J(z))},lab2xyz:ke,lab2rgb:Ne,lab2lch:Ae,lch2lab:et,lch2xyz:function st(z){return ke(et(z))},lch2rgb:function rt(z){return Ne(et(z))}};var Kn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Xe={};for(var Ge in Kn)Xe[JSON.stringify(Kn[Ge])]=Ge},7227:(le,me,F)=>{var I=F(4126),v=function(){return new p};for(var u in I){v[u+"Raw"]=function(y){return function(w){return"number"==typeof w&&(w=Array.prototype.slice.call(arguments)),I[y](w)}}(u);var f=/(\w+)2(\w+)/.exec(u),h=f[1],M=f[2];(v[h]=v[h]||{})[M]=v[u]=function(y){return function(w){"number"==typeof w&&(w=Array.prototype.slice.call(arguments));var x=I[y](w);if("string"==typeof x||void 0===x)return x;for(var S=0;S{le.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7088:function(le,me,F){!function(I){"use strict";I.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(u){return/^nm$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"vm":"VM":h?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},2502:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(F(5439))},128:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(F(5439))},4519:function(le,me,F){!function(I){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},h=function(y){return function(w,x,S,C){var L=u(w),A=f[y][u(w)];return 2===L&&(A=A[x?0:1]),A.replace(/%d/i,w)}},M=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar-ly",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,w,x){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(w){return v[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},5443:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(F(5439))},7642:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};I.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(h){return"\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(h){return h.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(F(5439))},8592:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(F(5439))},7038:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},f=function(w){return 0===w?0:1===w?1:2===w?2:w%100>=3&&w%100<=10?3:w%100>=11?4:5},h={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(w){return function(x,S,C,L){var A=f(x),j=h[w][f(x)];return 2===A&&(j=j[S?0:1]),j.replace(/%d/i,x)}},p=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(w){return"\u0645"===w},meridiem:function(w,x,S){return w<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return u[x]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(x){return v[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},1213:function(le,me,F){!function(I){"use strict";var v={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};I.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(f){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(f)},meridiem:function(f,h,M){return f<4?"gec\u0259":f<12?"s\u0259h\u0259r":f<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(f){if(0===f)return f+"-\u0131nc\u0131";var h=f%10;return f+(v[h]||v[f%100-h]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9191:function(le,me,F){!function(I){"use strict";function u(h,M,p){return"m"===p?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":h+" "+function v(h,M){var p=h.split("_");return M%10==1&&M%100!=11?p[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?p[1]:p[2]}({ss:M?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[p],+h)}I.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(h)},meridiem:function(h,M,p){return h<4?"\u043d\u043e\u0447\u044b":h<12?"\u0440\u0430\u043d\u0456\u0446\u044b":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(h,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return h%10!=2&&h%10!=3||h%100==12||h%100==13?h+"-\u044b":h+"-\u0456";case"D":return h+"-\u0433\u0430";default:return h}},week:{dow:1,doy:7}})}(F(5439))},322:function(le,me,F){!function(I){"use strict";I.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},8042:function(le,me,F){!function(I){"use strict";I.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(F(5439))},9620:function(le,me,F){!function(I){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};I.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(h){return h.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u09b0\u09be\u09a4"===M&&h>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&h<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u09b0\u09be\u09a4":h<10?"\u09b8\u0995\u09be\u09b2":h<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":h<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(F(5439))},9645:function(le,me,F){!function(I){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};I.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(h){return h.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&h>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&h<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":h<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":h<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":h<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(F(5439))},5020:function(le,me,F){!function(I){"use strict";function v(y,w,x){return y+" "+function h(y,w){return 2===w?function M(y){var w={m:"v",b:"v",d:"z"};return void 0===w[y.charAt(0)]?y:w[y.charAt(0)]+y.substring(1)}(y):y}({mm:"munutenn",MM:"miz",dd:"devezh"}[x],y)}function f(y){return y>9?f(y%10):y}I.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:function u(y){switch(f(y)){case 1:case 3:case 4:case 5:case 9:return y+" bloaz";default:return y+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y){return y+(1===y?"a\xf1":"vet")},week:{dow:1,doy:4}})}(F(5439))},4792:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7980:function(le,me,F){!function(I){"use strict";I.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,f){var h=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===f||"W"===f)&&(h="a"),u+h},week:{dow:1,doy:4}})}(F(5439))},7322:function(le,me,F){!function(I){"use strict";var v="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function f(p){return p>1&&p<5&&1!=~~(p/10)}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sekund"):S+"sekundami";case"m":return y?"minuta":x?"minutu":"minutou";case"mm":return y||x?S+(f(p)?"minuty":"minut"):S+"minutami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hodin"):S+"hodinami";case"d":return y||x?"den":"dnem";case"dd":return y||x?S+(f(p)?"dny":"dn\xed"):S+"dny";case"M":return y||x?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||x?S+(f(p)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):S+"m\u011bs\xedci";case"y":return y||x?"rok":"rokem";case"yy":return y||x?S+(f(p)?"roky":"let"):S+"lety"}}I.defineLocale("cs",{months:v,monthsShort:u,monthsParse:function(p,y){var w,x=[];for(w=0;w<12;w++)x[w]=new RegExp("^"+p[w]+"$|^"+y[w]+"$","i");return x}(v,u),shortMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(u),longMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(v),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},365:function(le,me,F){!function(I){"use strict";I.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(F(5439))},2092:function(le,me,F){!function(I){"use strict";I.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(u){var h="";return u>20?h=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(h=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+h},week:{dow:1,doy:4}})}(F(5439))},7387:function(le,me,F){!function(I){"use strict";I.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9459:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3694:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4307:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9659:function(le,me,F){!function(I){"use strict";var v=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],u=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];I.defineLocale("dv",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(h){return"\u0789\u078a"===h},meridiem:function(h,M,p){return h<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(F(5439))},3460:function(le,me,F){!function(I){"use strict";I.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(f,h){return f?"string"==typeof h&&/D/.test(h.substring(0,h.indexOf("MMMM")))?this._monthsGenitiveEl[f.month()]:this._monthsNominativeEl[f.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(f,h,M){return f>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(f){return"\u03bc"===(f+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(f,h){var M=this._calendarEl[f],p=h&&h.hours();return function v(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}(M)&&(M=M.apply(h)),M.replace("{}",p%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(F(5439))},4369:function(le,me,F){!function(I){"use strict";I.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},530:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},9998:function(le,me,F){!function(I){"use strict";I.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},3391:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},5414:function(le,me,F){!function(I){"use strict";I.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},1248:function(le,me,F){!function(I){"use strict";I.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},4530:function(le,me,F){!function(I){"use strict";I.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,f,h){return u>11?h?"p.t.m.":"P.T.M.":h?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(F(5439))},8944:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},3609:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");I.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(F(5439))},6866:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},6725:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[f+"sekundi",f+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[f+" minuti",f+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[f+" tunni",f+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[f+" kuu",f+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[f+" aasta",f+" aastat"]};return h?y[M][2]?y[M][2]:y[M][1]:p?y[M][0]:y[M][1]}I.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7931:function(le,me,F){!function(I){"use strict";I.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6417:function(le,me,F){!function(I){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};I.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(h){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(h)},meridiem:function(h,M,p){return h<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/[\u06f0-\u06f9]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(F(5439))},944:function(le,me,F){!function(I){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function f(p,y,w,x){var S="";switch(w){case"s":return x?"muutaman sekunnin":"muutama sekunti";case"ss":return x?"sekunnin":"sekuntia";case"m":return x?"minuutin":"minuutti";case"mm":S=x?"minuutin":"minuuttia";break;case"h":return x?"tunnin":"tunti";case"hh":S=x?"tunnin":"tuntia";break;case"d":return x?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":S=x?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return x?"kuukauden":"kuukausi";case"MM":S=x?"kuukauden":"kuukautta";break;case"y":return x?"vuoden":"vuosi";case"yy":S=x?"vuoden":"vuotta"}return function h(p,y){return p<10?y?u[p]:v[p]:p}(p,x)+" "+S}I.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5867:function(le,me,F){!function(I){"use strict";I.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},6848:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(F(5439))},7773:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},1636:function(le,me,F){!function(I){"use strict";I.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,f){switch(f){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},4940:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");I.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},6924:function(le,me,F){!function(I){"use strict";I.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(y){return y+(1===y?"d":y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(F(5439))},6398:function(le,me,F){!function(I){"use strict";I.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(u){return 0===u.indexOf("un")?"n"+u:"en "+u},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2545:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["thodde secondanim","thodde second"],ss:[f+" secondanim",f+" second"],m:["eka mintan","ek minute"],mm:[f+" mintanim",f+" mintam"],h:["eka horan","ek hor"],hh:[f+" horanim",f+" horam"],d:["eka disan","ek dis"],dd:[f+" disanim",f+" dis"],M:["eka mhoinean","ek mhoino"],MM:[f+" mhoineanim",f+" mhoine"],y:["eka vorsan","ek voros"],yy:[f+" vorsanim",f+" vorsam"]};return h?y[M][0]:y[M][1]}I.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,h){return"D"===h?f+"er":f},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,h){return 12===f&&(f=0),"rati"===h?f<4?f:f+12:"sokalli"===h?f:"donparam"===h?f>12?f:f+12:"sanje"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(F(5439))},2641:function(le,me,F){!function(I){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};I.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(h){return h.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0ab0\u0abe\u0aa4"===M?h<4?h:h+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?h:"\u0aac\u0aaa\u0acb\u0ab0"===M?h>=10?h:h+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0ab0\u0abe\u0aa4":h<10?"\u0ab8\u0ab5\u0abe\u0ab0":h<17?"\u0aac\u0aaa\u0acb\u0ab0":h<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(F(5439))},7536:function(le,me,F){!function(I){"use strict";I.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,f,h){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?h?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?h?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(F(5439))},6335:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924"===M?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===M?h:"\u0926\u094b\u092a\u0939\u0930"===M?h>=10?h:h+12:"\u0936\u093e\u092e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(F(5439))},7458:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6540:function(le,me,F){!function(I){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(M,p,y,w){var x=M;switch(y){case"s":return w||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return x+(w||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(w||p?" perc":" perce");case"mm":return x+(w||p?" perc":" perce");case"h":return"egy"+(w||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return x+(w||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(w||p?" nap":" napja");case"dd":return x+(w||p?" nap":" napja");case"M":return"egy"+(w||p?" h\xf3nap":" h\xf3napja");case"MM":return x+(w||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(w||p?" \xe9v":" \xe9ve");case"yy":return x+(w||p?" \xe9v":" \xe9ve")}return""}function f(M){return(M?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}I.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,p,y){return M<12?!0===y?"de":"DE":!0===y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return f.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return f.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5283:function(le,me,F){!function(I){"use strict";I.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(u,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(F(5439))},8780:function(le,me,F){!function(I){"use strict";I.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"siang"===f?u>=11?u:u+12:"sore"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"siang":u<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},4205:function(le,me,F){!function(I){"use strict";function v(h){return h%100==11||h%10!=1}function u(h,M,p,y){var w=h+" ";switch(p){case"s":return M||y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(h)?w+(M||y?"sek\xfandur":"sek\xfandum"):w+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(h)?w+(M||y?"m\xedn\xfatur":"m\xedn\xfatum"):M?w+"m\xedn\xfata":w+"m\xedn\xfatu";case"hh":return v(h)?w+(M||y?"klukkustundir":"klukkustundum"):w+"klukkustund";case"d":return M?"dagur":y?"dag":"degi";case"dd":return v(h)?M?w+"dagar":w+(y?"daga":"d\xf6gum"):M?w+"dagur":w+(y?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(h)?M?w+"m\xe1nu\xf0ir":w+(y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?w+"m\xe1nu\xf0ur":w+(y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||y?"\xe1r":"\xe1ri";case"yy":return v(h)?w+(M||y?"\xe1r":"\xe1rum"):w+(M||y?"\xe1r":"\xe1ri")}}I.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4211:function(le,me,F){!function(I){"use strict";I.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},1003:function(le,me,F){!function(I){"use strict";I.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(u){return"\u5348\u5f8c"===u},meridiem:function(u,f,h){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()=11?u:u+12:"sonten"===f||"ndalu"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"enjing":u<15?"siyang":u<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(F(5439))},851:function(le,me,F){!function(I){"use strict";I.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(u)?u.replace(/\u10d8$/,"\u10e8\u10d8"):u+"\u10e8\u10d8"},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(F(5439))},6074:function(le,me,F){!function(I){"use strict";var v={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};I.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},3343:function(le,me,F){!function(I){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};I.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(h){return"\u179b\u17d2\u1784\u17b6\u1785"===h},meridiem:function(h,M,p){return h<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(h){return h.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},4799:function(le,me,F){!function(I){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};I.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(h){return h.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?h<4?h:h+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?h:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?h>=10?h:h+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":h<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":h<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":h<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(h){return h+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(F(5439))},3549:function(le,me,F){!function(I){"use strict";I.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,f,h){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(F(5439))},3125:function(le,me,F){!function(I){"use strict";var v={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};I.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9586:function(le,me,F){!function(I){"use strict";function v(p,y,w,x){var S={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return y?S[w][0]:S[w][1]}function h(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;if(p<10)return 4<=p&&p<=7;if(p<100){var y=p%10;return h(0===y?p/10:y)}if(p<1e4){for(;p>=10;)p/=10;return h(p)}return h(p/=1e3)}I.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function u(p){return h(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function f(p){return h(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2349:function(le,me,F){!function(I){"use strict";I.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,f,h){return u<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(u){return"\u0e97\u0eb5\u0ec8"+u}})}(F(5439))},2400:function(le,me,F){!function(I){"use strict";var v={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function f(w,x,S,C){return x?M(S)[0]:C?M(S)[1]:M(S)[2]}function h(w){return w%10==0||w>10&&w<20}function M(w){return v[w].split("_")}function p(w,x,S,C){var L=w+" ";return 1===w?L+f(0,x,S[0],C):x?L+(h(w)?M(S)[1]:M(S)[0]):C?L+M(S)[1]:L+(h(w)?M(S)[1]:M(S)[2])}I.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function u(w,x,S,C){return x?"kelios sekund\u0117s":C?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:f,mm:p,h:f,hh:p,d:f,dd:p,M:f,MM:p,y:f,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(w){return w+"-oji"},week:{dow:1,doy:4}})}(F(5439))},9991:function(le,me,F){!function(I){"use strict";var v={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function u(y,w,x){return x?w%10==1&&w%100!=11?y[2]:y[3]:w%10==1&&w%100!=11?y[0]:y[1]}function f(y,w,x){return y+" "+u(v[x],y,w)}function h(y,w,x){return u(v[x],y,w)}I.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function M(y,w){return w?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:f,m:h,mm:f,h,hh:f,d:h,dd:f,M:h,MM:f,y:h,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8477:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},5118:function(le,me,F){!function(I){"use strict";I.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5943:function(le,me,F){!function(I){"use strict";I.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},3849:function(le,me,F){!function(I){"use strict";I.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?u+12:u},meridiem:function(u,f,h){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(F(5439))},1977:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){switch(M){case"s":return h?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return f+(h?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return f+(h?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return f+(h?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return f+(h?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return f+(h?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return f+(h?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return f}}I.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(f){return"\u04ae\u0425"===f},meridiem:function(f,h,M){return f<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,h){switch(h){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(F(5439))},6184:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function f(M,p,y,w){var x="";if(p)switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":x="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":x="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":x="%d \u0924\u093e\u0938";break;case"d":x="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":x="%d \u0926\u093f\u0935\u0938";break;case"M":x="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":x="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u0947"}else switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":x="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":x="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":x="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":x="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":x="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":x="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":x="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return x.replace(/%d/i,M)}I.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return u[p]})},postformat:function(M){return M.replace(/\d/g,function(p){return v[p]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(M,p){return 12===M&&(M=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===p?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940"===p?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===p?M>=10?M:M+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p?M+12:void 0},meridiem:function(M,p,y){return M<4?"\u0930\u093e\u0924\u094d\u0930\u0940":M<10?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(F(5439))},4524:function(le,me,F){!function(I){"use strict";I.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},485:function(le,me,F){!function(I){"use strict";I.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},6681:function(le,me,F){!function(I){"use strict";I.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2024:function(le,me,F){!function(I){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};I.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(h){return h.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},2688:function(le,me,F){!function(I){"use strict";I.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8914:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924\u093f"===M?h<4?h:h+12:"\u092c\u093f\u0939\u093e\u0928"===M?h:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?h>=10?h:h+12:"\u0938\u093e\u0901\u091d"===M?h+12:void 0},meridiem:function(h,M,p){return h<3?"\u0930\u093e\u0924\u093f":h<12?"\u092c\u093f\u0939\u093e\u0928":h<16?"\u0926\u093f\u0909\u0901\u0938\u094b":h<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(F(5439))},2272:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1758:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1510:function(le,me,F){!function(I){"use strict";I.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7944:function(le,me,F){!function(I){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};I.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(h){return h.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0a30\u0a3e\u0a24"===M?h<4?h:h+12:"\u0a38\u0a35\u0a47\u0a30"===M?h:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?h>=10?h:h+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0a30\u0a3e\u0a24":h<10?"\u0a38\u0a35\u0a47\u0a30":h<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":h<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(F(5439))},1605:function(le,me,F){!function(I){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function f(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function h(p,y,w){var x=p+" ";switch(w){case"ss":return x+(f(p)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return x+(f(p)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return x+(f(p)?"godziny":"godzin");case"MM":return x+(f(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(f(p)?"lata":"lat")}}I.defineLocale("pl",{months:function(p,y){return p?""===y?"("+u[p.month()]+"|"+v[p.month()]+")":/D MMMM/.test(y)?u[p.month()]:v[p.month()]:v},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h,m:h,mm:h,h,hh:h,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3840:function(le,me,F){!function(I){"use strict";I.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(F(5439))},4225:function(le,me,F){!function(I){"use strict";I.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5128:function(le,me,F){!function(I){"use strict";function v(f,h,M){var y=" ";return(f%100>=20||f>=100&&f%100==0)&&(y=" de "),f+y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[M]}I.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(F(5439))},5127:function(le,me,F){!function(I){"use strict";function u(M,p,y){return"m"===y?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+function v(M,p){var y=M.split("_");return p%10==1&&p%100!=11?y[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?y[1]:y[2]}({ss:p?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:p?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[y],+M)}var f=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];I.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:f,longMonthsParse:f,shortMonthsParse:f,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,p,y){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,p){switch(p){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(F(5439))},2525:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],u=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];I.defineLocale("sd",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},9893:function(le,me,F){!function(I){"use strict";I.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3123:function(le,me,F){!function(I){"use strict";I.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,f,h){return u>11?h?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":h?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(F(5439))},9635:function(le,me,F){!function(I){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function f(p){return p>1&&p<5}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sek\xfand"):S+"sekundami";case"m":return y?"min\xfata":x?"min\xfatu":"min\xfatou";case"mm":return y||x?S+(f(p)?"min\xfaty":"min\xfat"):S+"min\xfatami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hod\xedn"):S+"hodinami";case"d":return y||x?"de\u0148":"d\u0148om";case"dd":return y||x?S+(f(p)?"dni":"dn\xed"):S+"d\u0148ami";case"M":return y||x?"mesiac":"mesiacom";case"MM":return y||x?S+(f(p)?"mesiace":"mesiacov"):S+"mesiacmi";case"y":return y||x?"rok":"rokom";case"yy":return y||x?S+(f(p)?"roky":"rokov"):S+"rokmi"}}I.defineLocale("sk",{months:v,monthsShort:u,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8106:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y=f+" ";switch(M){case"s":return h||p?"nekaj sekund":"nekaj sekundami";case"ss":return y+(1===f?h?"sekundo":"sekundi":2===f?h||p?"sekundi":"sekundah":f<5?h||p?"sekunde":"sekundah":"sekund");case"m":return h?"ena minuta":"eno minuto";case"mm":return y+(1===f?h?"minuta":"minuto":2===f?h||p?"minuti":"minutama":f<5?h||p?"minute":"minutami":h||p?"minut":"minutami");case"h":return h?"ena ura":"eno uro";case"hh":return y+(1===f?h?"ura":"uro":2===f?h||p?"uri":"urama":f<5?h||p?"ure":"urami":h||p?"ur":"urami");case"d":return h||p?"en dan":"enim dnem";case"dd":return y+(1===f?h||p?"dan":"dnem":2===f?h||p?"dni":"dnevoma":h||p?"dni":"dnevi");case"M":return h||p?"en mesec":"enim mesecem";case"MM":return y+(1===f?h||p?"mesec":"mesecem":2===f?h||p?"meseca":"mesecema":f<5?h||p?"mesece":"meseci":h||p?"mesecev":"meseci");case"y":return h||p?"eno leto":"enim letom";case"yy":return y+(1===f?h||p?"leto":"letom":2===f?h||p?"leti":"letoma":f<5?h||p?"leta":"leti":h||p?"let":"leti")}}I.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},8799:function(le,me,F){!function(I){"use strict";I.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(u){return"M"===u.charAt(0)},meridiem:function(u,f,h){return u<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2872:function(le,me,F){!function(I){"use strict";var v={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"\u0434\u0430\u043d",dd:v.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:v.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7949:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6167:function(le,me,F){!function(I){"use strict";I.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(u,f,h){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,f){return 12===u&&(u=0),"ekuseni"===f?u:"emini"===f?u>=11?u:u+12:"entsambama"===f||"ebusuku"===f?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(F(5439))},9713:function(le,me,F){!function(I){"use strict";I.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(F(5439))},1982:function(le,me,F){!function(I){"use strict";I.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(F(5439))},2732:function(le,me,F){!function(I){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};I.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(h){return h+"\u0bb5\u0ba4\u0bc1"},preparse:function(h){return h.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(h,M,p){return h<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":h<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":h<10?" \u0b95\u0bbe\u0bb2\u0bc8":h<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":h<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":h<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(h,M){return 12===h&&(h=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?h<2?h:h+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&h>=10?h:h+12},week:{dow:0,doy:6}})}(F(5439))},3636:function(le,me,F){!function(I){"use strict";I.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===f?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?u+12:void 0},meridiem:function(u,f,h){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(F(5439))},2115:function(le,me,F){!function(I){"use strict";I.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9801:function(le,me,F){!function(I){"use strict";var v={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};I.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(f,h){return 12===f&&(f=0),"\u0448\u0430\u0431"===h?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===h?f:"\u0440\u04ef\u0437"===h?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"\u0448\u0430\u0431":f<11?"\u0441\u0443\u0431\u04b3":f<16?"\u0440\u04ef\u0437":f<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},2868:function(le,me,F){!function(I){"use strict";I.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,f,h){return u<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(F(5439))},2360:function(le,me,F){!function(I){"use strict";I.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},6645:function(le,me,F){!function(I){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function h(y,w,x,S){var C=function M(y){var w=Math.floor(y%1e3/100),x=Math.floor(y%100/10),S=y%10,C="";return w>0&&(C+=v[w]+"vatlh"),x>0&&(C+=(""!==C?" ":"")+v[x]+"maH"),S>0&&(C+=(""!==C?" ":"")+v[S]),""===C?"pagh":C}(y);switch(x){case"ss":return C+" lup";case"mm":return C+" tup";case"hh":return C+" rep";case"dd":return C+" jaj";case"MM":return C+" jar";case"yy":return C+" DIS"}}I.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function u(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"leS":-1!==y.indexOf("jar")?w.slice(0,-3)+"waQ":-1!==y.indexOf("DIS")?w.slice(0,-3)+"nem":w+" pIq"},past:function f(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"Hu\u2019":-1!==y.indexOf("jar")?w.slice(0,-3)+"wen":-1!==y.indexOf("DIS")?w.slice(0,-3)+"ben":w+" ret"},s:"puS lup",ss:h,m:"wa\u2019 tup",mm:h,h:"wa\u2019 rep",hh:h,d:"wa\u2019 jaj",dd:h,M:"wa\u2019 jar",MM:h,y:"wa\u2019 DIS",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8374:function(le,me,F){!function(I){"use strict";var v={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};I.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(f,h){switch(h){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var M=f%10;return f+(v[M]||v[f%100-M]||v[f>=100?100:null])}},week:{dow:1,doy:7}})}(F(5439))},256:function(le,me,F){!function(I){"use strict";function u(f,h,M,p){var y={s:["viensas secunds","'iensas secunds"],ss:[f+" secunds",f+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[f+" m\xeduts",f+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[f+" \xfeoras",f+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[f+" ziuas",f+" ziuas"],M:["'n mes","'iens mes"],MM:[f+" mesen",f+" mesen"],y:["'n ar","'iens ar"],yy:[f+" ars",f+" ars"]};return p||h?y[M][0]:y[M][1]}I.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(f){return"d'o"===f.toLowerCase()},meridiem:function(f,h,M){return f>11?M?"d'o":"D'O":M?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},1631:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(F(5439))},1595:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(F(5439))},6050:function(le,me,F){!function(I){"use strict";I.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===f||"\u0633\u06d5\u06be\u06d5\u0631"===f||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===f?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(F(5439))},5610:function(le,me,F){!function(I){"use strict";function u(p,y,w){return"m"===w?y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===w?y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function v(p,y){var w=p.split("_");return y%10==1&&y%100!=11?w[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?w[1]:w[2]}({ss:y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:y?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[w],+p)}function h(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}I.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function f(p,y){var w={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return p?w[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(y)?"genitive":"nominative"][p.day()]:w.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:h("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:h("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:h("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:h("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,y,w){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,y){switch(y){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(F(5439))},6077:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],u=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];I.defineLocale("ur",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},2207:function(le,me,F){!function(I){"use strict";I.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(F(5439))},2862:function(le,me,F){!function(I){"use strict";I.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(F(5439))},8093:function(le,me,F){!function(I){"use strict";I.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(u){return/^ch$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"sa":"SA":h?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},5590:function(le,me,F){!function(I){"use strict";I.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9058:function(le,me,F){!function(I){"use strict";I.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(F(5439))},7908:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(F(5439))},8867:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},3291:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},5439:function(le,me,F){(le=F.nmd(le)).exports=function(){"use strict";var I,H;function v(){return I.apply(null,arguments)}function f(m){return m instanceof Array||"[object Array]"===Object.prototype.toString.call(m)}function h(m){return null!=m&&"[object Object]"===Object.prototype.toString.call(m)}function p(m){return void 0===m}function y(m){return"number"==typeof m||"[object Number]"===Object.prototype.toString.call(m)}function w(m){return m instanceof Date||"[object Date]"===Object.prototype.toString.call(m)}function x(m,P){var G,V=[];for(G=0;G>>0,G=0;G0)for(V=0;V=0?V?"+":"":"-")+Math.pow(10,Math.max(0,P-G.length)).toString().substr(1)+G}var Ee=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ze=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},dt={};function tt(m,P,V,G){var te=G;"string"==typeof G&&(te=function(){return this[G]()}),m&&(dt[m]=te),P&&(dt[P[0]]=function(){return we(te.apply(this,arguments),P[1],P[2])}),V&&(dt[V]=function(){return this.localeData().ordinal(te.apply(this,arguments),m)})}function Yt(m){return m.match(/\[[\s\S]/)?m.replace(/^\[|\]$/g,""):m.replace(/\\/g,"")}function Rt(m,P){return m.isValid()?(P=Gt(P,m.localeData()),ut[P]=ut[P]||function wn(m){var V,G,P=m.match(Ee);for(V=0,G=P.length;V=0&&Ze.test(m);)m=m.replace(Ze,G),Ze.lastIndex=0,V-=1;return m}var Dn=/\d/,ti=/\d\d/,Ss=/\d{3}/,Fs=/\d{4}/,yi=/[+-]?\d{6}/,Zt=/\d\d?/,fi=/\d\d\d\d?/,ni=/\d\d\d\d\d\d?/,mn=/\d{1,3}/,_n=/\d{1,4}/,la=/[+-]?\d{1,6}/,kn=/\d+/,ca=/[+-]?\d+/,S_=/Z|[+-]\d\d:?\d\d/gi,sn=/Z|[+-]\d\d(?::?\d\d)?/gi,Po=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,jh={};function Le(m,P,V){jh[m]=Ae(P)?P:function(G,te){return G&&V?V:P}}function Bl(m,P){return S(jh,m)?jh[m](P._strict,P._locale):new RegExp(function xt(m){return zt(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,V,G,te,xe){return V||G||te||xe}))}(m))}function zt(m){return m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Tu={};function Un(m,P){var V,G=P;for("string"==typeof m&&(m=[m]),y(P)&&(G=function(te,xe){xe[P]=ne(te)}),V=0;V68?1900:2e3)};var pi,Uh=Li("FullYear",!0);function Li(m,P){return function(V){return null!=V?(D_(this,m,V),v.updateOffset(this,P),this):tn(this,m)}}function tn(m,P){return m.isValid()?m._d["get"+(m._isUTC?"UTC":"")+P]():NaN}function D_(m,P,V){m.isValid()&&!isNaN(V)&&("FullYear"===P&&xu(m.year())&&1===m.month()&&29===m.date()?m._d["set"+(m._isUTC?"UTC":"")+P](V,m.month(),wt(V,m.month())):m._d["set"+(m._isUTC?"UTC":"")+P](V))}function wt(m,P){if(isNaN(m)||isNaN(P))return NaN;var V=function Ye(m,P){return(m%P+P)%P}(P,12);return m+=(P-V)/12,1===V?xu(m)?29:28:31-V%7%2}pi=Array.prototype.indexOf?Array.prototype.indexOf:function(m){var P;for(P=0;P=0&&isFinite(Ft.getFullYear())&&Ft.setFullYear(m),Ft}function Wr(m){var P=new Date(Date.UTC.apply(null,arguments));return m<100&&m>=0&&isFinite(P.getUTCFullYear())&&P.setUTCFullYear(m),P}function _r(m,P,V){var G=7+P-V;return-(7+Wr(m,0,G).getUTCDay()-P)%7+G-1}function E_(m,P,V,G,te){var Ht,Nn,Ft=1+7*(P-1)+(7+V-G)%7+_r(m,G,te);return Ft<=0?Nn=tl(Ht=m-1)+Ft:Ft>tl(m)?(Ht=m+1,Nn=Ft-tl(m)):(Ht=m,Nn=Ft),{year:Ht,dayOfYear:Nn}}function Wl(m,P,V){var xe,Ve,G=_r(m.year(),P,V),te=Math.floor((m.dayOfYear()-G-1)/7)+1;return te<1?xe=te+Hi(Ve=m.year()-1,P,V):te>Hi(m.year(),P,V)?(xe=te-Hi(m.year(),P,V),Ve=m.year()+1):(Ve=m.year(),xe=te),{week:xe,year:Ve}}function Hi(m,P,V){var G=_r(m,P,V),te=_r(m+1,P,V);return(tl(m)-G+te)/7}tt("w",["ww",2],"wo","week"),tt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),fe("week",5),fe("isoWeek",5),Le("w",Zt),Le("ww",Zt,ti),Le("W",Zt),Le("WW",Zt,ti),el(["w","ww","W","WW"],function(m,P,V,G){P[G.substr(0,1)]=ne(m)});tt("d",0,"do","day"),tt("dd",0,0,function(m){return this.localeData().weekdaysMin(this,m)}),tt("ddd",0,0,function(m){return this.localeData().weekdaysShort(this,m)}),tt("dddd",0,0,function(m){return this.localeData().weekdays(this,m)}),tt("e",0,0,"weekday"),tt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),fe("day",11),fe("weekday",11),fe("isoWeekday",11),Le("d",Zt),Le("e",Zt),Le("E",Zt),Le("dd",function(m,P){return P.weekdaysMinRegex(m)}),Le("ddd",function(m,P){return P.weekdaysShortRegex(m)}),Le("dddd",function(m,P){return P.weekdaysRegex(m)}),el(["dd","ddd","dddd"],function(m,P,V,G){var te=V._locale.weekdaysParse(m,G,V._strict);null!=te?P.d=te:j(V).invalidWeekday=m}),el(["d","e","E"],function(m,P,V,G){P[G]=ne(m)});var Gh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var ha="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qh(m,P,V){var G,te,xe,Ve=m.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],G=0;G<7;++G)xe=L([2e3,1]).day(G),this._minWeekdaysParse[G]=this.weekdaysMin(xe,"").toLocaleLowerCase(),this._shortWeekdaysParse[G]=this.weekdaysShort(xe,"").toLocaleLowerCase(),this._weekdaysParse[G]=this.weekdays(xe,"").toLocaleLowerCase();return V?"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null}var Je=Po;var gn=Po;var ir=Po;function rr(){function m(Vi,xs){return xs.length-Vi.length}var xe,Ve,Ft,Ht,Nn,P=[],V=[],G=[],te=[];for(xe=0;xe<7;xe++)Ve=L([2e3,1]).day(xe),Ft=this.weekdaysMin(Ve,""),Ht=this.weekdaysShort(Ve,""),Nn=this.weekdays(Ve,""),P.push(Ft),V.push(Ht),G.push(Nn),te.push(Ft),te.push(Ht),te.push(Nn);for(P.sort(m),V.sort(m),G.sort(m),te.sort(m),xe=0;xe<7;xe++)V[xe]=zt(V[xe]),G[xe]=zt(G[xe]),te[xe]=zt(te[xe]);this._weekdaysRegex=new RegExp("^("+te.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function gr(){return this.hours()%12||12}function It(m,P){tt(m,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function Fn(m,P){return P._meridiemParse}tt("H",["HH",2],0,"hour"),tt("h",["hh",2],0,gr),tt("k",["kk",2],0,function ot(){return this.hours()||24}),tt("hmm",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)}),tt("hmmss",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),tt("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),tt("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)}),It("a",!0),It("A",!1),de("hour","h"),fe("hour",13),Le("a",Fn),Le("A",Fn),Le("H",Zt),Le("h",Zt),Le("k",Zt),Le("HH",Zt,ti),Le("hh",Zt,ti),Le("kk",Zt,ti),Le("hmm",fi),Le("hmmss",ni),Le("Hmm",fi),Le("Hmmss",ni),Un(["H","HH"],3),Un(["k","kk"],function(m,P,V){var G=ne(m);P[3]=24===G?0:G}),Un(["a","A"],function(m,P,V){V._isPm=V._locale.isPM(m),V._meridiem=m}),Un(["h","hh"],function(m,P,V){P[3]=ne(m),j(V).bigHour=!0}),Un("hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G)),j(V).bigHour=!0}),Un("hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te)),j(V).bigHour=!0}),Un("Hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G))}),Un("Hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te))});var Lt,Oo=Li("Hours",!0),ii={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:k_,monthsShort:Wh,week:{dow:0,doy:6},weekdays:Gh,weekdaysMin:Qe,weekdaysShort:ha,meridiemParse:/[ap]\.?m?\.?/i},Qn={},ks={};function il(m){return m&&m.toLowerCase().replace("_","-")}function ma(m){var P=null;if(!Qn[m]&&le&&le.exports)try{P=Lt._abbr,F(6700)("./"+m),$r(P)}catch{}return Qn[m]}function $r(m,P){var V;return m&&((V=p(P)?Er(m):Pi(m,P))?Lt=V:typeof console<"u"&&console.warn&&console.warn("Locale "+m+" not found. Did you forget to load it?")),Lt._abbr}function Pi(m,P){if(null!==P){var V,G=ii;if(P.abbr=m,null!=Qn[m])ke("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),G=Qn[m]._config;else if(null!=P.parentLocale)if(null!=Qn[P.parentLocale])G=Qn[P.parentLocale]._config;else{if(null==(V=ma(P.parentLocale)))return ks[P.parentLocale]||(ks[P.parentLocale]=[]),ks[P.parentLocale].push({name:m,config:P}),null;G=V._config}return Qn[m]=new st(et(G,P)),ks[m]&&ks[m].forEach(function(te){Pi(te.name,te.config)}),$r(m),Qn[m]}return delete Qn[m],null}function Er(m){var P;if(m&&m._locale&&m._locale._abbr&&(m=m._locale._abbr),!m)return Lt;if(!f(m)){if(P=ma(m))return P;m=[m]}return function pa(m){for(var V,G,te,xe,P=0;P0;){if(te=ma(xe.slice(0,V).join("-")))return te;if(G&&G.length>=V&&oe(xe,G,!0)>=V-1)break;V--}P++}return Lt}(m)}function ao(m){var P,V=m._a;return V&&-2===j(m).overflow&&(P=V[1]<0||V[1]>11?1:V[2]<1||V[2]>wt(V[0],V[1])?2:V[3]<0||V[3]>24||24===V[3]&&(0!==V[4]||0!==V[5]||0!==V[6])?3:V[4]<0||V[4]>59?4:V[5]<0||V[5]>59?5:V[6]<0||V[6]>999?6:-1,j(m)._overflowDayOfYear&&(P<0||P>2)&&(P=2),j(m)._overflowWeeks&&-1===P&&(P=7),j(m)._overflowWeekday&&-1===P&&(P=8),j(m).overflow=P),m}function Ao(m,P,V){return m??P??V}function Ru(m){var P,V,te,xe,Ve,G=[];if(!m._d){for(te=function On(m){var P=new Date(v.now());return m._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(m),m._w&&null==m._a[2]&&null==m._a[1]&&function O_(m){var P,V,G,te,xe,Ve,Ft,Ht;if(null!=(P=m._w).GG||null!=P.W||null!=P.E)xe=1,Ve=4,V=Ao(P.GG,m._a[0],Wl(ri(),1,4).year),G=Ao(P.W,1),((te=Ao(P.E,1))<1||te>7)&&(Ht=!0);else{xe=m._locale._week.dow,Ve=m._locale._week.doy;var Nn=Wl(ri(),xe,Ve);V=Ao(P.gg,m._a[0],Nn.year),G=Ao(P.w,Nn.week),null!=P.d?((te=P.d)<0||te>6)&&(Ht=!0):null!=P.e?(te=P.e+xe,(P.e<0||P.e>6)&&(Ht=!0)):te=xe}G<1||G>Hi(V,xe,Ve)?j(m)._overflowWeeks=!0:null!=Ht?j(m)._overflowWeekday=!0:(Ft=E_(V,G,te,xe,Ve),m._a[0]=Ft.year,m._dayOfYear=Ft.dayOfYear)}(m),null!=m._dayOfYear&&(Ve=Ao(m._a[0],te[0]),(m._dayOfYear>tl(Ve)||0===m._dayOfYear)&&(j(m)._overflowDayOfYear=!0),V=Wr(Ve,0,m._dayOfYear),m._a[1]=V.getUTCMonth(),m._a[2]=V.getUTCDate()),P=0;P<3&&null==m._a[P];++P)m._a[P]=G[P]=te[P];for(;P<7;P++)m._a[P]=G[P]=m._a[P]??(2===P?1:0);24===m._a[3]&&0===m._a[4]&&0===m._a[5]&&0===m._a[6]&&(m._nextDay=!0,m._a[3]=0),m._d=(m._useUTC?Wr:a1).apply(null,G),xe=m._useUTC?m._d.getUTCDay():m._d.getDay(),null!=m._tzm&&m._d.setUTCMinutes(m._d.getUTCMinutes()-m._tzm),m._nextDay&&(m._a[3]=24),m._w&&typeof m._w.d<"u"&&m._w.d!==xe&&(j(m).weekdayMismatch=!0)}}var Gl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fu=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,sl=/Z|[+-]\d\d(?::?\d\d)?/,Ro=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ys=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zi=/^\/?Date\((\-?\d+)/i;function Qh(m){var P,V,xe,Ve,Ft,Ht,G=m._i,te=Gl.exec(G)||Fu.exec(G);if(te){for(j(m).iso=!0,P=0,V=Ro.length;P0&&j(m).unusedInput.push(Ve),P=P.slice(P.indexOf(G)+G.length),Ht+=G.length),dt[xe]?(G?j(m).empty=!1:j(m).unusedTokens.push(xe),jl(xe,G,m)):m._strict&&!G&&j(m).unusedTokens.push(xe);j(m).charsLeftOver=Ft-Ht,P.length>0&&j(m).unusedInput.push(P),m._a[3]<=12&&!0===j(m).bigHour&&m._a[3]>0&&(j(m).bigHour=void 0),j(m).parsedDateParts=m._a.slice(0),j(m).meridiem=m._meridiem,m._a[3]=function u1(m,P,V){var G;return null==V?P:null!=m.meridiemHour?m.meridiemHour(P,V):(null!=m.isPM&&((G=m.isPM(V))&&P<12&&(P+=12),!G&&12===P&&(P=0)),P)}(m._locale,m._a[3],m._meridiem),Ru(m),ao(m)}else R_(m);else Qh(m)}function N_(m){var P=m._i,V=m._f;return m._locale=m._locale||Er(m._l),null===P||void 0===V&&""===P?re({nullInput:!0}):("string"==typeof P&&(m._i=P=m._locale.preparse(P)),q(P)?new ce(ao(P)):(w(P)?m._d=P:f(V)?function d1(m){var P,V,G,te,xe;if(0===m._f.length)return j(m).invalidFormat=!0,void(m._d=new Date(NaN));for(te=0;tethis?this:m:re()});function H_(m,P){var V,G;if(1===P.length&&f(P[0])&&(P=P[0]),!P.length)return ri();for(V=P[0],G=1;G(xe=Hi(m,G,te))&&(P=xe),eg.call(this,m,P,V,G,te))}function eg(m,P,V,G,te){var xe=E_(m,P,V,G,te),Ve=Wr(xe.year,0,xe.dayOfYear);return this.year(Ve.getUTCFullYear()),this.month(Ve.getUTCMonth()),this.date(Ve.getUTCDate()),this}tt(0,["gg",2],0,function(){return this.weekYear()%100}),tt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tc("gggg","weekYear"),tc("ggggg","weekYear"),tc("GGGG","isoWeekYear"),tc("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),fe("weekYear",1),fe("isoWeekYear",1),Le("G",ca),Le("g",ca),Le("GG",Zt,ti),Le("gg",Zt,ti),Le("GGGG",_n,Fs),Le("gggg",_n,Fs),Le("GGGGG",la,yi),Le("ggggg",la,yi),el(["gggg","ggggg","GGGG","GGGGG"],function(m,P,V,G){P[G.substr(0,2)]=ne(m)}),el(["gg","GG"],function(m,P,V,G){P[G]=v.parseTwoDigitYear(m)}),tt("Q",0,"Qo","quarter"),de("quarter","Q"),fe("quarter",7),Le("Q",Dn),Un("Q",function(m,P){P[1]=3*(ne(m)-1)}),tt("D",["DD",2],"Do","date"),de("date","D"),fe("date",9),Le("D",Zt),Le("DD",Zt,ti),Le("Do",function(m,P){return m?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),Un(["D","DD"],2),Un("Do",function(m,P){P[2]=ne(m.match(Zt)[0])});var ic=Li("Date",!0);tt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),fe("dayOfYear",4),Le("DDD",mn),Le("DDDD",Ss),Un(["DDD","DDDD"],function(m,P,V){V._dayOfYear=ne(m)}),tt("m",["mm",2],0,"minute"),de("minute","m"),fe("minute",14),Le("m",Zt),Le("mm",Zt,ti),Un(["m","mm"],4);var hf=Li("Minutes",!1);tt("s",["ss",2],0,"second"),de("second","s"),fe("second",15),Le("s",Zt),Le("ss",Zt,ti),Un(["s","ss"],5);var js,ff=Li("Seconds",!1);for(tt("S",0,0,function(){return~~(this.millisecond()/100)}),tt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),tt(0,["SSS",3],0,"millisecond"),tt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),tt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),tt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),tt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),tt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),tt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),fe("millisecond",16),Le("S",mn,Dn),Le("SS",mn,ti),Le("SSS",mn,Ss),js="SSSS";js.length<=9;js+="S")Le(js,kn);function Ju(m,P){P[6]=ne(1e3*("0."+m))}for(js="S";js.length<=9;js+="S")Un(js,Ju);var tg=Li("Milliseconds",!1);tt("z",0,0,"zoneAbbr"),tt("zz",0,0,"zoneName");var We=ce.prototype;function pf(m){return m}We.add=tf,We.calendar=function lo(m,P){var V=m||ri(),G=Uu(V,this).startOf("day"),te=v.calendarFormat(this,G)||"sameElse",xe=P&&(Ae(P[te])?P[te].call(this,V):P[te]);return this.format(xe||this.localeData().calendar(te,this,ri(V)))},We.clone=function nf(){return new ce(this)},We.diff=function q_(m,P,V){var G,te,xe;if(!this.isValid())return NaN;if(!(G=Uu(m,this)).isValid())return NaN;switch(te=6e4*(G.utcOffset()-this.utcOffset()),P=ue(P)){case"year":xe=Jl(this,G)/12;break;case"month":xe=Jl(this,G);break;case"quarter":xe=Jl(this,G)/3;break;case"second":xe=(this-G)/1e3;break;case"minute":xe=(this-G)/6e4;break;case"hour":xe=(this-G)/36e5;break;case"day":xe=(this-G-te)/864e5;break;case"week":xe=(this-G-te)/6048e5;break;default:xe=this-G}return V?xe:ee(xe)},We.endOf=function D1(m){return void 0===(m=ue(m))||"millisecond"===m?this:("date"===m&&(m="day"),this.startOf(m).add(1,"isoWeek"===m?"week":m).subtract(1,"ms"))},We.format=function Xt(m){m||(m=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var P=Rt(this,m);return this.localeData().postformat(P)},We.from=function Ie(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({to:this,from:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.fromNow=function Oe(m){return this.from(ri(),m)},We.to=function wi(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({from:this,to:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.toNow=function sf(m){return this.to(ri(),m)},We.get=function s1(m){return Ae(this[m=ue(m)])?this[m]():this},We.invalidAt=function J_(){return j(this).overflow},We.isAfter=function qu(m,P){var V=q(m)?m:ri(m);return!(!this.isValid()||!V.isValid())&&("millisecond"===(P=ue(p(P)?"millisecond":P))?this.valueOf()>V.valueOf():V.valueOf()9999?Rt(V,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ae(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Rt(V,"Z")):Rt(V,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},We.inspect=function He(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var m="moment",P="";this.isLocal()||(m=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var V="["+m+'("]',G=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(V+G+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},We.toJSON=function af(){return this.isValid()?this.toISOString():null},We.toString=function K_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},We.unix=function k1(){return Math.floor(this.valueOf()/1e3)},We.valueOf=function Q_(){return this._d.valueOf()-6e4*(this._offset||0)},We.creationData=function lf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},We.year=Uh,We.isLeapYear=function r1(){return xu(this.year())},We.weekYear=function X_(m){return nc.call(this,m,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},We.isoWeekYear=function Zu(m){return nc.call(this,m,this.isoWeek(),this.isoWeekday(),1,4)},We.quarter=We.quarters=function uf(m){return null==m?Math.ceil((this.month()+1)/3):this.month(3*(m-1)+this.month()%3)},We.month=Lu,We.daysInMonth=function x_(){return wt(this.year(),this.month())},We.week=We.weeks=function cn(m){var P=this.localeData().week(this);return null==m?P:this.add(7*(m-P),"d")},We.isoWeek=We.isoWeeks=function $l(m){var P=Wl(this,1,4).week;return null==m?P:this.add(7*(m-P),"d")},We.weeksInYear=function cf(){var m=this.localeData()._week;return Hi(this.year(),m.dow,m.doy)},We.isoWeeksInYear=function Qu(){return Hi(this.year(),1,4)},We.date=ic,We.day=We.days=function Pt(m){if(!this.isValid())return null!=m?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=m?(m=function Iu(m,P){return"string"!=typeof m?m:isNaN(m)?"number"==typeof(m=P.weekdaysParse(m))?m:null:parseInt(m,10)}(m,this.localeData()),this.add(m-P,"d")):P},We.weekday=function I_(m){if(!this.isValid())return null!=m?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==m?P:this.add(m-P,"d")},We.isoWeekday=function Zh(m){if(!this.isValid())return null!=m?this:NaN;if(null!=m){var P=function Ou(m,P){return"string"==typeof m?P.weekdaysParse(m)%7||7:isNaN(m)?null:m}(m,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},We.dayOfYear=function df(m){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==m?P:this.add(m-P,"d")},We.hour=We.hours=Oo,We.minute=We.minutes=hf,We.second=We.seconds=ff,We.millisecond=We.milliseconds=tg,We.utcOffset=function Xh(m,P,V){var te,G=this._offset||0;if(!this.isValid())return null!=m?this:NaN;if(null!=m){if("string"==typeof m){if(null===(m=ju(sn,m)))return this}else Math.abs(m)<16&&!V&&(m*=60);return!this._isUTC&&P&&(te=Zl(this)),this._offset=m,this._isUTC=!0,null!=te&&this.add(te,"m"),G!==m&&(!P||this._changeInProgress?yr(this,br(m-G,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?G:Zl(this)},We.utc=function zu(m){return this.utcOffset(0,m)},We.local=function B_(m){return this._isUTC&&(this.utcOffset(0,m),this._isUTC=!1,m&&this.subtract(Zl(this),"m")),this},We.parseZone=function Gr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var m=ju(S_,this._i);null!=m?this.utcOffset(m):this.utcOffset(0,!0)}return this},We.hasAlignedHourOffset=function Wu(m){return!!this.isValid()&&(m=m?ri(m).utcOffset():0,(this.utcOffset()-m)%60==0)},We.isDST=function j_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},We.isLocal=function U_(){return!!this.isValid()&&!this._isUTC},We.isUtcOffset=function w1(){return!!this.isValid()&&this._isUTC},We.isUtc=ai,We.isUTC=ai,We.zoneAbbr=function ng(){return this._isUTC?"UTC":""},We.zoneName=function or(){return this._isUTC?"Coordinated Universal Time":""},We.dates=J("dates accessor is deprecated. Use date instead.",ic),We.months=J("months accessor is deprecated. Use month instead",Lu),We.years=J("years accessor is deprecated. Use year instead",Uh),We.zone=J("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function V_(m,P){return null!=m?("string"!=typeof m&&(m=-m),this.utcOffset(m,P),this):-this.utcOffset()}),We.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function $u(){if(!p(this._isDSTShifted))return this._isDSTShifted;var m={};if(Z(m,this),(m=N_(m))._a){var P=m._isUTC?L(m._a):ri(m._a);this._isDSTShifted=this.isValid()&&oe(m._a,P.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=st.prototype;function rc(m,P,V,G){var te=Er(),xe=L().set(G,P);return te[V](xe,m)}function mf(m,P,V){if(y(m)&&(P=m,m=void 0),m=m||"",null!=P)return rc(m,P,V,"month");var G,te=[];for(G=0;G<12;G++)te[G]=rc(m,G,V,"month");return te}function Xu(m,P,V,G){"boolean"==typeof m?(y(P)&&(V=P,P=void 0),P=P||""):(V=P=m,m=!1,y(P)&&(V=P,P=void 0),P=P||"");var te=Er(),xe=m?te._week.dow:0;if(null!=V)return rc(P,(V+xe)%7,G,"day");var Ve,Ft=[];for(Ve=0;Ve<7;Ve++)Ft[Ve]=rc(P,(Ve+xe)%7,G,"day");return Ft}xn.calendar=function ln(m,P,V){var G=this._calendar[m]||this._calendar.sameElse;return Ae(G)?G.call(P,V):G},xn.longDateFormat=function Mn(m){var P=this._longDateFormat[m],V=this._longDateFormat[m.toUpperCase()];return P||!V?P:(this._longDateFormat[m]=V.replace(/MMMM|MM|DD|dddd/g,function(G){return G.slice(1)}),this._longDateFormat[m])},xn.invalidDate=function je(){return this._invalidDate},xn.ordinal=function Xe(m){return this._ordinal.replace("%d",m)},xn.preparse=pf,xn.postformat=pf,xn.relativeTime=function z(m,P,V,G){var te=this._relativeTime[V];return Ae(te)?te(m,P,V,G):te.replace(/%d/i,m)},xn.pastFuture=function se(m,P){var V=this._relativeTime[m>0?"future":"past"];return Ae(V)?V(P):V.replace(/%s/i,P)},xn.set=function Ne(m){var P,V;for(V in m)Ae(P=m[V])?this[V]=P:this["_"+V]=P;this._config=m,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function zh(m,P){return m?f(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||nl).test(P)?"format":"standalone"][m.month()]:f(this._months)?this._months:this._months.standalone},xn.monthsShort=function T_(m,P){return m?f(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[nl.test(P)?"format":"standalone"][m.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function Ul(m,P,V){var G,te,xe;if(this._monthsParseExact)return $h.call(this,m,P,V);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),G=0;G<12;G++){if(te=L([2e3,G]),V&&!this._longMonthsParse[G]&&(this._longMonthsParse[G]=new RegExp("^"+this.months(te,"").replace(".","")+"$","i"),this._shortMonthsParse[G]=new RegExp("^"+this.monthsShort(te,"").replace(".","")+"$","i")),!V&&!this._monthsParse[G]&&(xe="^"+this.months(te,"")+"|^"+this.monthsShort(te,""),this._monthsParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"MMMM"===P&&this._longMonthsParse[G].test(m))return G;if(V&&"MMM"===P&&this._shortMonthsParse[G].test(m))return G;if(!V&&this._monthsParse[G].test(m))return G}},xn.monthsRegex=function zr(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=L_),this._monthsStrictRegex&&m?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function Eu(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=_t),this._monthsShortStrictRegex&&m?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function Tn(m){return Wl(m,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function da(){return this._week.doy},xn.firstDayOfWeek=function c1(){return this._week.dow},xn.weekdays=function Ns(m,P){return m?f(this._weekdays)?this._weekdays[m.day()]:this._weekdays[this._weekdays.isFormat.test(P)?"format":"standalone"][m.day()]:f(this._weekdays)?this._weekdays:this._weekdays.standalone},xn.weekdaysMin=function Au(m){return m?this._weekdaysMin[m.day()]:this._weekdaysMin},xn.weekdaysShort=function P_(m){return m?this._weekdaysShort[m.day()]:this._weekdaysShort},xn.weekdaysParse=function Kh(m,P,V){var G,te,xe;if(this._weekdaysParseExact)return qh.call(this,m,P,V);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),G=0;G<7;G++){if(te=L([2e3,1]).day(G),V&&!this._fullWeekdaysParse[G]&&(this._fullWeekdaysParse[G]=new RegExp("^"+this.weekdays(te,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[G]=new RegExp("^"+this.weekdaysShort(te,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[G]=new RegExp("^"+this.weekdaysMin(te,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[G]||(xe="^"+this.weekdays(te,"")+"|^"+this.weekdaysShort(te,"")+"|^"+this.weekdaysMin(te,""),this._weekdaysParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"dddd"===P&&this._fullWeekdaysParse[G].test(m))return G;if(V&&"ddd"===P&&this._shortWeekdaysParse[G].test(m))return G;if(V&&"dd"===P&&this._minWeekdaysParse[G].test(m))return G;if(!V&&this._weekdaysParse[G].test(m))return G}},xn.weekdaysRegex=function Ki(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&m?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function nr(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gn),this._weekdaysShortStrictRegex&&m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function fa(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ir),this._weekdaysMinStrictRegex&&m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function Lr(m){return"p"===(m+"").toLowerCase().charAt(0)},xn.meridiem=function Ei(m,P,V){return m>11?V?"pm":"PM":V?"am":"AM"},$r("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var P=m%10;return m+(1===ne(m%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),v.lang=J("moment.lang is deprecated. Use moment.locale instead.",$r),v.langData=J("moment.langData is deprecated. Use moment.localeData instead.",Er);var Us=Math.abs;function ya(m,P,V,G){var te=br(P,V);return m._milliseconds+=G*te._milliseconds,m._days+=G*te._days,m._months+=G*te._months,m._bubble()}function Ma(m){return m<0?Math.floor(m):Math.ceil(m)}function gf(m){return 4800*m/146097}function nd(m){return 146097*m/4800}function as(m){return function(){return this.as(m)}}var vf=as("ms"),bf=as("s"),lc=as("m"),yf=as("h"),Mf=as("d"),wa=as("w"),sg=as("M"),Ca=as("y");function Sa(m){return function(){return this.isValid()?this._data[m]:NaN}}var wf=Sa("milliseconds"),Cf=Sa("seconds"),og=Sa("minutes"),Ts=Sa("hours"),ag=Sa("days"),ol=Sa("months"),rd=Sa("years");var ls=Math.round,Pr={ss:44,s:45,m:45,h:22,d:26,M:11};function lg(m,P,V,G,te){return te.relativeTime(P||1,!!V,m,G)}var od=Math.abs;function zs(m){return(m>0)-(m<0)||+m}function uo(){if(!this.isValid())return this.localeData().invalidDate();var G,te,m=od(this._milliseconds)/1e3,P=od(this._days),V=od(this._months);G=ee(m/60),te=ee(G/60),m%=60,G%=60;var Ve=ee(V/12),Ft=V%=12,Ht=P,Nn=te,Vi=G,xs=m?m.toFixed(3).replace(/\.?0+$/,""):"",Da=this.asSeconds();if(!Da)return"P0D";var ad=Da<0?"-":"",No=zs(this._months)!==zs(Da)?"-":"",L1=zs(this._days)!==zs(Da)?"-":"",ld=zs(this._milliseconds)!==zs(Da)?"-":"";return ad+"P"+(Ve?No+Ve+"Y":"")+(Ft?No+Ft+"M":"")+(Ht?L1+Ht+"D":"")+(Nn||Vi||xs?"T":"")+(Nn?ld+Nn+"H":"")+(Vi?ld+Vi+"M":"")+(xs?ld+xs+"S":"")}var nn=Vu.prototype;return nn.isValid=function y1(){return this._isValid},nn.abs=function co(){var m=this._data;return this._milliseconds=Us(this._milliseconds),this._days=Us(this._days),this._months=Us(this._months),m.milliseconds=Us(m.milliseconds),m.seconds=Us(m.seconds),m.minutes=Us(m.minutes),m.hours=Us(m.hours),m.months=Us(m.months),m.years=Us(m.years),this},nn.add=function ig(m,P){return ya(this,m,P,1)},nn.subtract=function rg(m,P){return ya(this,m,P,-1)},nn.as=function T1(m){if(!this.isValid())return NaN;var P,V,G=this._milliseconds;if("month"===(m=ue(m))||"year"===m)return V=this._months+gf(P=this._days+G/864e5),"month"===m?V:V/12;switch(P=this._days+Math.round(nd(this._months)),m){case"week":return P/7+G/6048e5;case"day":return P+G/864e5;case"hour":return 24*P+G/36e5;case"minute":return 1440*P+G/6e4;case"second":return 86400*P+G/1e3;case"millisecond":return Math.floor(864e5*P)+G;default:throw new Error("Unknown unit "+m)}},nn.asMilliseconds=vf,nn.asSeconds=bf,nn.asMinutes=lc,nn.asHours=yf,nn.asDays=Mf,nn.asWeeks=wa,nn.asMonths=sg,nn.asYears=Ca,nn.valueOf=function x1(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ne(this._months/12):NaN},nn._bubble=function td(){var te,xe,Ve,Ft,Ht,m=this._milliseconds,P=this._days,V=this._months,G=this._data;return m>=0&&P>=0&&V>=0||m<=0&&P<=0&&V<=0||(m+=864e5*Ma(nd(V)+P),P=0,V=0),G.milliseconds=m%1e3,te=ee(m/1e3),G.seconds=te%60,xe=ee(te/60),G.minutes=xe%60,Ve=ee(xe/60),G.hours=Ve%24,P+=ee(Ve/24),V+=Ht=ee(gf(P)),P-=Ma(nd(Ht)),Ft=ee(V/12),V%=12,G.days=P,G.months=V,G.years=Ft,this},nn.clone=function id(){return br(this)},nn.get=function cc(m){return m=ue(m),this.isValid()?this[m+"s"]():NaN},nn.milliseconds=wf,nn.seconds=Cf,nn.minutes=og,nn.hours=Ts,nn.days=ag,nn.weeks=function sd(){return ee(this.days()/7)},nn.months=ol,nn.years=rd,nn.humanize=function Tf(m){if(!this.isValid())return this.localeData().invalidDate();var P=this.localeData(),V=function Sf(m,P,V){var G=br(m).abs(),te=ls(G.as("s")),xe=ls(G.as("m")),Ve=ls(G.as("h")),Ft=ls(G.as("d")),Ht=ls(G.as("M")),Nn=ls(G.as("y")),Vi=te<=Pr.ss&&["s",te]||te0,Vi[4]=V,lg.apply(null,Vi)}(this,!m,P);return m&&(V=P.pastFuture(+this,V)),P.postformat(V)},nn.toISOString=uo,nn.toString=uo,nn.toJSON=uo,nn.locale=ga,nn.localeData=Xl,nn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),nn.lang=os,tt("X",0,0,"unix"),tt("x",0,0,"valueOf"),Le("x",ca),Le("X",/[+-]?\d+(\.\d{1,3})?/),Un("X",function(m,P,V){V._d=new Date(1e3*parseFloat(m,10))}),Un("x",function(m,P,V){V._d=new Date(ne(m))}),v.version="2.22.2",function u(m){I=m}(ri),v.fn=We,v.min=function g1(){return H_("isBefore",[].slice.call(arguments,0))},v.max=function v1(){return H_("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=L,v.unix=function si(m){return ri(1e3*m)},v.months=function sc(m,P){return mf(m,P,"months")},v.isDate=w,v.locale=$r,v.invalid=re,v.duration=br,v.isMoment=q,v.weekdays=function ac(m,P,V){return Xu(m,P,V,"weekdays")},v.parseZone=function ba(){return ri.apply(null,arguments).parseZone()},v.localeData=Er,v.isDuration=Hs,v.monthsShort=function oc(m,P){return mf(m,P,"monthsShort")},v.weekdaysMin=function _f(m,P,V){return Xu(m,P,V,"weekdaysMin")},v.defineLocale=Pi,v.updateLocale=function rl(m,P){if(null!=P){var V,G,te=ii;null!=(G=ma(m))&&(te=G._config),(V=new st(P=et(te,P))).parentLocale=Qn[m],Qn[m]=V,$r(m)}else null!=Qn[m]&&(null!=Qn[m].parentLocale?Qn[m]=Qn[m].parentLocale:null!=Qn[m]&&delete Qn[m]);return Qn[m]},v.locales=function is(){return rt(Qn)},v.weekdaysShort=function ed(m,P,V){return Xu(m,P,V,"weekdaysShort")},v.normalizeUnits=ue,v.relativeTimeRounding=function Df(m){return void 0===m?ls:"function"==typeof m&&(ls=m,!0)},v.relativeTimeThreshold=function kf(m,P){return void 0!==Pr[m]&&(void 0===P?Pr[m]:(Pr[m]=P,"s"===m&&(Pr.ss=P-1),!0))},v.calendarFormat=function W_(m,P){var V=m.diff(P,"days",!0);return V<-6?"sameElse":V<-1?"lastWeek":V<0?"lastDay":V<1?"sameDay":V<2?"nextDay":V<7?"nextWeek":"sameElse"},v.prototype=We,v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},v}()},6700:(le,me,F)=>{var I={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function v(f){var h=u(f);return F(h)}function u(f){if(!F.o(I,f)){var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}return I[f]}v.keys=function(){return Object.keys(I)},v.resolve=u,le.exports=v,v.id=6700},6297:(le,me,F)=>{var I={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function v(u){if(!F.o(I,u))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+u+"'");throw M.code="MODULE_NOT_FOUND",M});var f=I[u],h=f[0];return F.e(f[1]).then(()=>F.t(h,19))}v.keys=()=>Object.keys(I),v.id=6297,le.exports=v}},le=>{le(le.s=9249)}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/index.html b/static/skywire-manager-src/dist/index.html index 597c6367ad..b74b67bbe5 100644 --- a/static/skywire-manager-src/dist/index.html +++ b/static/skywire-manager-src/dist/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file