From 370788d6b52a1123bc8f2a1c86f624d3efe6002c Mon Sep 17 00:00:00 2001 From: sondreb Date: Tue, 14 Mar 2023 17:03:23 +0000 Subject: [PATCH] deploy: f1186c89be58ead8b6d07039e58ab62874c659b4 --- 3rdpartylicenses.txt | 25 +++++++++++++++++++++++++ 404.html | 2 +- index.html | 2 +- main.72b8ea785e5ed613.js | 1 + main.f1c960cd778182f4.js | 1 - ngsw.json | 8 ++++---- 6 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 main.72b8ea785e5ed613.js delete mode 100644 main.f1c960cd778182f4.js diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index bc11780..b46c970 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -853,6 +853,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +light-bolt11-decoder +MIT +MIT License + +Copyright (c) 2021 bitcoinjs contributors, fiatjaf + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + moment MIT Copyright (c) JS Foundation and other contributors diff --git a/404.html b/404.html index edf2f3d..2de8c7e 100644 --- a/404.html +++ b/404.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/index.html b/index.html index edf2f3d..2de8c7e 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/main.72b8ea785e5ed613.js b/main.72b8ea785e5ed613.js new file mode 100644 index 0000000..7ffa890 --- /dev/null +++ b/main.72b8ea785e5ed613.js @@ -0,0 +1 @@ +(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{5673:(we,A,I)=>{"use strict";function T(i){return"function"==typeof i}function g(i){const e=i(n=>{Error.call(n),n.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const y=g(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function b(i,t){if(i){const e=i.indexOf(t);0<=e&&i.splice(e,1)}}class C{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const a of e)a.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(T(n))try{n()}catch(a){t=a instanceof y?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{B(a)}catch(o){t=t??[],o instanceof y?t=[...t,...o.errors]:t.push(o)}}if(t)throw new y(t)}}add(t){var e;if(t&&t!==this)if(this.closed)B(t);else{if(t instanceof C){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&b(e,t)}remove(t){const{_finalizers:e}=this;e&&b(e,t),t instanceof C&&t._removeParent(this)}}C.EMPTY=(()=>{const i=new C;return i.closed=!0,i})();const D=C.EMPTY;function N(i){return i instanceof C||i&&"closed"in i&&T(i.remove)&&T(i.add)&&T(i.unsubscribe)}function B(i){T(i)?i():i.unsubscribe()}const R={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},U={setTimeout(i,t,...e){const{delegate:n}=U;return n?.setTimeout?n.setTimeout(i,t,...e):setTimeout(i,t,...e)},clearTimeout(i){const{delegate:t}=U;return(t?.clearTimeout||clearTimeout)(i)},delegate:void 0};function Q(i){U.setTimeout(()=>{const{onUnhandledError:t}=R;if(!t)throw i;t(i)})}function j(){}const V=oe("C",void 0,void 0);function oe(i,t,e){return{kind:i,value:t,error:e}}let q=null;function z(i){if(R.useDeprecatedSynchronousErrorHandling){const t=!q;if(t&&(q={errorThrown:!1,error:null}),i(),t){const{errorThrown:e,error:n}=q;if(q=null,e)throw n}}else i()}class le extends C{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,N(t)&&t.add(this)):this.destination=ge}static create(t,e,n){return new ue(t,e,n)}next(t){this.isStopped?me(function G(i){return oe("N",i,void 0)}(t),this):this._next(t)}error(t){this.isStopped?me(function se(i){return oe("E",void 0,i)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?me(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const J=Function.prototype.bind;function W(i,t){return J.call(i,t)}class ie{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(n){re(n)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(n){re(n)}else re(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){re(e)}}}class ue extends le{constructor(t,e,n){let r;if(super(),T(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let a;this&&R.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&W(t.next,a),error:t.error&&W(t.error,a),complete:t.complete&&W(t.complete,a)}):r=t}this.destination=new ie(r)}}function re(i){R.useDeprecatedSynchronousErrorHandling?function de(i){R.useDeprecatedSynchronousErrorHandling&&q&&(q.errorThrown=!0,q.error=i)}(i):Q(i)}function me(i,t){const{onStoppedNotification:e}=R;e&&U.setTimeout(()=>e(i,t))}const ge={closed:!0,next:j,error:function ae(i){throw i},complete:j},ve="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(i){return i}function at(i){return 0===i.length?Ye:1===i.length?i[0]:function(e){return i.reduce((n,r)=>r(n),e)}}let ht=(()=>{class i{constructor(e){e&&(this._subscribe=e)}lift(e){const n=new i;return n.source=this,n.operator=e,n}subscribe(e,n,r){const a=function ft(i){return i&&i instanceof le||function Zt(i){return i&&T(i.next)&&T(i.error)&&T(i.complete)}(i)&&N(i)}(e)?e:new ue(e,n,r);return z(()=>{const{operator:o,source:c}=this;a.add(o?o.call(a,c):c?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return new(n=Et(n))((r,a)=>{const o=new ue({next:c=>{try{e(c)}catch(u){a(u),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(e)}[ve](){return this}pipe(...e){return at(e)(this)}toPromise(e){return new(e=Et(e))((n,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>n(a))})}}return i.create=t=>new i(t),i})();function Et(i){var t;return null!==(t=i??R.Promise)&&void 0!==t?t:Promise}const Qt=g(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let He=(()=>{class i extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const n=new pi(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new Qt}next(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(e)}})}error(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:n,isStopped:r,observers:a}=this;return n||r?D:(this.currentObservers=null,a.push(e),new C(()=>{this.currentObservers=null,b(a,e)}))}_checkFinalizedStatuses(e){const{hasError:n,thrownError:r,isStopped:a}=this;n?e.error(r):a&&e.complete()}asObservable(){const e=new ht;return e.source=this,e}}return i.create=(t,e)=>new pi(t,e),i})();class pi extends He{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:D}}function nt(i){return T(i?.lift)}function Yt(i){return t=>{if(nt(t))return t.lift(function(e){try{return i(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function jt(i,t,e,n,r){return new fn(i,t,e,n,r)}class fn extends le{constructor(t,e,n,r,a,o){super(t),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(c){try{e(c)}catch(u){t.error(u)}}:super._next,this._error=r?function(c){try{r(c)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function _t(i,t){return Yt((e,n)=>{let r=0;e.subscribe(jt(n,a=>{n.next(i.call(t,a,r++))}))})}function Qr(i){return this instanceof Qr?(this.v=i,this):new Qr(i)}function Ot(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=i[Symbol.asyncIterator];return t?t.call(i):(i=function $i(i){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&i[t],n=0;if(e)return e.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(a){e[a]=i[a]&&function(o){return new Promise(function(c,u){!function r(a,o,c,u){Promise.resolve(u).then(function(m){a({value:m,done:c})},o)}(c,u,(o=i[a](o)).done,o.value)})}}}const ga=i=>i&&"number"==typeof i.length&&"function"!=typeof i;function Ha(i){return T(i?.then)}function Vr(i){return T(i[ve])}function xr(i){return Symbol.asyncIterator&&T(i?.[Symbol.asyncIterator])}function vo(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ir=function Xr(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function _s(i){return T(i?.[Ir])}function aa(i){return function Hr(i,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e.apply(i,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(K){n[K]&&(r[K]=function(ne){return new Promise(function(pe,ye){a.push([K,ne,pe,ye])>1||c(K,ne)})})}function c(K,ne){try{!function u(K){K.value instanceof Qr?Promise.resolve(K.value.v).then(m,x):P(a[0][2],K)}(n[K](ne))}catch(pe){P(a[0][3],pe)}}function m(K){c("next",K)}function x(K){c("throw",K)}function P(K,ne){K(ne),a.shift(),a.length&&c(a[0][0],a[0][1])}}(this,arguments,function*(){const e=i.getReader();try{for(;;){const{value:n,done:r}=yield Qr(e.read());if(r)return yield Qr(void 0);yield yield Qr(n)}}finally{e.releaseLock()}})}function la(i){return T(i?.getReader)}function cn(i){if(i instanceof ht)return i;if(null!=i){if(Vr(i))return function Va(i){return new ht(t=>{const e=i[ve]();if(T(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(ga(i))return function zt(i){return new ht(t=>{for(let e=0;e{i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Q)})}(i);if(xr(i))return Ut(i);if(_s(i))return function Ya(i){return new ht(t=>{for(const e of i)if(t.next(e),t.closed)return;t.complete()})}(i);if(la(i))return function wo(i){return Ut(aa(i))}(i)}throw vo(i)}function Ut(i){return new ht(t=>{(function Cn(i,t){var e,n,r,a;return function mn(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{m(n.next(x))}catch(P){o(P)}}function u(x){try{m(n.throw(x))}catch(P){o(P)}}function m(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,u)}m((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Ot(i);!(n=yield e.next()).done;)if(t.next(n.value),t.closed)return}catch(o){r={error:o}}finally{try{n&&!n.done&&(a=e.return)&&(yield a.call(e))}finally{if(r)throw r.error}}t.complete()})})(i,t).catch(e=>t.error(e))})}function rr(i,t,e,n=0,r=!1){const a=t.schedule(function(){e(),r?i.add(this.schedule(null,n)):this.unsubscribe()},n);if(i.add(a),!r)return a}function vi(i,t,e=1/0){return T(t)?vi((n,r)=>_t((a,o)=>t(n,a,r,o))(cn(i(n,r))),e):("number"==typeof t&&(e=t),Yt((n,r)=>function bs(i,t,e,n,r,a,o,c){const u=[];let m=0,x=0,P=!1;const K=()=>{P&&!u.length&&!m&&t.complete()},ne=ye=>m{a&&t.next(ye),m++;let Ie=!1;cn(e(ye,x++)).subscribe(jt(t,Le=>{r?.(Le),a?ne(Le):t.next(Le)},()=>{Ie=!0},void 0,()=>{if(Ie)try{for(m--;u.length&&mpe(Le)):pe(Le)}K()}catch(Le){t.error(Le)}}))};return i.subscribe(jt(t,ne,()=>{P=!0,K()})),()=>{c?.()}}(n,r,i,e)))}function _r(i=1/0){return vi(Ye,i)}const dn=new ht(i=>i.complete());function Jr(i){return i&&T(i.schedule)}function oa(i){return i[i.length-1]}function io(i){return T(oa(i))?i.pop():void 0}function Fo(i){return Jr(oa(i))?i.pop():void 0}function mr(i,t=0){return Yt((e,n)=>{e.subscribe(jt(n,r=>rr(n,i,()=>n.next(r),t),()=>rr(n,i,()=>n.complete(),t),r=>rr(n,i,()=>n.error(r),t)))})}function gt(i,t=0){return Yt((e,n)=>{n.add(i.schedule(()=>e.subscribe(n),t))})}function un(i,t){if(!i)throw new Error("Iterable cannot be null");return new ht(e=>{rr(e,t,()=>{const n=i[Symbol.asyncIterator]();rr(e,t,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function ar(i,t){return t?function an(i,t){if(null!=i){if(Vr(i))return function Rl(i,t){return cn(i).pipe(gt(t),mr(t))}(i,t);if(ga(i))return function Yo(i,t){return new ht(e=>{let n=0;return t.schedule(function(){n===i.length?e.complete():(e.next(i[n++]),e.closed||this.schedule())})})}(i,t);if(Ha(i))return function fr(i,t){return cn(i).pipe(gt(t),mr(t))}(i,t);if(xr(i))return un(i,t);if(_s(i))return function sd(i,t){return new ht(e=>{let n;return rr(e,t,()=>{n=i[Ir](),rr(e,t,()=>{let r,a;try{({value:r,done:a}=n.next())}catch(o){return void e.error(o)}a?e.complete():e.next(r)},0,!0)}),()=>T(n?.return)&&n.return()})}(i,t);if(la(i))return function Pn(i,t){return un(aa(i),t)}(i,t)}throw vo(i)}(i,t):cn(i)}function Bn(...i){const t=Fo(i),e=function no(i,t){return"number"==typeof oa(i)?i.pop():t}(i,1/0),n=i;return n.length?1===n.length?cn(n[0]):_r(e)(ar(n,t)):dn}function ro(i={}){const{connector:t=(()=>new He),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return a=>{let o,c,u,m=0,x=!1,P=!1;const K=()=>{c?.unsubscribe(),c=void 0},ne=()=>{K(),o=u=void 0,x=P=!1},pe=()=>{const ye=o;ne(),ye?.unsubscribe()};return Yt((ye,Ie)=>{m++,!P&&!x&&K();const Le=u=u??t();Ie.add(()=>{m--,0===m&&!P&&!x&&(c=Ln(pe,r))}),Le.subscribe(Ie),!o&&m>0&&(o=new ue({next:it=>Le.next(it),error:it=>{P=!0,K(),c=Ln(ne,e,it),Le.error(it)},complete:()=>{x=!0,K(),c=Ln(ne,n),Le.complete()}}),cn(ye).subscribe(o))})(a)}}function Ln(i,t,...e){if(!0===t)return void i();if(!1===t)return;const n=new ue({next:()=>{n.unsubscribe(),i()}});return cn(t(...e)).subscribe(n)}function tn(i){for(let t in i)if(i[t]===tn)return t;throw Error("Could not find renamed property on target object.")}function hc(i,t){for(const e in t)t.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=t[e])}function Yi(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(Yi).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const t=i.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Ui(i,t){return null==i||""===i?null===t?"":t:null==t||""===t?i:i+" "+t}const ao=tn({__forward_ref__:tn});function hi(i){return i.__forward_ref__=hi,i.toString=function(){return Yi(this())},i}function Pt(i){return Lr(i)?i():i}function Lr(i){return"function"==typeof i&&i.hasOwnProperty(ao)&&i.__forward_ref__===hi}function $e(i){return i&&!!i.\u0275providers}const ci="https://g.co/ng/security#xss";class tt extends Error{constructor(t,e){super(pr(t,e)),this.code=t}}function pr(i,t){return`NG0${Math.abs(i)}${t?": "+t.trim():""}`}function ji(i){return"string"==typeof i?i:null==i?"":String(i)}function ll(i,t){throw new tt(-201,!1)}function Ea(i,t){null==i&&function zn(i,t,e,n){throw new Error(`ASSERTION ERROR: ${i}`+(null==n?"":` [Expected=> ${e} ${n} ${t} <=Actual]`))}(t,i,null,"!=")}function Ke(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function St(i){return{providers:i.providers||[],imports:i.imports||[]}}function zo(i){return Nr(i,Uo)||Nr(i,ws)}function Nr(i,t){return i.hasOwnProperty(t)?i[t]:null}function lo(i){return i&&(i.hasOwnProperty(Pl)||i.hasOwnProperty(Si))?i[Pl]:null}const Uo=tn({\u0275prov:tn}),Pl=tn({\u0275inj:tn}),ws=tn({ngInjectableDef:tn}),Si=tn({ngInjectorDef:tn});var di=(()=>((di=di||{})[di.Default=0]="Default",di[di.Host=1]="Host",di[di.Self=2]="Self",di[di.SkipSelf=4]="SkipSelf",di[di.Optional=8]="Optional",di))();let Or;function ja(i){const t=Or;return Or=i,t}function rt(i,t,e){const n=zo(i);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&di.Optional?null:void 0!==t?t:void ll(Yi(i))}const Bi=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),za={},Go="__NG_DI_FLAG__",So="ngTempTokenPath",jr="ngTokenPath",Sa=/\n/gm,ul="\u0275",qo="__source";let To;function En(i){const t=To;return To=i,t}function wi(i,t=di.Default){if(void 0===To)throw new tt(-203,!1);return null===To?rt(i,void 0,t):To.get(i,t&di.Optional?null:void 0,t)}function Fe(i,t=di.Default){return(function Fs(){return Or}()||wi)(Pt(i),t)}function ii(i,t=di.Default){return Fe(i,$o(t))}function $o(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Bl(i){const t=[];for(let e=0;e((co=co||{})[co.OnPush=0]="OnPush",co[co.Default=1]="Default",co))(),xe=(()=>{return(i=xe||(xe={}))[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",xe;var i})();const Se={},Me=[],bt=tn({\u0275cmp:tn}),Ft=tn({\u0275dir:tn}),Di=tn({\u0275pipe:tn}),Ai=tn({\u0275mod:tn}),Mi=tn({\u0275fac:tn}),Xt=tn({__NG_ELEMENT_ID__:tn});let Xn=0;function qe(i){return Ta(()=>{const e=!0===i.standalone,n={},r={type:i.type,providersResolver:null,decls:i.decls,vars:i.vars,factory:null,template:i.template||null,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:i.exportAs||null,onPush:i.changeDetection===co.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&i.dependencies||null,getStandaloneInjector:null,selectors:i.selectors||Me,viewQuery:i.viewQuery||null,features:i.features||null,data:i.data||{},encapsulation:i.encapsulation||xe.Emulated,id:"c"+Xn++,styles:i.styles||Me,_:null,setInput:null,schemas:i.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=i.dependencies,o=i.features;return r.inputs=Cs(i.inputs,n),r.outputs=Cs(i.outputs),o&&o.forEach(c=>c(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(xs).filter(Aa):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(l).filter(Aa):null,r})}function xs(i){return Y(i)||s(i)}function Aa(i){return null!==i}function Dt(i){return Ta(()=>({type:i.type,bootstrap:i.bootstrap||Me,declarations:i.declarations||Me,imports:i.imports||Me,exports:i.exports||Me,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Cs(i,t){if(null==i)return Se;const e={};for(const n in i)if(i.hasOwnProperty(n)){let r=i[n],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),e[r]=n,t&&(t[r]=a)}return e}const Oe=qe;function Er(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Y(i){return i[bt]||null}function s(i){return i[Ft]||null}function l(i){return i[Di]||null}function h(i,t){const e=i[Ai]||null;if(!e&&!0===t)throw new Error(`Type ${Yi(i)} does not have '\u0275mod' property.`);return e}const f=0,p=1,w=2,M=3,H=4,$=5,he=6,_e=7,ke=8,Ne=9,ze=10,je=11,et=12,kt=13,Gt=14,ct=15,Ii=16,Fi=17,Sr=18,ea=19,_a=20,cr=21,hn=22,hl=1,ml=2,mu=7,fu=8,pu=9,Ao=10;function os(i){return Array.isArray(i)&&"object"==typeof i[hl]}function Os(i){return Array.isArray(i)&&!0===i[hl]}function Xp(i){return 0!=(4&i.flags)}function bh(i){return i.componentOffset>-1}function Om(i){return 1==(1&i.flags)}function Rs(i){return null!==i.template}function e2(i){return 0!=(256&i[w])}function vc(i,t){return i.hasOwnProperty(Mi)?i[Mi]:null}class l2{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Jn(){return v1}function v1(i){return i.type.prototype.ngOnChanges&&(i.setInput=d2),c2}function c2(){const i=F1(this),t=i?.current;if(t){const e=i.previous;if(e===Se)i.previous=t;else for(let n in t)e[n]=t[n];i.current=null,this.ngOnChanges(t)}}function d2(i,t,e,n){const r=this.declaredInputs[e],a=F1(i)||function u2(i,t){return i[w1]=t}(i,{previous:Se,current:null}),o=a.current||(a.current={}),c=a.previous,u=c[r];o[r]=new l2(u&&u.currentValue,t,c===Se),i[n]=t}Jn.ngInherit=!0;const w1="__ngSimpleChanges__";function F1(i){return i[w1]||null}const ks=function(i,t,e){},x1="svg";function uo(i){for(;Array.isArray(i);)i=i[f];return i}function Pm(i,t){return uo(t[i])}function ss(i,t){return uo(t[i.index])}function k1(i,t){return i.data[t]}function gu(i,t){return i[t]}function ls(i,t){const e=t[i];return os(e)?e:e[f]}function _u(i){return 64==(64&i[w])}function wc(i,t){return null==t?null:i[t]}function D1(i){i[Sr]=0}function wh(i,t){i[$]+=t;let e=i,n=i[M];for(;null!==n&&(1===t&&1===e[$]||-1===t&&0===e[$]);)n[$]+=t,e=n,n=n[M]}const Ki={lFrame:rg(null),bindingsEnabled:!0};function E1(){return Ki.bindingsEnabled}function xt(){return Ki.lFrame.lView}function Un(){return Ki.lFrame.tView}function Te(i){return Ki.lFrame.contextLView=i,i[ke]}function Ae(i){return Ki.lFrame.contextLView=null,i}function ho(){let i=Yl();for(;null!==i&&64===i.type;)i=i.parent;return i}function Yl(){return Ki.lFrame.currentTNode}function fl(i,t){const e=Ki.lFrame;e.currentTNode=i,e.isParent=t}function tg(){return Ki.lFrame.isParent}function ig(){Ki.lFrame.isParent=!1}function Co(){const i=Ki.lFrame;let t=i.bindingRootIndex;return-1===t&&(t=i.bindingRootIndex=i.tView.bindingStartIndex),t}function ud(){return Ki.lFrame.bindingIndex++}function Ps(i){const t=Ki.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+i,e}function F2(i,t){const e=Ki.lFrame;e.bindingIndex=e.bindingRootIndex=i,ng(t)}function ng(i){Ki.lFrame.currentDirectiveIndex=i}function Bs(i){const t=Ki.lFrame.currentDirectiveIndex;return-1===t?null:i[t]}function I1(){return Ki.lFrame.currentQueryIndex}function Bm(i){Ki.lFrame.currentQueryIndex=i}function C2(i){const t=i[p];return 2===t.type?t.declTNode:1===t.type?i[he]:null}function L1(i,t,e){if(e&di.SkipSelf){let r=t,a=i;for(;!(r=r.parent,null!==r||e&di.Host||(r=C2(a),null===r||(a=a[ct],10&r.type))););if(null===r)return!1;t=r,i=a}const n=Ki.lFrame=N1();return n.currentTNode=t,n.lView=i,!0}function Hm(i){const t=N1(),e=i[p];Ki.lFrame=t,t.currentTNode=e.firstChild,t.lView=i,t.tView=e,t.contextLView=i,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function N1(){const i=Ki.lFrame,t=null===i?null:i.child;return null===t?rg(i):t}function rg(i){const t={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:i,child:null,inI18n:!1};return null!==i&&(i.child=t),t}function Vm(){const i=Ki.lFrame;return Ki.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const O1=Vm;function ag(){const i=Vm();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Io(){return Ki.lFrame.selectedIndex}function hd(i){Ki.lFrame.selectedIndex=i}function ta(){const i=Ki.lFrame;return k1(i.tView,i.selectedIndex)}function mo(){Ki.lFrame.currentNamespace=x1}function pl(){!function M2(){Ki.lFrame.currentNamespace=null}()}function Ym(i,t){for(let e=t.directiveStart,n=t.directiveEnd;e=n)break}else t[u]<0&&(i[Sr]+=65536),(c>11>16&&(3&i[w])===t){i[w]+=2048,ks(4,c,a);try{a.call(c)}finally{ks(5,c,a)}}}else{ks(4,c,a);try{a.call(c)}finally{ks(5,c,a)}}}const yu=-1;class xh{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function sg(i,t,e){let n=0;for(;nt){o=a-1;break}}}for(;a>16}(i),n=t;for(;e>0;)n=n[ct],e--;return n}let be=!0;function Ve(i){const t=be;return be=i,t}const Ti=255,vn=5;let Cr=0;const Gr={};function Vs(i,t){const e=O3(i,t);if(-1!==e)return e;const n=t[p];n.firstCreatePass&&(i.injectorIndex=t.length,N2(n.data,i),N2(t,null),N2(n.blueprint,null));const r=O2(i,t),a=i.injectorIndex;if(F(r)){const o=O(r),c=ce(r,t),u=c[p].data;for(let m=0;m<8;m++)t[a+m]=c[o+m]|u[o+m]}return t[a+8]=r,a}function N2(i,t){i.push(0,0,0,0,0,0,0,0,t)}function O3(i,t){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===t[i.injectorIndex+8]?-1:i.injectorIndex}function O2(i,t){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let e=0,n=null,r=t;for(;null!==r;){if(n=j3(r),null===n)return yu;if(e++,r=r[ct],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return yu}function R2(i,t,e){!function zl(i,t,e){let n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty(Xt)&&(n=e[Xt]),null==n&&(n=e[Xt]=Cr++);const r=n&Ti;t.data[i+(r>>vn)]|=1<=0?t&Ti:iB:t}(e);if("function"==typeof a){if(!L1(t,i,n))return n&di.Host?R3(r,0,n):P3(t,e,n,r);try{const o=a(n);if(null!=o||n&di.Optional)return o;ll()}finally{O1()}}else if("number"==typeof a){let o=null,c=O3(i,t),u=yu,m=n&di.Host?t[Ii][he]:null;for((-1===c||n&di.SkipSelf)&&(u=-1===c?O2(i,t):t[c+8],u!==yu&&Y3(n,!1)?(o=t[p],c=O(u),t=ce(u,t)):c=-1);-1!==c;){const x=t[p];if(V3(a,c,x.data)){const P=eB(c,t,e,o,n,m);if(P!==Gr)return P}u=t[c+8],u!==yu&&Y3(n,t[p].data[c+8]===m)&&V3(a,c,t)?(o=x,c=O(u),t=ce(u,t)):c=-1}}return r}function eB(i,t,e,n,r,a){const o=t[p],c=o.data[i+8],x=P1(c,o,e,null==n?bh(c)&&be:n!=o&&0!=(3&c.type),r&di.Host&&a===c);return null!==x?kh(t,o,x,c):Gr}function P1(i,t,e,n,r){const a=i.providerIndexes,o=t.data,c=1048575&a,u=i.directiveStart,x=a>>20,K=r?c+x:i.directiveEnd;for(let ne=n?c:c+x;ne=u&&pe.type===e)return ne}if(r){const ne=o[u];if(ne&&Rs(ne)&&ne.type===e)return u}return null}function kh(i,t,e,n){let r=i[e];const a=t.data;if(function A2(i){return i instanceof xh}(r)){const o=r;o.resolving&&function oo(i,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${i}`:"";throw new tt(-200,`Circular dependency in DI detected for ${i}${e}`)}(function Vn(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():ji(i)}(a[e]));const c=Ve(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?ja(o.injectImpl):null;L1(i,n,di.Default);try{r=i[e]=o.factory(void 0,a,i,n),t.firstCreatePass&&e>=n.directiveStart&&function S2(i,t,e){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(n){const o=v1(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(i,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-i,r),a&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,a))}(e,a[e],t)}finally{null!==u&&ja(u),Ve(c),o.resolving=!1,O1()}}return r}function V3(i,t,e){return!!(e[t+(i>>vn)]&1<{const t=i.prototype.constructor,e=t[Mi]||P2(t),n=Object.prototype;let r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){const a=r[Mi]||P2(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function P2(i){return Lr(i)?()=>{const t=P2(Pt(i));return t&&t()}:vc(i)}function j3(i){const t=i[p],e=t.type;return 2===e?t.declTNode:1===e?i[he]:null}function fo(i){return function J9(i,t){if("class"===t)return i.classes;if("style"===t)return i.styles;const e=i.attrs;if(e){const n=e.length;let r=0;for(;r{const n=function B2(i){return function(...e){if(i){const n=i(...e);for(const r in n)this[r]=n[r]}}}(t);function r(...a){if(this instanceof r)return n.apply(this,a),this;const o=new r(...a);return c.annotation=o,c;function c(u,m,x){const P=u.hasOwnProperty(Gm)?u[Gm]:Object.defineProperty(u,Gm,{value:[]})[Gm];for(;P.length<=x;)P.push(null);return(P[x]=P[x]||[]).push(o),u}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=i,r.annotationCls=r,r})}class Ze{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ke({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Dh(i,t){i.forEach(e=>Array.isArray(e)?Dh(e,t):t(e))}function U3(i,t,e){t>=i.length?i.push(e):i.splice(t,0,e)}function B1(i,t){return t>=i.length-1?i.pop():i.splice(t,1)[0]}function dg(i,t){const e=[];for(let n=0;n=0?i[1|n]=e:(n=~n,function sB(i,t,e,n){let r=i.length;if(r==t)i.push(e,n);else if(1===r)i.push(n,i[0]),i[0]=e;else{for(r--,i.push(i[r-1],i[r]);r>t;)i[r]=i[r-2],r--;i[t]=e,i[t+1]=n}}(i,n,t,e)),n}function V2(i,t){const e=Km(i,t);if(e>=0)return i[1|e]}function Km(i,t){return function W3(i,t,e){let n=0,r=i.length>>e;for(;r!==n;){const a=n+(r-n>>1),o=i[a<t?r=a:n=a+1}return~(r<({token:i})),-1),Ds=Ns($m("Optional"),8),Ul=Ns($m("SkipSelf"),4);var Ms=(()=>((Ms=Ms||{})[Ms.Important=1]="Important",Ms[Ms.DashCase=2]="DashCase",Ms))();const W2=new Map;let SB=0;const q2="__ngContext__";function Qo(i,t){os(t)?(i[q2]=t[_a],function AB(i){W2.set(i[_a],i)}(t)):i[q2]=t}let $2;function K2(i,t){return $2(i,t)}function fg(i){const t=i[M];return Os(t)?t[M]:t}function Z2(i){return uE(i[kt])}function Q2(i){return uE(i[H])}function uE(i){for(;null!==i&&!Os(i);)i=i[H];return i}function Qm(i,t,e,n,r){if(null!=n){let a,o=!1;Os(n)?a=n:os(n)&&(o=!0,n=n[f]);const c=uo(n);0===i&&null!==e?null==r?_E(t,e,c):Mh(t,e,c,r||null,!0):1===i&&null!==e?Mh(t,e,c,r||null,!0):2===i?function rF(i,t,e){const n=z1(i,t);n&&function QB(i,t,e,n){i.removeChild(t,e,n)}(i,n,t,e)}(t,c,o):3===i&&t.destroyNode(c),null!=a&&function e7(i,t,e,n,r){const a=e[mu];a!==uo(e)&&Qm(t,i,n,a,r);for(let c=Ao;c0&&(i[e-1][H]=n[H]);const a=B1(i,Ao+t);!function zB(i,t){pg(i,t,t[je],2,null,null),t[f]=null,t[he]=null}(n[p],n);const o=a[ea];null!==o&&o.detachView(a[p]),n[M]=null,n[H]=null,n[w]&=-65}return n}function fE(i,t){if(!(128&t[w])){const e=t[je];e.destroyNode&&pg(i,t,e,3,null,null),function GB(i){let t=i[kt];if(!t)return tF(i[p],i);for(;t;){let e=null;if(os(t))e=t[kt];else{const n=t[Ao];n&&(e=n)}if(!e){for(;t&&!t[H]&&t!==i;)os(t)&&tF(t[p],t),t=t[M];null===t&&(t=i),os(t)&&tF(t[p],t),e=t&&t[H]}t=e}}(t)}}function tF(i,t){if(!(128&t[w])){t[w]&=-65,t[w]|=128,function ZB(i,t){let e;if(null!=i&&null!=(e=i.destroyHooks))for(let n=0;n=0?n[r=o]():n[r=-o].unsubscribe(),a+=2}else{const o=n[r=e[a+1]];e[a].call(o)}if(null!==n){for(let a=r+1;a-1){const{encapsulation:a}=i.data[n.directiveStart+r];if(a===xe.None||a===xe.Emulated)return null}return ss(n,e)}}(i,t.parent,e)}function Mh(i,t,e,n,r){i.insertBefore(t,e,n,r)}function _E(i,t,e){i.appendChild(t,e)}function bE(i,t,e,n,r){null!==n?Mh(i,t,e,n,r):_E(i,t,e)}function z1(i,t){return i.parentNode(t)}function yE(i,t,e){return wE(i,t,e)}let iF,G1,sF,q1,wE=function vE(i,t,e){return 40&i.type?ss(i,e):null};function U1(i,t,e,n){const r=pE(i,n,t),a=t[je],c=yE(n.parent||t[he],n,t);if(null!=r)if(Array.isArray(e))for(let u=0;ui,createScript:i=>i,createScriptURL:i=>i})}catch{}return G1}()?.createHTML(i)||i}function TE(i){return function lF(){if(void 0===q1&&(q1=null,Bi.trustedTypes))try{q1=Bi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return q1}()?.createScriptURL(i)||i}class Eh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ci})`}}class l7 extends Eh{getTypeName(){return"HTML"}}class c7 extends Eh{getTypeName(){return"Style"}}class d7 extends Eh{getTypeName(){return"Script"}}class u7 extends Eh{getTypeName(){return"URL"}}class h7 extends Eh{getTypeName(){return"ResourceURL"}}function js(i){return i instanceof Eh?i.changingThisBreaksApplicationSecurity:i}function xc(i,t){const e=function m7(i){return i instanceof Eh&&i.getTypeName()||null}(i);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${ci})`)}return e===t}class y7{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Xm(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class v7{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Xm(t),e}}const F7=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function $1(i){return(i=String(i)).match(F7)?i:"unsafe:"+i}function fd(i){const t={};for(const e of i.split(","))t[e]=!0;return t}function gg(...i){const t={};for(const e of i)for(const n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}const IE=fd("area,br,col,hr,img,wbr"),LE=fd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),NE=fd("rp,rt"),cF=gg(IE,gg(LE,fd("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")),gg(NE,fd("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")),gg(NE,LE)),dF=fd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),OE=gg(dF,fd("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fd("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")),x7=fd("script,style,template");class C7{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!cF.hasOwnProperty(e))return this.sanitizedSomething=!0,!x7.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();cF.hasOwnProperty(e)&&!IE.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(RE(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const k7=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,D7=/([^\#-~ |!])/g;function RE(i){return i.replace(/&/g,"&").replace(k7,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(D7,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let K1;function PE(i,t){let e=null;try{K1=K1||function AE(i){const t=new v7(i);return function w7(){try{return!!(new window.DOMParser).parseFromString(Xm(""),"text/html")}catch{return!1}}()?new y7(t):t}(i);let n=t?String(t):"";e=K1.getInertBodyElement(n);let r=5,a=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=K1.getInertBodyElement(n)}while(n!==a);return Xm((new C7).sanitizeChildren(uF(e)||e))}finally{if(e){const n=uF(e)||e;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function uF(i){return"content"in i&&function M7(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var br=(()=>((br=br||{})[br.NONE=0]="NONE",br[br.HTML=1]="HTML",br[br.STYLE=2]="STYLE",br[br.SCRIPT=3]="SCRIPT",br[br.URL=4]="URL",br[br.RESOURCE_URL=5]="RESOURCE_URL",br))();function on(i){const t=_g();return t?t.sanitize(br.URL,i)||"":xc(i,"URL")?js(i):$1(ji(i))}function Jm(i){const t=_g();if(t)return TE(t.sanitize(br.RESOURCE_URL,i)||"");if(xc(i,"ResourceURL"))return TE(js(i));throw new tt(904,!1)}function _g(){const i=xt();return i&&i[et]}const Z1=new Ze("ENVIRONMENT_INITIALIZER"),HE=new Ze("INJECTOR",-1),VE=new Ze("INJECTOR_DEF_TYPES");class YE{get(t,e=za){if(e===za){const n=new Error(`NullInjectorError: No provider for ${Yi(t)}!`);throw n.name="NullInjectorError",n}return e}}function O7(...i){return{\u0275providers:jE(0,i),\u0275fromNgModule:!0}}function jE(i,...t){const e=[],n=new Set;let r;return Dh(t,a=>{const o=a;hF(o,e,[],n)&&(r||(r=[]),r.push(o))}),void 0!==r&&zE(r,e),e}function zE(i,t){for(let e=0;e{t.push(a)})}}function hF(i,t,e,n){if(!(i=Pt(i)))return!1;let r=null,a=lo(i);const o=!a&&Y(i);if(a||o){if(o&&!o.standalone)return!1;r=i}else{const u=i.ngModule;if(a=lo(u),!a)return!1;r=u}const c=n.has(r);if(o){if(c)return!1;if(n.add(r),o.dependencies){const u="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const m of u)hF(m,t,e,n)}}else{if(!a)return!1;{if(null!=a.imports&&!c){let m;n.add(r);try{Dh(a.imports,x=>{hF(x,t,e,n)&&(m||(m=[]),m.push(x))})}finally{}void 0!==m&&zE(m,t)}if(!c){const m=vc(r)||(()=>new r);t.push({provide:r,useFactory:m,deps:Me},{provide:VE,useValue:r,multi:!0},{provide:Z1,useValue:()=>Fe(r),multi:!0})}const u=a.providers;null==u||c||mF(u,x=>{t.push(x)})}}return r!==i&&void 0!==i.providers}function mF(i,t){for(let e of i)$e(e)&&(e=e.\u0275providers),Array.isArray(e)?mF(e,t):t(e)}const R7=tn({provide:String,useValue:tn});function fF(i){return null!==i&&"object"==typeof i&&R7 in i}function Sh(i){return"function"==typeof i}const pF=new Ze("Set Injector scope."),Q1={},B7={};let gF;function X1(){return void 0===gF&&(gF=new YE),gF}class Cc{}class GE extends Cc{get destroyed(){return this._destroyed}constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bF(t,o=>this.processProvider(o)),this.records.set(HE,ef(void 0,this)),r.has("environment")&&this.records.set(Cc,ef(void 0,this));const a=this.records.get(pF);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(VE.multi,Me,di.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=En(this),n=ja(void 0);try{return t()}finally{En(e),ja(n)}}get(t,e=za,n=di.Default){this.assertNotDestroyed(),n=$o(n);const r=En(this),a=ja(void 0);try{if(!(n&di.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function z7(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ze}(t)&&zo(t);c=u&&this.injectableDefInScope(u)?ef(_F(t),Q1):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(n&di.Self?X1():this.parent).get(t,e=n&di.Optional&&e===za?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[So]=o[So]||[]).unshift(Yi(t)),r)throw o;return function Hl(i,t,e,n){const r=i[So];throw t[qo]&&r.unshift(t[qo]),i.message=function Vl(i,t,e,n=null){i=i&&"\n"===i.charAt(0)&&i.charAt(1)==ul?i.slice(2):i;let r=Yi(t);if(Array.isArray(t))r=t.map(Yi).join(" -> ");else if("object"==typeof t){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];a.push(o+":"+("string"==typeof c?JSON.stringify(c):Yi(c)))}r=`{${a.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${i.replace(Sa,"\n ")}`}("\n"+i.message,r,e,n),i[jr]=r,i[So]=null,i}(o,t,"R3InjectorError",this.source)}throw o}finally{ja(a),En(r)}}resolveInjectorInitializers(){const t=En(this),e=ja(void 0);try{const n=this.get(Z1.multi,Me,di.Self);for(const r of n)r()}finally{En(t),ja(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(Yi(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let e=Sh(t=Pt(t))?t:Pt(t&&t.provide);const n=function V7(i){return fF(i)?ef(void 0,i.useValue):ef(qE(i),Q1)}(t);if(Sh(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=ef(void 0,Q1,!0),r.factory=()=>Bl(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){return e.value===Q1&&(e.value=B7,e.value=e.factory()),"object"==typeof e.value&&e.value&&function j7(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Pt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function _F(i){const t=zo(i),e=null!==t?t.factory:vc(i);if(null!==e)return e;if(i instanceof Ze)throw new tt(204,!1);if(i instanceof Function)return function H7(i){const t=i.length;if(t>0)throw dg(t,"?"),new tt(204,!1);const e=function _c(i){const t=i&&(i[Uo]||i[ws]);return t?(function rs(i){if(i.hasOwnProperty("name"))return i.name;(""+i).match(/^function\s*([^\s(]+)/)}(i),t):null}(i);return null!==e?()=>e.factory(i):()=>new i}(i);throw new tt(204,!1)}function qE(i,t,e){let n;if(Sh(i)){const r=Pt(i);return vc(r)||_F(r)}if(fF(i))n=()=>Pt(i.useValue);else if(function WE(i){return!(!i||!i.useFactory)}(i))n=()=>i.useFactory(...Bl(i.deps||[]));else if(function UE(i){return!(!i||!i.useExisting)}(i))n=()=>Fe(Pt(i.useExisting));else{const r=Pt(i&&(i.useClass||i.provide));if(!function Y7(i){return!!i.deps}(i))return vc(r)||_F(r);n=()=>new r(...Bl(i.deps))}return n}function ef(i,t,e=!1){return{factory:i,value:t,multi:e?[]:void 0}}function bF(i,t){for(const e of i)Array.isArray(e)?bF(e,t):e&&$e(e)?bF(e.\u0275providers,t):t(e)}class U7{}class $E{}class G7{resolveComponentFactory(t){throw function W7(i){const t=Error(`No component factory found for ${Yi(i)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=i,t}(t)}}let pd=(()=>{class i{}return i.NULL=new G7,i})();function q7(){return tf(ho(),xt())}function tf(i,t){return new pt(ss(i,t))}let pt=(()=>{class i{constructor(e){this.nativeElement=e}}return i.__NG_ELEMENT_ID__=q7,i})();function $7(i){return i instanceof pt?i.nativeElement:i}class nf{}let zs=(()=>{class i{}return i.__NG_ELEMENT_ID__=()=>function K7(){const i=xt(),e=ls(ho().index,i);return(os(e)?e:i)[je]}(),i})(),Z7=(()=>{class i{}return i.\u0275prov=Ke({token:i,providedIn:"root",factory:()=>null}),i})();class Th{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Q7=new Th("15.2.0"),yF={},vF="ngOriginalError";function wF(i){return i[vF]}class gd{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&wF(t);for(;e&&wF(e);)e=wF(e);return e||null}}function FF(i){return i.ownerDocument.defaultView}function J1(i){return i.ownerDocument}function ZE(i){return i.ownerDocument.body}function _d(i){return i instanceof Function?i():i}function XE(i,t,e){let n=i.length;for(;;){const r=i.indexOf(t,e);if(-1===r)return r;if(0===r||i.charCodeAt(r-1)<=32){const a=t.length;if(r+a===n||i.charCodeAt(r+a)<=32)return r}e=r+1}}const JE="ng-template";function aH(i,t,e){let n=0;for(;na?"":r[P+1].toLowerCase();const ne=8&n?K:null;if(ne&&-1!==XE(ne,m,0)||2&n&&m!==K){if(Wl(n))return!1;o=!0}}}}else{if(!o&&!Wl(n)&&!Wl(u))return!1;if(o&&Wl(u))continue;o=!1,n=u|1&n}}return Wl(n)||o}function Wl(i){return 0==(1&i)}function lH(i,t,e,n){if(null===t)return-1;let r=0;if(n||!e){let a=!1;for(;r-1)for(e++;e0?'="'+c+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""!==r&&!Wl(o)&&(t+=n4(a,r),r=""),n=o,a=a||!Wl(n);e++}return""!==r&&(t+=n4(a,r)),t}const bn={};function E(i){r4(Un(),xt(),Io()+i,!1)}function r4(i,t,e,n){if(!n)if(3==(3&t[w])){const a=i.preOrderCheckHooks;null!==a&&gl(t,a,e)}else{const a=i.preOrderHooks;null!==a&&jm(t,a,0,e)}hd(e)}function l4(i,t=null,e=null,n){const r=c4(i,t,e,n);return r.resolveInjectorInitializers(),r}function c4(i,t=null,e=null,n,r=new Set){const a=[e||Me,O7(i)];return n=n||("object"==typeof i?void 0:Yi(i)),new GE(a,t||X1(),n||null,r)}let qr=(()=>{class i{static create(e,n){if(Array.isArray(e))return l4({name:""},n,e,"");{const r=e.name??"";return l4({name:r},e.parent,e.providers,r)}}}return i.THROW_IF_NOT_FOUND=za,i.NULL=new YE,i.\u0275prov=Ke({token:i,providedIn:"any",factory:()=>Fe(HE)}),i.__NG_ELEMENT_ID__=-1,i})();function k(i,t=di.Default){const e=xt();return null===e?Fe(i,t):B3(ho(),e,Pt(i),t)}function Gl(){throw new Error("invalid")}function g4(i,t){const e=i.contentQueries;if(null!==e)for(let n=0;nhn&&r4(i,t,hn,!1),ks(o?2:0,r),e(n,r)}finally{hd(a),ks(o?3:1,r)}}function SF(i,t,e){if(Xp(t)){const r=t.directiveEnd;for(let a=t.directiveStart;a0;){const e=i[--t];if("number"==typeof e&&e<0)return e}return 0})(o)!=c&&o.push(c),o.push(e,n,a)}}(i,t,n,bg(i,e,r.hostVars,bn),r)}function kc(i,t,e,n,r,a){const o=ss(i,t);!function OF(i,t,e,n,r,a,o){if(null==a)i.removeAttribute(t,r,e);else{const c=null==o?ji(a):o(a,n||"",r);i.setAttribute(t,r,c,e)}}(t[je],o,a,i.value,e,n,r)}function JH(i,t,e,n,r,a){const o=a[t];if(null!==o){const c=n.setInput;for(let u=0;u0&&RF(e)}}function RF(i){for(let n=Z2(i);null!==n;n=Q2(n))for(let r=Ao;r0&&RF(a)}const e=i[p].components;if(null!==e)for(let n=0;n0&&RF(r)}}function rV(i,t){const e=ls(t,i),n=e[p];(function aV(i,t){for(let e=t.length;e-1&&(eF(t,n),B1(e,n))}this._attachedToViewContainer=!1}fE(this._lView[p],this._lView)}onDestroy(t){y4(this._lView[p],this._lView,null,t)}markForCheck(){PF(this._cdRefInjectingView||this._lView)}detach(){this._lView[w]&=-65}reattach(){this._lView[w]|=64}detectChanges(){rb(this._lView[p],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function WB(i,t){pg(i,t,t[je],2,null,null)}(this._lView[p],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}class oV extends yg{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;rb(t[p],t,t[ke],!1)}checkNoChanges(){}get context(){return null}}class T4 extends pd{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Y(t);return new vg(e,this.ngModule)}}function A4(i){const t=[];for(let e in i)i.hasOwnProperty(e)&&t.push({propName:i[e],templateName:e});return t}class lV{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=$o(n);const r=this.injector.get(t,yF,n);return r!==yF||e===yF?r:this.parentInjector.get(t,e,n)}}class vg extends $E{get inputs(){return A4(this.componentDef.inputs)}get outputs(){return A4(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function fH(i){return i.map(mH).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,r){let a=(r=r||this.ngModule)instanceof Cc?r:r?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const o=a?new lV(t,a):t,c=o.get(nf,null);if(null===c)throw new tt(407,!1);const u=o.get(Z7,null),m=c.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",P=n?function BH(i,t,e){return i.selectRootElement(t,e===xe.ShadowDom)}(m,n,this.componentDef.encapsulation):J2(m,x,function sV(i){const t=i.toLowerCase();return"svg"===t?x1:"math"===t?"math":null}(x)),K=this.componentDef.onPush?288:272,ne=IF(0,null,null,1,0,null,null,null,null,null),pe=tb(null,ne,null,K,null,null,c,m,u,o,null);let ye,Ie;Hm(pe);try{const Le=this.componentDef;let it,Be=null;Le.findHostDirectiveDefs?(it=[],Be=new Map,Le.findHostDirectiveDefs(Le,it,Be),it.push(Le)):it=[Le];const ut=function dV(i,t){const e=i[p],n=hn;return i[n]=t,sf(e,n,2,"#host",null)}(pe,P),It=function uV(i,t,e,n,r,a,o,c){const u=r[p];!function hV(i,t,e,n){for(const r of i)t.mergedAttrs=Fc(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(ab(t,t.mergedAttrs,!0),null!==e&&DE(n,e,t))}(n,i,t,o);const m=a.createRenderer(t,e),x=tb(r,b4(e),null,e.onPush?32:16,r[i.index],i,a,m,c||null,null,null);return u.firstCreatePass&&NF(u,i,n.length-1),nb(r,x),r[i.index]=x}(ut,P,Le,it,pe,c,m);Ie=k1(ne,hn),P&&function fV(i,t,e,n){if(n)sg(i,e,["ng-version",Q7.full]);else{const{attrs:r,classes:a}=function pH(i){const t=[],e=[];let n=1,r=2;for(;n0&&kE(i,e,a.join(" "))}}(m,Le,P,n),void 0!==e&&function pV(i,t,e){const n=i.projection=[];for(let r=0;r=0;n--){const r=i[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Fc(r.hostAttrs,e=Fc(e,r.hostAttrs))}}(n)}function VF(i){return i===Se?{}:i===Me?[]:i}function bV(i,t){const e=i.viewQuery;i.viewQuery=e?(n,r)=>{t(n,r),e(n,r)}:t}function yV(i,t){const e=i.contentQueries;i.contentQueries=e?(n,r,a)=>{t(n,r,a),e(n,r,a)}:t}function vV(i,t){const e=i.hostBindings;i.hostBindings=e?(n,r)=>{t(n,r),e(n,r)}:t}let sb=null;function Ah(){if(!sb){const i=Bi.Symbol;if(i&&i.iterator)sb=i.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;eo(uo(ut[n.index])):n.index;let Be=null;if(!o&&c&&(Be=function NV(i,t,e,n){const r=i.cleanup;if(null!=r)for(let a=0;au?c[u]:null}"string"==typeof o&&(a+=2)}return null}(i,t,r,n.index)),null!==Be)(Be.__ngLastListenerFn__||Be).__ngNextListenerFn__=a,Be.__ngLastListenerFn__=a,K=!1;else{a=$4(n,t,x,a,!1);const ut=e.listen(Ie,r,a);P.push(a,ut),m&&m.push(r,it,Le,Le+1)}}else a=$4(n,t,x,a,!1);const ne=n.outputs;let pe;if(K&&null!==ne&&(pe=ne[r])){const ye=pe.length;if(ye)for(let Ie=0;Ie-1?ls(i.index,t):t);let u=q4(t,e,n,o),m=a.__ngNextListenerFn__;for(;m;)u=q4(t,e,m,o)&&u,m=m.__ngNextListenerFn__;return r&&!1===u&&(o.preventDefault(),o.returnValue=!1),u}}function Z(i=1){return function jl(i){return(Ki.lFrame.contextLView=function k2(i,t){for(;i>0;)t=t[ct],i--;return t}(i,Ki.lFrame.contextLView))[ke]}(i)}function OV(i,t){let e=null;const n=function cH(i){const t=i.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(i);for(let r=0;r>17&32767}function WF(i){return 2|i}function Lh(i){return(131068&i)>>2}function GF(i,t){return-131069&i|t<<2}function qF(i){return 1|i}function rS(i,t,e,n,r){const a=i[e+1],o=null===t;let c=n?vu(a):Lh(a),u=!1;for(;0!==c&&(!1===u||o);){const x=i[c+1];YV(i[c],t)&&(u=!0,i[c+1]=n?qF(x):WF(x)),c=n?vu(x):Lh(x)}u&&(i[e+1]=n?WF(a):qF(a))}function YV(i,t){return null===i||null==t||(Array.isArray(i)?i[1]:i)===t||!(!Array.isArray(i)||"string"!=typeof t)&&Km(i,t)>=0}const go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function aS(i){return i.substring(go.key,go.keyEnd)}function jV(i){return i.substring(go.value,go.valueEnd)}function oS(i,t){const e=go.textEnd;return e===t?-1:(t=go.keyEnd=function WV(i,t,e){for(;t32;)t++;return t}(i,go.key=t,e),bf(i,t,e))}function sS(i,t){const e=go.textEnd;let n=go.key=bf(i,t,e);return e===n?-1:(n=go.keyEnd=function GV(i,t,e){let n;for(;t=65&&(-33&n)<=90||n>=48&&n<=57);)t++;return t}(i,n,e),n=cS(i,n,e),n=go.value=bf(i,n,e),n=go.valueEnd=function qV(i,t,e){let n=-1,r=-1,a=-1,o=t,c=o;for(;o32&&(c=o),a=r,r=n,n=-33&u}return c}(i,n,e),cS(i,n,e))}function lS(i){go.key=0,go.keyEnd=0,go.value=0,go.valueEnd=0,go.textEnd=i.length}function bf(i,t,e){for(;t=0;e=sS(t,e))mS(i,aS(t),jV(t))}function ub(i){Kl(Ys,Mc,i,!0)}function Mc(i,t){for(let e=function zV(i){return lS(i),oS(i,bf(i,0,go.textEnd))}(t);e>=0;e=oS(t,e))Ys(i,aS(t),!0)}function $l(i,t,e,n){const r=xt(),a=Un(),o=Ps(2);a.firstUpdatePass&&hS(a,i,o,n),t!==bn&&Xo(r,o,t)&&fS(a,a.data[Io()],r,r[je],i,r[o+1]=function tY(i,t){return null==i||("string"==typeof t?i+=t:"object"==typeof i&&(i=Yi(js(i)))),i}(t,e),n,o)}function Kl(i,t,e,n){const r=Un(),a=Ps(2);r.firstUpdatePass&&hS(r,null,a,n);const o=xt();if(e!==bn&&Xo(o,a,e)){const c=r.data[Io()];if(gS(c,n)&&!uS(r,a)){let u=n?c.classesWithoutHost:c.stylesWithoutHost;null!==u&&(e=Ui(u,e||"")),jF(r,c,o,e,n)}else!function eY(i,t,e,n,r,a,o,c){r===bn&&(r=Me);let u=0,m=0,x=0=i.expandoStartIndex}function hS(i,t,e,n){const r=i.data;if(null===r[e+1]){const a=r[Io()],o=uS(i,e);gS(a,n)&&null===t&&!o&&(t=!1),t=function KV(i,t,e,n){const r=Bs(i);let a=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(e=xg(e=$F(null,i,t,e,n),t.attrs,n),a=null);else{const o=t.directiveStylingLast;if(-1===o||i[o]!==r)if(e=$F(r,i,t,e,n),null===a){let u=function ZV(i,t,e){const n=e?t.classBindings:t.styleBindings;if(0!==Lh(n))return i[vu(n)]}(i,t,n);void 0!==u&&Array.isArray(u)&&(u=$F(null,i,t,u[1],n),u=xg(u,t.attrs,n),function QV(i,t,e,n){i[vu(e?t.classBindings:t.styleBindings)]=n}(i,t,n,u))}else a=function XV(i,t,e){let n;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(m=!0)):x=e,r)if(0!==u){const K=vu(i[c+1]);i[n+1]=db(K,c),0!==K&&(i[K+1]=GF(i[K+1],n)),i[c+1]=function PV(i,t){return 131071&i|t<<17}(i[c+1],n)}else i[n+1]=db(c,0),0!==c&&(i[c+1]=GF(i[c+1],n)),c=n;else i[n+1]=db(u,0),0===c?c=n:i[u+1]=GF(i[u+1],n),u=n;m&&(i[n+1]=WF(i[n+1])),rS(i,x,n,!0),rS(i,x,n,!1),function VV(i,t,e,n,r){const a=r?i.residualClasses:i.residualStyles;null!=a&&"string"==typeof t&&Km(a,t)>=0&&(e[n+1]=qF(e[n+1]))}(t,x,i,n,a),o=db(c,u),a?t.classBindings=o:t.styleBindings=o}(r,a,t,e,o,n)}}function $F(i,t,e,n,r){let a=null;const o=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c0;){const u=i[r],m=Array.isArray(u),x=m?u[1]:u,P=null===x;let K=e[r+1];K===bn&&(K=P?Me:void 0);let ne=P?V2(K,n):x===n?K:void 0;if(m&&!hb(ne)&&(ne=V2(u,n)),hb(ne)&&(c=ne,o))return c;const pe=i[r+1];r=o?vu(pe):Lh(pe)}if(null!==t){let u=a?t.residualClasses:t.residualStyles;null!=u&&(c=V2(u,n))}return c}function hb(i){return void 0!==i}function gS(i,t){return 0!=(i.flags&(t?8:16))}function L(i,t=""){const e=xt(),n=Un(),r=i+hn,a=n.firstCreatePass?sf(n,r,1,t,null):n.data[r],o=e[r]=function X2(i,t){return i.createText(t)}(e[je],t);U1(n,e,o,a),fl(a,!1)}function yt(i){return qt("",i,""),yt}function qt(i,t,e){const n=xt(),r=cf(n,i,t,e);return r!==bn&&bd(n,Io(),r),qt}function yd(i,t,e,n,r){const a=xt(),o=df(a,i,t,e,n,r);return o!==bn&&bd(a,Io(),o),yd}function mb(i,t,e){Kl(Ys,Mc,cf(xt(),i,t,e),!0)}function Ua(i,t,e){const n=xt();return Xo(n,ud(),t)&&Us(Un(),ta(),n,i,t,n[je],e,!0),Ua}function yf(i,t,e){const n=xt();if(Xo(n,ud(),t)){const a=Un(),o=ta();Us(a,o,n,i,t,E4(Bs(a.data),o,n),e,!0)}return yf}const Nh=void 0;var vY=["en",[["a","p"],["AM","PM"],Nh],[["AM","PM"],Nh,Nh],[["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"]],Nh,[["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"]],Nh,[["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}",Nh,"{1} 'at' {0}",Nh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yY(i){const e=Math.floor(Math.abs(i)),n=i.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let vf={};function cs(i){const t=function wY(i){return i.toLowerCase().replace(/_/g,"-")}(i);let e=NS(t);if(e)return e;const n=t.split("-")[0];if(e=NS(n),e)return e;if("en"===n)return vY;throw new tt(701,!1)}function NS(i){return i in vf||(vf[i]=Bi.ng&&Bi.ng.common&&Bi.ng.common.locales&&Bi.ng.common.locales[i]),vf[i]}var ni=(()=>((ni=ni||{})[ni.LocaleId=0]="LocaleId",ni[ni.DayPeriodsFormat=1]="DayPeriodsFormat",ni[ni.DayPeriodsStandalone=2]="DayPeriodsStandalone",ni[ni.DaysFormat=3]="DaysFormat",ni[ni.DaysStandalone=4]="DaysStandalone",ni[ni.MonthsFormat=5]="MonthsFormat",ni[ni.MonthsStandalone=6]="MonthsStandalone",ni[ni.Eras=7]="Eras",ni[ni.FirstDayOfWeek=8]="FirstDayOfWeek",ni[ni.WeekendRange=9]="WeekendRange",ni[ni.DateFormat=10]="DateFormat",ni[ni.TimeFormat=11]="TimeFormat",ni[ni.DateTimeFormat=12]="DateTimeFormat",ni[ni.NumberSymbols=13]="NumberSymbols",ni[ni.NumberFormats=14]="NumberFormats",ni[ni.CurrencyCode=15]="CurrencyCode",ni[ni.CurrencySymbol=16]="CurrencySymbol",ni[ni.CurrencyName=17]="CurrencyName",ni[ni.Currencies=18]="Currencies",ni[ni.Directionality=19]="Directionality",ni[ni.PluralCase=20]="PluralCase",ni[ni.ExtraData=21]="ExtraData",ni))();const wf="en-US";let OS=wf;function QF(i,t,e,n,r){if(i=Pt(i),Array.isArray(i))for(let a=0;a>20;if(Sh(i)||!i.multi){const ne=new xh(u,r,k),pe=JF(c,t,r?x:x+K,P);-1===pe?(R2(Vs(m,o),a,c),XF(a,i,t.length),t.push(c),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),e.push(ne),o.push(ne)):(e[pe]=ne,o[pe]=ne)}else{const ne=JF(c,t,x+K,P),pe=JF(c,t,x,x+K),Ie=pe>=0&&e[pe];if(r&&!Ie||!r&&!(ne>=0&&e[ne])){R2(Vs(m,o),a,c);const Le=function bj(i,t,e,n,r){const a=new xh(i,e,k);return a.multi=[],a.index=t,a.componentProviders=0,oT(a,r,n&&!e),a}(r?_j:gj,e.length,r,n,u);!r&&Ie&&(e[pe].providerFactory=Le),XF(a,i,t.length,0),t.push(c),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),e.push(Le),o.push(Le)}else XF(a,i,ne>-1?ne:pe,oT(e[r?pe:ne],u,!r&&n));!r&&n&&Ie&&e[pe].componentProviders++}}}function XF(i,t,e,n){const r=Sh(t),a=function P7(i){return!!i.useClass}(t);if(r||a){const u=(a?Pt(t.useClass):t).prototype.ngOnDestroy;if(u){const m=i.destroyHooks||(i.destroyHooks=[]);if(!r&&t.multi){const x=m.indexOf(e);-1===x?m.push(e,[n,u]):m[x+1].push(n,u)}else m.push(e,u)}}}function oT(i,t,e){return e&&i.componentProviders++,i.multi.push(t)-1}function JF(i,t,e,n){for(let r=e;r{e.providersResolver=(n,r)=>function pj(i,t,e){const n=Un();if(n.firstCreatePass){const r=Rs(i);QF(e,n.data,n.blueprint,r,!0),QF(t,n.data,n.blueprint,r,!1)}}(n,r?r(i):i,t)}}class Ff{}class sT{}class lT extends Ff{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new T4(this);const n=h(t);this._bootstrapComponents=_d(n.bootstrap),this._r3Injector=c4(t,e,[{provide:Ff,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],Yi(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tx extends sT{constructor(t){super(),this.moduleType=t}create(t){return new lT(this.moduleType,t)}}class vj extends Ff{constructor(t,e,n){super(),this.componentFactoryResolver=new T4(this),this.instance=null;const r=new GE([...t,{provide:Ff,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],e||X1(),n,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bb(i,t,e=null){return new vj(i,t,e).injector}let wj=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const n=jE(0,e.type),r=n.length>0?bb([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return i.\u0275prov=Ke({token:i,providedIn:"environment",factory:()=>new i(Fe(Cc))}),i})();function ix(i){i.getStandaloneInjector=t=>t.get(wj).getOrCreateStandaloneInjector(i)}function zr(i,t,e){const n=Co()+i,r=xt();return r[n]===bn?Dc(r,n,e?t.call(e):t()):function wg(i,t){return i[t]}(r,n)}function wn(i,t,e,n){return pT(xt(),Co(),i,t,e,n)}function Ws(i,t,e,n,r){return gT(xt(),Co(),i,t,e,n,r)}function rx(i,t,e,n,r,a,o){return function bT(i,t,e,n,r,a,o,c,u){const m=t+e;return function bl(i,t,e,n,r,a){const o=Ih(i,t,e,n);return Ih(i,t+2,r,a)||o}(i,m,r,a,o,c)?Dc(i,m+4,u?n.call(u,r,a,o,c):n(r,a,o,c)):Sg(i,m+4)}(xt(),Co(),i,t,e,n,r,a,o)}function Sg(i,t){const e=i[t];return e===bn?void 0:e}function pT(i,t,e,n,r,a){const o=t+e;return Xo(i,o,r)?Dc(i,o+1,a?n.call(a,r):n(r)):Sg(i,o+1)}function gT(i,t,e,n,r,a,o){const c=t+e;return Ih(i,c,r,a)?Dc(i,c+2,o?n.call(o,r,a):n(r,a)):Sg(i,c+2)}function _T(i,t,e,n,r,a,o,c){const u=t+e;return function cb(i,t,e,n,r){const a=Ih(i,t,e,n);return Xo(i,t+2,r)||a}(i,u,r,a,o)?Dc(i,u+3,c?n.call(c,r,a,o):n(r,a,o)):Sg(i,u+3)}function gi(i,t){const e=Un();let n;const r=i+hn;e.firstCreatePass?(n=function Rj(i,t){if(t)for(let e=t.length-1;e>=0;e--){const n=t[e];if(i===n.name)return n}}(t,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,n.onDestroy)):n=e.data[r];const a=n.factory||(n.factory=vc(n.type)),o=ja(k);try{const c=Ve(!1),u=a();return Ve(c),function AV(i,t,e,n){e>=i.data.length&&(i.data[e]=null,i.blueprint[e]=null),t[e]=n}(e,xt(),r,u),u}finally{ja(o)}}function yi(i,t,e){const n=i+hn,r=xt(),a=gu(r,n);return Tg(r,n)?pT(r,Co(),t,a.transform,e,a):a.transform(e)}function ax(i,t,e,n){const r=i+hn,a=xt(),o=gu(a,r);return Tg(a,r)?gT(a,Co(),t,o.transform,e,n,o):o.transform(e,n)}function Tg(i,t){return i[p].data[t].pure}function ox(i){return t=>{setTimeout(i,void 0,t)}}const lt=class Hj extends He{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r=t,a=e||(()=>null),o=n;if(t&&"object"==typeof t){const u=t;r=u.next?.bind(u),a=u.error?.bind(u),o=u.complete?.bind(u)}this.__isAsync&&(a=ox(a),r&&(r=ox(r)),o&&(o=ox(o)));const c=super.subscribe({next:r,error:a,complete:o});return t instanceof C&&t.add(c),c}};function Vj(){return this._results[Ah()]()}class Ec{get changes(){return this._changes||(this._changes=new lt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ah(),n=Ec.prototype;n[e]||(n[e]=Vj)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const r=function _l(i){return i.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function aB(i,t,e){if(i.length!==t.length)return!1;for(let n=0;n{class i{}return i.__NG_ELEMENT_ID__=zj,i})();const Yj=yr,jj=class extends Yj{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t,e){const n=this._declarationTContainer.tViews,r=tb(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null,e||null);r[Fi]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[ea];return null!==o&&(r[ea]=o.createEmbeddedView(n)),EF(n,r,t),new yg(r)}};function zj(){return yb(ho(),xt())}function yb(i,t){return 4&i.type?new jj(t,i,tf(i,t)):null}let kr=(()=>{class i{}return i.__NG_ELEMENT_ID__=Uj,i})();function Uj(){return xT(ho(),xt())}const Wj=kr,wT=class extends Wj{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return tf(this._hostTNode,this._hostLView)}get injector(){return new Um(this._hostTNode,this._hostLView)}get parentInjector(){const t=O2(this._hostTNode,this._hostLView);if(F(t)){const e=ce(t,this._hostLView),n=O(t);return new Um(e[p].data[n+8],e)}return new Um(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=FT(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Ao}createEmbeddedView(t,e,n){let r,a;"number"==typeof n?r=n:null!=n&&(r=n.index,a=n.injector);const o=t.createEmbeddedView(e||{},a);return this.insert(o,r),o}createComponent(t,e,n,r,a){const o=t&&!function cg(i){return"function"==typeof i}(t);let c;if(o)c=e;else{const P=e||{};c=P.index,n=P.injector,r=P.projectableNodes,a=P.environmentInjector||P.ngModuleRef}const u=o?t:new vg(Y(t)),m=n||this.parentInjector;if(!a&&null==u.ngModule){const K=(o?m:this.parentInjector).get(Cc,null);K&&(a=K)}const x=u.create(m,r,void 0,a);return this.insert(x.hostView,c),x}insert(t,e){const n=t._lView,r=n[p];if(function g2(i){return Os(i[M])}(n)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const P=n[M],K=new wT(P,P[he],P[M]);K.detach(K.indexOf(t))}}const a=this._adjustIndex(e),o=this._lContainer;!function qB(i,t,e,n){const r=Ao+n,a=e.length;n>0&&(e[r-1][H]=t),n0)n.push(o[c/2]);else{const m=a[c+1],x=t[-u];for(let P=Ao;P{class i{constructor(e){this.appInits=e,this.resolve=wb,this.reject=wb,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{a.subscribe({complete:c,error:u})});e.push(o)}}Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),0===e.length&&n(),this.initialized=!0}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ig,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const kf=new Ze("AppId",{providedIn:"root",factory:function qT(){return`${_x()}${_x()}${_x()}`}});function _x(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $T=new Ze("Platform Initializer"),Sc=new Ze("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),KT=new Ze("appBootstrapListener"),Nn=new Ze("AnimationModuleType");let _z=(()=>{class i{log(e){console.log(e)}warn(e){console.warn(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();const Tc=new Ze("LocaleId",{providedIn:"root",factory:()=>ii(Tc,di.Optional|di.SkipSelf)||function bz(){return typeof $localize<"u"&&$localize.locale||wf}()});class vz{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let ZT=(()=>{class i{compileModuleSync(e){return new tx(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),a=_d(h(e).declarations).reduce((o,c)=>{const u=Y(c);return u&&o.push(new vg(u)),o},[]);return new vz(n,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const xz=(()=>Promise.resolve(0))();function bx(i){typeof Zone>"u"?xz.then(()=>{i&&i.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",i)}class Rt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new lt(!1),this.onMicrotaskEmpty=new lt(!1),this.onStable=new lt(!1),this.onError=new lt(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function Cz(){let i=Bi.requestAnimationFrame,t=Bi.cancelAnimationFrame;if(typeof Zone<"u"&&i&&t){const e=i[Zone.__symbol__("OriginalDelegate")];e&&(i=e);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Mz(i){const t=()=>{!function Dz(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Bi,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,vx(i),i.isCheckStableRunning=!0,yx(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),vx(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,a,o,c)=>{try{return JT(i),e.invokeTask(r,a,o,c)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||i.shouldCoalesceRunChangeDetection)&&t(),eA(i)}},onInvoke:(e,n,r,a,o,c,u)=>{try{return JT(i),e.invoke(r,a,o,c,u)}finally{i.shouldCoalesceRunChangeDetection&&t(),eA(i)}},onHasTask:(e,n,r,a)=>{e.hasTask(r,a),n===r&&("microTask"==a.change?(i._hasPendingMicrotasks=a.microTask,vx(i),yx(i)):"macroTask"==a.change&&(i.hasPendingMacrotasks=a.macroTask))},onHandleError:(e,n,r,a)=>(e.handleError(r,a),i.runOutsideAngular(()=>i.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rt.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Rt.isInAngularZone())throw new tt(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,t,kz,wb,wb);try{return a.runTask(o,e,n)}finally{a.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const kz={};function yx(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function vx(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function JT(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function eA(i){i._nesting--,yx(i)}class Ez{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new lt,this.onMicrotaskEmpty=new lt,this.onStable=new lt,this.onError=new lt}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}const tA=new Ze(""),xb=new Ze("");let xx,wx=(()=>{class i{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xx||(function Sz(i){xx=i}(r),r.addToWindow(n)),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:()=>{Rt.assertNotInAngularZone(),bx(()=>{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())bx(()=>{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(n=>!n.updateCb||!n.updateCb(e)||(clearTimeout(n.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,n,r){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,n,r){if(r&&!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,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(Fx),Fe(xb))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),Fx=(()=>{class i{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}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,n=!0){return xx?.findTestabilityInTree(this,e,n)??null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})(),wu=null;const iA=new Ze("AllowMultipleToken"),Cx=new Ze("PlatformDestroyListeners"),vd=!1;class nA{constructor(t,e){this.name=t,this.token=e}}function aA(i,t,e=[]){const n=`Platform: ${t}`,r=new Ze(n);return(a=[])=>{let o=kx();if(!o||o.injector.get(iA,!1)){const c=[...e,...a,{provide:r,useValue:!0}];i?i(c):function Iz(i){if(wu&&!wu.get(iA,!1))throw new tt(400,!1);wu=i;const t=i.get(sA);(function rA(i){const t=i.get($T,null);t&&t.forEach(e=>e())})(i)}(function oA(i=[],t){return qr.create({name:t,providers:[{provide:pF,useValue:"platform"},{provide:Cx,useValue:new Set([()=>wu=null])},...i]})}(c,n))}return function Nz(i){const t=kx();if(!t)throw new tt(401,!1);return t}()}}function kx(){return wu?.get(sA)??null}let sA=(()=>{class i{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=function cA(i,t){let e;return e="noop"===i?new Ez:("zone.js"===i?void 0:i)||new Rt(t),e}(n?.ngZone,function lA(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!i||!i.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!i||!i.ngZoneRunCoalescing)||!1}}(n)),a=[{provide:Rt,useValue:r}];return r.run(()=>{const o=qr.create({providers:a,parent:this.injector,name:e.moduleType.name}),c=e.create(o),u=c.injector.get(gd,null);if(!u)throw new tt(402,!1);return r.runOutsideAngular(()=>{const m=r.onError.subscribe({next:x=>{u.handleError(x)}});c.onDestroy(()=>{Cb(this._modules,c),m.unsubscribe()})}),function dA(i,t,e){try{const n=e();return Fg(n)?n.catch(r=>{throw t.runOutsideAngular(()=>i.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>i.handleError(n)),n}}(u,r,()=>{const m=c.injector.get(Fb);return m.runInitializers(),m.donePromise.then(()=>(function RS(i){Ea(i,"Expected localeId to be defined"),"string"==typeof i&&(OS=i.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Tc,wf)||wf),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,n=[]){const r=uA({},n);return function Tz(i,t,e){const n=new tx(e);return Promise.resolve(n)}(0,0,e).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(e){const n=e.injector.get(wd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new tt(-403,!1);e.instance.ngDoBootstrap(n)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new tt(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(Cx,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return i.\u0275fac=function(e){return new(e||i)(Fe(qr))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();function uA(i,t){return Array.isArray(t)?t.reduce(uA,i):{...i,...t}}let wd=(()=>{class i{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,n,r){this._zone=e,this._injector=n,this._exceptionHandler=r,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 a=new ht(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),o=new ht(c=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{Rt.assertNotInAngularZone(),bx(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{Rt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),m.unsubscribe()}});this.isStable=Bn(a,o.pipe(ro()))}bootstrap(e,n){const r=e instanceof $E;if(!this._injector.get(Fb).done){!r&&function d(i){const t=Y(i)||s(i)||l(i);return null!==t&&t.standalone}(e);throw new tt(405,vd)}let o;o=r?e:this._injector.get(pd).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function Az(i){return i.isBoundToModule}(o)?void 0:this._injector.get(Ff),m=o.create(qr.NULL,[],n||o.selector,c),x=m.location.nativeElement,P=m.injector.get(tA,null);return P?.registerApplication(x),m.onDestroy(()=>{this.detachView(m.hostView),Cb(this.components,m),P?.unregisterApplication(x)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new tt(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 n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){const n=e;Cb(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const n=this._injector.get(KT,[]);n.push(...this._bootstrapListeners),n.forEach(r=>r(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),()=>Cb(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new tt(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(Cc),Fe(gd))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Cb(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}let oi=(()=>{class i{}return i.__NG_ELEMENT_ID__=Rz,i})();function Rz(i){return function Pz(i,t,e){if(bh(i)&&!e){const n=ls(i.index,t);return new yg(n,n)}return 47&i.type?new yg(t[Ii],t):null}(ho(),xt(),16==(16&i))}class _A{constructor(){}supports(t){return lb(t)}create(t){return new zz(t)}}const jz=(i,t)=>t;class zz{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jz}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,a=null;for(;e||n;){const o=!n||e&&e.currentIndex{o=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,o)?(n&&(e=this._verifyReinsertion(e,c,o,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,o,r),n=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,a,r)):t=this._addAfter(new Uz(e,n),a,r),t}_verifyReinsertion(t,e,n,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new bA),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bA),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Uz{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Wz{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class bA{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Wz,this.map.set(e,n)),n.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function yA(i,t,e){const n=i.previousIndex;if(null===n)return n;let r=0;return e&&n{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{const a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}const n=new qz(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class qz{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function wA(){return new yl([new _A])}let yl=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(null!=n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||wA()),deps:[[i,new Ul,new Ds]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(null!=n)return n;throw new tt(901,!1)}}return i.\u0275prov=Ke({token:i,providedIn:"root",factory:wA}),i})();function FA(){return new Lg([new vA])}let Lg=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||FA()),deps:[[i,new Ul,new Ds]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new tt(901,!1)}}return i.\u0275prov=Ke({token:i,providedIn:"root",factory:FA}),i})();const Zz=aA(null,"core",[]);let Qz=(()=>{class i{constructor(e){}}return i.\u0275fac=function(e){return new(e||i)(Fe(wd))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function Df(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}let Tx=null;function Fd(){return Tx}class eU{}const xi=new Ze("DocumentToken");let Ax=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return function tU(){return Fe(xA)}()},providedIn:"platform"}),i})();const iU=new Ze("Location Initialized");let xA=(()=>{class i extends Ax{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fd().getBaseHref(this._doc)}onPopState(e){const n=Fd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=Fd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,r){CA()?this._history.pushState(e,n,r):this._location.hash=r}replaceState(e,n,r){CA()?this._history.replaceState(e,n,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:function(){return function nU(){return new xA(Fe(xi))}()},providedIn:"platform"}),i})();function CA(){return!!window.history.pushState}function Ix(i,t){if(0==i.length)return t;if(0==t.length)return i;let e=0;return i.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?i+t.substring(1):1==e?i+t:i+"/"+t}function kA(i){const t=i.match(/#|\?|$/),e=t&&t.index||i.length;return i.slice(0,e-("/"===i[e-1]?1:0))+i.slice(e)}function xd(i){return i&&"?"!==i[0]?"?"+i:i}let Rh=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return ii(MA)},providedIn:"root"}),i})();const DA=new Ze("appBaseHref");let MA=(()=>{class i extends Rh{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??ii(xi).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 Ix(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+xd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,a){const o=this.prepareExternalUrl(r+xd(a));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){const o=this.prepareExternalUrl(r+xd(a));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ax),Fe(DA,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),rU=(()=>{class i extends Rh{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}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 n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=Ix(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+xd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+xd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ax),Fe(DA,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),Ac=(()=>{class i{constructor(e){this._subject=new lt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._basePath=function sU(i){if(new RegExp("^(https?:)?//").test(i)){const[,e]=i.split(/\/\/[^\/]+/);return e}return i}(kA(EA(n))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+xd(n))}normalize(e){return i.stripTrailingSlash(function oU(i,t){return i&&new RegExp(`^${i}([/;?#]|$)`).test(t)?t.substring(i.length):t}(this._basePath,EA(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(n)),r)}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(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}}return i.normalizeQueryParams=xd,i.joinWithSlash=Ix,i.stripTrailingSlash=kA,i.\u0275fac=function(e){return new(e||i)(Fe(Rh))},i.\u0275prov=Ke({token:i,factory:function(){return function aU(){return new Ac(Fe(Rh))}()},providedIn:"root"}),i})();function EA(i){return i.replace(/\/index.html$/,"")}var Ia=(()=>((Ia=Ia||{})[Ia.Format=0]="Format",Ia[Ia.Standalone=1]="Standalone",Ia))(),Gn=(()=>((Gn=Gn||{})[Gn.Narrow=0]="Narrow",Gn[Gn.Abbreviated=1]="Abbreviated",Gn[Gn.Wide=2]="Wide",Gn[Gn.Short=3]="Short",Gn))(),ca=(()=>((ca=ca||{})[ca.Short=0]="Short",ca[ca.Medium=1]="Medium",ca[ca.Long=2]="Long",ca[ca.Full=3]="Full",ca))(),Gi=(()=>((Gi=Gi||{})[Gi.Decimal=0]="Decimal",Gi[Gi.Group=1]="Group",Gi[Gi.List=2]="List",Gi[Gi.PercentSign=3]="PercentSign",Gi[Gi.PlusSign=4]="PlusSign",Gi[Gi.MinusSign=5]="MinusSign",Gi[Gi.Exponential=6]="Exponential",Gi[Gi.SuperscriptingExponent=7]="SuperscriptingExponent",Gi[Gi.PerMille=8]="PerMille",Gi[Gi.Infinity=9]="Infinity",Gi[Gi.NaN=10]="NaN",Gi[Gi.TimeSeparator=11]="TimeSeparator",Gi[Gi.CurrencyDecimal=12]="CurrencyDecimal",Gi[Gi.CurrencyGroup=13]="CurrencyGroup",Gi))();function Mb(i,t){return wl(cs(i)[ni.DateFormat],t)}function Eb(i,t){return wl(cs(i)[ni.TimeFormat],t)}function Sb(i,t){return wl(cs(i)[ni.DateTimeFormat],t)}function vl(i,t){const e=cs(i),n=e[ni.NumberSymbols][t];if(typeof n>"u"){if(t===Gi.CurrencyDecimal)return e[ni.NumberSymbols][Gi.Decimal];if(t===Gi.CurrencyGroup)return e[ni.NumberSymbols][Gi.Group]}return n}function TA(i){if(!i[ni.ExtraData])throw new Error(`Missing extra locale data for the locale "${i[ni.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function wl(i,t){for(let e=t;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new Error("Locale data API: locale data undefined")}function Nx(i){const[t,e]=i.split(":");return{hours:+t,minutes:+e}}const vU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ng={},wU=/((?:[^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 _o=(()=>((_o=_o||{})[_o.Short=0]="Short",_o[_o.ShortGMT=1]="ShortGMT",_o[_o.Long=2]="Long",_o[_o.Extended=3]="Extended",_o))(),Zi=(()=>((Zi=Zi||{})[Zi.FullYear=0]="FullYear",Zi[Zi.Month=1]="Month",Zi[Zi.Date=2]="Date",Zi[Zi.Hours=3]="Hours",Zi[Zi.Minutes=4]="Minutes",Zi[Zi.Seconds=5]="Seconds",Zi[Zi.FractionalSeconds=6]="FractionalSeconds",Zi[Zi.Day=7]="Day",Zi))(),Sn=(()=>((Sn=Sn||{})[Sn.DayPeriods=0]="DayPeriods",Sn[Sn.Days=1]="Days",Sn[Sn.Months=2]="Months",Sn[Sn.Eras=3]="Eras",Sn))();function FU(i,t,e,n){let r=function AU(i){if(LA(i))return i;if("number"==typeof i&&!isNaN(i))return new Date(i);if("string"==typeof i){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){const[r,a=1,o=1]=i.split("-").map(c=>+c);return Tb(r,a-1,o)}const e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let n;if(n=i.match(vU))return function IU(i){const t=new Date(0);let e=0,n=0;const r=i[8]?t.setUTCFullYear:t.setFullYear,a=i[8]?t.setUTCHours:t.setHours;i[9]&&(e=Number(i[9]+i[10]),n=Number(i[9]+i[11])),r.call(t,Number(i[1]),Number(i[2])-1,Number(i[3]));const o=Number(i[4]||0)-e,c=Number(i[5]||0)-n,u=Number(i[6]||0),m=Math.floor(1e3*parseFloat("0."+(i[7]||0)));return a.call(t,o,c,u,m),t}(n)}const t=new Date(i);if(!LA(t))throw new Error(`Unable to convert "${i}" into a date`);return t}(i);t=Cd(e,t)||t;let c,o=[];for(;t;){if(c=wU.exec(t),!c){o.push(t);break}{o=o.concat(c.slice(1));const x=o.pop();if(!x)break;t=x}}let u=r.getTimezoneOffset();n&&(u=IA(n,u),r=function TU(i,t,e){const n=e?-1:1,r=i.getTimezoneOffset();return function SU(i,t){return(i=new Date(i.getTime())).setMinutes(i.getMinutes()+t),i}(i,n*(IA(t,r)-r))}(r,n,!0));let m="";return o.forEach(x=>{const P=function EU(i){if(Px[i])return Px[i];let t;switch(i){case"G":case"GG":case"GGG":t=$r(Sn.Eras,Gn.Abbreviated);break;case"GGGG":t=$r(Sn.Eras,Gn.Wide);break;case"GGGGG":t=$r(Sn.Eras,Gn.Narrow);break;case"y":t=Ga(Zi.FullYear,1,0,!1,!0);break;case"yy":t=Ga(Zi.FullYear,2,0,!0,!0);break;case"yyy":t=Ga(Zi.FullYear,3,0,!1,!0);break;case"yyyy":t=Ga(Zi.FullYear,4,0,!1,!0);break;case"Y":t=Nb(1);break;case"YY":t=Nb(2,!0);break;case"YYY":t=Nb(3);break;case"YYYY":t=Nb(4);break;case"M":case"L":t=Ga(Zi.Month,1,1);break;case"MM":case"LL":t=Ga(Zi.Month,2,1);break;case"MMM":t=$r(Sn.Months,Gn.Abbreviated);break;case"MMMM":t=$r(Sn.Months,Gn.Wide);break;case"MMMMM":t=$r(Sn.Months,Gn.Narrow);break;case"LLL":t=$r(Sn.Months,Gn.Abbreviated,Ia.Standalone);break;case"LLLL":t=$r(Sn.Months,Gn.Wide,Ia.Standalone);break;case"LLLLL":t=$r(Sn.Months,Gn.Narrow,Ia.Standalone);break;case"w":t=Ox(1);break;case"ww":t=Ox(2);break;case"W":t=Ox(1,!0);break;case"d":t=Ga(Zi.Date,1);break;case"dd":t=Ga(Zi.Date,2);break;case"c":case"cc":t=Ga(Zi.Day,1);break;case"ccc":t=$r(Sn.Days,Gn.Abbreviated,Ia.Standalone);break;case"cccc":t=$r(Sn.Days,Gn.Wide,Ia.Standalone);break;case"ccccc":t=$r(Sn.Days,Gn.Narrow,Ia.Standalone);break;case"cccccc":t=$r(Sn.Days,Gn.Short,Ia.Standalone);break;case"E":case"EE":case"EEE":t=$r(Sn.Days,Gn.Abbreviated);break;case"EEEE":t=$r(Sn.Days,Gn.Wide);break;case"EEEEE":t=$r(Sn.Days,Gn.Narrow);break;case"EEEEEE":t=$r(Sn.Days,Gn.Short);break;case"a":case"aa":case"aaa":t=$r(Sn.DayPeriods,Gn.Abbreviated);break;case"aaaa":t=$r(Sn.DayPeriods,Gn.Wide);break;case"aaaaa":t=$r(Sn.DayPeriods,Gn.Narrow);break;case"b":case"bb":case"bbb":t=$r(Sn.DayPeriods,Gn.Abbreviated,Ia.Standalone,!0);break;case"bbbb":t=$r(Sn.DayPeriods,Gn.Wide,Ia.Standalone,!0);break;case"bbbbb":t=$r(Sn.DayPeriods,Gn.Narrow,Ia.Standalone,!0);break;case"B":case"BB":case"BBB":t=$r(Sn.DayPeriods,Gn.Abbreviated,Ia.Format,!0);break;case"BBBB":t=$r(Sn.DayPeriods,Gn.Wide,Ia.Format,!0);break;case"BBBBB":t=$r(Sn.DayPeriods,Gn.Narrow,Ia.Format,!0);break;case"h":t=Ga(Zi.Hours,1,-12);break;case"hh":t=Ga(Zi.Hours,2,-12);break;case"H":t=Ga(Zi.Hours,1);break;case"HH":t=Ga(Zi.Hours,2);break;case"m":t=Ga(Zi.Minutes,1);break;case"mm":t=Ga(Zi.Minutes,2);break;case"s":t=Ga(Zi.Seconds,1);break;case"ss":t=Ga(Zi.Seconds,2);break;case"S":t=Ga(Zi.FractionalSeconds,1);break;case"SS":t=Ga(Zi.FractionalSeconds,2);break;case"SSS":t=Ga(Zi.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ib(_o.Short);break;case"ZZZZZ":t=Ib(_o.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ib(_o.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ib(_o.Long);break;default:return null}return Px[i]=t,t}(x);m+=P?P(r,e,u):"''"===x?"'":x.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function Tb(i,t,e){const n=new Date(0);return n.setFullYear(i,t,e),n.setHours(0,0,0),n}function Cd(i,t){const e=function lU(i){return cs(i)[ni.LocaleId]}(i);if(Ng[e]=Ng[e]||{},Ng[e][t])return Ng[e][t];let n="";switch(t){case"shortDate":n=Mb(i,ca.Short);break;case"mediumDate":n=Mb(i,ca.Medium);break;case"longDate":n=Mb(i,ca.Long);break;case"fullDate":n=Mb(i,ca.Full);break;case"shortTime":n=Eb(i,ca.Short);break;case"mediumTime":n=Eb(i,ca.Medium);break;case"longTime":n=Eb(i,ca.Long);break;case"fullTime":n=Eb(i,ca.Full);break;case"short":const r=Cd(i,"shortTime"),a=Cd(i,"shortDate");n=Ab(Sb(i,ca.Short),[r,a]);break;case"medium":const o=Cd(i,"mediumTime"),c=Cd(i,"mediumDate");n=Ab(Sb(i,ca.Medium),[o,c]);break;case"long":const u=Cd(i,"longTime"),m=Cd(i,"longDate");n=Ab(Sb(i,ca.Long),[u,m]);break;case"full":const x=Cd(i,"fullTime"),P=Cd(i,"fullDate");n=Ab(Sb(i,ca.Full),[x,P])}return n&&(Ng[e][t]=n),n}function Ab(i,t){return t&&(i=i.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),i}function Ql(i,t,e="-",n,r){let a="";(i<0||r&&i<=0)&&(r?i=1-i:(i=-i,a=e));let o=String(i);for(;o.length0||c>-e)&&(c+=e),i===Zi.Hours)0===c&&-12===e&&(c=12);else if(i===Zi.FractionalSeconds)return function xU(i,t){return Ql(i,3).substring(0,t)}(c,t);const u=vl(o,Gi.MinusSign);return Ql(c,t,u,n,r)}}function $r(i,t,e=Ia.Format,n=!1){return function(r,a){return function kU(i,t,e,n,r,a){switch(e){case Sn.Months:return function uU(i,t,e){const n=cs(i),a=wl([n[ni.MonthsFormat],n[ni.MonthsStandalone]],t);return wl(a,e)}(t,r,n)[i.getMonth()];case Sn.Days:return function dU(i,t,e){const n=cs(i),a=wl([n[ni.DaysFormat],n[ni.DaysStandalone]],t);return wl(a,e)}(t,r,n)[i.getDay()];case Sn.DayPeriods:const o=i.getHours(),c=i.getMinutes();if(a){const m=function pU(i){const t=cs(i);return TA(t),(t[ni.ExtraData][2]||[]).map(n=>"string"==typeof n?Nx(n):[Nx(n[0]),Nx(n[1])])}(t),x=function gU(i,t,e){const n=cs(i);TA(n);const a=wl([n[ni.ExtraData][0],n[ni.ExtraData][1]],t)||[];return wl(a,e)||[]}(t,r,n),P=m.findIndex(K=>{if(Array.isArray(K)){const[ne,pe]=K,ye=o>=ne.hours&&c>=ne.minutes,Ie=o0?Math.floor(r/60):Math.ceil(r/60);switch(i){case _o.Short:return(r>=0?"+":"")+Ql(o,2,a)+Ql(Math.abs(r%60),2,a);case _o.ShortGMT:return"GMT"+(r>=0?"+":"")+Ql(o,1,a);case _o.Long:return"GMT"+(r>=0?"+":"")+Ql(o,2,a)+":"+Ql(Math.abs(r%60),2,a);case _o.Extended:return 0===n?"Z":(r>=0?"+":"")+Ql(o,2,a)+":"+Ql(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${i}"`)}}}const DU=0,Lb=4;function AA(i){return Tb(i.getFullYear(),i.getMonth(),i.getDate()+(Lb-i.getDay()))}function Ox(i,t=!1){return function(e,n){let r;if(t){const a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{const a=AA(e),o=function MU(i){const t=Tb(i,DU,1).getDay();return Tb(i,0,1+(t<=Lb?Lb:Lb+7)-t)}(a.getFullYear()),c=a.getTime()-o.getTime();r=1+Math.round(c/6048e5)}return Ql(r,i,vl(n,Gi.MinusSign))}}function Nb(i,t=!1){return function(e,n){return Ql(AA(e).getFullYear(),i,vl(n,Gi.MinusSign),t)}}const Px={};function IA(i,t){i=i.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?t:e}function LA(i){return i instanceof Date&&!isNaN(i.valueOf())}function PA(i,t){t=encodeURIComponent(t);for(const e of i.split(";")){const n=e.indexOf("="),[r,a]=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===t)return decodeURIComponent(a)}return null}const zx=/\s+/,BA=[];let qa=(()=>{class i{constructor(e,n,r,a){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=a,this.initialClasses=BA,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(zx):BA}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(zx):e}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const n of e)this._updateState(n,!0);else if(null!=e)for(const n of Object.keys(e))this._updateState(n,Boolean(e[n]));this._applyStateDiff()}_updateState(e,n){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){(e=e.trim()).length>0&&e.split(zx).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return i.\u0275fac=function(e){return new(e||i)(k(yl),k(Lg),k(pt),k(zs))},i.\u0275dir=Oe({type:i,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),i})();class WU{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}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 yn=(()=>{class i{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 n=this._viewContainer;e.forEachOperation((r,a,o)=>{if(null==r.previousIndex)n.createEmbeddedView(this._template,new WU(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)n.remove(null===a?void 0:a);else if(null!==a){const c=n.get(a);n.move(c,o),YA(c,r)}});for(let r=0,a=n.length;r{YA(n.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(yr),k(yl))},i.\u0275dir=Oe({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),i})();function YA(i,t){i.context.$implicit=t.item}let ri=(()=>{class i{constructor(e,n){this._viewContainer=e,this._context=new qU,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){jA("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){jA("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,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(yr))},i.\u0275dir=Oe({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),i})();class qU{constructor(){this.$implicit=null,this.ngIf=null}}function jA(i,t){if(t&&!t.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${Yi(t)}'.`)}class Ux{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Fu=(()=>{class i{constructor(){this._defaultViews=[],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.push(e)}_matchCase(e){const n=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const n of this._defaultViews)n.enforceState(e)}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),i})(),Mf=(()=>{class i{constructor(e,n,r){this.ngSwitch=r,r._addCase(),this._view=new Ux(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(yr),k(Fu,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),i})(),zA=(()=>{class i{constructor(e,n,r){r._addDefault(new Ux(e,n))}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(yr),k(Fu,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchDefault",""]],standalone:!0}),i})(),Ef=(()=>{class i{constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){const[r,a]=e.split("."),o=-1===r.indexOf("-")?void 0:Ms.DashCase;null!=n?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Lg),k(zs))},i.\u0275dir=Oe({type:i,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),i})(),Sf=(()=>{class i{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 n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:a,ngTemplateOutletInjector:o}=this;this._viewRef=n.createEmbeddedView(r,a,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return i.\u0275fac=function(e){return new(e||i)(k(kr))},i.\u0275dir=Oe({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Jn]}),i})();function Xl(i,t){return new tt(2100,!1)}class KU{createSubscription(t,e){return t.subscribe({next:e,error:n=>{throw n}})}dispose(t){t.unsubscribe()}}class ZU{createSubscription(t,e){return t.then(e,n=>{throw n})}dispose(t){}}const QU=new ZU,XU=new KU;let Ts=(()=>{class i{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,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(Fg(e))return QU;if(W4(e))return XU;throw Xl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this._ref.markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(k(oi,16))},i.\u0275pipe=Er({name:"async",type:i,pure:!1,standalone:!0}),i})();const rW=new Ze("DATE_PIPE_DEFAULT_TIMEZONE"),aW=new Ze("DATE_PIPE_DEFAULT_OPTIONS");let Wx=(()=>{class i{constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,a){if(null==e||""===e||e!=e)return null;try{return FU(e,n??this.defaultOptions?.dateFormat??"mediumDate",a||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw Xl()}}}return i.\u0275fac=function(e){return new(e||i)(k(Tc,16),k(rW,24),k(aW,24))},i.\u0275pipe=Er({name:"date",type:i,pure:!0,standalone:!0}),i})(),WA=(()=>{class i{transform(e){return JSON.stringify(e,null,2)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Er({name:"json",type:i,pure:!1,standalone:!0}),i})(),GA=(()=>{class i{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=qA}transform(e,n=qA){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(function cW(i,t){return{key:i,value:t}}(o.key,o.currentValue))})),(r||a)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}}return i.\u0275fac=function(e){return new(e||i)(k(Lg,16))},i.\u0275pipe=Er({name:"keyvalue",type:i,pure:!1,standalone:!0}),i})();function qA(i,t){const e=i.key,n=t.key;if(e===n)return 0;if(void 0===e)return 1;if(void 0===n)return-1;if(null===e)return 1;if(null===n)return-1;if("string"==typeof e&&"string"==typeof n)return e{class i{transform(e,n,r){if(null==e)return null;if(!this.supports(e))throw Xl();return e.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Er({name:"slice",type:i,pure:!1,standalone:!0}),i})(),Dr=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const KA="browser";function kd(i){return i===KA}let gW=(()=>{class i{}return i.\u0275prov=Ke({token:i,providedIn:"root",factory:()=>new _W(Fe(xi),window)}),i})();class _W{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function bW(i,t){const e=i.getElementById(t)||i.getElementsByName(t)[0];if(e)return e;if("function"==typeof i.createTreeWalker&&i.body&&(i.body.createShadowRoot||i.body.attachShadow)){const n=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const a=r.shadowRoot;if(a){const o=a.getElementById(t)||a.querySelector(`[name="${t}"]`);if(o)return o}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=ZA(this.window.history)||ZA(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ZA(i){return Object.getOwnPropertyDescriptor(i,"scrollRestoration")}class QA{}class WW extends eU{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zx extends WW{static makeCurrent(){!function Jz(i){Tx||(Tx=i)}(new Zx)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function GW(){return Pg=Pg||document.querySelector("base"),Pg?Pg.getAttribute("href"):null}();return null==e?null:function qW(i){Bb=Bb||document.createElement("a"),Bb.setAttribute("href",i);const t=Bb.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Pg=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return PA(document.cookie,t)}}let Bb,Pg=null;const iI=new Ze("TRANSITION_ID"),KW=[{provide:Ig,useFactory:function $W(i,t,e){return()=>{e.get(Fb).donePromise.then(()=>{const n=Fd(),r=t.querySelectorAll(`style[ng-transition="${i}"]`);for(let a=0;a{class i{build(){return new XMLHttpRequest}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const Hb=new Ze("EventManagerPlugins");let Vb=(()=>{class i{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}addGlobalEventListener(e,n,r){return this._findPluginFor(n).addGlobalEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){const n=this._eventNameToPlugin.get(e);if(n)return n;const r=this._plugins;for(let a=0;a{class i{constructor(){this.usageCount=new Map}addStyles(e){for(const n of e)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(e){for(const n of e)0===this.changeUsageCount(n,-1)&&this.onStyleRemoved(n)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,n){const r=this.usageCount;let a=r.get(e)??0;return a+=n,a>0?r.set(e,a):r.delete(e),a}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),Bg=(()=>{class i extends rI{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){const n=this.styleRef;n.get(e)?.forEach(a=>a.remove()),n.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,n){const r=this.doc.createElement("style");r.textContent=n,e.appendChild(r);const a=this.styleRef.get(n);a?a.push(r):this.styleRef.set(n,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const Qx={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/"},Xx=/%COMP%/g,sI=new Ze("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function lI(i,t){return t.flat(100).map(e=>e.replace(Xx,i))}function cI(i){return t=>{if("__ngUnwrap__"===t)return i;!1===i(t)&&(t.preventDefault(),t.returnValue=!1)}}let Yb=(()=>{class i{constructor(e,n,r,a){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestory=a,this.rendererByCompId=new Map,this.defaultRenderer=new Jx(e)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,n);return r instanceof hI?r.applyToHost(e):r instanceof eC&&r.applyStyles(),r}getOrCreateRenderer(e,n){const r=this.rendererByCompId;let a=r.get(n.id);if(!a){const o=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestory;switch(n.encapsulation){case xe.Emulated:a=new hI(o,c,n,this.appId,u);break;case xe.ShadowDom:return new rG(o,c,e,n);default:a=new eC(o,c,n,u)}a.onDestroy=()=>r.delete(n.id),r.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return i.\u0275fac=function(e){return new(e||i)(Fe(Vb),Fe(Bg),Fe(kf),Fe(sI))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class Jx{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Qx[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(uI(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(uI(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const a=Qx[r];a?t.setAttributeNS(a,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Qx[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(Ms.DashCase|Ms.Important)?t.style.setProperty(e,n,r&Ms.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Ms.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,cI(n)):this.eventManager.addEventListener(t,e,cI(n))}}function uI(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class rG extends Jx{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=lI(r.id,r.styles);for(const o of a){const c=document.createElement("style");c.textContent=o,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class eC extends Jx{constructor(t,e,n,r,a=n.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=lI(a,n.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class hI extends eC{constructor(t,e,n,r,a){const o=r+"-"+n.id;super(t,e,n,a,o),this.contentAttr=function tG(i){return"_ngcontent-%COMP%".replace(Xx,i)}(o),this.hostAttr=function iG(i){return"_nghost-%COMP%".replace(Xx,i)}(o)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let aG=(()=>{class i extends nI{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const mI=["alt","control","meta","shift"],oG={"\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"},sG={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let lG=(()=>{class i extends nI{constructor(e){super(e)}supports(e){return null!=i.parseEventName(e)}addEventListener(e,n,r){const a=i.parseEventName(n),o=i.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fd().onAndCancel(e,a.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const a=i._normalizeKey(n.pop());let o="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),o="code."),mI.forEach(m=>{const x=n.indexOf(m);x>-1&&(n.splice(x,1),o+=m+".")}),o+=a,0!=n.length||0===a.length)return null;const u={};return u.domEventName=r,u.fullKey=o,u}static matchEventFullKeyCode(e,n){let r=oG[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),mI.forEach(o=>{o!==r&&(0,sG[o])(e)&&(a+=o+".")}),a+=r,a===n)}static eventCallback(e,n,r){return a=>{i.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>n(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const pI=[{provide:Sc,useValue:KA},{provide:$T,useValue:function cG(){Zx.makeCurrent()},multi:!0},{provide:xi,useFactory:function uG(){return function s7(i){sF=i}(document),document},deps:[]}],hG=aA(Zz,"browser",pI),gI=new Ze(""),_I=[{provide:xb,useClass:class ZW{addToWindow(t){Bi.getAngularTestability=(n,r=!0)=>{const a=t.findTestabilityInTree(n,r);if(null==a)throw new Error("Could not find testability for element.");return a},Bi.getAllAngularTestabilities=()=>t.getAllTestabilities(),Bi.getAllAngularRootElements=()=>t.getAllRootElements(),Bi.frameworkStabilizers||(Bi.frameworkStabilizers=[]),Bi.frameworkStabilizers.push(n=>{const r=Bi.getAllAngularTestabilities();let a=r.length,o=!1;const c=function(u){o=o||u,a--,0==a&&n(o)};r.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,n){return null==e?null:t.getTestability(e)??(n?Fd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:tA,useClass:wx,deps:[Rt,Fx,xb]},{provide:wx,useClass:wx,deps:[Rt,Fx,xb]}],bI=[{provide:pF,useValue:"root"},{provide:gd,useFactory:function dG(){return new gd},deps:[]},{provide:Hb,useClass:aG,multi:!0,deps:[xi,Rt,Sc]},{provide:Hb,useClass:lG,multi:!0,deps:[xi]},{provide:Yb,useClass:Yb,deps:[Vb,Bg,kf,sI]},{provide:nf,useExisting:Yb},{provide:rI,useExisting:Bg},{provide:Bg,useClass:Bg,deps:[xi]},{provide:Vb,useClass:Vb,deps:[Hb,Rt]},{provide:QA,useClass:QW,deps:[]},[]];let yI=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:kf,useValue:e.appId},{provide:iI,useExisting:kf},KW]}}}return i.\u0275fac=function(e){return new(e||i)(Fe(gI,12))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[...bI,..._I],imports:[Dr,Qz]}),i})(),iC=(()=>{class i{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:function(e){let n=null;return n=e?new e:function fG(){return new iC(Fe(xi))}(),n},providedIn:"root"}),i})();typeof window<"u"&&window;let rC,Tf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(e){let n=null;return n=e?new(e||i):Fe(FI),n},providedIn:"root"}),i})(),FI=(()=>{class i extends Tf{constructor(e){super(),this._doc=e}sanitize(e,n){if(null==n)return null;switch(e){case br.NONE:return n;case br.HTML:return xc(n,"HTML")?js(n):PE(this._doc,String(n)).toString();case br.STYLE:return xc(n,"Style")?js(n):n;case br.SCRIPT:if(xc(n,"Script"))return js(n);throw new Error("unsafe value used in a script context");case br.URL:return xc(n,"URL")?js(n):$1(String(n));case br.RESOURCE_URL:if(xc(n,"ResourceURL"))return js(n);throw new Error(`unsafe value used in a resource URL context (see ${ci})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${ci})`)}}bypassSecurityTrustHtml(e){return function f7(i){return new l7(i)}(e)}bypassSecurityTrustStyle(e){return function p7(i){return new c7(i)}(e)}bypassSecurityTrustScript(e){return function g7(i){return new d7(i)}(e)}bypassSecurityTrustUrl(e){return function _7(i){return new u7(i)}(e)}bypassSecurityTrustResourceUrl(e){return function b7(i){return new h7(i)}(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:function(e){let n=null;return n=e?new e:function wG(i){return new FI(i.get(xi))}(Fe(qr)),n},providedIn:"root"}),i})();try{rC=typeof Intl<"u"&&Intl.v8BreakIterator}catch{rC=!1}let Af,Hn=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?kd(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&&!rC)&&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 i.\u0275fac=function(e){return new(e||i)(Fe(Sc))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),FG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const xI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function CI(){if(Af)return Af;if("object"!=typeof document||!document)return Af=new Set(xI),Af;let i=document.createElement("input");return Af=new Set(xI.filter(t=>(i.setAttribute("type",t),i.type===t))),Af}let Hg,jb,Ph,aC;function Dd(i){return function xG(){if(null==Hg&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Hg=!0}))}finally{Hg=Hg||!1}return Hg}()?i:!!i.capture}function kI(){if(null==Ph){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ph=!1,Ph;if("scrollBehavior"in document.documentElement.style)Ph=!0;else{const i=Element.prototype.scrollTo;Ph=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return Ph}function Vg(){if("object"!=typeof document||!document)return 0;if(null==jb){const i=document.createElement("div"),t=i.style;i.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",i.appendChild(e),document.body.appendChild(i),jb=0,0===i.scrollLeft&&(i.scrollLeft=1,jb=0===i.scrollLeft?1:2),i.remove()}return jb}function zb(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){const t=i.shadowRoot.activeElement;if(t===i)break;i=t}return i}function Md(i){return i.composedPath?i.composedPath()[0]:i.target}function oC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Hi extends He{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function Ht(...i){return ar(i,Fo(i))}function ya(i,...t){return t.length?t.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ia(i,t,e){const n=T(i)||t||e?{next:i,error:t,complete:e}:i;return n?Yt((r,a)=>{var o;null===(o=n.subscribe)||void 0===o||o.call(n);let c=!0;r.subscribe(jt(a,u=>{var m;null===(m=n.next)||void 0===m||m.call(n,u),a.next(u)},()=>{var u;c=!1,null===(u=n.complete)||void 0===u||u.call(n),a.complete()},u=>{var m;c=!1,null===(m=n.error)||void 0===m||m.call(n,u),a.error(u)},()=>{var u,m;c&&(null===(u=n.unsubscribe)||void 0===u||u.call(n)),null===(m=n.finalize)||void 0===m||m.call(n)}))}):Ye}class VG extends C{constructor(t,e){super()}schedule(t,e=0){return this}}const qb={setInterval(i,t,...e){const{delegate:n}=qb;return n?.setInterval?n.setInterval(i,t,...e):setInterval(i,t,...e)},clearInterval(i){const{delegate:t}=qb;return(t?.clearInterval||clearInterval)(i)},delegate:void 0};class cC extends VG{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,a=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(a,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(a,this.id,e),this}requestAsyncId(t,e,n=0){return qb.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&qb.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,n=!1;try{this.work(t)}catch(a){n=!0,r=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,b(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const dC={now:()=>(dC.delegate||Date).now(),delegate:void 0};class Yg{constructor(t,e=Yg.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}Yg.now=dC.now;class uC extends Yg{constructor(t,e=Yg.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const Lf=new uC(cC),YG=Lf;function $b(i,t=Lf){return Yt((e,n)=>{let r=null,a=null,o=null;const c=()=>{if(r){r.unsubscribe(),r=null;const m=a;a=null,n.next(m)}};function u(){const m=o+i,x=t.now();if(x{a=m,o=t.now(),r||(r=t.schedule(u,i),n.add(r))},()=>{c(),n.complete()},void 0,()=>{a=r=null}))})}function qi(i,t){return Yt((e,n)=>{let r=0;e.subscribe(jt(n,a=>i.call(t,a,r++)&&n.next(a)))})}function rn(i){return i<=0?()=>dn:Yt((t,e)=>{let n=0;t.subscribe(jt(e,r=>{++n<=i&&(e.next(r),i<=n&&e.complete())}))})}function hC(i){return qi((t,e)=>i<=e)}function jg(i,t=Ye){return i=i??jG,Yt((e,n)=>{let r,a=!0;e.subscribe(jt(n,o=>{const c=t(o);(a||!i(r,c))&&(a=!1,r=c,n.next(o))}))})}function jG(i,t){return i===t}function ai(i){return Yt((t,e)=>{cn(i).subscribe(jt(e,()=>e.complete(),j)),!e.closed&&t.subscribe(e)})}function Ct(i){return null!=i&&"false"!=`${i}`}function vr(i,t=0){return function zG(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):t}function Kb(i){return Array.isArray(i)?i:[i]}function $a(i){return null==i?"":"string"==typeof i?i:`${i}px`}function Ed(i){return i instanceof pt?i.nativeElement:i}let DI=(()=>{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),WG=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){const n=Ed(e);return new ht(r=>{const o=this._observeElement(n).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const n=new He,r=this._mutationObserverFactory.create(a=>n.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,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:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(DI))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Nf=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=vr(e),this._subscribe()}constructor(e,n,r){this._contentObserver=e,this._elementRef=n,this._ngZone=r,this.event=new lt,this._disabled=!1,this._currentSubscription=null}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($b(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(WG),k(pt),k(Rt))},i.\u0275dir=Oe({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),i})(),zg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[DI]}),i})();const{isArray:GG}=Array,{getPrototypeOf:qG,prototype:$G,keys:KG}=Object;function MI(i){if(1===i.length){const t=i[0];if(GG(t))return{args:t,keys:null};if(function ZG(i){return i&&"object"==typeof i&&qG(i)===$G}(t)){const e=KG(t);return{args:e.map(n=>t[n]),keys:e}}}return{args:i,keys:null}}const{isArray:QG}=Array;function mC(i){return _t(t=>function XG(i,t){return QG(t)?i(...t):i(t)}(i,t))}function EI(i,t){return i.reduce((e,n,r)=>(e[n]=t[r],e),{})}function fC(...i){const t=Fo(i),e=io(i),{args:n,keys:r}=MI(i);if(0===n.length)return ar([],t);const a=new ht(function JG(i,t,e=Ye){return n=>{SI(t,()=>{const{length:r}=i,a=new Array(r);let o=r,c=r;for(let u=0;u{const m=ar(i[u],t);let x=!1;m.subscribe(jt(n,P=>{a[u]=P,x||(x=!0,c--),c||n.next(e(a.slice()))},()=>{--o||n.complete()}))},n)},n)}}(n,t,r?o=>EI(r,o):Ye));return e?a.pipe(mC(e)):a}function SI(i,t,e){i?rr(e,i,t):t()}function Sd(...i){return function eq(){return _r(1)}()(ar(i,Fo(i)))}function Ur(...i){const t=Fo(i);return Yt((e,n)=>{(t?Sd(i,e,t):Sd(i,e)).subscribe(n)})}let tq=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const TI=new Set;let Of,iq=(()=>{class i{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rq}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function nq(i){if(!TI.has(i))try{Of||(Of=document.createElement("style"),Of.setAttribute("type","text/css"),document.head.appendChild(Of)),Of.sheet&&(Of.sheet.insertRule(`@media ${i} {body{ }}`,0),TI.add(i))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hn))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function rq(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let Td=(()=>{class i{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new He}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return AI(Kb(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let a=fC(AI(Kb(e)).map(o=>this._registerQuery(o).observable));return a=Sd(a.pipe(rn(1)),a.pipe(hC(1),$b(0))),a.pipe(_t(o=>{const c={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:m})=>{c.matches=c.matches||u,c.breakpoints[m]=u}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const n=this._mediaMatcher.matchMedia(e),a={observable:new ht(o=>{const c=u=>this._zone.run(()=>o.next(u));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Ur(n),_t(({matches:o})=>({query:e,matches:o})),ai(this._destroySubject)),mql:n};return this._queries.set(e,a),a}}return i.\u0275fac=function(e){return new(e||i)(Fe(iq),Fe(Rt))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function AI(i){return i.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Cu_Medium="(min-width: 960px) and (max-width: 1279.98px)",Cu_Large="(min-width: 1280px) and (max-width: 1919.98px)";function Zb(i,t){return(i.getAttribute(t)||"").match(/\S+/g)||[]}const LI="cdk-describedby-message",Qb="cdk-describedby-host";let pC=0,gC=(()=>{class i{constructor(e,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+pC++,this._document=e,this._id=ii(kf)+"-"+pC++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;const a=_C(n,r);"string"!=typeof n?(NI(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;const a=_C(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),"string"==typeof n){const o=this._messageRegistry.get(a);o&&0===o.referenceCount&&this._deleteMessageElement(a)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Qb}="${this._id}"]`);for(let n=0;n0!=r.indexOf(LI));e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){const r=this._messageRegistry.get(n);(function aq(i,t,e){const n=Zb(i,t);n.some(r=>r.trim()==e.trim())||(n.push(e.trim()),i.setAttribute(t,n.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Qb,this._id),r.referenceCount++}_removeMessageReference(e,n){const r=this._messageRegistry.get(n);r.referenceCount--,function oq(i,t,e){const r=Zb(i,t).filter(a=>a!=e.trim());r.length?i.setAttribute(t,r.join(" ")):i.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Qb)}_isElementDescribedByMessage(e,n){const r=Zb(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&-1!=r.indexOf(o)}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&"object"==typeof n)return!0;const r=null==n?"":`${n}`.trim(),a=e.getAttribute("aria-label");return!(!r||a&&a.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi),Fe(Hn))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function _C(i,t){return"string"==typeof i?`${t||""}/${i}`:i}function NI(i,t){i.id||(i.id=`${LI}-${t}-${pC++}`)}class OI{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new He,this._typeaheadSubscription=C.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new He,this.change=new He,t instanceof Ec&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ia(e=>this._pressedLetters.push(e)),$b(t),qi(()=>this._pressedLetters.length>0),_t(()=>this._pressedLetters.join(""))).subscribe(e=>{const n=this._getItemsArray();for(let r=1;r!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItem=e[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Ec?this._items.toArray():this._items}}class RI extends OI{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Ug extends OI{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Hh=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function lq(i){return!!(i.offsetWidth||i.offsetHeight||"function"==typeof i.getClientRects&&i.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const n=function sq(i){try{return i.frameElement}catch{return null}}(function gq(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}(e));if(n&&(-1===BI(n)||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=BI(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function fq(i){let t=i.nodeName.toLowerCase(),e="input"===t&&i.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==a:"video"===r?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,n){return function pq(i){return!function dq(i){return function hq(i){return"input"==i.nodeName.toLowerCase()}(i)&&"hidden"==i.type}(i)&&(function cq(i){let t=i.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(i)||function uq(i){return function mq(i){return"a"==i.nodeName.toLowerCase()}(i)&&i.hasAttribute("href")}(i)||i.hasAttribute("contenteditable")||PI(i))}(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hn))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function PI(i){if(!i.hasAttribute("tabindex")||void 0===i.tabIndex)return!1;let t=i.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function BI(i){if(!PI(i))return null;const t=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class _q{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,n,r,a=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return n?.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=0;n=0;n--){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(rn(1)).subscribe(t)}}let Rf=(()=>{class i{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new _q(e,this._checker,this._ngZone,this._document,n)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hh),Fe(Rt),Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function bC(i){return 0===i.buttons||0===i.offsetX&&0===i.offsetY}function yC(i){const t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const bq=new Ze("cdk-input-modality-detector-options"),yq={ignoreKeys:[18,17,224,91,16]},Pf=Dd({passive:!0,capture:!0});let vq=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,n,r,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Hi(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Md(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(bC(o)?"keyboard":"mouse"),this._mostRecentTarget=Md(o))},this._onTouchstart=o=>{yC(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Md(o))},this._options={...yq,...a},this.modalityDetected=this._modality.pipe(hC(1)),this.modalityChanged=this.modalityDetected.pipe(jg()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Pf),r.addEventListener("mousedown",this._onMousedown,Pf),r.addEventListener("touchstart",this._onTouchstart,Pf)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Pf),document.removeEventListener("mousedown",this._onMousedown,Pf),document.removeEventListener("touchstart",this._onTouchstart,Pf))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hn),Fe(Rt),Fe(xi),Fe(bq,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const wq=new Ze("liveAnnouncerElement",{providedIn:"root",factory:function Fq(){return null}}),xq=new Ze("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Cq=0,vC=(()=>{class i{constructor(e,n,r,a){this._ngZone=n,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...n){const r=this._defaultOptions;let a,o;return 1===n.length&&"number"==typeof n[0]?o=n[0]:[a,o]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),null==o&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),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",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,n,r,a,o){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,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 He,this._rootNodeFocusAndBlurListener=c=>{for(let m=Md(c);m;m=m.parentElement)"focus"===c.type?this._onFocus(c,m):this._onBlur(c,m)},this._document=a,this._detectionMode=o?.detectionMode||0}monitor(e,n=!1){const r=Ed(e);if(!this._platform.isBrowser||1!==r.nodeType)return Ht(null);const a=function kG(i){if(function CG(){if(null==aC){const i=typeof document<"u"?document.head:null;aC=!(!i||!i.createShadowRoot&&!i.attachShadow)}return aC}()){const t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;const c={checkChildren:n,subject:new He,rootNode:a};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const n=Ed(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){const a=Ed(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,u])=>this._originChanged(c,n,u)):(this._setOrigin(n),"function"==typeof a.focus&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_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,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused","touch"===n),e.classList.toggle("cdk-keyboard-focused","keyboard"===n),e.classList.toggle("cdk-mouse-focused","mouse"===n),e.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,n){const r=this._elementInfo.get(n),a=Md(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){const r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Xb),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Xb)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ai(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Xb),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Xb),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){const n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!n||n===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const a=e.labels;if(a)for(let o=0;o{class i{constructor(e,n){this._elementRef=e,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new lt}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Ka))},i.\u0275dir=Oe({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),i})();const VI="cdk-high-contrast-black-on-white",YI="cdk-high-contrast-white-on-black",wC="cdk-high-contrast-active";let jI=(()=>{class i{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=ii(Td).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 n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":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(wC,VI,YI),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?e.add(wC,VI):2===n&&e.add(wC,YI)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hn),Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Bf=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return i.\u0275fac=function(e){return new(e||i)(Fe(jI))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[zg]}),i})();const Mq=["addListener","removeListener"],Eq=["addEventListener","removeEventListener"],Sq=["on","off"];function As(i,t,e,n){if(T(e)&&(n=e,e=void 0),n)return As(i,t,e).pipe(mC(n));const[r,a]=function Iq(i){return T(i.addEventListener)&&T(i.removeEventListener)}(i)?Eq.map(o=>c=>i[o](t,c,e)):function Tq(i){return T(i.addListener)&&T(i.removeListener)}(i)?Mq.map(zI(i,t)):function Aq(i){return T(i.on)&&T(i.off)}(i)?Sq.map(zI(i,t)):[];if(!r&&ga(i))return vi(o=>As(o,t,e))(cn(i));if(!r)throw new TypeError("Invalid event target");return new ht(o=>{const c=(...u)=>o.next(1a(c)})}function zI(i,t){return e=>n=>i[e](t,n)}const Wg={schedule(i){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:n}=Wg;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);const r=t(a=>{e=void 0,i(a)});return new C(()=>e?.(r))},requestAnimationFrame(...i){const{delegate:t}=Wg;return(t?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:t}=Wg;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0},Oq=new class Nq extends uC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class Lq extends cC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=Wg.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(Wg.cancelAnimationFrame(e),t._scheduled=void 0)}});let FC,Rq=1;const Jb={};function UI(i){return i in Jb&&(delete Jb[i],!0)}const Pq={setImmediate(i){const t=Rq++;return Jb[t]=!0,FC||(FC=Promise.resolve()),FC.then(()=>UI(t)&&i()),t},clearImmediate(i){UI(i)}},{setImmediate:Bq,clearImmediate:Hq}=Pq,ey={setImmediate(...i){const{delegate:t}=ey;return(t?.setImmediate||Bq)(...i)},clearImmediate(i){const{delegate:t}=ey;return(t?.clearImmediate||Hq)(i)},delegate:void 0},xC=new class Yq extends uC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class Vq extends cC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=ey.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(ey.clearImmediate(e),t._scheduled=void 0)}});function WI(i){return i instanceof Date&&!isNaN(i)}function Gg(i=0,t,e=YG){let n=-1;return null!=t&&(Jr(t)?e=t:n=t),new ht(r=>{let a=WI(i)?+i-e.now():i;a<0&&(a=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},a)})}function CC(i,t=Lf){return function jq(i){return Yt((t,e)=>{let n=!1,r=null,a=null,o=!1;const c=()=>{if(a?.unsubscribe(),a=null,n){n=!1;const m=r;r=null,e.next(m)}o&&e.complete()},u=()=>{a=null,o&&e.complete()};t.subscribe(jt(e,m=>{n=!0,r=m,a||cn(i(m)).subscribe(a=jt(e,c,u))},()=>{o=!0,(!n||!a||a.closed)&&e.complete()}))})}(()=>Gg(i,t))}const zq=new Ze("cdk-dir-doc",{providedIn:"root",factory:function Uq(){return ii(xi)}}),Wq=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function GI(i){const t=i?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?Wq.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}let Rr=(()=>{class i{constructor(e){this.value="ltr",this.change=new lt,e&&(this.value=GI((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)(Fe(zq,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Gq=(()=>{class i{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new lt}get dir(){return this._dir}set dir(e){const n=this._dir;this._dir=GI(e),this._rawDir=e,n!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,n){2&e&&Lt("dir",n._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Nt([{provide:Rr,useExisting:i}])]}),i})(),Hf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const qq=["contentWrapper"],$q=["*"],Kq=new Ze("VIRTUAL_SCROLL_STRATEGY");let ku=(()=>{class i{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new He,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ht(n=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(CC(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ht()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){const r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(qi(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){const n=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=Ed(n),a=e.getElementRef().nativeElement;do{if(r==a)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>As(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(Hn),Fe(xi,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Vh=(()=>{class i{constructor(e,n,r,a){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=r,this.dir=a,this._destroyed=new He,this._elementScrolled=new ht(o=>this.ngZone.runOutsideAngular(()=>As(this.elementRef.nativeElement,"scroll").pipe(ai(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const n=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&0!=Vg()?(null!=e.left&&(e.right=n.scrollWidth-n.clientWidth-e.left),2==Vg()?e.left=e.right:1==Vg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const n=this.elementRef.nativeElement;kI()?n.scrollTo(e):(null!=e.top&&(n.scrollTop=e.top),null!=e.left&&(n.scrollLeft=e.left))}measureScrollOffset(e){const n="left",r="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?r:n:"end"==e&&(e=o?n:r),o&&2==Vg()?e==n?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&1==Vg()?e==n?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==n?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(ku),k(Rt),k(Rr,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),i})(),Fl=(()=>{class i{constructor(e,n,r){this._platform=e,this._change=new He,this._changeListener=a=>{this._change.next(a)},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.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:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,n=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,left:-a.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(CC(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 i.\u0275fac=function(e){return new(e||i)(Fe(Hn),Fe(Rt),Fe(xi,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const qI=new Ze("VIRTUAL_SCROLLABLE");let Xq=(()=>{class i extends Vh{constructor(e,n,r,a){super(e,n,r,a)}measureViewportSize(e){const n=this.elementRef.nativeElement;return"horizontal"===e?n.clientWidth:n.clientHeight}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(ku),k(Rt),k(Rr,8))},i.\u0275dir=Oe({type:i,features:[st]}),i})();const e$=typeof requestAnimationFrame<"u"?Oq:xC;let t$=(()=>{class i extends Xq{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=Ct(e)}constructor(e,n,r,a,o,c,u,m){super(e,c,r,o),this.elementRef=e,this._changeDetectorRef=n,this._scrollStrategy=a,this.scrollable=m,this._platform=ii(Hn),this._detachedSubject=new He,this._renderedRangeSubject=new He,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ht(x=>this._scrollStrategy.scrolledIndexChange.subscribe(P=>Promise.resolve().then(()=>this.ngZone.run(()=>x.next(P))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=C.EMPTY,this._viewportChanges=u.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Ur(null),CC(0,e$)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ai(this._detachedSubject)).subscribe(n=>{const r=n.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function Jq(i,t){return i.start==t.start&&i.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,n="to-start"){e=this.appendOnly&&"to-start"===n?0:e;const a="horizontal"==this.orientation,o=a?"X":"Y";let u=`translate${o}(${Number((a&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===n&&(u+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=u&&(this._renderedContentTransform=u,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,n="auto"){const r={behavior:n};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n)}measureScrollOffset(e){let n;return n=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,n(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n;const r="left",a="right",o="rtl"==this.dir?.value;n="start"==e?o?a:r:"end"==e?o?r:a:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const n of e)n()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Rt),k(Kq,8),k(Rr,8),k(ku),k(Fl),k(qI,8))},i.\u0275cmp=qe({type:i,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,n){if(1&e&&At(qq,7),2&e){let r;Qe(r=Xe())&&(n._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("cdk-virtual-scroll-orientation-horizontal","horizontal"===n.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==n.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Nt([{provide:Vh,useFactory:(t,e)=>t||e,deps:[[new Ds,new V1(qI)],i]}]),st,ix],ngContentSelectors:$q,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,n){1&e&&(Pi(),_(0,"div",0,1),vt(2),v(),Ce(3,"div",2)),2&e&&(E(3),Kn("width",n._totalContentWidth)("height",n._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),i})(),Nc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),ty=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Hf,Nc,t$,Hf,Nc]}),i})();class kC{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Yh extends kC{constructor(t,e,n,r,a){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=a}}class Ad extends kC{constructor(t,e,n,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class i$ extends kC{constructor(t){super(),this.element=t instanceof pt?t.nativeElement:t}}class iy{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Yh?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Ad?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof i$?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class n$ extends iy{constructor(t,e,n,r,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=o=>{const c=o.element,u=this._document.createComment("dom-portal");c.parentNode.insertBefore(u,c),this.outletElement.appendChild(c),this._attachedPortal=o,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(c,u)})},this._document=a}attachComponentPortal(t){const n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(t.injector||this._defaultInjector||qr.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);-1!==r&&e.remove(r)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let r$=(()=>{class i extends Ad{constructor(e,n){super(e,n)}}return i.\u0275fac=function(e){return new(e||i)(k(yr),k(kr))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[st]}),i})(),Jl=(()=>{class i extends iy{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new lt,this.attachDomPortal=a=>{const o=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),o.parentNode.insertBefore(c,o),this._getRootNode().appendChild(o),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(o,c)})},this._document=r}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._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=n.createComponent(a,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return i.\u0275fac=function(e){return new(e||i)(k(pd),k(kr),k(xi))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[st]}),i})(),xl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function $I(i,t=!1){return Yt((e,n)=>{let r=0;e.subscribe(jt(n,a=>{const o=i(a,r++);(o||t)&&n.next(a),!o&&n.complete()}))})}const KI=kI();class a${constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=$a(-this._previousScrollPosition.left),t.style.top=$a(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,n=t.style,r=this._document.body.style,a=n.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),KI&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KI&&(n.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class o${constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ZI{enable(){}disable(){}attach(){}}function DC(i,t){return t.some(e=>i.bottome.bottom||i.righte.right)}function QI(i,t){return t.some(e=>i.tope.bottom||i.lefte.right)}class s${constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();DC(e,[{width:n,height:r,bottom:r,right:n,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 l$=(()=>{class i{constructor(e,n,r,a){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new ZI,this.close=o=>new o$(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new a$(this._viewportRuler,this._document),this.reposition=o=>new s$(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=a}}return i.\u0275fac=function(e){return new(e||i)(Fe(ku),Fe(Fl),Fe(Rt),Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Vf{constructor(t){if(this.scrollStrategy=new ZI,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class c${constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let XI=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),d$=(()=>{class i extends XI{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{const a=this._attachedOverlays;for(let o=a.length-1;o>-1;o--)if(a[o]._keydownEvents.observers.length>0){const c=a[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);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 i.\u0275fac=function(e){return new(e||i)(Fe(xi),Fe(Rt,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),u$=(()=>{class i extends XI{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=Md(a)},this._clickListener=a=>{const o=Md(a),c="click"===a.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const u=this._attachedOverlays.slice();for(let m=u.length-1;m>-1;m--){const x=u[m];if(x._outsidePointerEvents.observers.length<1||!x.hasAttached())continue;if(x.overlayElement.contains(o)||x.overlayElement.contains(c))break;const P=x._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>P.next(a)):P.next(a)}}}add(e){if(super.add(e),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.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 i.\u0275fac=function(e){return new(e||i)(Fe(xi),Fe(Hn),Fe(Rt,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),qg=(()=>{class i{constructor(e,n){this._platform=n,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||oC()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(P),this._backdropTransitionendHandler=P=>{this._disposeBackdrop(P.target)},this._keydownEvents=new He,this._outsidePointerEvents=new He,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(rn(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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._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,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=$a(this._config.width),t.height=$a(this._config.height),t.minWidth=$a(this._config.minWidth),t.minHeight=$a(this._config.minHeight),t.maxWidth=$a(this._config.maxWidth),t.maxHeight=$a(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,n){const r=Kb(e||[]).filter(a=>!!a);r.length&&(n?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ai(Bn(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const JI="cdk-overlay-connected-position-bounding-box",h$=/([A-Za-z%]+)$/;class m${get positions(){return this._preferredPositions}constructor(t,e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a,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 He,this._resizeSubscription=C.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(JI),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,a=[];let o;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,r,c),m=this._getOverlayPoint(u,e,c),x=this._getOverlayFit(m,e,n,c);if(x.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(x,m,n)?a.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!o||o.overlayFit.visibleAreau&&(u=x,c=m)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&zh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(JI),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){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,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,n){let r,a;if("center"==n.originX)r=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==n.originX?o:c}return e.left<0&&(r-=e.left),a="center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(t,e,n){let r,a;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+a}}_getOverlayFit(t,e,n,r){const a=t6(e);let{x:o,y:c}=t,u=this._getOffset(r,"x"),m=this._getOffset(r,"y");u&&(o+=u),m&&(c+=m);let K=0-c,ne=c+a.height-n.height,pe=this._subtractOverflows(a.width,0-o,o+a.width-n.width),ye=this._subtractOverflows(a.height,K,ne),Ie=pe*ye;return{visibleArea:Ie,isCompletelyWithinViewport:a.width*a.height===Ie,fitsInViewportVertically:ye===a.height,fitsInViewportHorizontally:pe==a.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,a=n.right-e.x,o=e6(this._overlayRef.getConfig().minHeight),c=e6(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=a)}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=t6(e),a=this._viewportRect,o=Math.max(t.x+r.width-a.width,0),c=Math.max(t.y+r.height-a.height,0),u=Math.max(a.top-n.top-t.y,0),m=Math.max(a.left-n.left-t.x,0);let x=0,P=0;return x=r.width<=a.width?m||-o:t.xpe&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-pe/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)K=n.width-t.x+this._viewportMargin,x=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)P=t.x,x=n.right-t.x;else{const ne=Math.min(n.right-t.x+n.left,t.x),pe=this._lastBoundingBoxSize.width;x=2*ne,P=t.x-ne,x>pe&&!this._isInitialRender&&!this._growAfterOpen&&(P=t.x-pe/2)}return{top:o,left:P,bottom:c,right:K,width:x,height:a}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=$a(n.height),r.top=$a(n.top),r.bottom=$a(n.bottom),r.width=$a(n.width),r.left=$a(n.left),r.right=$a(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(r.maxHeight=$a(a)),o&&(r.maxWidth=$a(o))}this._lastBoundingBoxSize=n,zh(this._boundingBox.style,r)}_resetBoundingBoxStyles(){zh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){zh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const x=this._viewportRuler.getViewportScrollPosition();zh(n,this._getExactOverlayY(e,t,x)),zh(n,this._getExactOverlayX(e,t,x))}else n.position="static";let c="",u=this._getOffset(e,"x"),m=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),m&&(c+=`translateY(${m}px)`),n.transform=c.trim(),o.maxHeight&&(r?n.maxHeight=$a(o.maxHeight):a&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=$a(o.maxWidth):a&&(n.maxWidth="")),zh(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":r.top=$a(a.y),r}_getExactOverlayX(t,e,n){let o,r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":r.left=$a(a.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:QI(t,n),isOriginOutsideView:DC(t,n),isOverlayClipped:QI(e,n),isOverlayOutsideView:DC(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,r)=>n-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Kb(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof pt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function zh(i,t){for(let e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i}function e6(i){if("number"!=typeof i&&null!=i){const[t,e]=i.split(h$);return e&&"px"!==e?null:parseFloat(t)}return i||null}function t6(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}const n6="cdk-global-overlay-wrapper";class f${constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(n6),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:c}=n,u=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),m=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c),x=this._xPosition,P=this._xOffset,K="rtl"===this._overlayRef.getConfig().direction;let ne="",pe="",ye="";u?ye="flex-start":"center"===x?(ye="center",K?pe=P:ne=P):K?"left"===x||"end"===x?(ye="flex-end",ne=P):("right"===x||"start"===x)&&(ye="flex-start",pe=P):"left"===x||"start"===x?(ye="flex-start",ne=P):("right"===x||"end"===x)&&(ye="flex-end",pe=P),t.position=this._cssPosition,t.marginLeft=u?"0":ne,t.marginTop=m?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=u?"0":pe,e.justifyContent=ye,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(n6),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let p$=(()=>{class i{constructor(e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a}global(){return new f$}flexibleConnectedTo(e){return new m$(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Fl),Fe(xi),Fe(Hn),Fe(qg))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),g$=0,va=(()=>{class i{constructor(e,n,r,a,o,c,u,m,x,P,K,ne){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=c,this._ngZone=u,this._document=m,this._directionality=x,this._location=P,this._outsideClickDispatcher=K,this._animationsModuleType=ne}create(e){const n=this._createHostElement(),r=this._createPaneElement(n),a=this._createPortalOutlet(r),o=new Vf(e);return o.direction=o.direction||this._directionality.value,new jh(a,n,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const n=this._document.createElement("div");return n.id="cdk-overlay-"+g$++,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(wd)),new n$(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Fe(l$),Fe(qg),Fe(pd),Fe(p$),Fe(d$),Fe(qr),Fe(Rt),Fe(xi),Fe(Rr),Fe(Ac),Fe(u$),Fe(Nn,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const _$=[{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"}],r6=new Ze("cdk-connected-overlay-scroll-strategy");let MC=(()=>{class i{constructor(e){this.elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),i})(),a6=(()=>{class i{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=Ct(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ct(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ct(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ct(e)}get push(){return this._push}set push(e){this._push=Ct(e)}constructor(e,n,r,a,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=C.EMPTY,this._attachSubscription=C.EMPTY,this._detachSubscription=C.EMPTY,this._positionSubscription=C.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new lt,this.positionChange=new lt,this.attach=new lt,this.detach=new lt,this.overlayKeydown=new lt,this.overlayOutsideClick=new lt,this._templatePortal=new Ad(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}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=_$);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(n=>{this.overlayKeydown.next(n),27===n.keyCode&&!this.disableClose&&!ya(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Vf({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(n.width=this.width),(this.height||0===this.height)&&(n.height=this.height),(this.minWidth||0===this.minWidth)&&(n.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){const n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).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 MC?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($I(()=>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 i.\u0275fac=function(e){return new(e||i)(k(va),k(yr),k(kr),k(r6),k(Rr,8))},i.\u0275dir=Oe({type:i,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"],standalone:!0,features:[Jn]}),i})();const y$={provide:r6,deps:[va],useFactory:function b$(i){return()=>i.scrollStrategies.reposition()}};let Oc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[va,y$],imports:[Hf,xl,ty,ty]}),i})();function Rc(i){return new ht(t=>{cn(i()).subscribe(t)})}function v$(i,t){}class $g{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,this.closeOnOverlayDetachments=!0}}let EC=(()=>{class i extends iy{constructor(e,n,r,a,o,c,u,m){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=a,this._interactivityChecker=o,this._ngZone=c,this._overlayRef=u,this._focusMonitor=m,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=x=>{this._portalOutlet.hasAttached();const P=this._portalOutlet.attachDomPortal(x);return this._contentAttached(),P},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_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(n=>{n||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 n=null;if("string"==typeof e?n=this._document.querySelector(e):"boolean"==typeof e?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&"function"==typeof n.focus){const r=zb(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,n=zb();return e===n||e.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zb())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(xi,8),k($g),k(Hh),k(Rt),k(jh),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(1&e&&At(Jl,7),2&e){let r;Qe(r=Xe())&&(n._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){2&e&&Lt("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[st],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,v$,0,0,"ng-template",0)},dependencies:[Jl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),i})();class SC{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new He,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!ya(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(t),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const o6=new Ze("DialogScrollStrategy"),w$=new Ze("DialogData"),F$=new Ze("DefaultDialogConfig"),C$={provide:o6,deps:[va],useFactory:function x$(i){return()=>i.scrollStrategies.block()}};let k$=0,TC=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,r,a,o,c){this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._ariaHiddenElements=new Map,this.afterAllClosed=Rc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ur(void 0))),this._scrollStrategy=c}open(e,n){(n={...this._defaultOptions||new $g,...n}).id=n.id||"cdk-dialog-"+k$++,n.id&&this.getDialogById(n.id);const a=this._getOverlayConfig(n),o=this._overlay.create(a),c=new SC(o,n),u=this._attachContainer(o,c,n);return c.containerInstance=u,this._attachDialogContent(e,c,u,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){AC(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){AC(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),AC(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const n=new Vf({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&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){const a=r.injector||r.viewContainerRef?.injector,o=[{provide:$g,useValue:r},{provide:SC,useValue:n},{provide:jh,useValue:e}];let c;r.container?"function"==typeof r.container?c=r.container:(c=r.container.type,o.push(...r.container.providers(r))):c=EC;const u=new Yh(c,r.viewContainerRef,qr.create({parent:a||this._injector,providers:o}),r.componentFactoryResolver);return e.attach(u).instance}_attachDialogContent(e,n,r,a){if(e instanceof yr){const o=this._createInjector(a,n,r,void 0);let c={$implicit:a.data,dialogRef:n};a.templateContext&&(c={...c,..."function"==typeof a.templateContext?a.templateContext():a.templateContext}),r.attachTemplatePortal(new Ad(e,null,c,o))}else{const o=this._createInjector(a,n,r,this._injector),c=r.attachComponentPortal(new Yh(e,a.viewContainerRef,o,a.componentFactoryResolver));n.componentInstance=c.instance}}_createInjector(e,n,r,a){const o=e.injector||e.viewContainerRef?.injector,c=[{provide:w$,useValue:e.data},{provide:SC,useValue:n}];return e.providers&&("function"==typeof e.providers?c.push(...e.providers(n,e,r)):c.push(...e.providers)),e.direction&&(!o||!o.get(Rr,null,{optional:!0}))&&c.push({provide:Rr,useValue:{value:e.direction,change:Ht()}}),qr.create({parent:o||a,providers:c})}_removeOpenDialog(e,n){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){const a=n[r];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(qr),Fe(F$,8),Fe(i,12),Fe(qg),Fe(o6))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();function AC(i,t){let e=i.length;for(;e--;)t(i[e])}let IC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[TC,C$],imports:[Oc,xl,Bf,xl]}),i})();const D$=["text"];function M$(i,t){if(1&i&&Ce(0,"mat-pseudo-checkbox",6),2&i){const e=Z();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function E$(i,t){1&i&&Ce(0,"mat-pseudo-checkbox",7),2&i&&S("disabled",Z().disabled)}function S$(i,t){if(1&i&&(_(0,"span",8),L(1),v()),2&i){const e=Z();E(1),qt("(",e.group.label,")")}}const T$=[[["mat-icon"]],"*"],A$=["mat-icon","*"];let c6=(()=>{class i{}return i.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",i.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",i.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",i.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",i})(),d6=(()=>{class i{}return i.COMPLEX="375ms",i.ENTERING="225ms",i.EXITING="195ms",i})();const L$=new Ze("mat-sanity-checks",{providedIn:"root",factory:function I$(){return!0}});let Jt=(()=>{class i{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!oC()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return i.\u0275fac=function(e){return new(e||i)(Fe(jI),Fe(L$,8),Fe(xi))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Hf,Hf]}),i})();function ec(i){return class extends i{get disabled(){return this._disabled}set disabled(t){this._disabled=Ct(t)}constructor(...t){super(...t),this._disabled=!1}}}function tc(i,t){return class extends i{get color(){return this._color}set color(e){const n=e||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function Cl(i){return class extends i{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ct(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function Pc(i,t=0){return class extends i{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?vr(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function LC(i){return class extends i{updateErrorState(){const t=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==t&&(this.errorState=a,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}const N$=new Ze("MAT_DATE_LOCALE",{providedIn:"root",factory:function O$(){return ii(Tc)}});class Id{constructor(){this._localeChanges=new He,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}let Yf=(()=>{class i{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),NC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),i})(),h6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Jt]}),i})();class R${constructor(t,e,n,r=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const m6=Dd({passive:!0,capture:!0});class P${constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Md(t);e&&this._events.get(t.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(a=>a.handleEvent(t))})}}addHandler(t,e,n,r){const a=this._events.get(e);if(a){const o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,m6)})}removeHandler(t,e,n){const r=this._events.get(t);if(!r)return;const a=r.get(e);a&&(a.delete(n),0===a.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,m6)))}}const f6={enterDuration:225,exitDuration:150},p6=Dd({passive:!0,capture:!0}),g6=["mousedown","touchstart"],_6=["mouseup","mouseleave","touchend","touchcancel"];class jf{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ed(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a={...f6,...n.animation};n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=n.radius||function H$(i,t,e){const n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+r*r)}(t,e,r),c=t-r.left,u=e-r.top,m=a.enterDuration,x=document.createElement("div");x.classList.add("mat-ripple-element"),x.style.left=c-o+"px",x.style.top=u-o+"px",x.style.height=2*o+"px",x.style.width=2*o+"px",null!=n.color&&(x.style.backgroundColor=n.color),x.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(x);const P=window.getComputedStyle(x),ne=P.transitionDuration,pe="none"===P.transitionProperty||"0s"===ne||"0s, 0s"===ne||0===r.width&&0===r.height,ye=new R$(this,x,n,pe);x.style.transform="scale3d(1, 1, 1)",ye.state=0,n.persistent||(this._mostRecentTransientRipple=ye);let Ie=null;return!pe&&(m||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Le=()=>this._finishRippleTransition(ye),it=()=>this._destroyRipple(ye);x.addEventListener("transitionend",Le),x.addEventListener("transitioncancel",it),Ie={onTransitionEnd:Le,onTransitionCancel:it}}),this._activeRipples.set(ye,Ie),(pe||!m)&&this._finishRippleTransition(ye),ye}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,n={...f6,...t.config.animation};e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ed(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,g6.forEach(n=>{jf._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_6.forEach(e=>{this._triggerElement.addEventListener(e,this,p6)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=1,!n&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=bC(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(g6.forEach(e=>jf._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&_6.forEach(e=>t.removeEventListener(e,this,p6)))}}jf._eventManager=new P$;const Ld=new Ze("mat-ripple-global-options");let da=(()=>{class i{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()}constructor(e,n,r,a,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new jf(this,n,e,r)}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,n=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,n,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(Hn),k(Ld,8),k(Nn,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-ripple-unbounded",n.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"]}),i})(),qs=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Jt]}),i})(),V$=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return i.\u0275fac=function(e){return new(e||i)(k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){2&e&&Mt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal","minimal"===n.appearance)("mat-pseudo-checkbox-full","full"===n.appearance)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{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-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{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),i})(),b6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt]}),i})();const OC=new Ze("MAT_OPTION_PARENT_COMPONENT"),RC=new Ze("MatOptgroup");let Y$=0;class y6{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let j$=(()=>{class i{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=Ct(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,n,r,a){this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Y$++,this.onSelectionChange=new lt,this._stateChanges=new He}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.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,n){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(n)}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)&&!ya(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&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new y6(this,e))}}return i.\u0275fac=function(e){Gl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&At(D$,7),2&e){let r;Qe(r=Xe())&&(n._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),i})(),Du=(()=>{class i extends j${constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(OC,8),k(RC,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,n){1&e&&fe("click",function(){return n._selectViaInteraction()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Ua("id",n.id),Lt("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),Mt("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},exportAs:["matOption"],features:[st],ngContentSelectors:A$,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,n){1&e&&(Pi(T$),ee(0,M$,1,2,"mat-pseudo-checkbox",0),vt(1),_(2,"span",1,2),vt(4,1),v(),ee(5,E$,1,1,"mat-pseudo-checkbox",3),ee(6,S$,2,1,"span",4),Ce(7,"div",5)),2&e&&(S("ngIf",n.multiple),E(5),S("ngIf",!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator),E(1),S("ngIf",n.group&&n.group._inert),E(1),S("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[da,ri,V$],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-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-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),i})();function v6(i,t,e){if(e.length){let n=t.toArray(),r=e.toArray(),a=0;for(let o=0;oe+n?Math.max(0,i-n+t):e}let ny=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[qs,Dr,Jt,b6]}),i})();class F6{}class z${}const Nd="*";function Za(i,t){return{type:7,name:i,definitions:t,options:{}}}function sr(i,t=null){return{type:4,styles:t,timings:i}}function Zg(i,t=null){return{type:3,steps:i,options:t}}function x6(i,t=null){return{type:2,steps:i,options:t}}function fi(i){return{type:6,styles:i,offset:null}}function gr(i,t,e){return{type:0,name:i,styles:t,options:e}}function Qg(i){return{type:5,steps:i}}function lr(i,t,e=null){return{type:1,expr:i,animation:t,options:e}}function Xg(i=null){return{type:9,options:i}}function Od(i,t,e=null){return{type:11,selector:i,animation:t,options:e}}function C6(i,t){return{type:12,timings:i,animation:t}}function k6(i){Promise.resolve().then(i)}class Jg{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){k6(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class D6{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const a=this.players.length;0==a?k6(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==a&&this._onFinish()}),o.onDestroy(()=>{++n==a&&this._onDestroy()}),o.onStart(()=>{++r==a&&this._onStart()})}),this.totalTime=this.players.reduce((o,c)=>Math.max(o,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){const t=this.players.reduce((e,n)=>null===e||n.totalTime>e.totalTime?n:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}const PC="!";function U$(i,t){}const W$={bottomSheetState:Za("state",[gr("void, hidden",fi({transform:"translateY(100%)"})),gr("visible",fi({transform:"translateY(0%)"})),lr("visible => void, visible => hidden",Zg([sr(`${d6.COMPLEX} ${c6.ACCELERATION_CURVE}`),Od("@*",Xg(),{optional:!0})])),lr("void => visible",Zg([sr(`${d6.EXITING} ${c6.DECELERATION_CURVE}`),Od("@*",Xg(),{optional:!0})]))])};let G$=(()=>{class i extends EC{constructor(e,n,r,a,o,c,u,m,x,P){super(e,n,r,a,o,c,u,P),this._changeDetectorRef=x,this._animationState="void",this._animationStateChanged=new lt,this._breakpointSubscription=m.observe([Cu_Medium,Cu_Large,"(min-width: 1920px)"]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",m.isMatched(Cu_Medium)),this._toggleClass("mat-bottom-sheet-container-large",m.isMatched(Cu_Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",m.isMatched("(min-width: 1920px)"))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,n){this._elementRef.nativeElement.classList.toggle(e,n)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(xi,8),k($g),k(Hh),k(Rt),k(jh),k(Td),k(oi),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){1&e&&_f("@state.start",function(a){return n._onAnimationStart(a)})("@state.done",function(a){return n._onAnimationDone(a)}),2&e&&(Lt("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),yf("@state",n._animationState))},features:[st],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,U$,0,0,"ng-template",0)},dependencies:[Jl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[W$.bottomSheetState]}}),i})(),M6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[IC,Jt,xl,Jt]}),i})();const q$=new Ze("MatBottomSheetData");class $${constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class E6{get instance(){return this._ref.componentInstance}constructor(t,e,n){this._ref=t,this._afterOpened=new He,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(qi(r=>"done"===r.phaseName&&"visible"===r.toState),rn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(qi(r=>"done"===r.phaseName&&"hidden"===r.toState),rn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Bn(this.backdropClick(),this.keydownEvents().pipe(qi(r=>27===r.keyCode))).subscribe(r=>{!this.disableClose&&("keydown"!==r.type||!ya(r))&&(r.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(qi(e=>"start"===e.phaseName),rn(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const K$=new Ze("mat-bottom-sheet-default-options");let Z$=(()=>{class i{get _openedBottomSheetRef(){const e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,n,r,a){this._overlay=e,this._parentBottomSheet=r,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(TC)}open(e,n){const r={...this._defaultOptions||new $$,...n};let a;return this._dialog.open(e,{...r,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:G$,scrollStrategy:r.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(o,c,u)=>(a=new E6(o,r,u),[{provide:E6,useValue:a},{provide:q$,useValue:r.data}])}),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(qr),Fe(i,12),Fe(K$,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:M6}),i})();const ry=g(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function Mu(i,t){const e=T(i)?i:()=>i,n=r=>r.error(e());return new ht(t?r=>t.schedule(n,0,r):n)}function BC(){return Yt((i,t)=>{let e=null;i._refCount++;const n=jt(t,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(e=null);const r=i._connection,a=e;e=null,r&&(!a||r===a)&&r.unsubscribe(),t.unsubscribe()});i.subscribe(n),n.closed||(e=i.connect())})}class ay extends ht{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,nt(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new C;const e=this.getSubject();t.add(this.source.subscribe(jt(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=C.EMPTY)}return t}refCount(){return BC()(this)}}function na(i,t){return Yt((e,n)=>{let r=null,a=0,o=!1;const c=()=>o&&!r&&n.complete();e.subscribe(jt(n,u=>{r?.unsubscribe();let m=0;const x=a++;cn(i(u,x)).subscribe(r=jt(n,P=>n.next(t?t(u,P,x,m++):P),()=>{r=null,c()}))},()=>{o=!0,c()}))})}function oy(i){return Yt((t,e)=>{let n=!1;t.subscribe(jt(e,r=>{n=!0,e.next(r)},()=>{n||e.next(i),e.complete()}))})}function S6(i=Q$){return Yt((t,e)=>{let n=!1;t.subscribe(jt(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(i())))})}function Q$(){return new ry}function Rd(i,t){const e=arguments.length>=2;return n=>n.pipe(i?qi((r,a)=>i(r,a,n)):Ye,rn(1),e?oy(t):S6(()=>new ry))}function Bc(i,t){return T(t)?vi(i,t,1):vi(i,1)}function es(i){return Yt((t,e)=>{let a,n=null,r=!1;n=t.subscribe(jt(e,void 0,void 0,o=>{a=cn(i(o,es(i)(t))),n?(n.unsubscribe(),n=null,a.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,a.subscribe(e))})}function T6(i,t){return Yt(function X$(i,t,e,n,r){return(a,o)=>{let c=e,u=t,m=0;a.subscribe(jt(o,x=>{const P=m++;u=c?i(u,x,P):(c=!0,x),n&&o.next(u)},r&&(()=>{c&&o.next(u),o.complete()})))}}(i,t,arguments.length>=2,!0))}function HC(i){return i<=0?()=>dn:Yt((t,e)=>{let n=[];t.subscribe(jt(e,r=>{n.push(r),i{for(const r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function A6(i,t){const e=arguments.length>=2;return n=>n.pipe(i?qi((r,a)=>i(r,a,n)):Ye,HC(1),e?oy(t):S6(()=>new ry))}function sy(i){return _t(()=>i)}function e_(i){return Yt((t,e)=>{try{t.subscribe(e)}finally{e.add(i)}})}const Fn="primary",t_=Symbol("RouteTitle");class J${constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function zf(i){return new J$(i)}function eK(i,t,e){const n=e.path.split("/");if(n.length>i.length||"full"===e.pathMatch&&(t.hasChildren()||n.lengthn[a]===r)}return i===t}function L6(i){return Array.prototype.concat.apply([],i)}function N6(i){return i.length>0?i[i.length-1]:null}function Lo(i,t){for(const e in i)i.hasOwnProperty(e)&&t(i[e],e)}function Eu(i){return zF(i)?i:Fg(i)?ar(Promise.resolve(i)):Ht(i)}const ly=!1,iK={exact:function P6(i,t,e){if(!Uh(i.segments,t.segments)||!cy(i.segments,t.segments,e)||i.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!i.children[n]||!P6(i.children[n],t.children[n],e))return!1;return!0},subset:B6},O6={exact:function nK(i,t){return Hc(i,t)},subset:function rK(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(e=>I6(i[e],t[e]))},ignored:()=>!0};function R6(i,t,e){return iK[e.paths](i.root,t.root,e.matrixParams)&&O6[e.queryParams](i.queryParams,t.queryParams)&&!("exact"===e.fragment&&i.fragment!==t.fragment)}function B6(i,t,e){return H6(i,t,t.segments,e)}function H6(i,t,e,n){if(i.segments.length>e.length){const r=i.segments.slice(0,e.length);return!(!Uh(r,e)||t.hasChildren()||!cy(r,e,n))}if(i.segments.length===e.length){if(!Uh(i.segments,e)||!cy(i.segments,e,n))return!1;for(const r in t.children)if(!i.children[r]||!B6(i.children[r],t.children[r],n))return!1;return!0}{const r=e.slice(0,i.segments.length),a=e.slice(i.segments.length);return!!(Uh(i.segments,r)&&cy(i.segments,r,n)&&i.children[Fn])&&H6(i.children[Fn],t,a,n)}}function cy(i,t,e){return t.every((n,r)=>O6[e](i[r].parameters,n.parameters))}class Su{constructor(t=new Yn([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zf(this.queryParams)),this._queryParamMap}toString(){return sK.serialize(this)}}class Yn{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Lo(e,(n,r)=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dy(this)}}class i_{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=zf(this.parameters)),this._parameterMap}toString(){return j6(this)}}function Uh(i,t){return i.length===t.length&&i.every((e,n)=>e.path===t[n].path)}let n_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return new VC},providedIn:"root"}),i})();class VC{parse(t){const e=new gK(t);return new Su(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${r_(t.root,!0)}`,n=function dK(i){const t=Object.keys(i).map(e=>{const n=i[e];return Array.isArray(n)?n.map(r=>`${uy(e)}=${uy(r)}`).join("&"):`${uy(e)}=${uy(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function lK(i){return encodeURI(i)}(t.fragment)}`:""}`}}const sK=new VC;function dy(i){return i.segments.map(t=>j6(t)).join("/")}function r_(i,t){if(!i.hasChildren())return dy(i);if(t){const e=i.children[Fn]?r_(i.children[Fn],!1):"",n=[];return Lo(i.children,(r,a)=>{a!==Fn&&n.push(`${a}:${r_(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function oK(i,t){let e=[];return Lo(i.children,(n,r)=>{r===Fn&&(e=e.concat(t(n,r)))}),Lo(i.children,(n,r)=>{r!==Fn&&(e=e.concat(t(n,r)))}),e}(i,(n,r)=>r===Fn?[r_(i.children[Fn],!1)]:[`${r}:${r_(n,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[Fn]?`${dy(i)}/${e[0]}`:`${dy(i)}/(${e.join("//")})`}}function V6(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function uy(i){return V6(i).replace(/%3B/gi,";")}function YC(i){return V6(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hy(i){return decodeURIComponent(i)}function Y6(i){return hy(i.replace(/\+/g,"%20"))}function j6(i){return`${YC(i.path)}${function cK(i){return Object.keys(i).map(t=>`;${YC(t)}=${YC(i[t])}`).join("")}(i.parameters)}`}const uK=/^[^\/()?;=#]+/;function my(i){const t=i.match(uK);return t?t[0]:""}const hK=/^[^=?&#]+/,fK=/^[^&#]+/;class gK{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Yn([],{}):new Yn([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Fn]=new Yn(t,e)),n}parseSegment(){const t=my(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new tt(4009,ly);return this.capture(t),new i_(hy(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=my(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const r=my(this.remaining);r&&(n=r,this.capture(n))}t[hy(e)]=hy(n)}parseQueryParam(t){const e=function mK(i){const t=i.match(hK);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const o=function pK(i){const t=i.match(fK);return t?t[0]:""}(this.remaining);o&&(n=o,this.capture(n))}const r=Y6(e),a=Y6(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=my(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new tt(4010,ly);let a;n.indexOf(":")>-1?(a=n.slice(0,n.indexOf(":")),this.capture(a),this.capture(":")):t&&(a=Fn);const o=this.parseChildren();e[a]=1===Object.keys(o).length?o[Fn]:new Yn([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new tt(4011,ly)}}function jC(i){return i.segments.length>0?new Yn([],{[Fn]:i}):i}function fy(i){const t={};for(const n of Object.keys(i.children)){const a=fy(i.children[n]);(a.segments.length>0||a.hasChildren())&&(t[n]=a)}return function _K(i){if(1===i.numberOfChildren&&i.children[Fn]){const t=i.children[Fn];return new Yn(i.segments.concat(t.segments),t.children)}return i}(new Yn(i.segments,t))}function Wh(i){return i instanceof Su}const zC=!1;function bK(i,t,e,n,r){if(0===e.length)return Uf(t.root,t.root,t.root,n,r);const a=function q6(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new G6(!0,0,i);let t=0,e=!1;const n=i.reduce((r,a,o)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Lo(a.outlets,(u,m)=>{c[m]="string"==typeof u?u.split("/"):u}),[...r,{outlets:c}]}if(a.segmentPath)return[...r,a.segmentPath]}return"string"!=typeof a?[...r,a]:0===o?(a.split("/").forEach((c,u)=>{0==u&&"."===c||(0==u&&""===c?e=!0:".."===c?t++:""!=c&&r.push(c))}),r):[...r,a]},[]);return new G6(e,t,n)}(e);return a.toRoot()?Uf(t.root,t.root,new Yn([],{}),n,r):function o(u){const m=function vK(i,t,e,n){if(i.isAbsolute)return new Wf(t.root,!0,0);if(-1===n)return new Wf(e,e===t.root,0);return function $6(i,t,e){let n=i,r=t,a=e;for(;a>r;){if(a-=r,n=n.parent,!n)throw new tt(4005,zC&&"Invalid number of '../'");r=n.segments.length}return new Wf(n,!1,r-a)}(e,n+(a_(i.commands[0])?0:1),i.numberOfDoubleDots)}(a,t,i.snapshot?._urlSegment,u),x=m.processChildren?Gf(m.segmentGroup,m.index,a.commands):UC(m.segmentGroup,m.index,a.commands);return Uf(t.root,m.segmentGroup,x,n,r)}(i.snapshot?._lastPathIndex)}function a_(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function o_(i){return"object"==typeof i&&null!=i&&i.outlets}function Uf(i,t,e,n,r){let o,a={};n&&Lo(n,(u,m)=>{a[m]=Array.isArray(u)?u.map(x=>`${x}`):`${u}`}),o=i===t?e:W6(i,t,e);const c=jC(fy(o));return new Su(c,a,r)}function W6(i,t,e){const n={};return Lo(i.children,(r,a)=>{n[a]=r===t?e:W6(r,t,e)}),new Yn(i.segments,n)}class G6{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&a_(n[0]))throw new tt(4003,zC&&"Root segment cannot have matrix parameters");const r=n.find(o_);if(r&&r!==N6(n))throw new tt(4004,zC&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function UC(i,t,e){if(i||(i=new Yn([],{})),0===i.segments.length&&i.hasChildren())return Gf(i,t,e);const n=function FK(i,t,e){let n=0,r=t;const a={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return a;const o=i.segments[r],c=e[n];if(o_(c))break;const u=`${c}`,m=n0&&void 0===u)break;if(u&&m&&"object"==typeof m&&void 0===m.outlets){if(!Z6(u,m,o))return a;n+=2}else{if(!Z6(u,{},o))return a;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(i,t,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=UC(i.children[o],t,a))}),Lo(i.children,(a,o)=>{void 0===n[o]&&(r[o]=a)}),new Yn(i.segments,r))}}function WC(i,t,e){const n=i.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=WC(new Yn([],{}),0,e))}),t}function K6(i){const t={};return Lo(i,(e,n)=>t[n]=`${e}`),t}function Z6(i,t,e){return i==e.path&&Hc(t,e.parameters)}const s_="imperative";class Vc{constructor(t,e){this.id=t,this.url=e}}class GC extends Vc{constructor(t,e,n="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gh extends Vc{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class py extends Vc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gy extends Vc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=16}}class qC extends Vc{constructor(t,e,n,r){super(t,e),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class CK extends Vc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kK extends Vc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class DK extends Vc{constructor(t,e,n,r,a){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=a,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class MK extends Vc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class EK extends Vc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class SK{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class TK{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class AK{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IK{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class LK{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class NK{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q6{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let PK=(()=>{class i{createUrlTree(e,n,r,a,o,c){return bK(e||n.root,r,a,o,c)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),HK=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(t){return PK.\u0275fac(t)},providedIn:"root"}),i})();class X6{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=$C(t,this._root);return e?e.children.map(n=>n.value):[]}firstChild(t){const e=$C(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=KC(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return KC(t,this._root).map(e=>e.value)}}function $C(i,t){if(i===t.value)return t;for(const e of t.children){const n=$C(i,e);if(n)return n}return null}function KC(i,t){if(i===t.value)return[t];for(const e of t.children){const n=KC(i,e);if(n.length)return n.unshift(t),n}return[]}class Pd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function qf(i){const t={};return i&&i.children.forEach(e=>t[e.value.outlet]=e),t}class J6 extends X6{constructor(t,e){super(t),this.snapshot=e,ZC(this,t)}toString(){return this.snapshot.toString()}}function e5(i,t){const e=function VK(i,t){const o=new _y([],{},{},"",{},Fn,t,null,i.root,-1,{});return new n5("",new Pd(o,[]))}(i,t),n=new Hi([new i_("",{})]),r=new Hi({}),a=new Hi({}),o=new Hi({}),c=new Hi(""),u=new us(n,r,o,c,a,Fn,t,e.root);return u.snapshot=e.root,new J6(new Pd(u,[]),e)}class us{constructor(t,e,n,r,a,o,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.title=this.data?.pipe(_t(m=>m[t_]))??Ht(void 0),this._futureSnapshot=u}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(_t(t=>zf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(_t(t=>zf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function t5(i,t="emptyOnly"){const e=i.pathFromRoot;let n=0;if("always"!==t)for(n=e.length-1;n>=1;){const r=e[n],a=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(a.component)break;n--}}return function YK(i){return i.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(n))}class _y{get title(){return this.data?.[t_]}constructor(t,e,n,r,a,o,c,u,m,x,P){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.routeConfig=u,this._urlSegment=m,this._lastPathIndex=x,this._resolve=P}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=zf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class n5 extends X6{constructor(t,e){super(e),this.url=t,ZC(this,e)}toString(){return r5(this._root)}}function ZC(i,t){t.value._routerState=i,t.children.forEach(e=>ZC(i,e))}function r5(i){const t=i.children.length>0?` { ${i.children.map(r5).join(", ")} } `:"";return`${i.value}${t}`}function QC(i){if(i.snapshot){const t=i.snapshot,e=i._futureSnapshot;i.snapshot=e,Hc(t.queryParams,e.queryParams)||i.queryParams.next(e.queryParams),t.fragment!==e.fragment&&i.fragment.next(e.fragment),Hc(t.params,e.params)||i.params.next(e.params),function tK(i,t){if(i.length!==t.length)return!1;for(let e=0;eHc(e.parameters,t[n].parameters))}(i.url,t.url);return e&&!(!i.parent!=!t.parent)&&(!i.parent||XC(i.parent,t.parent))}function l_(i,t,e){if(e&&i.shouldReuseRoute(t.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=t.value;const r=function zK(i,t,e){return t.children.map(n=>{for(const r of e.children)if(i.shouldReuseRoute(n.value,r.value.snapshot))return l_(i,n,r);return l_(i,n)})}(i,t,e);return new Pd(n,r)}{if(i.shouldAttach(t.value)){const a=i.retrieve(t.value);if(null!==a){const o=a.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(c=>l_(i,c)),o}}const n=function UK(i){return new us(new Hi(i.url),new Hi(i.params),new Hi(i.queryParams),new Hi(i.fragment),new Hi(i.data),i.outlet,i.component,i)}(t.value),r=t.children.map(a=>l_(i,a));return new Pd(n,r)}}const JC="ngNavigationCancelingError";function a5(i,t){const{redirectTo:e,navigationBehaviorOptions:n}=Wh(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=o5(!1,0,t);return r.url=e,r.navigationBehaviorOptions=n,r}function o5(i,t,e){const n=new Error("NavigationCancelingError: "+(i||""));return n[JC]=!0,n.cancellationCode=t,e&&(n.url=e),n}function s5(i){return l5(i)&&Wh(i.url)}function l5(i){return i&&i[JC]}class WK{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new c_,this.attachRef=null}}let c_=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new WK,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const by=!1;let ek=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=Fn,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.parentContexts=ii(c_),this.location=ii(kr),this.changeDetector=ii(oi),this.environmentInjector=ii(Cc)}ngOnChanges(e){if(e.name){const{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);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 tt(4012,by);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new tt(4012,by);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new tt(4012,by);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,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,n){if(this.isActivated)throw new tt(4013,by);this._activatedRoute=e;const r=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new GK(e,c,r.injector);if(n&&function qK(i){return!!i.resolveComponentFactory}(n)){const m=n.resolveComponentFactory(o);this.activated=r.createComponent(m,r.length,u)}else this.activated=r.createComponent(o,{index:r.length,injector:u,environmentInjector:n??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Jn]}),i})();class GK{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===us?this.route:t===c_?this.childContexts:this.parent.get(t,e)}}let tk=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["ng-component"]],standalone:!0,features:[ix],decls:1,vars:0,template:function(e,n){1&e&&Ce(0,"router-outlet")},dependencies:[ek],encapsulation:2}),i})();function c5(i,t){return i.providers&&!i._injector&&(i._injector=bb(i.providers,t,`Route: ${i.path}`)),i._injector??t}function nk(i){const t=i.children&&i.children.map(nk),e=t?{...i,children:t}:{...i};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Fn&&(e.component=tk),e}function kl(i){return i.outlet||Fn}function d5(i,t){const e=i.filter(n=>kl(n)===t);return e.push(...i.filter(n=>kl(n)!==t)),e}function d_(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class XK{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),QC(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=qf(e);t.children.forEach(a=>{const o=a.value.outlet;this.deactivateRoutes(a,r[o],n),delete r[o]}),Lo(r,(a,o)=>{this.deactivateRouteAndItsChildren(a,n)})}deactivateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(r===a)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else a&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=qf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);if(n&&n.outlet){const o=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:c})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=qf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=qf(e);t.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],n),this.forwardEvent(new NK(a.value.snapshot))}),t.children.length&&this.forwardEvent(new IK(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(QC(r),r===a)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const c=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),QC(c.route.value),this.activateChildRoutes(t,null,o.children)}else{const c=d_(r.snapshot),u=c?.get(pd)??null;o.attachRef=null,o.route=r,o.resolver=u,o.injector=c,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}}class u5{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class yy{constructor(t,e){this.component=t,this.route=e}}function JK(i,t,e){const n=i._root;return u_(n,t?t._root:null,e,[n.value])}function $f(i,t){const e=Symbol(),n=t.get(i,e);return n===e?"function"!=typeof i||function _h(i){return null!==zo(i)}(i)?t.get(i):i:n}function u_(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=qf(t);return i.children.forEach(o=>{(function tZ(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=i.value,o=t?t.value:null,c=e?e.getContext(i.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const u=function iZ(i,t,e){if("function"==typeof e)return e(i,t);switch(e){case"pathParamsChange":return!Uh(i.url,t.url);case"pathParamsOrQueryParamsChange":return!Uh(i.url,t.url)||!Hc(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!XC(i,t)||!Hc(i.queryParams,t.queryParams);default:return!XC(i,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new u5(n)):(a.data=o.data,a._resolvedData=o._resolvedData),u_(i,t,a.component?c?c.children:null:e,n,r),u&&c&&c.outlet&&c.outlet.isActivated&&r.canDeactivateChecks.push(new yy(c.outlet.component,o))}else o&&h_(t,c,r),r.canActivateChecks.push(new u5(n)),u_(i,null,a.component?c?c.children:null:e,n,r)})(o,a[o.value.outlet],e,n.concat([o.value]),r),delete a[o.value.outlet]}),Lo(a,(o,c)=>h_(o,e.getContext(c),r)),r}function h_(i,t,e){const n=qf(i),r=i.value;Lo(n,(a,o)=>{h_(a,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new yy(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function m_(i){return"function"==typeof i}function rk(i){return i instanceof ry||"EmptyError"===i?.name}const vy=Symbol("INITIAL_VALUE");function Kf(){return na(i=>fC(i.map(t=>t.pipe(rn(1),Ur(vy)))).pipe(_t(t=>{for(const e of t)if(!0!==e){if(e===vy)return vy;if(!1===e||e instanceof Su)return e}return!0}),qi(t=>t!==vy),rn(1)))}function h5(i){return function Re(...i){return at(i)}(ia(t=>{if(Wh(t))throw a5(0,t)}),_t(t=>!0===t))}const ak={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function m5(i,t,e,n,r){const a=ok(i,t,e);return a.matched?function yZ(i,t,e,n){const r=t.canMatch;return r&&0!==r.length?Ht(r.map(o=>{const c=$f(o,i);return Eu(function lZ(i){return i&&m_(i.canMatch)}(c)?c.canMatch(t,e):i.runInContext(()=>c(t,e)))})).pipe(Kf(),h5()):Ht(!0)}(n=c5(t,n),t,e).pipe(_t(o=>!0===o?a:{...ak})):Ht(a)}function ok(i,t,e){if(""===t.path)return"full"===t.pathMatch&&(i.hasChildren()||e.length>0)?{...ak}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||eK)(e,i,t);if(!r)return{...ak};const a={};Lo(r.posParams,(c,u)=>{a[u]=c.path});const o=r.consumed.length>0?{...a,...r.consumed[r.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function wy(i,t,e,n){if(e.length>0&&function FZ(i,t,e){return e.some(n=>Fy(i,t,n)&&kl(n)!==Fn)}(i,e,n)){const a=new Yn(t,function wZ(i,t,e,n){const r={};r[Fn]=n,n._sourceSegment=i,n._segmentIndexShift=t.length;for(const a of e)if(""===a.path&&kl(a)!==Fn){const o=new Yn([],{});o._sourceSegment=i,o._segmentIndexShift=t.length,r[kl(a)]=o}return r}(i,t,n,new Yn(e,i.children)));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function xZ(i,t,e){return e.some(n=>Fy(i,t,n))}(i,e,n)){const a=new Yn(i.segments,function vZ(i,t,e,n,r){const a={};for(const o of n)if(Fy(i,e,o)&&!r[kl(o)]){const c=new Yn([],{});c._sourceSegment=i,c._segmentIndexShift=t.length,a[kl(o)]=c}return{...r,...a}}(i,t,e,n,i.children));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:e}}const r=new Yn(i.segments,i.children);return r._sourceSegment=i,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function Fy(i,t,e){return(!(i.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function f5(i,t,e,n){return!!(kl(i)===n||n!==Fn&&Fy(t,e,i))&&("**"===i.path||ok(t,i,e).matched)}function p5(i,t,e){return 0===t.length&&!i.children[e]}const xy=!1;class Cy{constructor(t){this.segmentGroup=t||null}}class g5{constructor(t){this.urlTree=t}}function f_(i){return Mu(new Cy(i))}function _5(i){return Mu(new g5(i))}class MZ{constructor(t,e,n,r,a){this.injector=t,this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=a,this.allowRedirects=!0}apply(){const t=wy(this.urlTree.root,[],[],this.config).segmentGroup,e=new Yn(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Fn).pipe(_t(a=>this.createUrlTree(fy(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe(es(a=>{if(a instanceof g5)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof Cy?this.noMatchError(a):a}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Fn).pipe(_t(r=>this.createUrlTree(fy(r),t.queryParams,t.fragment))).pipe(es(r=>{throw r instanceof Cy?this.noMatchError(r):r}))}noMatchError(t){return new tt(4002,xy)}createUrlTree(t,e,n){const r=jC(t);return new Su(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(_t(a=>new Yn([],a))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const a of Object.keys(n.children))"primary"===a?r.unshift(a):r.push(a);return ar(r).pipe(Bc(a=>{const o=n.children[a],c=d5(e,a);return this.expandSegmentGroup(t,c,o,a).pipe(_t(u=>({segment:u,outlet:a})))}),T6((a,o)=>(a[o.outlet]=o.segment,a),{}),A6())}expandSegment(t,e,n,r,a,o){return ar(n).pipe(Bc(c=>this.expandSegmentAgainstRoute(t,e,n,c,r,a,o).pipe(es(m=>{if(m instanceof Cy)return Ht(null);throw m}))),Rd(c=>!!c),es((c,u)=>{if(rk(c))return p5(e,r,a)?Ht(new Yn([],{})):f_(e);throw c}))}expandSegmentAgainstRoute(t,e,n,r,a,o,c){return f5(r,e,a,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,a,o):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o):f_(e):f_(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?_5(a):this.lineralizeSegments(n,a).pipe(vi(o=>{const c=new Yn(o,{});return this.expandSegment(t,c,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){const{matched:c,consumedSegments:u,remainingSegments:m,positionalParamSegments:x}=ok(e,r,a);if(!c)return f_(e);const P=this.applyRedirectCommands(u,r.redirectTo,x);return r.redirectTo.startsWith("/")?_5(P):this.lineralizeSegments(r,P).pipe(vi(K=>this.expandSegment(t,e,n,K.concat(m),o,!1)))}matchSegmentAgainstRoute(t,e,n,r,a){return"**"===n.path?(t=c5(n,t),n.loadChildren?(n._loadedRoutes?Ht({routes:n._loadedRoutes,injector:n._loadedInjector}):this.configLoader.loadChildren(t,n)).pipe(_t(c=>(n._loadedRoutes=c.routes,n._loadedInjector=c.injector,new Yn(r,{})))):Ht(new Yn(r,{}))):m5(e,n,r,t).pipe(na(({matched:o,consumedSegments:c,remainingSegments:u})=>o?this.getChildConfig(t=n._injector??t,n,r).pipe(vi(x=>{const P=x.injector??t,K=x.routes,{segmentGroup:ne,slicedSegments:pe}=wy(e,c,u,K),ye=new Yn(ne.segments,ne.children);if(0===pe.length&&ye.hasChildren())return this.expandChildren(P,K,ye).pipe(_t(Be=>new Yn(c,Be)));if(0===K.length&&0===pe.length)return Ht(new Yn(c,{}));const Ie=kl(n)===a;return this.expandSegment(P,ye,K,pe,Ie?Fn:a,!0).pipe(_t(it=>new Yn(c.concat(it.segments),it.children)))})):f_(e)))}getChildConfig(t,e,n){return e.children?Ht({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Ht({routes:e._loadedRoutes,injector:e._loadedInjector}):function bZ(i,t,e,n){const r=t.canLoad;return void 0===r||0===r.length?Ht(!0):Ht(r.map(o=>{const c=$f(o,i);return Eu(function rZ(i){return i&&m_(i.canLoad)}(c)?c.canLoad(t,e):i.runInContext(()=>c(t,e)))})).pipe(Kf(),h5())}(t,e,n).pipe(vi(r=>r?this.configLoader.loadChildren(t,e).pipe(ia(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):function kZ(i){return Mu(o5(xy,3))}())):Ht({routes:[],injector:t})}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ht(n);if(r.numberOfChildren>1||!r.children[Fn])return t.redirectTo,Mu(new tt(4e3,xy));r=r.children[Fn]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,r){const a=this.createSegmentGroup(t,e.root,n,r);return new Su(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Lo(t,(r,a)=>{if("string"==typeof r&&r.startsWith(":")){const c=r.substring(1);n[a]=e[c]}else n[a]=r}),n}createSegmentGroup(t,e,n,r){const a=this.createSegments(t,e.segments,n,r);let o={};return Lo(e.children,(c,u)=>{o[u]=this.createSegmentGroup(t,c,n,r)}),new Yn(a,o)}createSegments(t,e,n,r){return e.map(a=>a.path.startsWith(":")?this.findPosParam(t,a,r):this.findOrReturn(a,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new tt(4001,xy);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}class SZ{}class IZ{constructor(t,e,n,r,a,o,c){this.injector=t,this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=a,this.paramsInheritanceStrategy=o,this.urlSerializer=c}recognize(){const t=wy(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Fn).pipe(_t(e=>{if(null===e)return null;const n=new _y([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Fn,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Pd(n,e),a=new n5(this.url,r);return this.inheritParamsAndData(a._root),a}))}inheritParamsAndData(t){const e=t.value,n=t5(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,r)}processChildren(t,e,n){return ar(Object.keys(n.children)).pipe(Bc(r=>{const a=n.children[r],o=d5(e,r);return this.processSegmentGroup(t,o,a,r)}),T6((r,a)=>r&&a?(r.push(...a),r):null),$I(r=>null!==r),oy(null),A6(),_t(r=>{if(null===r)return null;const a=y5(r);return function LZ(i){i.sort((t,e)=>t.value.outlet===Fn?-1:e.value.outlet===Fn?1:t.value.outlet.localeCompare(e.value.outlet))}(a),a}))}processSegment(t,e,n,r,a){return ar(e).pipe(Bc(o=>this.processSegmentAgainstRoute(o._injector??t,o,n,r,a)),Rd(o=>!!o),es(o=>{if(rk(o))return p5(n,r,a)?Ht([]):Ht(null);throw o}))}processSegmentAgainstRoute(t,e,n,r,a){if(e.redirectTo||!f5(e,n,r,a))return Ht(null);let o;if("**"===e.path){const c=r.length>0?N6(r).parameters:{},u=w5(n)+r.length;o=Ht({snapshot:new _y(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,F5(e),kl(e),e.component??e._loadedComponent??null,e,v5(n),u,x5(e)),consumedSegments:[],remainingSegments:[]})}else o=m5(n,e,r,t).pipe(_t(({matched:c,consumedSegments:u,remainingSegments:m,parameters:x})=>{if(!c)return null;const P=w5(n)+u.length;return{snapshot:new _y(u,x,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,F5(e),kl(e),e.component??e._loadedComponent??null,e,v5(n),P,x5(e)),consumedSegments:u,remainingSegments:m}}));return o.pipe(na(c=>{if(null===c)return Ht(null);const{snapshot:u,consumedSegments:m,remainingSegments:x}=c;t=e._injector??t;const P=e._loadedInjector??t,K=function NZ(i){return i.children?i.children:i.loadChildren?i._loadedRoutes:[]}(e),{segmentGroup:ne,slicedSegments:pe}=wy(n,m,x,K.filter(Ie=>void 0===Ie.redirectTo));if(0===pe.length&&ne.hasChildren())return this.processChildren(P,K,ne).pipe(_t(Ie=>null===Ie?null:[new Pd(u,Ie)]));if(0===K.length&&0===pe.length)return Ht([new Pd(u,[])]);const ye=kl(e)===a;return this.processSegment(P,K,ne,pe,ye?Fn:a).pipe(_t(Ie=>null===Ie?null:[new Pd(u,Ie)]))}))}}function OZ(i){const t=i.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function y5(i){const t=[],e=new Set;for(const n of i){if(!OZ(n)){t.push(n);continue}const r=t.find(a=>n.value.routeConfig===a.value.routeConfig);void 0!==r?(r.children.push(...n.children),e.add(r)):t.push(n)}for(const n of e){const r=y5(n.children);t.push(new Pd(n.value,r))}return t.filter(n=>!e.has(n))}function v5(i){let t=i;for(;t._sourceSegment;)t=t._sourceSegment;return t}function w5(i){let t=i,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function F5(i){return i.data||{}}function x5(i){return i.resolve||{}}function C5(i){return"string"==typeof i.title||null===i.title}function sk(i){return na(t=>{const e=i(t);return e?ar(e).pipe(_t(()=>t)):Ht(t)})}const Zf=new Ze("ROUTES");let lk=(()=>{class i{constructor(e,n){this.injector=e,this.compiler=n,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Ht(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=Eu(e.loadComponent()).pipe(_t(D5),ia(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),e_(()=>{this.componentLoaders.delete(e)})),r=new ay(n,()=>new He).pipe(BC());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Ht({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const a=this.loadModuleFactoryOrRoutes(n.loadChildren).pipe(_t(c=>{this.onLoadEndListener&&this.onLoadEndListener(n);let u,m,x=!1;Array.isArray(c)?m=c:(u=c.create(e).injector,m=L6(u.get(Zf,[],di.Self|di.Optional)));return{routes:m.map(nk),injector:u}}),e_(()=>{this.childrenLoaders.delete(n)})),o=new ay(a,()=>new He).pipe(BC());return this.childrenLoaders.set(n,o),o}loadModuleFactoryOrRoutes(e){return Eu(e()).pipe(_t(D5),vi(r=>r instanceof sT||Array.isArray(r)?Ht(r):ar(this.compiler.compileModuleAsync(r))))}}return i.\u0275fac=function(e){return new(e||i)(Fe(qr),Fe(ZT))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function D5(i){return function UZ(i){return i&&"object"==typeof i&&"default"in i}(i)?i.default:i}let Dy=(()=>{class i{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new He,this.configLoader=ii(lk),this.environmentInjector=ii(Cc),this.urlSerializer=ii(n_),this.rootContexts=ii(c_),this.navigationId=0,this.afterPreactivation=()=>Ht(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new TK(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new SK(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:n})}setupNavigations(e){return this.transitions=new Hi({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:s_,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(qi(n=>0!==n.id),_t(n=>({...n,extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})),na(n=>{let r=!1,a=!1;return Ht(n).pipe(ia(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),na(o=>{const c=e.browserUrlTree.toString(),u=!e.navigated||o.extractedUrl.toString()!==c||c!==e.currentUrlTree.toString();if(!u&&"reload"!==(o.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const x="";return this.events.next(new gy(o.id,e.serializeUrl(n.rawUrl),x,0)),e.rawUrlTree=o.rawUrl,o.resolve(null),dn}if(e.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return M5(o.source)&&(e.browserUrlTree=o.extractedUrl),Ht(o).pipe(na(x=>{const P=this.transitions?.getValue();return this.events.next(new GC(x.id,this.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState)),P!==this.transitions?.getValue()?dn:Promise.resolve(x)}),function EZ(i,t,e,n){return na(r=>function DZ(i,t,e,n,r){return new MZ(i,t,e,n,r).apply()}(i,t,e,r.extractedUrl,n).pipe(_t(a=>({...r,urlAfterRedirects:a}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),ia(x=>{this.currentNavigation={...this.currentNavigation,finalUrl:x.urlAfterRedirects},n.urlAfterRedirects=x.urlAfterRedirects}),function PZ(i,t,e,n,r){return vi(a=>function AZ(i,t,e,n,r,a,o="emptyOnly"){return new IZ(i,t,e,n,r,o,a).recognize().pipe(na(c=>null===c?function TZ(i){return new ht(t=>t.error(i))}(new SZ):Ht(c)))}(i,t,e,a.urlAfterRedirects,n.serialize(a.urlAfterRedirects),n,r).pipe(_t(o=>({...a,targetSnapshot:o}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),ia(x=>{if(n.targetSnapshot=x.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!x.extras.skipLocationChange){const K=e.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl);e.setBrowserUrl(K,x)}e.browserUrlTree=x.urlAfterRedirects}const P=new CK(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(P)}));if(u&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:x,extractedUrl:P,source:K,restoredState:ne,extras:pe}=o,ye=new GC(x,this.urlSerializer.serialize(P),K,ne);this.events.next(ye);const Ie=e5(P,this.rootComponentType).snapshot;return Ht(n={...o,targetSnapshot:Ie,urlAfterRedirects:P,extras:{...pe,skipLocationChange:!1,replaceUrl:!1}})}{const x="";return this.events.next(new gy(o.id,e.serializeUrl(n.extractedUrl),x,1)),e.rawUrlTree=o.rawUrl,o.resolve(null),dn}}),ia(o=>{const c=new kK(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(c)}),_t(o=>n={...o,guards:JK(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),function dZ(i,t){return vi(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return 0===o.length&&0===a.length?Ht({...e,guardsResult:!0}):function uZ(i,t,e,n){return ar(i).pipe(vi(r=>function _Z(i,t,e,n,r){const a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?Ht(a.map(c=>{const u=d_(t)??r,m=$f(c,u);return Eu(function sZ(i){return i&&m_(i.canDeactivate)}(m)?m.canDeactivate(i,t,e,n):u.runInContext(()=>m(i,t,e,n))).pipe(Rd())})).pipe(Kf()):Ht(!0)}(r.component,r.route,e,t,n)),Rd(r=>!0!==r,!0))}(o,n,r,i).pipe(vi(c=>c&&function nZ(i){return"boolean"==typeof i}(c)?function hZ(i,t,e,n){return ar(t).pipe(Bc(r=>Sd(function fZ(i,t){return null!==i&&t&&t(new AK(i)),Ht(!0)}(r.route.parent,n),function mZ(i,t){return null!==i&&t&&t(new LK(i)),Ht(!0)}(r.route,n),function gZ(i,t,e){const n=t[t.length-1],a=t.slice(0,t.length-1).reverse().map(o=>function eZ(i){const t=i.routeConfig?i.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:i,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Rc(()=>Ht(o.guards.map(u=>{const m=d_(o.node)??e,x=$f(u,m);return Eu(function oZ(i){return i&&m_(i.canActivateChild)}(x)?x.canActivateChild(n,i):m.runInContext(()=>x(n,i))).pipe(Rd())})).pipe(Kf())));return Ht(a).pipe(Kf())}(i,r.path,e),function pZ(i,t,e){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return Ht(!0);const r=n.map(a=>Rc(()=>{const o=d_(t)??e,c=$f(a,o);return Eu(function aZ(i){return i&&m_(i.canActivate)}(c)?c.canActivate(t,i):o.runInContext(()=>c(t,i))).pipe(Rd())}));return Ht(r).pipe(Kf())}(i,r.route,e))),Rd(r=>!0!==r,!0))}(n,a,i,t):Ht(c)),_t(c=>({...e,guardsResult:c})))})}(this.environmentInjector,o=>this.events.next(o)),ia(o=>{if(n.guardsResult=o.guardsResult,Wh(o.guardsResult))throw a5(0,o.guardsResult);const c=new DK(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(c)}),qi(o=>!!o.guardsResult||(e.restoreHistory(o),this.cancelNavigationTransition(o,"",3),!1)),sk(o=>{if(o.guards.canActivateChecks.length)return Ht(o).pipe(ia(c=>{const u=new MK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),na(c=>{let u=!1;return Ht(c).pipe(function BZ(i,t){return vi(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return Ht(e);let a=0;return ar(r).pipe(Bc(o=>function HZ(i,t,e,n){const r=i.routeConfig,a=i._resolve;return void 0!==r?.title&&!C5(r)&&(a[t_]=r.title),function VZ(i,t,e,n){const r=function YZ(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}(i);if(0===r.length)return Ht({});const a={};return ar(r).pipe(vi(o=>function jZ(i,t,e,n){const r=d_(t)??n,a=$f(i,r);return Eu(a.resolve?a.resolve(t,e):r.runInContext(()=>a(t,e)))}(i[o],t,e,n).pipe(Rd(),ia(c=>{a[o]=c}))),HC(1),sy(a),es(o=>rk(o)?dn:Mu(o)))}(a,i,t,n).pipe(_t(o=>(i._resolvedData=o,i.data=t5(i,e).resolve,r&&C5(r)&&(i.data[t_]=r.title),null)))}(o.route,n,i,t)),ia(()=>a++),HC(1),vi(o=>a===r.length?Ht(e):dn))})}(e.paramsInheritanceStrategy,this.environmentInjector),ia({next:()=>u=!0,complete:()=>{u||(e.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ia(c=>{const u=new EK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),sk(o=>{const c=u=>{const m=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(u.routeConfig).pipe(ia(x=>{u.component=x}),_t(()=>{})));for(const x of u.children)m.push(...c(x));return m};return fC(c(o.targetSnapshot.root)).pipe(oy(),rn(1))}),sk(()=>this.afterPreactivation()),_t(o=>{const c=function jK(i,t,e){const n=l_(i,t._root,e?e._root:void 0);return new J6(n,t)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return n={...o,targetRouterState:c}}),ia(o=>{e.currentUrlTree=o.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),e.routerState=o.targetRouterState,"deferred"===e.urlUpdateStrategy&&(o.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,o),e.browserUrlTree=o.urlAfterRedirects)}),((i,t,e)=>_t(n=>(new XK(t,n.targetRouterState,n.currentRouterState,e).activate(i),n)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o)),ia({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Gh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),e_(()=>{r||a||this.cancelNavigationTransition(n,"",1),this.currentNavigation?.id===n.id&&(this.currentNavigation=null)}),es(o=>{if(a=!0,l5(o)){s5(o)||(e.navigated=!0,e.restoreHistory(n,!0));const c=new py(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode);if(this.events.next(c),s5(o)){const u=e.urlHandlingStrategy.merge(o.url,e.rawUrlTree),m={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||M5(n.source)};e.scheduleNavigation(u,s_,null,m,{resolve:n.resolve,reject:n.reject,promise:n.promise})}else n.resolve(!1)}else{e.restoreHistory(n,!0);const c=new qC(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);this.events.next(c);try{n.resolve(e.errorHandler(o))}catch(u){n.reject(u)}}return dn}))}))}cancelNavigationTransition(e,n,r){const a=new py(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(a),e.resolve(!1)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function M5(i){return i!==s_}let E5=(()=>{class i{buildTitle(e){let n,r=e.root;for(;void 0!==r;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(a=>a.outlet===Fn);return n}getResolvedTitleForRoute(e){return e.data[t_]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return ii(WZ)},providedIn:"root"}),i})(),WZ=(()=>{class i extends E5{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}}return i.\u0275fac=function(e){return new(e||i)(Fe(iC))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),GZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return ii($Z)},providedIn:"root"}),i})();class qZ{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let $Z=(()=>{class i extends qZ{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const My=new Ze("",{providedIn:"root",factory:()=>({})});let ZZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:function(){return ii(QZ)},providedIn:"root"}),i})(),QZ=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function XZ(i){throw i}function JZ(i,t,e){return t.parse("/")}const eQ={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tQ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let qn=(()=>{class i{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ii(_z),this.isNgZoneEnabled=!1,this.options=ii(My,{optional:!0})||{},this.errorHandler=this.options.errorHandler||XZ,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||JZ,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ii(ZZ),this.routeReuseStrategy=ii(GZ),this.urlCreationStrategy=ii(HK),this.titleStrategy=ii(E5),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=L6(ii(Zf,{optional:!0})??[]),this.navigationTransitions=ii(Dy),this.urlSerializer=ii(n_),this.location=ii(Ac),this.isNgZoneEnabled=ii(Rt)instanceof Rt&&Rt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Su,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=e5(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),s_,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,n,e.state)},0)}))}navigateToSyncWithBrowser(e,n,r){const a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const u={...r};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(a.state=u)}const c=this.parseUrl(e);this.scheduleNavigation(c,n,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(nk),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,n={}){const{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:c,preserveFragment:u}=n,m=u?this.currentUrlTree.fragment:o;let x=null;switch(c){case"merge":x={...this.currentUrlTree.queryParams,...a};break;case"preserve":x=this.currentUrlTree.queryParams;break;default:x=a||null}return null!==x&&(x=this.removeEmptyProps(x)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,x,m??null)}navigateByUrl(e,n={skipLocationChange:!1}){const r=Wh(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,s_,null,n)}navigate(e,n={skipLocationChange:!1}){return function iQ(i){for(let t=0;t{const a=e[r];return null!=a&&(n[r]=a),n},{})}scheduleNavigation(e,n,r,a,o){if(this.disposed)return Promise.resolve(!1);let c,u,m,x;return o?(c=o.resolve,u=o.reject,m=o.promise):m=new Promise((P,K)=>{c=P,u=K}),x="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:x,source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:u,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(P=>Promise.reject(P))}setBrowserUrl(e,n){const r=this.urlSerializer.serialize(e),a={...n.extras.state,...this.generateNgRouterState(n.id,n.targetPageId)};this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl?this.location.replaceState(r,"",a):this.location.go(r,"",a)}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(n&&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))}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),wa=(()=>{class i{constructor(e,n,r,a,o,c){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=c,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new He;const u=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=e.events.subscribe(m=>{m instanceof Gh&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Df(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Df(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Df(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,r,a,o){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||n||r||a||o||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function BE(i,t,e){return function L7(i,t){return"src"===t&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===t&&("base"===i||"link"===i)?Jm:on}(t,e)(i)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,n){const r=this.renderer,a=this.el.nativeElement;null!==n?r.setAttribute(a,e,n):r.removeAttribute(a,e)}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 i.\u0275fac=function(e){return new(e||i)(k(qn),k(us),fo("tabindex"),k(zs),k(pt),k(Rh))},i.\u0275dir=Oe({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,n){1&e&&fe("click",function(a){return n.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&Lt("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Jn]}),i})(),S5=(()=>{class i{get isActive(){return this._isActive}constructor(e,n,r,a,o){this.router=e,this.element=n,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new lt,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof Gh&&this.update()})}ngAfterContentInit(){Ht(this.links.changes,Ht(null)).pipe(_r()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=ar(e).pipe(_r()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){const n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const n=function nQ(i){return!!i.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&e.isActive(r.urlTree,n)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}}return i.\u0275fac=function(e){return new(e||i)(k(qn),k(pt),k(zs),k(oi),k(wa,8))},i.\u0275dir=Oe({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(e,n,r){if(1&e&&ui(r,wa,5),2&e){let a;Qe(a=Xe())&&(n.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Jn]}),i})();class T5{}let rQ=(()=>{class i{constructor(e,n,r,a,o){this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(qi(e=>e instanceof Gh),Bc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const r=[];for(const a of n){a.providers&&!a._injector&&(a._injector=bb(a.providers,e,`Route: ${a.path}`));const o=a._injector??e,c=a._loadedInjector??o;a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent?r.push(this.preloadConfig(o,a)):(a.children||a._loadedRoutes)&&r.push(this.processRoutes(c,a.children??a._loadedRoutes))}return ar(r).pipe(_r())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let r;r=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):Ht(null);const a=r.pipe(vi(o=>null===o?Ht(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return n.loadComponent&&!n._loadedComponent?ar([a,this.loader.loadComponent(n)]).pipe(_r()):a})}}return i.\u0275fac=function(e){return new(e||i)(Fe(qn),Fe(ZT),Fe(Cc),Fe(T5),Fe(lk))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const dk=new Ze("");let A5=(()=>{class i{constructor(e,n,r,a,o={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof GC?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Gh&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Q6&&(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,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Q6(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return i.\u0275fac=function(e){Gl()},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();var $s=(()=>(($s=$s||{})[$s.COMPLETE=0]="COMPLETE",$s[$s.FAILED=1]="FAILED",$s[$s.REDIRECTING=2]="REDIRECTING",$s))();const Qf=!1;function Tu(i,t){return{\u0275kind:i,\u0275providers:t}}const uk=new Ze("",{providedIn:"root",factory:()=>!1});function L5(){const i=ii(qr);return t=>{const e=i.get(wd);if(t!==e.components[0])return;const n=i.get(qn),r=i.get(N5);1===i.get(hk)&&n.initialNavigation(),i.get(O5,null,di.Optional)?.setUpPreloading(),i.get(dk,null,di.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const N5=new Ze(Qf?"bootstrap done indicator":"",{factory:()=>new He}),hk=new Ze(Qf?"initial navigation":"",{providedIn:"root",factory:()=>1});function cQ(){let i=[];return i=Qf?[{provide:Z1,multi:!0,useFactory:()=>{const t=ii(qn);return()=>t.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function OK(i){if(!("type"in i))return`Unknown Router Event: ${i.constructor.name}`;switch(i.type){case 14:return`ActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state}, shouldActivate: ${i.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 2:return`NavigationCancel(id: ${i.id}, url: '${i.url}')`;case 16:return`NavigationSkipped(id: ${i.id}, url: '${i.url}')`;case 1:return`NavigationEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${i.id}, url: '${i.url}', error: ${i.error})`;case 0:return`NavigationStart(id: ${i.id}, url: '${i.url}')`;case 6:return`ResolveEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 5:return`ResolveStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 10:return`RouteConfigLoadEnd(path: ${i.route.path})`;case 9:return`RouteConfigLoadStart(path: ${i.route.path})`;case 4:return`RoutesRecognized(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 15:return`Scroll(anchor: '${i.anchor}', position: '${i.position?`${i.position[0]}, ${i.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],Tu(1,i)}const O5=new Ze(Qf?"router preloader":"");function dQ(i){return Tu(0,[{provide:O5,useExisting:rQ},{provide:T5,useExisting:i}])}const p_=!1,R5=new Ze(p_?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),uQ=[Ac,{provide:n_,useClass:VC},qn,c_,{provide:us,useFactory:function I5(i){return i.routerState.root},deps:[qn]},lk,p_?{provide:uk,useValue:!0}:[]];function hQ(){return new nA("Router",qn)}let P5=(()=>{class i{constructor(e){}static forRoot(e,n){return{ngModule:i,providers:[uQ,p_&&n?.enableTracing?cQ().\u0275providers:[],{provide:Zf,multi:!0,useValue:e},{provide:R5,useFactory:gQ,deps:[[qn,new Ds,new Ul]]},{provide:My,useValue:n||{}},n?.useHash?{provide:Rh,useClass:rU}:{provide:Rh,useClass:MA},{provide:dk,useFactory:()=>{const i=ii(gW),t=ii(Rt),e=ii(My),n=ii(Dy),r=ii(n_);return e.scrollOffset&&i.setOffset(e.scrollOffset),new A5(r,n,i,t,e)}},n?.preloadingStrategy?dQ(n.preloadingStrategy).\u0275providers:[],{provide:nA,multi:!0,useFactory:hQ},n?.initialNavigation?_Q(n):[],[{provide:B5,useFactory:L5},{provide:KT,multi:!0,useExisting:B5}]]}}static forChild(e){return{ngModule:i,providers:[{provide:Zf,multi:!0,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)(Fe(R5,8))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[tk]}),i})();function gQ(i){if(p_&&i)throw new tt(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function _Q(i){return["disabled"===i.initialNavigation?Tu(3,[{provide:Ig,multi:!0,useFactory:()=>{const t=ii(qn);return()=>{t.setUpLocationChangeListener()}}},{provide:hk,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?Tu(2,[{provide:hk,useValue:0},{provide:Ig,multi:!0,deps:[qr],useFactory:t=>{const e=t.get(iU,Promise.resolve());return()=>e.then(()=>new Promise(n=>{const r=t.get(qn),a=t.get(N5);(function aQ(i,t){i.events.pipe(qi(e=>e instanceof Gh||e instanceof py||e instanceof qC||e instanceof gy),_t(e=>e instanceof Gh||e instanceof gy?$s.COMPLETE:e instanceof py&&(0===e.code||1===e.code)?$s.REDIRECTING:$s.FAILED),qi(e=>e!==$s.REDIRECTING),rn(1)).subscribe(()=>{t()})})(r,()=>{n(!0)}),t.get(Dy).afterPreactivation=()=>(n(!0),a.closed?Ht(void 0):a),r.initialNavigation()}))}}]).\u0275providers:[]]}const B5=new Ze(p_?"Router Initializer":"");function H5(i,t,e,n,r,a,o){try{var c=i[a](o),u=c.value}catch(m){return void e(m)}c.done?t(u):Promise.resolve(u).then(n,r)}function Ee(i){return function(){var t=this,e=arguments;return new Promise(function(n,r){var a=i.apply(t,e);function o(u){H5(a,n,r,o,c,"next",u)}function c(u){H5(a,n,r,o,c,"throw",u)}o(void 0)})}}function yQ(i,t){}class g_{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const mk="mdc-dialog--open",V5="mdc-dialog--opening",Y5="mdc-dialog--closing";let j5=(()=>{class i extends EC{constructor(e,n,r,a,o,c,u,m){super(e,n,r,a,o,c,u,m),this._animationStateChanged=new lt}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(xi,8),k(g_),k(Hh),k(Rt),k(jh),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["ng-component"]],features:[st],decls:0,vars:0,template:function(e,n){},encapsulation:2}),i})();const z5="--mat-dialog-transition-duration";function U5(i){return null==i?null:"number"==typeof i?i:i.endsWith("ms")?vr(i.substring(0,i.length-2)):i.endsWith("s")?1e3*vr(i.substring(0,i.length-1)):"0"===i?0:null}let FQ=(()=>{class i extends j5{constructor(e,n,r,a,o,c,u,m,x){super(e,n,r,a,o,c,u,x),this._animationMode=m,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?U5(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?U5(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(z5,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(V5),this._hostElement.classList.add(mk),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(mk),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(mk),this._animationsEnabled?(this._hostElement.style.setProperty(z5,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(Y5),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(V5),this._hostElement.classList.remove(Y5)}_waitForAnimationToComplete(e,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(xi,8),k(g_),k(Hh),k(Rt),k(jh),k(Nn,8),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,n){2&e&&(Ua("id",n._config.id),Lt("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Mt("_mat-animation-noopable",!n._animationsEnabled))},features:[st],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1),ee(2,yQ,0,0,"ng-template",2),v()())},dependencies:[Jl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),i})();class hs{constructor(t,e,n){this._ref=t,this._containerInstance=n,this._afterOpened=new He,this._beforeClosed=new He,this._state=0,this.disableClose=e.disableClose,this.id=t.id,n._animationStateChanged.pipe(qi(r=>"opened"===r.state),rn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(qi(r=>"closed"===r.state),rn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Bn(this.backdropClick(),this.keydownEvents().pipe(qi(r=>27===r.keyCode&&!this.disableClose&&!ya(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),W5(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(qi(e=>"closing"===e.state),rn(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function W5(i,t,e){return i._closeInteractionType=t,i.close(e)}const Ks=new Ze("MatMdcDialogData"),xQ=new Ze("mat-mdc-dialog-default-options"),G5=new Ze("mat-mdc-dialog-scroll-strategy"),kQ={provide:G5,deps:[va],useFactory:function CQ(i){return()=>i.scrollStrategies.block()}};let DQ=0,q5=(()=>{class i{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}constructor(e,n,r,a,o,c,u,m,x,P){this._overlay=e,this._defaultOptions=r,this._parentDialog=a,this._dialogRefConstructor=u,this._dialogContainerType=m,this._dialogDataToken=x,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._idPrefix="mat-dialog-",this.dialogConfigClass=g_,this.afterAllClosed=Rc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ur(void 0))),this._scrollStrategy=c,this._dialog=n.get(TC)}open(e,n){let r;(n={...this._defaultOptions||new g_,...n}).id=n.id||`${this._idPrefix}${DQ++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const a=this._dialog.open(e,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:$g,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(o,c,u)=>(r=new this._dialogRefConstructor(o,n,u),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:u},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}}return i.\u0275fac=function(e){Gl()},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),Fa=(()=>{class i extends q5{constructor(e,n,r,a,o,c,u,m){super(e,n,a,c,u,o,hs,FQ,Ks,m),this._idPrefix="mat-mdc-dialog-"}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(qr),Fe(Ac,8),Fe(xQ,8),Fe(G5),Fe(i,12),Fe(qg),Fe(Nn,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),MQ=0,qh=(()=>{class i{constructor(e,n,r){this.dialogRef=e,this._elementRef=n,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=$5(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){W5(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return i.\u0275fac=function(e){return new(e||i)(k(hs,8),k(pt),k(Fa))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,n){1&e&&fe("click",function(a){return n._onButtonClick(a)}),2&e&&Lt("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Jn]}),i})(),$h=(()=>{class i{constructor(e,n,r){this._dialogRef=e,this._elementRef=n,this._dialog=r,this.id="mat-mdc-dialog-title-"+MQ++}ngOnInit(){this._dialogRef||(this._dialogRef=$5(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return i.\u0275fac=function(e){return new(e||i)(k(hs,8),k(pt),k(Fa))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,n){2&e&&Ua("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),i})(),Dl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),i})(),Yc=(()=>{class i{constructor(){this.align="start"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-dialog-actions-align-center","center"===n.align)("mat-mdc-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),i})();function $5(i,t){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(n=>n.id===e.id):null}let EQ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Fa,kQ],imports:[IC,Oc,xl,Jt,Jt]}),i})();const Ey={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},SQ={dialogContainer:Za("dialogContainer",[gr("void, exit",fi({opacity:0,transform:"scale(0.7)"})),gr("enter",fi({transform:"none"})),lr("* => enter",Zg([sr("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",fi({transform:"none",opacity:1})),Od("@*",Xg(),{optional:!0})]),Ey),lr("* => void, * => exit",Zg([sr("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",fi({opacity:0})),Od("@*",Xg(),{optional:!0})]),Ey)])},K5=["mat-button",""],Sy=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ty=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Z5=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",AQ=["mat-fab",""],IQ=["mat-mini-fab",""],NQ=["mat-icon-button",""],OQ=["*"],RQ=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],PQ=tc(ec(Cl(class{constructor(i){this._elementRef=i}})));let __=(()=>{class i extends PQ{constructor(e,n,r,a){super(e),this._platform=n,this._ngZone=r,this._animationMode=a,this._focusMonitor=ii(Ka),this._isFab=!1;const o=e.nativeElement.classList;for(const c of RQ)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(u=>{o.add(u)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...e){return e.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return i.\u0275fac=function(e){Gl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&At(da,5),2&e){let r;Qe(r=Xe())&&(n.ripple=r.first)}},features:[st]}),i})(),HQ=(()=>{class i extends __{constructor(e,n,r,a){super(e,n,r,a),this._haltDisabledEvents=o=>{this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return i.\u0275fac=function(e){Gl()},i.\u0275dir=Oe({type:i,features:[st]}),i})(),dr=(()=>{class i extends __{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(Rt),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Lt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[st],attrs:K5,ngContentSelectors:Ty,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Pi(Sy),Ce(0,"span",0),vt(1),_(2,"span",1),vt(3,1),v(),vt(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),i})(),VQ=(()=>{class i extends HQ{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(Rt),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(e,n){2&e&&(Lt("disabled",n.disabled||null)("tabindex",n.disabled?-1:n.tabIndex)("aria-disabled",n.disabled.toString()),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[st],attrs:K5,ngContentSelectors:Ty,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Pi(Sy),Ce(0,"span",0),vt(1),_(2,"span",1),vt(3,1),v(),vt(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',Z5],encapsulation:2,changeDetection:0}),i})();const Q5=new Ze("mat-mdc-fab-default-options",{providedIn:"root",factory:X5});function X5(){return{color:"accent"}}const Ay=X5();let J5=(()=>{class i extends __{get extended(){return this._extended}set extended(e){this._extended=Ct(e)}constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Ay,this.color=this.defaultColor=this._options.color||Ay.color}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(Rt),k(Nn,8),k(Q5,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,n){2&e&&(Lt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0)("mdc-fab--extended",n.extended)("mat-mdc-extended-fab",n.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[st],attrs:AQ,ngContentSelectors:Ty,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Pi(Sy),Ce(0,"span",0),vt(1),_(2,"span",1),vt(3,1),v(),vt(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),e8=(()=>{class i extends __{constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Ay,this.color=this.defaultColor=this._options.color||Ay.color}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(Rt),k(Nn,8),k(Q5,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Lt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[st],attrs:IQ,ngContentSelectors:Ty,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Pi(Sy),Ce(0,"span",0),vt(1),_(2,"span",1),vt(3,1),v(),vt(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),bo=(()=>{class i extends __{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(Rt),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Lt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[st],attrs:NQ,ngContentSelectors:OQ,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Pi(),Ce(0,"span",0),vt(1),Ce(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(E(3),S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Z5],encapsulation:2,changeDetection:0}),i})(),Iy=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,qs,Jt]}),i})();class b_{constructor(t,e){this.dialogRef=t,this.consent=e}onNoClick(){this.consent=!1,this.dialogRef.close()}}b_.\u0275fac=function(t){return new(t||b_)(k(hs),k(Ks))},b_.\u0275cmp=qe({type:b_,selectors:[["add-consent-dialog"]],decls:24,vars:1,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["href","https://www.blockcore.net/policy","target","_blank"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),L(2,"Give consent"),v(),_(3,"div",2)(4,"p"),L(5," Nostr is a decentralized and distributed network of relays that relays data by users. That means there is no centralized service where filtering or censoring is occurring. You may be exposed to content that will be disturbing and against your morality and world views. "),v(),_(6,"p"),L(7,"Content you publish are your responsibility and you cannot undo/delete after you publish. Don't publish or share a note (post) you wouldn't say to your neighbour."),v(),_(8,"p"),L(9,"Blockcore has no involvement in the type of content being produced and shown to you in this app."),v(),_(10,"p"),L(11,"You accept that all usage of Blockcore Notes, Blockcore infrastructure and software must be the result of peaceful voluntary human interactions."),v(),_(12,"p"),L(13,"If you're young and still living with your parents, consider asking them for permission before you continue."),v(),_(14,"p"),L(15,"To continue you must agree with our "),_(16,"a",3),L(17,"Privacy Policy and Terms & Conditions"),v(),L(18,"."),v()(),_(19,"div",4)(20,"button",5),fe("click",function(){return e.onNoClick()}),L(21,"I don't consent"),v(),_(22,"button",6),L(23,"I consent"),v()()()),2&t&&(E(22),S("mat-dialog-close",!0))},dependencies:[dr,qh,$h,Dl,Yc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class Ml{constructor(t){this._renderer=t,this.renderer=t.createRenderer(null,null)}get darkMode(){if(localStorage.getItem("theme")){if("dark"===localStorage.getItem("theme"))return!0}else if(window.matchMedia("(prefers-color-scheme: dark)").matches)return!0;return!1}set darkMode(t){t?localStorage.setItem("theme","dark"):localStorage.setItem("theme","light"),this.updateMode()}init(){this.updateMode()}updateMode(){this.darkMode?this.renderer.addClass(document.body,"dark"):this.renderer.removeClass(document.body,"dark")}}Ml.\u0275fac=function(t){return new(t||Ml)(Fe(nf))},Ml.\u0275prov=Ke({token:Ml,factory:Ml.\u0275fac,providedIn:"root"});class YQ extends He{constructor(t=1/0,e=1/0,n=dC){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:a,_windowTime:o}=this;e||(n.push(t),!r&&n.push(a.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,a=r.slice();for(let o=0;onew YQ(n,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function ic(i){return!!i&&(i instanceof ht||T(i.lift)&&T(i.subscribe))}function fk(...i){const t=io(i),{args:e,keys:n}=MI(i),r=new ht(a=>{const{length:o}=e;if(!o)return void a.complete();const c=new Array(o);let u=o,m=o;for(let x=0;x{P||(P=!0,m--),c[x]=K},()=>u--,void 0,()=>{(!u||!P)&&(m||a.next(n?EI(n,c):c),a.complete())}))}});return t?r.pipe(mC(t)):r}class y_{}let t8=(()=>{class i extends y_{getTranslation(e){return Ht({})}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class pk{}let n8=(()=>{class i{handle(e){return e.key}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();function Ly(i,t){if(i===t)return!0;if(null===i||null===t)return!1;if(i!=i&&t!=t)return!0;let r,a,o,e=typeof i;if(e==typeof t&&"object"==e){if(!Array.isArray(i)){if(Array.isArray(t))return!1;for(a in o=Object.create(null),i){if(!Ly(i[a],t[a]))return!1;o[a]=!0}for(a in t)if(!(a in o)&&typeof t[a]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((r=i.length)==t.length){for(a=0;a{gk(t[n])?n in i?e[n]=r8(i[n],t[n]):Object.assign(e,{[n]:t[n]}):Object.assign(e,{[n]:t[n]})}),e}class Ny{}let a8=(()=>{class i extends Ny{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,n){let r;return r="string"==typeof e?this.interpolateString(e,n):"function"==typeof e?this.interpolateFunction(e,n):e,r}getValue(e,n){let r="string"==typeof n?n.split("."):[n];n="";do{n+=r.shift(),!Au(e)||!Au(e[n])||"object"!=typeof e[n]&&r.length?r.length?n+=".":e=void 0:(e=e[n],n="")}while(r.length);return e}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=this.getValue(n,a);return Au(o)?o:r}):e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class Oy{}let o8=(()=>{class i extends Oy{compile(e,n){return e}compileTranslations(e,n){return e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class s8{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new lt,this.onLangChange=new lt,this.onDefaultLangChange=new lt}}const _k=new Ze("USE_STORE"),bk=new Ze("USE_DEFAULT_LANG"),yk=new Ze("DEFAULT_LANGUAGE"),vk=new Ze("USE_EXTEND");let Xf=(()=>{class i{constructor(e,n,r,a,o,c=!0,u=!1,m=!1,x){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=c,this.isolate=u,this.extend=m,this.pending=!1,this._onTranslationChange=new lt,this._onLangChange=new lt,this._onDefaultLangChange=new lt,this._langs=[],this._translations={},this._translationRequests={},x&&this.setDefaultLang(x)}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 n=this.retrieveTranslations(e);typeof n<"u"?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(rn(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Ht(this.translations[e]);let n=this.retrieveTranslations(e);return typeof n<"u"?(this.currentLang||(this.currentLang=e),n.pipe(rn(1)).subscribe(r=>{this.changeLang(e)}),n):(this.changeLang(e),Ht(this.translations[e]))}retrieveTranslations(e){let n;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),n=this._translationRequests[e]),n}getTranslation(e){this.pending=!0;const n=this.currentLoader.getTranslation(e).pipe(Kh(1),rn(1));return this.loadingTranslations=n.pipe(_t(r=>this.compiler.compileTranslations(r,e)),Kh(1),rn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?{...r,...this.translations[e]}:r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){n=this.compiler.compileTranslations(n,e),this.translations[e]=(r||this.extend)&&this.translations[e]?r8(this.translations[e],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(n=>{-1===this.langs.indexOf(n)&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,n,r){let a;if(n instanceof Array){let o={},c=!1;for(let u of n)o[u]=this.getParsedResult(e,u,r),ic(o[u])&&(c=!0);return c?fk(n.map(m=>ic(o[m])?o[m]:Ht(o[m]))).pipe(_t(m=>{let x={};return m.forEach((P,K)=>{x[n[K]]=P}),x})):o}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,n),r)),typeof a>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),r)),typeof a>"u"){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return typeof a<"u"?a:n}get(e,n){if(!Au(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Bc(r=>ic(r=this.getParsedResult(r,e,n))?r:Ht(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,n);return ic(r)?r:Ht(r)}}getStreamOnTranslationChange(e,n){if(!Au(e)||!e.length)throw new Error('Parameter "key" required');return Sd(Rc(()=>this.get(e,n)),this.onTranslationChange.pipe(na(r=>{const a=this.getParsedResult(r.translations,e,n);return"function"==typeof a.subscribe?a:Ht(a)})))}stream(e,n){if(!Au(e)||!e.length)throw new Error('Parameter "key" required');return Sd(Rc(()=>this.get(e,n)),this.onLangChange.pipe(na(r=>{const a=this.getParsedResult(r.translations,e,n);return ic(a)?a:Ht(a)})))}instant(e,n){if(!Au(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,n);if(ic(r)){if(e instanceof Array){let a={};return e.forEach((o,c)=>{a[e[c]]=e[c]}),a}return e}return r}set(e,n,r=this.currentLang){this.translations[r][e]=this.compiler.compile(n,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==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,typeof e>"u"?void 0:(-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 i.\u0275fac=function(e){return new(e||i)(Fe(s8),Fe(y_),Fe(Oy),Fe(Ny),Fe(pk),Fe(bk),Fe(_k),Fe(vk),Fe(yk))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),jQ=(()=>{class i{constructor(e,n){this.translate=e,this._ref=n,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,n,r){let a=o=>{this.value=void 0!==o?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);ic(o.subscribe)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Ly(e,this.lastKey)&&Ly(n,this.lastParams))return this.value;let r;if(Au(n[0])&&n.length)if("string"==typeof n[0]&&n[0].length){let a=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(a)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else"object"==typeof n[0]&&!Array.isArray(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),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 i.\u0275fac=function(e){return new(e||i)(k(Xf,16),k(oi,16))},i.\u0275pipe=Er({name:"translate",type:i,pure:!1}),i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),zQ=(()=>{class i{static forRoot(e={}){return{ngModule:i,providers:[e.loader||{provide:y_,useClass:t8},e.compiler||{provide:Oy,useClass:o8},e.parser||{provide:Ny,useClass:a8},e.missingTranslationHandler||{provide:pk,useClass:n8},s8,{provide:_k,useValue:e.isolate},{provide:bk,useValue:e.useDefaultLang},{provide:vk,useValue:e.extend},{provide:yk,useValue:e.defaultLanguage},Xf]}}static forChild(e={}){return{ngModule:i,providers:[e.loader||{provide:y_,useClass:t8},e.compiler||{provide:Oy,useClass:o8},e.parser||{provide:Ny,useClass:a8},e.missingTranslationHandler||{provide:pk,useClass:n8},{provide:_k,useValue:e.isolate},{provide:bk,useValue:e.useDefaultLang},{provide:vk,useValue:e.extend},{provide:yk,useValue:e.defaultLanguage},Xf]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();var UQ=I(5856),WQ=I.t(UQ,2);const er=BigInt(0),ra=BigInt(1),Iu=BigInt(2),v_=BigInt(3),l8=BigInt(8),Pr=Object.freeze({a:er,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:ra,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")}),c8=(i,t)=>(i+t/Iu)/t,Ry={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(i){const{n:t}=Pr,e=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-ra*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),a=e,o=BigInt("0x100000000000000000000000000000000"),c=c8(a*i,t),u=c8(-n*i,t);let m=ei(i-c*e-u*r,t),x=ei(-c*n-u*a,t);const P=m>o,K=x>o;if(P&&(m=t-m),K&&(x=t-x),m>o||x>o)throw new Error("splitScalarEndo: Endomorphism failed, k="+i);return{k1neg:P,k1:m,k2neg:K,k2:x}}},nc=32,Zh=32,Py=nc+1,By=2*nc+1;function u8(i){const{a:t,b:e}=Pr,n=ei(i*i),r=ei(n*i);return ei(r+t*i+e)}const Hy=Pr.a===er;class wk extends Error{constructor(t){super(t)}}function h8(i){if(!(i instanceof wr))throw new TypeError("JacobianPoint expected")}class wr{constructor(t,e,n){this.x=t,this.y=e,this.z=n}static fromAffine(t){if(!(t instanceof tr))throw new TypeError("JacobianPoint#fromAffine: expected Point");return t.equals(tr.ZERO)?wr.ZERO:new wr(t.x,t.y,ra)}static toAffineBatch(t){const e=function ZQ(i,t=Pr.P){const e=new Array(i.length),r=tp(i.reduce((a,o,c)=>o===er?a:(e[c]=a,ei(a*o,t)),ra),t);return i.reduceRight((a,o,c)=>o===er?a:(e[c]=ei(a*e[c],t),ei(a*o,t)),r),e}(t.map(n=>n.z));return t.map((n,r)=>n.toAffine(e[r]))}static normalizeZ(t){return wr.toAffineBatch(t).map(wr.fromAffine)}equals(t){h8(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t,u=ei(r*r),m=ei(c*c),x=ei(e*m),P=ei(a*u),K=ei(ei(n*c)*m),ne=ei(ei(o*r)*u);return x===P&&K===ne}negate(){return new wr(this.x,ei(-this.y),this.z)}double(){const{x:t,y:e,z:n}=this,r=ei(t*t),a=ei(e*e),o=ei(a*a),c=t+a,u=ei(Iu*(ei(c*c)-r-o)),m=ei(v_*r),x=ei(m*m),P=ei(x-Iu*u),K=ei(m*(u-P)-l8*o),ne=ei(Iu*e*n);return new wr(P,K,ne)}add(t){h8(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t;if(a===er||o===er)return this;if(e===er||n===er)return t;const u=ei(r*r),m=ei(c*c),x=ei(e*m),P=ei(a*u),K=ei(ei(n*c)*m),ne=ei(ei(o*r)*u),pe=ei(P-x),ye=ei(ne-K);if(pe===er)return ye===er?this.double():wr.ZERO;const Ie=ei(pe*pe),Le=ei(pe*Ie),it=ei(x*Ie),Be=ei(ye*ye-Le-Iu*it),ut=ei(ye*(it-Be)-K*Le),It=ei(r*c*pe);return new wr(Be,ut,It)}subtract(t){return this.add(t.negate())}multiplyUnsafe(t){const e=wr.ZERO;if("bigint"==typeof t&&t===er)return e;let n=p8(t);if(n===ra)return this;if(!Hy){let P=e,K=this;for(;n>er;)n&ra&&(P=P.add(K)),K=K.double(),n>>=ra;return P}let{k1neg:r,k1:a,k2neg:o,k2:c}=Ry.splitScalar(n),u=e,m=e,x=this;for(;a>er||c>er;)a&ra&&(u=u.add(x)),c&ra&&(m=m.add(x)),x=x.double(),a>>=ra,c>>=ra;return r&&(u=u.negate()),o&&(m=m.negate()),m=new wr(ei(m.x*Ry.beta),m.y,m.z),u.add(m)}precomputeWindow(t){const e=Hy?128/t+1:256/t+1,n=[];let r=this,a=r;for(let o=0;o>=P,pe>u&&(pe-=x,t+=ra);const ye=ne,Ie=ne+Math.abs(pe)-1,it=pe<0;0===pe?o=o.add(Vy(K%2!=0,r[ye])):a=a.add(Vy(it,r[Ie]))}return{p:a,f:o}}multiply(t,e){let r,a,n=p8(t);if(Hy){const{k1neg:o,k1:c,k2neg:u,k2:m}=Ry.splitScalar(n);let{p:x,f:P}=this.wNAF(c,e),{p:K,f:ne}=this.wNAF(m,e);x=Vy(o,x),K=Vy(u,K),K=new wr(ei(K.x*Ry.beta),K.y,K.z),r=x.add(K),a=P.add(ne)}else{const{p:o,f:c}=this.wNAF(n,e);r=o,a=c}return wr.normalizeZ([r,a])[0]}toAffine(t){const{x:e,y:n,z:r}=this,a=this.equals(wr.ZERO);null==t&&(t=a?l8:tp(r));const o=t,c=ei(o*o),u=ei(c*o),m=ei(e*c),x=ei(n*u),P=ei(r*o);if(a)return tr.ZERO;if(P!==ra)throw new Error("invZ was invalid");return new tr(m,x)}}function Vy(i,t){const e=t.negate();return i?e:t}wr.BASE=new wr(Pr.Gx,Pr.Gy,ra),wr.ZERO=new wr(er,ra,er);const Fk=new WeakMap;class tr{constructor(t,e){this.x=t,this.y=e}_setWindowSize(t){this._WINDOW_SIZE=t,Fk.delete(this)}hasEvenY(){return this.y%Iu===er}static fromCompressedHex(t){const e=32===t.length,n=Zs(e?t:t.subarray(1));if(!jy(n))throw new Error("Point is not on curve");let a=function KQ(i){const{P:t}=Pr,e=BigInt(6),n=BigInt(11),r=BigInt(22),a=BigInt(23),o=BigInt(44),c=BigInt(88),u=i*i*i%t,m=u*u*i%t,x=El(m,v_)*m%t,P=El(x,v_)*m%t,K=El(P,Iu)*u%t,ne=El(K,n)*K%t,pe=El(ne,r)*ne%t,ye=El(pe,o)*pe%t,Ie=El(ye,c)*ye%t,Le=El(Ie,o)*pe%t,it=El(Le,v_)*m%t,Be=El(it,a)*ne%t,ut=El(Be,e)*u%t,It=El(ut,Iu);if(It*It%t!==i)throw new Error("Cannot find square root");return It}(u8(n));const o=(a&ra)===ra;e?o&&(a=ei(-a)):1==(1&t[0])!==o&&(a=ei(-a));const c=new tr(n,a);return c.assertValidity(),c}static fromUncompressedHex(t){const e=Zs(t.subarray(1,nc+1)),n=Zs(t.subarray(nc+1,2*nc+1)),r=new tr(e,n);return r.assertValidity(),r}static fromHex(t){const e=jc(t),n=e.length,r=e[0];if(n===nc)return this.fromCompressedHex(e);if(n===Py&&(2===r||3===r))return this.fromCompressedHex(e);if(n===By&&4===r)return this.fromUncompressedHex(e);throw new Error(`Point.fromHex: received invalid point. Expected 32-${Py} compressed bytes or ${By} uncompressed bytes, not ${n}`)}static fromPrivateKey(t){return tr.BASE.multiply(Qh(t))}static fromSignature(t,e,n){const{r,s:a}=b8(e);if(![0,1,2,3].includes(n))throw new Error("Cannot recover: invalid recovery bit");const o=xk(jc(t)),{n:c}=Pr,u=2===n||3===n?r+c:r,m=tp(u,c),x=ei(-o*m,c),P=ei(a*m,c),ne=tr.fromHex((1&n?"03":"02")+Nu(u)),pe=tr.BASE.multiplyAndAddUnsafe(ne,x,P);if(!pe)throw new Error("Cannot recover signature: point at infinify");return pe.assertValidity(),pe}toRawBytes(t=!1){return Ou(this.toHex(t))}toHex(t=!1){const e=Nu(this.x);return t?`${this.hasEvenY()?"02":"03"}${e}`:`04${e}${Nu(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const t="Point is not on elliptic curve",{x:e,y:n}=this;if(!jy(e)||!jy(n))throw new Error(t);const r=ei(n*n);if(ei(r-u8(e))!==er)throw new Error(t)}equals(t){return this.x===t.x&&this.y===t.y}negate(){return new tr(this.x,ei(-this.y))}double(){return wr.fromAffine(this).double().toAffine()}add(t){return wr.fromAffine(this).add(wr.fromAffine(t)).toAffine()}subtract(t){return this.add(t.negate())}multiply(t){return wr.fromAffine(this).multiply(t,this).toAffine()}multiplyAndAddUnsafe(t,e,n){const r=wr.fromAffine(this),a=e===er||e===ra||this!==tr.BASE?r.multiplyUnsafe(e):r.multiply(e),o=wr.fromAffine(t).multiplyUnsafe(n),c=a.add(o);return c.equals(wr.ZERO)?void 0:c.toAffine()}}function m8(i){return Number.parseInt(i[0],16)>=8?"00"+i:i}function f8(i){if(i.length<2||2!==i[0])throw new Error(`Invalid signature integer tag: ${Jf(i)}`);const t=i[1],e=i.subarray(2,t+2);if(!t||e.length!==t)throw new Error("Invalid signature integer: wrong length");if(0===e[0]&&e[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:Zs(e),left:i.subarray(t+2)}}tr.BASE=new tr(Pr.Gx,Pr.Gy),tr.ZERO=new tr(er,er);class Bd{constructor(t,e){this.r=t,this.s=e,this.assertValidity()}static fromCompact(t){const e=t instanceof Uint8Array,n="Signature.fromCompact";if("string"!=typeof t&&!e)throw new TypeError(`${n}: Expected string or Uint8Array`);const r=e?Jf(t):t;if(128!==r.length)throw new Error(`${n}: Expected 64-byte hex`);return new Bd(Yy(r.slice(0,64)),Yy(r.slice(64,128)))}static fromDER(t){const e=t instanceof Uint8Array;if("string"!=typeof t&&!e)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:n,s:r}=function GQ(i){if(i.length<2||48!=i[0])throw new Error(`Invalid signature tag: ${Jf(i)}`);if(i[1]!==i.length-2)throw new Error("Invalid signature: incorrect length");const{data:t,left:e}=f8(i.subarray(2)),{data:n,left:r}=f8(e);if(r.length)throw new Error(`Invalid signature: left bytes after parsing: ${Jf(r)}`);return{r:t,s:n}}(e?t:Ou(t));return new Bd(n,r)}static fromHex(t){return this.fromDER(t)}assertValidity(){const{r:t,s:e}=this;if(!np(t))throw new Error("Invalid Signature: r must be 0 < r < n");if(!np(e))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){return this.s>Pr.n>>ra}normalizeS(){return this.hasHighS()?new Bd(this.r,ei(-this.s,Pr.n)):this}toDERRawBytes(){return Ou(this.toDERHex())}toDERHex(){const t=m8(w_(this.s)),e=m8(w_(this.r)),n=t.length/2,r=e.length/2,a=w_(n),o=w_(r);return`30${w_(r+n+4)}02${o}${e}02${a}${t}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return Ou(this.toCompactHex())}toCompactHex(){return Nu(this.r)+Nu(this.s)}}function Lu(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;nt.toString(16).padStart(2,"0"));function Jf(i){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");let t="";for(let e=0;e0)return BigInt(i);if("bigint"==typeof i&&np(i))return i;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function ei(i,t=Pr.P){const e=i%t;return e>=er?e:t+e}function El(i,t){const{P:e}=Pr;let n=i;for(;t-- >er;)n*=n,n%=e;return n}function tp(i,t=Pr.P){if(i===er||t<=er)throw new Error(`invert: expected positive integers, got n=${i} mod=${t}`);let e=ei(i,t),n=t,r=er,a=ra,o=ra,c=er;for(;e!==er;){const m=n/e,x=n%e,P=r-o*m,K=a-c*m;n=e,e=x,r=o,a=c,o=P,c=K}if(n!==ra)throw new Error("invert: does not exist");return ei(r,t)}function xk(i,t=!1){const e=function QQ(i){const t=8*i.length-8*Zh,e=Zs(i);return t>0?e>>BigInt(t):e}(i);if(t)return e;const{n}=Pr;return e>=n?e-n:e}let ip,F_;class g8{constructor(t,e){if(this.hashLen=t,this.qByteLen=e,"number"!=typeof t||t<2)throw new Error("hashLen must be a number");if("number"!=typeof e||e<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(t).fill(1),this.k=new Uint8Array(t).fill(0),this.counter=0}hmac(...t){return On.hmacSha256(this.k,...t)}hmacSync(...t){return F_(this.k,...t)}checkSync(){if("function"!=typeof F_)throw new wk("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}reseed(t=new Uint8Array){var e=this;return Ee(function*(){e.k=yield e.hmac(e.v,Uint8Array.from([0]),t),e.v=yield e.hmac(e.v),0!==t.length&&(e.k=yield e.hmac(e.v,Uint8Array.from([1]),t),e.v=yield e.hmac(e.v))})()}reseedSync(t=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),t),this.v=this.hmacSync(this.v),0!==t.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),t),this.v=this.hmacSync(this.v))}generate(){var t=this;return Ee(function*(){t.incr();let e=0;const n=[];for(;e0)t=BigInt(i);else if("string"==typeof i){if(i.length!==2*Zh)throw new Error("Expected 32 bytes of private key");t=Yy(i)}else{if(!(i instanceof Uint8Array))throw new TypeError("Expected valid private key");if(i.length!==Zh)throw new Error("Expected 32 bytes of private key");t=Zs(i)}if(!np(t))throw new Error("Expected private key: 0 < key < n");return t}function Ck(i){return i instanceof tr?(i.assertValidity(),i):tr.fromHex(i)}function b8(i){if(i instanceof Bd)return i.assertValidity(),i;try{return Bd.fromDER(i)}catch{return Bd.fromCompact(i)}}function y8(i){const t=i instanceof Uint8Array,e="string"==typeof i,n=(t||e)&&i.length;return t?n===Py||n===By:e?n===2*Py||n===2*By:i instanceof tr}function v8(i,t,e=!1){if(y8(i))throw new TypeError("getSharedSecret: first arg must be private key");if(!y8(t))throw new TypeError("getSharedSecret: second arg must be public key");const n=Ck(t);return n.assertValidity(),n.multiply(Qh(i)).toRawBytes(e)}function w8(i){return Zs(i.length>nc?i.slice(0,nc):i)}function JQ(i){const t=w8(i),e=ei(t,Pr.n);return F8(e{if((i=jc(i)).length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return ep(ei(Zs(i),Pr.n-ra)+ra)},randomBytes:(i=32)=>{if(Qs.web)return Qs.web.getRandomValues(new Uint8Array(i));if(Qs.node){const{randomBytes:t}=Qs.node;return Uint8Array.from(t(i))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>On.hashToPrivateKey(On.randomBytes(Zh+8)),precompute(i=8,t=tr.BASE){const e=t===tr.BASE?t:new tr(t.x,t.y);return e._setWindowSize(i),e.multiply(v_),e},sha256:(i=Ee(function*(...t){if(Qs.web){const e=yield Qs.web.subtle.digest("SHA-256",Lu(...t));return new Uint8Array(e)}if(Qs.node){const{createHash:e}=Qs.node,n=e("sha256");return t.forEach(r=>n.update(r)),Uint8Array.from(n.digest())}throw new Error("The environment doesn't have sha256 function")}),function(){return i.apply(this,arguments)}),hmacSha256:function(){var i=Ee(function*(t,...e){if(Qs.web){const n=yield Qs.web.subtle.importKey("raw",t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),r=Lu(...e),a=yield Qs.web.subtle.sign("HMAC",n,r);return new Uint8Array(a)}if(Qs.node){const{createHmac:n}=Qs.node,r=n("sha256",t);return e.forEach(a=>r.update(a)),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have hmac-sha256 function")});return function(e){return i.apply(this,arguments)}}(),sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:function(){var i=Ee(function*(t,...e){let n=Uy[t];if(void 0===n){const r=yield On.sha256(Uint8Array.from(t,a=>a.charCodeAt(0)));n=Lu(r,r),Uy[t]=n}return On.sha256(n,...e)});return function(e){return i.apply(this,arguments)}}(),taggedHashSync:(i,...t)=>{if("function"!=typeof ip)throw new wk("sha256Sync is undefined, you need to set it");let e=Uy[i];if(void 0===e){const n=ip(Uint8Array.from(i,r=>r.charCodeAt(0)));e=Lu(n,n),Uy[i]=e}return ip(e,...t)},_JacobianPoint:wr};var i;function Xh(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function rc(...i){const t=(r,a)=>o=>r(a(o));return{encode:Array.from(i).reverse().reduce((r,a)=>r?t(r,a.encode):a.encode,void 0),decode:i.reduce((r,a)=>r?t(r,a.decode):a.decode,void 0)}}function zc(i){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map(e=>{if(Xh(e),e<0||e>=i.length)throw new Error(`Digit index outside alphabet: ${e} (alphabet: ${i.length})`);return i[e]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map(e=>{if("string"!=typeof e)throw new Error(`alphabet.decode: not string element=${e}`);const n=i.indexOf(e);if(-1===n)throw new Error(`Unknown letter: "${e}". Allowed: ${i}`);return n})}}}function Uc(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(i)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(i)}}}function C_(i,t="="){if(Xh(i),"string"!=typeof t)throw new Error("padding chr should be string");return{encode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let n of e)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;e.length*i%8;)e.push(t);return e},decode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let r of e)if("string"!=typeof r)throw new Error(`padding.decode: non-string input=${r}`);let n=e.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&e[n-1]===t;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return e.slice(0,n)}}}function T8(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:t=>t,decode:t=>i(t)}}function A8(i,t,e){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(e<2)throw new Error(`convertRadix: wrong to=${e}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const r=[],a=Array.from(i);for(a.forEach(o=>{if(Xh(o),o<0||o>=t)throw new Error(`Wrong integer: ${o}`)});;){let o=0,c=!0;for(let u=n;uip,set(i){ip||(ip=i)}},hmacSha256Sync:{configurable:!1,get:()=>F_,set(i){F_||(F_=i)}}});const I8=(i,t)=>t?I8(t,i%t):i,Wy=(i,t)=>i+(t-I8(i,t));function Ek(i,t,e,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(e<=0||e>32)throw new Error(`convertRadix2: wrong to=${e}`);if(Wy(t,e)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${e} carryBits=${Wy(t,e)}`);let r=0,a=0;const o=2**e-1,c=[];for(const u of i){if(Xh(u),u>=2**t)throw new Error(`convertRadix2: invalid data word=${u} from=${t}`);if(r=r<32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=e;a-=e)c.push((r>>a-e&o)>>>0);r&=2**a-1}if(r=r<=t)throw new Error("Excess padding");if(!n&&r)throw new Error(`Non-zero padding: ${r}`);return n&&a>0&&c.push(r>>>0),c}function Hd(i,t=!1){if(Xh(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(Wy(8,i)>32||Wy(i,8)>32)throw new Error("radix2: carry overflow");return{encode:e=>{if(!(e instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Ek(Array.from(e),8,i,!t)},decode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Ek(e,i,8,t))}}}function N8(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return i.apply(null,t)}catch{}}}const oX=rc(Hd(4),zc("0123456789ABCDEF"),Uc("")),sX=rc(Hd(5),zc("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),C_(5),Uc("")),Jh=(rc(Hd(5),zc("0123456789ABCDEFGHIJKLMNOPQRSTUV"),C_(5),Uc("")),rc(Hd(5),zc("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),Uc(""),T8(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),rc(Hd(6),zc("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),C_(6),Uc(""))),lX=rc(Hd(6),zc("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),C_(6),Uc("")),Sk=i=>rc(function L8(i){return Xh(i),{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return A8(Array.from(t),256,i)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(A8(t,i,256))}}}(58),zc(i),Uc("")),Gy=Sk("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),R8=(Sk("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Sk("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),[0,2,3,5,6,7,9,10,11]),cX={encode(i){let t="";for(let e=0;e>25;let e=(33554431&i)<<5;for(let n=0;n>n&1)&&(e^=P8[n]);return e}function B8(i,t,e=1){const n=i.length;let r=1;for(let a=0;a126)throw new Error(`Invalid prefix (${i})`);r=k_(r)^o>>5}r=k_(r);for(let a=0;aP)throw new TypeError(`Wrong string length: ${x.length} (${x}). Expected (8..${P})`);const K=x.toLowerCase();if(x!==K&&x!==x.toUpperCase())throw new Error("String must be lowercase or uppercase");const ne=(x=K).lastIndexOf("1");if(0===ne||-1===ne)throw new Error('Letter "1" must be present between prefix and data only');const pe=x.slice(0,ne),ye=x.slice(ne+1);if(ye.length<6)throw new Error("Data must be at least 6 characters long");const Ie=Tk.decode(ye).slice(0,-6),Le=B8(pe,Ie,t);if(!ye.endsWith(Le))throw new Error(`Invalid checksum in ${x}: expected "${Le}"`);return{prefix:pe,words:Ie}}return{encode:function o(x,P,K=90){if("string"!=typeof x)throw new Error("bech32.encode prefix should be string, not "+typeof x);if(!Array.isArray(P)||P.length&&"number"!=typeof P[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof P);const ne=x.length+7+P.length;if(!1!==K&&ne>K)throw new TypeError(`Length ${ne} exceeds limit ${K}`);return`${x=x.toLowerCase()}1${Tk.encode(P)}${B8(x,P,t)}`},decode:c,decodeToBytes:function m(x){const{prefix:P,words:K}=c(x,!1);return{prefix:P,words:K,bytes:n(K)}},decodeUnsafe:N8(c),fromWords:n,fromWordsUnsafe:a,toWords:r}}const Qa=H8("bech32"),uX=(H8("bech32m"),{encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)}),hX=rc(Hd(4),zc("0123456789abcdef"),Uc(""),T8(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()}));function qy(i){var t=document.createElement("textarea");t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="2em",t.style.height="2em",t.style.padding=0,t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=i,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(t)}function mX(i,t){if(1&i){const e=Je();_(0,"div",2)(1,"button",3),fe("click",function(){return Te(e),Ae(Z().action())}),L(2),v()()}if(2&i){const e=Z();E(2),qt(" ",e.data.action," ")}}Object.keys({utf8:uX,hex:hX,base16:oX,base32:sX,base64:Jh,base64url:lX,base58:Gy,base58xmr:cX}).join(", ");const fX=["label"];function pX(i,t){}const gX=Math.pow(2,31)-1;class Ak{constructor(t,e){this._overlayRef=e,this._afterDismissed=new He,this._afterOpened=new He,this._onAction=new He,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,gX))}_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}}const Y8=new Ze("MatSnackBarData");class $y{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let _X=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),i})(),bX=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),i})(),yX=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),i})(),vX=(()=>{class i{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return i.\u0275fac=function(e){return new(e||i)(k(Ak),k(Y8))},i.\u0275cmp=qe({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){1&e&&(_(0,"div",0),L(1),v(),ee(2,mX,3,1,"div",1)),2&e&&(E(1),qt(" ",n.data.message,"\n"),E(1),S("ngIf",n.hasAction))},dependencies:[ri,dr,_X,bX,yX],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),i})();const wX={snackBarState:Za("state",[gr("void, hidden",fi({transform:"scale(0.8)",opacity:0})),gr("visible",fi({transform:"scale(1)",opacity:1})),lr("* => visible",sr("150ms cubic-bezier(0, 0, 0.2, 1)")),lr("* => void, * => hidden",sr("75ms cubic-bezier(0.4, 0.0, 1, 1)",fi({opacity:0})))])};let FX=(()=>{class i extends iy{constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=o,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new He,this._onExit=new He,this._onEnter=new He,this._animationState="void",this.attachDomPortal=c=>{this._assertNotAttached();const u=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),u},this._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}onAnimationEnd(e){const{fromState:n,toState:r}=e;if(("void"===r&&"void"!==n||"hidden"===r)&&this._completeExit(),"visible"===r){const a=this._onEnter;this._ngZone.run(()=>{a.next(),a.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(rn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(r=>e.classList.add(r)):e.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(pt),k(oi),k(Hn),k($y))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&At(Jl,7),2&e){let r;Qe(r=Xe())&&(n._portalOutlet=r.first)}},features:[st]}),i})(),xX=(()=>{class i extends FX{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,n="mdc-snackbar__label";e.classList.toggle(n,!e.querySelector(`.${n}`))}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(1&e&&At(fX,7),2&e){let r;Qe(r=Xe())&&(n._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,n){1&e&&_f("@state.done",function(a){return n.onAnimationEnd(a)}),2&e&&yf("@state",n._animationState)},features:[st],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1,2)(3,"div",3),ee(4,pX,0,0,"ng-template",4),v(),Ce(5,"div"),v()()),2&e&&(E(5),Lt("aria-live",n._live)("role",n._role))},dependencies:[Jl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[wX.snackBarState]}}),i})(),Ik=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Oc,xl,Dr,Iy,Jt,Jt]}),i})();const j8=new Ze("mat-snack-bar-default-options",{providedIn:"root",factory:function CX(){return new $y}});let kX=(()=>{class i{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,n,r,a,o,c){this._overlay=e,this._live=n,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=o,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){const a={...this._defaultConfig,...r};return a.data={message:e,action:n},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){const a=qr.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:$y,useValue:n}]}),o=new Yh(this.snackBarContainerComponent,n.viewContainerRef,a),c=e.attach(o);return c.instance.snackBarConfig=n,c.instance}_attach(e,n){const r={...new $y,...this._defaultConfig,...n},a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),c=new Ak(o,a);if(e instanceof yr){const u=new Ad(e,null,{$implicit:r.data,snackBarRef:c});c.instance=o.attachTemplatePortal(u)}else{const u=this._createInjector(r,c),m=new Yh(e,void 0,u),x=o.attachComponentPortal(m);c.instance=x.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ai(a.detachments())).subscribe(u=>{a.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration))}_createOverlay(e){const n=new Vf;n.direction=e.direction;let r=this._overlay.position().global();const a="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!a||"end"===e.horizontalPosition&&a,c=!o&&"center"!==e.horizontalPosition;return o?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),n.positionStrategy=r,this._overlay.create(n)}_createInjector(e,n){return qr.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Ak,useValue:n},{provide:Y8,useValue:e.data}]})}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(vC),Fe(qr),Fe(Td),Fe(i,12),Fe(j8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),ms=(()=>{class i extends kX{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this.simpleSnackBarComponent=vX,this.snackBarContainerComponent=xX,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(vC),Fe(qr),Fe(Td),Fe(i,12),Fe(j8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:Ik}),i})();var z8=I(1135);class Vd{constructor(){}}Vd.defaultService="nostr.build",Vd.\u0275fac=function(t){return new(t||Vd)},Vd.\u0275prov=Ke({token:Vd,factory:Vd.\u0275fac,providedIn:"root"});class Tr{constructor(){this.values={language:"en",dir:"ltr",enableReactions:!0,enableZapping:!0,showLines:!0,peopleDisplayType:1,peopleDisplayView:0,peopleDisplaySort:"name-asc"},this.load()}load(){let t=localStorage.getItem("blockcore:notes:nostr:options");t&&(this.values=JSON.parse(t)),null==this.values.enableReactions&&(this.values.enableReactions=!0),null==this.values.enableZapping&&(this.values.enableZapping=!0),null==this.values.peopleDisplayType&&(this.values.peopleDisplayType=1),null==this.values.peopleDisplayView&&(this.values.peopleDisplayView=0),null==this.values.peopleDisplaySort&&(this.values.peopleDisplaySort="name-asc"),null==this.values.mediaService&&(this.values.mediaService=Vd.defaultService)}save(){localStorage.setItem("blockcore:notes:nostr:options",JSON.stringify(this.values))}}Tr.\u0275fac=function(t){return new(t||Tr)},Tr.\u0275prov=Ke({token:Tr,factory:Tr.\u0275fac,providedIn:"root"});class ts{constructor(t){this.options=t,this.contentLimit=16384,this.tagsLimit=50,this.profileLimit=16384,this.profileTagsLimit=1e3,this.contactsContentLimit=16384}sanitizeEvent(t){let e=z8(t.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return t.content=e,t}filterEvent(t){return this.options.values.hideInvoice&&t.content.indexOf("lnbc")>-1||this.options.values.hideSpam&&-1==t.content.substring(0,200).indexOf(" ")?null:t}filterEvents(t){return t.filter(e=>this.filterEvent(e))}validateEvent(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at?null:(0===t.kind?t.content.length>this.profileLimit&&(t.content=t.content.substring(0,this.profileLimit),t.contentCut=!0):t.content.length>this.contentLimit&&(t.content=t.content.substring(0,this.contentLimit),t.contentCut=!0),t.tags&&t.tags.length>this.tagsLimit&&(t.tags=t.tags.splice(0,this.tagsLimit),t.tagsCut=!0),t)}validateContacts(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at||3!==t.kind?null:(t.content.length>this.contactsContentLimit&&(t.content=t.content.substring(0,this.contactsContentLimit),t.contentCut=!0),t)}escapeNewLineChars(t){return null!=t&&""!=t?t.replace(/\n/g," "):t}sanitizeProfile(t){let e=z8(t.about,{allowedTags:[],allowedAttributes:{}});return t.about=e,t}validateProfile(t){return t.picture.length>2e3||t.name.length>280||t.about.length>280||t.nip05.length>2e3?null:t}}ts.\u0275fac=function(t){return new(t||ts)(Fe(Tr))},ts.\u0275prov=Ke({token:ts,factory:ts.\u0275fac,providedIn:"root"});class Qi{constructor(t,e,n){this.snackBar=t,this.validator=e,this.sanitizer=n,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(t){if(t)for(let e=0;eo.matches),Kh()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe(_t(o=>o.matches),Kh()),this.connected$=this.connectedChanged.asObservable(),this.visibility$=this.visibilityChanged.asObservable(),this.title$=this.titleChanged.asObservable(),this.initialized$=this.initializedChanged.asObservable()}getPublicKey(){return this.authService.authInfo$.getValue().publicKeyHex}getPublicKeyDisplay(){return this.authService.authInfo$.getValue().publicKey}navigateBack(){this.location.back()}updateTitle(t){this.title=t,this.titleService.setTitle(t+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(t){this.connected!=t&&(this.connected=t,this.connectedChanged.next(t))}visibility(t){this.visibilityChanged.next(t)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}setLanguage(t){this.translate.use(t)}}function W8(i,t){if(t.has(i))throw new TypeError("Cannot initialize the same private elements twice on an object")}function sn(i,t,e){W8(i,t),t.set(i,e)}function G8(i,t,e){if(!t.has(i))throw new TypeError("attempted to "+e+" private field on non-instance");return t.get(i)}function ti(i,t,e){return function DX(i,t,e){if(t.set)t.set.call(i,e);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=e}}(i,G8(i,t,"set"),e),e}function Pe(i,t){return function MX(i,t){return t.get?t.get.call(i):t.value}(i,G8(i,t,"get"))}Xi.\u0275fac=function(t){return new(t||Xi)(Fe(Xf),Fe(Td),Fe(Na),Fe(Ac),Fe(iC))},Xi.\u0275prov=Ke({token:Xi,factory:Xi.\u0275fac,providedIn:"root"});const Ky={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Lk=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),Wc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Zy(i){if("string"==typeof i&&(i=function TX(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function q8(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0")),(()=>{const i=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(i){const{setImmediate:t}=i("timers")}}catch{}})();class Ok{clone(){return this._cloneInto()}}class RX extends Ok{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=Lk(this.buffer)}update(t){if(this.destroyed)throw new Error("instance is destroyed");const{view:e,buffer:n,blockLen:r,finished:a}=this;if(a)throw new Error("digest() was already called");const o=(t=Zy(t)).length;for(let c=0;cr-o&&(this.process(n,0),o=0);for(let u=o;u>r&a),c=Number(e&a),m=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+m,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=Lk(t);this.get().forEach((u,m)=>c.setUint32(4*m,u,a))}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:r,finished:a,destroyed:o,pos:c}=this;return t.length=r,t.pos=c,t.finished=a,t.destroyed=o,r%e&&t.buffer.set(n),t}}const PX=(i,t,e)=>i&t^~i&e,BX=(i,t,e)=>i&t^i&e^t&e,HX=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Pu=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Bu=new Uint32Array(64);class VX extends RX{constructor(){super(64,32,8,!1),this.A=0|Pu[0],this.B=0|Pu[1],this.C=0|Pu[2],this.D=0|Pu[3],this.E=0|Pu[4],this.F=0|Pu[5],this.G=0|Pu[6],this.H=0|Pu[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:u}=this;return[t,e,n,r,a,o,c,u]}set(t,e,n,r,a,o,c,u){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|u}process(t,e){for(let P=0;P<16;P++,e+=4)Bu[P]=t.getUint32(e,!1);for(let P=16;P<64;P++){const K=Bu[P-15],ne=Bu[P-2],pe=Wc(K,7)^Wc(K,18)^K>>>3,ye=Wc(ne,17)^Wc(ne,19)^ne>>>10;Bu[P]=ye+Bu[P-7]+pe+Bu[P-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:u,G:m,H:x}=this;for(let P=0;P<64;P++){const ne=x+(Wc(c,6)^Wc(c,11)^Wc(c,25))+PX(c,u,m)+HX[P]+Bu[P]|0,ye=(Wc(n,2)^Wc(n,13)^Wc(n,22))+BX(n,r,a)|0;x=m,m=u,u=c,c=o+ne|0,o=a,a=r,r=n,n=ne+ye|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,u=u+this.F|0,m=m+this.G|0,x=x+this.H|0,this.set(n,r,a,o,c,u,m,x)}roundClean(){Bu.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const ap=function LX(i){const t=n=>i().update(Zy(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}(()=>new VX);var $8=I(3439),Rk=I(6837);function Pk(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function em(i,...t){if(!(i instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length>0&&!t.includes(i.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${i.length}`)}const tm={number:Pk,bool:function YX(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)},bytes:em,hash:function jX(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Pk(i.outputLen),Pk(i.blockLen)},exists:function zX(i,t=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(t&&i.finished)throw new Error("Hash#digest() has already been called")},output:function UX(i,t){em(i);const e=t.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength)),Gc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const WX=Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0"));function K8(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}function Qy(i){if("string"==typeof i&&(i=K8(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function Xy(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;ni().update(Qy(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}class Q8 extends Z8{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,tm.hash(t);const n=Qy(e);if(this.iHash=t.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const r=this.blockLen,a=new Uint8Array(r);a.set(n.length>r?t.create().update(n).digest():n);for(let o=0;onew Q8(i,t).update(e).digest();Jy.create=(i,t)=>new Q8(i,t);class Hk extends Z8{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=op(this.buffer)}update(t){tm.exists(this);const{view:e,buffer:n,blockLen:r}=this,a=(t=Qy(t)).length;for(let o=0;or-o&&(this.process(n,0),o=0);for(let P=o;P>r&a),c=Number(e&a),m=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+m,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=op(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const m=u/4,x=this.get();if(m>x.length)throw new Error("_sha2: outputLen bigger than state");for(let P=0;Pt),XX=X8.map(i=>(9*i+5)%16);let Vk=[X8],Yk=[XX];for(let i=0;i<4;i++)for(let t of[Vk,Yk])t.push(t[i].map(e=>QX[e]));const J8=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),JX=Vk.map((i,t)=>i.map(e=>J8[t][e])),eJ=Yk.map((i,t)=>i.map(e=>J8[t][e])),tJ=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),iJ=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),ev=(i,t)=>i<>>32-t;function eL(i,t,e,n){return 0===i?t^e^n:1===i?t&e|~t&n:2===i?(t|~e)^n:3===i?t&n|e&~n:t^(e|~n)}const tv=new Uint32Array(16);class nJ extends Hk{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:e,h2:n,h3:r,h4:a}=this;return[t,e,n,r,a]}set(t,e,n,r,a){this.h0=0|t,this.h1=0|e,this.h2=0|n,this.h3=0|r,this.h4=0|a}process(t,e){for(let ne=0;ne<16;ne++,e+=4)tv[ne]=t.getUint32(e,!0);let n=0|this.h0,r=n,a=0|this.h1,o=a,c=0|this.h2,u=c,m=0|this.h3,x=m,P=0|this.h4,K=P;for(let ne=0;ne<5;ne++){const pe=4-ne,ye=tJ[ne],Ie=iJ[ne],Le=Vk[ne],it=Yk[ne],Be=JX[ne],ut=eJ[ne];for(let It=0;It<16;It++){const $t=ev(n+eL(ne,a,c,m)+tv[Le[It]]+ye,Be[It])+P|0;n=P,P=m,m=0|ev(c,10),c=a,a=$t}for(let It=0;It<16;It++){const $t=ev(r+eL(pe,o,u,x)+tv[it[It]]+Ie,ut[It])+K|0;r=K,K=x,x=0|ev(u,10),u=o,o=$t}}this.set(this.h1+c+x|0,this.h2+m+K|0,this.h3+P+r|0,this.h4+n+o|0,this.h0+a+u|0)}roundClean(){tv.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const rJ=im(()=>new nJ),aJ=(i,t,e)=>i&t^~i&e,oJ=(i,t,e)=>i&t^i&e^t&e,sJ=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Hu=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Vu=new Uint32Array(64);class tL extends Hk{constructor(){super(64,32,8,!1),this.A=0|Hu[0],this.B=0|Hu[1],this.C=0|Hu[2],this.D=0|Hu[3],this.E=0|Hu[4],this.F=0|Hu[5],this.G=0|Hu[6],this.H=0|Hu[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:u}=this;return[t,e,n,r,a,o,c,u]}set(t,e,n,r,a,o,c,u){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|u}process(t,e){for(let P=0;P<16;P++,e+=4)Vu[P]=t.getUint32(e,!1);for(let P=16;P<64;P++){const K=Vu[P-15],ne=Vu[P-2],pe=Gc(K,7)^Gc(K,18)^K>>>3,ye=Gc(ne,17)^Gc(ne,19)^ne>>>10;Vu[P]=ye+Vu[P-7]+pe+Vu[P-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:u,G:m,H:x}=this;for(let P=0;P<64;P++){const ne=x+(Gc(c,6)^Gc(c,11)^Gc(c,25))+aJ(c,u,m)+sJ[P]+Vu[P]|0,ye=(Gc(n,2)^Gc(n,13)^Gc(n,22))+oJ(n,r,a)|0;x=m,m=u,u=c,c=o+ne|0,o=a,a=r,r=n,n=ne+ye|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,u=u+this.F|0,m=m+this.G|0,x=x+this.H|0,this.set(n,r,a,o,c,u,m,x)}roundClean(){Vu.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class lJ extends tL{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const jk=im(()=>new tL),iv=(im(()=>new lJ),BigInt(2**32-1)),zk=BigInt(32);function iL(i,t=!1){return t?{h:Number(i&iv),l:Number(i>>zk&iv)}:{h:0|Number(i>>zk&iv),l:0|Number(i&iv)}}const Rn_split=function cJ(i,t=!1){let e=new Uint32Array(i.length),n=new Uint32Array(i.length);for(let r=0;ri>>>e,Rn_shrSL=(i,t,e)=>i<<32-e|t>>>e,Rn_rotrSH=(i,t,e)=>i>>>e|t<<32-e,Rn_rotrSL=(i,t,e)=>i<<32-e|t>>>e,Rn_rotrBH=(i,t,e)=>i<<64-e|t>>>e-32,Rn_rotrBL=(i,t,e)=>i>>>e-32|t<<64-e,Rn_add=function xJ(i,t,e,n){const r=(t>>>0)+(n>>>0);return{h:i+e+(r/2**32|0)|0,l:0|r}},Rn_add3L=(i,t,e)=>(i>>>0)+(t>>>0)+(e>>>0),Rn_add3H=(i,t,e,n)=>t+e+n+(i/2**32|0)|0,Rn_add4L=(i,t,e,n)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0),Rn_add4H=(i,t,e,n,r)=>t+e+n+r+(i/2**32|0)|0,Rn_add5H=(i,t,e,n,r,a)=>t+e+n+r+a+(i/2**32|0)|0,Rn_add5L=(i,t,e,n,r)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),[CJ,kJ]=Rn_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),Yu=new Uint32Array(80),ju=new Uint32Array(80);class nv extends Hk{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:e,Bh:n,Bl:r,Ch:a,Cl:o,Dh:c,Dl:u,Eh:m,El:x,Fh:P,Fl:K,Gh:ne,Gl:pe,Hh:ye,Hl:Ie}=this;return[t,e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie]}set(t,e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|a,this.Cl=0|o,this.Dh=0|c,this.Dl=0|u,this.Eh=0|m,this.El=0|x,this.Fh=0|P,this.Fl=0|K,this.Gh=0|ne,this.Gl=0|pe,this.Hh=0|ye,this.Hl=0|Ie}process(t,e){for(let Be=0;Be<16;Be++,e+=4)Yu[Be]=t.getUint32(e),ju[Be]=t.getUint32(e+=4);for(let Be=16;Be<80;Be++){const ut=0|Yu[Be-15],It=0|ju[Be-15],$t=Rn_rotrSH(ut,It,1)^Rn_rotrSH(ut,It,8)^Rn_shrSH(ut,It,7),$n=Rn_rotrSL(ut,It,1)^Rn_rotrSL(ut,It,8)^Rn_shrSL(ut,It,7),xn=0|Yu[Be-2],Fr=0|ju[Be-2],Br=Rn_rotrSH(xn,Fr,19)^Rn_rotrBH(xn,Fr,61)^Rn_shrSH(xn,Fr,6),ol=Rn_rotrSL(xn,Fr,19)^Rn_rotrBL(xn,Fr,61)^Rn_shrSL(xn,Fr,6),Mr=Rn_add4L($n,ol,ju[Be-7],ju[Be-16]),Ho=Rn_add4H(Mr,$t,Br,Yu[Be-7],Yu[Be-16]);Yu[Be]=0|Ho,ju[Be]=0|Mr}let{Ah:n,Al:r,Bh:a,Bl:o,Ch:c,Cl:u,Dh:m,Dl:x,Eh:P,El:K,Fh:ne,Fl:pe,Gh:ye,Gl:Ie,Hh:Le,Hl:it}=this;for(let Be=0;Be<80;Be++){const ut=Rn_rotrSH(P,K,14)^Rn_rotrSH(P,K,18)^Rn_rotrBH(P,K,41),It=Rn_rotrSL(P,K,14)^Rn_rotrSL(P,K,18)^Rn_rotrBL(P,K,41),$t=P&ne^~P&ye,xn=Rn_add5L(it,It,K&pe^~K&Ie,kJ[Be],ju[Be]),Fr=Rn_add5H(xn,Le,ut,$t,CJ[Be],Yu[Be]),Br=0|xn,ol=Rn_rotrSH(n,r,28)^Rn_rotrBH(n,r,34)^Rn_rotrBH(n,r,39),Mr=Rn_rotrSL(n,r,28)^Rn_rotrBL(n,r,34)^Rn_rotrBL(n,r,39),Ho=n&a^n&c^a&c,Qp=r&o^r&u^o&u;Le=0|ye,it=0|Ie,ye=0|ne,Ie=0|pe,ne=0|P,pe=0|K,({h:P,l:K}=Rn_add(0|m,0|x,0|Fr,0|Br)),m=0|c,x=0|u,c=0|a,u=0|o,a=0|n,o=0|r;const uu=Rn_add3L(Br,Mr,Qp);n=Rn_add3H(uu,Fr,ol,Ho),r=0|uu}({h:n,l:r}=Rn_add(0|this.Ah,0|this.Al,0|n,0|r)),({h:a,l:o}=Rn_add(0|this.Bh,0|this.Bl,0|a,0|o)),({h:c,l:u}=Rn_add(0|this.Ch,0|this.Cl,0|c,0|u)),({h:m,l:x}=Rn_add(0|this.Dh,0|this.Dl,0|m,0|x)),({h:P,l:K}=Rn_add(0|this.Eh,0|this.El,0|P,0|K)),({h:ne,l:pe}=Rn_add(0|this.Fh,0|this.Fl,0|ne,0|pe)),({h:ye,l:Ie}=Rn_add(0|this.Gh,0|this.Gl,0|ye,0|Ie)),({h:Le,l:it}=Rn_add(0|this.Hh,0|this.Hl,0|Le,0|it)),this.set(n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie,Le,it)}roundClean(){Yu.fill(0),ju.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class DJ extends nv{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class MJ extends nv{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class EJ extends nv{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const nL=im(()=>new nv);im(()=>new DJ),im(()=>new MJ),im(()=>new EJ),On.hmacSha256Sync=(i,...t)=>Jy(jk,i,On.concatBytes(...t));const Uk=(i=>rc(function O8(i,t){if(Xh(i),"function"!=typeof t)throw new Error("checksum fn should be function");return{encode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const n=t(e).slice(0,i),r=new Uint8Array(e.length+i);return r.set(e),r.set(n,e.length),r},decode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const n=e.slice(0,-i),r=t(n).slice(0,i),a=e.slice(-i);for(let o=0;oi(i(t))),Gy))(jk);function rL(i){return BigInt(`0x${function GX(i){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let e=0;e{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return op(t).setUint32(0,i,!1),t};class nm{constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||"object"!=typeof t)throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Wk,this.depth=t.depth||0,this.chainCode=t.chainCode,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!On.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof t.privateKey?t.privateKey:rL(t.privateKey),this.privKeyBytes=function SJ(i){return function qX(i){if("string"!=typeof i)throw new TypeError("hexToBytes: expected string, got "+typeof i);if(i.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(i.length/2);for(let e=0;erJ(jk(this.pubKey)))()}get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(i=>op(this.pubHash).getUint32(0,!1))()}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return Uk.encode(this.serialize(this.versions.private,Xy(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Uk.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,e=Wk){if(em(t),8*t.length<128||8*t.length>512)throw new Error(`HDKey: wrong seed length=${t.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=Jy(nL,TJ,t);return new nm({versions:e,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(t,e=Wk){const n=Uk.decode(t),r=op(n),a=r.getUint32(0,!1),o={versions:e,depth:n[4],parentFingerprint:r.getUint32(5,!1),index:r.getUint32(9,!1),chainCode:n.slice(13,45)},c=n.slice(45),u=0===c[0];if(a!==e[u?"private":"public"])throw new Error("Version mismatch");return new nm(u?{...o,privateKey:c.slice(1)}:{...o,publicKey:c})}static fromJSON(t){return nm.fromExtendedKey(t.xpriv)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const e=t.replace(/^[mM]'?\//,"").split("/");let n=this;for(const r of e){const a=/^(\d+)('?)$/.exec(r);if(!a||3!==a.length)throw new Error(`Invalid child index: ${r}`);let o=+a[1];if(!Number.isSafeInteger(o)||o>=Gk)throw new Error("Invalid index");"'"===a[2]&&(o+=Gk),n=n.deriveChild(o)}return n}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let e=rv(t);if(t>=Gk){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");e=Xy(new Uint8Array([0]),c,e)}else e=Xy(this.pubKey,e);const n=Jy(nL,this.chainCode,e),r=rL(n.slice(0,32)),a=n.slice(32);if(!On.isValidPrivateKey(r))throw new Error("Tweak bigger than curve order");const o={versions:this.versions,chainCode:a,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const c=On.mod(this.privKey+r,Pr.n);if(!On.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");o.privateKey=c}else{const c=tr.fromHex(this.pubKey).add(tr.fromPrivateKey(r));if(c.equals(tr.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");o.publicKey=c.toRawBytes(!0)}return new nm(o)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return em(t,32),function eX(i,t,e={}){const{seed:n,m:r,d:a}=function x8(i,t,e){if(null==i)throw new Error(`sign: expected valid message hash, not "${i}"`);const n=jc(i),r=Qh(t),a=[F8(r),JQ(n)];if(null!=e){!0===e&&(e=On.randomBytes(nc));const u=jc(e);if(u.length!==nc)throw new Error(`sign: Expected ${nc} bytes of extra data`);a.push(u)}return{seed:Lu(...a),m:w8(n),d:r}}(i,t,e.extraEntropy),o=new g8(32,Zh);let c;for(o.reseedSync(n);!(c=_8(o.generateSync(),r,a,e.canonical));)o.reseedSync();return function C8(i,t){const{sig:e,recovery:n}=i,{der:r,recovered:a}=Object.assign({canonical:!0,der:!0},t),o=r?e.toDERRawBytes():e.toCompactRawBytes();return a?[o,n]:o}(c,e)}(t,this.privKey,{canonical:!0,der:!1})}verify(t,e){if(em(t,32),em(e,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=Bd.fromCompact(e)}catch{return!1}return function iX(i,t,e,n=tX){let r;try{r=b8(i),t=jc(t)}catch{return!1}const{r:a,s:o}=r;if(n.strict&&r.hasHighS())return!1;const c=xk(t);let u;try{u=Ck(e)}catch{return!1}const{n:m}=Pr,x=tp(o,m),P=ei(c*x,m),K=ei(a*x,m),ne=tr.BASE.multiplyAndAddUnsafe(u,P,K);return!!ne&&ei(ne.x,m)===a}(n,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,e){if(!this.chainCode)throw new Error("No chainCode set");return em(e,33),Xy(rv(t),new Uint8Array([this.depth]),rv(this.parentFingerprint),rv(this.index),this.chainCode,e)}}class aL extends Ok{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,function AX(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");q8(i.outputLen),q8(i.blockLen)}(t);const n=Zy(e);if(this.iHash=t.create(),!(this.iHash instanceof Ok))throw new TypeError("Expected instance of class which extends utils.Hash");const r=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const a=new Uint8Array(r);a.set(n.length>this.iHash.blockLen?t.create().update(n).digest():n);for(let o=0;onew aL(i,t).update(e).digest();oL.create=(i,t)=>new aL(i,t);var LJ=Object.defineProperty,zu=(i,t)=>{for(var e in t)LJ(i,e,{get:t[e],enumerable:!0})};function sp(i){return On.bytesToHex(x_.getPublicKey(i))}zu({},{insertEventIntoAscendingList:()=>RJ,insertEventIntoDescendingList:()=>OJ,normalizeURL:()=>av,utf8Decoder:()=>rm,utf8Encoder:()=>Yd});var rm=new TextDecoder("utf-8"),Yd=new TextEncoder;function av(i){let t=new URL(i);return t.pathname=t.pathname.replace(/\/+/g,"/"),t.pathname.endsWith("/")&&(t.pathname=t.pathname.slice(0,-1)),("80"===t.port&&"ws:"===t.protocol||"443"===t.port&&"wss:"===t.protocol)&&(t.port=""),t.searchParams.sort(),t.hash="",t.toString()}function OJ(i,t){let r,e=0,n=i.length-1,a=e;if(n<0)a=0;else if(t.created_at=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_at>t.created_at)e=r;else{if(!(i[r].created_ati[n].created_at)a=n+1;else if(t.created_at<=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_att.created_at)){a=r;break}n=r}}return i[a]?.id!==t.id?[...i.slice(0,a),t,...i.slice(a)]:i}var jn=(i=>(i[i.Metadata=0]="Metadata",i[i.Text=1]="Text",i[i.RecommendRelay=2]="RecommendRelay",i[i.Contacts=3]="Contacts",i[i.EncryptedDirectMessage=4]="EncryptedDirectMessage",i[i.EventDeletion=5]="EventDeletion",i[i.Reaction=7]="Reaction",i[i.ChannelCreation=40]="ChannelCreation",i[i.ChannelMetadata=41]="ChannelMetadata",i[i.ChannelMessage=42]="ChannelMessage",i[i.ChannelHideMessage=43]="ChannelHideMessage",i[i.ChannelMuteUser=44]="ChannelMuteUser",i[i.Report=1984]="Report",i[i.ZapRequest=9734]="ZapRequest",i[i.Zap=9735]="Zap",i[i.RelayList=10002]="RelayList",i[i.ClientAuth=22242]="ClientAuth",i[i.Article=30023]="Article",i))(jn||{});function jd(i){let t=ap(Yd.encode(function PJ(i){if(!zd(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}(i)));return On.bytesToHex(t)}function zd(i){if("object"!=typeof i||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let t=0;tov,getInt:()=>sL,getSubscriptionId:()=>lL,matchEventId:()=>YJ,matchEventKind:()=>zJ,matchEventPubkey:()=>jJ}),zu({},{decrypt:()=>$J,encrypt:()=>qJ});var sv,Zk={};zu(Zk,{queryProfile:()=>QJ,searchDomain:()=>ZJ,useFetchImplementation:()=>KJ});try{sv=fetch}catch{}function KJ(i){sv=i}function ZJ(i){return Qk.apply(this,arguments)}function Qk(){return Qk=Ee(function*(i,t=""){try{return(yield(yield sv(`https://${i}/.well-known/nostr.json?name=${t}`)).json()).names}catch{return{}}}),Qk.apply(this,arguments)}function QJ(i){return Xk.apply(this,arguments)}function Xk(){return Xk=Ee(function*(i){let[t,e]=i.split("@");if(e||(e=t,t="_"),!t.match(/^[A-Za-z0-9-_]+$/))return null;let n=yield(yield sv(`https://${e}/.well-known/nostr.json?name=${t}`)).json();if(!n?.names?.[t])return null;let r=n.names[t];return{pubkey:r,relays:n.relays?.[r]||[]}}),Xk.apply(this,arguments)}var lv={};function XJ(i,t){let n=nm.fromMasterSeed((0,Rk.Z1)(i,t)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return On.bytesToHex(n)}function JJ(){return(0,Rk.OF)($8.U)}function eee(i){return(0,Rk._I)(i,$8.U)}zu(lv,{generateSeedWords:()=>JJ,privateKeyFromSeedWords:()=>XJ,validateWords:()=>eee});var xa={};zu(xa,{decode:()=>tee,naddrEncode:()=>see,neventEncode:()=>oee,noteEncode:()=>ree,nprofileEncode:()=>aee,npubEncode:()=>nee,nsecEncode:()=>iee});var iD,M_=5e3;function tee(i){let{prefix:t,words:e}=Qa.decode(i,M_),n=new Uint8Array(Qa.fromWords(e));switch(t){case"nprofile":{let r=Jk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:On.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>rm.decode(a)):[]}}}case"nevent":{let r=Jk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:On.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>rm.decode(a)):[]}}}case"naddr":{let r=Jk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!r[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==r[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!r[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==r[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:rm.decode(r[0][0]),pubkey:On.bytesToHex(r[2][0]),kind:parseInt(On.bytesToHex(r[3][0]),16),relays:r[1]?r[1].map(a=>rm.decode(a)):[]}}}case"nsec":case"npub":case"note":return{type:t,data:On.bytesToHex(n)};default:throw new Error(`unknown prefix ${t}`)}}function Jk(i){let t={},e=i;for(;e.length>0;){let n=e[0],r=e[1],a=e.slice(2,2+r);e=e.slice(2+r),!(a.lengthYd.encode(n))}),e=Qa.toWords(t);return Qa.encode("nprofile",e,M_)}function oee(i){let t=tD({0:[On.hexToBytes(i.id)],1:(i.relays||[]).map(n=>Yd.encode(n))}),e=Qa.toWords(t);return Qa.encode("nevent",e,M_)}function see(i){let t=new ArrayBuffer(4);new DataView(t).setUint32(0,i.kind,!1);let e=tD({0:[Yd.encode(i.identifier)],1:(i.relays||[]).map(r=>Yd.encode(r)),2:[On.hexToBytes(i.pubkey)],3:[new Uint8Array(t)]}),n=Qa.toWords(e);return Qa.encode("naddr",n,M_)}function tD(i){let t=[];return Object.entries(i).forEach(([e,n])=>{n.forEach(r=>{let a=new Uint8Array(r.length+2);a.set([parseInt(e)],0),a.set([r.length],1),a.set(r,2),t.push(a)})}),On.concatBytes(...t)}function cee(i,t){let e=[];(t.kind||-1)>=0&&e.push(`kind=${t.kind}`),t.until&&e.push(`created_at<${t.until}`),t.since&&e.push(`created_at>${t.since}`);let n=e.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let r=ap(Yd.encode(`nostr:delegation:${t.pubkey}:${n}`)),a=On.bytesToHex(x_.signSync(r,i));return{from:sp(i),to:t.pubkey,cond:n,sig:a}}function dee(i){let t=i.tags.find(c=>"delegation"===c[0]&&c.length>=4);if(!t)return null;let e=t[1],n=t[2],r=t[3],a=n.split("&");for(let c=0;c"===m&&i.created_at>parseInt(x))continue;return null}}let o=ap(Yd.encode(`nostr:delegation:${i.pubkey}:${n}`));return x_.verifySync(r,o,e)?e:null}zu({},{createDelegation:()=>cee,getDelegator:()=>dee}),zu({},{getZapEndpoint:()=>mee,makeZapReceipt:()=>gee,makeZapRequest:()=>fee,useFetchImplementation:()=>hee,validateZapRequest:()=>pee});try{iD=fetch}catch{}function hee(i){iD=i}function mee(i){return nD.apply(this,arguments)}function nD(){return nD=Ee(function*(i){try{let t="",{lud06:e,lud16:n}=JSON.parse(i.content);if(e){let{words:o}=Qa.decode(e,1e3),c=Qa.fromWords(o);t=rm.decode(c)}else{if(!n)return null;{let[o,c]=n.split("@");t=`https://${c}/.well-known/lnurlp/${o}`}}let a=yield(yield iD(t)).json();if(a.allowsNostr&&a.nostrPubkey)return a.callback}catch{}return null}),nD.apply(this,arguments)}function fee({profile:i,event:t,amount:e,relays:n,comment:r=""}){if(!e)throw new Error("amount not given");if(!i)throw new Error("profile not given");let a={kind:9734,created_at:Math.round(Date.now()/1e3),content:r,tags:[["p",i],["amount",e.toString()],["relays",...n]]};return t&&a.tags.push(["e",t]),a}function pee(i){let t;try{t=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!zd(t))return"Zap request is not a valid Nostr event.";if(!lp(t))return"Invalid signature on zap request.";let e=t.tags.find(([a,o])=>"p"===a&&o);if(!e)return"Zap request doesn't have a 'p' tag.";if(!e[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=t.tags.find(([a,o])=>"e"===a&&o);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":t.tags.find(([a,o])=>"relays"===a&&o)?null:"Zap request doesn't have a 'relays' tag."}function gee({zapRequest:i,preimage:t,bolt11:e,paidAt:n}){let a=JSON.parse(i).tags.filter(([c])=>"e"===c||"p"===c||"a"===c),o={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...a,["bolt11",e],["description",i]]};return t&&o.tags.push(["preimage",t]),o}On.hmacSha256Sync=(i,...t)=>oL(ap,i,On.concatBytes(...t)),On.sha256Sync=(...i)=>ap(On.concatBytes(...i));class _ee{constructor(t){this.url=t,this.status="ok"}start(){return console.log(`${this.url}: start method new Worker called.`),this.worker=new Worker(I.tu(new URL(I.p+I.u(911),I.b))),this.worker}connect(t,e){this.action("connect",{url:this.url,subscriptions:t,event:e})}disconnect(){this.action("disconnect")}terminate(){this.action("terminate")}enque(t){this.action("enque",t)}publish(t){this.action("publish",t)}download(t,e,n){this.action("download",{filters:t,id:e,type:n})}subscribe(t,e){this.action("subscribe",{filters:t,id:e})}unsubscribe(t){this.action("unsubscribe",t)}action(t,e){if("ok"!=this.status)throw new Error("The status of this relay worker is: "+this.status);this.worker?.postMessage({type:t,data:e})}}const dL={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let cv;const bee=new Uint8Array(16);function yee(){if(!cv&&(cv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!cv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return cv(bee)}const No=[];for(let i=0;i<256;++i)No.push((i+256).toString(16).slice(1));const dv=function vee(i,t,e){if(dL.randomUUID&&!t&&!i)return dL.randomUUID();const n=(i=i||{}).random||(i.rng||yee)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){e=e||0;for(let r=0;r<16;++r)t[e+r]=n[r];return t}return function uL(i,t=0){return(No[i[t+0]]+No[i[t+1]]+No[i[t+2]]+No[i[t+3]]+"-"+No[i[t+4]]+No[i[t+5]]+"-"+No[i[t+6]]+No[i[t+7]]+"-"+No[i[t+8]]+No[i[t+9]]+"-"+No[i[t+10]]+No[i[t+11]]+No[i[t+12]]+No[i[t+13]]+No[i[t+14]]+No[i[t+15]]).toLowerCase()}(n)};var Uu=new WeakMap;class Oo{get queues$(){return Pe(this,Uu).asObservable()}constructor(){sn(this,Uu,{writable:!0,value:void 0}),ti(this,Uu,new Hi(void 0))}enqueProfile(t){Pe(this,Uu).next({identifier:t,type:"Profile"})}enqueEvent(t){Pe(this,Uu).next({identifier:t,type:"Event"})}enqueArticle(t){Pe(this,Uu).next({identifier:t,type:"Article"})}enqueBadgeDefinition(t){Pe(this,Uu).next({identifier:t,type:"BadgeDefinition"})}enqueContacts(t){Pe(this,Uu).next({identifier:t,type:"Contacts"})}enque(t,e){"Profile"===e?this.enqueProfile(t):"Event"===e?this.enqueEvent(t):"Contacts"===e?this.enqueContacts(t):"Article"===e?this.enqueArticle(t):"BadgeDefinition"===e&&this.enqueBadgeDefinition(t)}}Oo.\u0275fac=function(t){return new(t||Oo)},Oo.\u0275prov=Ke({token:Oo,factory:Oo.\u0275fac,providedIn:"root"});const wee=(i,t)=>t.some(e=>i instanceof e);let hL,mL;const fL=new WeakMap,rD=new WeakMap,pL=new WeakMap,aD=new WeakMap,oD=new WeakMap;let sD={get(i,t,e){if(i instanceof IDBTransaction){if("done"===t)return rD.get(i);if("objectStoreNames"===t)return i.objectStoreNames||pL.get(i);if("store"===t)return e.objectStoreNames[1]?void 0:e.objectStore(e.objectStoreNames[0])}return Ud(i[t])},set:(i,t,e)=>(i[t]=e,!0),has:(i,t)=>i instanceof IDBTransaction&&("done"===t||"store"===t)||t in i};function Eee(i){return"function"==typeof i?function Mee(i){return i!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function xee(){return mL||(mL=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(i)?function(...t){return i.apply(lD(this),t),Ud(fL.get(this))}:function(...t){return Ud(i.apply(lD(this),t))}:function(t,...e){const n=i.call(lD(this),t,...e);return pL.set(n,t.sort?t.sort():[t]),Ud(n)}}(i):(i instanceof IDBTransaction&&function kee(i){if(rD.has(i))return;const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("complete",a),i.removeEventListener("error",o),i.removeEventListener("abort",o)},a=()=>{e(),r()},o=()=>{n(i.error||new DOMException("AbortError","AbortError")),r()};i.addEventListener("complete",a),i.addEventListener("error",o),i.addEventListener("abort",o)});rD.set(i,t)}(i),wee(i,function Fee(){return hL||(hL=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(i,sD):i)}function Ud(i){if(i instanceof IDBRequest)return function Cee(i){const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("success",a),i.removeEventListener("error",o)},a=()=>{e(Ud(i.result)),r()},o=()=>{n(i.error),r()};i.addEventListener("success",a),i.addEventListener("error",o)});return t.then(e=>{e instanceof IDBCursor&&fL.set(e,i)}).catch(()=>{}),oD.set(t,i),t}(i);if(aD.has(i))return aD.get(i);const t=Eee(i);return t!==i&&(aD.set(i,t),oD.set(t,i)),t}const lD=i=>oD.get(i),Aee=["get","getKey","getAll","getAllKeys","count"],Iee=["put","add","delete","clear"],cD=new Map;function gL(i,t){if(!(i instanceof IDBDatabase)||t in i||"string"!=typeof t)return;if(cD.get(t))return cD.get(t);const e=t.replace(/FromIndex$/,""),n=t!==e,r=Iee.includes(e);if(!(e in(n?IDBIndex:IDBObjectStore).prototype)||!r&&!Aee.includes(e))return;const a=function(){var o=Ee(function*(c,...u){const m=this.transaction(c,r?"readwrite":"readonly");let x=m.store;return n&&(x=x.index(u.shift())),(yield Promise.all([x[e](...u),r&&m.done]))[0]});return function(u){return o.apply(this,arguments)}}();return cD.set(t,a),a}function cp(){return Math.floor(Date.now()/1e3)}!function Dee(i){sD=i(sD)}(i=>({...i,get:(t,e,n)=>gL(t,e)||i.get(t,e,n),has:(t,e)=>!!gL(t,e)||i.has(t,e)}));class Lee{constructor(t){this.name=t}open(){var t=this;return Ee(function*(){t.db=yield function See(i,t,{blocked:e,upgrade:n,blocking:r,terminated:a}={}){const o=indexedDB.open(i,t),c=Ud(o);return n&&o.addEventListener("upgradeneeded",u=>{n(Ud(o.result),u.oldVersion,u.newVersion,Ud(o.transaction),u)}),e&&o.addEventListener("blocked",u=>e(u.oldVersion,u.newVersion,u)),c.then(u=>{a&&u.addEventListener("close",()=>a()),r&&u.addEventListener("versionchange",m=>r(m.oldVersion,m.newVersion,m))}).catch(()=>{}),c}(t.name,2,{upgrade(e,n,r,a,o){switch(n){case 0:!function c(){e.createObjectStore("relays",{keyPath:"url"}),e.createObjectStore("notes",{keyPath:"id"}),e.createObjectStore("circles",{keyPath:"id",autoIncrement:!0}),e.createObjectStore("state",{keyPath:"id"}),e.createObjectStore("contacts",{keyPath:"pubkey"}),e.createObjectStore("labels",{keyPath:"id"}),e.createObjectStore("notifications",{keyPath:"id"}).createIndex("created","created");const x=e.createObjectStore("events",{keyPath:"id"});x.createIndex("pubkey","pubkey"),x.createIndex("created","created_at"),x.createIndex("kind","kind"),e.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:case 2:!function u(){e.createObjectStore("badges",{keyPath:"id"})}();break;default:console.error("Unknown database version.")}},blocked(e,n,r){},blocking(e,n,r){},terminated(){}})})()}close(){this.db.close()}getState(){var t=this;return Ee(function*(){return t.db.get("state",1)})()}putState(t){var e=this;return Ee(function*(){return t.id=1,t.modified=cp(),e.db.put("state",t)})()}getCircle(t){var e=this;return Ee(function*(){return e.db.get("circles",t)})()}getCircles(){var t=this;return Ee(function*(){return t.db.getAll("circles")})()}putNote(t){var e=this;return Ee(function*(){return t.saved=cp(),e.db.put("notes",t)})()}deleteNote(t){var e=this;return Ee(function*(){return e.db.delete("notes",t)})()}putCircle(t){var e=this;return Ee(function*(){return t.modified=cp(),e.db.put("circles",t)})()}getContacts(t){var e=this;return Ee(function*(){return e.db.get("contacts",t)})()}putContacts(t){var e=this;return Ee(function*(){return e.db.put("contacts",t)})()}putNotification(t){var e=this;return Ee(function*(){return e.db.put("notifications",t)})()}deleteContacts(t){var e=this;return Ee(function*(){return e.db.delete("contacts",t)})()}getProfile(t){var e=this;return Ee(function*(){return e.db.get("profiles",t)})()}putProfile(t){var e=this;return Ee(function*(){return t.modified=cp(),e.db.put("profiles",t)})()}getBadge(t){var e=this;return Ee(function*(){return e.db.get("badges",t)})()}putBadge(t){var e=this;return Ee(function*(){return t.modified=cp(),e.db.put("badges",t)})()}getProfilesByStatus(t){var e=this;return Ee(function*(){return e.db.getAllFromIndex("profiles","status",t)})()}getProfilesByStatusCount(t){var e=this;return Ee(function*(){return e.db.countFromIndex("profiles","status",t)})()}getEvent(t){var e=this;return Ee(function*(){return e.db.get("events",t)})()}getNotification(t){var e=this;return Ee(function*(){return e.db.get("notifications",t)})()}putEvents(t){var e=this;return Ee(function*(){return e.db.put("events",t)})()}getEventsByPubKey(t,e){var n=this;return Ee(function*(){return n.db.getAllFromIndex("events","pubkey",t,e)})()}getNotifications2(t){var e=this;return Ee(function*(){return e.db.getAllFromIndex("notifications","created",void 0,t)})()}getNotifications(t){var e=this;return Ee(function*(){let n=yield e.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreated2(t,e){var n=this;return Ee(function*(){return n.db.getAllFromIndex("events","created",t,e)})()}getEventsByCreated(t){var e=this;return Ee(function*(){let n=yield e.db.transaction("events").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreatedAndKind(t,e){var n=this;return Ee(function*(){let r=yield n.db.transaction("events").store.index("created").openCursor(void 0,"prev");const a=[];let o=0;for(;r&&!(r.value.kind==e&&(a.push(r.value),o++,o>=t));)r=yield r.continue();return a})()}getRelay(t){var e=this;return Ee(function*(){return e.db.get("relays",t)})()}getRelays(){var t=this;return Ee(function*(){return t.db.getAll("relays")})()}getBadges(){var t=this;return Ee(function*(){return t.db.getAll("badges")})()}getNotes(){var t=this;return Ee(function*(){return t.db.getAll("notes")})()}putRelay(t){var e=this;return Ee(function*(){return t.modified=cp(),e.db.put("relays",t)})()}deleteCircle(t){var e=this;return Ee(function*(){return e.db.delete("circles",t)})()}deleteProfile(t){var e=this;return Ee(function*(){return e.db.delete("profiles",t)})()}deleteRelay(t){var e=this;return Ee(function*(){return e.db.delete("relays",t)})()}deleteRelays(){var t=this;return Ee(function*(){return t.db.clear("relays")})()}deleteNotes(){var t=this;return Ee(function*(){return t.db.clear("notes")})()}deleteNotesByAuthor(t){var e=this;return Ee(function*(){e.db.transaction("events","readwrite").store.index("pubkey").openCursor(t).then(function(){var o=Ee(function*(c){for(;c;)c.delete(),c=yield c.continue()});return function(c){return o.apply(this,arguments)}}())})()}deleteNotifications(){var t=this;return Ee(function*(){return t.db.clear("notifications")})()}delete(){var t=this;return Ee(function*(){yield function Tee(i,{blocked:t}={}){const e=indexedDB.deleteDatabase(i);return t&&e.addEventListener("blocked",n=>t(n.oldVersion,n)),Ud(e).then(()=>{})}(t.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(t){var e=this;return Ee(function*(){return e.db.get("labels",t)})()}getLabels(){var t=this;return Ee(function*(){return t.db.getAll("labels")})()}putLabel(t){var e=this;return Ee(function*(){return e.db.put("labels",t)})()}deleteLabel(t){var e=this;return Ee(function*(){return e.db.delete("labels",t)})()}}var uv=I(5439);class ua{constructor(t){this.appState=t}initialize(t){var e=this;return Ee(function*(){e.storage=new Lee("blockcore-notes-"+e.appState.getPublicKey()),yield e.storage.open();let n=yield e.storage.getState();n||(n={id:1,since:uv().subtract(2,"days").unix()}),e.state=n,setTimeout(Ee(function*(){console.log("Persisting state...");const r=uv().subtract(10,"minutes").unix();e.state.since=r,yield e.storage.putState(e.state)}),6e4)})()}clearAndReload(){var t=this;return Ee(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield t.delete()}catch(e){console.error(e)}})()}close(){try{this.storage.close()}catch(t){console.error("Failed to close storage.",t)}}delete(){var t=this;return Ee(function*(){yield t.storage.delete()})()}}ua.\u0275fac=function(t){return new(t||ua)(Fe(Xi))},ua.\u0275prov=Ke({token:ua,factory:ua.\u0275fac,providedIn:"root"});class Ro{constructor(t){this.validator=t}processEvent(t){let e;return t?(e=t.kind==jn.Contacts?this.validator.validateContacts(t):this.validator.validateEvent(t),e?(e=this.validator.sanitizeEvent(e),e||null):(console.log("INVALID EVENT!"),null)):null}getPublicKeyAndEventTags(t){return t?t.filter(n=>"e"===n[0]||"p"===n[0]):[]}lastETag(t){const e=this.eTags(t);if(0!=e.length)return e[e.length-1][1]}titleTag(t){const e=this.tagsOfType(t,"title");if(0!=e.length)return e[e.length-1][1]}firstATag(t){const e=this.tagsOfType(t,"a");if(0!=e.length)return e[0][1]}firstDTag(t){const e=this.tagsOfType(t,"d");if(0!=e.length)return e[0][1]}lastTagOfType(t,e){const n=this.tagsOfType(t,e);if(0!=n.length)return n[n.length-1][1]}hashTags(t){return this.tagsOfTypeValues(t,"t")}tagsOfType(t,e){return t?t.tags.filter(r=>r[0]===e):[]}tagsOfTypeValues(t,e){return t?t.tags.filter(r=>r[0]===e).map(r=>r[1]):[]}eTags(t){return t?t.tags.filter(n=>"e"===n[0]):[]}pTags(t){return t?t.tags.filter(n=>"p"===n[0]):[]}parentEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);return 0!=e.length?e[e.length-1][1]:void 0}rootEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"root"==r[3])return r[1]}return 0==e.length?null:e[0][1]}replyEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"reply"==r[3])return r[1]}return e.length<2?null:e[1][1]}}Ro.\u0275fac=function(t){return new(t||Ro)(Fe(ts))},Ro.\u0275prov=Ke({token:Ro,factory:Ro.\u0275fac,providedIn:"root"});class ac{get editable(){return this.definitions.filter(e=>e.pubkey==this.appState.getPublicKey())}constructor(t,e,n,r,a){this.queueService=t,this.storage=e,this.appState=n,this.utilities=r,this.eventService=a,this.definitions=[]}getDefinition(t){return this.definitions.find(e=>e.slug==t)}initialize(){var t=this;return Ee(function*(){const e=yield t.storage.storage.getBadges();e.length>0&&(t.definitions=t.convert(e))})()}convert(t){const e=[];for(let n=0;na.id==n.id);if(r>-1){if(e.definitions[r].created_at>n.created_at)return;e.definitions[r]=n,yield e.saveDefinition(n)}else e.definitions.push(n),yield e.saveDefinition(n)})()}saveDefinition(t){var e=this;return Ee(function*(){let n={id:t.id,slug:t.slug,pubkey:t.pubkey,created:t.created_at,created_at:t.created_at,description:t.description,name:t.name,thumb:t.thumb,image:t.image,hashtags:t.hashtags};yield e.storage.storage.putBadge(n)})()}}ac.\u0275fac=function(t){return new(t||ac)(Fe(Oo),Fe(ua),Fe(Xi),Fe(Qi),Fe(Ro))},ac.\u0275prov=Ke({token:ac,factory:ac.\u0275fac,providedIn:"root"});class hv{}class E_{}class qc{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>0){const r=e.slice(0,n),a=r.toLowerCase(),o=e.slice(n+1).trim();this.maybeSetNormalizedName(r,a),this.headers.has(a)?this.headers.get(a).push(o):this.headers.set(a,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof qc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new qc;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof qc?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const a=t.value;if(a){let o=this.headers.get(e);if(!o)return;o=o.filter(c=>-1===a.indexOf(c)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Nee{encodeKey(t){return _L(t)}encodeValue(t){return _L(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Ree=/%(\d[a-f0-9])/gi,Pee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _L(i){return encodeURIComponent(i).replace(Ree,(t,e)=>Pee[e]??t)}function mv(i){return`${i}`}class Wd{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Nee,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oee(i,t){const e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{const a=r.indexOf("="),[o,c]=-1==a?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,a)),t.decodeValue(r.slice(a+1))],u=e.get(o)||[];u.push(c),e.set(o,u)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e],r=Array.isArray(n)?n.map(mv):[mv(n)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Wd({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(mv(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const r=n.indexOf(mv(t.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Bee{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function bL(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function yL(i){return typeof Blob<"u"&&i instanceof Blob}function vL(i){return typeof FormData<"u"&&i instanceof FormData}class am{constructor(t,e,n,r){let a;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Hee(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new qc),this.context||(this.context=new Bee),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":cP.set(K,t.setHeaders[K]),u)),t.setParams&&(m=Object.keys(t.setParams).reduce((P,K)=>P.set(K,t.setParams[K]),m)),new am(e,n,a,{params:m,headers:u,context:x,reportProgress:c,responseType:r,withCredentials:o})}}var Xa=(()=>((Xa=Xa||{})[Xa.Sent=0]="Sent",Xa[Xa.UploadProgress=1]="UploadProgress",Xa[Xa.ResponseHeader=2]="ResponseHeader",Xa[Xa.DownloadProgress=3]="DownloadProgress",Xa[Xa.Response=4]="Response",Xa[Xa.User=5]="User",Xa))();class dD{constructor(t,e=200,n="OK"){this.headers=t.headers||new qc,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class uD extends dD{constructor(t={}){super(t),this.type=Xa.ResponseHeader}clone(t={}){return new uD({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class dp extends dD{constructor(t={}){super(t),this.type=Xa.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new dp({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class wL extends dD{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function hD(i,t){return{body:t,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials}}let S_=(()=>{class i{constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof am)a=e;else{let u,m;u=r.headers instanceof qc?r.headers:new qc(r.headers),r.params&&(m=r.params instanceof Wd?r.params:new Wd({fromObject:r.params})),a=new am(e,n,void 0!==r.body?r.body:null,{headers:u,context:r.context,params:m,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=Ht(a).pipe(Bc(u=>this.handler.handle(u)));if(e instanceof am||"events"===r.observe)return o;const c=o.pipe(qi(u=>u instanceof dp));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(_t(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(_t(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(_t(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return c.pipe(_t(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:(new Wd).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,hD(r,n))}post(e,n,r={}){return this.request("POST",e,hD(r,n))}put(e,n,r={}){return this.request("PUT",e,hD(r,n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(hv))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();function FL(i,t){return t(i)}function Yee(i,t){return(e,n)=>t.intercept(e,{handle:r=>i(r,n)})}const zee=new Ze("HTTP_INTERCEPTORS"),T_=new Ze("HTTP_INTERCEPTOR_FNS");function Uee(){let i=null;return(t,e)=>(null===i&&(i=(ii(zee,{optional:!0})??[]).reduceRight(Yee,FL)),i(t,e))}let xL=(()=>{class i extends hv{constructor(e,n){super(),this.backend=e,this.injector=n,this.chain=null}handle(e){if(null===this.chain){const n=Array.from(new Set(this.injector.get(T_)));this.chain=n.reduceRight((r,a)=>function jee(i,t,e){return(n,r)=>e.runInContext(()=>t(n,a=>i(a,r)))}(r,a,this.injector),FL)}return this.chain(e,n=>this.backend.handle(n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(E_),Fe(Cc))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const $ee=/^\)\]\}',?\n/;let kL=(()=>{class i{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ht(n=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((ne,pe)=>r.setRequestHeader(ne,pe.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const ne=e.detectContentTypeHeader();null!==ne&&r.setRequestHeader("Content-Type",ne)}if(e.responseType){const ne=e.responseType.toLowerCase();r.responseType="json"!==ne?ne:"text"}const a=e.serializeBody();let o=null;const c=()=>{if(null!==o)return o;const ne=r.statusText||"OK",pe=new qc(r.getAllResponseHeaders()),ye=function Kee(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new uD({headers:pe,status:r.status,statusText:ne,url:ye}),o},u=()=>{let{headers:ne,status:pe,statusText:ye,url:Ie}=c(),Le=null;204!==pe&&(Le=typeof r.response>"u"?r.responseText:r.response),0===pe&&(pe=Le?200:0);let it=pe>=200&&pe<300;if("json"===e.responseType&&"string"==typeof Le){const Be=Le;Le=Le.replace($ee,"");try{Le=""!==Le?JSON.parse(Le):null}catch(ut){Le=Be,it&&(it=!1,Le={error:ut,text:Le})}}it?(n.next(new dp({body:Le,headers:ne,status:pe,statusText:ye,url:Ie||void 0})),n.complete()):n.error(new wL({error:Le,headers:ne,status:pe,statusText:ye,url:Ie||void 0}))},m=ne=>{const{url:pe}=c(),ye=new wL({error:ne,status:r.status||0,statusText:r.statusText||"Unknown Error",url:pe||void 0});n.error(ye)};let x=!1;const P=ne=>{x||(n.next(c()),x=!0);let pe={type:Xa.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(pe.total=ne.total),"text"===e.responseType&&r.responseText&&(pe.partialText=r.responseText),n.next(pe)},K=ne=>{let pe={type:Xa.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(pe.total=ne.total),n.next(pe)};return r.addEventListener("load",u),r.addEventListener("error",m),r.addEventListener("timeout",m),r.addEventListener("abort",m),e.reportProgress&&(r.addEventListener("progress",P),null!==a&&r.upload&&r.upload.addEventListener("progress",K)),r.send(a),n.next({type:Xa.Sent}),()=>{r.removeEventListener("error",m),r.removeEventListener("abort",m),r.removeEventListener("load",u),r.removeEventListener("timeout",m),e.reportProgress&&(r.removeEventListener("progress",P),null!==a&&r.upload&&r.upload.removeEventListener("progress",K)),r.readyState!==r.DONE&&r.abort()}})}}return i.\u0275fac=function(e){return new(e||i)(Fe(QA))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const mD=new Ze("XSRF_ENABLED"),DL=new Ze("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ML=new Ze("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class EL{}let Xee=(()=>{class i{constructor(e,n,r){this.doc=e,this.platform=n,this.cookieName=r,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=PA(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi),Fe(Sc),Fe(DL))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();function Jee(i,t){const e=i.url.toLowerCase();if(!ii(mD)||"GET"===i.method||"HEAD"===i.method||e.startsWith("http://")||e.startsWith("https://"))return t(i);const n=ii(EL).getToken(),r=ii(ML);return null!=n&&!i.headers.has(r)&&(i=i.clone({headers:i.headers.set(r,n)})),t(i)}var Oa=(()=>((Oa=Oa||{})[Oa.Interceptors=0]="Interceptors",Oa[Oa.LegacyInterceptors=1]="LegacyInterceptors",Oa[Oa.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Oa[Oa.NoXsrfProtection=3]="NoXsrfProtection",Oa[Oa.JsonpSupport=4]="JsonpSupport",Oa[Oa.RequestsMadeViaParent=5]="RequestsMadeViaParent",Oa))();function up(i,t){return{\u0275kind:i,\u0275providers:t}}function ete(...i){const t=[S_,kL,xL,{provide:hv,useExisting:xL},{provide:E_,useExisting:kL},{provide:T_,useValue:Jee,multi:!0},{provide:mD,useValue:!0},{provide:EL,useClass:Xee}];for(const e of i)t.push(...e.\u0275providers);return function N7(i){return{\u0275providers:i}}(t)}const SL=new Ze("LEGACY_INTERCEPTOR_FN");let TL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[ete(up(Oa.LegacyInterceptors,[{provide:SL,useFactory:Uee},{provide:T_,useExisting:SL,multi:!0}]))]}),i})(),AL={},IL={};function nte(i){let t=[],e=0,n=0;for(let r=0;r>>=1,t.push(c?0===n?-2147483648:-n:n),n=e=0}}return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(i,t){AL[i]=t,IL[t]=i});const fv="TOKEN_LOGGER_CONFIG";class rte{constructor(t){this.config=this._clone(t)}get level(){return this.config.level}get serverLogLevel(){return this.config.serverLogLevel}updateConfig(t){this.config=this._clone(t)}partialUpdateConfig(t){t&&Object.keys(t).forEach(e=>{this.config[e]=t[e]})}getConfig(){return this._clone(this.config)}_clone(t){const e={level:null};return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}}const A_="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class ate{provideConfigEngine(t){return new rte(t)}}const I_="TOKEN_LOGGER_MAPPER_SERVICE";let ote=(()=>{class i{constructor(e){this.httpBackend=e,this.sourceMapCache=new Map,this.logPositionCache=new Map}getLogPosition(e,n){const r=this.getStackLine(e);if(!r)return Ht({fileName:"",lineNumber:0,columnNumber:0});const a=this.getLocalPosition(r);if(!e.enableSourceMaps)return Ht(a);const o=this.getSourceMapLocation(r);return this.getSourceMap(o,a)}getStackLine(e){const n=new Error;try{throw n}catch{try{let a=4;return n.stack.split("\n")[0].includes(".js:")||(a+=1),n.stack.split("\n")[a+(e.proxiedSteps||0)]}catch{return null}}}getLocalPosition(e){const n=e.lastIndexOf("/");let r=e.indexOf(")");r<0&&(r=void 0);const o=e.substring(n+1,r).split(":");return 3===o.length?{fileName:o[0],lineNumber:+o[1],columnNumber:+o[2]}:{fileName:"unknown",lineNumber:0,columnNumber:0}}getTranspileLocation(e){let n=e.indexOf("(");n<0&&(n=e.lastIndexOf("@"),n<0&&(n=e.lastIndexOf(" ")));let r=e.indexOf(")");return r<0&&(r=void 0),e.substring(n+1,r)}getSourceMapLocation(e){const n=this.getTranspileLocation(e),r=n.substring(0,n.lastIndexOf(":"));return r.substring(0,r.lastIndexOf(":"))+".map"}getMapping(e,n){let r=0,a=0,o=0;const c=e.mappings.split(";");for(let u=0;u=4&&(m+=K[0],r+=K[1],a+=K[2],o+=K[3]),u===n.lineNumber){if(m===n.columnNumber)return{fileName:e.sources[r],lineNumber:a,columnNumber:o};if(P+1===x.length)return{fileName:e.sources[r],lineNumber:a,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(e,n){const r=new am("GET",e),a=`${n.fileName}:${n.lineNumber}:${n.columnNumber}`;if(this.logPositionCache.has(a))return this.logPositionCache.get(a);this.sourceMapCache.has(e)||(this.httpBackend?this.sourceMapCache.set(e,this.httpBackend.handle(r).pipe(qi(c=>c instanceof dp),_t(c=>c.body),function ite(i=1/0){let t;t=i&&"object"==typeof i?i:{count:i};const{count:e=1/0,delay:n,resetOnSuccess:r=!1}=t;return e<=0?Ye:Yt((a,o)=>{let u,c=0;const m=()=>{let x=!1;u=a.subscribe(jt(o,P=>{r&&(c=0),o.next(P)},void 0,P=>{if(c++{u?(u.unsubscribe(),u=null,m()):x=!0};if(null!=n){const ne="number"==typeof n?Gg(n):cn(n(P,c)),pe=jt(o,()=>{pe.unsubscribe(),K()},()=>{o.complete()});ne.subscribe(pe)}else K()}else o.error(P)})),x&&(u.unsubscribe(),u=null,m())};m()})}(3),Kh(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(e,Ht(null))));const o=this.sourceMapCache.get(e).pipe(_t(c=>c?this.getMapping(c,n):n),es(()=>Ht(n)),Kh(1));return this.logPositionCache.set(a,o),o}}return i.\u0275fac=function(e){return new(e||i)(Fe(E_,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const L_="TOKEN_LOGGER_METADATA_SERVICE";let ste=(()=>{class i{constructor(e){this.datePipe=e}computeTimestamp(e){const n=()=>(new Date).toISOString();return e.timestampFormat?this.datePipe?this.datePipe.transform(new Date,e.timestampFormat):(console.error("NGXLogger : Can't use timeStampFormat because DatePipe is not provided. You need to provide DatePipe"),n()):n()}getMetadata(e,n,r,a){const o={level:e,additional:a};return o.message=r&&"function"==typeof r?r():r,o.timestamp=this.computeTimestamp(n),o}}return i.\u0275fac=function(e){return new(e||i)(Fe(Wx,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const N_="TOKEN_LOGGER_RULES_SERVICE";let lte=(()=>{class i{shouldCallWriter(e,n,r,a){return!n.disableConsoleLogging&&e>=n.level}shouldCallServer(e,n,r,a){return!!n.serverLoggingUrl&&e>=n.serverLogLevel}shouldCallMonitor(e,n,r,a){return this.shouldCallWriter(e,n,r,a)||this.shouldCallServer(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const O_="TOKEN_LOGGER_SERVER_SERVICE";let cte=(()=>{class i{constructor(e){this.httpBackend=e}secureErrorObject(e){return e?.stack}secureAdditionalParameters(e){return null==e?null:e.map((n,r)=>{try{return n instanceof Error?this.secureErrorObject(n):("object"==typeof n&&JSON.stringify(n),n)}catch{return`The additional[${r}] value could not be parsed using JSON.stringify().`}})}secureMessage(e){try{if(e instanceof Error)return this.secureErrorObject(e);"string"!=typeof e&&(e=JSON.stringify(e,null,2))}catch{e='The provided "message" value could not be parsed with JSON.stringify().'}return e}alterHttpRequest(e){return e}logOnServer(e,n,r){if(!this.httpBackend)return console.error("NGXLogger : Can't log on server because HttpBackend is not provided. You need to import HttpClientModule"),Ht(null);let a=new am("POST",e,n,r||{}),o=Ht(a);const c=this.alterHttpRequest(a);return ic(c)?o=c:c?o=Ht(c):console.warn("NGXLogger : alterHttpRequest returned an invalid request. Using default one instead"),o.pipe(Bc(u=>u?this.httpBackend.handle(u):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(a))),qi(u=>u instanceof dp),_t(u=>u.body))}customiseRequestBody(e){return e}sendToServer(e,n){const r={...e};r.additional=this.secureAdditionalParameters(r.additional),r.message=this.secureMessage(r.message);const a=this.customiseRequestBody(r),o=n.customHttpHeaders||new qc;o.has("Content-Type")||o.set("Content-Type","application/json"),this.logOnServer(n.serverLoggingUrl,a,{headers:o,params:n.customHttpParams||new Wd,responseType:n.httpResponseType||"json",withCredentials:n.withCredentials||!1}).pipe(es(c=>(console.error("NGXLogger: Failed to log on server",c),Mu(c)))).subscribe()}}return i.\u0275fac=function(e){return new(e||i)(Fe(E_,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const hp="TOKEN_LOGGER_WRITER_SERVICE";var Kr=(()=>(function(i){i[i.TRACE=0]="TRACE",i[i.DEBUG=1]="DEBUG",i[i.INFO=2]="INFO",i[i.LOG=3]="LOG",i[i.WARN=4]="WARN",i[i.ERROR=5]="ERROR",i[i.FATAL=6]="FATAL",i[i.OFF=7]="OFF"}(Kr||(Kr={})),Kr))();const dte=["purple","teal","gray","gray","red","red","red"];let NL=(()=>{class i{constructor(e){this.platformId=e,this.prepareMetaStringFuncs=[this.getTimestampToWrite,this.getLevelToWrite,this.getFileDetailsToWrite,this.getContextToWrite],this.isIE=kd(e)&&navigator&&navigator.userAgent&&!(-1===navigator.userAgent.indexOf("MSIE")&&!navigator.userAgent.match(/Trident\//)&&!navigator.userAgent.match(/Edge\//)),this.logFunc=this.isIE?this.logIE.bind(this):this.logModern.bind(this)}getTimestampToWrite(e,n){return e.timestamp}getLevelToWrite(e,n){return Kr[e.level]}getFileDetailsToWrite(e,n){return!0===n.disableFileDetails?"":`[${e.fileName}:${e.lineNumber}:${e.columnNumber}]`}getContextToWrite(e,n){return n.context?`{${n.context}}`:""}prepareMetaString(e,n){let r="";return this.prepareMetaStringFuncs.forEach(a=>{const o=a(e,n);o&&(r=r+" "+o)}),r.trim()}getColor(e,n){if(e.level!==Kr.OFF)return(n.colorScheme??dte)[e.level]}logIE(e,n,r){const a=e.additional||[];switch(e.level){case Kr.WARN:console.warn(`${r} `,e.message,...a);break;case Kr.ERROR:case Kr.FATAL:console.error(`${r} `,e.message,...a);break;case Kr.INFO:console.info(`${r} `,e.message,...a);break;default:console.log(`${r} `,e.message,...a)}}logModern(e,n,r){const a=this.getColor(e,n),o=e.additional||[];switch(e.level){case Kr.WARN:console.warn(`%c${r}`,`color:${a}`,e.message,...o);break;case Kr.ERROR:case Kr.FATAL:console.error(`%c${r}`,`color:${a}`,e.message,...o);break;case Kr.INFO:console.info(`%c${r}`,`color:${a}`,e.message,...o);break;case Kr.DEBUG:console.debug(`%c${r}`,`color:${a}`,e.message,...o);break;default:console.log(`%c${r}`,`color:${a}`,e.message,...o)}}writeMessage(e,n){const r=this.prepareMetaString(e,n);this.logFunc(e,n,r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Sc))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),pv=(()=>{class i{constructor(e,n,r,a,o,c,u){this.metadataService=r,this.ruleService=a,this.mapperService=o,this.writerService=c,this.serverService=u,this.configEngine=n.provideConfigEngine(e)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(e,...n){this._log(Kr.TRACE,e,n)}debug(e,...n){this._log(Kr.DEBUG,e,n)}info(e,...n){this._log(Kr.INFO,e,n)}log(e,...n){this._log(Kr.LOG,e,n)}warn(e,...n){this._log(Kr.WARN,e,n)}error(e,...n){this._log(Kr.ERROR,e,n)}fatal(e,...n){this._log(Kr.FATAL,e,n)}setCustomHttpHeaders(e){const n=this.getConfigSnapshot();n.customHttpHeaders=e,this.updateConfig(n)}setCustomParams(e){const n=this.getConfigSnapshot();n.customHttpParams=e,this.updateConfig(n)}setWithCredentialsOptionValue(e){const n=this.getConfigSnapshot();n.withCredentials=e,this.updateConfig(n)}registerMonitor(e){this._loggerMonitor=e}updateConfig(e){this.configEngine.updateConfig(e)}partialUpdateConfig(e){this.configEngine.partialUpdateConfig(e)}getConfigSnapshot(){return this.configEngine.getConfig()}_log(e,n,r=[]){const a=this.configEngine.getConfig(),o=this.ruleService.shouldCallWriter(e,a,n,r),c=this.ruleService.shouldCallServer(e,a,n,r),u=this.ruleService.shouldCallMonitor(e,a,n,r);if(!o&&!c&&!u)return;const m=this.metadataService.getMetadata(e,a,n,r);this.mapperService.getLogPosition(a,m).pipe(rn(1)).subscribe(x=>{x&&(m.fileName=x.fileName,m.lineNumber=x.lineNumber,m.columnNumber=x.columnNumber),u&&this._loggerMonitor&&this._loggerMonitor.onLog(m,a),o&&this.writerService.writeMessage(m,a),c&&this.serverService.sendToServer(m,a)})}}return i.\u0275fac=function(e){return new(e||i)(Fe(fv),Fe(A_),Fe(L_),Fe(N_),Fe(I_),Fe(hp),Fe(O_))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),ute=(()=>{class i{constructor(e,n,r,a,o,c,u){this.logger=e,this.configEngineFactory=n,this.metadataService=r,this.ruleService=a,this.mapperService=o,this.writerService=c,this.serverService=u}create(e,n,r,a){return this.getNewInstance({config:e,serverService:n,logMonitor:r,mapperService:a})}getNewInstance(e){const n=new pv(e?.config??this.logger.getConfigSnapshot(),e?.configEngineFactory??this.configEngineFactory,e?.metadataService??this.metadataService,e?.ruleService??this.ruleService,e?.mapperService??this.mapperService,e?.writerService??this.writerService,e?.serverService??this.serverService);return e?.partialConfig&&n.partialUpdateConfig(e.partialConfig),e?.logMonitor&&n.registerMonitor(e.logMonitor),n}}return i.\u0275fac=function(e){return new(e||i)(Fe(pv),Fe(A_),Fe(L_),Fe(N_),Fe(I_),Fe(hp),Fe(O_))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),hte=(()=>{class i{static forRoot(e,n){if(n||(n={}),n.configProvider){if(n.configProvider.provide!==fv)throw new Error(`Wrong injection token for configProvider, it should be ${fv} and you used ${n.configProvider.provide}`)}else n.configProvider={provide:fv,useValue:e||{}};if(n.configEngineFactoryProvider){if(n.configEngineFactoryProvider.provide!==A_)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${A_}' and you used '${n.configEngineFactoryProvider.provide}'`)}else n.configEngineFactoryProvider={provide:A_,useClass:ate};if(n.metadataProvider){if(n.metadataProvider.provide!==L_)throw new Error(`Wrong injection token for metadataProvider, it should be '${L_}' and you used '${n.metadataProvider.provide}'`)}else n.metadataProvider={provide:L_,useClass:ste};if(n.ruleProvider){if(n.ruleProvider.provide!==N_)throw new Error(`Wrong injection token for ruleProvider, it should be '${N_}' and you used '${n.ruleProvider.provide}'`)}else n.ruleProvider={provide:N_,useClass:lte};if(n.mapperProvider){if(n.mapperProvider.provide!==I_)throw new Error(`Wrong injection token for mapperProvider, it should be '${I_}' and you used '${n.mapperProvider.provide}'`)}else n.mapperProvider={provide:I_,useClass:ote};if(n.writerProvider){if(n.writerProvider.provide!==hp)throw new Error(`Wrong injection token for writerProvider, it should be '${hp}' and you used '${n.writerProvider.provide}'`)}else n.writerProvider={provide:hp,useClass:NL};if(n.serverProvider){if(n.serverProvider.provide!==O_)throw new Error(`Wrong injection token for serverProvider, it should be '${O_}' and you used '${n.writerProvider.provide}'`)}else n.serverProvider={provide:O_,useClass:cte};return{ngModule:i,providers:[pv,n.configProvider,n.configEngineFactoryProvider,n.metadataProvider,n.ruleProvider,n.mapperProvider,n.writerProvider,n.serverProvider,ute]}}static forChild(){return{ngModule:i}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();class mp{constructor(t){this.logger=t}enableDebug(){this.logger.updateConfig({level:Kr.TRACE})}disableDebug(){this.logger.updateConfig({level:Kr.INFO})}trace(t,...e){this.logger.trace(t,...e)}debug(t,...e){this.logger.debug(t,...e)}info(t,...e){this.logger.info(t,...e)}log(t,...e){this.logger.log(t,...e)}warn(t,...e){this.logger.warn(t,...e)}error(t,...e){this.logger.error(t,...e)}fatal(t,...e){this.logger.fatal(t,...e)}}mp.\u0275fac=function(t){return new(t||mp)(Fe(pv))},mp.\u0275prov=Ke({token:mp,factory:mp.\u0275fac,providedIn:"root"});class om{constructor(t,e,n){this.appState=t,this.utilities=e,this.eventService=n,this.articles=[]}get(t){return this.articles.find(e=>e.slug==t)}put(t){const e=t;e.slug=this.eventService.firstDTag(t),e.title=this.eventService.lastTagOfType(t,"title"),e.summary=this.eventService.lastTagOfType(t,"summary"),e.image=this.eventService.lastTagOfType(t,"image"),e.metatags=this.eventService.tagsOfTypeValues(t,"t");const n=this.eventService.lastTagOfType(t,"published_at");if(n&&(e.published_at=Number(n)),e.pubkey==this.appState.getPublicKey()){const r=this.articles.findIndex(a=>a.slug==e.slug);if(r>-1){if(this.articles[r].created_at>e.created_at)return;this.articles[r]=e}else this.articles.push(e)}}}om.\u0275fac=function(t){return new(t||om)(Fe(Xi),Fe(Qi),Fe(Ro))},om.\u0275prov=Ke({token:om,factory:om.\u0275fac,providedIn:"root"});const OL=Dd({passive:!0});let mte=(()=>{class i{constructor(e,n){this._platform=e,this._ngZone=n,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return dn;const n=Ed(e),r=this._monitoredElements.get(n);if(r)return r.subject;const a=new He,o="cdk-text-field-autofilled",c=u=>{"cdk-text-field-autofill-start"!==u.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===u.animationName&&n.classList.contains(o)&&(n.classList.remove(o),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!1}))):(n.classList.add(o),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",c,OL),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",c,OL)}}),a}stopMonitoring(e){const n=Ed(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hn),Fe(Rt))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),fD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),RL=(()=>{class i{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return i.\u0275fac=function(e){return new(e||i)(k(zs),k(pt))},i.\u0275dir=Oe({type:i}),i})(),sm=(()=>{class i extends RL{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,features:[st]}),i})();const Ca=new Ze("NgValueAccessor"),pte={provide:Ca,useExisting:hi(()=>ka),multi:!0},_te=new Ze("CompositionEventMode");let ka=(()=>{class i extends RL{constructor(e,n,r){super(e,n),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function gte(){const i=Fd()?Fd().getUserAgent():"";return/android (\d+)/.test(i.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 i.\u0275fac=function(e){return new(e||i)(k(zs),k(pt),k(_te,8))},i.\u0275dir=Oe({type:i,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,n){1&e&&fe("input",function(a){return n._handleInput(a.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(a){return n._compositionEnd(a.target.value)})},features:[Nt([pte]),st]}),i})();const bte=!1;function Wu(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function BL(i){return null!=i&&"number"==typeof i.length}const Ja=new Ze("NgValidators"),Gu=new Ze("NgAsyncValidators"),yte=/^(?=.{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 Po{static min(t){return function HL(i){return t=>{if(Wu(t.value)||Wu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Wu(t.value)||Wu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}(t)}static required(t){return YL(t)}static requiredTrue(t){return function jL(i){return!0===i.value?null:{required:!0}}(t)}static email(t){return function zL(i){return Wu(i.value)||yte.test(i.value)?null:{email:!0}}(t)}static minLength(t){return function UL(i){return t=>Wu(t.value)||!BL(t.value)?null:t.value.lengthBL(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static pattern(t){return function GL(i){if(!i)return gv;let t,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(Wu(n.value))return null;const r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return XL(t)}static composeAsync(t){return JL(t)}}function YL(i){return Wu(i.value)?{required:!0}:null}function gv(i){return null}function qL(i){return null!=i}function $L(i){const t=Fg(i)?ar(i):i;if(bte&&!zF(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof i&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new tt(-1101,e)}return t}function KL(i){let t={};return i.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function ZL(i,t){return t.map(e=>e(i))}function QL(i){return i.map(t=>function vte(i){return!i.validate}(t)?t:e=>t.validate(e))}function XL(i){if(!i)return null;const t=i.filter(qL);return 0==t.length?null:function(e){return KL(ZL(e,t))}}function pD(i){return null!=i?XL(QL(i)):null}function JL(i){if(!i)return null;const t=i.filter(qL);return 0==t.length?null:function(e){return fk(ZL(e,t).map($L)).pipe(_t(KL))}}function gD(i){return null!=i?JL(QL(i)):null}function eN(i,t){return null===i?[t]:Array.isArray(i)?[...i,t]:[i,t]}function tN(i){return i._rawValidators}function iN(i){return i._rawAsyncValidators}function _D(i){return i?Array.isArray(i)?i:[i]:[]}function _v(i,t){return Array.isArray(i)?i.includes(t):i===t}function nN(i,t){const e=_D(t);return _D(i).forEach(r=>{_v(e,r)||e.push(r)}),e}function rN(i,t){return _D(t).filter(e=>!_v(i,e))}class aN{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=pD(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=gD(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class fs extends aN{get formDirective(){return null}get path(){return null}}class oc extends aN{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class oN{constructor(t){this._cd=t}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 ha=(()=>{class i extends oN{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(k(oc,2))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[st]}),i})(),qu=(()=>{class i extends oN{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(k(fs,10))},i.\u0275dir=Oe({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[st]}),i})();function sN(i,t){return i?`with name: '${t}'`:`at index: ${t}`}const vD=!1,R_="VALID",yv="INVALID",fp="PENDING",P_="DISABLED";function wD(i){return(vv(i)?i.validators:i)||null}function FD(i,t){return(vv(t)?t.asyncValidators:i)||null}function vv(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}function lN(i,t,e){const n=i.controls;if(!(t?Object.keys(n):n).length)throw new tt(1e3,vD?function Cte(i){return`\n There are no form controls registered with this ${i?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!n[e])throw new tt(1001,vD?function kte(i,t){return`Cannot find form control ${sN(i,t)}`}(t,e):"")}function cN(i,t,e){i._forEachChild((n,r)=>{if(void 0===e[r])throw new tt(1002,vD?function Dte(i,t){return`Must supply a value for form control ${sN(i,t)}`}(t,r):"")})}class wv{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===R_}get invalid(){return this.status===yv}get pending(){return this.status==fp}get disabled(){return this.status===P_}get enabled(){return this.status!==P_}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nN(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nN(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(rN(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(rN(t,this._rawAsyncValidators))}hasValidator(t){return _v(this._rawValidators,t)}hasAsyncValidator(t){return _v(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=fp,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=P_,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=R_,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===R_||this.status===fp)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?P_:R_}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=fp,this._hasOwnPendingAsyncValidator=!0;const e=$L(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new lt,this.statusChanges=new lt}_calculateStatus(){return this._allControlsDisabled()?P_:this.errors?yv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fp)?fp:this._anyControlsHaveStatus(yv)?yv:R_}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){vv(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Mte(i){return Array.isArray(i)?pD(i):i||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Ete(i){return Array.isArray(i)?gD(i):i||null}(this._rawAsyncValidators)}}class B_ extends wv{constructor(t,e,n){super(wD(e),FD(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){cN(this,!0,t),Object.keys(t).forEach(n=>{lN(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{const r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>!!n._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class dN extends B_{}const lm=new Ze("CallSetDisabledState",{providedIn:"root",factory:()=>H_}),H_="always";function Fv(i,t){return[...t.path,i]}function V_(i,t,e=H_){xD(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(i.disabled),function Tte(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&uN(i,t)})}(i,t),function Ite(i,t){const e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,t),function Ate(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&uN(i,t),"submit"!==i.updateOn&&i.markAsTouched()})}(i,t),function Ste(i,t){if(t.valueAccessor.setDisabledState){const e=n=>{t.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,t)}function xv(i,t,e=!0){const n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),kv(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Cv(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function xD(i,t){const e=tN(i);null!==t.validator?i.setValidators(eN(e,t.validator)):"function"==typeof e&&i.setValidators([e]);const n=iN(i);null!==t.asyncValidator?i.setAsyncValidators(eN(n,t.asyncValidator)):"function"==typeof n&&i.setAsyncValidators([n]);const r=()=>i.updateValueAndValidity();Cv(t._rawValidators,r),Cv(t._rawAsyncValidators,r)}function kv(i,t){let e=!1;if(null!==i){if(null!==t.validator){const r=tN(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.validator);a.length!==r.length&&(e=!0,i.setValidators(a))}}if(null!==t.asyncValidator){const r=iN(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.asyncValidator);a.length!==r.length&&(e=!0,i.setAsyncValidators(a))}}}const n=()=>{};return Cv(t._rawValidators,n),Cv(t._rawAsyncValidators,n),e}function uN(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function hN(i,t){xD(i,t)}function kD(i,t){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function mN(i,t){i._syncPendingControls(),t.forEach(e=>{const n=e.control;"submit"===n.updateOn&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function DD(i,t){if(!t)return null;let e,n,r;return Array.isArray(t),t.forEach(a=>{a.constructor===ka?e=a:function Ote(i){return Object.getPrototypeOf(i.constructor)===sm}(a)?n=a:r=a}),r||n||e||null}const Pte={provide:fs,useExisting:hi(()=>$c)},Y_=(()=>Promise.resolve())();let $c=(()=>{class i extends fs{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new lt,this.form=new B_({},pD(e),gD(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Y_.then(()=>{const n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),V_(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Y_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Y_.then(()=>{const n=this._findContainer(e.path),r=new B_({});hN(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Y_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Y_.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,mN(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}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 i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Gu,10),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,n){1&e&&fe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nt([Pte]),st]}),i})();function fN(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}function pN(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const $u=class extends wv{constructor(t=null,e,n){super(wD(e),FD(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vv(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=pN(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){fN(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){fN(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){pN(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Vte={provide:oc,useExisting:hi(()=>Da)},bN=(()=>Promise.resolve())();let Da=(()=>{class i extends oc{constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new $u,this._registered=!1,this.update=new lt,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=DD(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),kD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){V_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){bN.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const n=e.isDisabled.currentValue,r=0!==n&&Df(n);bN.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Fv(e,this._parent):[e]}}return i.\u0275fac=function(e){return new(e||i)(k(fs,9),k(Ja,10),k(Gu,10),k(Ca,10),k(oi,8),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Nt([Vte]),st,Jn]}),i})(),Ku=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),i})();const Yte={provide:Ca,useExisting:hi(()=>MD),multi:!0};let MD=(()=>{class i extends sm{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=n=>{e(""==n?null:parseFloat(n))}}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,n){1&e&&fe("input",function(a){return n.onChange(a.target.value)})("blur",function(){return n.onTouched()})},features:[Nt([Yte]),st]}),i})(),yN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const ED=new Ze("NgModelWithFormControlWarning"),Wte={provide:oc,useExisting:hi(()=>SD)};let SD=(()=>{class i extends oc{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this.update=new lt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=DD(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const n=e.form.previousValue;n&&xv(n,this,!1),V_(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}kD(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xv(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Gu,10),k(Ca,10),k(ED,8),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Nt([Wte]),st,Jn]}),i})();const Gte={provide:fs,useExisting:hi(()=>Gd)};let Gd=(()=>{class i extends fs{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new lt,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(kv(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 n=this.form.get(e.path);return V_(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){xv(e.control||null,e,!1),function Rte(i,t){const e=i.indexOf(t);e>-1&&i.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,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this.submitted=!0,mN(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const n=e.control,r=this.form.get(e.path);n!==r&&(xv(n||null,e),(i=>i instanceof $u)(r)&&(V_(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const n=this.form.get(e.path);hN(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const n=this.form.get(e.path);n&&function Lte(i,t){return kv(i,t)}(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){xD(this.form,this),this._oldForm&&kv(this._oldForm,this)}_checkFormPresent(){}}return i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Gu,10),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["","formGroup",""]],hostBindings:function(e,n){1&e&&fe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nt([Gte]),st,Jn]}),i})();const Kte={provide:oc,useExisting:hi(()=>j_)};let j_=(()=>{class i extends oc{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new lt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=DD(0,a)}ngOnChanges(e){this._added||this._setUpControl(),kD(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 Fv(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 i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(k(fs,13),k(Ja,10),k(Gu,10),k(Ca,10),k(ED,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Nt([Kte]),st,Jn]}),i})(),cm=(()=>{class i{constructor(){this._validator=gv}ngOnChanges(e){if(this.inputName in e){const n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):gv,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,features:[Jn]}),i})();const rie={provide:Ja,useExisting:hi(()=>Dv),multi:!0};let Dv=(()=>{class i extends cm{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Df,this.createValidator=e=>YL}enabled(e){return e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,n){2&e&&Lt("required",n._enabled?"":null)},inputs:{required:"required"},features:[Nt([rie]),st]}),i})(),LN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[yN]}),i})();class NN extends wv{constructor(t,e,n){super(wD(e),FD(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){cN(this,!1,t),t.forEach((n,r)=>{lN(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,n)=>!!n._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function ON(i){return!!i&&(void 0!==i.asyncValidators||void 0!==i.validators||void 0!==i.updateOn)}let ND=(()=>{class i{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new i;return e.useNonNullable=!0,e}group(e,n=null){const r=this._reduceControls(e);let a={};return ON(n)?a=n:null!==n&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new B_(r,a)}record(e,n=null){const r=this._reduceControls(e);return new dN(r,n)}control(e,n,r){let a={};return this.useNonNullable?(ON(n)?a=n:(a.validators=n,a.asyncValidators=r),new $u(e,{...a,nonNullable:!0})):new $u(e,n,r)}array(e,n,r){const a=e.map(o=>this._createControl(o));return new NN(a,n,r)}_reduceControls(e){const n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){return e instanceof $u||e instanceof wv?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),RN=(()=>{class i extends ND{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ev=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:lm,useValue:e.callSetDisabledState??H_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[LN]}),i})(),PN=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:ED,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:lm,useValue:e.callSetDisabledState??H_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[LN]}),i})();const die=["matFormFieldNotchedOutline",""],uie=["*"],hie=["textField"],mie=["iconPrefixContainer"],fie=["textPrefixContainer"];function pie(i,t){1&i&&Ce(0,"span",19)}function gie(i,t){if(1&i){const e=Je();_(0,"label",17),fe("cdkObserveContent",function(){return Te(e),Ae(Z(2)._refreshOutlineNotchWidth())}),vt(1,1),ee(2,pie,1,0,"span",18),v()}if(2&i){const e=Z(2);S("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Lt("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngIf",!e.hideRequiredMarker&&e._control.required)}}function _ie(i,t){1&i&&ee(0,gie,3,6,"label",16),2&i&&S("ngIf",Z()._hasFloatingLabel())}function bie(i,t){1&i&&Ce(0,"div",20)}function yie(i,t){}function vie(i,t){1&i&&ee(0,yie,0,0,"ng-template",22),2&i&&(Z(2),S("ngTemplateOutlet",Li(1)))}function wie(i,t){if(1&i&&(_(0,"div",21),ee(1,vie,1,1,"ng-template",9),v()),2&i){const e=Z();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),E(1),S("ngIf",!e._forceDisplayInfixLabel())}}function Fie(i,t){1&i&&(_(0,"div",23,24),vt(2,2),v())}function xie(i,t){1&i&&(_(0,"div",25,26),vt(2,3),v())}function Cie(i,t){}function kie(i,t){1&i&&ee(0,Cie,0,0,"ng-template",22),2&i&&(Z(),S("ngTemplateOutlet",Li(1)))}function Die(i,t){1&i&&(_(0,"div",27),vt(1,4),v())}function Mie(i,t){1&i&&(_(0,"div",28),vt(1,5),v())}function Eie(i,t){1&i&&Ce(0,"div",29)}function Sie(i,t){1&i&&(_(0,"div",30),vt(1,6),v()),2&i&&S("@transitionMessages",Z()._subscriptAnimationState)}function Tie(i,t){if(1&i&&(_(0,"mat-hint",34),L(1),v()),2&i){const e=Z(2);S("id",e._hintLabelId),E(1),yt(e.hintLabel)}}function Aie(i,t){if(1&i&&(_(0,"div",31),ee(1,Tie,2,2,"mat-hint",32),vt(2,7),Ce(3,"div",33),vt(4,8),v()),2&i){const e=Z();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const Iie=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Lie=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let eo=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})(),Nie=0;const OD=new Ze("MatError");let Oie=(()=>{class i{constructor(e,n){this.id="mat-mdc-error-"+Nie++,e||n.nativeElement.setAttribute("aria-live","polite")}}return i.\u0275fac=function(e){return new(e||i)(fo("aria-live"),k(pt))},i.\u0275dir=Oe({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,n){2&e&&Ua("id",n.id)},inputs:{id:"id"},features:[Nt([{provide:OD,useExisting:i}])]}),i})(),Rie=0,RD=(()=>{class i{constructor(){this.align="start",this.id="mat-mdc-hint-"+Rie++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,n){2&e&&(Ua("id",n.id),Lt("align",null),Mt("mat-mdc-form-field-hint-end","end"===n.align))},inputs:{align:"align",id:"id"}}),i})();const PD=new Ze("MatPrefix");let Kc=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[Nt([{provide:PD,useExisting:i}])]}),i})();const BD=new Ze("MatSuffix");let BN=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Nt([{provide:BD,useExisting:i}])]}),i})(),HN=(()=>{class i{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function Pie(i){if(null!==i.offsetParent)return i.scrollWidth;const e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const n=e.scrollWidth;return e.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating"}}),i})();const VN="mdc-line-ripple--active",Sv="mdc-line-ripple--deactivating";let YN=(()=>{class i{constructor(e,n){this._elementRef=e,this._handleTransitionEnd=r=>{const a=this._elementRef.nativeElement.classList,o=a.contains(Sv);"opacity"===r.propertyName&&o&&a.remove(VN,Sv)},n.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Sv),e.add(VN)}deactivate(){this._elementRef.nativeElement.classList.add(Sv)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt))},i.\u0275dir=Oe({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),i})(),jN=(()=>{class i{constructor(e,n){this._elementRef=e,this._ngZone=n,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-notched-outline--notched",n.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:die,ngContentSelectors:uie,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,n){1&e&&(Pi(),Ce(0,"div",0),_(1,"div",1),vt(2),v(),Ce(3,"div",2)),2&e&&(E(1),Kn("width",n._getNotchWidth()))},encapsulation:2,changeDetection:0}),i})();const zN={transitionMessages:Za("transitionMessages",[gr("enter",fi({opacity:1,transform:"translateY(0%)"})),lr("void => enter",[fi({opacity:0,transform:"translateY(-5px)"}),sr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pp=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i}),i})();const dm=new Ze("MatFormField"),UN=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS");let WN=0,Ra=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ct(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,o,c,u,m){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=a,this._platform=o,this._defaults=c,this._animationMode=u,this._document=m,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+WN++,this._hintLabelId="mat-mdc-hint-"+WN++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new He,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ai(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Bn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ai(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ai(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_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 n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,o=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${a+o}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Rt),k(Rr),k(Hn),k(UN,8),k(Nn,8),k(xi))},i.\u0275cmp=qe({type:i,selectors:[["mat-form-field"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,eo,5),ui(r,eo,7),ui(r,pp,5),ui(r,PD,5),ui(r,BD,5),ui(r,OD,5),ui(r,RD,5)),2&e){let a;Qe(a=Xe())&&(n._labelChildNonStatic=a.first),Qe(a=Xe())&&(n._labelChildStatic=a.first),Qe(a=Xe())&&(n._formFieldControl=a.first),Qe(a=Xe())&&(n._prefixChildren=a),Qe(a=Xe())&&(n._suffixChildren=a),Qe(a=Xe())&&(n._errorChildren=a),Qe(a=Xe())&&(n._hintChildren=a)}},viewQuery:function(e,n){if(1&e&&(At(hie,5),At(mie,5),At(fie,5),At(HN,5),At(jN,5),At(YN,5)),2&e){let r;Qe(r=Xe())&&(n._textField=r.first),Qe(r=Xe())&&(n._iconPrefixContainer=r.first),Qe(r=Xe())&&(n._textPrefixContainer=r.first),Qe(r=Xe())&&(n._floatingLabel=r.first),Qe(r=Xe())&&(n._notchedOutline=r.first),Qe(r=Xe())&&(n._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,n){2&e&&Mt("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===n._animationMode)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary","accent"!==n.color&&"warn"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Nt([{provide:dm,useExisting:i}])],ngContentSelectors:Lie,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,n){1&e&&(Pi(Iie),ee(0,_ie,1,1,"ng-template",null,0,ko),_(2,"div",1,2),fe("click",function(a){return n._control.onContainerClick&&n._control.onContainerClick(a)}),ee(4,bie,1,0,"div",3),_(5,"div",4),ee(6,wie,2,3,"div",5),ee(7,Fie,3,0,"div",6),ee(8,xie,3,0,"div",7),_(9,"div",8),ee(10,kie,1,1,"ng-template",9),vt(11),v(),ee(12,Die,2,0,"div",10),ee(13,Mie,2,0,"div",11),v(),ee(14,Eie,1,0,"div",12),v(),_(15,"div",13),ee(16,Sie,2,1,"div",14),ee(17,Aie,5,2,"div",15),v()),2&e&&(E(2),Mt("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),E(2),S("ngIf",!n._hasOutline()&&!n._control.disabled),E(2),S("ngIf",n._hasOutline()),E(1),S("ngIf",n._hasIconPrefix),E(1),S("ngIf",n._hasTextPrefix),E(2),S("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),E(2),S("ngIf",n._hasTextSuffix),E(1),S("ngIf",n._hasIconSuffix),E(1),S("ngIf",!n._hasOutline()),E(1),Mt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===n.subscriptSizing),S("ngSwitch",n._getDisplayedMessages()),E(1),S("ngSwitchCase","error"),E(1),S("ngSwitchCase","hint"))},dependencies:[ri,Sf,Fu,Mf,Nf,RD,HN,jN,YN],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";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;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[zN.transitionMessages]},changeDetection:0}),i})(),HD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Dr,zg,Jt]}),i})();const VD=new Ze("MAT_INPUT_VALUE_ACCESSOR"),Vie=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Yie=0;const jie=LC(class{constructor(i,t,e,n){this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=e,this.ngControl=n,this.stateChanges=new He}});let Do=(()=>{class i extends jie{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(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(Po.required)??!1}set required(e){this._required=Ct(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&CI().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=Ct(e)}constructor(e,n,r,a,o,c,u,m,x,P){super(c,a,o,r),this._elementRef=e,this._platform=n,this._autofillMonitor=m,this._formField=P,this._uid="mat-input-"+Yie++,this.focused=!1,this.stateChanges=new He,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(pe=>CI().has(pe)),this._iOSKeyupListener=pe=>{const ye=pe.target;!ye.value&&0===ye.selectionStart&&0===ye.selectionEnd&&(ye.setSelectionRange(1,1),ye.setSelectionRange(0,0))};const K=this._elementRef.nativeElement,ne=K.nodeName.toLowerCase();this._inputValueAccessor=u||K,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&x.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ne,this._isTextarea="textarea"===ne,this._isInFormField=!!P,this._isNativeSelect&&(this.controlType=K.multiple?"mat-native-select-multiple":"mat-native-select")}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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Vie.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,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.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 i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(oc,10),k($c,8),k(Gd,8),k(Yf),k(VD,10),k(mte),k(Rt),k(dm,8))},i.\u0275dir=Oe({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,n){1&e&&fe("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&e&&(Ua("id",n.id)("disabled",n.disabled)("required",n.required),Lt("name",n.name||null)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),Mt("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._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:[Nt([{provide:pp,useExisting:i}]),st,Jn]}),i})(),zie=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,HD,HD,fD,Jt]}),i})();const Uie=["*"];let Tv;function z_(i){return function Wie(){if(void 0===Tv&&(Tv=null,typeof window<"u")){const i=window;void 0!==i.trustedTypes&&(Tv=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Tv}()?.createHTML(i)||i}function $N(i){return Error(`Unable to find icon with the name "${i}"`)}function KN(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function ZN(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}class um{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Av=(()=>{class i{constructor(e,n,r,a){this._httpClient=e,this._sanitizer=n,this._errorHandler=a,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=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,a){return this._addSvgIconConfig(e,n,new um(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,a){const o=this._sanitizer.sanitize(br.HTML,r);if(!o)throw ZN(r);const c=z_(o);return this._addSvgIconConfig(e,n,new um("",c,a))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new um(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){const a=this._sanitizer.sanitize(br.HTML,n);if(!a)throw ZN(n);const o=z_(a);return this._addSvgIconSetConfig(e,new um("",o,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const n=this._sanitizer.sanitize(br.RESOURCE_URL,e);if(!n)throw KN(e);const r=this._cachedIconsByUrl.get(n);return r?Ht(Iv(r)):this._loadSvgIconFromConfig(new um(e,null)).pipe(ia(a=>this._cachedIconsByUrl.set(n,a)),_t(a=>Iv(a)))}getNamedSvgIcon(e,n=""){const r=QN(n,e);let a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);const o=this._iconSetConfigs.get(n);return o?this._getSvgFromIconSetConfigs(e,o):Mu($N(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Ht(Iv(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(_t(n=>Iv(n)))}_getSvgFromIconSetConfigs(e,n){const r=this._extractIconWithNameFromAnySet(e,n);return r?Ht(r):fk(n.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(es(c=>{const m=`Loading icon set URL: ${this._sanitizer.sanitize(br.RESOURCE_URL,o.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),Ht(null)})))).pipe(_t(()=>{const o=this._extractIconWithNameFromAnySet(e,n);if(!o)throw $N(e);return o}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){const a=n[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(o,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ia(n=>e.svgText=n),_t(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Ht(null):this._fetchIcon(e).pipe(ia(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){const a=e.querySelector(`[id="${n}"]`);if(!a)return null;const o=a.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const c=this._svgElementFromString(z_(""));return c.appendChild(o),this._setSvgAttributes(c,r)}_svgElementFromString(e){const n=this._document.createElement("DIV");n.innerHTML=e;const r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const n=this._svgElementFromString(z_("")),r=e.attributes;for(let a=0;az_(m)),e_(()=>this._inProgressUrlFetches.delete(o)),ro());return this._inProgressUrlFetches.set(o,u),u}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(QN(e,n),r),this}_addSvgIconSetConfig(e,n){const r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){const n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;rt?t.pathname+t.search:""}}}),XN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Jie=XN.map(i=>`[${i}]`).join(", "),ene=/^url\(['"]?#(.*?)['"]?\)$/;let Zn=(()=>{class i extends Kie{get inline(){return this._inline}set inline(e){this._inline=Ct(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 n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,a,o,c){super(e),this._iconRegistry=n,this._location=a,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=C.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const r=e.childNodes[n];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.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 n=this._elementsWithExternalReferences;n&&n.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const n=e.querySelectorAll(Jie),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=n[a],u=c.getAttribute(o),m=u?u.match(ene):null;if(m){let x=r.get(c);x||(x=[],r.set(c,x)),x.push({name:o,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(rn(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${r}! ${a.message}`))})}}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Av),fo("aria-hidden"),k(Qie),k(gd),k(Zie,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){2&e&&(Lt("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Mt("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[st],ngContentSelectors:Uie,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(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}),i})(),Lv=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Jt]}),i})();class gp{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.publicKey=this.appState.getPublicKeyDisplay()}onNoClick(){this.data.password="",this.dialogRef.close()}}gp.\u0275fac=function(t){return new(t||gp)(k(Xi),k(hs),k(Ks))},gp.\u0275cmp=qe({type:gp,selectors:[["password-dialog"]],decls:24,vars:6,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["appearance","fill",1,"input-full-width"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),L(2),v(),_(3,"div",2)(4,"p"),L(5),v(),_(6,"form")(7,"mat-form-field",3)(8,"mat-icon",4),L(9,"person_add"),v(),_(10,"mat-label"),L(11,"Public Key"),v(),_(12,"input",5),fe("ngModelChange",function(r){return e.publicKey=r}),v()(),_(13,"mat-form-field",6)(14,"mat-icon",4),L(15,"password"),v(),_(16,"mat-label"),L(17,"Password"),v(),_(18,"input",7),fe("ngModelChange",function(r){return e.data.password=r}),v()()()(),_(19,"div",8)(20,"button",9),fe("click",function(){return e.onNoClick()}),L(21,"Cancel"),v(),_(22,"button",10),L(23,"Approve"),v()()()),2&t&&(E(2),qt("Approve Action: ",e.data.action,""),E(3),qt('Do you want to approve action "',e.data.action,'"?'),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.data.password),E(4),S("mat-dialog-close",e.data))},dependencies:[Do,Ra,eo,Kc,dr,Zn,Ku,ka,ha,qu,Da,$c,qh,$h,Dl,Yc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const JN=new TextEncoder,tne=new TextDecoder;class Zc{getPasswordKey(t){return window.crypto.subtle.importKey("raw",JN.encode(t),"PBKDF2",!1,["deriveKey"])}deriveKey(t,e,n){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:e,iterations:25e4,hash:"SHA-256"},t,{name:"AES-GCM",length:256},!1,n)}encryptData(t,e){var n=this;return Ee(function*(){try{const r=window.crypto.getRandomValues(new Uint8Array(16)),a=window.crypto.getRandomValues(new Uint8Array(12)),o=yield n.getPasswordKey(e),c=yield n.deriveKey(o,r,["encrypt"]),u=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},c,JN.encode(t)),m=new Uint8Array(u);let x=new Uint8Array(r.byteLength+a.byteLength+m.byteLength);return x.set(r,0),x.set(a,r.byteLength),x.set(m,r.byteLength+a.byteLength),Jh.encode(x)}catch(r){return console.error(r),""}})()}decryptData(t,e){var n=this;return Ee(function*(){try{const r=Jh.decode(t),a=r.slice(0,16),o=r.slice(16,28),c=r.slice(28),u=yield n.getPasswordKey(e.toString()),m=yield n.deriveKey(u,a,["decrypt"]),x=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:o},m,c);return tne.decode(x)}catch(r){return console.error(r),""}})()}}Zc.\u0275fac=function(t){return new(t||Zc)},Zc.\u0275prov=Ke({token:Zc,factory:Zc.\u0275fac,providedIn:"root"});class Sl{constructor(t,e,n){this.dialog=t,this.snackBar=e,this.security=n,this.defaultRelays={"wss://relay.plebstr.com":{read:!0,write:!0},"wss://relay.nostr.info":{read:!0,write:!0},"wss://nos.lol":{read:!0,write:!0},"wss://relay.nostr.wirednet.jp":{read:!0,write:!0},"wss://relay.damus.io":{read:!0,write:!0},"wss://nostr.mom":{read:!0,write:!0},"wss://relay.snort.social":{read:!0,write:!0},"wss://relay.nostr.bg":{read:!0,write:!0},"wss://nostr.fmt.wiz.biz":{read:!0,write:!0}}}sign(t){var e=this;return Ee(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((r,a)=>{e.dialog.open(gp,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var c=Ee(function*(u){if(!u)return void a();const m=yield e.security.decryptData(n,u.password);if(!m)return e.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"}),void a("Unable to decrypt data. Probably wrong password.");const x=sp(m);t.pubkey!=x&&a("The event public key is not correct for this private key"),t.id||(t.id=yield jd(t)),zd(t)||a("Invalid Nostr event.");const P=qk(t,m);t.sig=P,r(t)});return function(u){return c.apply(this,arguments)}}())}):globalThis.nostr.signEvent(t)})()}relays(){var t=this;return Ee(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))return t.defaultRelays;try{return globalThis.nostr.getRelays()}catch{return t.defaultRelays}})()}decrypt(t,e){return Ee(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based decrypt not implemented yet.");return yield globalThis.nostr.nip04.decrypt(t,e)})()}encrypt(t,e){return Ee(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based encrypt not implemented yet.");return yield globalThis.nostr.nip04.encrypt(t,e)})()}}Sl.\u0275fac=function(t){return new(t||Sl)(Fe(Fa),Fe(ms),Fe(Zc))},Sl.\u0275prov=Ke({token:Sl,factory:Sl.\u0275fac,providedIn:"root"});var qd=(()=>(function(i){i["\u2764\ufe0f"]="\u2764\ufe0f",i["\u{1f494}"]="\u{1f494}"}(qd||(qd={})),qd))(),to=(()=>(function(i){i[i.Public=0]="Public",i[i.Follow=1]="Follow",i[i.Mute=2]="Mute",i[i.Block=3]="Block"}(to||(to={})),to))(),ine=I(1188);class _p{constructor(t){this.util=t}parseZap(t){const{amount:e,hash:n}=this.getInvoice(t),r=n?this.getZapper(t,n):{isValid:!1,content:""},a=this.zappedAuthor(t),o=this.zappedPost(t);return{id:t.id,e:a??void 0,p:o??"",amount:Number(e)/1e3,zapper:r?.pubkey,content:r?.content,valid:r?.isValid,zapService:t.pubkey}}getInvoice(t){const e=this.lnInvoice(t);if(!e)return console.error("Invalid zap: No bolt11 tag found in event",t),{};try{const n=(0,ine.decode)(e),r=n.sections.find(o=>"amount"===o.name)?.value,a=n.sections.find(o=>"description_hash"===o.name)?.value;return{amount:r,hash:a}}catch{return console.error("Invalid zap: Could not decode bolt11",t),{}}}getZapper(t,e){let n=this.description(t);if(n)try{n.startsWith("%")&&(n=decodeURIComponent(n));const r=JSON.parse(n),a=this.util.arrayToHex(ap(n));return{pubkey:r.pubkey,isValid:e===a,content:r.content}}catch{console.error("Invalid zap: Could not decode zap request",t)}return{isValid:!1,content:""}}lnInvoice(t){return t.tags.filter(e=>"bolt11"===e[0]).map(e=>e[1]).find(e=>null!=e)||null}zappedPost(t){return t.tags.filter(e=>"e"===e[0]).map(e=>e[1]??null).find(e=>null!=e)??null}zappedAuthor(t){return t.tags.filter(e=>"p"===e[0]).map(e=>e[1]??null).find(e=>null!=e)??null}description(t){return t.tags.filter(e=>"description"===e[0]).map(e=>e[1]??null).find(e=>null!=e)??null}}_p.\u0275fac=function(t){return new(t||_p)(Fe(Qi))},_p.\u0275prov=Ke({token:_p,factory:_p.\u0275fac,providedIn:"root"});var Vt=new WeakMap,U_=new WeakMap,hm=new WeakMap,Nv=new WeakMap,bp=new WeakMap,Ov=new WeakMap,Qc=new WeakMap,yp=new WeakMap,vp=new WeakMap,Rv=new WeakMap,Pv=new WeakMap,$d=new WeakMap,W_=new WeakMap,Xs=new WeakMap,wp=new WeakMap,G_=new WeakMap,Fp=new WeakMap,Bv=new WeakMap,q_=new WeakMap,Hv=new WeakMap,$_=new WeakMap,Vv=new WeakMap,Yv=new WeakMap,K_=new WeakMap,Zu=new WeakMap,Z_=new WeakMap,Tl=new WeakMap,xp=new WeakMap,Q_=new WeakMap,jv=new WeakMap;class Zr{constructor(t,e,n){sn(this,Vt,{writable:!0,value:void 0}),sn(this,U_,{writable:!0,value:void 0}),sn(this,hm,{writable:!0,value:void 0}),sn(this,Nv,{writable:!0,value:void 0}),sn(this,bp,{writable:!0,value:void 0}),sn(this,Ov,{writable:!0,value:void 0}),sn(this,Qc,{writable:!0,value:void 0}),sn(this,yp,{writable:!0,value:void 0}),sn(this,vp,{writable:!0,value:void 0}),sn(this,Rv,{writable:!0,value:void 0}),sn(this,Pv,{writable:!0,value:void 0}),sn(this,$d,{writable:!0,value:void 0}),sn(this,W_,{writable:!0,value:void 0}),sn(this,Xs,{writable:!0,value:void 0}),sn(this,wp,{writable:!0,value:void 0}),sn(this,G_,{writable:!0,value:void 0}),sn(this,Fp,{writable:!0,value:void 0}),sn(this,Bv,{writable:!0,value:void 0}),sn(this,q_,{writable:!0,value:void 0}),sn(this,Hv,{writable:!0,value:void 0}),sn(this,$_,{writable:!0,value:void 0}),sn(this,Vv,{writable:!0,value:void 0}),sn(this,Yv,{writable:!0,value:void 0}),sn(this,K_,{writable:!0,value:void 0}),sn(this,Zu,{writable:!0,value:void 0}),sn(this,Z_,{writable:!0,value:void 0}),sn(this,Tl,{writable:!0,value:void 0}),sn(this,xp,{writable:!0,value:void 0}),sn(this,Q_,{writable:!0,value:void 0}),sn(this,jv,{writable:!0,value:void 0}),this.eventService=t,this.options=e,this.zapService=n,ti(this,Vt,{feedEvents:[],feedEventsView:[],threadEvents:[],followingEvents:[],followingEventsView:[],rootEvents:[],replyEvents:[],rootEventsView:[],replyEventsView:[],reactions:new Map}),this.viewCounts={feedEventsViewCount:5,feedEventsViewCountExhausted:!1,followingEventsViewCount:5,followingEventsViewExhausted:!1,rootEventsViewCount:5,rootEventsViewCountExhausted:!1,replyEventsViewCount:5,replyEventsViewCountExhausted:!1},ti(this,U_,new Hi(0)),ti(this,hm,void 0),ti(this,Nv,new Hi(this.eventId)),ti(this,bp,void 0),ti(this,Ov,new Hi(this.pubkey)),ti(this,Qc,void 0),ti(this,yp,new Hi(this.profile)),this.viewEvents=[],ti(this,vp,new Hi(this.viewEvents)),ti(this,Rv,new Hi(void 0)),this.viewReplyEvents=[],ti(this,Pv,new Hi(this.viewReplyEvents)),this.events=[],ti(this,$d,new Hi(this.events)),ti(this,W_,new Hi(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,ti(this,Xs,[]),ti(this,wp,[]),this.viewEventsStart=0,this.viewEventsCount=5,ti(this,G_,new Hi(Pe(this,Vt).feedEvents)),ti(this,Fp,new Hi(Pe(this,Vt).feedEventsView)),ti(this,Bv,new Hi(Pe(this,Vt).rootEvents)),ti(this,q_,new Hi(Pe(this,Vt).rootEventsView)),ti(this,Hv,new Hi(Pe(this,Vt).replyEvents)),ti(this,$_,new Hi(Pe(this,Vt).replyEventsView)),ti(this,Vv,new Hi(Pe(this,Vt).threadEvents)),ti(this,Yv,new Hi(Pe(this,Vt).followingEvents)),ti(this,K_,new Hi(Pe(this,Vt).followingEventsView)),ti(this,Z_,new Hi(Pe(this,Zu))),ti(this,xp,new Hi(Pe(this,Tl))),ti(this,jv,new Hi(Pe(this,Q_)))}get unreadNotifications$(){return Pe(this,U_).asObservable()}get eventId(){return Pe(this,hm)}get eventId$(){return Pe(this,Nv).asObservable()}get pubkey(){return Pe(this,bp)}get pubkey$(){return Pe(this,Ov).asObservable()}setPubKey(t,e=!0){ti(this,bp,t),e&&(ti(this,Qc,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),Pe(this,$d).next(this.events),Pe(this,yp).next(Pe(this,Qc)),Pe(this,Ov).next(Pe(this,bp)))}setProfile(t,e=!1){const n=Pe(this,Qc);ti(this,Qc,t),(e||n?.pubkey!=t?.pubkey)&&Pe(this,yp).next(Pe(this,Qc))}setEventId(t){console.log("setEventId:",t),ti(this,hm,t),ti(this,Tl,void 0),this.events=[],Pe(this,Nv).next(Pe(this,hm)),Pe(this,xp).next(Pe(this,Tl)),Pe(this,$d).next(this.events)}get profile(){return Pe(this,Qc)}get profile$(){return Pe(this,yp).asObservable()}get viewEvents$(){return Pe(this,vp).asObservable()}get reactions$(){return Pe(this,Rv).asObservable()}get viewReplyEvents$(){return Pe(this,Pv).asObservable()}get events$(){return Pe(this,$d).asObservable()}get loadMore$(){return Pe(this,W_).asObservable()}triggerLoadMoreProfileEvents(){let t=0,e=0;Pe(this,Vt).rootEvents.length>0&&(t=Pe(this,Vt).rootEvents[Pe(this,Vt).rootEvents.length-1].created_at),Pe(this,Vt).replyEvents.length>0&&(e=Pe(this,Vt).replyEvents[Pe(this,Vt).replyEvents.length-1].created_at);let n=t>e?t:e;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,Pe(this,W_).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const t=Pe(this,Vt).feedEvents[Pe(this,Vt).feedEvents.length-1].created_at;t>this.previousFeedSinceValue&&(this.previousFeedSinceValue=t,Pe(this,W_).next({circle:Pe(this,Q_),until:t,type:"feed"}))}children(t){return this.events.filter(n=>n.parentEventId===t)}children$(t){return this.events$.pipe(ia(e=>e.filter(n=>n.replyEventId===t)))}get notifications(){return Pe(this,Xs)}get activityFeed$(){return Ht(Pe(this,wp))}putNotifications(t){t=t.sort((e,n)=>e.created!e.seen).length;Pe(this,U_).next(t)}putNotification(t){const e=Pe(this,Xs).findIndex(n=>n.id==t.id);-1==e?(Pe(this,Xs).unshift(t),ti(this,Xs,Pe(this,Xs).sort((n,r)=>n.created=e&&(this.viewCounts.feedEventsViewCountExhausted=e>=Pe(this,Vt).feedEvents.length,Pe(this,Vt).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(t,e){this.viewCounts.rootEventsViewCount=e,Pe(this,Vt).rootEventsView=Pe(this,Vt).rootEvents.slice(t,e),Pe(this,q_).next(Pe(this,Vt).rootEventsView),Pe(this,Vt).rootEvents.length>=e&&(this.viewCounts.rootEventsViewCountExhausted=e>=Pe(this,Vt).rootEvents.length,Pe(this,Vt).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(t,e){this.viewCounts.replyEventsViewCount=e,Pe(this,Vt).replyEventsView=Pe(this,Vt).replyEvents.slice(t,e),Pe(this,$_).next(Pe(this,Vt).replyEventsView),Pe(this,Vt).replyEvents.length>=e&&(this.viewCounts.replyEventsViewCountExhausted=e>=Pe(this,Vt).replyEvents.length,Pe(this,Vt).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(t,e){this.viewCounts.followingEventsViewCount=e,Pe(this,Vt).followingEventsView=Pe(this,Vt).followingEvents.slice(t,e),this.viewCounts.followingEventsViewExhausted=e>=Pe(this,Vt).followingEvents.length,Pe(this,K_).next(Pe(this,Vt).followingEventsView),Pe(this,Vt)}sortAscending(t,e){return t.created_atn.id==t.id);-1==e?(Pe(this,Vt).feedEvents.push(t),Pe(this,Vt).feedEvents=Pe(this,Vt).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):Pe(this,Vt).feedEvents[e]=t}}putEvent(t){if(t.kind==jn.Reaction){if(!this.options.values.enableReactions)return;const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;""==t.content||"+"==t.content?n.reactions[qd["\u2764\ufe0f"]]?n.reactions[qd["\u2764\ufe0f"]]++:n.reactions[qd["\u2764\ufe0f"]]=1:"-"==t.content?n.reactions[qd["\u{1f494}"]]?n.reactions[qd["\u{1f494}"]]++:n.reactions[qd["\u{1f494}"]]=1:n.reactions[t.content]?n.reactions[t.content]++:n.reactions[t.content]=1,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(6==t.kind){const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;n.boosts++,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(t.kind==jn.Text){if(t=this.calculateFields(t),this.pubkey)if(t.parentEventId){if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Vt).replyEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).replyEvents.push(t),Pe(this,Vt).replyEvents=Pe(this,Vt).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):Pe(this,Vt).replyEvents[n]=t}else{if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Vt).rootEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).rootEvents.push(t),Pe(this,Vt).rootEvents=Pe(this,Vt).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):Pe(this,Vt).rootEvents[n]=t}else if(this.eventId){const n=Pe(this,Vt).threadEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).threadEvents.push(t),Pe(this,Vt).threadEvents=Pe(this,Vt).threadEvents.sort(this.sortDescending)):Pe(this,Vt).threadEvents[n]=t}else{const n=Pe(this,Vt).followingEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).followingEvents.push(t),Pe(this,Vt).followingEvents=Pe(this,Vt).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):Pe(this,Vt).followingEvents[n]=t}const e=this.events.findIndex(n=>n.id==t.id);e>-1?this.events[e]=t:(this.events.unshift(t),this.pubkey?(this.events=this.events.sort((n,r)=>n.created_atn.created_ate.kind==jn.Text),this.viewEvents=[],this.events=this.events.map(e=>this.calculateFields(e)),this.events=this.events.sort(this.pubkey?(e,n)=>e.created_ate.created_at"e"===n[0]);for(let n=0;n3&&("root"==r[3]&&(t.rootEventId=r[1]),"reply"==r[3]&&(t.replyEventId=r[1]))}return e.length>0&&(t.rootEventId=e[0][1],t.parentEventId=e[e.length-1][1]),e.length<2||(t.replyEventId=e[1][1]),t.rootEventId==t.parentEventId&&(t.rootEventId=void 0),t}setEvent(t){const e=Pe(this,Tl)?.id;ti(this,hm,t?.id),ti(this,Tl,t?this.calculateFields(t):t),Pe(this,Tl)?.id!=e&&(Pe(this,xp).next(Pe(this,Tl)),this.parentEventId=Pe(this,Tl)?.parentEventId,Pe(this,Z_).next(void 0))}setParentEvent(t){const e=Pe(this,Zu)?.id;t?(ti(this,Zu,this.calculateFields(t)),this.parentEventId=Pe(this,Zu).id):this.parentEventId=void 0,Pe(this,Zu)?.id!=e&&Pe(this,Z_).next(Pe(this,Zu))}get circle$(){return Pe(this,jv).asObservable()}setFeedCircle(t){ti(this,Q_,t),Pe(this,jv).next(Pe(this,Q_))}}function Cp(i,t){W8(i,t),t.add(i)}function is(i,t,e){if(!t.has(i))throw new TypeError("attempted to get private field on non-instance");return e}Zr.\u0275fac=function(t){return new(t||Zr)(Fe(Ro),Fe(Tr),Fe(_p))},Zr.\u0275prov=Ke({token:Zr,factory:Zr.\u0275fac,providedIn:"root"});var mm=new WeakMap;class nne{constructor(t){sn(this,mm,{writable:!0,value:void 0}),this.maxEntries=t,ti(this,mm,new Map)}get(t){const e=Pe(this,mm).get(t);if(e)return Pe(this,mm).size>this.maxEntries&&Array.from(Pe(this,mm).entries()).sort(a=>a[1].accessed).slice(0,20).forEach(a=>{Pe(this,mm).delete(a[0])}),e.accessed=Date.now(),e}set(t,e){Pe(this,mm).set(t,{accessed:Date.now(),value:e})}}var fm=new WeakMap,YD=new WeakMap,zv=new WeakMap,kp=new WeakMap,jD=new WeakMap,pm=new WeakSet,Uv=new WeakMap,rne=new WeakSet,ane=new WeakSet,eO=new WeakSet,Kd=new WeakSet;class Tn{get following$(){return Pe(this,kp).asObservable().pipe(_t(t=>t.filter(n=>n.status==to.Follow)))}get profile$(){return Pe(this,zv).asObservable()}userProfileUpdated(t){this.profile=t,Pe(this,zv).next(t)}get profiles$(){return Pe(this,kp).asObservable()}get profileRequested$(){return Pe(this,jD).asObservable()}updated(){is(this,pm,Dp).call(this)}updateItemIfSelected(t){this.ui.pubkey===t?.pubkey&&this.ui.setProfile(t)}getProfilesByStatus(t){return this.db.storage.getProfilesByStatus(t)}search(t){return Ee(function*(){})()}get profilesChanged$(){return Pe(this,Uv).asObservable()}constructor(t,e,n,r,a){Cp(this,Kd),Cp(this,eO),Cp(this,ane),Cp(this,rne),Cp(this,pm),sn(this,fm,{writable:!0,value:void 0}),sn(this,YD,{writable:!0,value:void 0}),sn(this,zv,{writable:!0,value:void 0}),sn(this,kp,{writable:!0,value:void 0}),sn(this,jD,{writable:!0,value:void 0}),sn(this,Uv,{writable:!0,value:void 0}),this.db=t,this.ui=e,this.queueService=n,this.appState=r,this.utilities=a,this.initialized=!1,ti(this,fm,new nne(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],ti(this,YD,new Hi(this.following)),ti(this,zv,new Hi(void 0)),ti(this,kp,new Hi(this.following)),ti(this,jD,new Hi("")),ti(this,Uv,new Hi(void 0))}getProfileOrDownload(t){return new ht(e=>(this.db.storage.getProfile(t).then(n=>{if(n)return e.next(n),void e.complete();this.queueService.enqueProfile(t)}).catch(n=>{console.warn("FAILED TO GET PROFILE:",n)}).finally(()=>{}),()=>{})).pipe(ia(e=>{}))}getLocalProfile(t){var e=this;return Ee(function*(){return e.db.storage.getProfile(t)})()}getCachedProfile(t){let e=this.following.findIndex(r=>r.pubkey==t);if(e>-1)return this.following[e];let n=Pe(this,fm).get(t);return n?n.value:void 0}getProfile(t){var e=this;return Ee(function*(){let n=e.following.findIndex(o=>o.pubkey==t);if(n>-1)return e.following[n];let r=Pe(e,fm).get(t);if(r)return r.value;let a=yield e.db.storage.getProfile(t);if(a)return Pe(e,fm).set(t,a),a;e.queueService.enqueProfile(t)})()}putProfile(t){var e=this;return Ee(function*(){null==t.status&&(t.status=0),t.npub=e.utilities.getNostrIdentifier(t.pubkey),Pe(e,fm).set(t.pubkey,t),yield e.db.storage.putProfile(t),e.updateItemIfSelected(t);const n=e.following.findIndex(r=>r.pubkey==t.pubkey);null!=t.circle?1==t.status&&-1==n?(e.following.push(t),is(e,pm,Dp).call(e)):2==t.status&&n>-1?(e.following.splice(n,1),is(e,pm,Dp).call(e)):(e.following[n]=t,is(e,pm,Dp).call(e)):n>-1&&(e.following.splice(n,1),is(e,pm,Dp).call(e))})()}initialize(t){var e=this;return Ee(function*(){const n=yield e.getLocalProfile(t);e.userProfileUpdated(n);const r=yield e.db.storage.getProfilesByStatus(to.Follow);e.following=r,Pe(e,kp).next(e.following);const a=yield e.db.storage.getProfilesByStatus(to.Block),o=yield e.db.storage.getProfilesByStatus(to.Mute);e.blocked=a.map(c=>c.pubkey),e.muted=o.map(c=>c.pubkey),e.followingKeys=e.following.map(c=>c.pubkey)})()}follow(t,e=0,n){var r=this;return Ee(function*(){if(!t)return;const a=yield r.getLocalProfile(t),o=r.utilities.now();return a?(a.status=to.Follow,a.modified=o,a.followed=o,a.circle=e,yield r.putProfile(a),a):(n||(n=r.emptyProfile(t)),n.followed=o,n.circle=e,n.status=to.Follow,n.npub=r.utilities.getNostrIdentifier(n.pubkey),yield r.db.storage.putProfile(n),is(r,eO,one).call(r,n),r.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(t,e){var n=this;return Ee(function*(){return is(n,Kd,Qu).call(n,t,r=>(r.following=e,r))})()}followingAndRelays(t,e,n){var r=this;return Ee(function*(){return is(r,Kd,Qu).call(r,t,a=>(a.following=e,a.relays=n,a))})()}setCircle(t,e){var n=this;return Ee(function*(){return is(n,Kd,Qu).call(n,t,r=>(r.circle=e,r))})()}unfollow(t){var e=this;return Ee(function*(){const n=yield is(e,Kd,Qu).call(e,t,r=>(r.status=to.Public,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}block(t){var e=this;return Ee(function*(){const n=yield is(e,Kd,Qu).call(e,t,r=>(r.status=to.Block,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}unblock(t){var e=this;return Ee(function*(){return is(e,Kd,Qu).call(e,t,n=>(n.status=to.Public,n))})()}mute(t){var e=this;return Ee(function*(){return is(e,Kd,Qu).call(e,t,n=>(n.status=to.Mute,n))})()}unmute(t){var e=this;return Ee(function*(){return is(e,Kd,Qu).call(e,t,n=>(n.status=to.Follow,n))})()}deleteProfile(t){var e=this;return Ee(function*(){yield e.db.storage.deleteProfile(t)})()}isFollowing(t){const e=this.following.findIndex(r=>r.pubkey==t);if(-1===e)return!1;const n=this.following[e];return!!n&&n.status==to.Follow}updateProfile(t,e){var n=this;return Ee(function*(){let r=yield n.db.storage.getProfile(t);const a=n.utilities.now();if(r){if(r.created_at&&e.created_at&&r.created_at>=e.created_at)return r;r.name=e.name,r.about=e.about,r.nip05=e.nip05,r.lud06=e.lud06,r.lud16=e.lud16,r.website=e.website,r.display_name=e.display_name,r.picture=e.picture,r.banner=e.banner,r.created_at=e.created_at}else r=e;if(r.modified=a,r.retrieved=a,console.log("START PUT PROFILE",r.name),yield n.putProfile(r),console.log("END PUT PROFILE",r.pubkey),Pe(n,fm).set(r.pubkey,r),n.appState.getPublicKey()===t&&n.userProfileUpdated(r),r&&r.followed){const o=n.following.findIndex(c=>c.pubkey==r.pubkey);-1===o?n.following.push(r):n.following[o]=r}return is(n,pm,Dp).call(n),r})()}emptyProfile(t){return{npub:this.utilities.getNostrIdentifier(t),name:this.utilities.getShortenedIdentifier(t),about:"",picture:"/assets/profile.png",nip05:"",lud06:"",lud16:"",display_name:"",status:to.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:t}}}function Dp(){Pe(this,kp).next(this.following),Pe(this,YD).next(this.following)}function one(i){const t=this.following.findIndex(e=>e.pubkey==i.pubkey);-1===t?this.following.push(i):this.following[t]=i}function Qu(i,t){return UD.apply(this,arguments)}function UD(){return UD=Ee(function*(i,t){let e=yield this.db.storage.getProfile(i);if(e)return e.modified=this.utilities.now(),e=t(e,e.pubkey),yield this.putProfile(e),e}),UD.apply(this,arguments)}Tn.\u0275fac=function(t){return new(t||Tn)(Fe(ua),Fe(Zr),Fe(Oo),Fe(Xi),Fe(Qi))},Tn.\u0275prov=Ke({token:Tn,factory:Tn.\u0275fac,providedIn:"root"});var WD=new WeakMap;class Mo{get relays$(){return Pe(this,WD).asObservable()}constructor(t,e,n,r,a,o,c,u,m,x,P,K){var ne=this;sn(this,WD,{writable:!0,value:void 0}),this.badgeService=t,this.logger=e,this.articleService=n,this.nostr=r,this.ui=a,this.queue=o,this.utilities=c,this.profileService=u,this.db=m,this.options=x,this.eventService=P,this.appState=K,this.items=[],this.subs=new Map,this.relays=[],ti(this,WD,new Hi(this.relays)),this.workers=[],this.appState.visibility$.subscribe(pe=>{pe&&this.createRelayWorkers()}),this.queue.queues$.subscribe(pe=>{pe&&this.enque(pe)}),this.ui.loadMore$.subscribe(pe=>{if(pe&&pe.until)if("profile"==pe.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:this.options.values.enableReactions?[jn.Text,jn.Reaction,6]:[jn.Text,6],until:pe.until,limit:100}]).id}else if("feed"==pe.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let ye=[];ye=pe.circle>-1?this.profileService.following.filter(Le=>Le.circle==pe.circle).map(Le=>Le.pubkey):this.profileService.following.map(Le=>Le.pubkey),this.circleEventSubscription=this.subscribe([{authors:ye,kinds:this.options.values.enableReactions?[jn.Text,jn.Reaction,6]:[jn.Text,6],until:pe.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(pe=>{if(null==pe)return;let ye=[];ye=pe>-1?this.profileService.following.filter(Le=>Le.circle==pe).map(Le=>Le.pubkey):this.profileService.following.map(Le=>Le.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0),this.circleEventSubscription=this.subscribe([{authors:ye,kinds:this.options.values.enableReactions?[jn.Text,jn.Reaction,6]:[jn.Text,6],limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var pe=Ee(function*(ye){if(!ye)return void(ne.profileEventSubscription&&(ne.unsubscribe(ne.profileEventSubscription),ne.profileEventSubscription=void 0));const Ie=yield ne.profileService.getProfile(ye);Ie&&ne.ui.setProfile(Ie),ne.profileEventSubscription=ne.subscribe([{authors:[ye],kinds:[jn.Text,jn.Reaction,6],limit:100}]).id});return function(ye){return pe.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var pe=Ee(function*(ye){if(!ye)return;const Ie=yield ne.db.storage.getEvent(ye);Ie?ne.ui.setEvent(Ie):ne.enque({type:"Event",identifier:ye})});return function(ye){return pe.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var pe=Ee(function*(ye){if(!ye)return ne.ui.clearEvents(),void(ne.threadSubscription&&(ne.unsubscribe(ne.threadSubscription),ne.threadSubscription=void 0));if(ne.threadSubscription!=ye?.id&&(ne.threadSubscription&&ne.unsubscribe(ne.threadSubscription),ne.threadSubscription=ne.subscribe([{"#e":[ye.id]}]).id,ye.parentEventId)){const Ie=yield ne.db.storage.getEvent(ye.parentEventId);Ie?ne.ui.setParentEvent(Ie):ne.enque({type:"Event",identifier:ye.parentEventId})}});return function(ye){return pe.apply(this,arguments)}}())}terminate(t){const e=this.workers.find(n=>n.url==t);e&&e.terminate()}terminateAll(){for(let t=0;to.url==t);r&&(r.type=e,a.type=e,yield n.db.storage.putRelay(r))})()}setRelayPublic(t,e){var n=this;return Ee(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.public=e,a.public=e,yield n.db.storage.putRelay(r))})()}setRelayStatus(t,e){var n=this;return Ee(function*(){n.logger.debug("setRelayStatus:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.status=e,a.status=e,yield n.db.storage.putRelay(r))})()}setRelayEnabled(t,e){var n=this;return Ee(function*(){n.logger.debug("setRelayEnabled:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.enabled=e,a.enabled=e,yield n.db.storage.putRelay(r))})()}setRelayTimeout(t,e){const n=this.items.find(r=>r.url==t);n&&(null==n.timeouts&&(n.timeouts=0),n.timeouts++)}setRelayCounter(t){const e=this.items.find(n=>n.url==t);e&&(null==e.eventcount&&(e.eventcount=0),e.eventcount++)}setRelayNIP11(t,e){var n=this;return Ee(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(e.error?(r.error=e.error,a.error=e.error):(r.error=void 0,a.error=void 0,r.nip11=e,a.nip11=e),yield n.db.storage.putRelay(r))})()}addRelay(t,e,n){var r=this;return Ee(function*(){let a=r.items.find(c=>c.url==t),o=1;n&&!e?o=3:!n&&e&&(o=2),a?(null==a.enabled&&(a.enabled=!0),a.type!==o&&(a.type=o,r.db.storage.putRelay(a))):(a={enabled:!0,public:!0,url:t,type:o},r.db.storage.putRelay(a),r.items.push(a)),o<3?r.createRelayWorker(a.url):r.terminate(a.url)})()}deleteRelays(t){var e=this;return Ee(function*(){const n=e.items.filter(r=>-1==t.indexOf(r.url));e.logger.debug("relaysToRemove:",n);for(let r=0;rc.url==a.url);e.logger.info(`${a.url}: Terminating this Web Worker!`,o?.url),o?.terminate()}e.items=e.items.filter(r=>t.indexOf(r.url)>-1)})()}processEvent(t){var e=this;return Ee(function*(){const r=e.eventService.processEvent(t.data);if(r){if(e.logger.debug("SAVE EVENT?:",r),t.subscription){const a=e.subs.get(t.subscription);if(a)if("Event"==a.type)-1===a.events.findIndex(c=>c.id==r.id)&&a.events.push(r);else if("Profile"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}else if("Contacts"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}else if("Replaceable"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey&&e.eventService.firstDTag(c)==e.eventService.firstDTag(r));return void(o>-1?r.created_at>a.events[o].created_at&&(a.events[o]=r,yield e.badgeService.putDefinition(r)):(a.events.push(r),yield e.badgeService.putDefinition(r)))}}if("feed"==t.subscription)e.ui.putFeedEvent(r);else if("notifications"==t.subscription){let a=yield e.db.storage.getNotification(r.id);if(!a){let o="";if(r.kind==jn.Reaction){let u=r.content;"+"===u||""===u?u="\u2764\ufe0f":"-"===u&&(u="\u{1f494}"),o=u}else if(r.kind==jn.Text)o="replied to your note.";else if(r.kind==jn.Contacts){if(o="started following you.",yield e.db.storage.getNotification(r.pubkey))return;r.id=r.pubkey}else o=6==r.kind?"boosted your note.":`Event kind ${r.kind} notification.`;const c=e.eventService.lastETag(r);a={id:r.id,relatedId:c,kind:r.kind,pubkey:r.pubkey,message:o,seen:!1,created:r.created_at},yield e.db.storage.putNotification(a),e.ui.putNotification(a)}}if(30009==r.kind)yield e.badgeService.putDefinition(r);else if(r.kind==jn.Article)e.articleService.put(r);else if(r.kind==jn.Metadata){const a=e.utilities.mapProfileEvent(r);if(a){const o=yield e.profileService.updateProfile(a.pubkey,a);e.ui.pubkey==r.pubkey&&e.ui.setProfile(o)}}else if(r.kind==jn.Contacts){const a=e.appState.getPublicKey();if(r.pubkey===a){let o=yield e.db.storage.getContacts(a);if(!o||o.created_atx[1]);e.profileService.followingAndRelays(r.pubkey,c,r.content),o=r;const m={pubkeys:o.tags.map(x=>x[1]),pubkey:a,relays:[],relaysCount:0};if(o.content&&(m.relays=JSON.parse(o.content),m.relaysCount=Object.keys(m.relays).length),m.pubkeys.length>0||m.relaysCount>0){if(m.relaysCount>0){const P=e.utilities.getRelayUrls(m.relays);yield e.deleteRelays(P),yield e.appendRelays(m.relays)}const x=m.pubkeys;for(let P=0;P=r.created_at)return;yield e.db.storage.putContacts(r);const c=r.tags.map(m=>m[1]),u=yield e.profileService.followingAndRelays(r.pubkey,c,r.content);u&&e.ui.pubkey==u.pubkey&&e.ui.setProfile(u,!0)}}else e.ui.eventId==r.id?e.ui.setEvent(r):e.ui.parentEventId==r.id?e.ui.setParentEvent(r):(e.ui.pubkey==r.pubkey||t.subscription==e.threadSubscription)&&e.ui.putEvent(r)}})()}enque(t){this.action("enque",t)}handleRelayMessage(t,e){var n=this;return Ee(function*(){const r=t.data;switch(r.type){case"timeout":n.logger.debug(`Relay ${e} timeout: ${r.data}.`),n.setRelayTimeout(e,r.data);break;case"status":if(n.logger.debug(`Relay ${e} changed status to ${r.data}.`),yield n.setRelayStatus(e,r.data),1===r.data){n.appState.updateConnectionStatus(!0);const c=n.workers.findIndex(m=>m.url==e),u=n.workers[c];n.subs.forEach(m=>{u.subscribe(m.filters,m.id)})}break;case"terminated":n.logger.info(`${e}: WE HAVE TERMINATED`);const a=n.workers.findIndex(c=>c.url==e),o=n.workers[a];o.status="terminated",n.logger.debug(`${e}: Calling actually TERMINATE on Web Worker!`),o.worker?.terminate(),a>-1&&n.workers.splice(a,1),yield n.setRelayStatus(e,-1);break;case"event":n.setRelayCounter(e),yield n.processEvent(r);break;case"nip11":yield n.setRelayNIP11(e,r.data)}})()}handleRelayError(t,e){var n=this;return Ee(function*(){yield n.setRelayStatus(e,-1),console.warn("ERROR IN WEB WORKER FOR RELAY!",t),console.warn("ERROR IN WEB WORKER FOR RELAY22!",t.error)})()}createRelayWorker(t,e){var n=this;if(!t)return void console.warn("SUPPLIED EMPTY URL TO CREATE RELAY WORKER!");const r=this.workers.findIndex(c=>c.url==t);if(r>-1)return this.logger.debug(`${t}: This relay already exists, calling connect on it.`),void this.workers[r].connect(void 0,e);const a=new _ee(t);this.logger.info(`${t}: Creating this web worker.`),this.workers.push(a);const o=a.start();o.onmessage=function(){var c=Ee(function*(u){n.logger.debug(`${a.url}: onmessage`,u.data),yield n.handleRelayMessage(u,a.url)});return function(u){return c.apply(this,arguments)}}(),o.onerror=function(){var c=Ee(function*(u){n.logger.error(`${a.url}: onerror`,u.error),yield n.handleRelayError(u,a.url)});return function(u){return c.apply(this,arguments)}}(),a.connect(Array.from(this.subs.values()),e)}getActiveRelay(t){const e=this.relays.findIndex(n=>n.url==t);return-1==e?null:this.relays[e]}appendRelays(t){var e=this;return Ee(function*(){let n=t;if(Array.isArray(n)){n={};for(let o=0;oa.url==t);-1!=n&&(e.workers.find(a=>a.url==t)?.terminate(),yield e.db.storage.deleteRelay(t),e.items.splice(n,1))})()}connectedRelays(){return this.relays.filter(t=>1===t.status)}queueSubscription(t){const e=dv();return this.subs.set(e,{id:e,filters:t,events:[],type:"Event"}),e}subscribe(t,e,n="Event"){e||(e=dv());const r={id:e,filters:t,events:[],type:n};this.subs.set(e,r);for(let a=0;a3==r.type);for(let r=0;r{class i{constructor(e){this.appearance=e?.appearance||"raised"}}return i.\u0275fac=function(e){return new(e||i)(k(hne,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-card-outlined","outlined"===n.appearance)("mdc-card--outlined","outlined"===n.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:sne,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),i})(),X_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),i})(),sc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),i})(),J_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),i})(),e0=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:une,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,n){1&e&&(Pi(dne),vt(0),_(1,"div",0),vt(2,1),v(),vt(3,2))},encapsulation:2,changeDetection:0}),i})(),tO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]}),i})(),GD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),i})(),vne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Dr,Jt]}),i})();const wne=["determinateSpinner"];function Fne(i,t){if(1&i&&(mo(),_(0,"svg",11),Ce(1,"circle",12),v()),2&i){const e=Z();Lt("viewBox",e._viewBox()),E(1),Kn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Lt("r",e._circleRadius())}}const xne=tc(class{constructor(i){this._elementRef=i}},"primary"),Cne=new Ze("mat-progress-spinner-default-options",{providedIn:"root",factory:function kne(){return{diameter:iO}}}),iO=100;let Wv=(()=>{class i extends xne{constructor(e,n,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=iO,this._noopAnimations="NoopAnimations"===n&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,vr(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=vr(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=vr(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Nn,8),k(Cne))},i.\u0275cmp=qe({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,n){if(1&e&&At(wne,5),2&e){let r;Qe(r=Xe())&&(n._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,n){2&e&&(Lt("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),Kn("width",n.diameter,"px")("height",n.diameter,"px"),Mt("_mat-animation-noopable",n._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===n.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[st],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,n){if(1&e&&(ee(0,Fne,2,8,"ng-template",null,0,ko),_(2,"div",1,2),mo(),_(4,"svg",3),Ce(5,"circle",4),v()(),pl(),_(6,"div",5)(7,"div",6)(8,"div",7),Jo(9,8),v(),_(10,"div",9),Jo(11,8),v(),_(12,"div",10),Jo(13,8),v()()()),2&e){const r=Li(1);E(4),Lt("viewBox",n._viewBox()),E(1),Kn("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeDashOffset(),"px")("stroke-width",n._circleStrokeWidth(),"%"),Lt("r",n._circleRadius()),E(4),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r)}},dependencies:[Sf],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),i})(),Mne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Jt]}),i})();function Ene(i,t){1&i&&(_(0,"div",17)(1,"button",18),Ce(2,"mat-spinner",19),v()())}function Sne(i,t){if(1&i){const e=Je();_(0,"div",17)(1,"a",20),fe("click",function(){return Te(e),Ae(Z().connect())}),L(2,"Install "),_(3,"span",4),L(4,"extension"),v()()()}}function Tne(i,t){if(1&i){const e=Je();_(0,"button",22),fe("click",function(){return Te(e),Ae(Z(2).connect())}),L(1,"Connect "),_(2,"span",4),L(3,"using extension"),v()()}}function Ane(i,t){if(1&i){const e=Je();_(0,"button",22),fe("click",function(){return Te(e),Ae(Z(2).giveConsent())}),L(1,"Give consent"),v()}}function Ine(i,t){if(1&i&&(_(0,"div",17),ee(1,Tne,4,0,"button",21),ee(2,Ane,2,0,"button",21),v()),2&i){const e=Z();E(1),S("ngIf",e.consent),E(1),S("ngIf",!e.consent)}}function Lne(i,t){1&i&&(_(0,"p",11)(1,"button",23),L(2,"Create new profile"),v(),Ce(3,"br")(4,"br"),_(5,"button",24),L(6,"Log in"),v(),Ce(7,"br")(8,"br"),v())}function Nne(i,t){if(1&i){const e=Je();_(0,"p",11)(1,"button",22),fe("click",function(){return Te(e),Ae(Z().giveConsent())}),L(2,"Give consent"),v()()}}function One(i,t){if(1&i){const e=Je();_(0,"p",11),Ce(1,"br"),_(2,"button",25),fe("click",function(){Te(e);const r=Z();return r.consent=!1,Ae(r.persist())}),L(3,"Withdraw consent"),v()()}}class t0{constructor(t,e,n,r,a,o,c,u,m){this.theme=t,this.appState=e,this.cd=n,this.relayService=r,this.authService=a,this.utilities=o,this.router=c,this.ngZone=u,this.dialog=m,this.extensionDiscovered=!1,this.consent=!1,this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",this.checkedTimes=0,this.showInstallLink=!1,this.searchingForExtension=!0}persist(){localStorage.setItem("blockcore:notes:nostr:consent",this.consent.toString())}giveConsent(){var t=this;this.dialog.open(b_,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){r&&!0===r&&(t.consent=!0,t.persist())});return function(r){return n.apply(this,arguments)}}())}connect(){var t=this;return Ee(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}scroll(t){const e=document.getElementById("container");e?e.scroll(0,t):console.log("NOT FOUND!")}anonymous(t){var e=this;return Ee(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}ngOnInit(){this.consent="true"===localStorage.getItem("blockcore:notes:nostr:consent"),this.checkForExtension()}ngOnDestroy(){this.timeout&&clearTimeout(this.timeout)}checkForExtension(){return this.checkedTimes++,globalThis.nostr?(this.searchingForExtension=!1,void(this.extensionDiscovered=!0)):this.checkedTimes>10?(this.searchingForExtension=!1,void(this.showInstallLink=!0)):void(this.timeout=setTimeout(()=>{this.ngZone.run(()=>{this.checkForExtension()})},250))}}t0.\u0275fac=function(t){return new(t||t0)(k(Ml),k(Xi),k(oi),k(Mo),k(Na),k(Qi),k(qn),k(Rt),k(Fa))},t0.\u0275cmp=qe({type:t0,selectors:[["app-connect"]],decls:51,vars:7,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],["class","connect-button",4,"ngIf"],[1,"connect-content"],[1,"card","first-card"],[1,"centered"],["class","centered",4,"ngIf"],[1,"card","card-image"],["loading","lazy","width","1079","height","776","src","/assets/blockcore-notes-screenshot.png"],[1,"card"],[1,"notice"],[1,"connect-button"],["mat-flat-button","","color","accent",1,"start-button"],["color","accent","diameter","30",1,"spinner"],["mat-flat-button","","color","accent","href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank",1,"start-button",3,"click"],["class","start-button","mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",1,"start-button",3,"click"],["color","accent","routerLink","/connect/create","mat-flat-button","",1,"start-button"],["color","accent","routerLink","/connect/login","mat-flat-button","",1,"start-button"],["mat-stroked-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1),Ce(2,"img",2),_(3,"div",3)(4,"span",4),L(5,"Blockcore"),v(),L(6," Notes"),v(),Ce(7,"div",5),_(8,"button",6),fe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(9,"mat-icon",7),L(10),v()(),ee(11,Ene,3,0,"div",8),ee(12,Sne,5,0,"div",8),ee(13,Ine,3,2,"div",8),v(),_(14,"div",9)(15,"mat-card",10)(16,"mat-card-content")(17,"h1",11),L(18,"New ways to connect with humanity"),v(),ee(19,Lne,9,0,"p",12),ee(20,Nne,3,0,"p",12),v()(),_(21,"mat-card",13),Ce(22,"img",14),v(),_(23,"mat-card",15)(24,"mat-card-content")(25,"h1"),L(26,"Freedom of expression"),v(),_(27,"p"),L(28," Share your thoughts and interact with others in a fully transparent and open manner that is not restricted by any boundaries. Experience the world of "),_(29,"strong"),L(30,"Nostr"),v(),L(31,". Nostr is a uncensorable protocol for communication with your friends and the world. "),v(),_(32,"p",16)(33,"strong"),L(34,"PROTOTYPE:"),v(),L(35," This app is currently under development and should be considered prototype-quality."),v()()(),_(36,"mat-card",15)(37,"mat-card-content")(38,"h1"),L(39,"Follow your favorite creators"),v(),_(40,"p"),L(41," No matter if they are photographers, film makers, bloggers, journalists or anyone else who likes to share and engage in communities and chats, Blockcore Notes have you covered with dynamic content layouts and organization of people. "),v()()(),_(42,"mat-card",15)(43,"mat-card-content")(44,"h1"),L(45,"Be humble and kind"),v(),_(46,"p"),L(47,"Being uncensorable and uncancellable means more responsibility is on you, you are in control and you are responsible."),v(),_(48,"p"),L(49,"\u{1f49b}\u{1f5a4}"),v(),ee(50,One,4,0,"p",12),v()()()()),2&t&&(E(10),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(1),S("ngIf",e.searchingForExtension),E(1),S("ngIf",e.showInstallLink),E(1),S("ngIf",e.extensionDiscovered),E(6),S("ngIf",e.consent),E(1),S("ngIf",!e.consent),E(30),S("ngIf",e.consent))},dependencies:[ri,wa,VQ,dr,bo,Pa,sc,Zn,Wv],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}"]});class qv{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,n=!0,r){this._multiple=t,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new He,e&&e.length&&(t?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(n=>this._markSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(n=>this._unmarkSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,n=new Set(t);t.forEach(a=>this._markSelected(a)),e.filter(a=>!n.has(a)).forEach(a=>this._unmarkSelected(a));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}let qD=(()=>{class i{constructor(){this._listeners=[]}notify(e,n){for(let r of this._listeners)r(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Rne=0;const $D=new Ze("CdkAccordion");let Pne=(()=>{class i{constructor(){this._stateChanges=new He,this._openCloseAllActions=new He,this.id="cdk-accordion-"+Rne++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ct(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Nt([{provide:$D,useExisting:i}]),Jn]}),i})(),Bne=0,Hne=(()=>{class i{get expanded(){return this._expanded}set expanded(e){e=Ct(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e)}constructor(e,n,r){this.accordion=e,this._changeDetectorRef=n,this._expansionDispatcher=r,this._openCloseAllSubscription=C.EMPTY,this.closed=new lt,this.opened=new lt,this.destroyed=new lt,this.expandedChange=new lt,this.id="cdk-accordion-child-"+Bne++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((a,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return i.\u0275fac=function(e){return new(e||i)(k($D,12),k(oi),k(qD))},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Nt([{provide:$D,useValue:void 0}])]}),i})(),Vne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const Yne=["body"];function jne(i,t){}const zne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Une=["mat-expansion-panel-header","*","mat-action-row"];function Wne(i,t){1&i&&Ce(0,"span",2),2&i&&S("@indicatorRotate",Z()._getExpandedState())}const Gne=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],qne=["mat-panel-title","mat-panel-description","*"],KD=new Ze("MAT_ACCORDION"),aO="225ms cubic-bezier(0.4,0.0,0.2,1)",oO={indicatorRotate:Za("indicatorRotate",[gr("collapsed, void",fi({transform:"rotate(0deg)"})),gr("expanded",fi({transform:"rotate(180deg)"})),lr("expanded <=> collapsed, void => collapsed",sr(aO))]),bodyExpansion:Za("bodyExpansion",[gr("collapsed, void",fi({height:"0px",visibility:"hidden"})),gr("expanded",fi({height:"*",visibility:"visible"})),lr("expanded <=> collapsed, void => collapsed",sr(aO))])},sO=new Ze("MAT_EXPANSION_PANEL");let $ne=(()=>{class i{constructor(e,n){this._template=e,this._expansionPanel=n}}return i.\u0275fac=function(e){return new(e||i)(k(yr),k(sO,8))},i.\u0275dir=Oe({type:i,selectors:[["ng-template","matExpansionPanelContent",""]]}),i})(),Kne=0;const lO=new Ze("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Xc=(()=>{class i extends Hne{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ct(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,n,r,a,o,c,u){super(e,n,r),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new lt,this.afterCollapse=new lt,this._inputChanges=new He,this._headerId="mat-expansion-panel-header-"+Kne++,this._bodyAnimationDone=new He,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe(jg((m,x)=>m.fromState===x.fromState&&m.toState===x.toState)).subscribe(m=>{"void"!==m.fromState&&("expanded"===m.toState?this.afterExpand.emit():"collapsed"===m.toState&&this.afterCollapse.emit())}),u&&(this.hideToggle=u.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ur(null),qi(()=>this.expanded&&!this._portal),rn(1)).subscribe(()=>{this._portal=new Ad(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}}return i.\u0275fac=function(e){return new(e||i)(k(KD,12),k(oi),k(qD),k(kr),k(xi),k(Nn,8),k(lO,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(e,n,r){if(1&e&&ui(r,$ne,5),2&e){let a;Qe(a=Xe())&&(n._lazyContent=a.first)}},viewQuery:function(e,n){if(1&e&&At(Yne,5),2&e){let r;Qe(r=Xe())&&(n._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-expanded",n.expanded)("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-expansion-panel-spacing",n._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Nt([{provide:KD,useValue:void 0},{provide:sO,useExisting:i}]),st,Jn],ngContentSelectors:Une,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,n){1&e&&(Pi(zne),vt(0),_(1,"div",0,1),fe("@bodyExpansion.done",function(a){return n._bodyAnimationDone.next(a)}),_(3,"div",2),vt(4,1),ee(5,jne,0,0,"ng-template",3),v(),vt(6,2),v()),2&e&&(E(1),S("@bodyExpansion",n._getExpandedState())("id",n.id),Lt("aria-labelledby",n._headerId),E(4),S("cdkPortalOutlet",n._portal))},dependencies:[Jl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[oO.bodyExpansion]},changeDetection:0}),i})();class Zne{}const Qne=Pc(Zne);let Jc=(()=>{class i extends Qne{constructor(e,n,r,a,o,c,u){super(),this.panel=e,this._element=n,this._focusMonitor=r,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=C.EMPTY;const m=e.accordion?e.accordion._stateChanges.pipe(qi(x=>!(!x.hideToggle&&!x.togglePosition))):dn;this.tabIndex=parseInt(u||"")||0,this._parentChangeSubscription=Bn(e.opened,e.closed,m,e._inputChanges.pipe(qi(x=>!!(x.hideToggle||x.disabled||x.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(qi(()=>e._containsFocus())).subscribe(()=>r.focusVia(n,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:ya(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return i.\u0275fac=function(e){return new(e||i)(k(Xc,1),k(pt),k(Ka),k(oi),k(lO,8),k(Nn,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,n){1&e&&fe("click",function(){return n._toggle()})("keydown",function(a){return n._keydown(a)}),2&e&&(Lt("id",n.panel._headerId)("tabindex",n.tabIndex)("aria-controls",n._getPanelId())("aria-expanded",n._isExpanded())("aria-disabled",n.panel.disabled),Kn("height",n._getHeaderHeight()),Mt("mat-expanded",n._isExpanded())("mat-expansion-toggle-indicator-after","after"===n._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===n._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[st],ngContentSelectors:qne,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,n){1&e&&(Pi(Gne),_(0,"span",0),vt(1),vt(2,1),vt(3,2),v(),ee(4,Wne,1,1,"span",1)),2&e&&(Mt("mat-content-hide-toggle",!n._showToggle()),E(4),S("ngIf",n._showToggle()))},dependencies:[ri],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[oO.indicatorRotate]},changeDetection:0}),i})(),Zd=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),i})(),Qd=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),i})(),lc=(()=>{class i extends Pne{constructor(){super(...arguments),this._ownHeaders=new Ec,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ct(e)}ngAfterContentInit(){this._headers.changes.pipe(Ur(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ug(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["mat-accordion"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Jc,5),2&e){let a;Qe(a=Xe())&&(n._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-accordion-multi",n.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Nt([{provide:KD,useExisting:i}]),st]}),i})(),cO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Jt,Vne,xl]}),i})();class r0{constructor(t){this.appState=t}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("About"),this.appState.actions=[]}}r0.\u0275fac=function(t){return new(t||r0)(k(Xi))},r0.\u0275cmp=qe({type:r0,selectors:[["app-about"]],decls:76,vars:0,consts:[[1,"page","help"],["srcset","/assets/icons/icon-128x128.png, /assets/icons/icon-256x256.png 1.5x, /assets/icons/icon-512x512.png 2x","src","/assets/icons/icon-128x128.png","alt","Blockcore Notes logo","width","128","height","128",1,"logo"],[1,"marginless","heading"],["routerLink","licenses"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],["href","https://geyser.fund/project/blockcore","target","_blank"],["href","https://www.blockcore.net/about","target","_blank"],["src","assets/nostr.svg",1,"logo"],["href","https://www.nostr.directory/","target","_blank"],["href","https://www.nostr.guru/","target","_blank"],["hideToggle",""],[1,"centered"],["src","/assets/nostritch.jpg",1,"mascot"]],template:function(t,e){1&t&&(_(0,"div",0),Ce(1,"img",1),_(2,"h1",2),L(3,"About"),v(),_(4,"p"),L(5,"Blockcore Notes instructions will come here later on."),v(),_(6,"p")(7,"a",3),L(8,"Third Party Licenses"),v(),Ce(9,"br"),_(10,"a",4),L(11,"Source Code"),v()(),_(12,"h3"),L(13,"Support development"),v(),_(14,"p"),L(15,"Please consider donating some Bitcoin using Geyser:"),v(),_(16,"p")(17,"a",5),L(18,"geyser.fund/project/blockcore"),v()(),_(19,"p"),L(20,"We have additional donation and sponsoring options available here:"),v(),_(21,"p")(22,"a",6),L(23,"www.blockcore.net/about"),v()(),Ce(24,"img",7),_(25,"h1",2),L(26,"Nostr"),v(),_(27,"h3"),L(28,"Nostr Directory"),v(),_(29,"p"),L(30,"Accounts marked with globe icon are accounts added to this service:"),v(),_(31,"p")(32,"a",8),L(33,"www.nostr.directory"),v()(),_(34,"h3"),L(35,"Data Lookup"),v(),_(36,"p"),L(37,"The user identity (npub) and the event identity is available in tooltips on notes. You can copy those and verify using:"),v(),_(38,"p")(39,"a",9),L(40,"www.nostr.guru"),v()(),_(41,"h3"),L(42,"Frequently Asked Questions"),v(),_(43,"mat-accordion")(44,"mat-expansion-panel",10)(45,"mat-expansion-panel-header")(46,"mat-panel-title"),L(47," Can I contribute? "),v(),_(48,"mat-panel-description"),L(49," Yes "),v()(),_(50,"p"),L(51," Blockcore Notes is a very early work in progress and is only at prototype feature and quality level. If you want to contribute, please help out on "),_(52,"a",4),L(53,"github.com/block-core/blockcore-notes"),v()()(),_(54,"mat-expansion-panel")(55,"mat-expansion-panel-header")(56,"mat-panel-title"),L(57,"Photos and film display"),v(),_(58,"mat-panel-description"),L(59,"Following only"),v()(),_(60,"p"),L(61," Photos and films are only displayed for accounts you are following. This is for your protection and ensures you're not downloading images you don't want to see, but also don't want to download as anyone can link to very large images. "),v(),_(62,"p"),L(63,"Not loading photos is also a measure to improve your privacy. When photos are displayed, your IP-address is available to the server hosting the photo."),v()(),_(64,"mat-expansion-panel")(65,"mat-expansion-panel-header")(66,"mat-panel-title"),L(67,"How can I be safe?"),v(),_(68,"mat-panel-description"),L(69,"Unwanted content"),v()(),_(70,"p"),L(71,"It is easy to be exposed to unwanted content on Nostr, as there are a public feed available that contains everything that everyone is posting."),v(),_(72,"p"),L(73,"The best way to ensure you don't get wanted content, is to follow users you know and trust. Only use the Home Feed and People/Circle sections."),v()()(),_(74,"p",11),Ce(75,"img",12),v()())},dependencies:[lc,Xc,Jc,Qd,Zd],styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const Xne=g(i=>function(e=null){i(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function $v(i,t){const{first:e,each:n,with:r=Jne,scheduler:a=t??Lf,meta:o=null}=WI(i)?{first:i}:"number"==typeof i?{each:i}:i;if(null==e&&null==n)throw new TypeError("No timeout provided.");return Yt((c,u)=>{let m,x,P=null,K=0;const ne=pe=>{x=rr(u,a,()=>{try{m.unsubscribe(),cn(r({meta:o,lastValue:P,seen:K})).subscribe(u)}catch(ye){u.error(ye)}},pe)};m=c.subscribe(jt(u,pe=>{x?.unsubscribe(),K++,u.next(P=pe),n>0&&ne(n)},void 0,void 0,()=>{x?.closed||x?.unsubscribe(),P=null})),!K&&ne(null!=e?"number"==typeof e?e:+e-a.now():n)})}function Jne(i){throw new Xne(i)}class Bo{constructor(t,e){this.db=t,this.utilities=e,this.circles=[]}initialize(){var t=this;return Ee(function*(){if(!(yield t.db.storage.getCircle(0)))for(let n=0;n0)return this.circles.find(e=>e.id==t)}get(t){var e=this;return Ee(function*(){if(null!=t)return e.circles.length>0?e.circles.find(n=>n.id==t):yield e.db.storage.getCircle(t)})()}put(t){var e=this;return Ee(function*(){const n=e.utilities.now();t.created||(t.created=n),t.modified=n;const r=e.circles.findIndex(o=>o.id==t.id);r>-1?e.circles[r]=t:e.circles.push(t);const a=yield e.db.storage.putCircle(t);t.id=a})()}delete(t){var e=this;return Ee(function*(){const n=e.circles.findIndex(r=>r.id==t);n>-1&&e.circles.splice(n,1),yield e.db.storage.deleteCircle(t)})()}}Bo.DEFAULT=[{id:0,name:"Following",color:"#e91e63",style:1,public:!0},{id:1,name:"Text",color:"#7cb342",style:2,public:!0},{id:2,name:"Photo",color:"#ffb300",style:3,public:!0},{id:3,name:"Film",color:"#26c6da",style:4,public:!0},{id:4,name:"Music",color:"#ba9eea",style:5,public:!0},{id:5,name:"Podcast",color:"#ff8a65",style:6,public:!0},{id:6,name:"Private",color:"#607d8b",style:1,public:!1}],Bo.\u0275fac=function(t){return new(t||Bo)(Fe(ua),Fe(Qi))},Bo.\u0275prov=Ke({token:Bo,factory:Bo.\u0275fac,providedIn:"root"});class Ba{constructor(t,e,n,r,a,o,c,u,m,x,P){this.nostr=t,this.ui=e,this.circleService=n,this.storage=r,this.queueService=a,this.profileService=o,this.appState=c,this.utilities=u,this.validator=m,this.eventService=x,this.relayService=P,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe(_t(K=>!0===K)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe(K=>{console.log("Connection state changed: ",K),this.connected=K,this.connected&&this.initialDataLoad()})}publishRelays(){var t=this;return Ee(function*(){const e=t.getArrayFomattedRelayList();let n={kind:10002,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:e};const r=yield t.createAndSignEvent(n);r&&(console.log("PUBLISH EVENT:",r),t.relayService.publish(r))})()}getArrayFomattedRelayList(){return this.relayService.items.filter(t=>!0===t.public).map(t=>{let e=["r",t.url];return 2==t.type?e.push("read"):3==t.type&&e.push("write"),e})}getJsonFormattedRelayList(){let t={};return this.relayService.items.filter(e=>e.public).map(e=>{t[e.url]={read:1===e.type||2===e.type,write:1===e.type||3===e.type}}),t}createAndSignEvent(t){var e=this;return Ee(function*(){let n=t;n.id=jd(t),n=yield e.nostr.sign(t);const r=e.eventService.processEvent(n);if(!r)throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield lp(r)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return r})()}getContactsAndRelays(){var t=this;return Ee(function*(){return yield t.storage.storage.getContacts(t.appState.getPublicKey())})()}publishContactsAndRelays(){var t=this;return Ee(function*(){const e=t.circleService.circles.filter(u=>!u.public).map(u=>u.id),r=t.profileService.following.filter(u=>-1==e.indexOf(u.circle)).map(u=>u.pubkey).map(u=>["p",u]),a=t.getJsonFormattedRelayList();let o={kind:jn.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(a),pubkey:t.appState.getPublicKey(),tags:r};const c=yield t.createAndSignEvent(o);c&&(console.log("PUBLISH EVENT:",c),t.relayService.publish(c))})()}initialDataLoad(){var t=this;return Ee(function*(){t.relayService.subscribe([{authors:[t.appState.getPublicKey()],kinds:[jn.Metadata,jn.Contacts]}],"self"),t.profileService.following.map(r=>r.pubkey).unshift(t.appState.getPublicKey()),t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],limit:100,kinds:[jn.Text,jn.Reaction,6]}],"notifications");const n=yield t.storage.storage.getNotifications(10);t.ui.putNotifications(n)})()}initialize(){var t=this;return Ee(function*(){setTimeout(Ee(function*(){yield t.cleanProfiles()}),t.cleanProfileInterval)})()}enque(t){this.relayService.action("enque",t)}processQueues(){}processEventQueue(){}processProfileQueue(){}processContactsQueue(){}downloadNewestProfiles(t,e=1e4,n=-1){return this.downloadNewestProfileEvents(t,e,n).pipe(_t(r=>r?this.utilities.mapProfileEvent(r):void 0))}downloadNewestProfileEvents(t,e=1e4,n=-1){return this.downloadNewestProfileEventByQuery([{kinds:[0],authors:t}],e,n)}downloadNewestEvents(t,e,n=1e4,r=-1){return this.downloadNewestEventsByQuery([{kinds:e,authors:t}],n,r)}downloadEventsByTags(t,e=1e4){return this.downloadEventsByQuery(t)}downloadEvent(t,e=5e3){return this.downloadEventByQuery([{ids:[t]}],e)}downloadEventByQuery(t,e=1e4){let n;return this.connected$.pipe(vi(()=>this.relayService.connectedRelays())).pipe(vi(r=>this.downloadFromRelay(t,r,e))).pipe(qi(r=>!n&&(n=r,!0))).pipe($v(e),es(r=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadNewestEventsByQuery(t,e=1e4,n=-1){const r=[];return Bn(...this.relayService.connectedRelays().map(o=>this.downloadFromRelay(t,o))).pipe(qi((o,c)=>{let u=!1;return r.findIndex(x=>x.id===o.id)>-1?u=!1:(r.push(o),u=!0),n>-1&&0!=n&&n--,u})).pipe($v(e),es(o=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadNewestProfileEventByQuery(t,e=1e4,n=-1){return Bn(...this.relayService.connectedRelays().map(a=>this.downloadFromRelay(t,a))).pipe($v(e),es(a=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadEventsByQuery(t,e=1e4){return this.connected$.pipe(vi(()=>this.relayService.connectedRelays())).pipe(vi(n=>this.downloadFromRelay(t,n)))}updateMetadata(t){var e=this;return Ee(function*(){const n=e.utilities.reduceProfile(t);let r=e.createEvent(jn.Metadata,JSON.stringify(n));const a=yield e.signEvent(r);t.created_at=r.created_at,yield e.profileService.updateProfile(t.pubkey,t),yield e.publishEvent(a)})()}downloadFromRelay(t,e,n=1e4){return new ht(r=>{const a=e.sub([...t],{});return a.on("event",o=>{const c=this.eventService.processEvent(o);c&&r.next(c)}),a.on("eose",()=>{r.complete()}),()=>{a.unsub()}}).pipe($v(n),es(r=>(console.warn("The observable was timed out."),Ht())))}fetchProfiles(t,e){var n=this;if(!e||0===e.length)return;setTimeout(()=>{this.isFetching=!1;try{r.unsub()}catch(a){console.warn("Error during automatic failover for profile fetch.",a)}},3e4),this.isFetching=!0;let r=t.sub([{kinds:[0],authors:e}],{});r.on("event",function(){var a=Ee(function*(o){const c=n.eventService.processEvent(o);if(c)try{const u=JSON.parse(c.content);n.validator.sanitizeProfile(u).created_at=c.created_at}catch{console.warn("This profile event was not parsed due to errors:",c)}});return function(o){return a.apply(this,arguments)}}()),r.on("eose",()=>{r.unsub(),this.isFetching=!1})}cleanProfiles(){return Ee(function*(){})()}createEvent(t,e){return this.createEventWithPubkey(t,e,this.appState.getPublicKey())}createEventWithPubkey(t,e,n){return{kind:t,created_at:Math.floor(Date.now()/1e3),content:e,pubkey:n,tags:[]}}signArticle(t){var e=this;return Ee(function*(){let n=t;if(n=yield e.nostr.sign(t),!e.eventService.processEvent(n))throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield lp(n)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return n})()}signBadgeDefinition(t){var e=this;return Ee(function*(){return e.signArticle(t)})()}signEvent(t){var e=this;return Ee(function*(){let n=t;return n.id||(n.id=jd(t)),e.signArticle(n)})()}publishEvent(t){var e=this;return Ee(function*(){e.relayService.publish(t)})()}publishContacts(t){var e=this;return Ee(function*(){const n=t.map(m=>["p",m]);let r={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:e.appState.getPublicKey(),tags:n},a=r;a.id=jd(r),a=yield e.nostr.sign(r);const o=e.eventService.processEvent(a);if(!zd(a))throw new Error("The event is not valid. Cannot publish.");if(!(yield lp(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");if(o){console.log("PUBLISH EVENT:",a);for(let m=0;m{console.log(`${x.url} has accepted our event`)}),P.on("failed",K=>{console.log(`failed to publish to ${x.url}: ${K}`)})}}})()}}Ba.\u0275fac=function(t){return new(t||Ba)(Fe(Sl),Fe(Zr),Fe(Bo),Fe(ua),Fe(Oo),Fe(Tn),Fe(Xi),Fe(Qi),Fe(ts),Fe(Ro),Fe(Mo))},Ba.\u0275prov=Ke({token:Ba,factory:Ba.\u0275fac,providedIn:"root"});var Kv=new WeakMap;class yo{constructor(t,e,n,r){sn(this,Kv,{writable:!0,value:void 0}),this.router=t,this.dialog=e,this.appState=n,this.dataService=r,ti(this,Kv,new Hi(void 0)),this.showMore$=Pe(this,Kv).asObservable(),this.currentThread=[]}showMore(){Pe(this,Kv).next()}openFeed(t,e){const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/feed",e.id])}openEvent(t,e){this.currentEvent=e;const n=t.composedPath();n&&0!=n.length&&-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/e",e.id])}openProfile(t,e){this.currentProfile=e;const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/p",e.pubkey])}saveNote(t){var e=this;return Ee(function*(){console.log("save note data:",t);let n=t;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent(jn.Text,n);const a=yield e.dataService.signEvent(r);yield e.dataService.publishEvent(a),e.router.navigate(["/e",a.id])})()}saveArticle(t){var e=this;return Ee(function*(){console.log("save article data:",t);let n=t.content;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent(jn.Article,n);t.slug&&r.tags.push(["d",t.slug]),t.summary&&r.tags.push(["summary",t.summary]),t.title&&r.tags.push(["title",t.title]),t.image&&r.tags.push(["image",t.image]),r.tags.push(t.published_at?["published_at",t.published_at.toString()]:["published_at",r.created_at.toString()]);const a=t.tags.split(",").filter(c=>c);for(let c=0;c{class i{constructor(e){this.display="inline-block",this._dragDisabled=!1,this._elementRef=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(e,n){2&e&&Kn("display",n.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),i})(),nre=(()=>{class i{constructor(e,n,r){this._elementRef=e,this._renderer=n,this._document=r,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.rtl=!1,this.dsInitialized=new lt,this.indexChanged=new lt,this.reachesLeftBound=new lt,this.reachesRightBound=new lt,this.snapAnimationFinished=new lt,this.dragStart=new lt,this.dragEnd=new lt,this.scrollbarWidth=`${this.getScrollbarWidth()}px`}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(e){e!==this._index&&(this._index=e,this.indexChanged.emit(e))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(e){this._scrollbarHidden=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get xDisabled(){return this._xDisabled}set xDisabled(e){this._xDisabled=e}get yDisabled(){return this._yDisabled}set yDisabled(e){this._yDisabled=e}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(e){this._xWheelEnabled=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}get snapDisabled(){return this._snapDisabled}set snapDisabled(e){this._snapDisabled=e}get snapOffset(){return this._snapOffset}set snapOffset(e){this._snapOffset=e}get snapDuration(){return this._snapDuration}set snapDuration(e){this._snapDuration=e}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType=typeof window<"u"?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen(this._contentRef.nativeElement,"dragstart",e=>{e.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild(),this.rtl="rtl"===getComputedStyle(this._contentRef.nativeElement).getPropertyValue("direction")}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(e){this.onMouseMove(e)}onMouseMove(e){if((e.clientX!==this.downX||e.clientY!==this.downY)&&this.isPressed&&!this.disabled){if(!e.buttons&&!e.which)return this.onMouseUpHandler(e);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const n=e.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-n+this.downX,this.downX=n}if(!this.yDisabled&&!this.dragDisabled){const n=e.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-n+this.downY,this.downY=n}}}onMouseDownHandler(e){const n=this.locateDragScrollItem(e.target);if(n&&n.dragDisabled)return;this._startGlobalListening("touchstart"===e.type),this.isPressed=!0;const a=e;this.downX=a.clientX,this.downY=a.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(e){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const e=this.wrapper||this.parentNode,n=e?e.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex=0&&e!==this.currIndex&&this.currIndex<=this.maximumIndex(r,this._children.toArray())&&(this.currIndex=Math.min(e,this.maximumIndex(r,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const e=Boolean(this._children.length<=1),n=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);e||n?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(e){this._xWheelEnabled&&(e.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(e.deltaY,0):e.deltaY<0?this.moveLeft():e.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(e){this._isDragging!==e&&(this._isDragging=e,e?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(e){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",e?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",e?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${e}`,"hidden")}enableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${e}`,"auto")}hideScrollbar(){"none"!==this._contentRef.nativeElement.style.display&&!this.wrapper&&(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.setStyle(e,"visibility","hidden"),this._renderer.setStyle(e,"width","100px"),this._renderer.setStyle(e,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,e);const n=e.offsetWidth;this._renderer.setStyle(e,"overflow","scroll");const r=this._renderer.createElement("div");this._renderer.setStyle(r,"width","100%"),this._renderer.appendChild(e,r);const a=r.offsetWidth;return this._renderer.removeChild(this._document.body,e),n-a||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height>0||this._elementRef.nativeElement.offsetHeight>0?this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px":"100%"))}scrollTo(e,n,r){const a=this;a.isAnimating=!0;const c=e.scrollLeft,u=(this.rtl?-1:1)*n-c-this.snapOffset;let x=0;const K=function(){var ne,pe,ye;x+=20,e.scrollLeft=(ne=x,pe=c,ye=u,(ne/=r/2)<1?ye/2*ne*ne+pe:-ye/2*(--ne*(ne-2)-1)+pe),x{a.isAnimating=!1,a.snapAnimationFinished.emit(a.currIndex)},20)};K()}locateCurrentIndex(e){const n=Math.abs(this._contentRef.nativeElement.scrollLeft);this.currentChildWidth((r,a,o,c,u)=>{n>=o&&n<=a?(a-n>r/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=c),e&&this.scrollTo(this._contentRef.nativeElement,o,this.snapDuration)):0!==n&&(this.isAnimating||(this.currIndex=c+1),e&&this.scrollTo(this._contentRef.nativeElement,o+r,this.snapDuration)),u()):c+1===this._children.length-1&&(this.isAnimating||(this.currIndex=c+1),u())})}currentChildWidth(e){let n=0,r=!1;const a=function(){r=!0},o=this._children.toArray();for(let c=0;c1&&(this.indexBound=this.maximumIndex(e?e.clientWidth:0,this._children.toArray()))}maximumIndex(e,n){let r=0,a=0;for(let o=0;o<=n.length;o++){const c=n[n.length-1-o];if(!c)break;{const u=c._elementRef.nativeElement;let m=u.clientWidth;if(0===m&&u.firstElementChild&&(m=c._elementRef.nativeElement.firstElementChild.clientWidth),a+=m,!(a=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const e=this._children.toArray();this._renderer.setStyle(e[e.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&e.length>1?this.scrollbarWidth:0)}}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(zs),k(xi))},i.\u0275cmp=qe({type:i,selectors:[["drag-scroll"]],contentQueries:function(e,n,r){if(1&e&&ui(r,ire,5),2&e){let a;Qe(a=Xe())&&(n._children=a)}},viewQuery:function(e,n){if(1&e&&At(ere,7),2&e){let r;Qe(r=Xe())&&(n._contentRef=r.first)}},hostVars:2,hostBindings:function(e,n){1&e&&fe("wheel",function(a){return n.onWheel(a)})("resize",function(){return n.onWindowResize()},!1,FF),2&e&&Kn("pointer-events",n._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[Jn],ngContentSelectors:tre,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(e,n){1&e&&(Pi(),_(0,"div",0,1),vt(2),v())},styles:["[_nghost-%COMP%]{overflow:hidden;display:block}.drag-scroll-content[_ngcontent-%COMP%]{height:100%;overflow:auto;white-space:nowrap}"]}),i})(),rre=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const are=["tooltip"],dO=new Ze("mat-tooltip-scroll-strategy"),lre={provide:dO,deps:[va],useFactory:function sre(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}},dre=new Ze("mat-tooltip-default-options",{providedIn:"root",factory:function cre(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),uO="tooltip-panel",hO=Dd({passive:!0});let gre=(()=>{class i{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 positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ct(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=vr(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=vr(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)}constructor(e,n,r,a,o,c,u,m,x,P,K,ne){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=u,this._focusMonitor=m,this._dir=P,this._defaultOptions=K,this._position="below",this._positionAtOrigin=!1,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 He,this._scrollStrategy=x,this._document=ne,K&&(K.position&&(this.position=K.position),K.positionAtOrigin&&(this.positionAtOrigin=K.positionAtOrigin),K.touchGestures&&(this.touchGestures=K.touchGestures)),P.change.pipe(ai(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ai(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(([n,r])=>{e.removeEventListener(n,r,hO)}),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,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(n);this._detach(),this._portal=this._portal||new Yh(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(ai(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof pt)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return r.positionChanges.pipe(ai(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${uO}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ai(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ai(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ai(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&27===a.keyCode&&!ya(a)&&(a.preventDefault(),a.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 n=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();n.withPositions([this._addOffset({...r.main,...a.main}),this._addOffset({...r.fallback,...a.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n||"below"==n?r={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={originX:"end",originY:"center"});const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n?r={overlayX:"center",overlayY:"bottom"}:"below"==n?r={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(rn(1),ai(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){const{overlayY:n,originX:r,originY:a}=e;let o;if(o="center"===n?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===n&&"top"===a?"above":"below",o!==this._currentPosition){const c=this._overlayRef;if(c){const u=`${this._cssClassPrefix}-${uO}-`;c.removePanelClass(u+this._currentPosition),c.addPanelClass(u+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(n=e),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",n=>{const r=n.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,hO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){Gl()},i.\u0275dir=Oe({type:i,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),i})(),ps=(()=>{class i extends gre{constructor(e,n,r,a,o,c,u,m,x,P,K,ne){super(e,n,r,a,o,c,u,m,x,P,K,ne),this._tooltipComponent=bre,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return i.\u0275fac=function(e){return new(e||i)(k(va),k(pt),k(ku),k(kr),k(Rt),k(Hn),k(gC),k(Ka),k(dO),k(Rr,8),k(dre,8),k(xi))},i.\u0275dir=Oe({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[st]}),i})(),_re=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new He,this._animationsDisabled="NoopAnimations"===n}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(){this._cancelPendingAnimations(),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.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const n=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(n.classList.remove(e?a:r),n.classList.add(e?r:a),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(n);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(Nn,8))},i.\u0275dir=Oe({type:i}),i})(),bre=(()=>{class i extends _re{constructor(e,n,r){super(e,r),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(pt),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(e,n){if(1&e&&At(are,7),2&e){let r;Qe(r=Xe())&&(n._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&fe("mouseleave",function(a){return n._handleMouseLeave(a)}),2&e&&Kn("zoom",n.isVisible()?1:null)},features:[st],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,n){1&e&&(_(0,"div",0,1),fe("animationend",function(a){return n._handleAnimationEnd(a)}),_(2,"div",2),L(3),v()()),2&e&&(Mt("mdc-tooltip--multiline",n._isMultiline),S("ngClass",n.tooltipClass),E(3),yt(n.message))},dependencies:[qa],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),i})(),mO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[lre],imports:[Bf,Dr,Oc,Jt,Jt,Nc]}),i})();function yre(i,t){1&i&&(_(0,"mat-icon",1),L(1,"public"),v()),2&i&&S("matTooltip",t.$implicit)}class Al{constructor(t){this.profiles=t,this.pubkey=""}ngOnInit(){var t=this;return Ee(function*(){t.profile||(t.profile=yield t.profiles.getLocalProfile(t.pubkey)),t.profile&&(t.verifications=t.profile.verifications)})()}}function vre(i,t){1&i&&(_(0,"span"),L(1,", "),v())}function wre(i,t){if(1&i&&(_(0,"span"),L(1),ee(2,vre,2,0,"span",1),v()),2&i){const e=t.$implicit,n=t.last;E(1),qt(" ",e,""),E(1),S("ngIf",!n)}}Al.\u0275fac=function(t){return new(t||Al)(k(Tn))},Al.\u0275cmp=qe({type:Al,selectors:[["app-directory-icon"]],inputs:{pubkey:"pubkey",profile:"profile"},decls:1,vars:1,consts:[["class","directory-icon",3,"matTooltip",4,"ngFor","ngForOf"],[1,"directory-icon",3,"matTooltip"]],template:function(t,e){1&t&&ee(0,yre,2,1,"mat-icon",0),2&t&&S("ngForOf",e.verifications)},dependencies:[yn,Zn,ps],encapsulation:2});class a0{constructor(t){this.utilities=t,this.relayNames=[]}ngOnInit(){var t=this;return Ee(function*(){if(t.relayNames=[],null==t.relays)return;const e=JSON.parse(t.relays);t.relayNames=t.utilities.getRelayUrls(e)})()}}a0.\u0275fac=function(t){return new(t||a0)(k(Qi))},a0.\u0275cmp=qe({type:a0,selectors:[["app-relay-list"]],inputs:{relays:"relays"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&ee(0,wre,3,2,"span",0),2&t&&S("ngForOf",e.relayNames)},dependencies:[yn,ri],encapsulation:2});class o0{constructor(t){this.utilities=t}transform(t){return t&&(t.startsWith("npub")?t:this.utilities.getNostrIdentifier(t))}}function Fre(i,t){if(1&i&&Ce(0,"img",8),2&i){const e=Z();Kn("border-color",null==e.circle?null:e.circle.color),S("matTooltip",e.tooltip)("src",e.imagePath,on)}}function xre(i,t){if(1&i&&Ce(0,"img",9),2&i){const e=Z();S("matTooltip",e.tooltip)("src",e.imagePath,on)}}o0.\u0275fac=function(t){return new(t||o0)(k(Qi,16))},o0.\u0275pipe=Er({name:"bech32",type:o0,pure:!0});const fO=function(i){return["/p",i]};function Cre(i,t){if(1&i&&(_(0,"div",10)(1,"a",2)(2,"span",11),L(3),v()()()),2&i){const e=Z();E(1),S("routerLink",wn(5,fO,e.pubkey)),E(1),Mt("muted",2==(null==e.profile?null:e.profile.status)),S("matTooltip",e.tooltipName),E(1),yt(e.profileName)}}function kre(i,t){if(1&i&&(_(0,"div"),L(1),v(),_(2,"div"),L(3),v(),_(4,"div"),L(5),v(),_(6,"div"),L(7),v(),_(8,"div"),L(9),v(),_(10,"div"),L(11),v(),_(12,"div"),L(13),v()),2&i){const e=Z();E(1),yt(null==e.profile?null:e.profile.display_name),E(2),yt(null==e.profile?null:e.profile.name),E(2),yt(null==e.profile?null:e.profile.nip05),E(2),yt(null==e.profile?null:e.profile.website),E(2),yt(null==e.profile?null:e.profile.lud06),E(2),yt(null==e.profile?null:e.profile.lud16),E(2),yt(null==e.profile||null==e.profile.following?null:e.profile.following.length)}}function Dre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Display Name:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.display_name,"")}}function Mre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Name:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.name,"")}}function Ere(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"NIP05:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.nip05,"")}}function Sre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Public Key (npub):"),v(),L(3),gi(4,"bech32"),v()),2&i){const e=Z(3);E(3),qt(" ",yi(4,1,e.profile.pubkey),"")}}function Tre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Public Key (hex):"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.pubkey,"")}}function Are(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Website:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.website,"")}}function Ire(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"lud06:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.lud06,"")}}function Lre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"lud16:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.lud16,"")}}function Nre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Following:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.following.length,"")}}function Ore(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"About:"),v(),L(3),v()),2&i){const e=Z(3);E(3),qt(" ",e.profile.about,"")}}function Rre(i,t){if(1&i&&(_(0,"div")(1,"span",16),L(2,"Relays:"),v(),Ce(3,"app-relay-list",17),v()),2&i){const e=Z(3);E(3),S("relays",e.profile.relays)}}function Pre(i,t){if(1&i&&(_(0,"div",14),ee(1,Dre,4,1,"div",15),ee(2,Mre,4,1,"div",15),ee(3,Ere,4,1,"div",15),ee(4,Sre,5,3,"div",15),ee(5,Tre,4,1,"div",15),ee(6,Are,4,1,"div",15),ee(7,Ire,4,1,"div",15),ee(8,Lre,4,1,"div",15),ee(9,Nre,4,1,"div",15),ee(10,Ore,4,1,"div",15),ee(11,Rre,4,1,"div",15),v()),2&i){const e=Z(2);E(1),S("ngIf",e.profile.display_name),E(1),S("ngIf",e.profile.name),E(1),S("ngIf",e.profile.nip05),E(1),S("ngIf",e.profile.pubkey),E(1),S("ngIf",e.profile.pubkey),E(1),S("ngIf",e.profile.website),E(1),S("ngIf",e.profile.lud06),E(1),S("ngIf",e.profile.lud16),E(1),S("ngIf",e.profile.following),E(1),S("ngIf",e.profile.about),E(1),S("ngIf",e.profile.relays)}}function Bre(i,t){if(1&i&&(_(0,"div",12),vt(1),ee(2,Pre,12,11,"div",13),v()),2&i){const e=Z();E(2),S("ngIf",e.profile&&"content"==e.listType)}}const pO=function(i){return[i]};var Zv=new WeakMap,s0=new WeakMap;class gs{set profile(t){ti(this,Zv,t),ti(this,s0,t.pubkey),this.updateProfileDetails()}get profile(){return Pe(this,Zv)}set pubkey(t){var e=this;ti(this,s0,t),this.profiles.getProfile(t).then(function(){var n=Ee(function*(r){ti(e,Zv,r),yield e.updateProfileDetails()});return function(r){return n.apply(this,arguments)}}())}get pubkey(){return Pe(this,s0)}constructor(t,e,n,r,a){sn(this,Zv,{writable:!0,value:void 0}),sn(this,s0,{writable:!0,value:void 0}),this.ui=t,this.queueService=e,this.profiles=n,this.circleService=r,this.utilities=a,this.displayName=!0,this.displayContent=!0,this.iconSize="small",this.listType="list",ti(this,s0,""),this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.subscriptions=[]}ngAfterViewInit(){}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnChanges(t){}ngOnInit(){return Ee(function*(){})()}updateProfileDetails(){var t=this;return Ee(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.profileName,t.circle=yield t.circleService.get(t.profile.circle))})()}}gs.\u0275fac=function(t){return new(t||gs)(k(Zr),k(Oo),k(Tn),k(Bo),k(Qi))},gs.\u0275cmp=qe({type:gs,selectors:[["app-event-header"]],inputs:{displayName:"displayName",displayContent:"displayContent",iconSize:"iconSize",listType:"listType",profile:"profile",pubkey:"pubkey"},features:[Jn],ngContentSelectors:["*"],decls:8,vars:14,consts:[[1,"event-header",3,"ngClass"],[1,"icon",3,"ngClass"],[3,"routerLink"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","borderColor","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["class","name clickable",4,"ngIf"],[3,"ngIf"],["class","date clickable",4,"ngIf"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"date","clickable"],["class","content-items",4,"ngIf"],[1,"content-items"],[4,"ngIf"],[1,"content-item-label"],[3,"relays"]],template:function(t,e){1&t&&(Pi(),_(0,"div",0)(1,"div",1)(2,"a",2),ee(3,Fre,1,4,"img",3),ee(4,xre,1,2,"img",4),v()(),ee(5,Cre,4,7,"div",5),ee(6,kre,14,7,"ng-template",6),ee(7,Bre,3,1,"div",7),v()),2&t&&(S("ngClass",wn(8,pO,"event-header-"+e.listType)),E(1),S("ngClass",wn(10,pO,"icon-"+e.iconSize)),E(1),S("routerLink",wn(12,fO,e.pubkey)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(1),S("ngIf",e.displayName),E(1),S("ngIf","details"==e.listType),E(1),S("ngIf",e.displayContent))},dependencies:[qa,ri,wa,ps,a0,o0],styles:[".icon-large[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{width:256px;height:256px}.icon-medium[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:128px;height:128px;border-radius:50%}.icon-thumbnail[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:64px;height:64px;border-radius:50%;border-width:2px;margin-left:2px;margin-right:2px;margin-bottom:2px}.icon-small[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:48px;height:48px;border-radius:50%;border-width:2px;margin-left:4px;margin-right:4px;margin-bottom:2px}.content-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-wrap:break-word;line-break:anywhere}"]});class Xd{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.picture="",this.dialogRef.close()}}Xd.\u0275fac=function(t){return new(t||Xd)(k(hs),k(Ks))},Xd.\u0275cmp=qe({type:Xd,selectors:[["profile-image-dialog"]],decls:1,vars:1,consts:[["loading","lazy",1,"profile-image-original",3,"src","click"]],template:function(t,e){1&t&&(_(0,"img",0),fe("click",function(){return e.onNoClick()}),v()),2&t&&S("src",e.data.picture,on)},styles:[".profile-image-original[_ngcontent-%COMP%]{max-width:100%;cursor:pointer}"]});class gm{getKeyword(t){return this.keywords.get(t)}constructor(){this.regexpVideo=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:mp4|webm))/gi,this.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/gi,this.regexpYouTube=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,this.regexpThisIsTheWay=/(?:thisistheway.gif)/g,this.regexpAlwaysHasBeen=/(?:alwayshasbeen.jpg)/g,this.regexpSpotify=/((http|https?)?(.+?\.?)(open.spotify.com)(.+?\.?)?)/gi,this.regexpTidal=/((http|https?)?(.+?\.?)(tidal.com)(.+?\.?)?)/gi,this.regexpUrl=/([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\.\:]\w+([\/\?\=\&\#.]?[\w-]+)*\/?/gi,this.keywords=new Map,this.keywords.set("
",{token:"linebreak"}),this.keywords.set("
",{token:"linebreak"}),this.keywords.set("thisistheway.gif",{token:"meme",tooltip:"This is the way (thisistheway.gif)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("thisistheway.jpg",{token:"meme",tooltip:"This is the way (thisistheway.jpg)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("alwayshasbeen.gif",{token:"meme",tooltip:"Always has been (alwayshasbeen.gif)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("alwayshasbeen.jpg",{token:"meme",tooltip:"Always has been (alwayshasbeen.jpg)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("onehourlater.gif",{token:"meme",tooltip:"One hour later (onehourlater.gif)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"}),this.keywords.set("onehourlater.jpg",{token:"meme",tooltip:"One hour later (onehourlater.jpg)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"});for(let t=0;t<100;t++)this.keywords.set("#["+t+"]",{token:"username"})}}gm.\u0275fac=function(t){return new(t||gm)},gm.\u0275prov=Ke({token:gm,factory:gm.\u0275fac,providedIn:"root"});class Jd{get canPrevious(){return this.index>0}get canNext(){return this.index{this.audio&&this.audio.pause()}),navigator.mediaSession.setActionHandler("seekbackward",()=>{this.rewind(10)}),navigator.mediaSession.setActionHandler("seekforward",()=>{this.forward(10)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{this.canPrevious&&this.previous()}),navigator.mediaSession.setActionHandler("nexttrack",()=>{this.canNext&&this.next()})}exit(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.audio=void 0),this.index=-1,this.current=void 0,this.options.values.showMediaPlayer=!1,this.media=[]}play(t){this.options.values.showMediaPlayer=!0,this.media=[],this.media.push(t),this.start()}enque(t){this.options.values.showMediaPlayer=!0,this.media.push(t)}dequeue(t){const e=this.media.findIndex(n=>n===t);-1!==e&&this.media.splice(e,1)}start(){var t=this;return Ee(function*(){-1===t.index&&(t.index=0);const e=t.media[t.index];e&&(t.current=e,t.options.values.showMediaPlayer=!0,"YouTube"===e.type?(t.videoMode=!0,t.youtubeUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source+"?autoplay=1")):"Video"===e.type?(t.videoMode=!0,t.videoUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source)):(t.videoMode=!1,t.audio?t.audio.src=e.source:t.audio=new Audio(e.source),yield t.audio.play()),navigator.mediaSession.metadata=new MediaMetadata({title:e.title,artist:e.artist,album:"Blockcore Notes",artwork:[{src:e.artwork}]}),navigator.mediaSession.playbackState="playing")})()}resume(){var t=this;return Ee(function*(){if(t.videoMode)t.youtubeUrl=t.pausedYouTubeUrl,t.pausedYouTubeUrl=void 0;else{if(!t.audio)return void t.start();console.log("RESUME!");try{yield t.audio.play()}catch(e){console.error(e)}}navigator.mediaSession.playbackState="playing"})()}pause(){if(this.videoMode)this.pausedYouTubeUrl=this.youtubeUrl,this.youtubeUrl=void 0;else{if(!this.audio)return;this.audio.pause()}navigator.mediaSession.playbackState="paused"}next(){this.index++,this.start()}previous(){this.index--,this.start()}get error(){return this.audio?.error}get paused(){return this.videoMode?null==this.youtubeUrl:!this.audio||this.audio.paused}get muted(){return!!this.audio&&this.audio.muted}get time(){return this.audio?Math.floor(this.audio.currentTime):10}set time(t){this.audio&&(this.audio.currentTime=t)}get duration(){return this.audio?Math.floor(this.audio.duration):100}mute(){this.audio&&(this.audio.muted=!this.audio.muted)}forward(t){this.audio&&(this.audio.currentTime+=t)}rewind(t){this.audio&&(this.audio.currentTime-=t)}rate(){this.audio&&(console.log(this.audio.playbackRate),this.audio.playbackRate=2==this.audio.playbackRate?1:2)}}function Vre(i,t){1&i&&(_(0,"span",8),vt(1,1),v())}function Yre(i,t){1&i&&(_(0,"span",9),vt(1,2),v())}Jd.\u0275fac=function(t){return new(t||Jd)(Fe(Tr),Fe(ms),Fe(Qi))},Jd.\u0275prov=Ke({token:Jd,factory:Jd.\u0275fac,providedIn:"root"});const gO=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],_O=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function jre(i,t){1&i&&(_(0,"span",9),vt(1,1),_(2,"span",10),mo(),_(3,"svg",11),Ce(4,"path",12),v()()())}function zre(i,t){1&i&&(_(0,"span",13),vt(1,2),v())}const bO='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function Ure(i,t){if(1&i&&(Dn(0),Ce(1,"span",9)(2,"span",10),Mn()),2&i){const e=Z();E(1),S("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function Wre(i,t){1&i&&(_(0,"span",11),vt(1),v())}function Gre(i,t){1&i&&(Dn(0),vt(1,1),Mn())}function qre(i,t){1&i&&vt(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function $re(i,t){1&i&&Ce(0,"span",14)}function Kre(i,t){if(1&i&&(Dn(0),ee(1,qre,1,0,"ng-content",12),ee(2,$re,1,0,"ng-template",null,13,ko),Mn()),2&i){const e=Li(3),n=Z();E(1),S("ngIf",n.contentEditInput)("ngIfElse",e)}}function Zre(i,t){1&i&&(_(0,"span",15),vt(1,3),v())}const Qre=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Xre=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],ZD=["*"],yO=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Qv=new Ze("mat-chips-default-options"),vO=new Ze("MatChipAvatar"),wO=new Ze("MatChipTrailingIcon"),FO=new Ze("MatChipRemove"),Xv=new Ze("MatChip");class Jre{}const eae=Pc(Jre,-1);let Mp=(()=>{class i extends eae{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ct(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,n){super(),this._elementRef=e,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Xv))},i.\u0275dir=Oe({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,n){1&e&&fe("click",function(a){return n._handleClick(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Lt("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),Mt("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--presentational",!n.isInteractive)("mdc-evolution-chip__action--trailing",!n._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[st]}),i})(),xO=(()=>{class i extends Mp{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,n){2&e&&Lt("aria-hidden",null)},features:[Nt([{provide:FO,useExisting:i}]),st]}),i})(),nae=0;const rae=Pc(tc(Cl(ec(class{constructor(i){this._elementRef=i}})),"primary"),-1);let Xu=(()=>{class i extends rae{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ct(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ct(e)}constructor(e,n,r,a,o,c,u,m){super(n),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=a,this._globalRippleOptions=u,this._isRippleCentered=!1,this._onFocus=new He,this._onBlur=new He,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+nae++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new lt,this.destroyed=new lt,this.basicChipAttrName="mat-basic-chip";const x=n.nativeElement;this._document=o,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=x.hasAttribute(this.basicChipAttrName)||x.tagName.toLowerCase()===this.basicChipAttrName,null!=m&&(this.tabIndex=parseInt(m)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{const r=n._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const n=null!==e;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(rn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(pt),k(Rt),k(Ka),k(xi),k(Nn,8),k(Ld,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,vO,5),ui(r,wO,5),ui(r,FO,5)),2&e){let a;Qe(a=Xe())&&(n.leadingIcon=a.first),Qe(a=Xe())&&(n.trailingIcon=a.first),Qe(a=Xe())&&(n.removeIcon=a.first)}},viewQuery:function(e,n){if(1&e&&(At(da,5),At(Mp,5)),2&e){let r;Qe(r=Xe())&&(n.ripple=r.first),Qe(r=Xe())&&(n.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,n){1&e&&fe("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Ua("id",n.id),Lt("role",n.role)("tabindex",n.role?n.tabIndex:null)("aria-label",n.ariaLabel),Mt("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Nt([{provide:Xv,useExisting:i}]),st],ngContentSelectors:_O,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Pi(gO),Ce(0,"span",0)(1,"span",1),_(2,"span",2)(3,"span",3),ee(4,Vre,2,0,"span",4),_(5,"span",5),vt(6),Ce(7,"span",6),v()()(),ee(8,Yre,2,0,"span",7)),2&e&&(S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),E(3),S("isInteractive",!1),E(1),S("ngIf",n.leadingIcon),E(4),S("ngIf",n._hasTrailingIcon()))},dependencies:[ri,da,Mp],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})(),QD=(()=>{class i extends Xu{constructor(){super(...arguments),this._defaultOptions=ii(Qv,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new lt}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=Ct(e),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(Ct(e),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,n,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable"],hostVars:31,hostBindings:function(e,n){2&e&&(Ua("id",n.id),Lt("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),Mt("mat-mdc-chip-selected",n.selected)("mat-mdc-chip-multiple",n._chipListMultiple)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-with-avatar",n.leadingIcon)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--selected",n.selected)("mdc-evolution-chip--selecting",!n._animationsDisabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-primary-graphic",n._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Nt([{provide:Xu,useExisting:i},{provide:Xv,useExisting:i}]),st],ngContentSelectors:_O,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Pi(gO),Ce(0,"span",0)(1,"span",1),_(2,"span",2)(3,"button",3),ee(4,jre,5,0,"span",4),_(5,"span",5),vt(6),Ce(7,"span",6),v()()(),ee(8,zre,2,0,"span",7),_(9,"span",8),L(10),v()),2&e&&(S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),E(3),S("tabIndex",n.tabIndex)("_allowFocusWhenDisabled",!0),Lt("aria-selected",n.ariaSelected)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),E(1),S("ngIf",n._hasLeadingGraphic()),E(4),S("ngIf",n._hasTrailingIcon()),E(1),S("id",n._ariaDescriptionId),E(1),yt(n.ariaDescription))},dependencies:[ri,da,Mp],styles:[bO],encapsulation:2,changeDetection:0}),i})(),Jv=(()=>{class i{constructor(e,n){this._elementRef=e,this._document=n}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(e)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(xi))},i.\u0275dir=Oe({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),i})(),XD=(()=>{class i extends Xu{constructor(e,n,r,a,o,c,u,m){super(e,n,r,a,o,c,u,m),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new lt,this._isEditing=!1,this.role="row",this._onBlur.pipe(ai(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const n=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(pt),k(Rt),k(Ka),k(xi),k(Nn,8),k(Ld,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Jv,5),2&e){let a;Qe(a=Xe())&&(n.contentEditInput=a.first)}},viewQuery:function(e,n){if(1&e&&At(Jv,5),2&e){let r;Qe(r=Xe())&&(n.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,n){1&e&&fe("mousedown",function(a){return n._mousedown(a)})("dblclick",function(a){return n._doubleclick(a)}),2&e&&(Ua("id",n.id),Lt("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),Mt("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-editing",n._isEditing)("mat-mdc-chip-editable",n.editable)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Nt([{provide:Xu,useExisting:i},{provide:Xv,useExisting:i}]),st],ngContentSelectors:Xre,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Pi(Qre),ee(0,Ure,3,3,"ng-container",0),_(1,"span",1)(2,"span",2),ee(3,Wre,2,0,"span",3),_(4,"span",4),ee(5,Gre,2,0,"ng-container",5),ee(6,Kre,4,2,"ng-container",5),Ce(7,"span",6),v()()(),ee(8,Zre,2,0,"span",7),_(9,"span",8),L(10),v()),2&e&&(S("ngIf",!n._isEditing),E(2),S("tabIndex",n.tabIndex)("disabled",n.disabled),Lt("role",n.editable?"button":null)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),E(1),S("ngIf",n.leadingIcon),E(1),S("ngSwitch",n._isEditing),E(1),S("ngSwitchCase",!1),E(1),S("ngSwitchCase",!0),E(2),S("ngIf",n._hasTrailingIcon()),E(1),S("id",n._ariaDescriptionId),E(1),yt(n.ariaDescription))},dependencies:[ri,Fu,Mf,da,Mp,Jv],styles:[bO],encapsulation:2,changeDetection:0}),i})();class aae{constructor(t){}}const oae=Pc(aae);let l0=(()=>{class i extends oae{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,n,r){super(e),this._elementRef=e,this._changeDetectorRef=n,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new He,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Ec}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e{this.tabIndex=e,this._changeDetectorRef.markForCheck()}))}_getChipStream(e){return this._chips.changes.pipe(Ur(null),na(()=>Bn(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList&&n.classList.contains("mdc-evolution-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Ur(this._chips)).subscribe(e=>{const n=[];e.forEach(r=>r._getActions().forEach(a=>n.push(a))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new Ug(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(ai(this._destroyed)).subscribe(({chip:e})=>{const n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(ai(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ur(null),ai(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(ai(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Rr,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-set"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Xu,5),2&e){let a;Qe(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,n){1&e&&fe("keydown",function(a){return n._handleKeydown(a)}),2&e&&Lt("role",n.role)},inputs:{disabled:"disabled",role:"role"},features:[st],ngContentSelectors:ZD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Pi(),_(0,"span",0),vt(1),v())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),i})();class sae{constructor(t,e){this.source=t,this.value=e}}const lae={provide:Ca,useExisting:hi(()=>JD),multi:!0};let JD=(()=>{class i extends l0{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=ii(Qv,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,n)=>e===n,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new lt}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e),this._syncListboxProperties()}get selected(){const e=this._chips.toArray().filter(n=>n.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=Ct(e),this._syncListboxProperties()}get required(){return this._required}set required(e){this._required=Ct(e)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(Ur(null),ai(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(ai(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(ai(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(n=>{n!==e.source&&n._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):null!=e&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,n=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,n)):this._selectValue(e,n)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(e){9===e.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;e=Array.isArray(this.selected)?this.selected.map(n=>n.value):this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new sae(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(n=>{n!==e&&n.deselect()})}_selectValue(e,n){const r=this._chips.find(a=>null!=a.value&&this.compareWith(a.value,e));return r&&(n?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(e,n,r){if(1&e&&ui(r,QD,5),2&e){let a;Qe(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,n){1&e&&fe("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(a){return n._keydown(a)}),2&e&&(Ua("tabIndex",n.empty?-1:n.tabIndex),Lt("role",n.role)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-multiselectable",n.multiple)("aria-orientation",n.ariaOrientation),Mt("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Nt([lae]),st],ngContentSelectors:ZD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Pi(),_(0,"span",0),vt(1),v())},styles:[yO],encapsulation:2,changeDetection:0}),i})();class cae{constructor(t,e){this.source=t,this.value=e}}class dae extends l0{constructor(t,e,n,r,a,o,c){super(t,e,n),this._defaultErrorStateMatcher=r,this._parentForm=a,this._parentFormGroup=o,this.ngControl=c,this.stateChanges=new He}}const uae=LC(dae);let CO=(()=>{class i extends uae{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Po.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,n,r,a,o,c,u){super(e,n,r,c,a,o,u),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new lt,this.valueChange=new lt,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(ai(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Bn(this.chipFocusChanges,this._chips.changes).pipe(ai(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&ya(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=e,this.change.emit(new cae(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Rr,8),k($c,8),k(Gd,8),k(Yf),k(oc,10))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(e,n,r){if(1&e&&ui(r,XD,5),2&e){let a;Qe(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,n){1&e&&fe("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&e&&(Ua("tabIndex",n._chips&&0===n._chips.length?-1:n.tabIndex),Lt("role",n.role)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState),Mt("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-invalid",n.errorState)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Nt([{provide:pp,useExisting:i}]),st],ngContentSelectors:ZD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Pi(),_(0,"span",0),vt(1),v())},styles:[yO],encapsulation:2,changeDetection:0}),i})(),hae=0,kO=(()=>{class i{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ct(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ct(e)}get empty(){return!this.inputElement.value}constructor(e,n,r){this._elementRef=e,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new lt,this.placeholder="",this.id="mat-mdc-chip-list-input-"+hae++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!ya(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Qv),k(dm,8))},i.\u0275dir=Oe({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,n){1&e&&fe("keydown",function(a){return n._keydown(a)})("keyup",function(a){return n._keyup(a)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),2&e&&(Ua("id",n.id),Lt("disabled",n.disabled||null)("placeholder",n.placeholder||null)("aria-invalid",n._chipGrid&&n._chipGrid.ngControl?n._chipGrid.ngControl.invalid:null)("aria-required",n._chipGrid&&n._chipGrid.required||null)("required",n._chipGrid&&n._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Jn]}),i})(),mae=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Yf,{provide:Qv,useValue:{separatorKeyCodes:[13]}}],imports:[Jt,Dr,qs,Jt]}),i})();function fae(i,t){1&i&&(_(0,"span"),L(1,", "),v())}const pae=function(i){return["/p",i]};function gae(i,t){if(1&i&&(_(0,"span")(1,"a",1),L(2),v(),ee(3,fae,2,0,"span",2),v()),2&i){const e=t.$implicit,n=t.last;E(1),S("routerLink",wn(3,pae,e.pubkey)),E(1),yt(e.name),E(1),S("ngIf",!n)}}class c0{constructor(t,e){this.profileService=t,this.utilities=e,this.keys=[],this.profiles=[]}ngOnInit(){var t=this;return Ee(function*(){t.profiles=[];for(let e=0;e0),E(1),S("keys",e)}}function Uae(i,t){if(1&i&&ee(0,zae,3,2,"div",18),2&i){const e=Z(2);S("ngIf",e.repliesTo(e.event))}}function Wae(i,t){if(1&i&&(_(0,"mat-chip"),L(1),v()),2&i){const e=t.$implicit;E(1),qt("#",e,"")}}const Gae=function(i){return{"event-content-big":i}};function qae(i,t){if(1&i&&(_(0,"div",1)(1,"span",2),ee(2,Vae,4,5,"ng-container",3),ee(3,Yae,2,0,"span",4),v(),ee(4,Uae,1,1,"ng-template",5),_(5,"mat-chip-set",6),ee(6,Wae,2,1,"mat-chip",3),v()()),2&i){const e=Z();E(1),S("ngClass",wn(5,Gae,e.bigSize)),E(1),S("ngForOf",e.dynamicText),E(1),S("ngIf",e.event.contentCut),E(1),S("ngIf",e.displayRepliesTo),E(2),S("ngForOf",e.hashtags(e.event.tags))}}class Il{constructor(t,e,n,r,a,o,c){this.eventService=t,this.contentService=e,this.mediaService=n,this.optionsService=r,this.profileService=a,this.utilities=o,this.dialog=c,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.isFollowing=!1,this.dynamicText=[],this.imageExtensions=[".jpg",".jpeg",".gif",".png",".webp",".apng",".jfif",".svg"],this.videoExtensions=[".mp4",".m4v",".m4p",".mpg",".mpeg",".webm",".avif",".mov",".ogv"],this.audioExtensions=[".mp3",".m4a",".flac",".ogg",".wav"],this.bigSize=!1}enque(t,e){this.mediaService.enque({artist:"",artwork:"/assets/logos/youtube.png",title:t,source:t,type:e})}isString(t){return"string"==typeof t}isNewline(t){return"newline"==t.token}getTooltip(t){return t.tooltip||""}getWord(t){return t.word}ngOnInit(){var t=this;return Ee(function*(){t.event&&(t.dynamicText=t.toDynamicText(t.event),t.isFollowing=t.profileService.isFollowing(t.event.pubkey))})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}expandImageUrl(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(r=>"p"===r[0]).map(r=>r[1]);return e=e.filter(r=>r!==t.pubkey),0==e.length?null:e.filter((r,a)=>e.indexOf(r)===a)}getDisplayName(t){const e=this.profileService.getCachedProfile(t);return e?this.utilities.getProfileDisplayName(e):this.utilities.getShortenedIdentifier(t)}replyTo(t,e){return t?t.tags[e][1]:void 0}isImage(t){for(let e=0;e-1||t.indexOf("https://www.youtube.com")>-1||t.indexOf("https://youtube.com")>-1}isTidal(t){return!!this.optionsService.values.enableTidal&&t.indexOf("https://tidal.com")>-1}isSpotify(t){return!!this.optionsService.values.enableSpotify&&t.indexOf("https://open.spotify.com")>-1}toDynamicText(t){let e=t.content;e=e.replaceAll(/\p{Cf}/gu,""),e.length<9&&(this.bigSize=!0);const n=[],r=e.split(/\r?\n/),a=[];for(let c=0;c""!=x),m.push("
"),a.push(...m)}let o=0;for(const c of a){let u=this.contentService.getKeyword(c.toLowerCase());if(u){if("username"==u.token){let m=Number(c.replace("#[","").replace("]","")),x=t.tags;u.word=x.length>m?x[m][1]:c}o=n.push(u)}else if(c.startsWith("http://")||c.startsWith("https://"))if(this.isImage(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"image"});else if(this.isVideo(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"video"});else if(this.isAudio(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"audio"});else if(this.isYouTube(c)){const m=[...c.matchAll(this.contentService.regexpYouTube)];o=n.push(m.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${m[0][1]}`),word:`https://www.youtube.com/embed/${m[0][1]}`,token:"youtube"}:{word:c,token:"link"})}else if(this.isSpotify(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(c.replace("open.spotify.com/","open.spotify.com/embed/")),word:c,token:"spotify"});else if(this.isTidal(c))if(c.startsWith("https://tidal.com/browse/track/")){const m=c.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(m),word:c,token:"tidal"})}else if(c.startsWith("https://tidal.com/track/")){const m=c.replace("tidal.com/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(m),word:c,token:"tidal"})}else o=n.push({word:c,token:"link"});else o=n.push({word:c,token:"link"});else n[o]?n[o]+=c:n[o]=c}return n}}Il.\u0275fac=function(t){return new(t||Il)(k(Ro),k(gm),k(Jd),k(Tr),k(Tn),k(Qi),k(Fa))},Il.\u0275cmp=qe({type:Il,selectors:[["app-content"]],inputs:{event:"event",displayRepliesTo:"displayRepliesTo"},decls:1,vars:1,consts:[["class","content clickable",4,"ngIf"],[1,"content","clickable"],[1,"event-content","clickable",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngIf"],[1,"hashtags"],[3,"ngIf","ngSwitch"],[4,"ngSwitchCase"],[1,"reply-link",3,"routerLink"],["target","_blank",3,"href"],["mat-card-image","","loading","lazy","decoding","async",1,"event-image",3,"matTooltip","alt","src","click"],["width","100%","height","152","frameborder","0","allowfullscreen","","allow","autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture","loading","lazy",2,"border-radius","12px",3,"src"],["controls","","preload","none",1,"event-video"],[3,"src"],["mat-icon-button","","matTooltip","Add to media player",3,"click"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","",1,"event-video",3,"src"],["loading","lazy",1,"meme",3,"matTooltip","src","click"],["class","reply-to dimmed clickable",4,"ngIf"],[1,"reply-to","dimmed","clickable"],["class","clickable",4,"ngIf"],[3,"keys"],[1,"clickable"]],template:function(t,e){1&t&&ee(0,qae,7,7,"div",0),2&t&&S("ngIf",e.event)},dependencies:[qa,yn,ri,Fu,Mf,wa,bo,GD,Zn,ps,Xu,l0,c0],styles:[".event-image[_ngcontent-%COMP%]{width:100%;max-width:480px;display:inline-block;margin-top:.2em}.event-images[_ngcontent-%COMP%]{text-align:left}.event-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.embed-iframe[_ngcontent-%COMP%]{min-width:300px;min-height:300px}.events-videos[_ngcontent-%COMP%]{text-align:left}.reply-to[_ngcontent-%COMP%]{margin-top:.2em}.event-content[_ngcontent-%COMP%]{overflow-wrap:break-word}.event-content-big[_ngcontent-%COMP%]{font-size:2.2em}@media only screen and (max-width: 599px){.event-video[_ngcontent-%COMP%]{width:100vw!important;height:50vh!important;margin-left:-1.6em}.event-image[_ngcontent-%COMP%]{width:100vw!important;margin-left:-1.6em;max-width:max-content}}.meme[_ngcontent-%COMP%]{max-width:128px}"]});class Is{constructor(t){this.storage=t,this.labels=[]}getName(t){const e=this.labels.find(n=>n.id==t);return e?e.name:""}saveLabel(t){var e=this;return Ee(function*(){if(!t)return;let n={name:t,id:dv()};yield e.storage.storage.putLabel(n),e.labels.push(n),e.sort()})()}sort(){this.labels=this.labels.sort((t,e)=>t.name?.toLowerCase()null!=e.labels&&e.labels.some(n=>t.includes(n)))}wipe(){var t=this;return Ee(function*(){yield t.db.storage.deleteNotes()})()}}function MO(i,t){return t?e=>Sd(t.pipe(rn(1),function $ae(){return Yt((i,t)=>{i.subscribe(jt(t,j))})}()),e.pipe(MO(i))):vi((e,n)=>cn(i(e,n)).pipe(rn(1),sy(e)))}function ew(i,t=Lf){const e=Gg(i,t);return MO(()=>e)}eu.\u0275fac=function(t){return new(t||eu)(Fe(ua))},eu.\u0275prov=Ke({token:eu,factory:eu.\u0275fac,providedIn:"root"});const Kae=["mat-menu-item",""];function Zae(i,t){1&i&&(mo(),_(0,"svg",3),Ce(1,"polygon",4),v())}const Qae=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Xae=["mat-icon, [matMenuItemIcon]","*"];function Jae(i,t){if(1&i){const e=Je();_(0,"div",0),fe("keydown",function(r){return Te(e),Ae(Z()._handleKeydown(r))})("click",function(){return Te(e),Ae(Z().closed.emit("click"))})("@transformMenu.start",function(r){return Te(e),Ae(Z()._onAnimationStart(r))})("@transformMenu.done",function(r){return Te(e),Ae(Z()._onAnimationDone(r))}),_(1,"div",1),vt(2),v()()}if(2&i){const e=Z();S("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Lt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const eoe=["*"],eM=new Ze("MAT_MENU_PANEL"),toe=Cl(ec(class{}));let ed=(()=>{class i extends toe{constructor(e,n,r,a,o){super(),this._elementRef=e,this._document=n,this._focusMonitor=r,this._parentMenu=a,this._changeDetectorRef=o,this.role="menuitem",this._hovered=new He,this._focused=new He,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),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),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",sr("120ms cubic-bezier(0, 0, 0.2, 1)",fi({opacity:1,transform:"scale(1)"}))),lr("* => void",sr("100ms 25ms linear",fi({opacity:0})))]),fadeInItems:Za("fadeInItems",[gr("showing",fi({opacity:1})),lr("void => *",[fi({opacity:0}),sr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let noe=0;const EO=new Ze("mat-menu-default-options",{providedIn:"root",factory:function roe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let d0=(()=>{class i{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=Ct(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ct(e)}set panelClass(e){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,n,r,a){this._elementRef=e,this._ngZone=n,this._defaultOptions=r,this._changeDetectorRef=a,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ec,this._classList={},this._panelAnimationState="void",this._animationDone=new He,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new lt,this.close=this.closed,this.panelId="mat-menu-panel-"+noe++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ug(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ur(this._directDescendantItems),na(e=>Bn(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const r=e.toArray(),a=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[a]&&!r[a].disabled?n.setActiveItem(a):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Ur(this._directDescendantItems),na(n=>Bn(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const n=e.keyCode,r=this._keyManager;switch(n){case 27:ya(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===n||40===n)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(rn(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const n=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${n}`,a=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,n=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===n,r["mat-menu-below"]="below"===n,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(Ur(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(EO),k(oi))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(ui(r,ioe,5),ui(r,ed,5),ui(r,ed,4)),2&e){let a;Qe(a=Xe())&&(n.lazyContent=a.first),Qe(a=Xe())&&(n._allItems=a),Qe(a=Xe())&&(n.items=a)}},viewQuery:function(e,n){if(1&e&&At(yr,5),2&e){let r;Qe(r=Xe())&&(n.templateRef=r.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"}}),i})(),_m=(()=>{class i extends d0{constructor(e,n,r,a){super(e,n,r,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(EO),k(oi))},i.\u0275cmp=qe({type:i,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,n){2&e&&Lt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Nt([{provide:eM,useExisting:i}]),st],ngContentSelectors:eoe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,n){1&e&&(Pi(),ee(0,Jae,3,6,"ng-template"))},dependencies:[qa],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[tw.transformMenu,tw.fadeInItems]},changeDetection:0}),i})();const SO=new Ze("mat-menu-scroll-strategy"),ooe={provide:SO,deps:[va],useFactory:function aoe(i){return()=>i.scrollStrategies.reposition()}},TO=Dd({passive:!0});let soe=(()=>{class i{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(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,n,r,a,o,c,u,m,x){this._overlay=e,this._element=n,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=u,this._focusMonitor=m,this._ngZone=x,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=C.EMPTY,this._hoverSubscription=C.EMPTY,this._menuCloseSubscription=C.EMPTY,this._changeDetectorRef=ii(oi),this._handleTouchStart=P=>{yC(P)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new lt,this.onMenuOpen=this.menuOpened,this.menuClosed=new lt,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=o instanceof d0?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,TO)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,TO),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&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const n=this._createOverlay(e),r=n.getConfig(),a=r.positionStrategy;this._setPosition(e,a),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,n.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof d0&&(e._startAnimation(),e._directDescendantItems.changes.pipe(ai(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof d0?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(qi(r=>"void"===r.toState),rn(1),ai(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.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 n=0,r=e.parentMenu;for(;r;)n++,r=r.parentMenu;e.setElevation(n)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Vf({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,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{const a="start"===r.connectionPair.overlayX?"after":"before",o="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(a,o)):e.setPositionClasses(a,o)})}_setPosition(e,n){let[r,a]="before"===e.xPosition?["end","start"]:["start","end"],[o,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[u,m]=[o,c],[x,P]=[r,a],K=0;if(this.triggersSubmenu()){if(P=r="before"===e.xPosition?"start":"end",a=x="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const ne=this._parentMaterialMenu.items.first;this._parentInnerPadding=ne?ne._getHostElement().offsetTop:0}K="bottom"===o?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(u="top"===o?"bottom":"top",m="top"===c?"bottom":"top");n.withPositions([{originX:r,originY:u,overlayX:x,overlayY:o,offsetY:K},{originX:a,originY:u,overlayX:P,overlayY:o,offsetY:K},{originX:r,originY:m,overlayX:x,overlayY:c,offsetY:-K},{originX:a,originY:m,overlayX:P,overlayY:c,offsetY:-K}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return Bn(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Ht(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(qi(o=>o!==this._menuItemInstance),qi(()=>this._menuOpen)):Ht(),n)}_handleMousedown(e){bC(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const n=e.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"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(qi(e=>e===this._menuItemInstance&&!e.disabled),ew(0,xC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof d0&&this.menu._isAnimating?this.menu._animationDone.pipe(rn(1),ew(0,xC),ai(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ad(e.templateRef,this._viewContainerRef)),this._portal}}return i.\u0275fac=function(e){return new(e||i)(k(va),k(pt),k(kr),k(SO),k(eM,8),k(ed,10),k(Rr,8),k(Ka),k(Rt))},i.\u0275dir=Oe({type:i,hostVars:3,hostBindings:function(e,n){1&e&&fe("click",function(a){return n._handleClick(a)})("mousedown",function(a){return n._handleMousedown(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&Lt("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.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"}}),i})(),u0=(()=>{class i extends soe{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[st]}),i})(),loe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[ooe],imports:[Dr,qs,Jt,Oc,Nc,Jt]}),i})();function coe(i,t){1&i&&(_(0,"button",13)(1,"mat-icon",14),L(2,"more_vert"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(3)))}function doe(i,t){1&i&&(_(0,"button",15)(1,"mat-icon"),L(2,"more_vert"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(3)))}function uoe(i,t){if(1&i){const e=Je();_(0,"button",6),fe("click",function(){return Te(e),Ae(Z().saveNote())}),_(1,"mat-icon"),L(2,"bookmark_add"),v(),_(3,"span"),L(4,"Save Note"),v()()}2&i&&(Z(),S("matMenuTriggerFor",Li(32)))}function hoe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().removeNote())}),_(1,"mat-icon"),L(2,"bookmark_remove"),v(),_(3,"span"),L(4,"Remove from Notes"),v()()}}function moe(i,t){1&i&&(_(0,"button",7)(1,"mat-icon"),L(2,"new_label"),v(),_(3,"span"),L(4,"Set Label"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(32)))}function foe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){Te(e);const r=Z();return Ae(r.copyNoteId(r.event.id))}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Note ID (note)"),v()()}}function poe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){Te(e);const r=Z();return Ae(r.copyNoteEventId(r.event.id))}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Note ID (nevent)"),v()()}}function goe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){Te(e);const r=Z();return Ae(r.copy(r.event.id))}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Note ID (hex)"),v()()}}function _oe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){Te(e);const r=Z();return Ae(r.copyNoteUrl(r.event.id))}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Note URL (nevent)"),v()()}}function boe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().copyEvent())}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Note Data"),v()()}}function yoe(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){const a=Te(e).$implicit;return Ae(Z().setLabel(a.id))}),_(1,"mat-icon"),L(2,"label"),v(),_(3,"span"),L(4),v()()}if(2&i){const e=t.$implicit;E(4),yt(e.name)}}class Js{constructor(t,e,n,r,a){this.labelService=t,this.snackBar=e,this.profileService=n,this.notesService=r,this.utilities=a,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Ee(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Ee(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}follow(t){var e=this;return Ee(function*(){console.log("FOLLOW:",e.profile),e.profile&&(1!=e.profile.status?yield e.profileService.follow(e.profile.pubkey,t):yield e.profileService.setCircle(e.profile.pubkey,t))})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${xa.npubEncode(t)}`)}copyNoteId(t){this.copy(xa.noteEncode(t))}setLabel(t){var e=this;return Ee(function*(){if(!e.event)return;let n=e.event;n.labels=[],n.labels.push(t),yield e.notesService.putNote(e.event)})()}copyNoteEventId(t){this.copy(xa.neventEncode({id:t}))}copyNoteUrl(t){this.copy(`web+nostr:nevent:${xa.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,banner:this.profile.banner,website:this.profile.website,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copy(t){qy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var t=this;return Ee(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function voe(i,t){if(1&i&&(_(0,"span",3),L(1),v()),2&i){const e=Z();S("matTooltip",e.tooltip),E(1),yt(e.profileName)}}function woe(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z();E(1),yt(e.profileName)}}Js.\u0275fac=function(t){return new(t||Js)(k(Is),k(ms),k(Tn),k(eu),k(Qi))},Js.\u0275cmp=qe({type:Js,selectors:[["app-event-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:34,vars:13,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"matMenuTriggerFor"],["copyMenu","matMenu"],["shareMenu","matMenu"],["mat-menu-item","",3,"click"],["labelMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(ee(0,coe,3,1,"button",0),ee(1,doe,3,1,"button",1),_(2,"mat-menu",null,2),ee(4,uoe,5,1,"button",3),ee(5,hoe,5,0,"button",4),ee(6,moe,5,1,"button",5),_(7,"button",6),fe("click",function(){return e.copyNoteId(e.event.id)}),_(8,"mat-icon"),L(9,"copy_all"),v(),_(10,"span"),L(11,"Copy"),v()(),_(12,"button",7)(13,"mat-icon"),L(14,"ios_share"),v(),_(15,"span"),L(16,"Share"),v()()(),_(17,"mat-menu",null,8),ee(19,foe,5,0,"button",4),ee(20,poe,5,0,"button",4),ee(21,goe,5,0,"button",4),ee(22,_oe,5,0,"button",4),ee(23,boe,5,0,"button",4),v(),_(24,"mat-menu",null,9)(26,"button",10),fe("click",function(){return e.copy("https://notes.blockcore.net/e/"+e.event.id)}),_(27,"mat-icon"),L(28,"content_copy"),v(),_(29,"span"),L(30,"Note URL"),v()()(),_(31,"mat-menu",null,11),ee(33,yoe,5,1,"button",12),v()),2&t){const n=Li(18),r=Li(25);S("ngIf",!e.fab),E(1),S("ngIf",e.fab),E(3),S("ngIf",e.event&&!e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(7),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(10),S("ngForOf",e.labelService.labels)}},dependencies:[yn,ri,bo,e8,Zn,_m,ed,u0],encapsulation:2});const Foe=function(i){return["/p",i]};class bm{constructor(t,e,n){this.db=t,this.profiles=e,this.utilities=n,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){var t=this;return Ee(function*(){const e=yield t.db.storage.getProfile(t.pubkey);t.profileName=e?e.display_name?e.display_name:e.name:t.utilities.getShortenedIdentifier(t.pubkey)})()}}function xoe(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z();E(1),qt(" ",e.notification.message,"")}}bm.\u0275fac=function(t){return new(t||bm)(k(ua),k(Tn),k(Qi))},bm.\u0275cmp=qe({type:bm,selectors:[["app-profile-name"]],inputs:{pubkey:"pubkey"},decls:3,vars:5,consts:[[3,"routerLink"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"]],template:function(t,e){1&t&&(_(0,"a",0),ee(1,voe,2,2,"span",1),ee(2,woe,2,1,"span",2),v()),2&t&&(S("routerLink",wn(3,Foe,e.pubkey)),E(1),S("ngIf",e.tooltip),E(1),S("ngIf",!e.tooltip))},dependencies:[ri,wa,ps],encapsulation:2});const tM=function(i){return["/e",i]};function Coe(i,t){if(1&i&&(_(0,"span"),L(1," replied to your "),_(2,"a",2),L(3,"note"),v(),L(4,"."),v()),2&i){const e=Z();E(2),S("routerLink",wn(1,tM,e.notification.id))}}function koe(i,t){1&i&&(_(0,"span"),L(1," started following you."),v())}function Doe(i,t){if(1&i&&(_(0,"span"),L(1," boosted your "),_(2,"a",2),L(3,"note"),v()()),2&i){const e=Z();E(2),S("routerLink",wn(1,tM,e.notification.relatedId))}}function Moe(i,t){if(1&i&&(_(0,"span"),L(1),_(2,"a",2),L(3,"note"),v(),L(4,"."),v()),2&i){const e=Z();E(1),qt(" reacted with ",e.notification.message," to your "),E(1),S("routerLink",wn(2,tM,e.notification.relatedId))}}class Ep{}Ep.\u0275fac=function(t){return new(t||Ep)},Ep.\u0275cmp=qe({type:Ep,selectors:[["app-notification-label"]],inputs:{notification:"notification"},decls:6,vars:6,consts:[[3,"pubkey"],[4,"ngIf"],[3,"routerLink"]],template:function(t,e){1&t&&(Ce(0,"app-profile-name",0),ee(1,xoe,2,1,"span",1),ee(2,Coe,5,3,"span",1),ee(3,koe,2,0,"span",1),ee(4,Doe,4,3,"span",1),ee(5,Moe,5,4,"span",1)),2&t&&(S("pubkey",e.notification.pubkey),E(1),S("ngIf",e.notification.kind>7),E(1),S("ngIf",1==e.notification.kind),E(1),S("ngIf",3==e.notification.kind),E(1),S("ngIf",6==e.notification.kind),E(1),S("ngIf",7==e.notification.kind))},dependencies:[ri,wa,bm],encapsulation:2});class el{transform(t){return t?uv.unix(t).fromNow():""}}el.\u0275fac=function(t){return new(t||el)},el.\u0275pipe=Er({name:"ago",type:el,pure:!0});const Eoe=["picker"];function Soe(i,t){if(1&i&&Ce(0,"app-event-header",18),2&i){const e=t.$implicit;S("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",e)}}function Toe(i,t){if(1&i&&(_(0,"p"),Ce(1,"app-notification-label",23),v()),2&i){const e=t.$implicit;E(1),S("notification",e)}}function Aoe(i,t){1&i&&(_(0,"p",24),L(1,"No activities"),v())}function Ioe(i,t){if(1&i&&(_(0,"mat-card-content",19),ee(1,Toe,2,1,"p",20),ee(2,Aoe,2,0,"p",21),_(3,"div",13)(4,"button",22),L(5,"View more"),v()()()),2&i){const e=t.ngIf;E(1),S("ngForOf",e),E(1),S("ngIf",0==e.length)}}const Loe=function(i){return["/following",i]};function Noe(i,t){if(1&i&&(_(0,"div",25),L(1),Ce(2,"br"),_(3,"small"),L(4),v(),Ce(5,"br"),_(6,"button",26),L(7,"View profiles"),v()()),2&i){const e=t.$implicit;E(1),qt(" ",e.name,""),E(3),yt(e.about),E(2),S("routerLink",wn(3,Loe,e.pubkeyhex))}}function Ooe(i,t){if(1&i){const e=Je();_(0,"mat-card",27),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z().navigation.openEvent(r,o))}),_(1,"div",28)(2,"app-event-header",29)(3,"span",30),L(4),gi(5,"ago"),v(),Ce(6,"app-directory-icon",29),v(),Ce(7,"app-event-actions",31),v(),Ce(8,"app-content",31),v()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(yi(5,5,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e),E(1),S("event",e)}}class h0{constructor(t,e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie,Le){this.ui=t,this.db=e,this.appState=n,this.cd=r,this.options=a,this.dialog=o,this.navigation=c,this.profileService=u,this.validator=m,this.authService=x,this.utilities=P,this.snackBar=K,this.dataService=ne,this.router=pe,this.breakpointObserver=ye,this.ngZone=Ie,this.formBuilder=Le,this.subscriptions=[],this.lists=[{name:"Nostr",about:"Influencial nostr developers and community people",pubkey:"npub15xrwvftyzynahpl5fmpuv9wtkg9q52j8q73saw59u8tmx63ktx8sfclgss",pubkeyhex:"a186e625641127db87f44ec3c615cbb20a0a2a4707a30eba85e1d7b36a36598f"},{name:"Bitcoin",about:"Influencial Bitcoin people",pubkey:"npub175ag9cus82a0zzpkheaglnudpvsc8q046z82cyz9gmauzlve6r2s4k9fpm",pubkeyhex:"f53a82e3903abaf10836be7a8fcf8d0b218381f5d08eac104546fbc17d99d0d5"},{name:"Blockcore",about:"Follow the Blockcore developers",pubkey:"npub1zfy0r7x8s3xukajewkmmzxjj3wpfan7apj5y7szz7y740wtf6p5q3tdyy9",pubkeyhex:"1248f1f8c7844dcb765975b7b11a528b829ecfdd0ca84f4042f13d57b969d068"}],this.defaults=[{pubkeynpub:"npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6",pubkey:"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",name:"fiatjaf",picture:"https://pbs.twimg.com/profile_images/539211568035004416/sBMjPR9q_normal.jpeg",about:"buy my merch at fiatjaf store",checked:!1},{pubkeynpub:"npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",pubkey:"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2",name:"jack",picture:"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",about:"bitcoin...twttr/@jack",checked:!1},{pubkeynpub:"npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",pubkey:"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",name:"jb55",picture:"https://pbs.twimg.com/profile_images/1362882895669436423/Jzsp1Ikr_normal.jpg",about:"damus.io author. bitcoin and nostr dev",checked:!1},{pubkeynpub:"npub1v4v57fu60zvc9d2uq23cey4fnwvxlzga9q2vta2n6xalu03rs57s0mxwu8",pubkey:"65594f279a789982b55c02a38c92a99b986f891d2814c5f553d1bbfe3e23853d",name:"hampus",picture:"https://pbs.twimg.com/profile_images/1517505111991504896/9qixSAMn_normal.jpg",about:"",checked:!1},{pubkeynpub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",pubkey:"17e2889fba01021d048a13fd0ba108ad31c38326295460c21e69c43fa8fbe515",name:"sondreb",picture:"https://sondreb.com/favicon.png",about:"Developer \u{1f9b8}\u200d\u2642\ufe0f of Blockcore Notes and Blockcore Wallet",checked:!1}],this.latestItems=[],this.initialLoad=!0,this.details=!1,this.images=["https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800","https://picsum.photos/seed/4/800/600","https://picsum.photos/seed/5/600/800","https://picsum.photos/seed/6/800/800","https://picsum.photos/seed/7/800/600","https://picsum.photos/seed/8/600/800","https://picsum.photos/seed/9/800/800","https://picsum.photos/seed/10/800/600","https://picsum.photos/seed/11/600/800","https://picsum.photos/seed/12/800/800","https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800"],this.profileThumbnailWidth=72,this.profileCount=1,this.profiles=[],console.log("HOME constructor!!")}addEmoji(t){this.note=`${this.note}${t.emoji.native}`,this.isEmojiPickerVisible=!1}onCancel(){this.note=""}postNote(){this.navigation.saveNote(this.note)}follow(t){var e=this;return Ee(function*(){t.checked&&(yield e.profileService.follow(t.pubkey,0,t))})()}trackByFn(t,e){return e.id}trackByProfile(t,e){return`${e.pubkey}${e.checked}`}trackByNoteId(t,e){return e.id}toggleDetails(){this.details=!this.details}import(t){this.dataService.enque({identifier:t,type:"Contacts"})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(t,e){"public"===e?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var t=this;return Ee(function*(){t.options.values.privateFeed=!0,t.formGroup=t.formBuilder.group({note:["",Po.required],expiration:[""],dateControl:[]}),t.appState.updateTitle("Blockcore Notes"),t.appState.showBackButton=!1,t.appState.showLogo=!0,t.appState.actions=[{icon:"note_add",tooltip:"Create Note",click:()=>{t.navigation.createNote()}}],t.latestItems=yield t.db.storage.getEventsByCreatedAndKind(7,1),t.subscriptions.push(t.profileService.following$.subscribe(e=>{t.profileCount=75,t.profiles=e.slice(0,t.profileCount)}))})()}}h0.\u0275fac=function(t){return new(t||h0)(k(Zr),k(ua),k(Xi),k(oi),k(Tr),k(Fa),k(yo),k(Tn),k(ts),k(Na),k(Qi),k(ms),k(Ba),k(qn),k(Td),k(Rt),k(RN))},h0.\u0275cmp=qe({type:h0,selectors:[["app-home"]],viewQuery:function(t,e){if(1&t&&At(Eoe,5),2&t){let n;Qe(n=Xe())&&(e.picker=n.first)}},decls:63,vars:9,consts:[[1,"page"],[1,"profile-line"],[3,"scrollbar-hidden","drag-scroll-y-disabled"],[3,"listType","iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf"],["mat-icon-button","","routerLink","/people",1,"profile-line-more-button"],[1,"home"],[1,"home-left"],[1,"home-card"],["class","activity-feed",4,"ngIf"],["routerLink","/e/63f78a0588f88c5e6931efcf032c8f600656eb5425785aea99b15ce0967be4a7"],["class","list-selection",4,"ngFor","ngForOf"],["href","https://geyser.fund/project/blockcore","target","_blank"],[1,"home-right"],[1,"centered"],["routerLink","/editor","mat-fab","","extended","","color","primary"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"view-more-container"],["mat-button","","routerLink","/feed"],[3,"listType","iconSize","displayName","displayContent","profile"],[1,"activity-feed"],[4,"ngFor","ngForOf"],["class","dimmed",4,"ngIf"],["mat-button","","routerLink","/notifications"],[3,"notification"],[1,"dimmed"],[1,"list-selection"],["mat-flat-button","","color","primary",1,"full-width",3,"routerLink"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"drag-scroll",2),ee(3,Soe,1,5,"app-event-header",3),_(4,"button",4)(5,"mat-icon"),L(6,"more_horiz"),v()()()(),_(7,"div",5)(8,"div",6)(9,"mat-card",7)(10,"mat-card-header")(11,"mat-card-title"),L(12,"Activity Feed"),v()(),ee(13,Ioe,6,2,"mat-card-content",8),gi(14,"async"),v(),_(15,"mat-card",7)(16,"mat-card-header")(17,"mat-card-title"),L(18,"News"),v()(),_(19,"mat-card-content")(20,"p"),L(21,"02-11: Activity feed and notifications has been added."),v(),_(22,"p"),L(23,"01-19: "),_(24,"a",9),L(25,"Nostr conference is in the planning"),v(),L(26,"."),v(),_(27,"p"),L(28,'01-20: Blockcore Notes "Home" launched as UI-mockup.'),v()()(),_(29,"mat-card",7)(30,"mat-card-header")(31,"mat-card-title"),L(32,"Following Lists"),v(),_(33,"mat-card-subtitle"),L(34,"Lists of users based upon topics you can add to your following list."),v()(),_(35,"mat-card-content"),ee(36,Noe,8,5,"div",10),v()(),_(37,"mat-card",7)(38,"mat-card-header")(39,"mat-card-title"),L(40,"Prototype"),v()(),_(41,"mat-card-content")(42,"p"),L(43,"Blockcore Notes is currently in prototype quality stage. Reset the database often."),v(),_(44,"p"),L(45,"Please consider donating some Bitcoin using Geyser:"),v(),_(46,"p")(47,"a",11),L(48,"geyser.fund/blockcore"),v()()()()(),_(49,"div",12),Ce(50,"br")(51,"br"),_(52,"div",13)(53,"button",14)(54,"mat-icon"),L(55,"note_add"),v(),L(56," Write a Note "),v()(),Ce(57,"br")(58,"br"),ee(59,Ooe,9,7,"mat-card",15),_(60,"p",16)(61,"button",17),L(62,"View following notes..."),v()()()()()),2&t&&(E(2),S("scrollbar-hidden",!0)("drag-scroll-y-disabled",!0),E(1),S("ngForOf",e.profiles),E(10),S("ngIf",yi(14,7,e.ui.activityFeed$)),E(23),S("ngForOf",e.lists),E(23),S("ngForOf",e.latestItems)("ngForTrackBy",e.trackByFn))},dependencies:[yn,ri,wa,dr,bo,J5,Pa,sc,e0,J_,X_,Zn,nre,Al,gs,Il,Js,Ep,Ts,el],styles:[".dashboard-header[_ngcontent-%COMP%]{display:flex;gap:2em;flex-direction:row}.dashboard-header[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{border-radius:20px}.card-container[_ngcontent-%COMP%]{box-sizing:border-box}.default-card[_ngcontent-%COMP%]{display:inline-block;width:300px;height:160px;margin-right:1em;margin-bottom:1em}.follow-button[_ngcontent-%COMP%]{margin-top:1em;width:100%;font-size:1.2em;height:72px;text-align:center}.follow-card-content[_ngcontent-%COMP%]{text-align:center}.follow-toggle[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em}.dashboard-left[_ngcontent-%COMP%]{flex-grow:4;flex-shrink:1;flex-basis:10%}.dashboard-right[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;flex-basis:10%}.list-selection[_ngcontent-%COMP%]{margin-top:1.4em}.list-selection[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:.8em}@media only screen and (max-width: 920px){.dashboard[_ngcontent-%COMP%]{flex-direction:column}}@media only screen and (max-width: 820px){.dashboard-header[_ngcontent-%COMP%]{flex-direction:column;gap:1em}}@media only screen and (max-width: 599px){.default-card[_ngcontent-%COMP%]{display:block;width:100%}}.home[_ngcontent-%COMP%]{display:flex;gap:1.5em;max-width:1360px;align-self:center}.home-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:240px}.home-right[_ngcontent-%COMP%]{flex:3 1 0}.home-card[_ngcontent-%COMP%]{border-radius:15px;margin-bottom:1.8em;width:100%}.home-card-thumbnail[_ngcontent-%COMP%]{width:56px;height:56px;margin-left:.1em;margin-right:.1em;border-radius:5px}.home-card-image[_ngcontent-%COMP%]{width:100%}.page[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;width:100%;flex-direction:column}@media only screen and (max-width: 599px){.home[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:1em}}.view-more-container[_ngcontent-%COMP%]{text-align:center}.activity-feed[_ngcontent-%COMP%]{font-size:.85em}.wipe-button[_ngcontent-%COMP%]{margin-bottom:1em}.profile-line[_ngcontent-%COMP%]{width:100%;overflow-y:hidden;overflow-x:scroll;display:flex;flex-direction:row;margin-bottom:.2em}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:transparent}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#a3a5a7c2}.profile-line[_ngcontent-%COMP%] .event-header[_ngcontent-%COMP%]{flex-flow:nowrap}.profile-line[_ngcontent-%COMP%] .icon-medium[_ngcontent-%COMP%]{width:64px!important;height:64px!important}.profile-line-more-button[_ngcontent-%COMP%]{margin-top:.4em;margin-left:.4em}drag-scroll[_ngcontent-%COMP%]{height:90px;width:100%}"]});class m0{constructor(t,e,n,r,a,o){this.relayService=t,this.ui=e,this.appState=n,this.db=r,this.authService=a,this.router=o}ngOnInit(){this.relayService.terminateAll(),this.ui.clearAll(),this.db.close(),this.authService.logout()}}function Roe(i,t){if(1&i&&(_(0,"mat-chip-option",4),L(1),v()),2&i){const e=t.$implicit;S("value",e.id),E(1),yt(e.name)}}function Poe(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",5)(2,"input",6),fe("ngModelChange",function(r){return Te(e),Ae(Z().label=r)}),v()(),_(3,"button",7),fe("click",function(){return Te(e),Ae(Z().saveLabel())}),_(4,"mat-icon"),L(5,"done"),v()(),_(6,"button",8),fe("click",function(){return Te(e),Ae(Z().hideNewLabel())}),_(7,"mat-icon"),L(8,"close"),v()()()}if(2&i){const e=Z();E(2),S("ngModel",e.label),E(1),S("disabled",!e.label)}}function Boe(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z().addNewLabel())}),_(1,"mat-icon"),L(2,"add"),v()()}}m0.\u0275fac=function(t){return new(t||m0)(k(Mo),k(Zr),k(Xi),k(ua),k(Na),k(qn))},m0.\u0275cmp=qe({type:m0,selectors:[["app-logout"]],decls:1,vars:0,template:function(t,e){1&t&&L(0,"Loading...")},encapsulation:2});class f0{constructor(t){this.labelService=t,this.selectionChanged=new lt}addNewLabel(){this.showNewLabel=!0}hideNewLabel(){this.showNewLabel=!1,this.label=""}onChange(t){console.log(t),this.selectionChanged.emit(t.value)}saveLabel(){var t=this;return Ee(function*(){t.label&&(t.labelService.saveLabel(t.label),t.label="",t.showNewLabel=!1)})()}}f0.\u0275fac=function(t){return new(t||f0)(k(Is))},f0.\u0275cmp=qe({type:f0,selectors:[["app-labels"]],outputs:{selectionChanged:"selectionChanged"},decls:4,vars:5,consts:[["aria-label","Fish selection",3,"selectable","multiple","change"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[3,"value"],[1,"example-form-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"mat-chip-listbox",0),fe("change",function(r){return e.onChange(r)}),ee(1,Roe,2,2,"mat-chip-option",1),ee(2,Poe,9,2,"div",2),ee(3,Boe,3,0,"button",3),v()),2&t&&(S("selectable",!0)("multiple",!0),E(1),S("ngForOf",e.labelService.labels),E(1),S("ngIf",e.showNewLabel),E(1),S("ngIf",!e.showNewLabel))},dependencies:[yn,ri,Do,Ra,bo,Zn,JD,QD,ka,ha,Da]});class p0{constructor(t){this.labelService=t}transform(t){return t?this.labelService.getName(t):""}}function Hoe(i,t){1&i&&(_(0,"span"),L(1,", "),v())}function Voe(i,t){if(1&i&&(_(0,"span")(1,"strong"),L(2),gi(3,"label"),v(),ee(4,Hoe,2,0,"span",1),v()),2&i){const e=t.$implicit,n=t.last;E(2),yt(yi(3,2,e)),E(2),S("ngIf",!n)}}p0.\u0275fac=function(t){return new(t||p0)(k(Is,16))},p0.\u0275pipe=Er({name:"label",type:p0,pure:!0});class g0{constructor(t){this.labelService=t,this.labels=[]}}function Yoe(i,t){1&i&&(_(0,"div"),L(1,"Notes are all your saved posts. These can be your own, or they can be copies of public posts made by others. You can add tags to organize your saved notes."),Ce(2,"br"),v())}function joe(i,t){if(1&i&&(_(0,"mat-card",5)(1,"div",6)(2,"app-event-header",7),L(3,"Posted: "),_(4,"span",8),L(5),gi(6,"ago"),v(),L(7,", Saved: "),_(8,"span",8),L(9),gi(10,"ago"),v()(),Ce(11,"app-event-actions",9),v(),Ce(12,"app-content",9)(13,"app-label",10),v()),2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(3),yt(yi(6,6,e.created_at)),E(4),yt(yi(10,8,e.saved)),E(2),S("event",e),E(1),S("event",e),E(1),S("labels",e.labels)}}g0.\u0275fac=function(t){return new(t||g0)(k(Is))},g0.\u0275cmp=qe({type:g0,selectors:[["app-label"]],inputs:{labels:"labels"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&(L(0,"Labels: "),ee(1,Voe,5,4,"span",0)),2&t&&(E(1),S("ngForOf",e.labels))},dependencies:[yn,ri,p0],encapsulation:2});class _0{constructor(t,e){this.notesService=t,this.appState=e,this.details=!1}toggleDetails(){this.details=!this.details}filterNotes(t){this.notesService.filterByLabels(t)}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Saved Notes"),t.appState.goBack=!0,t.appState.actions=[],yield t.notesService.load()})()}}_0.\u0275fac=function(t){return new(t||_0)(k(eu),k(Xi))},_0.\u0275cmp=qe({type:_0,selectors:[["app-notes"]],decls:5,vars:2,consts:[[1,"feed-page"],[3,"selectionChanged"],[4,"ngIf"],[1,"notes"],["class","events",4,"ngFor","ngForOf"],[1,"events"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event"],[3,"labels"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"app-labels",1),fe("selectionChanged",function(r){return e.filterNotes(r)}),v(),ee(2,Yoe,3,0,"div",2),_(3,"div",3),ee(4,joe,14,10,"mat-card",4),v()()),2&t&&(E(2),S("ngIf",0===e.notesService.items.length),E(2),S("ngForOf",e.notesService.filtered))},dependencies:[yn,ri,Pa,gs,Il,Js,f0,g0,el],styles:[".events[_ngcontent-%COMP%]{width:480px;max-width:480px}.notes[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;margin-top:1em;align-items:flex-start}"]});class ym{onElementScroll(){"self"===this.infiniteScrollContext&&this.elementEndReachedInSelfScrollbarContext()&&this.canTriggerAction&&this.triggerAction()}constructor(t){this.element=t,this.canTriggerAction=!0,this.infiniteScrollContext="self",this.scrollAction=new lt,this.el=t.nativeElement,this.viewport=this.getViewport(window)}ngOnInit(){"document"===this.infiniteScrollContext&&document.addEventListener("scroll",()=>{this.elementEndReachedInDocumentScrollbarContext(window,this.el)&&this.canTriggerAction&&this.triggerAction()})}triggerAction(){this.canTriggerAction=!1,this.scrollAction.emit(null)}elementEndReachedInSelfScrollbarContext(){return this.el.scrollTop+this.el.offsetHeight>=this.el.scrollHeight-1&&(this.canTriggerAction=!0,!0)}elementEndReachedInDocumentScrollbarContext(t,e){const a=e.getBoundingClientRect().top+t.pageYOffset;return t.pageYOffset+this.viewport.h>e.offsetHeight+a&&(this.canTriggerAction=!0,!0)}getViewport(t){if(null!=t.innerWidth)return{w:t.innerWidth,h:t.innerHeight};let e=t.document;return"CSS1Compat"==document.compatMode?{w:e.documentElement.clientWidth,h:e.documentElement.clientHeight}:{w:e.body.clientWidth,h:e.body.clientHeight}}}ym.\u0275fac=function(t){return new(t||ym)(k(pt))},ym.\u0275dir=Oe({type:ym,selectors:[["","infiniteScroll",""]],hostBindings:function(t,e){1&t&&fe("scroll",function(r){return e.onElementScroll(r)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var Sp=I(3259);const zoe=["qrcElement"];let Uoe=(()=>{class i{constructor(e,n){this.renderer=e,this.sanitizer=n,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new lt,this.context=null}ngOnChanges(){var e=this;return Ee(function*(){yield e.createQRCode()})()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(typeof e>"u"||""===e||"null"===e||null===e):!(typeof e>"u")}toDataURL(e){return new Promise((n,r)=>{(0,Sp.hz)(this.qrdata,e,(a,o)=>{a?r(a):n(o)})})}toCanvas(e,n){return new Promise((r,a)=>{(0,Sp.rT)(e,this.qrdata,n,o=>{o?a(o):r("success")})})}toSVG(e){return new Promise((n,r)=>{(0,Sp.toString)(this.qrdata,e,(a,o)=>{a?r(a):n(o)})})}renderElement(e){for(const n of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,n);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){var e=this;return Ee(function*(){e.version&&e.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),e.version=40):e.version&&e.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),e.version=1):void 0!==e.version&&isNaN(e.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),e.version=void 0);try{if(!e.isValidQrCodeText(e.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");e.isValidQrCodeText(e.qrdata)&&""===e.qrdata&&(e.qrdata=" ");const n={color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},r=e.imageSrc,a=e.imageHeight||40,o=e.imageWidth||40;switch(e.elementType){case"canvas":const c=e.renderer.createElement("canvas");e.context=c.getContext("2d"),e.toCanvas(c,n).then(()=>{if(e.ariaLabel&&e.renderer.setAttribute(c,"aria-label",`${e.ariaLabel}`),e.title&&e.renderer.setAttribute(c,"title",`${e.title}`),r&&e.context){e.centerImage=new Image(o,a),r!==e.centerImage.src&&(e.centerImage.src=r),a!==e.centerImage.height&&(e.centerImage.height=a),o!==e.centerImage.width&&(e.centerImage.width=o);const x=e.centerImage;x&&(x.onload=()=>{e.context?.drawImage(x,c.width/2-o/2,c.height/2-a/2,o,a)})}e.renderElement(c),e.emitQRCodeURL(c)}).catch(x=>{console.error("[angularx-qrcode] canvas error:",x)});break;case"svg":const u=e.renderer.createElement("div");e.toSVG(n).then(x=>{e.renderer.setProperty(u,"innerHTML",x);const P=u.firstChild;e.renderer.setAttribute(P,"height",`${e.width}`),e.renderer.setAttribute(P,"width",`${e.width}`),e.renderElement(P),e.emitQRCodeURL(P)}).catch(x=>{console.error("[angularx-qrcode] svg error:",x)});break;default:const m=e.renderer.createElement("img");e.toDataURL(n).then(x=>{e.alt&&m.setAttribute("alt",e.alt),e.ariaLabel&&m.setAttribute("aria-label",e.ariaLabel),m.setAttribute("src",x),e.title&&m.setAttribute("title",e.title),e.renderElement(m),e.emitQRCodeURL(m)}).catch(x=>{console.error("[angularx-qrcode] img/url error:",x)})}}catch(n){console.error("[angularx-qrcode] Error generating QR Code:",n.message)}})()}emitQRCodeURL(e){const n=e.constructor.name;if(n===SVGSVGElement.name){const o=new Blob([e.outerHTML],{type:"image/svg+xml"}),c=URL.createObjectURL(o),u=this.sanitizer.bypassSecurityTrustUrl(c);return void this.qrCodeURL.emit(u)}let r="";n===HTMLCanvasElement.name&&(r=e.toDataURL("image/png")),n===HTMLImageElement.name&&(r=e.src),fetch(r).then(a=>a.blob()).then(a=>URL.createObjectURL(a)).then(a=>this.sanitizer.bypassSecurityTrustUrl(a)).then(a=>{this.qrCodeURL.emit(a)}).catch(a=>{console.error("[angularx-qrcode] Error when fetching image/png URL: "+a)})}}return i.\u0275fac=function(e){return new(e||i)(k(zs),k(Tf))},i.\u0275cmp=qe({type:i,selectors:[["qrcode"]],viewQuery:function(e,n){if(1&e&&At(zoe,7),2&e){let r;Qe(r=Xe())&&(n.qrcElement=r.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[Jn],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,n){1&e&&Ce(0,"div",null,0),2&e&&ub(n.cssClass)},encapsulation:2,changeDetection:0}),i})(),Woe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function Goe(i,t){if(1&i&&Ce(0,"img",14),2&i){const e=Z();S("matTooltip",e.tooltip)("src",e.imagePath,on)}}function qoe(i,t){if(1&i&&Ce(0,"img",15),2&i){const e=Z();S("matTooltip",e.tooltip)("src",e.imagePath,on)}}class b0{constructor(t,e){this.data=t,this.util=e,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngOnInit(){var t=this;return Ee(function*(){t.invoice=t.data.invoice,t.profile=t.data.profile,t.updateProfileDetails()})()}updateProfileDetails(){var t=this;return Ee(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.profileName)})()}copy(t){this.util.copy(t)}}function $oe(i,t){if(1&i&&Ce(0,"img",26),2&i){const e=Z();S("matTooltip",e.tooltip)("src",e.imagePath,on)}}function Koe(i,t){if(1&i&&Ce(0,"img",27),2&i){const e=Z();S("matTooltip",e.tooltip)("src",e.imagePath,on)}}function Zoe(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z(2);E(1),yd("Please enter an amount between ",e.minSendable," and ",e.maxSendable,".")}}function Qoe(i,t){1&i&&L(0),2&i&&qt("The minimum amount you can send is ",Z(2).minSendable,".")}function Xoe(i,t){1&i&&L(0),2&i&&qt("The maximum amount you can send is ",Z(2).maxSendable,".")}function Joe(i,t){1&i&&L(0),2&i&&qt("The maximum amount you can send is ",Z(2).maxSendable,".")}function ese(i,t){1&i&&L(0),2&i&&qt("The maximum amount you can send is ",Z(2).maxSendable,".")}function tse(i,t){1&i&&L(0,"Please enter a valid amount.")}function ise(i,t){if(1&i&&(_(0,"mat-error"),Jo(1,28),ee(2,Zoe,2,2,"ng-template",null,29,ko),ee(4,Qoe,1,1,"ng-template",null,30,ko),ee(6,Xoe,1,1,"ng-template",null,31,ko),ee(8,Joe,1,1,"ng-template",null,32,ko),ee(10,ese,1,1,"ng-template",null,33,ko),ee(12,tse,1,0,"ng-template",null,34,ko),v()),2&i){const e=Li(3),n=Li(5),r=Li(7),a=Li(9),o=Li(11),c=Li(13),u=Z();E(1),S("ngTemplateOutlet",u.minSendable>0&&u.maxSendable>0?e:u.minSendable>0&&0==u.maxSendable?n:0==u.minSendable&&u.maxSendable>0?r:u.maxSendable>0?a:u.maxSendable<=0?o:c)}}function nse(i,t){1&i&&(_(0,"mat-error"),L(1," Please enter a comment. "),v())}function rse(i,t){if(1&i&&(_(0,"mat-error"),L(1),v()),2&i){const e=Z();E(1),qt(" ",e.error," ")}}b0.\u0275fac=function(t){return new(t||b0)(k(Ks),k(Qi))},b0.\u0275cmp=qe({type:b0,selectors:[["app-zap-qr-code"]],decls:19,vars:18,consts:[["mat-dialog-content","",2,"text-align","center"],[1,"profile-container",2,"display","inline-flex","align-items","center"],[1,"icon","icon-small",2,"margin-right","10px"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[1,"name","clickable",2,"flex-grow","1"],["matTooltipPosition","above",3,"matTooltip"],[2,"display","flex","justify-content","center","align-items","center","flex-direction","column"],[3,"qrdata","width","errorCorrectionLevel"],[1,"profile-labels",2,"display","flex","align-items","center","cursor","pointer",3,"click"],[1,"profile-labels-left"],[1,"hoverable",2,"width","100%"],[1,"profile-labels-middle","dimmed",2,"text-align","right"],[1,"profile-icon",2,"margin-left","5px"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"div",2),ee(3,Goe,1,2,"img",3),ee(4,qoe,1,2,"img",4),v(),_(5,"div",5)(6,"span",6),L(7),v()()(),_(8,"div",7),Ce(9,"qrcode",8),_(10,"div",9),fe("click",function(){return e.copy(e.invoice.pr)}),_(11,"div",10)(12,"a",11),L(13),gi(14,"slice"),gi(15,"slice"),v()(),_(16,"div",12)(17,"mat-icon",13),L(18,"content_copy"),v()()()()()),2&t&&(E(3),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(2),Mt("muted",2==e.profile.status),S("matTooltip",e.tooltipName),E(1),qt("Send Zaps to ",e.profileName,""),E(2),S("qrdata",e.invoice.pr)("width",256)("errorCorrectionLevel","M"),E(4),yd("",function vT(i,t,e,n,r){const a=i+hn,o=xt(),c=gu(o,a);return Tg(o,a)?_T(o,Co(),t,c.transform,e,n,r,c):c.transform(e,n,r)}(14,11,e.invoice.pr,0,10),"...",ax(15,15,e.invoice.pr,-10),""))},dependencies:[ri,Zn,ps,Dl,Uoe,$A],styles:[".profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.mdc-dialog__actions[_ngcontent-%COMP%]{padding:0}"]});class eh{constructor(t,e,n,r,a,o,c,u,m,x){this.data=t,this.formBuilder=e,this.eventService=n,this.relayService=r,this.nostr=a,this.util=o,this.db=c,this.dataService=u,this.dialog=m,this.dialogRef=x,this.minSendable=0,this.maxSendable=0,this.amount=0,this.comment="",this.payRequest=null,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.error="",this.items=[]}ngOnInit(){var t=this;return Ee(function*(){t.profile=t.data.profile,t.event=t.data.event,t.sendZapForm=t.formBuilder.group({amount:["",[Po.required]],comment:[""]}),t.fetchPayReq(),yield t.updateProfileDetails()})()}fetchPayReq(){var t=this;return Ee(function*(){t.payRequest=yield t.fetchZapper(),t.recofigureFormValidators()})()}fetchZapper(){var t=this;return Ee(function*(){let e="";if(t.profile.lud16){const n=t.profile.lud16.split("@");e=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else t.profile.lud06&&t.profile.lud06.toLowerCase().startsWith("lnurl")&&(e=t.util.convertBech32ToText(t.profile.lud06).toString());if(0!==e.length)try{const n=yield fetch(e);if(n.ok){const r=yield n.json();if("ERROR"!==r.status)return r;t.error=r.reason?r.reason:"Error fetching the invoice - please try again later"}}catch{t.error="Error fetching the invoice - please try again later"}return null})()}onSubmit(){var t=this;return Ee(function*(){if(t.sendZapForm.valid){let e=t.sendZapForm.get("comment")?.value,n=t.sendZapForm.get("amount")?.value;if(n&&t.payRequest){const r=new URL(t.payRequest.callback),a=new Map;let o;if(a.set("amount",Math.floor(1e3*n).toString()),e&&t.payRequest?.commentAllowed&&a.set("comment",e),t.payRequest.nostrPubkey&&t.profile.pubkey){let m=t.event?.id?t.event.id:null;o=yield t.createZapEvent(t.profile.pubkey,m,e),a.set("nostr",JSON.stringify(o))}const c=`${r.protocol}//${r.host}${r.pathname}`,u=[...a.entries()].map(m=>`${m[0]}=${encodeURIComponent(m[1])}`).join("&");try{const m=yield fetch(`${c}?${u}`);if(m.ok){const x=yield m.json();"ERROR"===x.status?t.error=x.reason?x.reason:"Error fetching the invoice - please try again later":(t.invoice=x,t.dialog.open(b0,{width:"400px",data:{invoice:t.invoice,profile:t.profile}}),t.dialogRef.close(eh))}else t.error="Error fetching the invoice - please try again later"}catch{t.error="Error fetching the invoice - please try again later"}}else console.log("error: please enter an amount and a valid pay request")}})()}createZapEvent(t,e,n){var r=this;return Ee(function*(){let a=r.dataService.createEvent(jn.ZapRequest,"");a.content=n||"",Object.assign([],a.tags),e&&a.tags.push(["e",e]),a.tags.push(["p",t]),a=yield r.addRelaysTag(a);const o=yield r.createAndSignEvent(a);if(o)return o})()}addRelaysTag(t){var e=this;return Ee(function*(){e.items=yield e.db.storage.getRelays();const n=e.items.map(r=>r.url);return t.tags.push(["relays",...n]),t})()}createAndSignEvent(t){var e=this;return Ee(function*(){let n=t;n.id=jd(t),n=yield e.nostr.sign(t);const r=e.eventService.processEvent(n);if(!r)throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield lp(r)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return r})()}recofigureFormValidators(){this.minSendable=(this.payRequest?.minSendable||1e3)/1e3,this.maxSendable=(this.payRequest?.maxSendable||21e9)/1e3,this.sendZapForm.get("amount")?.setValidators([Po.min((this.payRequest?.minSendable||1e3)/1e3),Po.max((this.payRequest?.maxSendable||21e9)/1e3),Po.required])}updateProfileDetails(){var t=this;return Ee(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.util.getNostrIdentifier(t.profile.pubkey))})()}setAmount(t){this.sendZapForm.get("amount")?.setValue(t)}}function AO(i,t){const e=Array(i);for(let n=0;nString(i)),AO(60,i=>String(i));let ase=(()=>{class i{transform(e){return e instanceof yr}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Er({name:"isTemplateRef",type:i,pure:!0}),i})(),ose=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();function sse(i,t){}function lse(i,t){1&i&&ee(0,sse,0,0,"ng-template",3),2&i&&S("ngTemplateOutlet",Z().message)}function cse(i,t){1&i&&L(0),2&i&&yt(Z().message)}const dse={tooltipState:Za("state",[gr("initial, void, hidden",fi({opacity:0,transform:"scale(0)"})),gr("visible",fi({transform:"scale(1)"})),lr("* => visible",sr("200ms cubic-bezier(0, 0, 0.2, 1)",Qg([fi({opacity:0,transform:"scale(0)",offset:0}),fi({opacity:.5,transform:"scale(0.99)",offset:.5}),fi({opacity:1,transform:"scale(1)",offset:1})]))),lr("* => hidden",sr("100ms cubic-bezier(0, 0, 0.2, 1)",fi({opacity:0})))])},IO=Dd({passive:!0});function LO(i){return Error(`Tooltip position "${i}" is invalid.`)}const NO=new Ze("mtx-tooltip-scroll-strategy"),pse={provide:NO,deps:[va],useFactory:function fse(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}},gse=new Ze("mtx-tooltip-default-options",{providedIn:"root",factory:function _se(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let bse=(()=>{class i{constructor(e,n,r,a,o,c,u,m,x,P,K){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=u,this._focusMonitor=m,this._dir=P,this._defaultOptions=K,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._handleKeydown=ne=>{this._isTooltipVisible()&&27===ne.keyCode&&!ya(ne)&&(ne.preventDefault(),ne.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=x,K&&(K.position&&(this.position=K.position),K.touchGestures&&(this.touchGestures=K.touchGestures)),o.runOutsideAngular(()=>{n.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=e instanceof yr?e:null!=e?`${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)})}))}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(ai(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),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([n,r])=>{e.removeEventListener(n,r,IO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const n=this._createOverlay();this._detach(),this._portal=this._portal||new Yh(yse,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ai(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.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),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mtx-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(ai(this._destroyed)).subscribe(r=>{this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mtx-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(ai(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,n=this._getOrigin(),r=this._getOverlayPosition();e.withPositions([{...n.main,...r.main},{...n.fallback,...r.fallback}])}_getOrigin(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n||"below"===n)r={originX:"center",originY:"above"===n?"top":"bottom"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={originX:"start",originY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw LO(n);r={originX:"end",originY:"center"}}const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n)r={overlayX:"center",overlayY:"bottom"};else if("below"===n)r={overlayX:"center",overlayY:"top"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={overlayX:"end",overlayY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw LO(n);r={overlayX:"start",overlayY:"center"}}const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(rn(1),ai(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_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",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,IO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){return new(e||i)(k(va),k(pt),k(ku),k(kr),k(Rt),k(Hn),k(gC),k(Ka),k(NO),k(Rr,8),k(gse,8))},i.\u0275dir=Oe({type:i,selectors:[["","mtxTooltip",""]],hostAttrs:[1,"mtx-tooltip-trigger"],inputs:{position:["mtxTooltipPosition","position"],disabled:["mtxTooltipDisabled","disabled"],showDelay:["mtxTooltipShowDelay","showDelay"],hideDelay:["mtxTooltipHideDelay","hideDelay"],touchGestures:["mtxTooltipTouchGestures","touchGestures"],message:["mtxTooltip","message"],tooltipClass:["mtxTooltipClass","tooltipClass"]},exportAs:["mtxTooltip"]}),i})(),yse=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new He,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const n=e.toState;"hidden"===n&&!this.isVisible()&&this._onHide.next(),("visible"===n||"hidden"===n)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(Td))},i.\u0275cmp=qe({type:i,selectors:[["mtx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&fe("click",function(){return n._handleBodyInteraction()},0,ZE),2&e&&Kn("zoom","visible"===n._visibility?1:null)},decls:6,vars:10,consts:[[1,"mtx-tooltip",3,"ngClass"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet"]],template:function(e,n){if(1&e&&(_(0,"div",0),fe("@state.start",function(){return n._animationStart()})("@state.done",function(a){return n._animationDone(a)}),gi(1,"async"),ee(2,lse,1,1,"ng-template",1),gi(3,"isTemplateRef"),ee(4,cse,1,1,"ng-template",null,2,ko),v()),2&e){const r=Li(5);let a;Mt("mtx-tooltip-handset",null==(a=yi(1,6,n._isHandset))?null:a.matches),S("ngClass",n.tooltipClass)("@state",n._visibility),E(2),S("ngIf",yi(3,8,n.message))("ngIfElse",r)}},dependencies:[qa,ri,Sf,Ts,ase],styles:[".mtx-tooltip-panel{pointer-events:none!important}.mtx-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mtx-tooltip{outline:solid 1px}.mtx-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[dse.tooltipState]},changeDetection:0}),i})(),vse=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[pse],imports:[Bf,Dr,Oc,Jt,ose,Jt,Nc]}),i})();function wse(i,t){1&i&&(_(0,"button",14)(1,"mat-icon",15),L(2,"more_vert"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(3)))}function Fse(i,t){1&i&&(_(0,"button",16)(1,"mat-icon"),L(2,"more_vert"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(3)))}function xse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().saveNote())}),_(1,"mat-icon"),L(2,"bookmark_add"),v(),_(3,"span"),L(4,"Save Note"),v()()}}function Cse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().removeNote())}),_(1,"mat-icon"),L(2,"bookmark_remove"),v(),_(3,"span"),L(4,"Remove from Notes"),v()()}}function kse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().follow())}),_(1,"mat-icon"),L(2,"person_add"),v(),_(3,"span"),L(4,"Follow"),v()()}}function Dse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().unfollow())}),_(1,"mat-icon"),L(2,"person_remove"),v(),_(3,"span"),L(4,"Unfollow"),v()()}}function Mse(i,t){1&i&&(_(0,"button",5)(1,"mat-icon"),L(2,"supervised_user_circle"),v(),_(3,"span"),L(4,"Move to Circle"),v()()),2&i&&(Z(),S("matMenuTriggerFor",Li(29)))}function Ese(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().unmute())}),_(1,"mat-icon"),L(2,"notifications"),v(),_(3,"span"),L(4,"Unmute"),v()()}}function Sse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().mute())}),_(1,"mat-icon"),L(2,"notifications_off"),v(),_(3,"span"),L(4,"Mute"),v()()}}function Tse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().unblock())}),_(1,"mat-icon"),L(2,"cancel"),v(),_(3,"span"),L(4,"Unblock"),v()()}}function Ase(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().block())}),_(1,"mat-icon"),L(2,"block"),v(),_(3,"span"),L(4,"Block"),v()()}}function Ise(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){const a=Te(e).$implicit;return Ae(Z().follow(a.id))}),_(1,"mat-icon"),L(2,"trip_origin"),v(),_(3,"span"),L(4),v()()}if(2&i){const e=t.$implicit;E(1),Kn("color",e.color),E(3),yt(e.name)}}function Lse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().copyFollowing())}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Following List"),v()()}}function Nse(i,t){if(1&i){const e=Je();_(0,"button",10),fe("click",function(){return Te(e),Ae(Z().copyRelays())}),_(1,"mat-icon"),L(2,"content_copy"),v(),_(3,"span"),L(4,"Relay List"),v()()}}class vm{constructor(t,e,n,r,a,o,c,u){this.appState=t,this.ui=e,this.circleService=n,this.snackBar=r,this.profileService=a,this.notesService=o,this.utilities=c,this.router=u,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Ee(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Ee(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}openBadges(t){this.router.navigate(["/badges",t])}follow(t){var e=this;return Ee(function*(){null==t&&(t=0),e.profile?e.profile.status!==to.Follow?(e.profile.circle=t,e.profile.status=1,e.profile=yield e.profileService.follow(e.profile.pubkey,t)):(e.profile.circle=t,e.profile=yield e.profileService.setCircle(e.profile.pubkey,t)):e.profile=yield e.profileService.follow(e.pubkey,t)})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${xa.npubEncode(t)}`)}copyNoteUrl(t){this.copy(`web+nostr:nevent:${xa.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,website:this.profile.website,banner:this.profile.banner,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copyFollowing(){this.copy(JSON.stringify(this.profile.following))}copyRelays(){this.copy(this.profile.relays)}copy(t){qy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Ee(function*(){t.profile&&(t.profile.status=to.Public,t.profile.followed=void 0,t.profile.circle=void 0,t.profile=yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Ee(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}shareProfile(t){t&&navigator.share&&navigator.share({title:t.name,text:t.about,url:"https://notes.blockcore.net/p/"+t.pubkey}).then(()=>console.log("Successful share")).catch(e=>console.log("Error sharing",e))}ngOnDestroy(){}ngOnInit(){var t=this;return Ee(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function Ose(i,t){if(1&i){const e=Je();_(0,"img",28),fe("click",function(){return Te(e),Ae(Z(2).showProfileImage())}),v()}if(2&i){const e=Z().ngIf,n=Z();let r;Kn("border-color",null==(r=n.circleService.getSync(e.circle))?null:r.color),S("src",n.imagePath,on)}}function Rse(i,t){if(1&i){const e=Je();_(0,"img",29),fe("click",function(){return Te(e),Ae(Z(2).showProfileImage())}),v()}2&i&&S("src",Z(2).imagePath,on)}function Pse(i,t){if(1&i){const e=Je();_(0,"button",31),fe("click",function(){Te(e);const r=Z(2).ngIf;return Ae(Z().follow(r))}),L(1,"Follow Back"),v()}}function Bse(i,t){if(1&i&&ee(0,Pse,2,0,"button",30),2&i){const e=Z().ngIf;S("ngIf",0==(null==e?null:e.status))}}function Hse(i,t){if(1&i){const e=Je();_(0,"button",33),fe("click",function(){Te(e);const r=Z(2).ngIf;return Ae(Z().follow(r))}),L(1,"Follow"),v()}}function Vse(i,t){if(1&i&&ee(0,Hse,2,0,"button",32),2&i){const e=Z().ngIf;S("ngIf",0==(null==e?null:e.status))}}function Yse(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z().ngIf;E(1),qt(" ",e.display_name," ")}}function jse(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z(2).ngIf;E(1),qt(" ",e.name," ")}}function zse(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z(2).ngIf;E(1),qt(" ",e.npub," ")}}function Use(i,t){if(1&i&&(_(0,"span"),ee(1,jse,2,1,"span",13),ee(2,zse,2,1,"span",13),v()),2&i){const e=Z().ngIf;E(1),S("ngIf",e.name),E(1),S("ngIf",!e.display_name&&!e.name)}}function Wse(i,t){1&i&&(_(0,"span",34),L(1,"Follows you"),v())}function Gse(i,t){if(1&i){const e=Je();_(0,"div",14)(1,"div",15)(2,"mat-icon",16),L(3,"verified"),v()(),_(4,"div",17)(5,"span",18),fe("click",function(){Te(e);const r=Z().ngIf,a=Z();return Ae(a.copy(a.getWellKnownLink(r.nip05)))}),L(6),v()()()}if(2&i){const e=Z().ngIf,n=Z();E(6),yt(n.displayNIP05(e.nip05))}}function qse(i,t){if(1&i&&(_(0,"a",36),L(1),v()),2&i){const e=Z(2).ngIf;S("href",Z().utilities.sanitizeUrl(e.website,!0),on),E(1),yt(e.website)}}function $se(i,t){if(1&i&&(_(0,"div",14)(1,"div",15)(2,"mat-icon",16),L(3,"link"),v()(),_(4,"div",17),ee(5,qse,2,2,"a",35),v()()),2&i){const e=Z().ngIf;E(5),S("ngIf",e.website)}}function Kse(i,t){if(1&i&&(_(0,"a",40),L(1),v()),2&i){const e=Z(2).ngIf;S("href",Z().utilities.sanitizeLUD06("lightning:"+e.lud06),on),E(1),yt(e.lud06)}}function Zse(i,t){if(1&i){const e=Je();_(0,"div",37),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().openDialog(r))}),_(1,"div",15)(2,"mat-icon",38),L(3,"\u26a1\ufe0f"),v()(),_(4,"div",17),ee(5,Kse,2,2,"a",39),v()()}if(2&i){const e=Z().ngIf;S("mtxTooltip",Li(28))("mtxTooltipPosition","left"),E(5),S("ngIf",e.lud06)}}function Qse(i,t){if(1&i&&(_(0,"a",40),L(1),v()),2&i){const e=Z(2).ngIf;S("href",Z().utilities.sanitizeLUD06("lightning:"+e.lud16),on),E(1),yt(e.lud16)}}function Xse(i,t){if(1&i){const e=Je();_(0,"div",37),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().openDialog(r))}),_(1,"div",15)(2,"mat-icon",38),L(3,"\u26a1\ufe0f"),v()(),_(4,"div",17),ee(5,Qse,2,2,"a",39),v()()}if(2&i){const e=Z().ngIf;S("mtxTooltip",Li(30))("mtxTooltipPosition","left"),E(5),S("ngIf",e.lud16)}}function Jse(i,t){1&i&&Ce(0,"img",43),2&i&&S("src",Z(3).qr06,on)}function ele(i,t){if(1&i&&(_(0,"div",41),ee(1,Jse,1,1,"img",42),v()),2&i){const e=Z(2);E(1),S("ngIf",e.qr06)}}function tle(i,t){1&i&&Ce(0,"img",43),2&i&&S("src",Z(3).qr16,on)}function ile(i,t){if(1&i&&(_(0,"div",41),ee(1,tle,1,1,"img",42),v()),2&i){const e=Z(2);E(1),S("ngIf",e.qr16)}}function nle(i,t){if(1&i&&(_(0,"p",44),L(1),v()),2&i){const e=Z().ngIf;E(1),yt(e.about)}}vm.\u0275fac=function(t){return new(t||vm)(k(Xi),k(Zr),k(Bo),k(ms),k(Tn),k(eu),k(Qi),k(qn))},vm.\u0275cmp=qe({type:vm,selectors:[["app-profile-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:79,vars:17,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["categories","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"],["disabled","true","mat-menu-item","",3,"click"],["shareMenu","matMenu"],["badges","matMenu"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(ee(0,wse,3,1,"button",0),ee(1,Fse,3,1,"button",1),_(2,"mat-menu",null,2),ee(4,xse,5,0,"button",3),ee(5,Cse,5,0,"button",3),ee(6,kse,5,0,"button",3),ee(7,Dse,5,0,"button",3),ee(8,Mse,5,1,"button",4),_(9,"button",5)(10,"mat-icon"),L(11,"badge"),v(),_(12,"span"),L(13,"Badge"),v()(),_(14,"button",6),fe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),_(15,"mat-icon"),L(16,"copy_all"),v(),_(17,"span"),L(18,"Copy"),v()(),_(19,"button",5)(20,"mat-icon"),L(21,"ios_share"),v(),_(22,"span"),L(23,"Share"),v()(),ee(24,Ese,5,0,"button",3),ee(25,Sse,5,0,"button",3),ee(26,Tse,5,0,"button",3),ee(27,Ase,5,0,"button",3),v(),_(28,"mat-menu",null,7),ee(30,Ise,5,3,"button",8),v(),_(31,"mat-menu",null,9)(33,"button",10),fe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),_(34,"mat-icon"),L(35,"content_copy"),v(),_(36,"span"),L(37,"Identifier (npub)"),v()(),_(38,"button",10),fe("click",function(){return e.copy(e.profile.pubkey)}),_(39,"mat-icon"),L(40,"content_copy"),v(),_(41,"span"),L(42,"Identifier (hex)"),v()(),_(43,"button",10),fe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),_(44,"mat-icon"),L(45,"content_copy"),v(),_(46,"span"),L(47,"Identifier URL (npub)"),v()(),_(48,"button",11),fe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),_(49,"mat-icon"),L(50,"content_copy"),v(),_(51,"span"),L(52,"Profile URL (nprofile)"),v()(),_(53,"button",10),fe("click",function(){return e.copyProfile()}),_(54,"mat-icon"),L(55,"content_copy"),v(),_(56,"span"),L(57,"Profile Data"),v()(),ee(58,Lse,5,0,"button",3),ee(59,Nse,5,0,"button",3),v(),_(60,"mat-menu",null,12)(62,"button",10),fe("click",function(){return e.shareProfile(e.profile)}),_(63,"mat-icon"),L(64,"content_copy"),v(),_(65,"span"),L(66,"Profile"),v()(),_(67,"button",10),fe("click",function(){return e.copy("https://notes.blockcore.net/p/"+e.profile.pubkey)}),_(68,"mat-icon"),L(69,"content_copy"),v(),_(70,"span"),L(71,"Profile URL"),v()()(),_(72,"mat-menu",null,13)(74,"button",10),fe("click",function(){return e.openBadges(e.profile.pubkey)}),_(75,"mat-icon"),L(76,"badge"),v(),_(77,"span"),L(78,"View Badges"),v()()()),2&t){const n=Li(32),r=Li(61),a=Li(73);S("ngIf",!e.fab),E(1),S("ngIf",e.fab),E(3),S("ngIf",e.event&&!e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("ngIf",0==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",3!=(null==e.profile?null:e.profile.status)),E(1),S("matMenuTriggerFor",a),E(5),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(5),S("ngIf",2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",3==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",(null==e.profile?null:e.profile.status)<3),E(3),S("ngForOf",e.circleService.circles),E(28),S("ngIf",null==e.profile?null:e.profile.following),E(1),S("ngIf",null==e.profile?null:e.profile.relays)}},dependencies:[yn,ri,bo,e8,Zn,_m,ed,u0]});const rle=function(i){return["/following",i]};function ale(i,t){if(1&i&&(_(0,"div",45)(1,"a",46),L(2),_(3,"span",47),L(4,"Following"),v()()()),2&i){const e=Z().ngIf;E(1),S("routerLink",wn(2,rle,e.pubkey)),E(1),qt("",e.following.length," ")}}function ole(i,t){if(1&i){const e=Je();_(0,"div",1),Ce(1,"div",2),_(2,"div",3)(3,"div",4)(4,"div",5),ee(5,Ose,1,3,"img",6),ee(6,Rse,1,1,"img",7),v()(),_(7,"div",8)(8,"div",9),ee(9,Bse,1,1,"ng-template",10),ee(10,Vse,1,1,"ng-template",10),Ce(11,"app-profile-actions",11),v(),_(12,"h2",12),ee(13,Yse,2,1,"span",13),ee(14,Use,3,2,"span",13),v(),_(15,"div",14)(16,"div",15)(17,"mat-icon",16),L(18,"key"),v()(),_(19,"div",17)(20,"span",18),fe("click",function(){const a=Te(e).ngIf;return Ae(Z().copy(a.npub))}),L(21),v(),ee(22,Wse,2,0,"span",19),v()(),ee(23,Gse,7,1,"div",20),ee(24,$se,6,1,"div",20),ee(25,Zse,6,3,"div",21),ee(26,Xse,6,3,"div",21),ee(27,ele,2,1,"ng-template",null,22,ko),ee(29,ile,2,1,"ng-template",null,23,ko),_(31,"span"),ee(32,nle,2,1,"p",24),v(),ee(33,ale,5,4,"div",25),_(34,"div")(35,"mat-menu",null,26)(37,"button",27)(38,"mat-icon"),L(39,"notifications_off"),v(),_(40,"span"),L(41,"Mute"),v()(),_(42,"button",27)(43,"mat-icon"),L(44,"notifications_paused"),v(),_(45,"span"),L(46,"Remove from Notes"),v()(),_(47,"button",27)(48,"mat-icon"),L(49,"notifications"),v(),_(50,"span"),L(51,"Remove from Notes"),v()()()()()()()}if(2&i){const e=t.ngIf,n=Z();E(1),Kn("background-image",n.utilities.getBannerBackgroundStyle(e.banner)),E(4),S("ngIf",1==(null==e?null:e.status)),E(1),S("ngIf",1!=(null==e?null:e.status)),E(3),S("ngIf",n.isFollowing(e)),E(1),S("ngIf",!n.isFollowing(e)),E(1),S("fab",!1)("profile",e),E(1),S("matTooltip",e.npub),E(1),S("ngIf",e.display_name),E(1),S("ngIf",!e.display_name),E(7),qt("@",e.name,""),E(1),S("ngIf",n.isFollowing(e)),E(1),S("ngIf",n.isValidNip05),E(1),S("ngIf",e.website),E(1),S("ngIf",e.lud06),E(1),S("ngIf",e.lud16),E(6),S("ngIf",e.about),E(1),S("ngIf",e.following)}}class tu{constructor(t,e,n,r,a,o){this.appState=t,this.ui=e,this.profileService=n,this.dialog=r,this.circleService=a,this.utilities=o,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(t){var e=this;return Ee(function*(){t&&(t.status!==to.Follow?(t.circle=0,t.status=1,t=yield e.profileService.follow(t.pubkey,0)):(t.circle=0,t=yield e.profileService.setCircle(t.pubkey,0)))})()}isFollowing(t){return!(!t||!t.following)&&t.following.includes(this.userPubKey)}get imagePath(){return this.ui.profile.picture?this.ui.profile.picture:tu.defaultProfileImage}showProfileImage(){this.dialog.open(Xd,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var t=this;return Ee(function*(){t.subscriptions.push(t.ui.profile$.subscribe(function(){var e=Ee(function*(n){if(n&&(n.lud06&&(t.qr06=yield Sp.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(t.qr16=yield Sp.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let r=null;try{r=yield Zk.queryProfile(n?.nip05),t.isValidNip05=r?.pubkey==n?.pubkey}catch{console.log("failed to fetch NIP05 identifier")}}});return function(n){return e.apply(this,arguments)}}()))})()}displayNIP05(t){return t&&t.startsWith("_@")?t.substring(2):t}copy(t){this.utilities.copy(t)}getWellKnownLink(t){if(-1===t.indexOf("@"))return"";const e=t.split("@");return`https://${e[1]}/.well-known/nostr.json?name=${e[0]}`}openDialog(t){this.dialog.open(eh,{width:"400px",data:{profile:t}})}}function sle(i,t){if(1&i){const e=Je();_(0,"mat-card-content")(1,"p")(2,"mat-form-field",6)(3,"mat-icon",7),L(4,"badge"),v(),_(5,"mat-label"),L(6,"Display Name"),v(),_(7,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.display_name=r)}),v()()(),_(8,"p")(9,"mat-form-field",6)(10,"mat-icon",7),L(11,"alternate_email"),v(),_(12,"mat-label"),L(13,"Nickname"),v(),_(14,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.name=r)}),v()()(),_(15,"p")(16,"mat-form-field",6)(17,"mat-icon",7),L(18,"help_outline"),v(),_(19,"mat-label"),L(20,"About"),v(),_(21,"textarea",9),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.about=r)}),v()()(),_(22,"p")(23,"mat-form-field",6)(24,"mat-icon",7),L(25,"image"),v(),_(26,"mat-label"),L(27,"Profile Image"),v(),_(28,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.picture=r)}),v()()(),_(29,"p")(30,"mat-form-field",6)(31,"mat-icon",7),L(32,"image"),v(),_(33,"mat-label"),L(34,"Profile Banner"),v(),_(35,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.banner=r)}),v()()(),_(36,"p")(37,"mat-form-field",6)(38,"mat-icon",7),L(39,"how_to_reg"),v(),_(40,"mat-label"),L(41,"E-mail/Domain Identifier (NIP05)"),v(),_(42,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.nip05=r)}),v()()(),_(43,"p")(44,"mat-form-field",6)(45,"mat-icon",7),L(46,"public"),v(),_(47,"mat-label"),L(48,"Website"),v(),_(49,"input",8),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.website=r)}),v()()(),_(50,"p")(51,"mat-form-field",6)(52,"mat-icon",7),L(53,"currency_bitcoin"),v(),_(54,"mat-label"),L(55,"Bitcoin Payment Link (LUD06)"),v(),_(56,"input",10),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.lud06=r)}),v()()(),_(57,"p")(58,"mat-form-field",6)(59,"mat-icon",7),L(60,"currency_bitcoin"),v(),_(61,"mat-label"),L(62,"Bitcoin Payment Alias (LUD16)"),v(),_(63,"input",11),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.lud16=r)}),v()()(),_(64,"p"),L(65),gi(66,"ago"),v()()}if(2&i){const e=Z();E(7),S("ngModel",e.profile.display_name),E(7),S("ngModel",e.profile.name),E(7),S("ngModel",e.profile.about),E(7),S("ngModel",e.profile.picture),E(7),S("ngModel",e.profile.banner),E(7),S("ngModel",e.profile.nip05),E(7),S("ngModel",e.profile.website),E(7),S("ngModel",e.profile.lud06),E(7),S("ngModel",e.profile.lud16),E(2),qt("Last updated: ",yi(66,10,e.profile.created_at),"")}}tu.defaultProfileImage="/assets/profile.png",tu.\u0275fac=function(t){return new(t||tu)(k(Xi),k(Zr),k(Tn),k(Fa),k(Bo),k(Qi))},tu.\u0275cmp=qe({type:tu,selectors:[["app-profile-header"]],inputs:{pubkey:"pubkey"},decls:2,vars:3,consts:[["class","profile-page",4,"ngIf"],[1,"profile-page"],[1,"profile-banner"],[1,"profile-page-header"],[1,"profile-page-header-left"],["id","profile-image-anchor",1,"profile-image-anchor"],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow",3,"borderColor","src","click",4,"ngIf"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow","matTooltipPosition","above",3,"src","click",4,"ngIf"],[1,"profile-page-header-middle"],[1,"profile-button-container"],[3,"ngIf"],[3,"fab","profile"],["matTooltipPosition","above",1,"profile-name",3,"matTooltip"],[4,"ngIf"],[1,"profile-labels"],[1,"profile-labels-left"],[1,"profile-icon"],[1,"profile-labels-middle","dimmed"],[1,"hoverable",3,"click"],["class","follows-you",4,"ngIf"],["class","profile-labels",4,"ngIf"],["class","profile-labels",3,"mtxTooltip","mtxTooltipPosition","click",4,"ngIf"],["tooltipTpl",""],["tooltipTpl2",""],["class","wrap linebreaks",4,"ngIf"],["class","following-counts",4,"ngIf"],["menu","matMenu"],["mat-menu-item",""],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'",1,"profile-image-large","profile-image-follow",3,"src","click"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image-large","profile-image-follow",3,"src","click"],["class","follow-button","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",1,"follow-button",3,"click"],["class","follow-button","mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"follow-button",3,"click"],[1,"follows-you"],["class","dimmed lightning-link hoverable","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"dimmed","lightning-link","hoverable",3,"href"],[1,"profile-labels",3,"mtxTooltip","mtxTooltipPosition","click"],[1,"profile-icon-custom"],["class","dimmed lightning-link hoverable",3,"href",4,"ngIf"],[1,"dimmed","lightning-link","hoverable",3,"href"],[1,"qr-code-container"],["class","qr-code",3,"src",4,"ngIf"],[1,"qr-code",3,"src"],[1,"wrap","linebreaks"],[1,"following-counts"],[1,"following-link",3,"routerLink"],[1,"dimmed"]],template:function(t,e){1&t&&(ee(0,ole,52,19,"div",0),gi(1,"async")),2&t&&S("ngIf",yi(1,1,e.ui.profile$))},dependencies:[ri,wa,dr,Zn,_m,ed,ps,bse,vm,Ts],styles:[".profile-icon[_ngcontent-%COMP%], .profile-icon-custom[_ngcontent-%COMP%]{text-align:center}.profile-icon-custom[_ngcontent-%COMP%]{font-size:16px}.lightning-link[_ngcontent-%COMP%], .lightning-link[_ngcontent-%COMP%]:hover{text-decoration:none}.profile-name[_ngcontent-%COMP%]{margin-top:0;margin-bottom:.2em}.profile-labels[_ngcontent-%COMP%]{display:flex;width:auto;gap:.4em;justify-content:center}.profile-labels-left[_ngcontent-%COMP%]{flex:0 1 auto;width:24px}.profile-labels-middle[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.hoverable[_ngcontent-%COMP%]:hover{cursor:pointer;opacity:.6}.following-counts[_ngcontent-%COMP%]{margin-bottom:.4em}.following-link[_ngcontent-%COMP%]{text-decoration:none}.following-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.action-button[_ngcontent-%COMP%]{margin-top:0!important;margin-right:0!important}.qr-code[_ngcontent-%COMP%]{width:100%;height:100%}.profile-banner[_ngcontent-%COMP%]{min-height:240px;background-repeat:no-repeat;background-position:center;background-size:cover}@media only screen and (max-width: 599px){.current-event[_ngcontent-%COMP%]{margin-bottom:0}}.follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#0003;border-radius:10px;display:inline-block}.dark[_ngcontent-%COMP%] .follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#fff6;border-radius:10px;display:inline-block}.follow-button[_ngcontent-%COMP%]{border-radius:16px;margin-top:.24em;margin-right:.5em}"]});var iw=new WeakMap;class y0{get profile$(){return Pe(this,iw).asObservable()}constructor(t,e,n,r,a,o,c,u,m,x,P){sn(this,iw,{writable:!0,value:void 0}),this.navigation=t,this.ui=e,this.appState=n,this.validator=r,this.utilities=a,this.router=o,this.profiles=c,this.sanitizer=u,this.profileService=m,this.dataService=x,this.activatedRoute=P,this.imagePath="",this.profileName="",this.subscriptions=[],ti(this,iw,new Hi(this.profile))}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Edit Profile"),t.originalProfile={name:"",pubkey:t.appState.getPublicKey()},t.subscriptions.push(t.profileService.profile$.subscribe(e=>{e||(e=t.profileService.emptyProfile(t.appState.getPublicKey())),console.log("PROFILE SERVICE:",e),t.originalProfile=e,t.originalProfile&&t.cloneProfile()}))})()}cloneProfile(){const t=structuredClone(this.originalProfile);this.profile=t,Pe(this,iw).next(this.profile),this.ui.setProfile(this.profile)}cancelEdit(){this.cloneProfile()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}sanitize(t){return this.sanitizer.bypassSecurityTrustUrl(t)}updateMetadata(){var t=this;return Ee(function*(){yield t.dataService.updateMetadata(t.profile),t.appState.navigateBack()})()}}y0.\u0275fac=function(t){return new(t||y0)(k(yo),k(Zr),k(Xi),k(ts),k(Qi),k(qn),k(Tn),k(Tf),k(Tn),k(Ba),k(us))},y0.\u0275cmp=qe({type:y0,selectors:[["app-profile"]],decls:11,vars:1,consts:[["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"page"],[4,"ngIf"],["align","end"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","LNURL...",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","user@domain",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(_(0,"div",0),fe("scrollAction",function(){return e.navigation.showMore()}),Ce(1,"app-profile-header"),_(2,"div",1)(3,"mat-card"),ee(4,sle,67,12,"mat-card-content",2),_(5,"mat-card-footer",3)(6,"button",4),fe("click",function(){return e.cancelEdit()}),L(7,"Cancel"),v(),L(8,"\xa0 "),_(9,"button",5),fe("click",function(){return e.updateMetadata()}),L(10,"Save"),v()()()()()),2&t&&(E(4),S("ngIf",e.profile))},dependencies:[ri,Do,Ra,eo,Kc,dr,Pa,sc,tO,Zn,ka,ha,Da,ym,tu,el],encapsulation:2});class Qn{constructor(t,e,n){this.appState=t,this.authService=e,this.router=n}canActivate(){return!!this.authService.authInfo$.getValue().authenticated()||this.authService.getAuthInfo().then(t=>!!t.authenticated()||(this.router.navigateByUrl("/connect"),!1))}}Qn.\u0275fac=function(t){return new(t||Qn)(Fe(Xi),Fe(Na),Fe(qn))},Qn.\u0275prov=Ke({token:Qn,factory:Qn.\u0275fac});const lle=["switch"],cle=["*"],dle=new Ze("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),ule={provide:Ca,useExisting:hi(()=>v0),multi:!0};class OO{constructor(t,e){this.source=t,this.checked=e}}let hle=0;const mle=Pc(tc(Cl(ec(class{constructor(i){this._elementRef=i}}))));let fle=(()=>{class i extends mle{get required(){return this._required}set required(e){this._required=Ct(e)}get checked(){return this._checked}set checked(e){this._checked=Ct(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,n,r,a,o,c,u){super(e),this._focusMonitor=n,this._changeDetectorRef=r,this.defaults=o,this._onChange=m=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new lt,this.toggleChange=new lt,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===c,this.id=this._uniqueId=`${u}${++hle}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return i.\u0275fac=function(e){Gl()},i.\u0275dir=Oe({type:i,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[st]}),i})(),v0=(()=>{class i extends fle{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new OO(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(e){return new OO(this,e)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Ka),k(oi),fo("tabindex"),k(dle),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(e,n){if(1&e&&At(lle,5),2&e){let r;Qe(r=Xe())&&(n._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(e,n){2&e&&(Ua("id",n.id),Lt("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Mt("mat-mdc-slide-toggle-focused",n._focused)("mat-mdc-slide-toggle-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Nt([ule]),st],ngContentSelectors:cle,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(e,n){if(1&e&&(Pi(),_(0,"div",0)(1,"button",1,2),fe("click",function(){return n._handleClick()}),Ce(3,"div",3),_(4,"div",4)(5,"div",5)(6,"div",6),Ce(7,"div",7),v(),_(8,"div",8),Ce(9,"div",9),v(),_(10,"div",10),mo(),_(11,"svg",11),Ce(12,"path",12),v(),_(13,"svg",13),Ce(14,"path",14),v()()()()(),pl(),_(15,"label",15),fe("click",function(a){return a.stopPropagation()}),vt(16),v()()),2&e){const r=Li(2);Mt("mdc-form-field--align-end","before"==n.labelPosition),E(1),Mt("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),S("tabIndex",n.tabIndex)("disabled",n.disabled),Lt("id",n.buttonId)("name",n.name)("aria-label",n.ariaLabel)("aria-labelledby",n._getAriaLabelledBy())("aria-describedby",n.ariaDescribedby)("aria-required",n.required||null)("aria-checked",n.checked),E(8),S("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),E(6),S("for",n.buttonId),Lt("id",n._labelId)}},dependencies:[da],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),i})(),RO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),_le=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[RO,Jt,qs,Dr,RO,Jt]}),i})();class Tp{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.url="",this.dialogRef.close()}}Tp.\u0275fac=function(t){return new(t||Tp)(k(hs),k(Ks))},Tp.\u0275cmp=qe({type:Tp,selectors:[["add-relay-dialog"]],decls:20,vars:4,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),L(2,"Add a relay"),v(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),L(6,"dns"),v(),_(7,"mat-label"),L(8,"URL"),v(),_(9,"input",5),fe("ngModelChange",function(r){return e.data.url=r}),v()(),_(10,"mat-slide-toggle",6),fe("ngModelChange",function(r){return e.data.read=r}),L(11,"Read"),v(),L(12,"\xa0 "),_(13,"mat-slide-toggle",6),fe("ngModelChange",function(r){return e.data.write=r}),L(14,"Write"),v()(),_(15,"div",7)(16,"button",8),fe("click",function(){return e.onNoClick()}),L(17,"Cancel"),v(),_(18,"button",9),L(19,"Add"),v()()()),2&t&&(E(9),S("ngModel",e.data.url),E(1),S("ngModel",e.data.read),E(3),S("ngModel",e.data.write),E(5),S("mat-dialog-close",e.data))},dependencies:[Do,Ra,eo,Kc,dr,Zn,v0,ka,ha,Da,qh,$h,Dl,Yc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const ble=["trigger"],yle=["panel"];function vle(i,t){if(1&i&&(_(0,"span",10),L(1),v()),2&i){const e=Z();E(1),yt(e.placeholder)}}function wle(i,t){if(1&i&&(_(0,"span",14),L(1),v()),2&i){const e=Z(2);E(1),yt(e.triggerValue)}}function Fle(i,t){1&i&&vt(0,0,["*ngSwitchCase","true"])}function xle(i,t){1&i&&(_(0,"span",11),ee(1,wle,2,1,"span",12),ee(2,Fle,1,0,"ng-content",13),v()),2&i&&(S("ngSwitch",!!Z().customTrigger),E(2),S("ngSwitchCase",!0))}function Cle(i,t){if(1&i){const e=Je();mo(),pl(),_(0,"div",15,16),fe("@transformPanel.done",function(r){return Te(e),Ae(Z()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Te(e),Ae(Z()._handleKeydown(r))}),vt(2,1),v()}if(2&i){const e=Z();mb("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),S("ngClass",e.panelClass)("@transformPanel","showing"),Lt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const kle=[[["mat-select-trigger"]],"*"],Dle=["mat-select-trigger","*"],Mle={transformPanelWrap:Za("transformPanelWrap",[lr("* => void",Od("@transformPanel",[Xg()],{optional:!0}))]),transformPanel:Za("transformPanel",[gr("void",fi({opacity:0,transform:"scale(1, 0.8)"})),lr("void => showing",sr("120ms cubic-bezier(0, 0, 0.2, 1)",fi({opacity:1,transform:"scale(1, 1)"}))),lr("* => void",sr("100ms linear",fi({opacity:0})))])};let PO=0;const BO=new Ze("mat-select-scroll-strategy"),Sle=new Ze("MAT_SELECT_CONFIG"),Tle={provide:BO,deps:[va],useFactory:function Ele(i){return()=>i.scrollStrategies.reposition()}},Ale=new Ze("MatSelectTrigger");class Ile{constructor(t,e){this.source=t,this.value=e}}const Lle=Cl(Pc(ec(LC(class{constructor(i,t,e,n,r){this._elementRef=i,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r,this.stateChanges=new He}}))));let Nle=(()=>{class i extends Lle{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(Po.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ct(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=vr(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye){super(o,a,u,m,P),this._viewportRuler=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=c,this._parentFormField=x,this._liveAnnouncer=pe,this._defaultOptions=ye,this._panelOpen=!1,this._compareWith=(Ie,Le)=>Ie===Le,this._uid="mat-select-"+PO++,this._triggerAriaLabelledBy=null,this._destroy=new He,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+PO++,this._panelDoneAnimatingStream=new He,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=Rc(()=>{const Ie=this.options;return Ie?Ie.changes.pipe(Ur(Ie),na(()=>Bn(...Ie.map(Le=>Le.onSelectionChange)))):this._ngZone.onStable.pipe(rn(1),na(()=>this.optionSelectionChanges))}),this.openedChange=new lt,this._openedStream=this.openedChange.pipe(qi(Ie=>Ie),_t(()=>{})),this._closedStream=this.openedChange.pipe(qi(Ie=>!Ie),_t(()=>{})),this.selectionChange=new lt,this.valueChange=new lt,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ye?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ye.typeaheadDebounceInterval),this._scrollStrategyFactory=ne,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(K)||0,this.id=this.id}ngOnInit(){this._selectionModel=new qv(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(jg(),ai(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ai(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Ur(null),ai(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),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(n=>n.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 n=e.keyCode,r=40===n||38===n||37===n||39===n,a=13===n||32===n,o=this._keyManager;if(!o.isTyping()&&a&&!ya(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;o.onKeydown(e);const u=this.selected;u&&c!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(e){const n=this._keyManager,r=e.keyCode,a=40===r||38===r,o=n.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(o||13!==r&&32!==r||!n.activeItem||ya(e))if(!o&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(c?u.select():u.deselect())})}else{const c=n.activeItemIndex;n.onKeydown(e),this._multiple&&a&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.activeItem._selectViaInteraction()}else e.preventDefault(),n.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(rn(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.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new RI(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.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=Bn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ai(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Bn(...this.options.map(n=>n._stateChanges)).pipe(ai(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let n=null;n=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),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 n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_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 i.\u0275fac=function(e){return new(e||i)(k(Fl),k(oi),k(Rt),k(Yf),k(pt),k(Rr,8),k($c,8),k(Gd,8),k(dm,8),k(oc,10),fo("tabindex"),k(BO),k(vC),k(Sle,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(At(ble,5),At(yle,5),At(a6,5)),2&e){let r;Qe(r=Xe())&&(n.trigger=r.first),Qe(r=Xe())&&(n.panel=r.first),Qe(r=Xe())&&(n._overlayDir=r.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:[st,Jn]}),i})(),w0=(()=>{class i extends Nle{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ai(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const n=this.options.toArray()[e];if(n){const r=this.panel.nativeElement,a=v6(e,this.options,this.optionGroups),o=n._getHostElement();r.scrollTop=0===e&&1===a?0:w6(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Ile(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof MC?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-select"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,Ale,5),ui(r,Du,5),ui(r,RC,5)),2&e){let a;Qe(a=Xe())&&(n.customTrigger=a.first),Qe(a=Xe())&&(n.options=a),Qe(a=Xe())&&(n.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,n){1&e&&fe("keydown",function(a){return n._handleKeydown(a)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&e&&(Lt("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),Mt("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Nt([{provide:pp,useExisting:i},{provide:OC,useExisting:i}]),st],ngContentSelectors:Dle,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,n){if(1&e&&(Pi(kle),_(0,"div",0,1),fe("click",function(){return n.toggle()}),_(3,"div",2),ee(4,vle,2,1,"span",3),ee(5,xle,3,2,"span",4),v(),_(6,"div",5)(7,"div",6),mo(),_(8,"svg",7),Ce(9,"path",8),v()()()(),ee(10,Cle,3,9,"ng-template",9),fe("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&e){const r=Li(1);Lt("aria-owns",n.panelOpen?n.id+"-panel":null),E(3),S("ngSwitch",n.empty),Lt("id",n._valueId),E(1),S("ngSwitchCase",!0),E(1),S("ngSwitchCase",!1),E(5),S("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[qa,Fu,Mf,zA,a6,MC],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Mle.transformPanel]},changeDetection:0}),i})(),HO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Tle],imports:[Dr,Oc,ny,Jt,Nc,HD,ny,Jt]}),i})();function Ole(i,t){}const Rle=function(i){return{animationDuration:i}},Ple=function(i,t){return{value:i,params:t}};function Ble(i,t){1&i&&vt(0)}const F0=["*"],VO=["tabListContainer"],YO=["tabList"],jO=["tabListInner"],zO=["nextPaginator"],UO=["previousPaginator"],Hle=["tabBodyWrapper"],Vle=["tabHeader"];function Yle(i,t){}function jle(i,t){1&i&&ee(0,Yle,0,0,"ng-template",14),2&i&&S("cdkPortalOutlet",Z().$implicit.templateLabel)}function zle(i,t){1&i&&L(0),2&i&&yt(Z().$implicit.textLabel)}function Ule(i,t){if(1&i){const e=Je();_(0,"div",6,7),fe("click",function(){const r=Te(e),a=r.$implicit,o=r.index,c=Z(),u=Li(1);return Ae(c._handleClick(a,u,o))})("cdkFocusChange",function(r){const o=Te(e).index;return Ae(Z()._tabFocusChanged(r,o))}),Ce(2,"span",8)(3,"div",9),_(4,"span",10)(5,"span",11),ee(6,jle,1,1,"ng-template",12),ee(7,zle,1,1,"ng-template",null,13,ko),v()()()}if(2&i){const e=t.$implicit,n=t.index,r=Li(1),a=Li(8),o=Z();Mt("mdc-tab--active",o.selectedIndex===n),S("id",o._getTabLabelId(n))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),Lt("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),E(3),S("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),E(3),S("ngIf",e.templateLabel)("ngIfElse",a)}}function Wle(i,t){if(1&i){const e=Je();_(0,"mat-tab-body",15),fe("_onCentered",function(){return Te(e),Ae(Z()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Te(e),Ae(Z()._setTabBodyWrapperHeight(r))}),v()}if(2&i){const e=t.$implicit,n=t.index,r=Z();Mt("mat-mdc-tab-body-active",r.selectedIndex===n),S("id",r._getTabContentId(n))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Lt("tabindex",null!=r.contentTabIndex&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(n))}}const Gle=["mat-tab-nav-bar",""],qle=["mat-tab-link",""],$le={translateTab:Za("translateTab",[gr("center, void, left-origin-center, right-origin-center",fi({transform:"none"})),gr("left",fi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),gr("right",fi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),lr("* => left, * => right, left => center, right => center",sr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),lr("void => left-origin-center",[fi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),sr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),lr("void => right-origin-center",[fi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),sr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Kle=(()=>{class i extends Jl{constructor(e,n,r,a){super(e,n,a),this._host=r,this._centeringSub=C.EMPTY,this._leavingSub=C.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ur(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 i.\u0275fac=function(e){return new(e||i)(k(pd),k(kr),k(hi(()=>WO)),k(xi))},i.\u0275dir=Oe({type:i,selectors:[["","matTabBodyHost",""]],features:[st]}),i})(),Zle=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,n,r){this._elementRef=e,this._dir=n,this._dirChangeSubscription=C.EMPTY,this._translateTabComplete=new He,this._onCentering=new lt,this._beforeCentering=new lt,this._afterLeavingCenter=new lt,this._onCentered=new lt(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(a=>{this._computePositionAnimationState(a),r.markForCheck()})),this._translateTabComplete.pipe(jg((a,o)=>a.fromState===o.fromState&&a.toState===o.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&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 n=this._getLayoutDirection();return"ltr"==n&&e<=0||"rtl"==n&&e>0?"left-origin-center":"right-origin-center"}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rr,8),k(oi))},i.\u0275dir=Oe({type:i,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),i})(),WO=(()=>{class i extends Zle{constructor(e,n,r){super(e,n,r)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rr,8),k(oi))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-body"]],viewQuery:function(e,n){if(1&e&&At(Jl,5),2&e){let r;Qe(r=Xe())&&(n._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[st],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,n){1&e&&(_(0,"div",0,1),fe("@translateTab.start",function(a){return n._onTranslateTabStarted(a)})("@translateTab.done",function(a){return n._translateTabComplete.next(a)}),ee(2,Ole,0,0,"ng-template",2),v()),2&e&&S("@translateTab",Ws(3,Ple,n._position,wn(1,Rle,n.animationDuration)))},dependencies:[Kle],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[$le.translateTab]}}),i})();const Qle=new Ze("MatTabContent");let iM=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(k(yr))},i.\u0275dir=Oe({type:i,selectors:[["","matTabContent",""]],features:[Nt([{provide:Qle,useExisting:i}])]}),i})();const Xle=new Ze("MatTabLabel"),GO=new Ze("MAT_TAB");let nM=(()=>{class i extends r${constructor(e,n,r){super(e,n),this._closestTab=r}}return i.\u0275fac=function(e){return new(e||i)(k(yr),k(kr),k(GO,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Nt([{provide:Xle,useExisting:i}]),st]}),i})();const rM="mdc-tab-indicator--active",qO="mdc-tab-indicator--no-transition";class $O{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),n=this._currentItem;if(n?.deactivateInkBar(),e){const r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function KO(i){return class extends i{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=Ct(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(rM);const n=e.getBoundingClientRect(),r=t.width/n.width,a=t.left-n.left;e.classList.add(qO),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(qO),e.classList.add(rM),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(rM)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const ece=ec(class{}),tce=KO((()=>{class i extends ece{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,features:[st]}),i})());let ZO=(()=>{class i extends tce{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,n){2&e&&(Lt("aria-disabled",!!n.disabled),Mt("mat-mdc-tab-disabled",n.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[st]}),i})();const ice=ec(class{}),QO=new Ze("MAT_TAB_GROUP");let nce=(()=>{class i extends ice{get content(){return this._contentPortal}constructor(e,n){super(),this._viewContainerRef=e,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new He,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ad(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(QO,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&At(yr,7),2&e){let r;Qe(r=Xe())&&(n._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[st,Jn]}),i})(),x0=(()=>{class i extends nce{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-tab"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,iM,7,yr),ui(r,nM,5)),2&e){let a;Qe(a=Xe())&&(n._explicitContent=a.first),Qe(a=Xe())&&(n.templateLabel=a.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Nt([{provide:GO,useExisting:i}]),st],ngContentSelectors:F0,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),ee(0,Ble,1,0,"ng-template"))},encapsulation:2}),i})();const XO=Dd({passive:!0});let eR=(()=>{class i{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=vr(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,n,r,a,o,c,u){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=c,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new He,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new He,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new lt,this.indexFocused=new lt,o.runOutsideAngular(()=>{As(e.nativeElement,"mouseleave").pipe(ai(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){As(this._previousPaginator.nativeElement,"touchstart",XO).pipe(ai(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),As(this._nextPaginator.nativeElement,"touchstart",XO).pipe(ai(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Ht("ltr"),n=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ug(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(rn(1)).subscribe(r),Bn(e,n,this._items.changes,this._itemsResized()).pipe(ai(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return"function"!=typeof ResizeObserver?dn:this._items.changes.pipe(Ur(this._items),na(e=>new ht(n=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(a=>n.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),hC(1),qi(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!ya(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(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){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}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 n=this._items?this._items.toArray()[e]:null;if(!n)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=n.elementRef.nativeElement;let c,u;"ltr"==this._getLayoutDirection()?(c=a,u=c+o):(u=this._tabListInner.nativeElement.offsetWidth-a,c=u-o);const m=this.scrollDistance,x=this.scrollDistance+r;cx&&(this.scrollDistance+=u-x+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,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),Gg(650,100).pipe(ai(Bn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(0===a||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Fl),k(Rr,8),k(Rt),k(Hn),k(Nn,8))},i.\u0275dir=Oe({type:i,inputs:{disablePagination:"disablePagination"}}),i})(),oce=(()=>{class i extends eR{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}constructor(e,n,r,a,o,c,u){super(e,n,r,a,o,c,u),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Fl),k(Rr,8),k(Rt),k(Hn),k(Nn,8))},i.\u0275dir=Oe({type:i,inputs:{disableRipple:"disableRipple"},features:[st]}),i})(),sce=(()=>{class i extends oce{constructor(e,n,r,a,o,c,u){super(e,n,r,a,o,c,u)}ngAfterContentInit(){this._inkBar=new $O(this._items),super.ngAfterContentInit()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(Fl),k(Rr,8),k(Rt),k(Hn),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-header"]],contentQueries:function(e,n,r){if(1&e&&ui(r,ZO,4),2&e){let a;Qe(a=Xe())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(At(VO,7),At(YO,7),At(jO,7),At(zO,5),At(UO,5)),2&e){let r;Qe(r=Xe())&&(n._tabListContainer=r.first),Qe(r=Xe())&&(n._tabList=r.first),Qe(r=Xe())&&(n._tabListInner=r.first),Qe(r=Xe())&&(n._nextPaginator=r.first),Qe(r=Xe())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[st],ngContentSelectors:F0,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Pi(),_(0,"button",0,1),fe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),Ce(2,"div",2),v(),_(3,"div",3,4),fe("keydown",function(a){return n._handleKeydown(a)}),_(5,"div",5,6),fe("cdkObserveContent",function(){return n._onContentChanges()}),_(7,"div",7,8),vt(9),v()()(),_(10,"button",9,10),fe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Ce(12,"div",2),v()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),S("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),E(3),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),E(7),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),S("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[da,Nf],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-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-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),i})();const aM=new Ze("MAT_TABS_CONFIG");let lce=0;const cce=tc(Cl(class{constructor(i){this._elementRef=i}}),"primary");let dce=(()=>{class i extends cce{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=vr(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=vr(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ct(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,n,r,a){super(e),this._changeDetectorRef=n,this._animationMode=a,this._tabs=new Ec,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=C.EMPTY,this._tabLabelSubscription=C.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new lt,this.focusChange=new lt,this.animationDone=new lt,this.selectedTabChange=new lt(!0),this._groupId=lce++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,r)=>{n.position=r-e,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.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 n=this._tabs.toArray();let r;for(let a=0;a{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ur(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._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 n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const n=new uce;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Bn(...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 n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,n,r){n.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,n){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=n)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(aM,8),k(Nn,8))},i.\u0275dir=Oe({type:i,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:[st]}),i})(),nw=(()=>{class i extends dce{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ct(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ct(e)}constructor(e,n,r,a){super(e,n,r,a),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oi),k(aM,8),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-group"]],contentQueries:function(e,n,r){if(1&e&&ui(r,x0,5),2&e){let a;Qe(a=Xe())&&(n._allTabs=a)}},viewQuery:function(e,n){if(1&e&&(At(Hle,5),At(Vle,5)),2&e){let r;Qe(r=Xe())&&(n._tabBodyWrapper=r.first),Qe(r=Xe())&&(n._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-group-dynamic-height",n.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===n.headerPosition)("mat-mdc-tab-group-stretch-tabs",n.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Nt([{provide:QO,useExisting:i}]),st],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,n){1&e&&(_(0,"mat-tab-header",0,1),fe("indexFocused",function(a){return n._focusChanged(a)})("selectFocusedIndex",function(a){return n.selectedIndex=a}),ee(2,Ule,9,17,"div",2),v(),_(3,"div",3,4),ee(5,Wle,1,11,"mat-tab-body",5),v()),2&e&&(S("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),E(2),S("ngForOf",n._tabs),E(1),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),E(2),S("ngForOf",n._tabs))},dependencies:[qa,yn,ri,Jl,da,Dq,WO,ZO,sce],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),i})();class uce{}let tR=0,iR=(()=>{class i extends eR{get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}constructor(e,n,r,a,o,c,u){super(e,a,o,n,r,c,u),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Ur(null),ai(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let n=0;n{class i extends hce{get active(){return this._isActive}set active(e){const n=Ct(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=o,this._isActive=!1,this.id="mat-tab-link-"+tR++,this.rippleConfig=r||{},this.tabIndex=parseInt(a)||0,"NoopAnimations"===c&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&32===e.keyCode&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return i.\u0275fac=function(e){return new(e||i)(k(iR),k(pt),k(Ld,8),fo("tabindex"),k(Ka),k(Nn,8))},i.\u0275dir=Oe({type:i,inputs:{active:"active",id:"id"},features:[st]}),i})());let oM=(()=>{class i extends iR{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(Ct(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ct(e)}constructor(e,n,r,a,o,c,u,m){super(e,n,r,a,o,c,u),this._fitInkBarToContent=new Hi(!1),this._stretchTabs=!0,this.disablePagination=!(!m||null==m.disablePagination)&&m.disablePagination,this.fitInkBarToContent=!(!m||null==m.fitInkBarToContent)&&m.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new $O(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rr,8),k(Rt),k(oi),k(Fl),k(Hn),k(Nn,8),k(aM,8))},i.\u0275cmp=qe({type:i,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,n,r){if(1&e&&ui(r,sM,5),2&e){let a;Qe(a=Xe())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(At(VO,7),At(YO,7),At(jO,7),At(zO,5),At(UO,5)),2&e){let r;Qe(r=Xe())&&(n._tabListContainer=r.first),Qe(r=Xe())&&(n._tabList=r.first),Qe(r=Xe())&&(n._tabListInner=r.first),Qe(r=Xe())&&(n._nextPaginator=r.first),Qe(r=Xe())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(e,n){2&e&&(Lt("role",n._getRole()),Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",n.stretchTabs)("mat-primary","warn"!==n.color&&"accent"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[st],attrs:Gle,ngContentSelectors:F0,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Pi(),_(0,"button",0,1),fe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),Ce(2,"div",2),v(),_(3,"div",3,4),fe("keydown",function(a){return n._handleKeydown(a)}),_(5,"div",5,6),fe("cdkObserveContent",function(){return n._onContentChanges()}),_(7,"div",7,8),vt(9),v()()(),_(10,"button",9,10),fe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Ce(12,"div",2),v()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),S("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),E(10),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),S("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[da,Nf],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-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-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),i})(),sM=(()=>{class i extends mce{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._destroyed=new He,e._fitInkBarToContent.pipe(ai(this._destroyed)).subscribe(u=>{this.fitInkBarToContent=u})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return i.\u0275fac=function(e){return new(e||i)(k(oM),k(pt),k(Ld,8),fo("tabindex"),k(Ka),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(e,n){1&e&&fe("focus",function(){return n._handleFocus()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Lt("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),Mt("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[st],attrs:qle,ngContentSelectors:F0,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(e,n){1&e&&(Pi(),Ce(0,"span",0)(1,"div",1),_(2,"span",2)(3,"span",3),vt(4),v()()),2&e&&(E(1),S("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[da],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),i})(),nR=(()=>{class i{constructor(){this.id="mat-tab-nav-panel-"+tR++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(e,n){2&e&&Lt("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:F0,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},encapsulation:2,changeDetection:0}),i})(),fce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Jt,xl,qs,zg,Bf,Jt]}),i})();class pce{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let gce=(()=>{class i{constructor(e){this._document=e}copy(e){const n=this.beginCopy(e),r=n.copy();return n.destroy(),r}beginCopy(e){return new pce(e,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const _ce=new Ze("CDK_COPY_TO_CLIPBOARD_CONFIG");let rR=(()=>{class i{constructor(e,n,r){this._clipboard=e,this._ngZone=n,this.text="",this.attempts=1,this.copied=new lt,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let n=e;const r=this._clipboard.beginCopy(this.text);this._pending.add(r);const a=()=>{const o=r.copy();o||!--n||this._destroyed?(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(o)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return i.\u0275fac=function(e){return new(e||i)(k(gce),k(Rt),k(_ce,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){1&e&&fe("click",function(){return n.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),i})(),bce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function yce(i,t){1&i&&(_(0,"span"),L(1,"\xa0Options"),v())}function vce(i,t){if(1&i&&(_(0,"mat-icon",3),L(1,"settings_applications"),v(),ee(2,yce,2,0,"span",4),gi(3,"async")),2&i){const e=Z();E(2),S("ngIf",!1===yi(3,1,e.appState.displayLabels$))}}function wce(i,t){if(1&i&&(_(0,"mat-option",10),L(1),gi(2,"translate"),v()),2&i){const e=t.$implicit;S("value",e),E(1),qt(" ",yi(2,2,e),"")}}function Fce(i,t){if(1&i){const e=Je();_(0,"div",5)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),L(4),gi(5,"translate"),v(),_(6,"mat-card-subtitle"),L(7),gi(8,"translate"),v()(),_(9,"mat-card-content"),Ce(10,"br"),_(11,"mat-form-field",6)(12,"mat-label"),L(13),gi(14,"translate"),v(),_(15,"mat-select",7),fe("selectionChange",function(r){return Te(e),Ae(Z().onLanguageChanged(r))})("valueChange",function(r){return Te(e),Ae(Z().optionsService.values.language=r)}),ee(16,wce,3,4,"mat-option",8),v()(),_(17,"mat-form-field",6)(18,"mat-label"),L(19),gi(20,"translate"),v(),_(21,"mat-select",9),fe("selectionChange",function(){Te(e);const r=Z();return Ae(r.theme.darkMode=!r.theme.darkMode)}),_(22,"mat-option",10),L(23),gi(24,"translate"),v(),_(25,"mat-option",10),L(26),gi(27,"translate"),v()()()()(),Ce(28,"br"),_(29,"mat-card")(30,"mat-card-header")(31,"mat-card-title"),L(32,"Media Upload Service"),v(),_(33,"mat-card-subtitle"),L(34,"Choose which service to use for uploading photos and films"),v()(),_(35,"mat-card-content")(36,"mat-form-field",6)(37,"mat-select",11),fe("valueChange",function(r){return Te(e),Ae(Z().optionsService.values.mediaService=r)}),_(38,"mat-option",10),L(39,"void.cat"),v(),_(40,"mat-option",10),L(41,"nostr.build"),v()()()()(),Ce(42,"br"),_(43,"mat-card")(44,"mat-card-header")(45,"mat-card-title"),L(46,"Reactions"),v(),_(47,"mat-card-subtitle"),L(48,"Control if likes should be loaded and displayed"),v()(),_(49,"mat-card-content")(50,"p"),L(51,"Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download."),v(),_(52,"mat-slide-toggle",12),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.enableReactions=r)}),L(53,"Enable Reactions"),v()()(),Ce(54,"br"),_(55,"mat-card")(56,"mat-card-header")(57,"mat-card-title"),L(58,"Zapping"),v(),_(59,"mat-card-subtitle"),L(60,"Control if zapping features should be enabled"),v()(),_(61,"mat-card-content")(62,"mat-slide-toggle",12),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.enableZapping=r)}),L(63,"Enable Zapping"),v()()(),Ce(64,"br"),_(65,"mat-card")(66,"mat-card-header")(67,"mat-card-title"),L(68,"Media widgets"),v(),_(69,"mat-card-subtitle"),L(70,"Control how content are rendered"),v()(),_(71,"mat-card-content")(72,"p"),L(73,"Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes."),v(),_(74,"mat-slide-toggle",12),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.enableSpotify=r)}),L(75,"Enable Spotify"),v(),_(76,"mat-slide-toggle",12),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.enableTidal=r)}),L(77,"Enable Tidal"),v(),_(78,"p")(79,"button",13),fe("click",function(){return Te(e),Ae(Z().openMediaPlayer())}),L(80,"Open Media Player"),v()()()(),Ce(81,"br"),_(82,"mat-card")(83,"mat-card-content")(84,"button",14),fe("click",function(){return Te(e),Ae(Z().registerHandler("web+nostr","nostr"))}),L(85,"Register Protocol Handler"),v(),Ce(86,"br")(87,"br"),_(88,"div",15),L(89,"Click the button to make Blockcore Notes handle links on websites for npub, nevent and nprofile."),v()()()()}if(2&i){const e=Z();E(4),yt(yi(5,18,"Settings.OptionsTitle")),E(3),yt(yi(8,20,"Settings.OptionsDescription")),E(6),yt(yi(14,22,"Settings.DisplayLanguage")),E(2),S("value",e.optionsService.values.language),E(1),S("ngForOf",e.translate.getLangs()),E(3),yt(yi(20,24,"Settings.ChooseMode")),E(2),S("value",e.theme.darkMode),E(1),S("value",!0),E(1),yt(yi(24,26,"Settings.Dark")),E(2),S("value",!1),E(1),yt(yi(27,28,"Settings.Light")),E(11),S("value",e.optionsService.values.mediaService),E(1),S("value","void.cat"),E(2),S("value","nostr.build"),E(12),S("ngModel",e.optionsService.values.enableReactions),E(10),S("ngModel",e.optionsService.values.enableZapping),E(12),S("ngModel",e.optionsService.values.enableSpotify),E(2),S("ngModel",e.optionsService.values.enableTidal)}}function xce(i,t){1&i&&(_(0,"span"),L(1,"\xa0Data"),v())}function Cce(i,t){if(1&i&&(_(0,"mat-icon",3),L(1,"inventory_2"),v(),ee(2,xce,2,0,"span",4),gi(3,"async")),2&i){const e=Z();E(2),S("ngIf",!1===yi(3,1,e.appState.displayLabels$))}}function kce(i,t){if(1&i&&(_(0,"div",20),Ce(1,"br"),L(2,"Private key: "),_(3,"p"),L(4),_(5,"button",21)(6,"mat-icon"),L(7,"content_copy"),v()()(),_(8,"p"),Ce(9,"img",22),v()()),2&i){const e=Z(3);E(4),qt(" ",e.privateKey,""),E(1),S("cdkCopyToClipboard",e.privateKey),E(4),S("src",e.qrCodePrivateKey,on)}}function Dce(i,t){1&i&&(_(0,"div"),L(1,"Invalid Password"),v())}function Mce(i,t){if(1&i){const e=Je();_(0,"button",23),fe("click",function(){return Te(e),Ae(Z(3).resetPrivateKey())}),L(1,"Hide"),v()}}function Ece(i,t){if(1&i){const e=Je();_(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),L(3,"Export Private Key"),v(),_(4,"mat-card-subtitle"),L(5,"Keep this private key safe, if you loose it or share it with websites, it can be stolen and misused."),v()(),_(6,"mat-card-content")(7,"button",17),fe("click",function(){return Te(e),Ae(Z(2).exportPrivateKey())}),L(8,"Export Private Key"),v(),ee(9,kce,10,3,"div",18),ee(10,Dce,2,0,"div",4),ee(11,Mce,2,0,"button",19),v()()}if(2&i){const e=Z(2);E(9),S("ngIf",!0===e.verifiedWalletPassword),E(1),S("ngIf",!1===e.verifiedWalletPassword),E(1),S("ngIf",!0===e.verifiedWalletPassword)}}function Sce(i,t){1&i&&(_(0,"p"),L(1,"All local data cache was cleared."),v())}function Tce(i,t){if(1&i){const e=Je();_(0,"div",5),ee(1,Ece,12,3,"mat-card",4),Ce(2,"br"),_(3,"p")(4,"button",16),fe("click",function(){return Te(e),Ae(Z().db.clearAndReload())}),L(5,"Wipe Local Database"),v()(),ee(6,Sce,2,0,"p",4),v()}if(2&i){const e=Z();E(1),S("ngIf",e.hasPrivateKey),E(5),S("ngIf",e.wiped)}}class C0{constructor(t,e,n,r,a,o,c,u,m,x,P,K,ne){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=u,this.db=m,this.snackBar=x,this.dataService=P,this.security=K,this.translate=ne,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1,this.hasPrivateKey=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Ee(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Ee(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Ee(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Ee(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Ee(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Ee(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Settings"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}],this.hasPrivateKey=null!=localStorage.getItem("blockcore:notes:nostr:prvkey")}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(Tp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}resetPrivateKey(){this.privateKey=void 0,this.qrCodePrivateKey=void 0,this.verifiedWalletPassword=void 0}ngOnDestroy(){this.resetPrivateKey()}onLanguageChanged(t){this.appState.setLanguage(this.optionsService.values.language),["ar","fa","he"].includes(this.optionsService.values.language)?(this.appState.documentDirection="rtl",this.optionsService.values.dir="rtl"):(this.appState.documentDirection="ltr",this.optionsService.values.dir="ltr")}exportPrivateKey(){var t=this;return Ee(function*(){t.dialog.open(gp,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){if(!r)return;let a=localStorage.getItem("blockcore:notes:nostr:prvkey");const o=yield t.security.decryptData(a,r.password);if(!o)return t.verifiedWalletPassword=!1,void t.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"});t.verifiedWalletPassword=!0;const c=xa.nsecEncode(o);t.privateKey=c,t.qrCodePrivateKey=yield Sp.hz("nostr:"+t.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(r){return n.apply(this,arguments)}}())})()}}C0.\u0275fac=function(t){return new(t||C0)(k(Vd),k(Sl),k(Tr),k(Mo),k(Fa),k(Xi),k(Tn),k(Ml),k(ua),k(ms),k(Ba),k(Zc),k(Xf))},C0.\u0275cmp=qe({type:C0,selectors:[["app-settings"]],viewQuery:function(t,e){if(1&t&&At(lc,5),2&t){let n;Qe(n=Xe())&&(e.accordion=n.first)}},decls:8,vars:0,consts:[[1,"full-page"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],[1,"page"],[1,"input-full-width"],[3,"value","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value","selectionChange"],[3,"value"],[3,"value","valueChange"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["mat-button","",3,"click"],["mat-stroked-button","",3,"click"],[1,"dimmed"],["mat-flat-button","","color","warn",3,"click"],["mat-stroked-button","",1,"signup-button",3,"click"],["class","selectable wrap",4,"ngIf"],["class","signup-button","mat-flat-button","","color","warn",3,"click",4,"ngIf"],[1,"selectable","wrap"],["mat-icon-button","",1,"copy-button",3,"cdkCopyToClipboard"],[1,"qr-code",3,"src"],["mat-flat-button","","color","warn",1,"signup-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"mat-tab-group")(2,"mat-tab"),ee(3,vce,4,3,"ng-template",1),ee(4,Fce,90,30,"ng-template",2),v(),_(5,"mat-tab"),ee(6,Cce,4,3,"ng-template",1),ee(7,Tce,7,2,"ng-template",2),v()()())},dependencies:[yn,ri,Ra,eo,dr,bo,w0,Du,Pa,sc,e0,J_,X_,Zn,iM,nM,x0,nw,v0,ha,Da,rR,Ts,jQ],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});var Ace=I(6660),Ice=I(9921);const Lce=["Lightbox"];let Nce=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["photo-gallery-lightbox"]],viewQuery:function(e,n){if(1&e&&At(Lce,7),2&e){let r;Qe(r=Xe())&&(n.element=r.first)}},decls:26,vars:0,consts:[[1,"lightbox-wrapper"],["tabindex","-1","role","dialog","aria-hidden","true",1,"pswp"],["Lightbox",""],[1,"pswp__bg"],[1,"pswp__scroll-wrap"],[1,"pswp__container"],[1,"pswp__item"],[1,"pswp__ui","pswp__ui--hidden"],[1,"pswp__top-bar"],[1,"pswp__counter"],["title","Close (Esc)",1,"pswp__button","pswp__button--close"],["title","Share",1,"pswp__button","pswp__button--share"],["title","Toggle fullscreen",1,"pswp__button","pswp__button--fs"],["title","Zoom in/out",1,"pswp__button","pswp__button--zoom"],[1,"pswp__preloader"],[1,"pswp__preloader__icn"],[1,"pswp__preloader__cut"],[1,"pswp__preloader__donut"],[1,"pswp__share-modal","pswp__share-modal--hidden","pswp__single-tap"],[1,"pswp__share-tooltip"],["title","Previous (arrow left)",1,"pswp__button","pswp__button--arrow--left"],["title","Next (arrow right)",1,"pswp__button","pswp__button--arrow--right"],[1,"pswp__caption"],[1,"pswp__caption__center"]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1,2),Ce(3,"div",3),_(4,"div",4)(5,"div",5),Ce(6,"div",6)(7,"div",6)(8,"div",6),v(),_(9,"div",7)(10,"div",8),Ce(11,"div",9)(12,"button",10)(13,"button",11)(14,"button",12)(15,"button",13),_(16,"div",14)(17,"div",15)(18,"div",16),Ce(19,"div",17),v()()()(),_(20,"div",18),Ce(21,"div",19),v(),Ce(22,"button",20)(23,"button",21),_(24,"div",22),Ce(25,"div",23),v()()()()())},styles:['@charset "UTF-8";.lightbox-wrapper[_ngcontent-%COMP%] {position:relative;z-index:20000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:20000;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp *{box-sizing:border-box}.lightbox-wrapper[_ngcontent-%COMP%] .pswp img{max-width:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--open{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{touch-action:none;position:absolute;inset:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__bg, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__zoom-wrap{transition:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__item{position:absolute;inset:0;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder--blank{background:#333333}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg a{color:#ccc;text-decoration:underline}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:focus, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:hover{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:active{outline:none;opacity:.9}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button::-moz-focus-inner{padding:0;border:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--over-close .pswp__button--close{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background:url(default-skin.png) 0 0 no-repeat;background-size:264px 88px;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(default-skin.svg)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right{background:none}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-44px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--fs{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--supports-fs .pswp__button--fs{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-44px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{display:none;background-position:-88px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__button--zoom{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--right{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{background:none;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left{left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{right:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{content:"";top:35px;background-color:#0000004d;height:30px;width:32px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{-webkit-user-select:none;user-select:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:20100;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--hidden{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip{z-index:20120;position:absolute;background:#FFF;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px #00000040;transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:hover{text-decoration:none;color:#000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__share-tooltip a{padding:16px 12px}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:before{content:"";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid rgba(0,0,0,0);border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover{background:#3E5C9A;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--twitter:hover{background:#55ACEE;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--pinterest:hover{background:#CCC;color:#ce272d}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--download:hover{background:#DDD}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption small{font-size:11px;color:#bbb}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--fake{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader__icn{width:20px;height:20px;margin:12px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active .pswp__preloader__icn{background:url(preloader.gif) 0 0 no-repeat}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:_ngcontent-%COMP%_clockwise .5s linear infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:_ngcontent-%COMP%_donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #FFF;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width: 1024px){.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@keyframes _ngcontent-%COMP%_clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:20050}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{background-color:#00000080}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__caption{background-color:#0000004d}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__top-bar{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--right{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--right{opacity:.001}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--right, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__counter{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__element--disabled{display:none!important}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--minimal--dark .pswp__top-bar{background:none}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPjwvZz48cGF0aCBkPSJNMjAuNTg2IDY2bC01LjY1Ni01LjY1NiAxLjQxNC0xLjQxNEwyMiA2NC41ODZsNS42NTYtNS42NTYgMS40MTQgMS40MTRMMjMuNDE0IDY2bDUuNjU2IDUuNjU2LTEuNDE0IDEuNDE0TDIyIDY3LjQxNGwtNS42NTYgNS42NTYtMS40MTQtMS40MTRMMjAuNTg2IDY2eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMTEuNzg1IDY1LjAzTDExMCA2My41bDMtMy41aC0xMHYtMmgxMGwtMy0zLjUgMS43ODUtMS40NjhMMTE3IDU5bC01LjIxNSA2LjAzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNTIuMjE1IDY1LjAzTDE1NCA2My41bC0zLTMuNWgxMHYtMmgtMTBsMy0zLjUtMS43ODUtMS40NjhMMTQ3IDU5bDUuMjE1IDYuMDN6IiBmaWxsPSIjZmZmIi8+PGc+PHBhdGggaWQ9IlJlY3RhbmdsZS0xMSIgZmlsbD0iI2ZmZiIgZD0iTTE2MC45NTcgMjguNTQzbC0zLjI1LTMuMjUtMS40MTMgMS40MTQgMy4yNSAzLjI1eiIvPjxwYXRoIGQ9Ik0xNTIuNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIGlkPSJPdmFsLTEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUwIDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{align-items:center;display:flex;justify-content:center}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder:after{background:url(data:image/gif;base64,R0lGODlhQABAAPcbADc3N5CQkJOTk5GRkVxcXIODgz8/P5eXl2xsbHx8fENDQ5aWlnp6epSUlIeHhzo6OldXV3FxcURERIWFhZKSkkFBQWpqamNjY2BgYISEhGVlZTQ0NIaGhkhISJubm35+fpycnImJiX9/f5qamnJyclVVVZ+fn52dnYKCgkJCQp6enkVFRWlpaT4+PkZGRl1dXW1tbYCAgF9fX4+Pj1ZWVo6OjkdHR3Z2dkBAQElJSTg4OGRkZIiIiGFhYXt7e1RUVGZmZoqKiltbW1NTU3h4eFJSUjY2NouLi25ubpWVlZmZmUtLS2dnZ29vb2trazU1NV5eXnNzc3BwcGhoaKOjo6GhoaSkpHR0dKCgoFpaWoGBgaenpzk5OU9PTzs7O0pKSpiYmI2NjXl5eUxMTHd3d1lZWXV1dT09PVBQUFFRUX19fVhYWE1NTU5OTjw8PGJiYoyMjKKioqurq6ioqKysrLKysq+vr7GxsbCwsK2tra6urqmpqaqqqrW1tbS0tLOzs6Wlpaampre3t7m5uba2tru7u7i4uL29vb+/v8HBwcPDw7y8vLq6us7OzsfHx8zMzMjIyM3NzcvLy8TExMXFxdHR0c/Pz8bGxsDAwNPT09TU1NLS0sLCwtfX18rKyt7e3tzc3Nra2tnZ2djY2Nvb2+Hh4dbW1uPj4+Li4t3d3efn5+vr6+zs7L6+vsnJyeTk5N/f39XV1eDg4Orq6ubm5u/v7+3t7dDQ0Ojo6PDw8Pn5+fb29vX19e7u7vLy8v39/fT09Pf39/j4+OXl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hlPcHRpbWl6ZWQgdXNpbmcgZXpnaWYuY29tACH5BAkFABsALAAAAABAAEAAAAf/gBuCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqpZcFTmvD6uLrTcNSre4DTcQXLKEXhZJC2K8BkYAxhC1urGyGrYyOoo6MgICF6oADAdIvY1cSNxGp14O15Jd1l6lTxNHOJQKRwXro2QDBqznohAHOZhj/IXS5kSTkxoAQDHBp0nHvk7tsG2q9indE04RPUVgoLGJpwEEOkIE88XTEpIYUY7Mt0mCypT/Wr6UGbPhTJsscZoE8xGDyE4IEvzkZBHmTihEk1zUOGNcpowVH17aQcFbVBsAF4QUlSBAzknyOI7S9i7egAxOx2aQ6igdPXK1QZrUYwRMnCoaYa5JS0TNGg1fRp4No2HDGLLCYhYw8zWIlq1ct3ZZZVyoFazJlDNr3sy5s+fPoEOLHk26tOnTmgMBACH5BAkFAAIALA4ADgAkACQAAAj/AAUIHEhQoAIoRGI4qMFQCxkoCgpKnEgQQoYBDpgQ+MGmDUcmCwtAoEhSQAeHGku6mDJDRIeSBS+0dANzYAsYLWsCIANnSU2JS+CYAUByp4MUPycqWEh0Is8zSSm2CEHG6dGoRWswKXgyDVaVA7wO/EDiK8woH2yGNQsWjUAxMNieJWJyRg65bYfAwZs3Ct+SN4BE2fFTwZ9Vq/5ErCnYx4ufd1gdOcJKz0+EE2j8pLVAoJJTlwtwGFlTVWcBC16FVoMB8iqqlVdPKXx4Fp7Fc534+EvS8Rq7vIEGQPNgeHCuwOEeJ0jW4NrlNp4LUL48YUXpf39gnw48+/a3PFrwNZ1aVelTuS6CxGhqvqdZ7WTY956ZFAfarfVRdpTKhiWKL+9d1BIMEKWBWQAYrTHegQ3pV1NAACH5BAkFAAEALA0ADQAmACYAAAj/AAMIHEiQIIAcXUoIWZgQQMGHECF6KUPCQYgCashoxIhxjZeIIAcagcIhg5MuRh4etJCBw4uUIVWiQFHmScwATyjSvClww5sQL3mKfMHjzU0uNyZ8ESrTjA6QPpUylRjDDEgnHHBMjeilKsQsQLdCDWuwqNiQTHicIThF6lmuE5iINPv2Koq1AUhuqDsWikCNfNHewEn26BqPQrvczeEAZswbuXRJjsDTSOMiDHhKWSXChQsRnDWnEWL1ZuiBE2aJ/nlUVxe2rm+SOCyl9euBRWI/fkOaZ6gJBFOv1qKZswQboDUMf1Bccq7BR4N8Qbq08mGHPIdo4ZKXRWC7Ail+YI9osifd8bjd5lWL3jyBsi/ar7fJtjF65NULyihg4DuOuHa5wFcKXvW1xFttlPRUSFGx8BFTEwG1V3YXEUAfg0SdlxgLFaKkUkItOYigThd9sBFHLCDmH0IKMdQBdjcFBAAh+QQJBQABACwMAAwAKAAoAAAI/wADCBxIsGCAJ1wMrFiY0KDDhw8TSilAsWLFH1wgaixogIWWKARs4PCCkKQNAlE+GtgI0csOlSzPvIHJkmDHJjhqDsTRREQHnQFoaIEAlOPQmj3U2Chq0MYHDBshHGXa9GnLqVSr/tSa9SqAql01wpBhdGXYiFiD7jgr1snOAgrYehX4Q03RLl2KJhhC90JNHQtO7Rq8QAdSFgIZ8N3oRRQqGBUUwHhl6kFMIom/sNzySoJNWlQuH4TLmFcUg2Z4fdWYAq5kw2J3mf1MlLVr0rFn75TN+LZuhwBMo1bdmyRujZw97wYkOoDimKReQZZM2QtLqZn/Gho82NDvhzJg9GwF2hHCd4g+fvSNKxe4z4FO/LZH7fZtzvn2C3rED38KV/wloHCeUEu159RiDjHxQQtyHRiVUmc5eFkaXdVFoU4HnncVhHe91MMZE15gWVY3NRHSSCWNhFIMHzbYQXgJWBSjDB08wd9OKURGVUAAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSJCgAgJOmlwRw1ChEAUFI0qUyKVMFIY00iyxwVEjEwZRynCZSHIgAIs7cjwpaSTHDiIiS1IkAwOiTIMOb5pkUETnzJ4318D0OdHG0JIQzBggSrKC0qY8mbIUk+OnVJlJbUSMUOZqUCkFuzDwqpNEl500yH5dGqCNGbVl2wgEUsLnSS0iIBjxmbFt1KCffJEaTEqGTqdP2Ly9GaSXiiVzVdRyEFcIWKy1DIfNvFZzU1IeJkoeibSHhTWYIVP0xQIrC64y1dAqOUuMa9glo8yiHeE2hNRFfakmieE0lJuUQks8cakz4BdbbZ11LbZsbYIiVlFm3EWHjxTWaVl1Gv/pwuHvARCgPiw0797zc2+8h1v0r5Gj9CVmRZs/IgD8AWwQUn9hRbFBgUAR+ANVVvUnwV/6PUVfCgyWNpxXY0BoIVlZACjTfxWyZ4aBUrUUQUguHEiRC5ZxtRKHpsGUkUpDvPARTVo5yEaLNMGQ0hcq3hQQACH5BAkFAAEALAsACwAqACoAAAj/AAMIHEiwoEAdODqkQaNQh8GHECNyWSIESRSLQDJiFLKES8SPBR8QuNKkTAqIKco0IekRJMohJFjYcHmQRYQhG2gSdOMEwRKdO2FY8AJ0xU0jQEO+keKCZhGSSVFeSQPyy9SoEq9KpYH1Iw0SOB6KLNO1KlODGJoAKPsRwNmgVNl61SowrVyXPQdyoevyyRCcRbV2uaKzySVVrBJPQlK4TV0IfQmx2qLWBostk0+aDWAkSlOQhkzJQNtJUF/PKfg+VLOK7EMIq8SYrWDZZaQTH088wmuDDYyqrb2uegASyRiYwIlLZAVlNpDkbYPP9Q09Io3hxY+zsL0l9ybeFVQbk4zBHGXs2U882xZNutDpJwEuQK4qmbICy5gJaZ5bs/DhxKos1lhNKxT1F3w6GUXUY3dtppd4DRJYkF0RoiWEQW7NV+Fja2EIIVuDhbVVhW2oN12DEHyo1AVIddUZWIGZmNQYFhkQVYZD5VSVZaiV5QUUJPXQRUI7JdRDTC8sKNePGgXJhBROArYhZyvkwMaBByYVEAAh+QQJBQABACwKAAoALAAsAAAI/wADCBxIsGBBAAZaADDIsKHDg0uyXHACo6JFiW4eajRoZAgTBDKWuPGiY4NJkhErDnmyUWPKNjo26mgzZcqSlgy9TISJU+ATmhce9PRpgYCRoQQ7ssDRswNIpAwhOOnQ0gaMLlAbdrnqcmpWh2m8amUh5OtDAjbHCjXb8GeWnAgysnX4JK7BHRDmdj24tGmaNAtxAhArEG/VGo9eqVr8qMaGqhcGPujrclGqIxoqKNhxJBWjFDK5BogY86GBWH9WcBSkyUBXqqPfauwz6KEgPRuFlA3ApI1GM6AkmP5kZm/s2Vg2YsG014jotqeK/0b1WqeX4WNyq8pO9yqX51G3a6znrpY3F43EtRvvjVz5ovU3z8ZyTTeWE/jube/JvYaozEyCqHYQa/SdZQNR57lkBSiYJaRBZ1a0ENpRhR3YkgZ7dMLYHpFBllRafg3lVkET6WUgR4SZ+CFsJGLwmIqS9SBDeTBWeB2NKoZVwWs5ptidECyZVZePptW0FlSTgejXVEdCxmRWJhUVUpBtWWVkaV+5pdIYK5xhxJddSrQljCOJeZGUItWYU0KBQRUQACH5BAkFAAEALAoACgAsACwAAAj/AAMIHEiwoMAzEpaggcBQ4RmDECNK9KJwB5MLBGh02ZjxYkOJIAvqGAKkxxAXACKOJFkyZUiVHFe8JOjijcUnM2lCuZlTp4YeOnoawOilJ0SKF1rMXNHSKEwNMkG2gOo05MKoRzFWffnRININW61mxCkSaFiuGctiPSuV6kCSbHPufItBgdwCeypZ2lOgRE4FQLgc1LAU0KgtQRDACDLnsISZNgW+KPKSRChGNrwaCkUCbQAATFJYBUUB7FEKoLqINcI0pJFEhl4uSmT6qcLRmUf3EJsGQkg4gHICOsJ7SEhCWnLiLS71ExS5pIy0TTuxlAzoLm0fF6F8EnOQw4XHpfkucYKo3M25g3yTYyhZlZ9iH7dkoG39HXbXfyqtErXftoNVBoohHWgGyhWefUYZV5gclthiW5CCSRuQ5WZEUksd8UkpHHIYhHRoKRVgXAkOJiKJ/Z1oIopZfQGREDK8x6KCQjw1I13ZeaXVjFeRd9YGGj0WYo5VgYbhX0RtBWSSRi0ZWpMYMFkkSxtN11RcSFnUEBtt9EZlEUXdCEB7MW1ZX08BAQAh+QQJBQABACwJAAkALgAuAAAI/wADCBxIsKBBI24SGlzIsOFCHS6GlIEio6JFiQAcamSIEMJFA142PAkZ0qNHIxs3dsSoMgXGJyk5CvEYk6CBNTNr2oSyQudBiTpX+nyYZQjKlkaHysyS0eEGmkodpoGwQSrVqE6hEm2BVSOAnD8rdFUp44HBIjTGpiyRpuBNLymNMHHAR5IkPg52VCULd2CXLmsFjWK0oEmTBYxE+bGxFrBfNxujZNLT4azgKGQfR7YEwyGSW5g1EjAg8K/oTEw2M7ZamrRDPypibqnjVUiAr2YbpvEEOfCQrA+8lPW8QGdh4C1kaFShxTgI5C80UkKiMwIn0ThwRH99o/ol7G6GN7bcUrwmYui5GdLVKWgC8ADiGU4J1XYt/aytnR4yJBtRU5n5SeVJaJ7FsgR2ARbYg4K1uQafgw19NsB/fgkAWmZ+lRGYIiAUwAQLBYAwCWWN7dSXSlGo4MolHR7YGA5uaagWgjGmN2NYW92Io0x76XibVvLV5yNafA15FV89YoUbhRtNdaJSwqEB5UlDCRVVlDYwqZsNLyQ1VpRlVUBSayWZ9KRaEKGFwZpstrkChD6SSRIAMA0VEAAh+QQJBQACACwJAAkALgAuAAAI/wAFCBxIsKBALyu+tBkCoeHChAYjSpwowMASGmvSXFTQoqMNjhkvUhxZEAfDjxsoPvHYkKTKky5LYjQQU6aLmgY3uMiIUycENzglummYkqSRIiW4BJ3IJakRkkgBLH1ZZCQbGlKnUmXKU6vVljnLVPDqUkFXgmPakI250CZbIjOsxAlghg3bpGi/lCWkqVIfCg36bNJESEjZIQM9Wk1CWGxevhSycgVaUa3KP40YMGXQ6I9koXorj/RgaQxUSx6+Vn5CUYMmMzGJvKYKkWkiOTjtLGI9eUnr2TV7aFpDm2KITF56Agf90bigpYNMFJ9oh8LSwNMlVr+eJ3tEE92D6qdR4d3gceiae/+2oZy4etvWazLmLZHoz98a2C6POHTsfeOlnZbaSwexd1kkV/zmmWqrLdZYTnIQltxWBRrF2WCBwBEXIpkgQsRTDBao1F50lFiiYYfRlNdah4U1FouT8XcWjHkZGBFRNNb41WcsAiBEGkZpRFmPOKZIpGk9iTXiUg8oOVWTISU5E1kWhcSjTWldqVV/SDnFEkhddDBkjquF6dBDDwQVEAAh+QQJBQABACwIAAgAMAAwAAAI/wADCBxIsCDBDQAenKnAUKHBhxAjGtTRcIjFMRgvLmEosWNEBV3SbPQCYCLJkBY9qgyAA+VKgSdxvHxoJOPMgy5vssypE+aXkDdbFFHQkybQlSANFIXoRqTKljqWfnQqkSJRqVOvGpWJtSoarhPHdPVoY4nRl09+Elk75MnLowThVvUAqdGjP4Qe2fXg4mmbgi1V3qgbpQQXn1Hy3vAbFyzTOZImlKQ54W6Fji7YDEzr9mOdQUXIFqoTNavPjnS7II2MWfNOiTQaqZkZoxENr6cjbrGzYeaTz7jTVo2EQCeCSG5gIwwd8bjYoLaVN5XoAFJv6BOk/9W9pSifGdqpd7/vOedI+OaOikLKnnU7xDfRsWdN2JmmpB3GJT2Y31Z8UDkH4PbaR7LRhpyAIKEGiWpPNRKgcj5N9hhoopHmlYRfYfaZZEwVYFlrOJFF1x+uxYXXAYeB2FiDklAyCIAvRjYEY4Bl+JQZMeSYo2MXnjWWgGEp9eNWpg2Jk1ZMDWVkhH55YaQXSiLVhpNjQSnkWzZKVdZ+Ogk1ZVEGhCRhT1C14BtPWIXJRg4pkBQkm18uyUWbQ2mEkkZLblXRGUUFBAAh+QQJBQACACwIAAgAMAAwAAAI/wAFCBxIsODABwYUrOiwpOHChAYjSpwo8EmLhw4VJtyY8QnFjwU34Mj4UaTGkSBLakwZ8ktDlgYtuoQZ8SJDmgJ0uNyAs6aLlyy9AO0pcSVIoQaIqvSyVOnRoTFnOn2a1OfUoDZ8AoA5BMiNK0yGcIWak2xRDowcMZrDJy0jDlmpEqxgNuSCSTVkMD0oIwDeFk0r1p1bx0rcolbuVAgMkaICQgu2lrx7RqVgx4FOcFVBhefEi2VxUPxg5wFNHXfUOOaIuURPCJxSrEY5MYYHpSA+zBY9kZAFpTDs7P7sqOrr4p8f1j40FRGT5IMFNOnTHAb0vREtGKp+fSKBS9yL2qIYT3yM0jbIxQulaOcGcD3DlxPdUIdD/KKXLhz/spu3xCCKnZbaapd9xsdtQWXGBYFllQSZZJj94Z94gmGHWGcRVsZggY7dgEheFp7Rl3Oebchhh26x5RZcKa3XEk1dfRXWWBq+eNVT6t04G3Q6ahVYjxW2uBCQodHo0VVGMAQhVtEJ+dN5yuGEEZIj7bTURkDq1JGWCJ1x0kglEhkaRh31FBAAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLBgwQ1PdHBxw1ChwYcQI0IEcEaBjYsSUlh0gbGixI8SE3LcqMOgSJJPQKoMgHDkhpUtOa4MucLizIMbbxKMqfPhg4w9Rfak+RIm0KFEjSIFmVClzaVMU3w0oACq0ok1Z57UqPUpTi9OkYw4hKhs2RFIzjjlipNpBEEmGJTJsbADAQYmCEUwEvXrVCp2ekjsUYdKi6kyB1L96wEsYxuIdzqeaIdHUbd23NBU7CIk4MthTfCNyBbh4MxB60TZzFIzZQtInfgBQLpz64hMDI1OzaR26wcRB8CBWmNG7ZYSA0MlTNS1T0QSoLpA1Jw0dOnXsXqp+hp7dO0rrLe58X68Q3Inyw81TwlRhfGlwo/fhoiEENRBCHzPfw57qOzJJoW330NRzMYbaxR5NgNoTCkhGmsDmoSIZTAFkYdzPnEh2WMNogahQImRBlgUtPlUoGGRtTXVW3ARQNdPUMBhiCAW7KafiiuikJdZcWmgVl8Z2hiVeTcZEWKAVg2ZYpJYKclkgAxq96Rk7BlVpVVCBZUVlgwtdRJSdZUoXU1XDlkmlx39SCWZGE75W5ooZSSVm+VR1CVSAQEAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLAgQQAPvJwxgKPhwoQGI0qceDBhBYcWM17ESLFjxCcPIXY0otGjSYULTRYE2VClRJYAXH5kaETmQIQ6bE5EaZNLS507f55kCHQkUY8+NxRFejQol6VDY74UCtXo05lDfYwI1OdPICU+hjwZinUkEDqDTJABUoYAEDIm0gJRatQgwpFU6oR9qTWQgroV8YZ5gDSMHBeABVK1aweFzAl2JFBUeNPA5Dk8dDoARDioYssTN4/tCYLD5DOfdxL6C1SBoDGe74YWATUGiNM+VbMuKmFQF6eoJZqJUzUAFRLAZxffnFziCTPLTTSPqGdH8bPTDVa/nid7wThNuHusJ5iEgfiplIUfiD7+5mqoKXy3H6i2dpXTAVJKLPO+9WvP+YHmHAijyfTECSfgF+BlDmimh2QALqiaYy5BBuFUgTHY2WSG7YZhZTiMBNleH/UllVMrncigWlO09VZccCDGVFlMJZCEHXQ0EJaKCtq1WHEz1YQekCjiRqSPV1l1JIgu4bSkDiI1+SNv+vVEE3wWYdkCj1ElWVVJVuW2ZIAhabQBSg+NGWSZVdoUEAAh+QQJBQAGACwGAAYANAA0AAAH/4AGgoOEhYaDG0+Kh4yNjo1GOg9elG6WlZKPmpoAk5hPhIqdmJuliKSbopSmj5GrrKevsKGys7G2BoleuIyVsKK8kLWtlsGOkqCcw8aGo8rMz8e7qS9EWjVhKGYv09GHnZtdAnd6AxnWBRR6dwJdqQC9Rq0FdQ5r8oUAZUH1Z8Tf3XpRAdOG0wgqBaU1w8fojR0HDOfZwaCQ1jE8RGYRwYOmoqBliOTwwHVkTgVhoRwJWBCRFYCDx041GnKnQ7AOddzF+wiPkYMjzLChzNUyJAFmL/IU5cn0UBaOzB7U3Em04QloBkyQ2JmokZoZWM0JW+RTS1gOYwMW+nk2rVeg0K/gMEDp5m1bgE0NPV36K89RvFW/0fl7UylVkIKCCAjqYGgxqzpxlck5NJfKKmpNSc1QObBgMCQRdu4686HGiR7zOn3Itxk/ip1Vf054UQ+NfwtbUal3r9k+3rgXbtBEoAE5c2bQrWunrCdgTtWuZduWmWpsrPla38Iu/J1z7kSTeQcf/lck7r5seYqKWHP6Wa6+3/T0oJSq6sboc3EWa/8l8v2dIeCABKICYDztmRIIACH5BAkFAAQALAYABgA0ADQAAAf/gASCg4SFhhuIRoqLG4aOj5CQTwA6lJaTl5SRm5yYmpuejZyjgomipKWWqJGqq4WJrq+fsYezq5O0oE+utrmPvawAvqPAjorDpMWEuMkQGE4WzzioygSwoDthfFsnARQec3xhF1ydwr9G2FQDTjmHTt9SXrrG55Bo60OcJUlUbfSyImHYI2YVmTkYggW8RzAWAjlQFA6qxqYhLSn+JNmzJsmEg2EOVKT7NXFjIYzlfHGJ00Rjql9bdiAjoGGLAXSlIEVRckrlgQiSrJkk9HOmIBYLNDI7BNGoNTk36y09yafnsCdNpY40dMGEU0FV3qA75giGgK8EGjgZu5UqWgFrsLU+enPibUK5ZbfYZQvzi9MvUPk+Uuu0yVmcVglF8JA4lpETLUkKhXl32I45UWu9nMv4qkeXOWGKAGklpbFluzjHdbhHH86SArNSuyK73kLOR9wk01bZ9m3cPfZ1+yfxt7EE4tq9i3cGoG9WDE7I4eYN3HQG7joV3+cMmgwI05I1Ro32tfPym4kN/bs+mA60mGgtYp9afqtcl2Z6chz/ayZz95UXyoCZkIVeLQS2N0ogACH5BAkFAAsALAYABgA0ADQAAAf/gAuCg4SFhoIbiYobh42Oj4aLjZKQlY6KloOYmZaJnIeen5Oik4ykmqanoKmfoaqloq6vsJmss4+2tJ0pY0u8nLKrlRttZkpWyMlKZm25kc6I0IQ/Ah4JMr5GADhLMh8gAT/D0E+QKTwnQNILT0AqHDjmwo5FJyhutQUgXbi56xdUrpAy1gNXoX8BVVmgIu4SoXKTTBCZ5cPECoeaHM2AN2tDiBkY2dGrYuAWuzhlMEKMdCCKSUHGyCFqRIPhy5MNI7GDZuymIAoCQYls1NLnAiQCLpGz6bOmEV0Hmd5cIvXgUgVGDVR9eDXrVlQRsTb9Gk1jzpdfqCg1a3RhyEMInI4YPYJg1FBDbcie8qLX1EpDA+q+RKpyZAuTOFCGlHaEx19STz6+fTztHUUVYoWCpYmFiUK9Ow8+AmhmIOi7mzkXqJBvXz/NI6uIyTFaTJwDLuTZvQSQyrI3Xby46XKhou8LAHRDnVTsmDJkzNaVNQiM15dftaTPNAp7HPfU2b8/0T5vKvnlr4LtPY++o/p+7CFvejb+u9JFlE4FAgAh+QQJBQAUACwPAA8AIgAiAAAH/4AUgoOEFF5CPjwBSmCLPkIPhZKTgh0iHgdmPWVoaZxmB5gdlJQKCSAiJUalNJePpIRsmTawsR8HXbVlHk21k0i8pBCovpRMIGuTXyNOxcIjo7YJzrCJBoRqSVzUpA9J05XI3LAy4hQkR+OwG0ckhg0E6uQN717y3chSE/fVTQUR/J4FYRLQWIgBMgr+mlEjocJC5SZMeQjxH0CKg6IwOIYxY5Nl9jB6EYero5AFghA46Oig17sfFFuFPHdkg0J2zQYBCBNFoUYAhRSU5DcFzMxY5tSpTGZQDVBqO5MwFQjB2TB4xQ6JOsNK0UduEi6hIgHkRwkgN46AEHXv0KlFjQUUQaoVCAAh+QQJBQAIACwOAA4AJAAkAAAI/wARCBxIkGCOImUwKERYsKFDhwhrNJjhQIRFiWGkpHnIcaANFAJ8CPHS0IsQHyFddCzZJOVKBBWuuHwZs4CNlwYLOFDZscxMnB7JCFjDkU1IoA+ZDIVIESnHKDMqNAS5wenDJxYLQqBgwGrRpQIBHLHgtWcQIwJLRC37tYTAK03YmoUZYIjcr09WCNBx9+rQNDyQHkQaAg2BGEAP/Pq1IPFJIjjb/NLA5NcSnAyATGEQefIOy5iZyCiQeHEDx1sF30TdgGTfkq0fgH2dkwsCIlFoF4SbdoBr3V4aEKXrRHfvJx73Ap/9dufrDR9QwCbxmsTa6Xc1MNf6U/X1r84Fayn53jF4jSlnaCoNH/lFiPMjWaLk8QKt1Q1DImCseHFihI3PIbQQQzgFBAAh+QQJBQABACwNAA0AJgAmAAAI/wADCBxIsOAGLjhsuKjwYEPBhxAjBqhA4AacMBgzXsxSQaLHgRXIYGTBRoGbJ0ZOtmHBAWPHjw91MLn4BeYSMUeY6IAJEoWaMTx7okjBs0sQEk+CEjQSJUiXj2jCaFAKEYhUiQqOUo04UwJELxmubJVo8cHDJjEAjI0IQEQTg1fXsg2jgKBIuR4t9kSDFytdgRCc9p0LQWCUt4O5RjBcJGgRBw4aFy0wEc7Lj0eEvaIl7MjkynWh7rJgONgPm3Rt/MUciWAjAahNrvZ4QJJrJbFDhs4rTAbg3rln8/bkCdiMyQ55lHHMI4Nk1IYXJ66KOLDD6UsFg8ae/TJa7gO/704F/+VIi4JdsT8oACRmDDHTNzBI+1V5Yif2CeOVL5w6GbVbydTfXOxRNURYXjk2EwNLoObTTgGKJFVJKqnE0oR9UWSRRhpxRF5CC5mlVEAAIfkECQUAAQAsDQANACYAJgAACP8AAwgcSHBgCyEkyKgpwJAICSFnCkqcWHDDkCgTzEChgebLko5QzGQcsoGiyQAA1nxIwPGkFwgJ1EAwcrLiwhdPahp8wRCHTpQoyET8SfCMQhs10WRwQpOozQxdTK4o0MOpyTcFXEw0CsPqSSdQJWIc6nWrwoJtwpaVOqGNQZlrk/rIGQChjrguUWQRKGIHXrlA3f5lawAm0RQgChUCkeLnBr07fPz8gQoUIECPUA35+RAGE51cPuUBMFBKKi46mSDQqDPIqQcFGwVJfQVuTUFyJO7pQ5ulTty6ecv1XdM1bIKVZg//nDSVHdJ8P6FePtmU5UCVMqHhvKOEZMdR7Nh0iVKSu5e2gwnXlZGeIlaBaURAb/92O18M9An2EFM0a/7ABYFFV3pPYCTRY07QJ6BZVQ2GlQFsMRWXEUcNR5ZTblQIGgMxrFEeaCoRcWFNFgU1k1QKhEhAU1a9FFRPJYzBRhmRNcTEdBPaIENCC9kI0YcmBQQAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSLAgABtj0tBYmBBAwYcQIwYw0oaJmotRkGgkgpGNEYkgB1JkkNFFRBcESn4MCXEIxxUsBdogQSRNTJFTat4kiEbMlJUhvZTcaZCml6A1NxB9+ASIzpMZl0rUEAVoQQtNlEqFuKEJi5Y3dGyVaORGkaIdxoLMIcbhQCFN1IbUiFOC3LUJjgbIEuXu3DIC6cZka8dOgbSDYUz8AJNlgVWJVGBJNEtE4pFuQfJ4dYHnKw4sAYhQsMRHaFsaHiJYhVizBJeOKUW81MDxELgsW3mIqGKRbdwhdfNu9TtC7Nlgip9mohq1csenOr/9HHO0DsbVIUumXODyXiE3ZxZpPhy+73e/rmWORg/WzVvj7K864ammS/z3Vve2vS8UfFEWWvnVVFZcmSGdXxaJBdUOAW7VFRl6kXUDgQ56FeFaOdm0VBpJEcXGhI2FZpSDJUQwVIEqybXBhxhltFFH+amIkEIMpZEZSwEBACH5BAkFAAIALAsACwAqACoAAAj/AAUIHEiwoMAnXM4oSNEiocGHECMKMFACCZGLGDGWaCGxY8ExCMggobEwIcKGNJqIHONR4hKLQlJ4TEHgBowSLT9qiAJBR86DEHg++anDgpMHP3Va8DlTpZGkBo0AaeKlIwCVUCPKQAJAIhMgWSNu+KqValixIx+uIFPhrEu2Bp3IcNsRgxOdXOi+zUEQyA+9dcEehDszAKNPnxjN6NqUMciWNiLVykRlS6bJNloeFfhmzUxZmIb0VQTLRVPOLDtiIgSxD6LTAqSY9irLAEQDqDy/nUg44gw9EvHAscrWQO/Ww31jIk7x+ENXMyTOcMWci3ODgO4Ep8I8dlvpuDKrnMUlgjhqq6YYtdZ0xrz3z39sD6xAqDTsLlIg16+jxEMdWPFp1sVg8nnEhAqmaKKCBjlV0JtcgO0233UR8sZGQTdVGNddSmk44YUbVqWhFzyVtUGFYwl2W1oRbsUYWkC8GNZVMIhInFkzOpVUFlf8MBRRFZWR41JPWQXSUnS9ZIYGRZS0wUkLTYVkhE9udYVIWMq1BFMezocDRWEFBAAh+QQJBQACACwLAAsAKgAqAAAI/wAFCBxIsKCAMza60JABZWFCgxAjQjTyRYgTBAwhDNloEcbFL0YkiiRYEeMXiRtcdDw5MmIKIEiGhGx5cEgTIClokpQCAYBOkhB46qQY8+fEmD5FAphi4YxRlx9F7mCh4ylKCxckWvRiVWlRgyoVdB2pQChQCGNbBi2IBknStFeHDFzaBa5atwLbDm1SI0+eGXhbbqCaNw3NMpWGUTJhghKtSmUOZ6XbUosqQjhIClKl5S5RtbiCRAyC64dnGWRvCRLZ59HbiBfSWBwJI1VOlLCc0N46MgCglnNm7G44sk8A4H/IxqzL2gNy5Qx7H3rulbhUVC1PwRiOITUckTNucYrZ3WE7bc6jVaElbxb85Qqa0SsPGftw4sVxHEOWXHhvXzk1BHZXYSvYNd9cUxgY11kKQtTWE2whYECDDBp0gRNcUegFRlBNUZWCOiAVl1N2hXjBa0cJ2JUEIkrWk1UbXvSUSjfNJNgPNY41BkY4kQhWGwxhWGJJESznkAZMLWejgTqUxFFDP4D0U0AAIfkECQUAAgAsCgAKACwALAAACP8ABQgcSLDgQB0tVoxZolCHwYcQIwo8wxAIkx09XmjEaJGhxI8FFWTE0MYLRC9tMFggCVJiQhY0TLZ0QwPmmZYGx9jESRAlTJ4CNkBgkgJozos4AcjQ0MLow5cAPgq9wMXpyQtQPg6VafUp0qs4urr8eTSs2LFmCZZ5cRYkgTUhLTRti1Yt3Jk/GACykuDHBpxZsk6U27JHI1GFRowoFOoRBrxz2bAA2WJOKR5xUQG6qbWogLcg6VSCADFLJkBuhQQlG1HKKdWtXznROuVJC8IRvYRaELqTZ7ApLHxk8KoDZdlobTAZbgqnqBqddX7ci/NOlehvptOpPgI7c+dEvEuqLFP8OOncVL2wqCqREvTvdYlqLZVlPH2pFwSCnp6p/kPT3dE2GGV+XJbZHZyN55lSczGHGBiLNZYAZAPtl1oAdMgRgBlfAFZGT6zR5RVX+pUgYmsmxrXEiWWNyOJBuP0nH4vq0ZDciTVSBgVVdIkERVSFhejUEkKmRkCCPFFUJF47MRnTWUSuFJMbT/REU01S4pgGVip1qYGUSxnw4kEKuJADGwuZSWJLAQEAIfkECQUAAQAsCgAKACwALAAACP8AAwgcSLBggDM5upTIgkEGQ4VnDEqcKHFDBxo9LggZwsZGhY8dN4qkSLKgghcNJQAgCeBkypIU3ax5g2YlzIEtX97ESdPLToMuV/xcovFnzKIwIRpl2bCkDRkPljqFetSA1KQ9rAKlehVrVJMQuu6E8AasT7FeCW4cioYMGY5seRq52YWQqLuJ8NKgy3Vm0gakJix5IhDhhFADuGA9SNMpJUtCJr5oxOls1ZMwPUBmaemA1xIlL3y6kHT01IUl8XjYqQLPaRuch4w1tYEpUsmhbJaWfZnkh1ZGE/mwrXViDETBPxAniQGUbscylsc0TfdTxN4kJalgDel1aOrMwUuNDlmbZKDN0wOdDpDVcaUmuCdZnpgCQ+Eufz/lgaGgMAw8+s03nn9fffeJfpYc+AgUfKUwEGo3PXHSBz5oRBhfarWH1noZbjjVVmh4OJ6DIIpoVlUmEsihhwZouKJYTwkonVQPkHUdWzqNBZGMO9XYU1IKQcDjUi1aeJECBiTpwkUODZbifRg9JOWNNwUEACH5BAkFAAEALAkACQAuAC4AAAj/AAMIHEiw4EA3FVws6cJQoRuDECNKFPgkYRYCGMsM+aExY5uEE0MWBLBQiEkDXEZyQcnxpMiJRr60NPIyQMyONGsS9IJT58EOLn3e9OLTIEmNOleYLCqx4UulNpjCXDp1idSQTiPquHhV5EcAETl2ffoDYgohZ8Z6pfozR1IIZMhASFlT5ki0L5Ew6sS37yEYZBUQ5IoVRKc+R4AokADkiKBOB+hO/en1ECULYR0dsoq1BcUuhT1INgtic2eBSCeGMR369M2JPzKhqaupRFWEIU3Q8UnHRGeQExWh8Jkh0e8sMDsJ8fmi08OmUGFnyknbNnSF0qk/lX07O3Pn3YMjm/l+PDce3nuOg22qvCaS9tc3sI1IwRNRrJ4o/LYJOrlomKXpcBp/lbFmlGWcXfeZYFgVl4F2RjionVZzUbZdX36lUVeC/LnwFgNyebjhem2ptZ9BFZoIHYUcqngQXiy6uBOMCspoA0aBqSjffOV1dRSDb2m0AVMrBVVUkRhNeJ2QY+14EkoqsdSTjhZ59FFHHj0hY5QlOaRlUQEBACH5BAkFAAEALAgACAAwADAAAAj/AAMIHEiwoMEATx5wMXKwocOHBReySVOChsWLE7lA3NhQR4chFVfgcONxg8mSIXVw5Ajgyw8XbliSfAlgZUcbNG0ObBlS506QD3xG7DLEi88zFYXedGHTQFKlS1k+hRr1IU+qEJcUdbgBTResG4luqAqW61aDV5sC1dmihNGhLKVUcVSpbl0TUp7EHfr2YZZFlvBiSKEAQ4w4lgplCUsj6M+NMBJDaAgBUyMnjAmedQik0oG+BwEcqAQk65CfoNE+OrBy9Fezb2FC5JMoNVdMfEwLHCPBL2mdfxeb3W3g4YE+QvuwHo6weEdIAoQ2gKT3JnHOv32SqGRj+JPG2LsfxeUOO21o8uPFh3bb1fF5FkK3q0f7mvdDRTykK7J6OgBF44Ak1wB/14UH3GUE+lfEbIW4l9UigejWnErYRcdREo+0wV9fm1Hm2RlWgZEdcwX6ppiHCEpInIMoFiIAAoXBIEAhdQm3IVyMmUCXXZfgVZ2KqLG1lloM0WdbWQSZRx+SZK23BJNGmjYfkzCx2GRZWjknVRdFYmWEWEd5lYKXQ4aZk5lMkZlSWCJZVBOSXoTkJkknzUSRm1DuxJNLGE20Zp7lYRUQACH5BAkFAAIALAgACAAwADAAAAj/AAUIHEiwIMEHZ3AosMFQ4QODECNKPGig4ZgcLlIs7HCxy0UAE0NCRJgR40QvEth4NCBSJACLLQdygRnTIEmWNSl6zClzJ0+bPmM+wTjmZ8SbLTcsWWpUItKQRJueZDoVpNSqToNezdphpNatXIEKtQDijqKzICx4Eeqi4EwdLnlQuhMkioweJOD8mcQDh0utJqEqCtTl6B5Fb/72tCqRiKsPImM8hupTYcgpnm7EJJOZskCOJx0FyNnAEZupApQ+lFiWcVJBI6oiDD3lJxBPFWRPvMGo6aErulnDaTojUPCIiJtGUHQcYmejFzw1N5gcuqPpBQ3BUC4IO0EVw43qp/U+kLdv4Fy/HnyeU0Z1rygDR9xjnGceKlhBOxVN2jTq1Etcxp6Atf33kmsQRTEZgZQxpt9ugyGx2kFN2PFeVjq5ZIInEd4VBQWTeGKCBH8hmFFMa3ywIVomfLDGWEDhBBZWMc4Y1lEq2VgjjToCGGCDCG51YJDwEWlUfBvkVJGMUjl05EpNOVRUlDSxxZGRSlq0VnoPznjgSkRt1JFGWHqZkJgNGRUQACH5BAkFAAEALAcABwAyADIAAAj/AAMIHEiwoEGBT3QAeHKwocOHB7kYkGAjx5eLGClygcjxoRcFFjVKRKiwhUgvHVMGkBhyA8cNH0OqdLiw4saZK0uixDnwjEyePUsCTWERaMSiMzUabSg0JUgjS2lW7FihA4CoHq1CdIMUq1Q3X72+7FoQpMo2YkIcWEukzdkUR69uJVMnESABMVAMAGSXzM6sOgyahWjhUJ03gcu+6XPIwtiyZA/6UDThJlMHlLeSdQH3IV0hTgfd0Bz070Ehg4YkRUQAMEmPonnCGGT56GuHMfK4xLlBjoistyMWemN0R6HdtnM6RJ2Ypw7WUoMb5HEgqgcU0WGaLoglRtTcX2s6z7z73Ur4i+PVlD8vV7L3peCZoo9M0IH5peTlSy/IRBHYoYpoEJ1yTA1XHCLNCWbDfgVNUAdyZ/WB3YAj0RQbTrNBqGBQD70AXYStDchgg4aoRtWFIubEkGcfssiAZv9xSJhhL2i4koeNPQZZezTZl4gDPgQZpCCHbRdXclQREQRbbb0lH49iHflklFO6RiVBPq0I45UkKeAURlc+oFVSY3plUgVD/WRUTQ8slZBNzhFFkZk2cTVWS2Fa1VKFLJ2pZp44rJDRoHty+SSbUM4UEAAh+QQJBQABACwHAAcAMgAyAAAI/wADCBxIsGBBAFy8nDHAUCEAgxAjSjSIsIIEBSkaummhEeOZiSAlPvB4ceLIhRhDqgygI6PClQJbooQZkaMbmgc3tsA58InFhzxzZsRZMWhNHClXnjRq8mXIpUybAhWZNKrUplZVjqQKs+WOKBF2lNDR1QDEoiHfNDBUSA+WKnraNnijtWrPmyCLxCk04w0XglzUti3y1CzgjSBhMJogwaQDRizy2k2YuE+WlUL8fJB818hEKZZpdghN1TNLBZ8LCeGZuQzW0yLvoDCaQY/ps6hlSnTyx4tRN6Rxw5aoQkRULSqk+q65iDDTEoWW43YKMcuiDVGfqC5tuPqfrHoscL/f7QE8g/ER1YAxj947+6Nb0zOaGhQA5PYUm0ctox9+d4hU+HBcHFiVJN8Dv90xBVfDnbWHGrTtgd1RMX1EXgms3cegEQYeKFofs5V2V2WuqfQGiJx1Vhljjmko4mFp7dXEfzE1cQcWzr122BMmrvXWCED+SFdht8GoFARfhTVWWfBlReSLTk4nGY9RClUXfVHaVBaWViHF5ZQ01vfTbx6RyVGXDk14ZJlOeumQckNVWSFKLnVkk0VyTvdTR0YFBAAh+QQJBQADACwHAAYAMgA0AAAH/4ADgoOEhYaCG0+Kh4yNjocAD25nLQaWl5MAj5uOOpmVkpFGol6gk5yoA6Sem4qfqY2rsIillLOEtU+3uJm7tbuQlrO9wMFuqZQbxbG2rWfLzo+/0J2VzLqoom0p2JyuxpxdZCd95eYnZF3e1oWlm10C5ekunhI/430UbNG8yrFi+YY4KoElnz9Gonh1OvDHgjcEfxZ4qTboVCyG+5BtOXDQ0LRIjjjYcXGrAx4UFFVNZAShITAhfiAwUxkywzKR11ix/CNhmQuXCJM14kCBmgA1ORvtcQjNwpykkPqkoZZGalB2Hq1CU6DVo9BDMKmpinm1I6EsdcQOIGvMyM5jW6W7trv0lqrcfm4ZLbUL9RCKAEZF9DWElmSxnzLLXoRz84RZhSB3ynh5VyHNoZXf3SGTMjLmjNlOSst7GeECOgLD2eGYktZjXD4iggYbpOHrilhpaZbXhd6keyYC8uvXqgmYP+fONSF9Ddy6IdCjZ2sWTG3z1tYtj9aR3TWy3NRGrfyuSWzCknQPp/flqht56uqTuS9rUa14U/Jz4e+OF/9+/qNREwgAIfkECQUAAgAsBgAGADQANAAACP8ABQgcSLCgQQEbnig0svCgw4cQDS58QJGLjosWKz6JyBHiRAAbHSYEWbGjSYEYN5xESHKlR4ouC7aMOXAkTYkYaTa8eZBhyJM+eT7c2ZGhUI4WiyY9+lJlxKVMXz4FUPRFjAYm+MzJKuLFA6VDdSBlQIfPESRvSkBIe0QOHQZfp4p0+vBCIBUyqPaUoQKQDLk4PWaQw+LnUAuE9c6VyUUwlTYru1g5IDYsQZAQ21aIWYHKEak1M/NZcnMMYY81G4vUg0QoEj02LLN8yMGEEaFGqkyQDVVmnjJMCeSJGxhhXSpRBfgdOtshBy3JC+wW2fygCQvRVYRV+PB0VL7bK0vYhJ08DfmeGVfH/m7F8OWgDudkKb8lfHcg9O07FxG9AHPjDvFFF0+5QfFfQuoFRwdxjKGkmEFa2IYbFvwtVt14f/H02hmyXVjQDlusUNoWF3ToYUETVLGZS535ZyJ3Qx3wWGST3WbiiZcFkBhSfNUgHno4DSjRB3ng9eBlfOXhg5ANAvlUAWWddYFabLkFF1JHvlcUWXp06eUBFhgAFmjJWdhUmegxmSaa79molHtREWWSTWXOxNlFTMmpU293unmUnUDxGWdOU8HIZmoZpaQoZoeG55OaJwUEACH5BAkFADIALAYABgA0ADQAAAf/gDKCg4SFhhtPiUaLioaOj5CPiIyUk5UbkZmZiomalk+aoYONooWMpZGLqJJGq6aqro6TsZ2xqaCosLa3pbq7vJ64v8GbraEPGFEMHBPLGA+ivq+hWRlWJ8zKyypWBSXHkNKGLwtVTh2SCFUNBMWyxulbIi2eIvIAwITwsgLmqBDr6IWbJmnAAgWuJBwIgI+VvkgFTFSwlcJEgVQPH0GxsuTXEo4DBdU6hG2YjAgjGh7Cta8QEokmH2BxErIloZImT54YiEjSlo45PwJd2dMRDA85B3mg+W6kyxhJBWmB2hSToyNRoupkJU4qE60sBHC1akjA16hMKIx95IAEWAdroa8meBt3nNioZuua+pm0At93Mmwq1ZA0bU1IFpQI22VEyZSai/UtNekEhEqCRY1SGUoLpKSMbE8YoGgR4yjBIvshXKWQYbiWkff6K1UioGl9qFPfq7f7tSxNBDzMRMdvXbt8h3hvweZs2/Imlz/7PnZBWzNlK6KRdagVMLHuuHvF7jseOXlaudF7LJ8rvXj2xeAnJBWsK/lLnCiBv5V/u6tAACH5BAUFAEYALA8ADwAiACIAAAf8gEaCg4SDLj8EQBoviIWOj4UrCBQmHpQ8lzMIEpCdRhVEIAyMjgaJojiehRYnIhWqnyKtsDoxHkOwhD+Wr5C1DSu5kQ01Oo8bGQItwqXEG443t8zHHhHDuNOPQybYgiEM2Z0+PIbc4b7SRh8O5+IJ3jvtkEAjn+byzRIv9fiPIKf9/F2AkSEgNAusDBbigHCGQkKaIBx4OGgEDQX3FOIwJwADxQsD4FEsYM2eAo0qbAxKIEJhjHfluskTklEQqw74csyCBqxdiwUx0PXMtsJZp180ppWo9EAVMqawtpmI8CxXkRqVLJyMxArqtA0ybFXKZIlXVZ+IFCVykSsQADs=) center/64px no-repeat;color:#fff;content:"";font-size:128px;height:128px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:128px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar{transform:translateY(-15px)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{background:none;height:30px;margin-top:env(safe-area-inset-top);padding:16px;transition:transform .3s ease-out,opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{background-color:#00000080;border-radius:15px;font-family:Hiragino Kaku Gothic ProN,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-size:12px;font-weight:700;height:30px;left:16px;line-height:30px;padding:0 16px;top:16px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{background-size:180px 60px;height:30px;margin-left:8px;opacity:1;width:30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:before{background-color:#00000080;border-radius:50%;content:"";inset:0;position:absolute;z-index:-1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-30px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{background-position:-60px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-90px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-30px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{background-position:-94px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background-position:-64px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{padding-bottom:env(safe-area-inset-top)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:block;opacity:0;pointer-events:none;transition:opacity .2s ease-out}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{min-height:40px}'],changeDetection:0}),i})();class aR{}let Oce=(()=>{class i{constructor(){}initialize(e){this.lightbox=e.createComponent(Nce),this.lightboxElement=this.lightbox.instance.element,document.body.appendChild(this.lightbox.location.nativeElement)}getLightboxElement(){return this.lightboxElement.nativeElement}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Rce={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let oR=(()=>{class i{constructor(e,n,r){this.photoGalleryConfig=e,this.viewContainerRef=n,this.lightboxService=r,this.onPhotoGalleryInit=new lt,this.onPhotoGalleryDestroy=new lt,this.galleryItems={},this.galleryItemIds=new Set,this.galleryImages=[],this.defaultOptions={...Rce,...this.photoGalleryConfig?.defaultOptions},this.lightboxService.initialize(this.viewContainerRef)}registerGalleryItem(e){const n={id:e.id,src:e.imageUrl,...e.caption?{title:e.caption}:{},w:0,h:0,doGetSlideDimensions:!0};this.galleryItems[e.id]={id:e.id,element:e.element,image:n},this.galleryItemIds.add(e.id)}unregisterGalleryItem(e){this.galleryItemIds.delete(e)}openPhotoSwipe(e){var n=this;return Ee(function*(){if(n.galleryItems[e].image.doGetSlideDimensions){const c=yield sR(n.galleryItems[e].image.src);n.galleryItems[e].image.w=c.naturalWidth,n.galleryItems[e].image.h=c.naturalHeight,delete n.galleryItems[e].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(c=>n.galleryItems[c].image);const r=n.galleryImages.findIndex(c=>c.id===e),a={...n.defaultOptions,...n.options};a.index=r,a.getThumbBoundsFn=c=>{const u=n.galleryImages[c].id,x=n.galleryItems[u].image,P=window.pageYOffset||document.documentElement.scrollTop,K=n.galleryItems[u].element.getBoundingClientRect();let ye,Ie,Le;return K.height/K.width>x.h/x.w?(Ie=K.top+P,Le=x.w*K.height/x.h,ye=K.left-(Le-K.width)/2):(ye=K.left,Le=K.width,Ie=K.top+P-(x.h*K.width/x.w-K.height)/2),{x:ye,y:Ie,w:Le}};const o=n.lightboxService.getLightboxElement();n.gallery=new Ace(o,Ice,n.galleryImages,a),n.gallery.listen("gettingData",(c,u)=>{u.doGetSlideDimensions&&setTimeout(Ee(function*(){yield n.getSlideDimensions(u)}),300)}),n.gallery.listen("imageLoadComplete",function(){var c=Ee(function*(u,m){m.doGetSlideDimensions&&(yield n.getSlideDimensions(m))});return function(u,m){return c.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(e){var n=this;return Ee(function*(){if(!e.doGetSlideDimensions)return;const r=yield sR(e.src).catch(()=>null);e.doGetSlideDimensions=!1,e.w=r.naturalWidth,e.h=r.naturalHeight,n.gallery.invalidateCurrItems(),n.gallery.updateSize(!0)})()}}return i.\u0275fac=function(e){return new(e||i)(k(aR,8),k(kr),k(Oce))},i.\u0275dir=Oe({type:i,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),i})();function sR(i){return new Promise((t,e)=>{const n=new Image;n.onload=()=>t(n),n.onerror=r=>e(r),n.src=i})}let Pce=(()=>{class i{constructor(e,n){this.el=e,this.photoGalleryGroup=n}openPhotoSwipe(){var e=this;return Ee(function*(){yield e.photoGalleryGroup.openPhotoSwipe(e.id)})()}ngAfterContentInit(){this.id=this.photoGalleryTrackBy||this.imageUrl,this.photoGalleryGroup.registerGalleryItem({id:this.id,element:this.el.nativeElement,imageUrl:this.imageUrl,caption:this.photoGalleryCaption})}ngOnDestroy(){this.photoGalleryGroup.unregisterGalleryItem(this.id)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(oR))},i.\u0275dir=Oe({type:i,selectors:[["","photoGallery",""]],hostBindings:function(e,n){1&e&&fe("click",function(){return n.openPhotoSwipe()})},inputs:{imageUrl:["photoGallery","imageUrl"],photoGalleryTrackBy:"photoGalleryTrackBy",photoGalleryCaption:"photoGalleryCaption"}}),i})(),Bce=(()=>{class i{static forRoot(e){return{ngModule:i,providers:[{provide:aR,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();class th{constructor(t,e,n,r){this.options=t,this.profileService=e,this.utilities=n,this.dialog=r,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Ee(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Ee(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}th.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,th.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,th.regexpThisIsTheWay=/(?:thisistheway.gif)/g,th.\u0275fac=function(t){return new(t||th)(k(Tr),k(Tn),k(Qi),k(Fa))},th.\u0275cmp=qe({type:th,selectors:[["app-content-music"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:40,vars:0,consts:[[1,"music-list","feed-page"],[1,"events","clickable"],[1,"events-header"],[1,"music-item"],["src","https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["src","https://cdn.pixabay.com/audio/2022/10/14/13-08-36-813_200x200.png",1,"music-album"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["mat-flat-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"mat-card",1)(2,"div",2),Ce(3,"app-event-actions"),v()(),_(4,"div",3),Ce(5,"img",4),_(6,"div",5)(7,"div",6),L(8,"LifeLike"),v(),_(9,"div",7),L(10,"AlexiAction"),v(),_(11,"audio",8)(12,"a",9),L(13," Download audio "),v()()()(),_(14,"div",3),Ce(15,"img",4),_(16,"div",5)(17,"div",6),L(18,"EasyToLove"),v(),_(19,"div",7),L(20,"AlexiAction"),v(),_(21,"audio",10)(22,"a",11),L(23," Download audio "),v()()()(),_(24,"div",3),Ce(25,"img",12),_(26,"div",5)(27,"div",6),L(28,"CINIM - Brainfluid"),v(),_(29,"div",7),L(30,"CINIM"),v(),_(31,"audio",13)(32,"a",14),L(33," Download audio "),v()()()(),_(34,"button",15),fe("click",function(){return e.mediaConnect()}),L(35,"Connect Media Events"),v(),Ce(36,"br")(37,"br"),_(38,"button",15),fe("click",function(){return e.toggleMediaPlayer()}),L(39,"Toggle Media Player"),v()())},dependencies:[dr,Pa,Js],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2em;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}"]});class ih{constructor(t,e,n,r,a){this.media=t,this.options=e,this.profileService=n,this.utilities=r,this.dialog=a,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}play(t,e,n,r){this.media.play({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}queue(t,e,n,r){this.media.enque({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Ee(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Ee(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}ih.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,ih.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,ih.regexpThisIsTheWay=/(?:thisistheway.gif)/g,ih.\u0275fac=function(t){return new(t||ih)(k(Jd),k(Tr),k(Tn),k(Qi),k(Fa))},ih.\u0275cmp=qe({type:ih,selectors:[["app-content-podcast"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:83,vars:3,consts:[[1,"music-list","feed-page"],[1,"events"],[1,"events-header"],[1,"music-item"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],[1,"podcast-abstract"],["mat-icon-button","",1,"action-button",3,"click"],[1,"action-button-icon"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400",1,"music-album"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400",1,"music-album"],["menu","matMenu"],["disabled","disabled","mat-menu-item",""]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"mat-card",1)(2,"div",2)(3,"div",3),Ce(4,"img",4),_(5,"div",5)(6,"div",6),L(7,"Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'"),v(),_(8,"div",7),L(9,"@bennibtc"),v(),_(10,"div",8),L(11," I've recently been trying a new method of booking guests for the show, by posting a Calendly link, and allowing anyone who wishes to come on to book themselves in. I ask them to give a brief summary of what they'd like to discuss, and if it sounds interesting (and has nothing to do with shitcoins),... "),v()()(),_(12,"div")(13,"button",9),fe("click",function(){return e.play("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),_(14,"mat-icon",10),L(15,"play_arrow"),v()(),_(16,"button",9),fe("click",function(){return e.queue("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),_(17,"mat-icon",10),L(18,"playlist_add"),v()(),_(19,"button",11)(20,"mat-icon",10),L(21,"more_vert"),v()()()()(),_(22,"mat-card",1)(23,"div",2)(24,"div",3),Ce(25,"img",12),_(26,"div",5)(27,"div",6),L(28,"MADEIRA UPDATE w/ Andre, Niko, & Rob"),v(),_(29,"div",7),L(30,"Madeira Update"),v(),_(31,"div",8),L(32," At the bitcoin 2022 conference, the President of Madeira got on stage, and announced that Madeira was 'adopting' bitcoin. While this led to much excitement about another potential 'bitcoin citadel' emerging, it also left many questions. Since that time, a number of bitcoiners who are either from ... "),v()()(),_(33,"div")(34,"button",9),fe("click",function(){return e.play("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),_(35,"mat-icon",10),L(36,"play_arrow"),v()(),_(37,"button",9),fe("click",function(){return e.queue("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),_(38,"mat-icon",10),L(39,"playlist_add"),v()(),_(40,"button",11)(41,"mat-icon",10),L(42,"more_vert"),v()()()()(),_(43,"mat-card",1)(44,"div",2)(45,"div",3),Ce(46,"img",13),_(47,"div",5)(48,"div",6),L(49,"Bitcoin is a Source of Creative Inspiration w/ @ReelRichard"),v(),_(50,"div",7),L(51,"@reelrichard"),v(),_(52,"div",8),L(53," Richard is the creator of some of the most awesome bitcoin-inspired music videos, which are always a big hit with the \u2018bitcoin maximalists\u2019 on twitter. I really enjoy his work, and feel its another beautiful example of how bitcoin is inspiring people, and granting them the freedom, to express the... "),v()()(),_(54,"div")(55,"button",9),fe("click",function(){return e.play("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),_(56,"mat-icon",10),L(57,"play_arrow"),v()(),_(58,"button",9),fe("click",function(){return e.queue("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),_(59,"mat-icon",10),L(60,"playlist_add"),v()(),_(61,"button",11)(62,"mat-icon",10),L(63,"more_vert"),v()()(),_(64,"mat-menu",null,14)(66,"button",15)(67,"mat-icon"),L(68,"bookmark_add"),v(),_(69,"span"),L(70,"Add to queue"),v()(),_(71,"button",15)(72,"mat-icon"),L(73,"bookmark_remove"),v(),_(74,"span"),L(75,"Play now"),v()(),_(76,"button",15)(77,"mat-icon"),L(78,"ios_share"),v(),_(79,"span"),L(80,"Share"),v()()()()(),Ce(81,"br")(82,"br"),v()),2&t){const n=Li(65);E(19),S("matMenuTriggerFor",n),E(21),S("matMenuTriggerFor",n),E(21),S("matMenuTriggerFor",n)}},dependencies:[bo,Pa,Zn,_m,ed,u0],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 599px){.music-album[_ngcontent-%COMP%]{max-height:32px}}"]});const lR="Whopsidaisy, something unexpected happened.";class k0{transform(t){return t.pipe(_t(e=>({loading:"start"===e.type,error:"error"===e.type?lR:"",value:e.type?e.value:e})),Ur({loading:!0}),es(e=>Ht({loading:!1,error:"string"==typeof e?e:lR})))}}function Hce(i,t){1&i&&Ce(0,"app-content-music")}function Vce(i,t){1&i&&Ce(0,"app-content-podcast")}function Yce(i,t){}function jce(i,t){1&i&&(_(0,"div",12),L(1,"You must follow the user to automatically render photos."),v())}function zce(i,t){if(1&i&&(_(0,"div",15),Ce(1,"img",16),v()),2&i){const e=t.$implicit;S("photoGallery",e),E(1),S("src",e,on)}}function Uce(i,t){1&i&&ee(0,zce,2,2,"div",14),2&i&&S("ngForOf",Z().ngIf)}function Wce(i,t){if(1&i&&(_(0,"div",18),L(1),v()),2&i){const e=t.$implicit;E(1),yt(e)}}function Gce(i,t){1&i&&ee(0,Wce,2,1,"div",17),2&i&&S("ngForOf",Z().ngIf)}function qce(i,t){if(1&i&&(_(0,"span"),ee(1,Uce,1,1,"ng-template",0),ee(2,Gce,1,1,"ng-template",0),v()),2&i){const e=Z(5);E(1),S("ngIf",e.isFollowing),E(1),S("ngIf",!e.isFollowing)}}function $ce(i,t){if(1&i&&(_(0,"span"),ee(1,qce,3,2,"span",13),v()),2&i){const e=t.$implicit,n=Z(4);E(1),S("ngIf",n.parseToImage(e))}}k0.\u0275fac=function(t){return new(t||k0)},k0.\u0275pipe=Er({name:"withStatus",type:k0,pure:!0});const Kce=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function Zce(i,t){if(1&i&&(ee(0,jce,2,0,"div",9),Ce(1,"br"),_(2,"div",10),ee(3,$ce,2,1,"span",11),v()),2&i){const e=Z().ngIf,n=Z(2);S("ngIf",!n.isFollowing),E(2),S("photoGalleryGroup",zr(4,Kce)),E(1),S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function Qce(i,t){1&i&&Ce(0,"mat-spinner",19)}function Xce(i,t){1&i&&L(0),2&i&&qt("Error ",Z().ngIf.error,"")}function Jce(i,t){if(1&i&&(_(0,"div",8),ee(1,Zce,4,5,"ng-template",0),ee(2,Qce,1,0,"ng-template",0),ee(3,Xce,1,1,"ng-template",0),v()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function ede(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Show more..."),v()}}function tde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Loading more events... or there are nothing more to show..."),v()}}function ide(i,t){if(1&i){const e=Je();_(0,"mat-card",22),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),L(4),gi(5,"ago"),v(),Ce(6,"app-directory-icon",24),v(),Ce(7,"app-event-actions",26),v(),Ce(8,"app-content",27),v()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(yi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function nde(i,t){if(1&i&&ee(0,ide,9,8,"mat-card",21),2&i){const e=Z().ngIf,n=Z(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function rde(i,t){1&i&&Ce(0,"mat-spinner",19)}function ade(i,t){1&i&&L(0),2&i&&qt("Error ",Z().ngIf.error,"")}function ode(i,t){if(1&i&&(_(0,"div",8),ee(1,nde,1,2,"ng-template",0),ee(2,rde,1,0,"ng-template",0),ee(3,ade,1,1,"ng-template",0),v()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function sde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Show more..."),v()}}function lde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Loading more events... or there are nothing more to show..."),v()}}function cde(i,t){if(1&i){const e=Je();_(0,"mat-tab-group",2),fe("selectedTabChange",function(r){return Te(e),Ae(Z().onTabChanged(r))}),_(1,"mat-tab",3),ee(2,Jce,4,3,"div",4),gi(3,"async"),gi(4,"withStatus"),_(5,"div",5),ee(6,ede,2,0,"button",6),ee(7,tde,2,0,"button",6),v()(),_(8,"mat-tab",7),ee(9,ode,4,3,"div",4),gi(10,"async"),gi(11,"withStatus"),_(12,"div",5),ee(13,sde,2,0,"button",6),ee(14,lde,2,0,"button",6),v()()()}if(2&i){const e=Z();S("selectedIndex",e.tabIndex),E(2),S("ngIf",yi(3,7,yi(4,9,e.ui.rootEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),E(2),S("ngIf",yi(10,11,yi(11,13,e.ui.replyEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}function dde(i,t){if(1&i){const e=Je();_(0,"mat-card",22),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),L(4),gi(5,"ago"),v(),Ce(6,"app-directory-icon",24),v(),Ce(7,"app-event-actions",26),v(),Ce(8,"app-content",27),v()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(yi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function ude(i,t){if(1&i&&ee(0,dde,9,8,"mat-card",21),2&i){const e=Z().ngIf,n=Z(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function hde(i,t){1&i&&Ce(0,"mat-spinner",19)}function mde(i,t){1&i&&L(0),2&i&&qt("Error ",Z().ngIf.error,"")}function fde(i,t){if(1&i&&(_(0,"div",8),ee(1,ude,1,2,"ng-template",0),ee(2,hde,1,0,"ng-template",0),ee(3,mde,1,1,"ng-template",0),v()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function pde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Show more..."),v()}}function gde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Loading more events... or there are nothing more to show..."),v()}}function _de(i,t){if(1&i){const e=Je();_(0,"mat-card",22),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),L(4),gi(5,"ago"),v(),Ce(6,"app-directory-icon",24),v(),Ce(7,"app-event-actions",26),v(),Ce(8,"app-content",27),v()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(yi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function bde(i,t){if(1&i&&ee(0,_de,9,8,"mat-card",21),2&i){const e=Z().ngIf,n=Z(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function yde(i,t){1&i&&Ce(0,"mat-spinner",19)}function vde(i,t){1&i&&L(0),2&i&&qt("Error ",Z().ngIf.error,"")}function wde(i,t){if(1&i&&(_(0,"div",8),ee(1,bde,1,2,"ng-template",0),ee(2,yde,1,0,"ng-template",0),ee(3,vde,1,1,"ng-template",0),v()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function Fde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Show more..."),v()}}function xde(i,t){if(1&i){const e=Je();_(0,"button",20),fe("click",function(){return Te(e),Ae(Z(2).showMore())}),L(1,"Loading more events... or there are nothing more to show..."),v()}}function Cde(i,t){if(1&i){const e=Je();_(0,"mat-tab-group",2),fe("selectedTabChange",function(r){return Te(e),Ae(Z().onTabChanged(r))}),_(1,"mat-tab",3),ee(2,fde,4,3,"div",4),gi(3,"async"),gi(4,"withStatus"),_(5,"div",5),ee(6,pde,2,0,"button",6),ee(7,gde,2,0,"button",6),v()(),_(8,"mat-tab",7),ee(9,wde,4,3,"div",4),gi(10,"async"),gi(11,"withStatus"),_(12,"div",5),ee(13,Fde,2,0,"button",6),ee(14,xde,2,0,"button",6),v()()()}if(2&i){const e=Z();S("selectedIndex",e.tabIndex),E(2),S("ngIf",yi(3,7,yi(4,9,e.ui.rootEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),E(2),S("ngIf",yi(10,11,yi(11,13,e.ui.replyEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}var cR=new WeakSet;class iu{constructor(t,e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie){var Le=this;Cp(this,cR),this.navigation=t,this.appState=e,this.activatedRoute=n,this.cd=r,this.queueService=a,this.options=o,this.profiles=c,this.dataService=u,this.ui=m,this.validator=x,this.circleService=P,this.storage=K,this.utilities=ne,this.notesService=pe,this.router=ye,this.ngZone=Ie,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=Ht(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var it=Ee(function*(Be){if(!Be)return;Le.appState.updateTitle(Le.utilities.getProfileTitle(Le.ui.profile)),Le.imagePath=Le.ui.profile.picture||"/assets/profile.png",Le.circle=yield Le.circleService.get(Le.ui.profile.circle),Le.layout=Le.style?Number(Le.style):Le.circle?Le.circle.style:1,Le.isFollowing=Le.profiles.isFollowing(Be.pubkey);const ut=uv().subtract(5,"minutes").unix();(!Le.ui.profile.following||Le.ui.profile.retrieved&&Le.ui.profile.retrieved{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),Le.previousPubKey=Be.pubkey},50),Le.subscriptions.push(Le.navigation.showMore$.subscribe(()=>{Le.showMore()}))});return function(Be){return it.apply(this,arguments)}}()))}follow(){var t=this;return Ee(function*(){t.ui.profile.status=to.Follow,yield t.profiles.follow(t.ui.pubkey)})()}onTabChanged(t){this.router.navigate([],{queryParams:{t:t.index},replaceUrl:!0}),is(this,cR,kde).call(this)}parseToImage(t){return[...t.content.matchAll(iu.regexpImage)].map(n=>n[0])}showMore(){null==this.tabIndex||0==Number(this.tabIndex)?this.ui.updateRootEventsView(0,this.ui.viewCounts.rootEventsViewCount+this.pageSize):this.ui.updateReplyEventsView(0,this.ui.viewCounts.replyEventsViewCount+this.pageSize)}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.actions=[],this.appState.updateTitle(""),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var e=Ee(function*(n){t.tabIndex=n.t,t.style=n.s});return function(n){return e.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");if(t.ui.setPubKey(r),r.startsWith("npub")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/p",a])}else t.appState.updateTitle(t.utilities.getShortenedIdentifier(r))});return function(n){return e.apply(this,arguments)}}()))}optionsUpdated(){}activeOptions(){let t="";return t+=this.options.values.hideSpam?" Spam: Filtered":" Spam: Allowed",t+=this.options.values.hideInvoice?" Invoices: Hidden":" Invoices: Displayed",t}trackByFn(t,e){return e.id}ngOnDestroy(){this.ui.setPubKey(void 0),this.utilities.unsubscribe(this.subscriptions),this.profileSubscription&&this.profileSubscription.unsubscribe(),this.feedSubscription&&this.feedSubscription.unsubscribe()}}function kde(){}iu.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,iu.\u0275fac=function(t){return new(t||iu)(k(yo),k(Xi),k(us),k(oi),k(Oo),k(Tr),k(Tn),k(Ba),k(Zr),k(ts),k(Bo),k(ua),k(Qi),k(eu),k(qn),k(Rt))},iu.\u0275cmp=qe({type:iu,selectors:[["app-user"]],decls:6,vars:5,consts:[[3,"ngIf"],[3,"selectedIndex","selectedTabChange",4,"ngIf"],[3,"selectedIndex","selectedTabChange"],["label","Notes"],["class","feed-page",4,"ngIf"],[1,"show-more","centered"],["mat-button","",3,"click",4,"ngIf"],["label","Replies"],[1,"feed-page"],["class","dimmed",4,"ngIf"],[1,"image-grid",3,"photoGalleryGroup"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"dimmed"],[4,"ngIf"],["class","image-grid-item",3,"photoGallery",4,"ngFor","ngForOf"],[1,"image-grid-item",3,"photoGallery"],["loading","lazy",3,"src"],["class","image-grid-item",4,"ngFor","ngForOf"],[1,"image-grid-item"],[1,"loading"],["mat-button","",3,"click"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],[1,"event-date","clickable"],[3,"event","pubkey"],[3,"event"]],template:function(t,e){1&t&&(Ce(0,"app-profile-header"),ee(1,Hce,1,0,"ng-template",0),ee(2,Vce,1,0,"ng-template",0),ee(3,Yce,0,0,"ng-template",0),ee(4,cde,15,15,"mat-tab-group",1),ee(5,Cde,15,15,"mat-tab-group",1)),2&t&&(E(1),S("ngIf",5==e.layout),E(1),S("ngIf",6==e.layout),E(1),S("ngIf",2==e.layout),E(1),S("ngIf",3==e.layout),E(1),S("ngIf",1==e.layout))},dependencies:[yn,ri,dr,Pa,x0,nw,Wv,Pce,oR,Al,gs,Il,tu,Js,th,ih,Ts,el,k0],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const dR=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],Dde=["hueSlider"],Mde=["alphaSlider"];function Ede(i,t){if(1&i){const e=Je();_(0,"div",8),fe("newValue",function(r){return Te(e),Ae(Z().onSliderChange("saturation-lightness",r))}),_(1,"div",9),Ce(2,"div"),v()()}if(2&i){const e=Z();Kn("background-color",e.hueSliderColor),S("rgX",1)("rgY",1),E(1),Kn("top",null==e.slider?null:e.slider.v,"px")("left",null==e.slider?null:e.slider.s,"px")}}function Sde(i,t){if(1&i&&(_(0,"div",10),Ce(1,"div",11)(2,"div",12),v()),2&i){const e=Z();E(2),Kn("background-color",e.selectedColor)}}function Tde(i,t){if(1&i){const e=Je();_(0,"div",13,14),fe("newValue",function(r){return Te(e),Ae(Z().onSliderChange("hue",r))}),_(2,"div",15)(3,"div"),Ce(4,"div"),v()()()}if(2&i){const e=Z();S("rgX",1),E(2),Kn("left",null==e.slider?null:e.slider.h,"px")}}function Ade(i,t){if(1&i){const e=Je();_(0,"div",16,17),fe("newValue",function(r){return Te(e),Ae(Z().onSliderChange("alpha",r))}),Ce(2,"div",18),_(3,"div",15)(4,"div"),Ce(5,"div"),v()()()}if(2&i){const e=Z();S("rgX",1),E(2),S("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),E(1),Kn("left",null==e.slider?null:e.slider.a,"px")}}const Ide=["dialog"];function Lde(i,t){1&i&&Ce(0,"div",11)}function Nde(i,t){if(1&i){const e=Je();Dn(0),_(1,"div",8)(2,"div",9),fe("click",function(){const a=Te(e).$implicit;return Ae(Z(2).onColorClick(a))}),ee(3,Lde,1,0,"div",10),v()(),Mn()}if(2&i){const e=t.$implicit,n=t.index,r=Z(2);E(2),Mt("colornull",!e),S("ngStyle",r.getBackgroundColor(e)),E(1),S("ngIf",n==r.indexSeleccionado)}}function Ode(i,t){if(1&i&&Ce(0,"div",17),2&i){const e=Z(3);S("ngStyle",e.getBackgroundColor(e.color))}}function Rde(i,t){if(1&i){const e=Je();_(0,"div",12),fe("click",function(){return Te(e),Ae(Z(2).addColor())}),ee(1,Ode,1,1,"div",13),mo(),_(2,"svg",14),Ce(3,"path",15)(4,"path",16),v()()}if(2&i){const e=Z(2);E(1),S("ngIf",!e.indexSeleccionado)}}function Pde(i,t){if(1&i){const e=Je();_(0,"color-picker",18),fe("colorChange",function(r){return Te(e),Ae(Z(2).onChangeColorPicker(r))})("onAlphaChange",function(r){return Te(e),Ae(Z(2).onAlphaChange(r))}),v()}if(2&i){const e=Z(2);S("controls",e.colorPickerControls)("color",e.hsva)}}function Bde(i,t){if(1&i&&(Dn(0),_(1,"div",4),ee(2,Nde,4,4,"ng-container",5),ee(3,Rde,5,1,"div",6),ee(4,Pde,1,2,"color-picker",7),v(),Mn()),2&i){const e=Z();E(1),S("@colorsAnimation",e.colorsAnimationEffect),E(1),S("ngForOf",e.palette),E(1),S("ngIf",!e.hideColorPicker&&"only-alpha"!=e.colorPickerControls),E(1),S("ngIf",!e.hideColorPicker&&"only-alpha"==e.colorPickerControls)}}function Hde(i,t){1&i&&Ce(0,"div",11)}const Vde=function(i){return{background:i}};function Yde(i,t){if(1&i){const e=Je();mo(),pl(),Dn(0),_(1,"div",8)(2,"div",24),fe("click",function(){const a=Te(e).$implicit;return Ae(Z(2).changeColor(a))}),ee(3,Hde,1,0,"div",10),v()(),Mn()}if(2&i){const e=t.$implicit,n=Z(2);E(2),Mt("colornull",!e),S("ngStyle",wn(4,Vde,e)),E(1),S("ngIf",n.isSelected(e))}}function jde(i,t){if(1&i){const e=Je();Dn(0),_(1,"div",4)(2,"div",19)(3,"div",20),fe("click",function(){return Te(e),Ae(Z().onClickBack())}),mo(),_(4,"svg",21),Ce(5,"path",22)(6,"path",23),v()()(),ee(7,Yde,4,6,"ng-container",5),v(),Mn()}if(2&i){const e=Z();E(1),S("@colorsAnimation",e.colorsAnimationEffect),E(6),S("ngForOf",e.variants)}}function zde(i,t){if(1&i){const e=Je();Dn(0),_(1,"div",25)(2,"div",26),fe("click",function(){return Te(e),Ae(Z().onClickBack())}),mo(),_(3,"svg",21),Ce(4,"path",22)(5,"path",23),v()(),pl(),_(6,"button",27),fe("click",function(){return Te(e),Ae(Z().emitClose("cancel"))}),L(7),v(),_(8,"button",27),fe("click",function(){return Te(e),Ae(Z().emitClose("accept"))}),L(9),v()(),_(10,"div",28)(11,"color-picker",29),fe("sliderChange",function(r){return Te(e),Ae(Z().onChangeColorPicker(r))}),v()(),Mn()}if(2&i){const e=Z();E(7),qt(" ",e.cancelLabel," "),E(2),qt(" ",e.acceptLabel," "),E(2),S("controls",e.colorPickerControls)("color",e.hsva)}}function Ude(i,t){if(1&i){const e=Je();_(0,"div",30)(1,"p",31),fe("click",function(){return Te(e),Ae(Z().nextFormat())}),L(2),v(),_(3,"div",32)(4,"input",33,34),fe("keyup",function(){Te(e);const r=Li(5);return Ae(Z().changeColorManual(r.value))})("keydown.enter",function(){return Te(e),Ae(Z().emitClose("accept"))}),v()()()}if(2&i){const e=Z();E(2),yt(e.colorFormats[e.format]),E(2),Kn("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),S("value",e.color)}}var cc=(()=>(function(i){i[i.HEX=0]="HEX",i[i.RGBA=1]="RGBA",i[i.HSLA=2]="HSLA",i[i.CMYK=3]="CMYK"}(cc||(cc={})),cc))();const uR=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],rw=["hex","rgba","hsla"];class nh{constructor(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}denormalize(){return this.r=Math.round(255*this.r),this.g=Math.round(255*this.g),this.b=Math.round(255*this.b),this}toString(){return this.denormalize(),"rgb"+(1!=this.a?"a(":"(")+this.r+", "+this.g+", "+this.b+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class rh{constructor(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r,this.onChange=new lt(!0)}onColorChange(t){this.s=t.s/t.rgX,this.v=t.v/t.rgY}onHueChange(t){this.h=t.v/t.rgX}onValueChange(t){this.v=t.v/t.rgX}onAlphaChange(t){this.a=t.v/t.rgX}}class D0{constructor(t,e,n,r){this.h=t,this.s=e,this.l=n,this.a=r}denormalize(){return this.h=Math.round(360*this.h),this.s=Math.round(100*this.s),this.l=Math.round(100*this.l),this}toString(){return"hsl"+(1!=this.a?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class aw{constructor(t,e,n,r,a=1){this.c=t,this.m=e,this.y=n,this.k=r,this.a=a}}class Wde{constructor(t){t&&(this.preview=t.preview,this.variants=t.variants)}}let lM=(()=>{class i{constructor(){}toFormat(e,n){var r="";if(e)switch(n){case cc.HEX:(o=this.hsvaToRgba(e)).denormalize(),r=this.rgbaToHex(o,!0);break;case cc.HSLA:var a=this.hsva2hsla(e);a.denormalize(),r=a.toString();break;case cc.RGBA:r=(o=this.hsvaToRgba(e)).toString();break;case cc.CMYK:var o=this.hsvaToRgba(e);this.rgbaToCmyk(o)}return r}stringToFormat(e,n){var r=this.stringToHsva(e,!0);return this.toFormat(r,n)}hsva2hsla(e){const n=e.h,r=e.s,a=e.v,o=e.a;if(0===a)return new D0(n,0,0,o);if(0===r&&1===a)return new D0(n,1,1,o);{const c=a*(2-r)/2;return new D0(n,a*r/(1-Math.abs(2*c-1)),c,o)}}hsla2hsva(e){const n=Math.min(e.h,1),r=Math.min(e.s,1),a=Math.min(e.l,1),o=Math.min(e.a,1);if(0===a)return new rh(n,0,0,o);{const c=a+r*(1-Math.abs(2*a-1))/2;return new rh(n,2*(c-a)/c,c,o)}}hsvaToRgba(e){let n,r,a;const o=e.h,c=e.s,u=e.v,m=e.a,x=Math.floor(6*o),P=6*o-x,K=u*(1-c),ne=u*(1-P*c),pe=u*(1-(1-P)*c);switch(x%6){case 0:n=u,r=pe,a=K;break;case 1:n=ne,r=u,a=K;break;case 2:n=K,r=u,a=pe;break;case 3:n=K,r=ne,a=u;break;case 4:n=pe,r=K,a=u;break;case 5:n=u,r=K,a=ne;break;default:n=0,r=0,a=0}return new nh(n,r,a,m)}cmykToRgb(e){return new nh((1-e.c)*(1-e.k),(1-e.m)*(1-e.k),(1-e.y)*(1-e.k),e.a)}rgbaToCmyk(e){const n=1-Math.max(e.r,e.g,e.b);return 1===n?new aw(0,0,0,1,e.a):new aw((1-e.r-n)/(1-n),(1-e.g-n)/(1-n),(1-e.b-n)/(1-n),n,e.a)}rgbaToHsva(e){let n,r;const a=Math.min(e.r,1),o=Math.min(e.g,1),c=Math.min(e.b,1),u=Math.min(e.a,1),m=Math.max(a,o,c),x=Math.min(a,o,c),P=m,K=m-x;if(r=0===m?0:K/m,m===x)n=0;else{switch(m){case a:n=(o-c)/K+(o{class i{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new lt,this.dragStart=new lt,this.newValue=new lt,this.listenerMove=n=>this.move(n),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageX?e.pageX:e.touches[0].pageX)-n.left-window.pageXOffset}getY(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageY?e.pageY:e.touches[0].pageY)-n.top-window.pageYOffset}setCursor(e){const n=this.elRef.nativeElement.offsetWidth,r=this.elRef.nativeElement.offsetHeight,a=Math.max(0,Math.min(this.getX(e),n)),o=Math.max(0,Math.min(this.getY(e),r));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:a/n,v:1-o/r,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:o/r,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:a/n,rgX:this.rgX})}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["","slider",""]],hostBindings:function(e,n){1&e&&fe("mousedown",function(a){return n.mouseDown(a)})("touchstart",function(a){return n.touchStart(a)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),i})(),$de=(()=>{class i{constructor(e,n){this.service=e,this.cdr=n,this.color=new rh(0,1,1,1),this.controls="default",this.sliderChange=new lt(!1),this.onAlphaChange=new lt(!1),this.hsva=new rh(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new rh(0,1,1,1)),this.slider=new hR(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new Gde(this.hueSlider?.nativeElement.offsetWidth||140,220,130,this.alphaSlider?.nativeElement.offsetWidth||140),this.update()}onSliderChange(e,n){switch(e){case"saturation-lightness":this.hsva.onColorChange(n);break;case"hue":this.hsva.onHueChange(n);break;case"alpha":this.hsva.onAlphaChange(n),this.onAlphaChange.emit(n);break;case"value":this.hsva.onValueChange(n)}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),n=this.service.hsvaToRgba(new rh(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new hR(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return i.\u0275fac=function(e){return new(e||i)(k(lM),k(oi))},i.\u0275cmp=qe({type:i,selectors:[["color-picker"]],viewQuery:function(e,n){if(1&e&&(At(Dde,5),At(Mde,5)),2&e){let r;Qe(r=Xe())&&(n.hueSlider=r.first),Qe(r=Xe())&&(n.alphaSlider=r.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[Jn],decls:8,vars:4,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"slider","rgX","newValue"],["hueSlider",""],[1,"sliderCursor"],[1,"alpha",3,"slider","rgX","newValue"],["alphaSlider",""],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,n){1&e&&(_(0,"div",0,1),fe("click",function(a){return a.stopPropagation()}),ee(2,Ede,3,8,"div",2),_(3,"div",3),ee(4,Sde,3,2,"div",4),_(5,"div",5),ee(6,Tde,5,3,"div",6),ee(7,Ade,6,4,"div",7),v()()()),2&e&&(E(2),S("ngIf","only-alpha"!=n.controls),E(2),S("ngIf","only-alpha"!=n.controls),E(2),S("ngIf","only-alpha"!=n.controls),E(1),S("ngIf","no-alpha"!=n.controls))},dependencies:[ri,Ef,qde],styles:[".color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)}\n"],encapsulation:2}),i})(),Kde=(()=>{class i{click(e){this.isOutside(e)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(e,n){this.service=e,this.cdr=n,this.color="#000000",this.previewColor="#000000",this.hsva=new rh(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=uR,this.variants=[],this.colorFormats=rw,this.format=cc.HEX,this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(e){let n;if(this.color)for(let r=0;rwindow.innerWidth?n.right<250?window.innerWidth/2-125:n.right-250:n.left}}setPositionY(){const e=this.TriggerBBox.nativeElement.getBoundingClientRect(),n=this.panelRef.nativeElement.getBoundingClientRect();this.positionString=e.bottom+n.height>window.innerHeight?e.topn.toUpperCase()==this.previewColor.toUpperCase())}isSelected(e){return!!this.previewColor&&"string"==typeof e&&e.toUpperCase()==this.previewColor.toUpperCase()}getBackgroundColor(e){return"string"==typeof e?{background:e}:{background:e?.preview}}onAlphaChange(e){this.palette=this.ChangeAlphaOnPalette(e,this.palette)}ChangeAlphaOnPalette(e,n){var r=[];for(let a=0;a slide-in",[Od(":enter",fi({opacity:0}),{optional:!0}),Od(":enter",C6("10ms",[sr(".3s ease-in",Qg([fi({opacity:0,transform:"translatex(-50%)",offset:0}),fi({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),fi({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),lr("void => popup",[Od(":enter",fi({opacity:0,transform:"scale(0)"}),{optional:!0}),Od(":enter",C6("10ms",[sr("500ms ease-out",Qg([fi({opacity:.5,transform:"scale(.5)",offset:.3}),fi({opacity:1,transform:"scale(1.1)",offset:.8}),fi({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),i})();const mR={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let fR=(()=>{class i{constructor(e,n,r){this.resolver=e,this.applicationRef=n,this.injector=r}createPanel(e,n){null!=this.componentRef&&this.removePanel();const r=this.resolver.resolveComponentFactory(Kde);this.componentRef=r.create(this.injector),this.applicationRef.attachView(this.componentRef.hostView);const a=this.componentRef.hostView.rootNodes[0];return this.overlay=document.createElement("div"),this.overlay.id="ngx-colors-overlay",this.overlay.classList.add("ngx-colors-overlay"),this.overlay.classList.add(n),Object.keys(mR).forEach(o=>{this.overlay.style[o]=mR[o]}),e?document.getElementById(e).appendChild(this.overlay):document.body.appendChild(this.overlay),this.overlay.appendChild(a),this.componentRef}removePanel(){this.applicationRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.overlay.remove()}}return i.\u0275fac=function(e){return new(e||i)(Fe(pd),Fe(wd),Fe(qr))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),Zde=(()=>{class i{onClick(){this.openPanel()}constructor(e,n){this.triggerRef=e,this.panelFactory=n,this.color="",this.colorsAnimation="slide-in",this.position="bottom",this.attachTo=void 0,this.overlayClassName=void 0,this.colorPickerControls="default",this.acceptLabel="ACCEPT",this.cancelLabel="CANCEL",this.change=new lt,this.input=new lt,this.slider=new lt,this.close=new lt,this.open=new lt,this.isDisabled=!1,this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{}}openPanel(){this.isDisabled||(this.panelRef=this.panelFactory.createPanel(this.attachTo,this.overlayClassName),this.panelRef.instance.iniciate(this,this.triggerRef,this.color,this.palette,this.colorsAnimation,this.format,this.hideTextInput,this.hideColorPicker,this.acceptLabel,this.cancelLabel,this.colorPickerControls,this.position)),this.open.emit(this.color)}closePanel(){this.panelFactory.removePanel(),this.onTouchedCallback(),this.close.emit(this.color)}onChange(){this.onChangeCallback(this.color)}setDisabledState(e){this.isDisabled=e,this.triggerRef.nativeElement.style.opacity=e?.5:1}setColor(e){this.writeValue(e),this.input.emit(e)}sliderChange(e){this.slider.emit(e)}get value(){return this.color}set value(e){this.setColor(e),this.onChangeCallback(e)}writeValue(e){e!==this.color&&(this.color=e,this.onChange(),this.change.emit(e))}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(fR))},i.\u0275dir=Oe({type:i,selectors:[["","ngx-colors-trigger",""]],hostBindings:function(e,n){1&e&&fe("click",function(){return n.onClick()})},inputs:{colorsAnimation:"colorsAnimation",palette:"palette",format:"format",position:"position",hideTextInput:"hideTextInput",hideColorPicker:"hideColorPicker",attachTo:"attachTo",overlayClassName:"overlayClassName",colorPickerControls:"colorPickerControls",acceptLabel:"acceptLabel",cancelLabel:"cancelLabel"},outputs:{change:"change",input:"input",slider:"slider",close:"close",open:"open"},features:[Nt([{provide:Ca,useExisting:hi(()=>i),multi:!0}])]}),i})(),Qde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[lM,fR],imports:[Dr]}),i})();function Xde(i,t){if(1&i&&(_(0,"mat-option",11),L(1),v()),2&i){const e=t.$implicit;S("value",e.id),E(1),qt(" ",e.name," ")}}class M0{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.styles=dR,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}M0.\u0275fac=function(t){return new(t||M0)(k(Xi),k(hs),k(Ks))},M0.\u0275cmp=qe({type:M0,selectors:[["create-circle-dialog"]],decls:33,vars:11,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content",""],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["appearance","fill",1,"circle-input"],["matPrefix","","ngx-colors-trigger","",1,"color",3,"ngModel","ngModelChange"],["matInput","",3,"ngModel","ngModelChange"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),L(2,"Create Circle"),v(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),L(6,"supervised_user_circle"),v(),_(7,"mat-label"),L(8,"Circle Name"),v(),_(9,"input",5),fe("ngModelChange",function(r){return e.data.name=r}),v()(),_(10,"mat-form-field",6)(11,"div",7),fe("ngModelChange",function(r){return e.data.color=r}),v(),_(12,"mat-label"),L(13,"Color"),v(),_(14,"input",8),fe("ngModelChange",function(r){return e.data.color=r}),v()(),_(15,"mat-form-field",6)(16,"mat-label"),L(17,"Type"),v(),_(18,"mat-select",9),fe("valueChange",function(r){return e.data.style=r}),ee(19,Xde,2,2,"mat-option",10),v()(),_(20,"mat-form-field",6)(21,"mat-label"),L(22,"Visibility"),v(),_(23,"mat-select",9),fe("valueChange",function(r){return e.data.public=r}),_(24,"mat-option",11),L(25," Public "),v(),_(26,"mat-option",11),L(27," Private "),v()()()(),_(28,"div",12)(29,"button",13),fe("click",function(){return e.onNoClick()}),L(30,"Cancel"),v(),_(31,"button",14),L(32,"Save"),v()()()),2&t&&(E(9),S("ngModel",e.data.name),E(2),Kn("background",e.data.color),S("ngModel",e.data.color),E(3),S("ngModel",e.data.color),E(4),S("value",e.data.style),E(1),S("ngForOf",e.styles),E(4),S("value",e.data.public),E(1),S("value",!0),E(2),S("value",!1),E(5),S("mat-dialog-close",e.data))},dependencies:[yn,Do,Ra,eo,Kc,dr,w0,Du,Zn,ka,ha,Da,qh,$h,Dl,Yc,Zde],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.circle[_ngcontent-%COMP%]{cursor:pointer}.circle[_ngcontent-%COMP%]:hover{color:#fff}.color[_ngcontent-%COMP%]{width:24px;height:24px;border:2px solid #fff;margin:12px;border-radius:50%}.circle-input[_ngcontent-%COMP%]{margin-right:1em}@media only screen and (max-width: 540px){.circle-input[_ngcontent-%COMP%]{margin-right:0;width:100%}}"]});let E0=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Ct(e)}get inset(){return this._inset}set inset(e){this._inset=Ct(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){2&e&&(Lt("aria-orientation",n.vertical?"vertical":"horizontal"),Mt("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),i})(),Jde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Jt]}),i})();const cM=["*"],dM='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',pR=["unscopedContent"],eue=["text"],tue=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],iue=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function nue(i,t){1&i&&vt(0,4)}function rue(i,t){if(1&i&&(_(0,"div",11),Ce(1,"input",12),_(2,"div",13),mo(),_(3,"svg",14),Ce(4,"path",15),v(),pl(),Ce(5,"div",16),v()()),2&i){const e=Z();Mt("mdc-checkbox--disabled",e.disabled),E(1),S("checked",e.selected)("disabled",e.disabled)}}function aue(i,t){if(1&i&&(_(0,"div",17),Ce(1,"input",18),_(2,"div",19),Ce(3,"div",20)(4,"div",21),v()()),2&i){const e=Z();Mt("mdc-radio--disabled",e.disabled),E(1),S("checked",e.selected)("disabled",e.disabled)}}function oue(i,t){}function sue(i,t){if(1&i&&(_(0,"span",22),ee(1,oue,0,0,"ng-template",23),v()),2&i){Z();const e=Li(3);E(1),S("ngTemplateOutlet",e)}}function lue(i,t){}function cue(i,t){if(1&i&&(_(0,"span",24),ee(1,lue,0,0,"ng-template",23),v()),2&i){Z();const e=Li(5);E(1),S("ngTemplateOutlet",e)}}function due(i,t){}function uue(i,t){1&i&&ee(0,due,0,0,"ng-template",23),2&i&&(Z(),S("ngTemplateOutlet",Li(1)))}function hue(i,t){}function mue(i,t){if(1&i&&(_(0,"span",25),ee(1,hue,0,0,"ng-template",23),v()),2&i){Z();const e=Li(3);E(1),S("ngTemplateOutlet",e)}}function fue(i,t){}function pue(i,t){if(1&i&&(_(0,"span",25),ee(1,fue,0,0,"ng-template",23),v()),2&i){Z();const e=Li(5);E(1),S("ngTemplateOutlet",e)}}function gue(i,t){}function _ue(i,t){1&i&&ee(0,gue,0,0,"ng-template",23),2&i&&(Z(),S("ngTemplateOutlet",Li(1)))}const bue=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],yue=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],gR=new Ze("ListOption");let ow=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),i})(),sw=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(pt))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),i})(),_R=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),i})(),bR=(()=>{class i{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return i.\u0275fac=function(e){return new(e||i)(k(gR,8))},i.\u0275dir=Oe({type:i,hostVars:4,hostBindings:function(e,n){2&e&&Mt("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),i})(),lw=(()=>{class i extends bR{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[st]}),i})(),uM=(()=>{class i extends bR{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[st]}),i})();const vue=new Ze("MAT_LIST_CONFIG");let ah=(()=>{class i{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=ii(vue,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,hostVars:1,hostBindings:function(e,n){2&e&&Lt("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),i})(),hM=(()=>{class i{set lines(e){this._explicitLines=vr(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=Ct(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){this._elementRef=e,this._ngZone=n,this._listBase=r,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new C,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=o||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===c,r&&!r._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new jf(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Bn(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===n),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===n),this._hasUnscopedTextContent){const a=0===this._titles.length&&1===n;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(ah,8),k(Hn),k(Ld,8),k(Nn,8))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(ui(r,lw,4),ui(r,uM,4)),2&e){let a;Qe(a=Xe())&&(n._avatars=a),Qe(a=Xe())&&(n._icons=a)}},hostVars:3,hostBindings:function(e,n){2&e&&(Lt("aria-disabled",n.disabled),Mt("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),i})(),wue=(()=>{class i extends ah{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Nt([{provide:ah,useExisting:i}]),st],ngContentSelectors:cM,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},styles:[dM],encapsulation:2,changeDetection:0}),i})(),mM=(()=>{class i extends hM{get activated(){return this._activated}set activated(e){this._activated=Ct(e)}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(ah,8),k(Hn),k(Ld,8),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,n,r){if(1&e&&(ui(r,sw,5),ui(r,ow,5),ui(r,_R,5)),2&e){let a;Qe(a=Xe())&&(n._lines=a),Qe(a=Xe())&&(n._titles=a),Qe(a=Xe())&&(n._meta=a)}},viewQuery:function(e,n){if(1&e&&(At(pR,5),At(eue,5)),2&e){let r;Qe(r=Xe())&&(n._unscopedContent=r.first),Qe(r=Xe())&&(n._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,n){2&e&&(Lt("aria-current",n._getAriaCurrent()),Mt("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",0!==n._avatars.length)("mdc-list-item--with-leading-icon",0!==n._icons.length)("mdc-list-item--with-trailing-meta",0!==n._meta.length)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[st],ngContentSelectors:iue,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,n){1&e&&(Pi(tue),vt(0),_(1,"span",0),vt(2,1),vt(3,2),_(4,"span",1,2),fe("cdkObserveContent",function(){return n._updateItemLines(!0)}),vt(6,3),v()(),vt(7,4),vt(8,5),Ce(9,"div",3))},dependencies:[Nf],encapsulation:2,changeDetection:0}),i})();const yR=new Ze("SelectionList");let vR=(()=>{class i extends hM{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const n=Ct(e);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,n,r,a,o,c,u){super(e,n,r,a,c,u),this._selectionList=r,this._changeDetectorRef=o,this.selectedChange=new lt,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,n){return this._getTogglePosition()!==n&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt),k(yR),k(Hn),k(oi),k(Ld,8),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-list-option"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,sw,5),ui(r,ow,5)),2&e){let a;Qe(a=Xe())&&(n._lines=a),Qe(a=Xe())&&(n._titles=a)}},viewQuery:function(e,n){if(1&e&&At(pR,5),2&e){let r;Qe(r=Xe())&&(n._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,n){1&e&&fe("blur",function(){return n._handleBlur()})("click",function(){return n._toggleOnInteraction()}),2&e&&(Lt("aria-selected",n.selected),Mt("mdc-list-item--selected",n.selected&&!n._selectionList.multiple&&n._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",n._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",n._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",n._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",n._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",n._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",n._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",n._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",n._hasRadioAt("after"))("mat-accent","primary"!==n.color&&"warn"!==n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable",n._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[Nt([{provide:hM,useExisting:i},{provide:gR,useExisting:i}]),st],ngContentSelectors:yue,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,n){1&e&&(Pi(bue),ee(0,nue,1,0,"ng-template",null,0,ko),ee(2,rue,6,4,"ng-template",null,1,ko),ee(4,aue,5,4,"ng-template",null,2,ko),ee(6,sue,2,1,"span",3),ee(7,cue,2,1,"span",4),ee(8,uue,1,1,"ng-template",5),_(9,"span",6),vt(10),vt(11,1),_(12,"span",7,8),fe("cdkObserveContent",function(){return n._updateItemLines(!0)}),vt(14,2),v()(),ee(15,mue,2,1,"span",9),ee(16,pue,2,1,"span",9),ee(17,_ue,1,1,"ng-template",5),vt(18,3),Ce(19,"div",10)),2&e&&(E(6),S("ngIf",n._hasCheckboxAt("before")),E(1),S("ngIf",n._hasRadioAt("before")),E(1),S("ngIf",n._hasIconsOrAvatarsAt("before")),E(7),S("ngIf",n._hasCheckboxAt("after")),E(1),S("ngIf",n._hasRadioAt("after")),E(1),S("ngIf",n._hasIconsOrAvatarsAt("after")))},dependencies:[Nf,ri,Sf],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),i})(),fM=(()=>{class i extends ah{constructor(){super(...arguments),this._isNonInteractive=!1}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[Nt([{provide:ah,useExisting:i}]),st],ngContentSelectors:cM,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},styles:[dM],encapsulation:2,changeDetection:0}),i})();const Fue={provide:Ca,useExisting:hi(()=>wR),multi:!0};class xue{constructor(t,e){this.source=t,this.options=e}}let wR=(()=>{class i extends ah{get multiple(){return this._multiple}set multiple(e){const n=Ct(e);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new qv(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e)}constructor(e,n){super(),this._element=e,this._ngZone=n,this._initialized=!1,this._destroyed=new He,this._onChange=r=>{},this.selectionChange=new lt,this.color="accent",this.compareWith=(r,a)=>r===a,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new qv(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const a=this._items.toArray().findIndex(o=>o._elementRef.nativeElement.contains(r.target));a>-1?this._setActiveOption(a):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const n=e.disabled,r=e.disableRipple,a=e.hideSingleSelectionIndicator;(r&&!r.firstChange||n&&!n.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new xue(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=Ct(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(ai(this._destroyed)).subscribe(e=>{for(let n of e.added)n.selected=!0;for(let n of e.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(n=>n._setSelected(!1)),e.forEach(n=>{const r=this.options.find(a=>!a.selected&&this.compareWith(a.value,n));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,n){const r=[];return this.options.forEach(a=>{(!n||!a.disabled)&&a._setSelected(e)&&r.push(a)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const n=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!n||n.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&ya(e,"ctrlKey")){const r=this.options.some(a=>!a.disabled&&!a.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),n._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new Ug(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(ai(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((n,r)=>n._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=zb();return e&&this._element.nativeElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-selection-list"]],contentQueries:function(e,n,r){if(1&e&&ui(r,vR,5),2&e){let a;Qe(a=Xe())&&(n._items=a)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,n){1&e&&fe("keydown",function(a){return n._handleKeydown(a)}),2&e&&Lt("aria-multiselectable",n.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Nt([Fue,{provide:ah,useExisting:i},{provide:yR,useExisting:i}]),st,Jn],ngContentSelectors:cM,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},styles:[dM],encapsulation:2,changeDetection:0}),i})(),Cue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[zg,Dr,Jt,qs,b6,Jde]}),i})();class S0{constructor(){}transform(t){return t?dR.find(e=>e.id==t)?.name:"Pipes"}}function kue(i,t){1&i&&(_(0,"span"),L(1,"Public"),v())}function Due(i,t){1&i&&(_(0,"span"),L(1,"Private"),v())}function Mue(i,t){if(1&i){const e=Je();_(0,"button",14),fe("click",function(){Te(e);const r=Z().$implicit;return Ae(Z().deleteCircle(r.id))}),_(1,"mat-icon"),L(2,"delete"),v(),_(3,"span"),L(4,"Delete Circle"),v()()}}function Eue(i,t){if(1&i){const e=Je();_(0,"mat-card",2),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z().navigation.openFeed(r,o))}),_(1,"div",3)(2,"mat-icon",4),L(3,"trip_origin"),v()(),_(4,"div",5),L(5),Ce(6,"br"),_(7,"span",6)(8,"span"),L(9),v()(),Ce(10,"br"),_(11,"span",6),ee(12,kue,2,0,"span",7),ee(13,Due,2,0,"span",7),L(14),gi(15,"circlestyle"),gi(16,"ago"),v()(),_(17,"div",5)(18,"button",8)(19,"mat-icon",9),L(20,"more_vert"),v()(),_(21,"mat-menu",null,10)(23,"button",11)(24,"mat-icon"),L(25,"copy_all"),v(),_(26,"span"),L(27,"Copy"),v()(),ee(28,Mue,5,0,"button",12),v(),_(29,"mat-menu",null,13)(31,"button",14),fe("click",function(){const a=Te(e).$implicit;return Ae(Z().copyPubKeys(a))}),_(32,"mat-icon"),L(33,"content_copy"),v(),_(34,"span"),L(35,"Public Keys (npub)"),v()(),_(36,"button",14),fe("click",function(){const a=Te(e).$implicit;return Ae(Z().copyPubKeysHex(a))}),_(37,"mat-icon"),L(38,"content_copy"),v(),_(39,"span"),L(40,"Public Keys (hex)"),v()()()()()}if(2&i){const e=t.$implicit,n=Li(22),r=Li(30),a=Z();E(2),Kn("color",e.color),E(3),qt(" ",e.name,""),E(4),qt("Count: ",a.countMembers(e),""),E(3),S("ngIf",e.public),E(1),S("ngIf",!e.public),E(1),yd(" - ",yi(15,11,e.style)," - Created: ",yi(16,13,e.created),""),E(4),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(5),S("ngIf",e.id)}}S0.\u0275fac=function(t){return new(t||S0)},S0.\u0275pipe=Er({name:"circlestyle",type:S0,pure:!0});class T0{constructor(t,e,n,r,a,o,c,u,m,x,P,K,ne){this.navigation=t,this.appState=e,this.circleService=n,this.profileService=r,this.dialog=a,this.validator=o,this.utilities=c,this.authService=u,this.router=m,this.dataService=x,this.snackBar=P,this.cd=K,this.ngZone=ne,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(t){var e=this;return Ee(function*(){const n=e.getFollowingInCircle(t).map(a=>a.pubkey);yield e.circleService.delete(t);for(var r=0;rnull==e.circle||0==e.circle:e=>e.circle==t)}copyPubKeys(t){let e=this.getPublicKeys(t);e=e.map(n=>this.utilities.getNostrIdentifier(n)),this.copy(JSON.stringify(e))}copyPubKeysHex(t){const e=this.getPublicKeys(t);this.copy(JSON.stringify(e))}getPublicKeys(t){return this.getFollowingInCircle(t.id).map(r=>r.pubkey)}getPublicPublicKeys(){console.log(this.profileService.following);const t=[];for(let e=0;eo.pubkey);t.push(...a)}}return t}getNpub(t){return this.utilities.getNostrIdentifier(t)}createCircle(){var t=this;this.dialog.open(M0,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){r&&t.circleService.put(r)});return function(r){return n.apply(this,arguments)}}())}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Circles"),t.appState.showBackButton=!1,t.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{t.createCircle()}}]})()}}T0.\u0275fac=function(t){return new(t||T0)(k(yo),k(Xi),k(Bo),k(Tn),k(Fa),k(ts),k(Qi),k(Na),k(qn),k(Ba),k(ms),k(oi),k(Rt))},T0.\u0275cmp=qe({type:T0,selectors:[["app-circles"]],decls:4,vars:1,consts:[[1,"feed-page"],["class","circle circle-container clickable",3,"click",4,"ngFor","ngForOf"],[1,"circle","circle-container","clickable",3,"click"],[1,"circle-item"],["matListItemIcon",""],[1,"circle-item","clickable"],[1,"dimmed","clickable"],[4,"ngIf"],["mat-icon-button","",1,"circle-button",3,"matMenuTriggerFor"],[1,"circle-button-icon"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,Eue,41,15,"mat-card",1),_(2,"small"),L(3,"Circles is how you organize people you follow. Different circles can have different rules applied and circles is an important way to make the experience more enjoyable."),v()()),2&t&&(E(1),S("ngForOf",e.circleService.circles))},dependencies:[yn,ri,bo,Pa,Zn,uM,_m,ed,u0,el,S0],styles:[".loading[_ngcontent-%COMP%]{margin:auto}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.search[_ngcontent-%COMP%]{margin-top:1em;padding:1em 1em 0;margin-bottom:1em;border-radius:10px}.circle-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center;column-gap:1em;margin-top:1em;padding:1em;margin-bottom:1em;border-radius:10px}.circle-item[_ngcontent-%COMP%]:nth-child(1){order:0;flex:0 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(2){order:0;flex:1 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(3){order:0;flex:0 1 auto;align-self:auto}.circle-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:.4em;margin-bottom:.4em}"]});class A0{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}A0.\u0275fac=function(t){return new(t||A0)(k(hs),k(Ks))},A0.\u0275cmp=qe({type:A0,selectors:[["create-follow-dialog"]],decls:15,vars:2,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),L(2,"Enter Public Key or Alias (NIP-05) to Follow"),v(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),L(6,"person_add"),v(),_(7,"mat-label"),L(8,"Public Key / Alias"),v(),_(9,"input",5),fe("ngModelChange",function(r){return e.data.pubkey=r}),v()()(),_(10,"div",6)(11,"button",7),fe("click",function(){return e.onNoClick()}),L(12,"Cancel"),v(),_(13,"button",8),L(14,"Follow"),v()()()),2&t&&(E(9),S("ngModel",e.data.pubkey),E(4),S("mat-dialog-close",e.data))},dependencies:[Do,Ra,eo,Kc,dr,Zn,ka,ha,Da,qh,$h,Dl,Yc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class I0{constructor(t,e,n){this.eventService=t,this.dialogRef=e,this.data=n}onNoClick(){this.data.pubkey="",this.dialogRef.close()}import(){this.data.import=!0,this.dialogRef.close(this.data)}onFileSelected(t){var e=t.target.files[0],n=new FileReader;n.onload=()=>{const r=JSON.parse(n.result),a=this.eventService.pTags(r).map(o=>o[1]);this.data.pubkeys=a,this.dialogRef.close(this.data)},n.readAsText(e)}}function Sue(i,t){if(1&i&&(_(0,"span",23),L(1),gi(2,"ago"),v()),2&i){const e=Z().$implicit;E(1),qt("Followed ",yi(2,1,e.created),"")}}function Tue(i,t){if(1&i){const e=Je();_(0,"mat-card",17),fe("click",function(r){const o=Te(e).$implicit;return Ae(Z(3).navigation.openProfile(r,o))}),_(1,"div",18)(2,"app-event-header",19)(3,"small"),ee(4,Sue,3,3,"span",20),Ce(5,"app-directory-icon",21),v()(),Ce(6,"app-profile-actions",19),v(),_(7,"div",22),L(8),v()()}if(2&i){const e=t.$implicit;E(2),S("profile",e),E(2),S("ngIf",e.created),E(1),S("pubkey",e.pubkey),E(1),S("profile",e),E(2),yt(e.about)}}function Aue(i,t){if(1&i&&ee(0,Tue,9,5,"mat-card",16),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Iue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function Lue(i,t){if(1&i&&ee(0,Iue,1,5,"app-event-header",24),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Nue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function Oue(i,t){if(1&i&&ee(0,Nue,1,5,"app-event-header",24),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Rue(i,t){if(1&i&&Ce(0,"app-event-header",27),2&i){const e=t.$implicit;S("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function Pue(i,t){if(1&i&&ee(0,Rue,1,4,"app-event-header",26),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Bue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function Hue(i,t){if(1&i&&ee(0,Bue,1,5,"app-event-header",24),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Vue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",e)}}function Yue(i,t){if(1&i&&ee(0,Vue,1,5,"app-event-header",24),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function jue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",e)}}function zue(i,t){if(1&i&&ee(0,jue,1,5,"app-event-header",24),2&i){const e=Z(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Uue(i,t){if(1&i&&(ee(0,Aue,1,2,"ng-template",14),ee(1,Lue,1,2,"ng-template",14),ee(2,Oue,1,2,"ng-template",14),ee(3,Pue,1,2,"ng-template",14),ee(4,Hue,1,2,"ng-template",14),ee(5,Yue,1,2,"ng-template",14),ee(6,zue,1,2,"ng-template",14)),2&i){const e=Z();S("ngIf",0==e.optionsService.values.peopleDisplayView||null==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",1==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",2==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",3==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",4==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",5==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",6==e.optionsService.values.peopleDisplayView)}}function Wue(i,t){1&i&&Ce(0,"mat-spinner",28)}I0.\u0275fac=function(t){return new(t||I0)(k(Ro),k(hs),k(Ks))},I0.\u0275cmp=qe({type:I0,selectors:[["import-follow-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["mat-stroked-button","",3,"click"],["type","file","accept",".json",3,"change"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"]],template:function(t,e){1&t&&(_(0,"h1",0),L(1,"Import complete following list"),v(),_(2,"div",1)(3,"p"),L(4,"Choose if you want to import from your latest contacts event or from file (backup) on your device."),v(),_(5,"p")(6,"button",2),fe("click",function(){return e.import()}),L(7,"Import my latest contacts"),v()(),_(8,"p"),L(9," Import from file: "),_(10,"input",3),fe("change",function(r){return e.onFileSelected(r)}),v()()(),_(11,"div",4)(12,"button",2),fe("click",function(){return e.onNoClick()}),L(13,"Cancel"),v()())},dependencies:[dr,$h,Dl,Yc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const Gue=function(i){return[i]};class L0{constructor(t,e,n,r,a,o,c,u,m,x,P,K){this.circleService=t,this.navigation=e,this.appState=n,this.cd=r,this.dialog=a,this.profileService=o,this.validator=c,this.dataService=u,this.utilities=m,this.router=x,this.snackBar=P,this.optionsService=K,this.loading=!1,this.showBlocked=!1,this.showCached=!1,this.showMuted=!1,this.showAbout=!0,this.showFollowingDate=!0,this.following=[],this.items=[],this.sortedItems=[],this.selected="name-asc",this.subscriptions=[]}updateSorting(){this.optionsService.save();const t=this.optionsService.values.peopleDisplaySort;"name-asc"===t?this.sortedItems=this.items.sort((e,n)=>e.name?.toLowerCase()e.name?.toLowerCase()e.followede.followede.created_ate.created_at{t.createFollow()}}],yield t.load(),t.subscriptions.push(t.profileService.following$.subscribe(Ee(function*(){console.log("FOLLOWING CHANGED!!!"),yield t.load()}))),t.subscriptions.push(t.profileService.profilesChanged$.subscribe(Ee(function*(){console.log("profileService.profilesChanged$!!"),yield t.load()})))})()}getFollowingInCircle(t){return this.following.filter(null==t?e=>null==e.circle||0==e.circle:e=>e.circle==t)}getPublicPublicKeys(){console.log(this.following);const t=[];for(let e=0;eo.pubkey);t.push(...a)}}return t}addFollow(t){var e=this;return Ee(function*(){t.startsWith("nsec")?e.snackBar.open("This is a private key, not a public key.","Hide",{horizontalPosition:"center",verticalPosition:"bottom"}):(t=e.utilities.ensureHexIdentifier(t),yield e.profileService.follow(t))})()}createFollow(){var t=this;this.dialog.open(A0,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){if(!r)return;let a=r.pubkey;a=a.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const o=a.split(",");for(let c=0;c-1){o[c].startsWith("@")&&(o[c]=o[c].substring(1));const u=yield Zk.queryProfile(o[c]);if(!u)return void t.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});o[c]=u.pubkey}yield t.addFollow(o[c])}setTimeout(()=>{t.router.navigate(["/p",o[0]])},100)});return function(r){return n.apply(this,arguments)}}())}publishFollowList(){var t=this;return Ee(function*(){const e=t.getPublicPublicKeys();yield t.dataService.publishContacts(e),t.snackBar.open(`A total of ${e.length} was added to your public following list`,"Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}downloadFollowing(){var t=this;return Ee(function*(){const e=yield t.dataService.getContactsAndRelays(),n=JSON.stringify(e),r=new Blob([n],{type:"application/json"}),a=document.createElement("a");a.href=URL.createObjectURL(r),a.download=`metadata-${t.appState.getPublicKey()}.json`,a.click()})()}importFollowList(){var t=this;return Ee(function*(){t.dialog.open(I0,{data:{pubkey:t.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){if(r)if(t.snackBar.open("Importing followers process has started","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"}),r.import){const a=yield t.profileService.getProfile(t.appState.getPublicKey());if(!a||!a.following)return;for(let o=0;o{u&&this.buildTree(u)}),this.ui.event$.subscribe(u=>{if(null==u)return;let m=this.eventService.rootEventId(u);m||(m=u.id),this.eventService.parentEventId(u)})}getEvent(t){return this.ui.events.find(e=>e.id==t)}getTreeEntry(t){return this.ui.getThreadEntry(t)}buildTree(t){t.length>1e3&&console.log("There are more than 1000 events... likely spam!")}replyEventId(t,e){for(let n=0;n3&&"reply"==r[3])return r[1]}return null==t[1]?t[0][1]:t[1][1]}rootEventId(t){for(let e=0;e3&&"root"==n[3])return n[1]}return t[0][1]}loadEventThread(t){this.navigationService.currentThread=[]}}function que(i,t){if(1&i&&Ce(0,"img",13),2&i){const e=Z().$implicit;S("matTooltip",e.profile.about)("src",e.profile.picture,on)}}function $ue(i,t){if(1&i&&Ce(0,"img",14),2&i){const e=Z().$implicit;S("matTooltip",e.profile.about)("src",e.profile.picture,on)}}function Kue(i,t){if(1&i&&(_(0,"div",3)(1,"div",4)(2,"div",5),ee(3,que,1,2,"img",6),ee(4,$ue,1,2,"img",7),v(),_(5,"div",8)(6,"div",9)(7,"span",10),L(8),v()()()(),_(9,"div",11)(10,"span",12),L(11),v()()()),2&i){const e=t.$implicit,n=Z();E(3),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==n.profile?null:n.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(3),Mt("muted",2==e.profile.status),S("matTooltip",e.profile.display_name),E(1),yt(e.profile.display_name),E(3),qt(" \u26a1\ufe0f ",e.zap.amount,"")}}td.\u0275fac=function(t){return new(t||td)(Fe(Zr),Fe(ua),Fe(Oo),Fe(Ro),Fe(Tn),Fe(Ba),Fe(yo))},td.\u0275prov=Ke({token:td,factory:td.\u0275fac,providedIn:"root"});class N0{constructor(t,e,n,r){this.data=t,this.util=e,this.profileServ=n,this.dialogRef=r,this.minSendable=0,this.maxSendable=0,this.amount=0,this.comment="",this.payRequest=null,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.error="",this.zappers=[]}ngOnInit(){var t=this;return Ee(function*(){(t.data.zaps?t.data.zaps:[]).forEach(function(){var n=Ee(function*(r){let a=r.zapper;null!=a&&t.profileServ.getProfile(a).then(function(){var o=Ee(function*(c){c.display_name=c.display_name||c.name||t.util.getNostrIdentifier(c.pubkey),t.zappers.push({profile:c,zap:r})});return function(c){return o.apply(this,arguments)}}())});return function(r){return n.apply(this,arguments)}}())})()}}function Zue(i,t){if(1&i&&(_(0,"span",4),L(1),v()),2&i){const e=Z();E(1),qt("\u{1f501} ",null==e.threadEntry?null:e.threadEntry.boosts,"")}}function Que(i,t){if(1&i){const e=Je();_(0,"span",5),fe("click",function(){return Te(e),Ae(Z().openDialog())}),L(1),v()}if(2&i){const e=Z();E(1),qt("\u26a1\ufe0f",e.amountZapped,"")}}function Xue(i,t){if(1&i&&(_(0,"span",4),L(1),v()),2&i){const e=t.$implicit;E(1),yd(" ",e.key," ",e.value," ")}}N0.\u0275fac=function(t){return new(t||N0)(k(Ks),k(Qi),k(Tn),k(hs))},N0.\u0275cmp=qe({type:N0,selectors:[["app-zappers-list-dialog"]],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"text-align","center","margin-bottom","25px"],["class","profile-container",4,"ngFor","ngForOf"],[1,"profile-container"],[1,"left",2,"display","flex","align-items","center","margin-right","40px"],[1,"icon","icon-small",2,"flex","0 0 auto","margin-right","8px"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[2,"flex","1 1 auto"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"right"],["matTooltipPosition","above",1,"zap-amount"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h2",1),L(2,"Zappers"),v(),ee(3,Kue,12,7,"div",2),v()),2&t&&(E(3),S("ngForOf",e.zappers))},dependencies:[yn,ri,ps,Dl],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{display:inline}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.zap-button[_ngcontent-%COMP%]{background-color:#9c27b0;color:#fff}.profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.emoji-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.emoji-button[_ngcontent-%COMP%]{margin:0 18px;border-radius:15%;background-color:#eee;width:100%;height:100%}.favorite-btn[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative}.emoji-button[_ngcontent-%COMP%]:hover{background-color:#9c27b0}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]:hover{color:#fff}.favorite-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%]{position:absolute;right:-15px;font-size:14px}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: rgba(255, 255, 255, 0);--mat-mdc-button-ripple-color: rgba(255, 255, 255, 0)}.profile-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.left[_ngcontent-%COMP%]{align-self:flex-start}.right[_ngcontent-%COMP%]{align-self:flex-end}.zap-amount[_ngcontent-%COMP%]{display:inline-block;border:2px solid #9c27b0;border-radius:10px;padding:10px 15px;font-weight:700;color:#fff;background-color:#9c27b0;box-shadow:2px 2px 5px #0000004d}"]});const Jue=function(i,t){return{"no-lines":i,lines:t}};class oh{constructor(t,e,n,r,a){this.thread=t,this.profiles=e,this.ui=n,this.optionsService=r,this.dialog=a,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.amountZapped=0}ngAfterViewInit(){}ngOnInit(){var t=this;return Ee(function*(){if(!t.optionsService.values.enableReactions&&!t.optionsService.values.enableZapping)return t.event=void 0,void(t.threadEntry=void 0);t.sub=t.ui.reactions$.subscribe(e=>{t.event&&e==t.event.id&&(t.threadEntry=t.thread.getTreeEntry(t.event.id),t.amountZapped=t.threadEntry?.zaps?.reduce((n,r)=>n+r.amount,0)||0)}),t.threadEntry=t.thread.getTreeEntry(t.event?.id)})()}ngOnDestroy(){this.sub?.unsubscribe()}openDialog(){const t=this.threadEntry?.zaps;this.dialog.open(N0,{data:{zaps:t,event:this.event}})}}function ehe(i,t){1&i&&L(0),2&i&&yt(Z(2).unified)}function the(i,t){if(1&i){const e=Je();_(0,"button",2),fe("click",function(r){return Te(e),Ae(Z().handleClick(r))})("mouseenter",function(r){return Te(e),Ae(Z().handleOver(r))})("mouseleave",function(r){return Te(e),Ae(Z().handleLeave(r))}),_(1,"span",3),ee(2,ehe,1,1,"ng-template",4),vt(3),v()()}if(2&i){const e=Z();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),Lt("title",e.title)("aria-label",e.label),E(1),S("ngStyle",e.style),E(1),S("ngIf",e.isNative)}}function ihe(i,t){1&i&&L(0),2&i&&yt(Z(2).unified)}function nhe(i,t){if(1&i){const e=Je();_(0,"span",5),fe("click",function(r){return Te(e),Ae(Z().handleClick(r))})("mouseenter",function(r){return Te(e),Ae(Z().handleOver(r))})("mouseleave",function(r){return Te(e),Ae(Z().handleLeave(r))}),_(1,"span",3),ee(2,ihe,1,1,"ng-template",4),vt(3,1),v()()}if(2&i){const e=Z();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),Lt("title",e.title)("aria-label",e.label),E(1),S("ngStyle",e.style),E(1),S("ngIf",e.isNative)}}oh.\u0275fac=function(t){return new(t||oh)(k(td),k(Tn),k(Zr),k(Tr),k(Fa))},oh.\u0275cmp=qe({type:oh,selectors:[["app-event-reactions"]],inputs:{event:"event"},decls:5,vars:9,consts:[[1,"thread-reactions",3,"ngClass"],["class","thread-reaction",4,"ngIf"],["class","thread-reaction","style","cursor: pointer",3,"click",4,"ngIf"],["class","thread-reaction",4,"ngFor","ngForOf"],[1,"thread-reaction"],[1,"thread-reaction",2,"cursor","pointer",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,Zue,2,1,"span",1),ee(2,Que,2,1,"span",2),ee(3,Xue,2,2,"span",3),gi(4,"keyvalue"),v()),2&t&&(S("ngClass",Ws(6,Jue,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(1),S("ngIf",(null==e.threadEntry?null:e.threadEntry.boosts)&&e.optionsService.values.enableReactions),E(1),S("ngIf",(null==e.threadEntry?null:e.threadEntry.zaps)||e.optionsService.values.enableZapping),E(1),S("ngForOf",yi(4,4,e.threadEntry.reactions)))},dependencies:[qa,yn,ri,GA],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const FR=["*","*"],xR=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],rhe=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[30,32],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,35],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[30,36],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[30,33],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,38],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,37],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[38,19],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[30,34],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[31,40],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[31,41],shortName:"upside_down_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,41],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,42],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo"],sheet:[30,39],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[42,13],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,45],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[38,42],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[30,56],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[30,55],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[54,22],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,0],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[30,57],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[42,15],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,43],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,1],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,2],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[38,43],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[31,3],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[37,30],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[38,46],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[38,44],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[37,27],shortName:"thinking_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[38,41],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[30,48],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[30,49],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[31,28],shortName:"no_mouth"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[30,47],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,50],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[31,42],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[31,18],shortName:"grimacing"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[38,21],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[30,44],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[30,52],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[31,16],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[38,20],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[31,26],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease"],sheet:[31,29],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[38,18],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[38,47],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[38,40],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[42,18],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[42,19],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[42,17],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[31,27],shortName:"dizzy_face"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[38,48],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[38,16],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[42,16],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[42,26],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[30,46],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[45,34],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[30,53],shortName:"confused"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[31,5],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[31,39],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[54,21],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[31,20],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[31,21],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[31,24],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[31,25],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy"],sheet:[42,27],shortName:"pleading_face"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[31,12],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[31,13],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous","oops","huh"],sheet:[31,14],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[31,22],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[31,11],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[31,8],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[31,19],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[31,23],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[30,54],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[31,9],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[31,4],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[30,51],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[31,15],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[31,17],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[42,14],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[31,10],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[31,7],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[31,6],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[38,45],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[30,40],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[23,49],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[23,50],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[54,13],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[25,53],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[38,17],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,38],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,39],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[23,40],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[23,47],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[23,48],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[37,29],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[31,32],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[31,30],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[31,31],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[31,33],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[31,34],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[31,35],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[31,38],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[31,37],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[31,36],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[32,39],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[32,40],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[32,41],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[25,23],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[25,24],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[25,36],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[25,41],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[25,34],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[25,35],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[25,31],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[25,42],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[25,33],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[25,43],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[56,31],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"`https://unpkg.com/emoji-datasource-${i}@6.0.1/img/${i}/sheets-256/${t}.png`;let cw=(()=>{class i{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(rhe),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(n=>{const r={...n};if(r.shortNames||(r.shortNames=[]),r.shortNames.unshift(r.shortName),r.id=r.shortName,r.native=this.unifiedToNative(r.unified),r.skinVariations||(r.skinVariations=[]),r.keywords||(r.keywords=[]),r.emoticons||(r.emoticons=[]),r.hidden||(r.hidden=[]),r.text||(r.text=""),r.obsoletes){const a=e.find(o=>o.unified===r.obsoletes);a&&(r.keywords=a.keywords?[...r.keywords,...a.keywords,a.shortName]:[...r.keywords,a.shortName])}this.names[r.unified]=r;for(const a of r.shortNames)this.names[a]=r;return r})}getData(e,n,r){let a;if("string"==typeof e){const c=e.match(ahe);if(c&&(e=c[1],c[2]&&(n=parseInt(c[2],10))),!this.names.hasOwnProperty(e))return null;a=this.names[e]}else e.id?a=this.names[e.id]:e.unified&&(a=this.names[e.unified.toUpperCase()]);if(a||(a=e,a.custom=!0),a.skinVariations&&a.skinVariations.length&&n&&n>1&&r){a={...a};const c=ohe[n-1],u=a.skinVariations.find(m=>m.unified.includes(c));(!u.hidden||!u.hidden.includes(r))&&(a.skinTone=n,a={...a,...u}),a.native=this.unifiedToNative(a.unified)}return a.set=r||"",a}unifiedToNative(e){const n=e.split("-").map(r=>parseInt(`0x${r}`,16));return String.fromCodePoint(...n)}emojiSpriteStyles(e,n="apple",r=24,a=64,o=57,c=CR,u=58,m){const x=!!m;return{width:`${r}px`,height:`${r}px`,display:"inline-block","background-image":`url(${m=m||c(n,a)})`,"background-size":x?"100% 100%":`${100*u}% ${100*o}%`,"background-position":x?void 0:this.getSpritePosition(e,u)}}getSpritePosition(e,n){const[r,a]=e,o=100/(n-1);return`${o*r}% ${o*a}%`}sanitize(e){if(null===e)return null;let r=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(r+=`:skin-tone-${e.skinTone}:`),e.colons=r,{...e}}getSanitizedData(e,n,r){return this.sanitize(this.getData(e,n,r))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),kR=(()=>{class i{constructor(e){this.emojiService=e,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.emojiOver=new lt,this.emojiLeave=new lt,this.emojiClick=new lt,this.title=void 0,this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=CR}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=e.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"};else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(e){const n=this.getSanitizedData();this.emojiClick.emit({emoji:n,$event:e})}handleOver(e){const n=this.getSanitizedData();this.emojiOver.emit({emoji:n,$event:e})}handleLeave(e){const n=this.getSanitizedData();this.emojiLeave.emit({emoji:n,$event:e})}}return i.\u0275fac=function(e){return new(e||i)(k(cw))},i.\u0275cmp=qe({type:i,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[Jn],ngContentSelectors:FR,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"]],template:function(e,n){1&e&&(Pi(FR),ee(0,the,4,8,"button",0),ee(1,nhe,4,8,"span",1)),2&e&&(S("ngIf",n.useButton&&n.isVisible),E(1),S("ngIf",!n.useButton&&n.isVisible))},dependencies:[ri,Ef],encapsulation:2,changeDetection:0}),i})(),she=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();function lhe(i,t){if(1&i){const e=Je();_(0,"span",3),fe("click",function(r){Te(e);const a=Z().index;return Ae(Z().handleClick(r,a))}),_(1,"div"),mo(),_(2,"svg",4),Ce(3,"path"),v()(),pl(),Ce(4,"span",5),v()}if(2&i){const e=Z().$implicit,n=Z();Kn("color",e.name===n.selected?n.color:null),Mt("emoji-mart-anchor-selected",e.name===n.selected),Lt("title",n.i18n.categories[e.id]),E(3),Lt("d",n.icons[e.id]),E(1),Kn("background-color",n.color)}}function che(i,t){1&i&&ee(0,lhe,5,8,"span",2),2&i&&S("ngIf",!1!==t.$implicit.anchor)}const dhe=["container"],uhe=["label"];function hhe(i,t){if(1&i){const e=Je();_(0,"ngx-emoji",9),fe("emojiOver",function(r){return Te(e),Ae(Z(3).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ae(Z(3).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ae(Z(3).emojiClick.emit(r))}),v()}if(2&i){const e=t.$implicit,n=Z(3);S("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function mhe(i,t){if(1&i&&(_(0,"div"),ee(1,hhe,1,12,"ngx-emoji",8),v()),2&i){const e=t.ngIf,n=Z(2);E(1),S("ngForOf",e)("ngForTrackBy",n.trackById)}}function fhe(i,t){if(1&i&&(_(0,"div"),ee(1,mhe,2,2,"div",6),gi(2,"async"),v()),2&i){const e=Z();E(1),S("ngIf",yi(2,1,e.filteredEmojis$))}}function phe(i,t){if(1&i&&(_(0,"div")(1,"div"),Ce(2,"ngx-emoji",10),v(),_(3,"div",11),L(4),v()()),2&i){const e=Z();E(2),S("emoji",e.notFoundEmoji)("size",38)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),E(2),qt(" ",e.i18n.notfound," ")}}function ghe(i,t){if(1&i){const e=Je();_(0,"ngx-emoji",9),fe("emojiOver",function(r){return Te(e),Ae(Z(2).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ae(Z(2).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ae(Z(2).emojiClick.emit(r))}),v()}if(2&i){const e=t.$implicit,n=Z(2);S("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function _he(i,t){if(1&i&&ee(0,ghe,1,12,"ngx-emoji",8),2&i){const e=Z();S("ngForOf",e.emojisToDisplay)("ngForTrackBy",e.trackById)}}function bhe(i,t){if(1&i){const e=Je();_(0,"span",2)(1,"span",3),fe("click",function(){const a=Te(e).$implicit;return Ae(Z().handleClick(a))})("keyup.enter",function(){const a=Te(e).$implicit;return Ae(Z().handleClick(a))})("keyup.space",function(){const a=Te(e).$implicit;return Ae(Z().handleClick(a))}),v()()}if(2&i){const e=t.$implicit,n=Z();Mt("selected",e===n.skin),E(1),mb("emoji-mart-skin emoji-mart-skin-tone-",e,""),S("tabIndex",n.tabIndex(e)),Lt("aria-hidden",!n.isVisible(e))("aria-pressed",n.pressed(e))("aria-haspopup",!!n.isSelected(e))("aria-expanded",n.expanded(e))("aria-label",n.i18n.skintones[e])("title",n.i18n.skintones[e])}}function yhe(i,t){if(1&i&&(_(0,"span",11),L(1),v()),2&i){const e=t.$implicit;E(1),qt(" :",e,": ")}}function vhe(i,t){if(1&i&&(_(0,"span",15),L(1),v()),2&i){const e=t.$implicit;E(1),qt(" ",e," ")}}function whe(i,t){if(1&i&&(_(0,"div",8)(1,"div",2),Ce(2,"ngx-emoji",9),v(),_(3,"div",4)(4,"div",10),L(5),v(),_(6,"div",11),ee(7,yhe,2,1,"span",12),v(),_(8,"div",13),ee(9,vhe,2,1,"span",14),v()()()),2&i){const e=Z();E(2),S("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn)("imageUrlFn",e.emojiImageUrlFn),E(3),yt(e.emojiData.name),E(2),S("ngForOf",e.emojiData.shortNames),E(2),S("ngForOf",e.listedEmoticons)}}function Fhe(i,t){if(1&i&&Ce(0,"ngx-emoji",16),2&i){const e=Z();S("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)("imageUrlFn",e.emojiImageUrlFn)}}const xhe=["inputRef"],Che=["scrollRef"];function khe(i,t){if(1&i){const e=Je();_(0,"emoji-search",8),fe("searchResults",function(r){return Te(e),Ae(Z().handleSearch(r))})("enterKey",function(r){return Te(e),Ae(Z().handleEnterKey(r))}),v()}if(2&i){const e=Z();S("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function Dhe(i,t){if(1&i){const e=Je();_(0,"emoji-category",9),fe("emojiOver",function(r){return Te(e),Ae(Z().handleEmojiOver(r))})("emojiLeave",function(){return Te(e),Ae(Z().handleEmojiLeave())})("emojiClick",function(r){return Te(e),Ae(Z().handleEmojiClick(r))}),v()}if(2&i){const e=t.$implicit,n=Z();S("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",n.perLine)("totalFrequentLines",n.totalFrequentLines)("hasStickyPosition",n.isNative)("i18n",n.i18n)("hideObsolete",n.hideObsolete)("notFoundEmoji",n.notFoundEmoji)("custom",e.id===n.RECENT_CATEGORY.id?n.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id===n.RECENT_CATEGORY.id?n.recent:void 0)("virtualize",n.virtualize)("virtualizeOffset",n.virtualizeOffset)("emojiIsNative",n.isNative)("emojiSkin",n.skin)("emojiSize",n.emojiSize)("emojiSet",n.set)("emojiSheetSize",n.sheetSize)("emojiForceSize",n.isNative)("emojiTooltip",n.emojiTooltip)("emojiBackgroundImageFn",n.backgroundImageFn)("emojiImageUrlFn",n.imageUrlFn)("emojiUseButton",n.useButton)}}function Mhe(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"emoji-preview",10),fe("skinChange",function(r){return Te(e),Ae(Z().handleSkinChange(r))}),v()()}if(2&i){const e=Z();E(1),S("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)("emojiImageUrlFn",e.imageUrlFn),Lt("title",e.title)}}let Ehe=(()=>{class i{constructor(){this.categories=[],this.icons={},this.anchorClick=new lt}trackByFn(e,n){return n.id}handleClick(e,n){this.anchorClick.emit({category:this.categories[n],index:n})}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(e,n){1&e&&(_(0,"div",0),ee(1,che,1,1,"ng-template",1),v()),2&e&&(E(1),S("ngForOf",n.categories)("ngForTrackBy",n.trackByFn))},dependencies:[yn,ri],encapsulation:2,changeDetection:0}),i})(),DR=(()=>{class i{constructor(e){this.platformId=e,this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse(kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,kd(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(e,n){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const m=[];for(let x=0;xthis.frequently[m]-this.frequently[x]).reverse().slice(0,r),u=kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return u&&!c.includes(u)&&(c.pop(),c.push(u)),c}}return i.\u0275fac=function(e){return new(e||i)(Fe(Sc))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),MR=(()=>{class i{constructor(e,n,r){this.ref=e,this.emojiService=n,this.frequently=r,this.emojis=null,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.virtualize=!1,this.virtualizeOffset=0,this.emojiOver=new lt,this.emojiLeave=new lt,this.emojiClick=new lt,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new He,this.filteredEmojis$=this.filteredEmojisSubject.asObservable(),this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0,this.rows=0}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(e){e.emojis?.currentValue?.length!==e.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:e}=this.container.nativeElement.getBoundingClientRect(),n=Math.floor(e/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/n),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref?.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:n,height:r}=this.container.nativeElement.getBoundingClientRect(),a=e.getBoundingClientRect().top,o=this.label.nativeElement.getBoundingClientRect().height;this.top=n-a+e.scrollTop,this.maxMargin=0===r?0:r-o}handleScroll(e){let n=e-this.top;if(n=nthis.maxMargin?this.maxMargin:n,this.virtualize){const{top:r,height:a}=this.container.nativeElement.getBoundingClientRect(),o=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(o+(o+this.virtualizeOffset)>=r&&-a-(o+this.virtualizeOffset)<=r?this.emojisToDisplay:[])}return n===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${n}px`),this.margin=n,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!e||!e.length)&&(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(n=>this.custom.filter(a=>a.id===n)[0]||n).filter(n=>!!this.emojiService.getData(n)))}updateDisplay(e){this.containerStyles.display=e,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(e,n){return n}filterEmojis(){const e=[];for(const n of this.emojis||[]){if(!n)continue;const r=this.emojiService.getData(n);!r||r.obsoletedBy&&this.hideObsolete||!r.unified&&!r.custom||e.push(n)}return e}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(cw),k(DR))},i.\u0275cmp=qe({type:i,selectors:[["emoji-category"]],viewQuery:function(e,n){if(1&e&&(At(dhe,7),At(uhe,7)),2&e){let r;Qe(r=Xe())&&(n.container=r.first),Qe(r=Xe())&&(n.label=r.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[Jn],decls:10,vars:11,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["normalRenderTemplate",""],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,n){if(1&e&&(_(0,"section",0,1)(2,"div",2)(3,"span",3,4),L(5),v()(),ee(6,fhe,3,3,"div",5),ee(7,phe,5,11,"div",6),v(),ee(8,_he,1,2,"ng-template",null,7,ko)),2&e){const r=Li(9);Mt("emoji-mart-no-results",n.noEmojiToDisplay),S("ngStyle",n.containerStyles),Lt("aria-label",n.i18n.categories[n.id]),E(2),S("ngStyle",n.labelStyles),Lt("data-name",n.name),E(1),S("ngStyle",n.labelSpanStyles),E(2),qt(" ",n.i18n.categories[n.id]," "),E(1),S("ngIf",n.virtualize)("ngIfElse",r),E(1),S("ngIf",n.noEmojiToDisplay)}},dependencies:[yn,ri,Ef,kR,Ts],encapsulation:2,changeDetection:0}),i})();function ER(i){return i.reduce((t,e)=>(t.includes(e)||t.push(e),t),[])}function She(i,t){const e=ER(i),n=ER(t);return e.filter(r=>n.indexOf(r)>=0)}let Ahe=(()=>{class i{constructor(e){this.emojiService=e,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const n of this.emojiService.emojis){const{shortNames:r,emoticons:a}=n,o=r[0];for(const c of a)this.emoticonsList[c]||(this.emoticonsList[c]=o);this.emojisList[o]=this.emojiService.getSanitizedData(o),this.originalPool[o]=n}}addCustomToPool(e,n){for(const r of e){const a=r.id||r.shortNames[0];a&&!n[a]&&(n[a]=this.emojiService.getData(r),this.emojisList[a]=this.emojiService.getSanitizedData(r))}}search(e,n,r=75,a=[],o=[],c=[]){this.addCustomToPool(c,this.originalPool);let u,m=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let x=e.toLowerCase().split(/[\s|,|\-|_]+/),P=[];if(x.length>2&&(x=[x[0],x[1]]),a.length||o.length){m={};for(const K of xR||[]){const ne=!a||!a.length||a.indexOf(K.id)>-1,pe=!(!o||!o.length)&&o.indexOf(K.id)>-1;if(ne&&!pe)for(const ye of K.emojis||[]){const Ie=this.emojiService.getData(ye);m[Ie?.id??""]=Ie}}if(c.length){const K=!a||!a.length||a.indexOf("custom")>-1,ne=!(!o||!o.length)&&o.indexOf("custom")>-1;K&&!ne&&this.addCustomToPool(c,m)}}P=x.map(K=>{let ne=m,pe=this.index,ye=0;for(let Ie=0;Ieit[Be.id]-it[ut.id])}ne=pe.pool}return pe.results}).filter(K=>K),u=P.length>1?She.apply(null,P):P.length?P[0]:[]}return u&&(n&&(u=u.filter(x=>!(!x||!x.id)&&n(this.emojiService.names[x.id]))),u&&u.length>r&&(u=u.slice(0,r))),u||null}buildSearch(e,n,r,a,o){const c=[],u=(m,x)=>{if(!m)return;const P=Array.isArray(m)?m:[m];for(const K of P){const ne=x?K.split(/[-|_|\s]+/):[K];for(let pe of ne)pe=pe.toLowerCase(),c.includes(pe)||c.push(pe)}};return u(e,!0),u(n,!0),u(r,!0),u(a,!0),u(o,!1),c.join(",")}}return i.\u0275fac=function(e){return new(e||i)(Fe(cw))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ihe=(()=>{class i{constructor(){this.changeSkin=new lt,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","click","keyup.enter","keyup.space"]],template:function(e,n){1&e&&(_(0,"section",0),ee(1,bhe,2,12,"span",1),v()),2&e&&(Mt("opened",n.opened),E(1),S("ngForOf",n.skinTones))},dependencies:[yn],encapsulation:2,changeDetection:0}),i})(),SR=(()=>{class i{constructor(e,n){this.ref=e,this.emojiService=n,this.skinChange=new lt,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],n=[];(this.emojiData.emoticons||[]).forEach(a=>{e.indexOf(a.toLowerCase())>=0||(e.push(a.toLowerCase()),n.push(a))}),this.listedEmoticons=n,this.ref?.detectChanges()}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(cw))},i.\u0275cmp=qe({type:i,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},features:[Jn],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(e,n){1&e&&(ee(0,whe,10,12,"div",0),_(1,"div",1)(2,"div",2),ee(3,Fhe,1,7,"ngx-emoji",3),v(),_(4,"div",4)(5,"span",5),L(6),v()(),_(7,"div",6)(8,"emoji-skins",7),fe("changeSkin",function(a){return n.skinChange.emit(a)}),v()()()),2&e&&(S("ngIf",n.emoji&&n.emojiData),E(1),S("hidden",n.emoji),E(2),S("ngIf",n.idleEmoji&&n.idleEmoji.length),E(3),yt(n.title),E(2),S("skin",n.emojiSkin)("i18n",n.i18n))},dependencies:[yn,ri,kR,Ihe],encapsulation:2,changeDetection:0}),i})(),Lhe=0,TR=(()=>{class i{constructor(e){this.emojiSearch=e,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new lt,this.enterKey=new lt,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++Lhe}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const n=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(n)}handleChange(){this.handleSearch(this.query)}}return i.\u0275fac=function(e){return new(e||i)(k(Ahe))},i.\u0275cmp=qe({type:i,selectors:[["emoji-search"]],viewQuery:function(e,n){if(1&e&&At(xhe,7),2&e){let r;Qe(r=Xe())&&(n.inputRef=r.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,n){1&e&&(_(0,"div",0)(1,"input",1,2),fe("keyup.enter",function(a){return n.handleEnterKey(a)})("ngModelChange",function(a){return n.query=a})("ngModelChange",function(){return n.handleChange()}),v(),_(3,"label",3),L(4),v(),_(5,"button",4),fe("click",function(){return n.clear()})("keyup.enter",function(){return n.clear()}),mo(),_(6,"svg",5),Ce(7,"path"),v()()()),2&e&&(E(1),S("id",n.inputId)("placeholder",n.i18n.search)("autofocus",n.autoFocus)("ngModel",n.query),E(2),S("htmlFor",n.inputId),E(1),qt(" ",n.i18n.search," "),E(1),S("disabled",!n.isSearching),Lt("aria-label",n.i18n.clear),E(2),Lt("d",n.icon))},dependencies:[ka,ha,Da],encapsulation:2}),i})();const AR={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},IR={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},LR={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let pM=(()=>{class i{constructor(e,n,r,a,o){this.ngZone=e,this.renderer=n,this.ref=r,this.frequently=a,this.platformId=o,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=AR,this.searchIcons=IR,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new lt,this.emojiSelect=new lt,this.skinChange=new lt,this.scrollHeight=0,this.clientHeight=0,this.clientWidth=0,this.firstRender=!0,this.animationFrameRequestId=null,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(c,u)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function The(){if(typeof document>"u")return 0;const i=document.createElement("div");i.style.width="100px",i.style.height="100px",i.style.overflow="scroll",i.style.position="absolute",i.style.top="-9999px",document.body.appendChild(i);const t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),t}(),this.i18n={...LR,...this.i18n},this.i18n.categories={...LR.categories,...this.i18n.categories},this.skin=JSON.parse(kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...xR];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(c=>({...c,id:c.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((c,u)=>this.include.indexOf(c.id)>this.include.indexOf(u.id)?1:-1);for(const c of e){const u=!this.include||!this.include.length||this.include.indexOf(c.id)>-1,m=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(c.id)>-1;if(u&&!m){if(this.emojisToShowFilter){const x=[],{emojis:P}=c;for(let K=0;K-1,r=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;n&&!r&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(c=>c.first)[0].name;const a=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,a));const o=this.categories[a-1].emojis.slice();this.categories[a-1].emojis=o.slice(0,60),setTimeout(()=>{this.categories[a-1].emojis=o,this.setActiveCategories(this.categories),this.ref.detectChanges(),kd(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(n=>n.name===this.selected||n===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight,this.clientWidth=e.clientWidth}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(e);const n=this.categoryRefs.find(r=>r.id===e.category.id);if(n){let{top:r}=n;e.category.first?r=0:r+=1,this.scrollRef.nativeElement.scrollTop=r}this.nextScroll=e.category.name;for(const r of this.categories)this.categoryRefs.find(({id:o})=>o===r.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(e,n){return n.id}handleScroll(e=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let n;if(this.SEARCH_CATEGORY.emojis)n=this.SEARCH_CATEGORY;else{const r=this.scrollRef.nativeElement;if(0===r.scrollTop)n=this.categories.find(a=>!0===a.first);else if(r.scrollHeight-r.scrollTop===this.clientHeight)n=this.categories[this.categories.length-1];else for(const a of this.categories)this.categoryRefs.find(({id:u})=>u===a.id)?.handleScroll(r.scrollTop)&&(n=a);this.scrollTop=r.scrollTop}!e&&n&&n.name!==this.selected?(this.selected=n.name,this.ref.detectChanges()):e&&this.ref.detectChanges()}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const n of this.categoryRefs.toArray())"Search"===n.name?(n.emojis=e,n.updateDisplay(e?"block":"none")):n.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,n){if(!n&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(n=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:n})}!this.hideRecent&&!this.recent&&n&&this.frequently.add(n);const r=this.categoryRefs.toArray()[1];r&&this.enableFrequentEmojiSort&&(r.updateRecentEmojis(),r.ref.markForCheck())}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const n=this.CUSTOM_CATEGORY.emojis.find(r=>r.id===e.emoji.id);n&&(e.emoji={...n}),this.previewEmoji=e.emoji,this.cancelAnimationFrame(),this.ref?.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(zs),k(oi),k(DR),k(Sc))},i.\u0275cmp=qe({type:i,selectors:[["emoji-mart"]],viewQuery:function(e,n){if(1&e&&(At(Che,7),At(SR,5),At(TR,5),At(MR,5)),2&e){let r;Qe(r=Xe())&&(n.scrollRef=r.first),Qe(r=Xe())&&(n.previewRef=r.first),Qe(r=Xe())&&(n.searchRef=r.first),Qe(r=Xe())&&(n.categoryRefs=r)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn","skinChange"]],template:function(e,n){1&e&&(_(0,"section",0)(1,"div",1)(2,"emoji-mart-anchors",2),fe("anchorClick",function(a){return n.handleAnchorClick(a)}),v()(),ee(3,khe,1,7,"emoji-search",3),_(4,"section",4,5),ee(6,Dhe,1,23,"emoji-category",6),v(),ee(7,Mhe,2,11,"div",7),v()),2&e&&(mb("emoji-mart ",n.darkMode?"emoji-mart-dark":"",""),Kn("width",n.getWidth()),S("ngStyle",n.style),E(2),S("categories",n.categories)("color",n.color)("selected",n.selected)("i18n",n.i18n)("icons",n.categoriesIcons),E(1),S("ngIf",n.enableSearch),E(1),Lt("aria-label",n.i18n.emojilist),E(2),S("ngForOf",n.activeCategories)("ngForTrackBy",n.categoryTrack),E(1),S("ngIf",n.showPreview))},dependencies:[yn,ri,Ef,Ehe,MR,TR,SR],encapsulation:2,changeDetection:0}),i})(),Nhe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Ev,she]}),i})(),NR=(()=>{class i{constructor(){this.hideText=!1,this.loading=!1,this.textHidden=!1}set mtBasicSpinner(e){this.loading=e,this.hideText&&(this.textHidden=e)}get disabled(){return this.mtBasicSpinner}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mtBasicSpinner",""]],hostVars:5,hostBindings:function(e,n){2&e&&(Ua("disabled",n.disabled),Mt("mat-spinner",n.loading)("hide-btn-text",n.textHidden))},inputs:{hideText:"hideText",mtBasicSpinner:"mtBasicSpinner"}}),i})(),Ohe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const Rhe=["replyInput"];function Phe(i,t){if(1&i){const e=Je();_(0,"mat-icon",7),fe("click",function(){return Te(e),Ae(Z(2).openDialog())}),L(1,"offline_bolt"),v()}}function Bhe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",8),fe("emojiSelect",function(r){return Te(e),Ae(Z(2).addEmoji(r))}),v()}2&i&&S("isNative",!0)("showPreview",!0)}function Hhe(i,t){if(1&i){const e=Je();ee(0,Phe,2,0,"mat-icon",3),_(1,"mat-icon",4),fe("click",function(){Te(e);const r=Z();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),L(2,"sentiment_satisfied"),v(),ee(3,Bhe,1,2,"emoji-mart",5),_(4,"button",6),fe("click",function(){return Te(e),Ae(Z().openReply())}),L(5,"Reply"),v()}if(2&i){const e=Z();S("ngIf",e.optionsService.values.enableZapping),E(3),S("ngIf",e.isEmojiPickerVisible)}}function Vhe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",21),fe("emojiSelect",function(r){return Te(e),Ae(Z(2).addEmojiInText(r))}),v()}2&i&&S("isNative",!0)("showPreview",!1)}function Yhe(i,t){if(1&i&&(_(0,"small",22),L(1),v()),2&i){const e=Z(2);E(1),yt(e.error)}}function jhe(i,t){1&i&&Ce(0,"button",23),2&i&&S("mtBasicSpinner",!0)}function zhe(i,t){if(1&i){const e=Je();_(0,"button",24),fe("click",function(){return Te(e),Ae(Z(2).addReply())}),L(1,"Reply"),v()}if(2&i){const e=Z(2);S("disabled",0==(null==e.note?null:e.note.length))}}function Uhe(i,t){if(1&i){const e=Je();_(0,"div",9)(1,"mat-form-field",10)(2,"mat-label"),L(3,"Note"),v(),_(4,"textarea",11,12),fe("ngModelChange",function(r){return Te(e),Ae(Z().note=r)}),v()(),_(6,"div",13)(7,"mat-icon",14),fe("click",function(){Te(e);const r=Z();return Ae(r.isEmojiPickerTextVisible=!r.isEmojiPickerTextVisible)}),L(8,"sentiment_satisfied"),v(),ee(9,Vhe,1,2,"emoji-mart",15),Ce(10,"div",16),ee(11,Yhe,2,1,"small",17),_(12,"button",18),fe("click",function(){return Te(e),Ae(Z().hideReply())}),L(13,"Cancel"),v(),ee(14,jhe,1,1,"button",19),ee(15,zhe,2,1,"button",20),v()()}if(2&i){const e=Z();E(4),S("tabIndex",0)("ngModel",e.note),E(5),S("ngIf",e.isEmojiPickerTextVisible),E(2),S("ngIf",e.error),E(3),S("ngIf",e.publishing),E(1),S("ngIf",!e.publishing)}}const Whe=function(i,t){return{"no-lines":i,lines:t}};class sh{onKeydownHandler(t){this.hideReply()}constructor(t,e,n,r,a,o){this.eventService=t,this.dataService=e,this.optionsService=n,this.profileService=r,this.utilities=a,this.dialog=o,this.replyOpen=!1,this.publishing=!1,this.error=""}ngAfterViewInit(){var t=this;return Ee(function*(){let e=t.event?.pubkey?t.event?.pubkey:"";t.profile=yield t.profileService.getProfile(e)})()}openReply(){this.replyOpen=!0,this.publishing=!1,this.note="",this.error="",setTimeout(()=>{console.log(this.replyInput),this.replyInput?.nativeElement.focus()})}hideReply(){this.replyOpen=!1,this.publishing=!1,this.note="",this.error=""}addEmojiInText(t){var e=this;return Ee(function*(){e.isEmojiPickerTextVisible=!1,e.note=`${e.note}${t.emoji.native}`})()}addEmoji(t){var e=this;return Ee(function*(){e.isEmojiPickerVisible=!1;let n=e.dataService.createEvent(jn.Reaction,t.emoji.native);if(!e.event)return void console.warn("Event is empty on reaction.");n.tags=Object.assign([],e.event.tags),n.tags.push(["p",e.event.pubkey]),n.tags.push(["e",e.event.id]);const r=yield e.dataService.signEvent(n);console.log(r),yield e.dataService.publishEvent(r),e.event.tags=n.tags})()}addReply(){var t=this;return Ee(function*(){t.publishing=!0;let e=t.dataService.createEvent(jn.Text,t.note);if(t.event){e.tags=Object.assign([],t.eventService.getPublicKeyAndEventTags(t.event.tags)),e.tags.push(["p",t.event.pubkey]),e.tags.push(["e",t.event.id]);try{const n=yield t.dataService.signEvent(e);console.log(n),yield t.dataService.publishEvent(n),t.hideReply()}catch(n){t.error=n.toString(),console.log(n),t.publishing=!1}}else console.warn("Event is empty on reply.")})()}openDialog(){var t=this;return Ee(function*(){t.dialog.open(eh,{width:"400px",data:{profile:t.profile,event:t.event}})})()}}function Ghe(i,t){if(1&i){const e=Je();_(0,"span",1),fe("click",function(){return Te(e),Ae(Z().toggle())}),L(1),gi(2,"ago"),v()}if(2&i){const e=Z();E(1),yt(yi(2,1,e.date))}}function qhe(i,t){if(1&i){const e=Je();_(0,"span",1),fe("click",function(){return Te(e),Ae(Z().toggle())}),L(1),gi(2,"date"),v()}if(2&i){const e=Z();E(1),yt(ax(2,1,1e3*e.date,"yyyy-MM-dd HH:mm:ss"))}}sh.\u0275fac=function(t){return new(t||sh)(k(Ro),k(Ba),k(Tr),k(Tn),k(Qi),k(Fa))},sh.\u0275cmp=qe({type:sh,selectors:[["app-event-buttons"]],viewQuery:function(t,e){if(1&t&&At(Rhe,5),2&t){let n;Qe(n=Xe())&&(e.replyInput=n.first)}},hostBindings:function(t,e){1&t&&fe("keydown.escape",function(r){return e.onKeydownHandler(r)},0,J1)},inputs:{event:"event"},decls:3,vars:6,consts:[[1,"thread-actions",3,"ngClass"],[3,"ngIf"],["class","reply-widget",4,"ngIf"],["class","reaction-icon toolbar-icon","style","margin-right: 10px;","matTooltip","Reaction to post",3,"click",4,"ngIf"],["matTooltip","Reaction to post",1,"reaction-icon","toolbar-icon",3,"click"],["class","picker","emoji","point_up","title","Choose your reaction",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["mat-button","",3,"click"],["matTooltip","Reaction to post",1,"reaction-icon","toolbar-icon",2,"margin-right","10px",3,"click"],["emoji","point_up","title","Choose your reaction",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"reply-widget"],[1,"input-full-width"],["matInput","","type","text","rows","6",1,"note-input",3,"tabIndex","ngModel","ngModelChange"],["replyInput",""],[1,"reply-widget-buttons"],["matTooltip","Insert emoji in text",1,"toolbar-icon","margin-right",3,"click"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],[1,"reply-widget-middle"],["class","error",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click",4,"ngIf"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"error"],["mat-icon-button","",3,"mtBasicSpinner"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,Hhe,6,2,"ng-template",1),ee(2,Uhe,16,6,"div",2),v()),2&t&&(S("ngClass",Ws(3,Whe,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(1),S("ngIf",!e.replyOpen),E(1),S("ngIf",e.replyOpen))},dependencies:[qa,ri,Do,Ra,eo,dr,bo,Zn,ps,pM,ka,ha,Da,NR],styles:[".picker[_ngcontent-%COMP%]{display:block;z-index:3}.thread-actions[_ngcontent-%COMP%]{padding-left:1em;margin-left:27px;padding-bottom:.3em}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.reaction-icon[_ngcontent-%COMP%]{font-size:1.4em}.reply-widget[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.reply-widget-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.reply-widget-middle[_ngcontent-%COMP%]{flex:1 2 auto}.thread-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.4em}"]});class id{toggle(){this.isoDate=!this.isoDate}}id.\u0275fac=function(t){return new(t||id)},id.\u0275cmp=qe({type:id,selectors:[["app-date"]],inputs:{date:"date"},decls:2,vars:2,consts:[["class","event-date",3,"click",4,"ngIf"],[1,"event-date",3,"click"]],template:function(t,e){1&t&&(ee(0,Ghe,3,3,"span",0),ee(1,qhe,3,4,"span",0)),2&t&&(S("ngIf",!e.isoDate),E(1),S("ngIf",e.isoDate))},dependencies:[ri,Wx,el],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const OR=function(i,t){return{"no-lines":i,lines:t}};function $he(i,t){if(1&i&&(_(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3),Ce(4,"app-date",4)(5,"app-directory-icon",3),v(),Ce(6,"app-event-actions",5),v(),Ce(7,"app-content",6)(8,"app-event-reactions",7)(9,"app-event-buttons",7)(10,"app-event-thread",7),v()()),2&i){const e=t.$implicit,n=Z();S("ngClass",Ws(12,OR,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(3),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(15,OR,!n.optionsService.values.showLines,n.optionsService.values.showLines))("displayRepliesTo",!0)("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class wm{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Ee(function*(){})()}}wm.\u0275fac=function(t){return new(t||wm)(k(Zr),k(td),k(Tr))},wm.\u0275cmp=qe({type:wm,selectors:[["app-event-thread"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-event",3,"ngClass",4,"ngFor","ngForOf"],[1,"thread-event",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&ee(0,$he,11,18,"div",0),2&t&&S("ngForOf",e.ui.children(e.event.id))},dependencies:[qa,yn,Al,gs,Il,Js,wm,oh,sh,id],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const Khe=function(i,t){return{"no-lines2":i,lines2:t}},Zhe=function(i,t){return{"no-lines":i,lines:t}};function Qhe(i,t){if(1&i&&(_(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3)(4,"span",4),L(5),gi(6,"ago"),v(),Ce(7,"app-directory-icon",3),v(),Ce(8,"app-event-actions",5),v(),Ce(9,"app-content",6)(10,"app-event-reactions",7)(11,"app-event-buttons",7),v()()),2&i){const e=Z();S("ngClass",Ws(13,Khe,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(3),S("pubkey",e.event.pubkey),E(2),yt(yi(6,11,e.event.created_at)),E(2),S("pubkey",e.event.pubkey),E(1),S("event",e.event)("pubkey",e.event.pubkey),E(1),S("ngClass",Ws(16,Zhe,!e.optionsService.values.showLines,e.optionsService.values.showLines))("displayRepliesTo",!1)("event",e.event),E(1),S("event",e.event),E(1),S("event",e.event)}}class Ap{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Ee(function*(){})()}}function Xhe(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().open(r.rootEventId))}),_(2,"mat-icon"),L(3,"keyboard_double_arrow_up"),v(),L(4,"View Thread"),v()()}}function Jhe(i,t){if(1&i&&(_(0,"div",16),Ce(1,"app-event",13),v()),2&i){const e=t.ngIf;E(1),S("event",e)}}function eme(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().open(r.parentEventId))}),_(2,"mat-icon"),L(3,"keyboard_arrow_up"),v(),L(4,"View Parent"),v()()}}Ap.\u0275fac=function(t){return new(t||Ap)(k(Zr),k(td),k(Tr))},Ap.\u0275cmp=qe({type:Ap,selectors:[["app-event"]],inputs:{threadEntry:"threadEntry",event:"event"},decls:1,vars:1,consts:[["class","thread-event2",3,"ngClass",4,"ngIf"],[1,"thread-event2",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&ee(0,Qhe,12,19,"div",0),2&t&&S("ngIf",e.event)},dependencies:[qa,ri,Al,gs,Il,Js,oh,sh,el],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const tme=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},ime=function(i,t){return{"no-lines":i,lines:t}};function nme(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),L(6,"Options"),v(),Ce(7,"mat-panel-description"),v(),_(8,"p")(9,"mat-slide-toggle",4),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.showLines=r)}),L(10,"Show lines"),v()()()()(),ee(11,Xhe,5,0,"mat-card",5),ee(12,Jhe,2,1,"div",6),gi(13,"async"),_(14,"div",7),ee(15,eme,5,0,"mat-card",5),_(16,"div",8)(17,"app-event-header",9),Ce(18,"app-date",10)(19,"app-directory-icon",9),v(),Ce(20,"app-event-actions",11),v(),Ce(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),v()()}if(2&i){const e=t.ngIf,n=Z();E(9),S("ngModel",n.optionsService.values.showLines),E(2),S("ngIf",e.rootEventId),E(1),S("ngIf",yi(13,15,n.ui.parentEvent$)),E(2),S("ngClass",rx(17,tme,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(1),S("ngIf",e.parentEventId),E(2),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(22,ime,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class Ip{constructor(t,e,n,r,a,o,c,u,m,x,P){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=u,this.utilities=m,this.router=x,this.ui=P,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.navigation.currentEvent&&this.ui.setEvent(this.navigation.currentEvent),this.appState.updateTitle("Thread"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");if(r)if(r.startsWith("note")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/e",a])}else t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r);else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Ip.\u0275fac=function(t){return new(t||Ip)(k(Xi),k(us),k(oi),k(Tr),k(yo),k(Tn),k(td),k(ts),k(Qi),k(qn),k(Zr))},Ip.\u0275cmp=qe({type:Ip,selectors:[["app-note"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(ee(0,nme,25,25,"div",0),gi(1,"async"),Ce(2,"mat-divider")),2&t&&S("ngIf",yi(1,1,e.ui.event$))},dependencies:[qa,ri,dr,Pa,Zn,E0,lc,Xc,Jc,Qd,Zd,v0,ha,Da,Al,gs,Il,Js,wm,oh,sh,id,Ap,Ts],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class O0{constructor(t,e,n){this.cd=t,this.appState=e,this.http=n}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",e=>`
${e.replace(//g,">")}
`)}showContent(t,e=(n=>n)){this.http.get(t,{responseType:"text"}).pipe(ia(n=>{this.licenses=n,this.cd.markForCheck()},n=>{this.licenses=`Unable to get content (${n.statusText})`,this.cd.markForCheck()})).subscribe()}}O0.\u0275fac=function(t){return new(t||O0)(k(oi),k(Xi),k(S_))},O0.\u0275cmp=qe({type:O0,selectors:[["app-licenses"]],decls:9,vars:1,consts:[[1,"page"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],[1,"marginless","heading"],[1,"linebreaks"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"p"),L(2,"Blockcore Note is an open source project published under the MIT license. You can view the source code on "),_(3,"a",1),L(4,"GitHub"),v()(),_(5,"h1",2),L(6,"Third Party Licenses"),v(),_(7,"div",3),L(8),v()()),2&t&&(E(8),yt(e.licenses))},styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const rme=["*",[["mat-toolbar-row"]]],ame=["*","mat-toolbar-row"],ome=tc(class{constructor(i){this._elementRef=i}});let RR=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),i})(),PR=(()=>{class i extends ome{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Hn),k(xi))},i.\u0275cmp=qe({type:i,selectors:[["mat-toolbar"]],contentQueries:function(e,n,r){if(1&e&&ui(r,RR,5),2&e){let a;Qe(a=Xe())&&(n._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[st],ngContentSelectors:ame,decls:2,vars:0,template:function(e,n){1&e&&(Pi(rme),vt(0),vt(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),i})(),sme=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Jt]}),i})();const dw=["*"],lme=["content"];function cme(i,t){if(1&i){const e=Je();_(0,"div",2),fe("click",function(){return Te(e),Ae(Z()._onBackdropClicked())}),v()}2&i&&Mt("mat-drawer-shown",Z()._isShowingBackdrop())}function dme(i,t){1&i&&(_(0,"mat-drawer-content"),vt(1,2),v())}const ume=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],hme=["mat-drawer","mat-drawer-content","*"];function mme(i,t){if(1&i){const e=Je();_(0,"div",2),fe("click",function(){return Te(e),Ae(Z()._onBackdropClicked())}),v()}2&i&&Mt("mat-drawer-shown",Z()._isShowingBackdrop())}function fme(i,t){1&i&&(_(0,"mat-sidenav-content"),vt(1,2),v())}const pme=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],gme=["mat-sidenav","mat-sidenav-content","*"],BR={transformDrawer:Za("transform",[gr("open, open-instant",fi({transform:"none",visibility:"visible"})),gr("void",fi({"box-shadow":"none",visibility:"hidden"})),lr("void => open-instant",sr("0ms")),lr("void <=> open, open-instant => void",sr("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},bme=new Ze("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function yme(){return!1}}),gM=new Ze("MAT_DRAWER_CONTAINER");let uw=(()=>{class i extends Vh{constructor(e,n,r,a,o){super(r,a,o),this._changeDetectorRef=e,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(hi(()=>bM)),k(pt),k(ku),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,n){2&e&&Kn("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Nt([{provide:Vh,useExisting:i}]),st],ngContentSelectors:dw,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},encapsulation:2,changeDetection:0}),i})(),_M=(()=>{class i{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ct(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ct(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ct(e))}constructor(e,n,r,a,o,c,u,m){this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._interactivityChecker=c,this._doc=u,this._container=m,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new He,this._animationEnd=new He,this._animationState="void",this.openedChange=new lt(!0),this._openedStream=this.openedChange.pipe(qi(x=>x),_t(()=>{})),this.openedStart=this._animationStarted.pipe(qi(x=>x.fromState!==x.toState&&0===x.toState.indexOf("open")),sy(void 0)),this._closedStream=this.openedChange.pipe(qi(x=>!x),_t(()=>{})),this.closedStart=this._animationStarted.pipe(qi(x=>x.fromState!==x.toState&&"void"===x.toState),sy(void 0)),this._destroyed=new He,this.onPositionChanged=new lt,this._modeChanged=new He,this.openedChange.subscribe(x=>{x?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{As(this._elementRef.nativeElement,"keydown").pipe(qi(x=>27===x.keyCode&&!this.disableClose&&!ya(x)),ai(this._destroyed)).subscribe(x=>this._ngZone.run(()=>{this.close(),x.stopPropagation(),x.preventDefault()}))}),this._animationEnd.pipe(jg((x,P)=>x.fromState===P.fromState&&x.toState===P.toState)).subscribe(x=>{const{fromState:P,toState:K}=x;(0===K.indexOf("open")&&"void"===P||"void"===K&&0===P.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{!n&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(rn(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const n=this._elementRef.nativeElement,r=n.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(Ka),k(Hn),k(Rt),k(Hh),k(xi,8),k(gM,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer"]],viewQuery:function(e,n){if(1&e&&At(lme,5),2&e){let r;Qe(r=Xe())&&(n._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,n){1&e&&_f("@transform.start",function(a){return n._animationStarted.next(a)})("@transform.done",function(a){return n._animationEnd.next(a)}),2&e&&(Lt("align",null),yf("@transform",n._animationState),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:dw,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Pi(),_(0,"div",0,1),vt(2),v())},dependencies:[Vh],encapsulation:2,data:{animation:[BR.transformDrawer]},changeDetection:0}),i})(),bM=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ct(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ct(e)}get scrollable(){return this._userContent||this._content}constructor(e,n,r,a,o,c=!1,u){this._dir=e,this._element=n,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=u,this._drawers=new Ec,this.backdropClick=new lt,this._destroyed=new He,this._doCheckSubject=new He,this._contentMargins={left:null,right:null},this._contentMarginChanges=new He,e&&e.change.pipe(ai(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(ai(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}ngAfterContentInit(){this._allDrawers.changes.pipe(Ur(this._allDrawers),ai(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Ur(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe($b(10),ai(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();n+=r,e-=r}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(qi(n=>n.fromState!==n.toState),ai(this._drawers.changes)).subscribe(n=>{"open-instant"!==n.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(ai(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(ai(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(rn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(ai(Bn(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return i.\u0275fac=function(e){return new(e||i)(k(Rr,8),k(pt),k(Rt),k(oi),k(Fl),k(bme),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,uw,5),ui(r,_M,5)),2&e){let a;Qe(a=Xe())&&(n._content=a.first),Qe(a=Xe())&&(n._allDrawers=a)}},viewQuery:function(e,n){if(1&e&&At(uw,5),2&e){let r;Qe(r=Xe())&&(n._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Nt([{provide:gM,useExisting:i}])],ngContentSelectors:hme,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Pi(ume),ee(0,cme,1,2,"div",0),vt(1),vt(2,1),ee(3,dme,2,0,"mat-drawer-content",1)),2&e&&(S("ngIf",n.hasBackdrop),E(3),S("ngIf",!n._content))},dependencies:[ri,uw],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),yM=(()=>{class i extends uw{constructor(e,n,r,a,o){super(e,n,r,a,o)}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(hi(()=>wM)),k(pt),k(ku),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,n){2&e&&Kn("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Nt([{provide:Vh,useExisting:i}]),st],ngContentSelectors:dw,decls:1,vars:0,template:function(e,n){1&e&&(Pi(),vt(0))},encapsulation:2,changeDetection:0}),i})(),vM=(()=>{class i extends _M{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ct(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=vr(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=vr(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,n){2&e&&(Lt("align",null),Kn("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[st],ngContentSelectors:dw,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Pi(),_(0,"div",0,1),vt(2),v())},dependencies:[Vh],encapsulation:2,data:{animation:[BR.transformDrawer]},changeDetection:0}),i})(),wM=(()=>{class i extends bM{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,yM,5),ui(r,vM,5)),2&e){let a;Qe(a=Xe())&&(n._content=a.first),Qe(a=Xe())&&(n._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[Nt([{provide:gM,useExisting:i}]),st],ngContentSelectors:gme,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Pi(pme),ee(0,mme,1,2,"div",0),vt(1),vt(2,1),ee(3,fme,2,0,"mat-sidenav-content",1)),2&e&&(S("ngIf",n.hasBackdrop),E(3),S("ngIf",!n._content))},dependencies:[ri,yM],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),vme=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Jt,Nc,Nc,Jt]}),i})();var hw=new WeakMap,lh=new WeakMap;class dc{get chats$(){return Pe(this,hw).asObservable().pipe()}get chats2$(){return Ht(Pe(this,lh))}get uniqueChats$(){return this.chats2$.pipe(_t(t=>{const e=t.sort((r,a)=>r.created_ate.findIndex(o=>o.pubkey==r.pubkey)===a)}))}constructor(t,e,n,r){sn(this,hw,{writable:!0,value:void 0}),sn(this,lh,{writable:!0,value:void 0}),this.nostr=t,this.queueService=e,this.dataService=n,this.appState=r,this.chats=[],ti(this,hw,new Hi(this.chats)),ti(this,lh,[]),this.chats3=[],this.subscriptions=[],this.data={users:[{id:0,username:"Milad",name:"Milad Raeisi",cover:"https://avatars.githubusercontent.com/u/6504337",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. "},{id:1,username:"SondreB",name:"Sondre",cover:"https://avatars.githubusercontent.com/u/309938",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "}],chats:[{id:0,targetUserId:0,username:"Blockcore Channel",cover:"https://avatars.githubusercontent.com/u/53176002",lastMessage:"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",lastMessageLength:0,chat:[{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"How are you?"},{id:"0",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi, I am good, you?"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Thank you."}]},{id:1,targetUserId:0,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary,",lastMessageLength:2,chat:[{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy."}]},{id:2,targetUserId:1,username:"SondreB",cover:"https://avatars.githubusercontent.com/u/309938",lastMessage:" Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",lastMessageLength:0,chat:[{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem ipsum dolor sit amet."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."}]}],saveMessage:{id:0,chatId:2,cover:"https://avatars.githubusercontent.com/u/53176002",message:"Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},createChat:{id:0,targetUserId:1,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"",lastMessageLength:0,chat:[]}},this.chats=this.data.chats,Pe(this,hw).next(this.chats),console.log(this.data.chats)}download(){var t=this;ti(this,lh,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe(e_(Ee(function*(){for(let e=0;er.id===n.id)>-1||Pe(t,lh).unshift(n)});return function(n){return e.apply(this,arguments)}}())}saveMessage(t,e){}createChat(t){}getChats(){return this.data.chats}}dc.\u0275fac=function(t){return new(t||dc)(Fe(Sl),Fe(Oo),Fe(Ba),Fe(Xi))},dc.\u0275prov=Ke({token:dc,factory:dc.\u0275fac,providedIn:"root"});class nu{constructor(t){this.chatService=t,this.users=new Hi(null),this.active=new Hi(null)}getUsers(){return this.chatService.data.users}}nu.\u0275fac=function(t){return new(t||nu)(Fe(dc))},nu.\u0275prov=Ke({token:nu,factory:nu.\u0275fac,providedIn:"root"});class Lp{constructor(){this.type="online"}}function wme(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2),Ce(2,"img",3),v(),_(3,"div",4)(4,"button",5),fe("click",function(){return Te(e),Ae(Z().openNewChat())}),L(5,"Write Message"),v()(),_(6,"h1",6),L(7),v(),_(8,"div",7),Ce(9,"app-status",8),v(),_(10,"h2",9),L(11,"Biography"),v(),_(12,"p",10),L(13),v()()}if(2&i){const e=Z();E(2),S("src",e.user.cover,on),E(5),yt(e.user.username),E(2),S("text",e.user.status),E(4),yt(e.user.bio)}}Lp.\u0275fac=function(t){return new(t||Lp)},Lp.\u0275cmp=qe({type:Lp,selectors:[["app-status"]],inputs:{type:"type",text:"text"},decls:2,vars:3,template:function(t,e){1&t&&(_(0,"span"),L(1),v()),2&t&&(ub("mat-caption status status--"+e.type),E(1),qt(" ",e.text,"\n"))},styles:['.status[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:4px;height:4px;border-radius:4px;position:relative;top:-4px;margin-right:3px}.status--online[_ngcontent-%COMP%]{color:#27f32f}.status--online[_ngcontent-%COMP%]:before{background-color:#27f32f}.status--offline[_ngcontent-%COMP%]{color:#acacac}.status--offline[_ngcontent-%COMP%]:before{background-color:#acacac}.status--busy[_ngcontent-%COMP%]{color:#ff451e}.status--busy[_ngcontent-%COMP%]:before{background-color:#ff451e}']});class R0{constructor(t,e){this.service=t,this.messageService=e,this.openChatWindow=new lt}openNewChat(){this.messageService.createChat(this.user),this.openChatWindow.emit(this.user.username)}ngOnInit(){this.subscription=this.service.active.subscribe(t=>this.user=t)}ngOnDestroy(){this.subscription.unsubscribe()}}R0.\u0275fac=function(t){return new(t||R0)(k(nu),k(dc))},R0.\u0275cmp=qe({type:R0,selectors:[["app-user-profile"]],outputs:{openChatWindow:"openChatWindow"},decls:1,vars:1,consts:[["class","profile",4,"ngIf"],[1,"profile"],[1,"profile__picture-container"],["alt","",1,"profile__picture",3,"src"],[1,"profile__button"],["mat-flat-button","","color","primary",3,"click"],[1,"mat-h1","profile__username"],["mat-line","",1,"profile__status"],[1,"mat-line",3,"text"],[1,"mat-h2"],[1,"mat-body"]],template:function(t,e){1&t&&ee(0,wme,14,4,"div",0),2&t&&S("ngIf",e.user)},dependencies:[ri,dr,NC,Lp],styles:[".profile[_ngcontent-%COMP%]{padding:16px}.profile__picture-container[_ngcontent-%COMP%]{width:180px;height:180px;border-radius:120px;overflow:hidden;margin:0 auto 12px}.profile__picture[_ngcontent-%COMP%]{width:100%;height:auto}.profile__username[_ngcontent-%COMP%]{margin:0}.profile__status[_ngcontent-%COMP%]{margin-bottom:16px}.profile__button[_ngcontent-%COMP%]{margin:8px auto 16px;display:flex;justify-content:center}"]});class P0{constructor(t){this.service=t,this.openSidebar=new lt}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function Fme(i,t){1&i&&Ce(0,"mat-divider")}function xme(i,t){if(1&i){const e=Je();Dn(0),_(1,"app-user-item",1),fe("openSidebar",function(r){return Te(e),Ae(Z().openSidebar.emit(r))}),v(),ee(2,Fme,1,0,"mat-divider",2),Mn()}if(2&i){const e=t.$implicit,n=t.last;E(1),S("user",e),E(1),S("ngIf",!n)}}P0.\u0275fac=function(t){return new(t||P0)(k(nu))},P0.\u0275cmp=qe({type:P0,selectors:[["app-user-item"]],inputs:{user:"user"},outputs:{openSidebar:"openSidebar"},decls:6,vars:3,consts:[[3,"click"],["loading","lazy","matListItemAvatar","",3,"src"],["mat-line",""],[1,"mat-line",3,"text"]],template:function(t,e){1&t&&(_(0,"mat-list-item",0),fe("click",function(){return e.showProfile()}),Ce(1,"img",1),_(2,"h4",2),L(3),v(),_(4,"p",2),Ce(5,"app-status",3),v()()),2&t&&(E(1),S("src",e.user.cover,on),E(2),yt(e.user.name),E(2),S("text",e.user.status))},dependencies:[mM,lw,NC,Lp],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class B0{constructor(t){this.service=t,this.openSidebar=new lt,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(t=>this.data=t)}}B0.\u0275fac=function(t){return new(t||B0)(k(nu))},B0.\u0275cmp=qe({type:B0,selectors:[["app-user-list"]],outputs:{openSidebar:"openUserSidebar"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"user","openSidebar"],[4,"ngIf"]],template:function(t,e){1&t&&(_(0,"mat-nav-list"),ee(1,xme,3,2,"ng-container",0),v()),2&t&&(E(1),S("ngForOf",e.data))},dependencies:[yn,ri,fM,E0,P0]});class Np{isSendable(t){return""!==t&&""!==t.trim()}}Np.\u0275fac=function(t){return new(t||Np)},Np.\u0275prov=Ke({token:Np,factory:Np.\u0275fac,providedIn:"root"});let Cme=0;const kme=ec(class{}),HR="mat-badge-content";let VR=(()=>{class i extends kme{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=Ct(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=Ct(e)}constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._ariaDescriber=r,this._renderer=a,this._animationMode=o,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=Cme++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),n="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(HR),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(n)})}):e.classList.add(n),e}_updateRenderedContent(e){const n=`${e??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),e&&n.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${HR}`);for(const n of Array.from(e))n!==this._badgeElement&&n.remove()}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(pt),k(gC),k(zs),k(Nn,8))},i.\u0275dir=Oe({type:i,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,n){2&e&&Mt("mat-badge-overlap",n.overlap)("mat-badge-above",n.isAbove())("mat-badge-below",!n.isAbove())("mat-badge-before",!n.isAfter())("mat-badge-after",n.isAfter())("mat-badge-small","small"===n.size)("mat-badge-medium","medium"===n.size)("mat-badge-large","large"===n.size)("mat-badge-hidden",n.hidden||!n.content)("mat-badge-disabled",n.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[st]}),i})(),Dme=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Bf,Jt,Jt]}),i})();function Mme(i,t){1&i&&Ce(0,"span",5),2&i&&S("matBadge",Z().chat.lastMessageLength)}class H0{constructor(t){this.service=t,this.openChatSidebar=new lt}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function Eme(i,t){1&i&&Ce(0,"mat-divider")}H0.\u0275fac=function(t){return new(t||H0)(k(dc))},H0.\u0275cmp=qe({type:H0,selectors:[["app-chat-item"]],inputs:{chat:"chat",event:"event"},outputs:{openChatSidebar:"openChatSidebar"},decls:7,vars:4,consts:[[3,"click"],["alt","","matListItemAvatar","",3,"src"],["mat-line",""],["mat-line","",1,"last-message"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge",4,"ngIf"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge"]],template:function(t,e){1&t&&(_(0,"mat-list-item",0),fe("click",function(){return e.showMessageDetail()}),Ce(1,"img",1),_(2,"h4",2),L(3),v(),_(4,"p",3),L(5),v(),ee(6,Mme,1,1,"span",4),v()),2&t&&(E(1),S("src",e.chat.cover,on),E(2),yt(e.chat.username),E(2),yt(e.chat.lastMessage),E(1),S("ngIf",e.chat.lastMessageLength))},dependencies:[ri,mM,lw,NC,VR],styles:[".last-message[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:90%;white-space:nowrap}.user-avatar[_ngcontent-%COMP%]{height:50px;width:50px}mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});const Sme=function(i){return["/m",i]};function Tme(i,t){if(1&i&&(Dn(0),Ce(1,"app-chat-item",6),ee(2,Eme,1,0,"mat-divider",7),Mn()),2&i){const e=t.$implicit,n=t.last;E(1),S("routerLink",wn(3,Sme,e.id))("chat",e),E(1),S("ngIf",!n)}}function Ame(i,t){if(1&i&&(_(0,"div"),L(1),v()),2&i){const e=t.$implicit;E(1),yd("",e.pubkey," : ",e.content,"")}}class Fm{constructor(t){this.chatService=t,this.openChatSidebar=new lt}ngOnInit(){this.chatService.download()}add(){}reset(){}}Fm.\u0275fac=function(t){return new(t||Fm)(k(dc))},Fm.\u0275cmp=qe({type:Fm,selectors:[["app-chat-list"]],outputs:{openChatSidebar:"openChatSidebar"},decls:15,vars:4,consts:[[1,"search"],["appearance","fill",1,"input-full-width"],["matInput","","type","text","placeholder","Search..."],["matSuffix",""],[4,"ngFor","ngForOf"],[3,"click"],[3,"routerLink","chat"],[4,"ngIf"]],template:function(t,e){1&t&&(_(0,"mat-nav-list")(1,"div",0)(2,"mat-form-field",1),Ce(3,"input",2),_(4,"mat-icon",3),L(5,"search"),v()()(),ee(6,Tme,3,5,"ng-container",4),gi(7,"async"),v(),ee(8,Ame,2,2,"div",4),_(9,"button",5),fe("click",function(){return e.add()}),L(10,"Add"),v(),_(11,"button",5),fe("click",function(){return e.reset()}),L(12,"Reset"),v(),_(13,"button",5),fe("click",function(){return e.chatService.download()}),L(14,"Download"),v()),2&t&&(E(6),S("ngForOf",yi(7,2,e.chatService.chats$)),E(2),S("ngForOf",e.chatService.chats3))},dependencies:[yn,ri,wa,Do,Ra,BN,Zn,fM,E0,H0,Ts],styles:[".form[_ngcontent-%COMP%]{padding:16px 16px 0}.input-full-width[_ngcontent-%COMP%]{position:relative;margin:auto}.search[_ngcontent-%COMP%]{position:sticky;top:0;padding:10px;z-index:999}"]});class V0{}V0.\u0275fac=function(t){return new(t||V0)},V0.\u0275cmp=qe({type:V0,selectors:[["app-message-bubble"]],inputs:{message:"message",cover:"cover"},decls:6,vars:4,consts:[[1,"bubble"],[1,"bubble","cover"],["alt","",1,"bubble","picture",3,"src"],[1,"bubble","container"],[1,"bubble","card"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1),Ce(2,"img",2),v(),_(3,"div",3)(4,"mat-card",4),L(5),v()()()),2&t&&(Mt("me",0==e.message.id),E(2),S("src",e.message.cover,on),E(3),qt(" ",e.message.message," "))},dependencies:[Pa],styles:[".bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble.cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%;margin-bottom:0}.bubble.container[_ngcontent-%COMP%]{flex:1}.bubble.card[_ngcontent-%COMP%]{display:inline-block!important;padding:12px}.bubble.me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble.me[_ngcontent-%COMP%] .bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble.me[_ngcontent-%COMP%] .bubble.cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}"]});const Ime=["scrollable"],Lme=["picker"],Nme=["drawer"];function Ome(i,t){if(1&i&&(Dn(0),Ce(1,"app-message-bubble",23),Mn()),2&i){const e=t.$implicit;E(1),S("message",e)}}function Rme(i,t){if(1&i&&(Dn(0),ee(1,Ome,2,1,"ng-container",22),Mn()),2&i){const e=Z();E(1),S("ngForOf",e.chat.chat)}}function Pme(i,t){1&i&&Ce(0,"mat-spinner",24)}function Bme(i,t){if(1&i){const e=Je();_(0,"emoji-mart",25),fe("emojiSelect",function(r){return Te(e),Ae(Z().addEmoji(r))}),v()}2&i&&S("isNative",!0)("showPreview",!1)}function Hme(i,t){1&i&&(_(0,"mat-icon"),L(1,"chevron_left"),v())}function Vme(i,t){1&i&&(_(0,"mat-icon"),L(1,"chevron_right"),v())}class Op{constructor(t,e,n){this.service=t,this.control=e,this.appState=n,this.sending=!1,this.displayList=!0}ngOnInit(){}scrollToBottom(){setTimeout(()=>{this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight},100)}saveMessage(t){this.message=t.target.value,"Enter"==t.key&&this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,t.target.value="")}send(t){this.message=t,this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,this.message="")}addEmoji(t){this.message=`${this.message}${t.emoji.native}`,this.isEmojiPickerVisible=!1}toggle(){this.displayList=!this.displayList,this.drawer.toggle()}ngOnDestroy(){this.subscription?.unsubscribe()}}Op.\u0275fac=function(t){return new(t||Op)(k(dc),k(Np),k(Xi))},Op.\u0275cmp=qe({type:Op,selectors:[["app-chat-detail"]],viewQuery:function(t,e){if(1&t&&(At(Ime,5),At(Lme,5),At(Nme,5)),2&t){let n;Qe(n=Xe())&&(e.scrollable=n.first),Qe(n=Xe())&&(e.picker=n.first),Qe(n=Xe())&&(e.drawer=n.first)}},decls:44,vars:8,consts:[["autosize","",1,"chat-detail-container"],["opened","","mode","side",1,"chat-detail-sidenav","list-hide-small"],["drawer",""],[1,"chat-detail-sidenav-content"],[1,"messages-list-container"],[1,"scrollable"],["scrollable",""],[4,"ngIf"],["diameter","24","color","warn",4,"ngIf"],[1,"message-send"],["class","emoji-picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["type","button","mat-icon-button","",1,"list-hide-small",2,"margin","5px",3,"click"],[1,"input-full-width"],["matPrefix","",1,"toolbar-icon",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["type","text","matInput","","placeholder","Write a message",3,"ngModel","ngModelChange","keypress"],["align","end",1,"hint"],["matSuffix","","matTooltip","Insert emoji",1,"toolbar-icon",3,"click"],["matSuffix","",1,"toolbar-icon"],["matSuffix","",1,"toolbar-icon",3,"click"],[4,"ngFor","ngForOf"],[3,"message"],["diameter","24","color","warn"],["emoji","point_up","title","Choose your emoji",1,"emoji-picker",3,"isNative","showPreview","emojiSelect"]],template:function(t,e){if(1&t&&(_(0,"mat-drawer-container",0)(1,"mat-drawer",1,2),Ce(3,"app-chat-list"),v(),_(4,"div",3)(5,"div",4)(6,"div",5,6),ee(8,Rme,2,1,"ng-container",7),ee(9,Pme,1,0,"mat-spinner",8),v(),_(10,"div",9),ee(11,Bme,1,2,"emoji-mart",10),_(12,"button",11),fe("click",function(){return e.toggle()}),ee(13,Hme,2,0,"mat-icon",7),ee(14,Vme,2,0,"mat-icon",7),v(),_(15,"mat-form-field",12)(16,"mat-icon",13),L(17,"attach_file_add"),v(),_(18,"mat-menu",null,14)(20,"button",15)(21,"mat-icon"),L(22,"imagesmode"),v(),_(23,"span"),L(24,"Image"),v()(),_(25,"button",15)(26,"mat-icon"),L(27,"videocam"),v(),_(28,"span"),L(29,"Video"),v()(),_(30,"button",16)(31,"mat-icon"),L(32,"file_present"),v(),_(33,"span"),L(34,"Document"),v()()(),_(35,"input",17),fe("ngModelChange",function(r){return e.message=r})("keypress",function(r){return e.saveMessage(r)}),v(),_(36,"mat-hint",18),L(37),v(),_(38,"mat-icon",19),fe("click",function(){return e.isEmojiPickerVisible=!e.isEmojiPickerVisible}),L(39,"sentiment_satisfied"),v(),_(40,"mat-icon",20),L(41,"mic"),v(),_(42,"mat-icon",21),fe("click",function(){return e.send(e.message)}),L(43,"send"),v()()()()()()),2&t){const n=Li(19);E(8),S("ngIf",e.chat),E(1),S("ngIf",e.sending),E(2),S("ngIf",e.isEmojiPickerVisible),E(2),S("ngIf",e.displayList),E(1),S("ngIf",!e.displayList),E(2),S("matMenuTriggerFor",n),E(19),S("ngModel",e.message),E(2),qt("Length : ",null==e.message?null:e.message.length,"")}},dependencies:[yn,ri,Do,Ra,RD,Kc,BN,bo,_M,bM,Zn,_m,ed,u0,ps,Wv,pM,ka,ha,Da,Fm,V0],styles:[".chat-detail-container[_ngcontent-%COMP%]{height:100%;width:100%}.chat-detail-sidenav-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center}.chat-detail-sidenav[_ngcontent-%COMP%]{width:275px}[_nghost-%COMP%]{display:flex;height:100%}.messages-list-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:space-between;width:100%;height:100%}.scrollable[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:16px;background-color:#ffffff8c;background-image:url(/assets/chat-bg.png)}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ddd}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#bdbdbd}.message-send[_ngcontent-%COMP%]{display:flex;padding:10px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex:1}.bubble[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{display:inline-block!important}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}.emoji-picker[_ngcontent-%COMP%]{display:block;position:absolute;z-index:3;bottom:90px;right:10px}@media only screen and (max-width: 960px){.list-hide-small[_ngcontent-%COMP%]{display:none!important}}"]});const Yme=["chatSidebar"],jme=["userSidebar"];class Y0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Chat"),t.appState.goBack=!0,t.appState.actions=[]})()}}Y0.\u0275fac=function(t){return new(t||Y0)(k(Xi))},Y0.\u0275cmp=qe({type:Y0,selectors:[["app-chat"]],viewQuery:function(t,e){if(1&t&&(At(Yme,5),At(jme,5)),2&t){let n;Qe(n=Xe())&&(e.chatSidebar=n.first),Qe(n=Xe())&&(e.userSidebar=n.first)}},decls:24,vars:2,consts:[["autosize","",1,"drawer-container"],["mat-align-tabs","center"],["label","Messages"],[3,"openChatSidebar"],["label","Users"],[3,"openUserSidebar"],["mode","side","position","start",1,"sidebar","sidebar--message"],["chatSidebar",""],["color","primary",1,"zIndexTop"],["aria-hidden","false",1,"button",3,"click"],[1,"spacer"],["mode","over","position","end",1,"sidebar","sidebar--user"],["userSidebar",""],[3,"openChatWindow"]],template:function(t,e){if(1&t){const n=Je();_(0,"mat-sidenav-container",0)(1,"mat-tab-group",1)(2,"mat-tab",2)(3,"app-chat-list",3),fe("openChatSidebar",function(a){return e.open.chatSideBar(a)}),v()(),_(4,"mat-tab",4)(5,"app-user-list",5),fe("openUserSidebar",function(a){return e.open.userSideBar(a)}),v()()(),_(6,"mat-sidenav",6,7)(8,"mat-toolbar",8)(9,"mat-toolbar-row")(10,"mat-icon",9),fe("click",function(){return Te(n),Ae(Li(7).close())}),L(11,"arrow_back_ios"),v(),_(12,"span",10),L(13),v()()(),Ce(14,"app-chat-detail"),v(),_(15,"mat-sidenav",11,12)(17,"mat-toolbar",8)(18,"mat-toolbar-row")(19,"span",10),L(20),v(),_(21,"mat-icon",9),fe("click",function(){return Te(n),Ae(Li(16).close())}),L(22,"close"),v()()(),_(23,"app-user-profile",13),fe("openChatWindow",function(a){return e.open.chatSideBar(a)}),v()()()}2&t&&(E(13),qt(" ",e.sidebarTitles.chat," "),E(7),qt(" ",e.sidebarTitles.user," "))},dependencies:[PR,RR,vM,wM,Zn,x0,nw,R0,B0,Op,Fm],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.sidebar .mat-drawer-inner-container{display:flex;flex-direction:column;flex:1;z-index:9999}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});class j0{constructor(t,e){this.profiles=t,this.utilities=e,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function zme(i,t){if(1&i&&(_(0,"div",8),Ce(1,"app-profile-widget",9),v()),2&i){const e=t.$implicit;E(1),S("pubkey",e)}}function Ume(i,t){if(1&i&&(Dn(0),_(1,"div",6),ee(2,zme,2,1,"div",7),v(),Mn()),2&i){const e=t.ngIf;E(2),S("ngForOf",e.following)}}j0.\u0275fac=function(t){return new(t||j0)(k(Tn),k(Qi))},j0.\u0275cmp=qe({type:j0,selectors:[["app-profile-widget"]],inputs:{pubkey:"pubkey"},decls:3,vars:2,consts:[[1,"profile-widget"],[3,"pubkey"]],template:function(t,e){1&t&&(_(0,"div",0),Ce(1,"app-event-header",1)(2,"app-profile-actions",1),v()),2&t&&(E(1),S("pubkey",e.pubkey),E(1),S("pubkey",e.pubkey))},dependencies:[gs,vm],styles:[".profile-widget[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:row;height:200px}.profile-widget[_ngcontent-%COMP%] app-event-header[_ngcontent-%COMP%]{flex-grow:2}.profile-widget[_ngcontent-%COMP%] app-profile-actions[_ngcontent-%COMP%]{width:48px}"]});const Wme=function(i){return["/followers",i]},Gme=function(i){return["/following",i]};class z0{constructor(t,e,n,r,a,o){this.ui=t,this.appState=e,this.dataService=n,this.profileService=r,this.activatedRoute=a,this.router=o,this.subscriptions=[]}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(e=>{e&&(this.appState.updateTitle(e.name),this.dataService.enque({type:"Contacts",identifier:e.pubkey}))})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t{this.appState.updateTitle(`@${e?.name}`)})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t{this.addQueue()}}]}addQueue(){var t=this;this.dialog.open(W0,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){if(r&&r.url)if(r.url.indexOf("youtu.be")>-1||r.url.indexOf("youtube.com")>-1){let o=[...r.url.matchAll(t.contentService.regexpYouTube)].map(c=>({url:`https://www.youtube.com/embed/${c[1]}`}));for(let c=0;c-1||r.url.indexOf(".webm")>-1?t.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:r.url,source:r.url,type:"Video"}):t.media.enque({artist:"",artwork:"",title:r.url,source:r.url,type:"Music"})});return function(r){return n.apply(this,arguments)}}())}remove(t){this.media.dequeue(t)}}G0.\u0275fac=function(t){return new(t||G0)(k(gm),k(Fa),k(Xi),k(Tr),k(Jd),k(Qi))},G0.\u0275cmp=qe({type:G0,selectors:[["app-queue"]],decls:4,vars:1,consts:[[1,"page"],[1,"media-list"],[4,"ngFor","ngForOf"],["matListItemAvatar","",1,"queue-artwork",3,"src"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","",1,"delete-button"],["mat-icon-button","","matTooltip","Remove from queue","color","grey",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-list"),ee(3,Kme,10,4,"mat-list-item",2),v()()()),2&t&&(E(3),S("ngForOf",e.media.media))},dependencies:[yn,bo,Zn,wue,mM,lw,sw,ow,_R,ps],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const Zme=["chatSidebar"],Qme=["userSidebar"];function Xme(i,t){if(1&i&&(_(0,"div"),L(1),gi(2,"json"),v()),2&i){const e=t.$implicit;E(1),yt(yi(2,1,e))}}class q0{constructor(t,e,n){this.appState=t,this.queueService=e,this.relayService=n,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(r=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=r},chatSideBar:function(r=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=r}}}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id)}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Messages"),t.appState.goBack=!0,t.appState.showBackButton=!1,t.appState.actions=[],t.sub=t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],kinds:[jn.EncryptedDirectMessage]}],"messages")})()}}q0.\u0275fac=function(t){return new(t||q0)(k(Xi),k(Oo),k(Mo))},q0.\u0275cmp=qe({type:q0,selectors:[["app-messages"]],viewQuery:function(t,e){if(1&t&&(At(Zme,5),At(Qme,5)),2&t){let n;Qe(n=Xe())&&(e.chatSidebar=n.first),Qe(n=Xe())&&(e.userSidebar=n.first)}},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(Ce(0,"app-chat-list"),ee(1,Xme,3,3,"div",0)),2&t&&(E(1),S("ngForOf",e.sub.events))},dependencies:[yn,Fm,WA],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const Jme=["chatSidebar"],efe=["userSidebar"];class $0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("@Milad"),t.appState.goBack=!0,t.appState.showBackButton=!0,t.appState.actions=[]})()}}function tfe(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z();E(1),yt(e.relay.nip11.name)}}function ife(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z();E(1),yt(e.relay.url.substring(6))}}function nfe(i,t){1&i&&(_(0,"mat-icon",15),L(1,"edit_note"),v())}function rfe(i,t){1&i&&(_(0,"mat-icon",15),L(1,"edit_off"),v())}function afe(i,t){1&i&&(_(0,"mat-icon",15),L(1,"edit"),v())}function ofe(i,t){1&i&&(_(0,"mat-icon",16),L(1,"cloud_off"),v())}$0.\u0275fac=function(t){return new(t||$0)(k(Xi))},$0.\u0275cmp=qe({type:$0,selectors:[["app-message"]],viewQuery:function(t,e){if(1&t&&(At(Jme,5),At(efe,5)),2&t){let n;Qe(n=Xe())&&(e.chatSidebar=n.first),Qe(n=Xe())&&(e.userSidebar=n.first)}},decls:1,vars:0,template:function(t,e){1&t&&Ce(0,"app-chat-detail")},dependencies:[Op],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const YR=function(i){return[i]};function sfe(i,t){if(1&i&&(_(0,"mat-icon",17),L(1,"cloud_done"),v()),2&i){const e=Z();S("ngClass",wn(1,YR,"relay-status-"+e.relay.status))}}function lfe(i,t){if(1&i&&(_(0,"mat-icon",17),L(1,"cloud"),v()),2&i){const e=Z();S("ngClass",wn(1,YR,"relay-status-"+e.relay.status))}}function cfe(i,t){1&i&&(_(0,"mat-icon",15),L(1,"public"),v())}function dfe(i,t){1&i&&(_(0,"mat-icon",15),L(1,"public_off"),v())}function ufe(i,t){if(1&i&&(_(0,"div",18),L(1),v()),2&i){const e=Z();E(1),yt(e.relay.error)}}function hfe(i,t){if(1&i&&(_(0,"h2"),L(1),v()),2&i){const e=Z(2);E(1),yt(null==e.relay.nip11?null:e.relay.nip11.name)}}const mfe=function(i){return["/p",i]};function ffe(i,t){if(1&i&&(_(0,"span")(1,"a",20),L(2,"Administrator"),v(),Ce(3,"br"),v()),2&i){const e=Z(2);E(1),S("routerLink",wn(1,mfe,e.relay.nip11.pubkey))}}function pfe(i,t){if(1&i&&(_(0,"span"),L(1),Ce(2,"br"),v()),2&i){const e=Z(2);E(1),qt("Contact: ",e.relay.nip11.contact,"")}}function gfe(i,t){if(1&i&&(_(0,"div"),ee(1,hfe,2,1,"h2",2),L(2),Ce(3,"br")(4,"br"),_(5,"span",9),ee(6,ffe,4,3,"span",2),ee(7,pfe,3,1,"span",2),L(8),Ce(9,"br"),L(10),Ce(11,"br"),_(12,"span",19),L(13),v()()()),2&i){const e=Z();E(1),S("ngIf",null==e.relay.nip11?null:e.relay.nip11.name),E(1),qt(" ",e.relay.nip11.description,""),E(4),S("ngIf",e.relay.nip11.pubkey),E(1),S("ngIf",e.relay.nip11.contact),E(1),qt(" NIPs: ",e.relay.nip11.supported_nips,""),E(2),yd(" Software: ",e.relay.nip11.software," (",e.relay.nip11.version,")"),E(3),qt(" ID: ",e.relay.nip11.pubkey,"")}}function _fe(i,t){if(1&i&&(_(0,"div",9),L(1),v()),2&i){const e=Z();E(1),qt("Timeouts: ",e.relay.timeouts,"")}}function bfe(i,t){if(1&i&&(_(0,"div",9),L(1),v()),2&i){const e=Z();E(1),qt("Events: ",e.relay.eventcount,"")}}function yfe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),L(2),v(),_(3,"span",23),L(4),v(),_(5,"span",24),L(6),v()()),2&i){const e=t.$implicit;S("selected",Z().relay.type==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}function vfe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),L(2),v(),_(3,"span",23),L(4),v(),_(5,"span",24),L(6),v()()),2&i){const e=t.$implicit;S("selected",Z().relay.enabled==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}function wfe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),L(2),v(),_(3,"span",23),L(4),v(),_(5,"span",24),L(6),v()()),2&i){const e=t.$implicit;S("selected",Z().relay.public==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}const jR=function(i){return{"primary-relay":i}};class K0{constructor(t,e){this.optionsService=t,this.relayService=e,this.typesOfRelays=[{type:1,title:"Read and Write",description:"Reads and writes events, profiles and other metadata. Always connected.",icon:"edit_note"},{type:2,title:"Read",description:"Reads only, does not write, unless explicit specified on publish action.",icon:"edit_off"},{type:3,title:"Write",description:"Writes your events, profile and other metadata updates. Connects on-demand.",icon:"edit"}],this.typesOfPrivacy=[{type:!0,title:"Public",description:"This relay is included in your public relay list.",icon:"public"},{type:!1,title:"Private",description:"This relay is not published as part of your public relay list.",icon:"public_off"}],this.typesOfStatus=[{type:!0,title:"Enabled",description:"This relay is enabled and Notes will connect to it.",icon:"cloud_done"},{type:!1,title:"Disabled",description:"Disables this relay (locally) until activated again.",icon:"cloud_off"}]}ngOnInit(){}onRelayTypeChange(t){var e=this;return Ee(function*(){console.log("onRelayTypeChange",t.options[0].value),e.relay.type=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayType(e.relay.url,e.relay.type),!e.relay.enabled||e.relay.type>2?e.relayService.terminate(e.relay.url):e.relayService.createRelayWorker(e.relay.url)})()}onRelayPublicChange(t){var e=this;return Ee(function*(){console.log("onRelayPublicChange",t.options[0].value),e.relay.public=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayPublic(e.relay.url,e.relay.public)})()}onRelayStatusChange(t){var e=this;return Ee(function*(){console.log("onRelayStatusChange",t.options[0].value),e.relay.enabled=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayEnabled(e.relay.url,e.relay.enabled),e.relay.enabled||e.relay.type>2?e.relayService.createRelayWorker(e.relay.url):e.relayService.terminate(e.relay.url)})()}onRelayChanged(t){return Ee(function*(){})()}primaryRelay(t){var e=this;return Ee(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelay(t){var e=this;return Ee(function*(){yield e.relayService.deleteRelay(t.url)})()}relayFavIcon(t){return t.replace("wss://","https://")+"/favicon.ico"}}function Ffe(i,t){1&i&&Ce(0,"app-relay",2),2&i&&S("relay",t.$implicit)}K0.\u0275fac=function(t){return new(t||K0)(k(Tr),k(Mo))},K0.\u0275cmp=qe({type:K0,selectors:[["app-relay"]],inputs:{relay:"relay"},decls:53,vars:30,consts:[[3,"ngClass"],["onerror","this.src='/assets/blank.png'","width","32","height","32",1,"relay-favicon",3,"src"],[4,"ngIf"],[1,"hide-small",3,"ngClass"],["class","relay-status-icon hide-small",4,"ngIf"],["class","relay-status-icon",4,"ngIf"],["class","relay-status-icon",3,"ngClass",4,"ngIf"],["class","error",4,"ngIf"],["class","dimmed",4,"ngIf"],[1,"dimmed"],[1,"relay-options","mat-elevation-z8"],[3,"multiple","selectionChange"],[3,"selected","value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",1,"relay-button",3,"disabled","click"],["mat-raised-button","","color","warn",1,"relay-button",3,"click"],[1,"relay-status-icon","hide-small"],[1,"relay-status-icon"],[1,"relay-status-icon",3,"ngClass"],[1,"error"],[1,"wrap"],[3,"routerLink"],[3,"selected","value"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""]],template:function(t,e){1&t&&(_(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title",0),Ce(3,"img",1),ee(4,tfe,2,1,"span",2),ee(5,ife,2,1,"span",2),v(),_(6,"mat-panel-description")(7,"span",3),L(8),v(),_(9,"div"),ee(10,nfe,2,0,"mat-icon",4),ee(11,rfe,2,0,"mat-icon",4),ee(12,afe,2,0,"mat-icon",4),ee(13,ofe,2,0,"mat-icon",5),ee(14,sfe,2,3,"mat-icon",6),ee(15,lfe,2,3,"mat-icon",6),ee(16,cfe,2,0,"mat-icon",4),ee(17,dfe,2,0,"mat-icon",4),v()()(),ee(18,ufe,2,1,"div",7),ee(19,gfe,14,8,"div",2),Ce(20,"br"),ee(21,_fe,2,1,"div",8),ee(22,bfe,2,1,"div",8),_(23,"div",9),L(24),v(),_(25,"mat-card",10)(26,"mat-card-header")(27,"mat-card-title"),L(28,"Relay Options"),v()(),_(29,"mat-card-content")(30,"mat-selection-list",11),fe("selectionChange",function(r){return e.onRelayTypeChange(r)}),ee(31,yfe,7,5,"mat-list-option",12),v()()(),_(32,"mat-card",10)(33,"mat-card-header")(34,"mat-card-title"),L(35,"Relay Status"),v(),_(36,"mat-card-subtitle"),L(37,"Allows you to disable a relay locally."),v()(),_(38,"mat-card-content")(39,"mat-selection-list",11),fe("selectionChange",function(r){return e.onRelayStatusChange(r)}),ee(40,vfe,7,5,"mat-list-option",12),v()()(),_(41,"mat-card",10)(42,"mat-card-header")(43,"mat-card-title"),L(44,"Relay Privacy"),v()(),_(45,"mat-card-content")(46,"mat-selection-list",11),fe("selectionChange",function(r){return e.onRelayPublicChange(r)}),ee(47,wfe,7,5,"mat-list-option",12),v()()(),_(48,"button",13),fe("click",function(){return e.primaryRelay(e.relay)}),L(49,"Primary Relay"),v(),L(50,"\xa0 "),_(51,"button",14),fe("click",function(){return e.deleteRelay(e.relay)}),L(52,"Delete"),v()()),2&t&&(E(2),S("ngClass",wn(26,jR,e.optionsService.values.primaryRelay==e.relay.url)),E(1),S("src",e.relayFavIcon(e.relay.url),on),E(1),S("ngIf",e.relay.nip11),E(1),S("ngIf",!e.relay.nip11),E(2),S("ngClass",wn(28,jR,e.optionsService.values.primaryRelay==e.relay.url)),E(1),yt(e.relay.url),E(2),S("ngIf",1===e.relay.type),E(1),S("ngIf",2===e.relay.type),E(1),S("ngIf",3===e.relay.type),E(1),S("ngIf",!e.relay.enabled),E(1),S("ngIf",e.relay.enabled&&1==e.relay.status),E(1),S("ngIf",e.relay.enabled&&1!==e.relay.status),E(1),S("ngIf",!0===e.relay.public),E(1),S("ngIf",!1===e.relay.public),E(1),S("ngIf",e.relay.error),E(1),S("ngIf",e.relay.nip11),E(2),S("ngIf",e.relay.timeouts),E(1),S("ngIf",e.relay.eventcount),E(2),qt("Status: ",e.relay.status,""),E(6),S("multiple",!1),E(1),S("ngForOf",e.typesOfRelays),E(8),S("multiple",!1),E(1),S("ngForOf",e.typesOfStatus),E(6),S("multiple",!1),E(1),S("ngForOf",e.typesOfPrivacy),E(1),S("disabled",!e.relay.public||e.optionsService.values.primaryRelay==e.relay.url))},dependencies:[qa,yn,ri,wa,dr,Pa,sc,e0,J_,X_,Zn,wR,vR,uM,sw,ow,Xc,Jc,Qd,Zd],styles:[".mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:.4em}.relay-status--1[_ngcontent-%COMP%]{color:#3131d2}.relay-status-0[_ngcontent-%COMP%]{color:gray}.relay-status-1[_ngcontent-%COMP%]{color:#22b322}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-status-icon[_ngcontent-%COMP%]{margin-left:.2em}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:.6em;background-color:#ffffff1a}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:3!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}.relay-favicon[_ngcontent-%COMP%]{margin-right:1em}"]});class Rp{constructor(){}ngOnInit(){}trackByFn(t,e){return`${e.url}${e.modified}`}}Rp.\u0275fac=function(t){return new(t||Rp)},Rp.\u0275cmp=qe({type:Rp,selectors:[["app-relays"]],inputs:{relays:"relays"},decls:2,vars:2,consts:[["multi",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[3,"relay"]],template:function(t,e){1&t&&(_(0,"mat-accordion",0),ee(1,Ffe,1,1,"ng-template",1),v()),2&t&&(E(1),S("ngForOf",e.relays)("ngForTrackBy",e.trackByFn))},dependencies:[yn,lc,K0]});class Z0{constructor(t,e,n,r){this.nostr=t,this.dataService=e,this.appState=n,this.relayService=r}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return Ee(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var t=this;return Ee(function*(){t.relayService.appendRelays(t.nostr.defaultRelays)})()}downloadProfile(){this.relayService.enque({identifier:this.appState.getPublicKey(),type:"Profile"})}subscription(){this.sub=this.relayService.subscribe([{authors:[this.appState.getPublicKey()],kinds:[1]}]).id}unsubscribe(){this.relayService.unsubscribe(this.sub)}terminate(){this.relayService.workers[0].terminate()}ngOnDestroy(){this.worker?.terminate()}}Z0.\u0275fac=function(t){return new(t||Z0)(k(Sl),k(Ba),k(Xi),k(Mo))},Z0.\u0275cmp=qe({type:Z0,selectors:[["app-development"]],decls:20,vars:1,consts:[[1,"page"],["mat-stroked-button","",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"p"),L(2,"This page act as examples for more specialized implementation details of the app."),v(),_(3,"button",1),fe("click",function(){return e.downloadProfile()}),L(4,"Enque Profile Download"),v(),_(5,"button",1),fe("click",function(){return e.database()}),L(6,"Create Database"),v(),_(7,"button",1),fe("click",function(){return e.databaseWorker()}),L(8,"Create Database in Worker"),v(),_(9,"button",1),fe("click",function(){return e.addRelays()}),L(10,"Add Relays"),v(),_(11,"button",1),fe("click",function(){return e.subscription()}),L(12,"Create Subscription"),v(),_(13,"button",1),fe("click",function(){return e.unsubscribe()}),L(14,"Remove Subscription"),v(),_(15,"button",1),fe("click",function(){return e.terminate()}),L(16,"Terminate a single Web Worker"),v(),Ce(17,"br")(18,"br")(19,"app-relays",2),v()),2&t&&(E(19),S("relays",e.relayService.items))},dependencies:[dr,Rp],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});class ir{constructor(t,e){this.appState=t,this.router=e}resolve(t,e){return this.appState.initialized$.pipe(qi(n=>n))}}ir.\u0275fac=function(t){return new(t||ir)(Fe(Xi),Fe(qn))},ir.\u0275prov=Ke({token:ir,factory:ir.\u0275fac,providedIn:"root"});const xfe=function(i){return{"notification-message-seen":i}};function Cfe(i,t){if(1&i&&(_(0,"mat-card",7)(1,"mat-card-content")(2,"div",8)(3,"div",9),Ce(4,"app-notification-label",10),v(),_(5,"div",11),Ce(6,"app-date",12),v()()()()),2&i){const e=t.$implicit;E(3),S("ngClass",wn(3,xfe,e.seen)),E(1),S("notification",e),E(2),S("date",e.created)}}class Q0{constructor(t,e,n,r,a,o){this.navigation=t,this.utilities=e,this.db=n,this.relayService=r,this.ui=a,this.appState=o,this.subscriptions=[],this.offset=0,this.pageSize=12}ngOnInit(){var t=this;return Ee(function*(){t.appState.updateTitle("Notifications"),t.appState.showBackButton=!1,t.appState.actions=[];const e=yield t.db.storage.getNotifications(100);t.ui.putNotifications(e),t.subscriptions.push(t.navigation.showMore$.subscribe(()=>{t.showMore()}))})()}showMore(){var t=this;return Ee(function*(){let e=yield t.db.storage.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");t.offset>0&&(e=yield e?.advance(t.offset));for(let n=0;n{t.showMore()}))});return function(n){return e.apply(this,arguments)}}()))})()}}Pp.\u0275fac=function(t){return new(t||Pp)(k(Zr),k(us),k(ua),k(yo),k(Xi),k(oi),k(Tr),k(Tn),k(ts),k(Qi),k(qn),k(Td),k(ms),k(Rt))},Pp.\u0275cmp=qe({type:Pp,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","scrolling-content","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"feed-page"],[1,"options"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"show-more","centered"],["mat-button","",3,"click"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(ee(0,Dfe,13,3,"div",0),gi(1,"async")),2&t&&S("ngIf",yi(1,1,e.ui.feedEventsView$))},dependencies:[yn,ri,dr,Pa,lc,Xc,Jc,Qd,Zd,Al,gs,Il,ym,Js,Ts,el],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}"]});var li=(()=>(function(i){i[i.QR_CODE=0]="QR_CODE",i[i.AZTEC=1]="AZTEC",i[i.CODABAR=2]="CODABAR",i[i.CODE_39=3]="CODE_39",i[i.CODE_93=4]="CODE_93",i[i.CODE_128=5]="CODE_128",i[i.DATA_MATRIX=6]="DATA_MATRIX",i[i.MAXICODE=7]="MAXICODE",i[i.ITF=8]="ITF",i[i.EAN_13=9]="EAN_13",i[i.EAN_8=10]="EAN_8",i[i.PDF_417=11]="PDF_417",i[i.RSS_14=12]="RSS_14",i[i.RSS_EXPANDED=13]="RSS_EXPANDED",i[i.UPC_A=14]="UPC_A",i[i.UPC_E=15]="UPC_E",i[i.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(li||(li={})),li))(),zR=new Map([[li.QR_CODE,"QR_CODE"],[li.AZTEC,"AZTEC"],[li.CODABAR,"CODABAR"],[li.CODE_39,"CODE_39"],[li.CODE_93,"CODE_93"],[li.CODE_128,"CODE_128"],[li.DATA_MATRIX,"DATA_MATRIX"],[li.MAXICODE,"MAXICODE"],[li.ITF,"ITF"],[li.EAN_13,"EAN_13"],[li.EAN_8,"EAN_8"],[li.PDF_417,"PDF_417"],[li.RSS_14,"RSS_14"],[li.RSS_EXPANDED,"RSS_EXPANDED"],[li.UPC_A,"UPC_A"],[li.UPC_E,"UPC_E"],[li.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function Mfe(i){return Object.values(li).includes(i)}var ru=(()=>(function(i){i[i.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",i[i.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE"}(ru||(ru={})),ru))(),uc=function(){function i(){}return i.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",i.SCAN_DEFAULT_FPS=2,i.DEFAULT_DISABLE_FLIP=!1,i.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,i.DEFAULT_SUPPORTED_SCAN_TYPE=[ru.SCAN_TYPE_CAMERA,ru.SCAN_TYPE_FILE],i}(),UR=function(){function i(t,e){this.format=t,this.formatName=e}return i.prototype.toString=function(){return this.formatName},i.create=function(t){if(!zR.has(t))throw t+" not in html5QrcodeSupportedFormatsTextMap";return new i(t,zR.get(t))},i}(),WR=function(){function i(){}return i.createFromText=function(t){return{decodedText:t,result:{text:t}}},i.createFromQrcodeResult=function(t){return{decodedText:t.text,result:t}},i}(),mw=(()=>(function(i){i[i.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",i[i.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",i[i.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR"}(mw||(mw={})),mw))(),GR=function(){function i(){}return i.createFrom=function(t){return{errorMessage:t,type:mw.UNKWOWN_ERROR}},i}(),qR=function(){function i(t){this.verbose=t}return i.prototype.log=function(t){this.verbose&&console.log(t)},i.prototype.warn=function(t){this.verbose&&console.warn(t)},i.prototype.logError=function(t,e){(this.verbose||!0===e)&&console.error(t)},i.prototype.logErrors=function(t){if(0===t.length)throw"Logger#logError called without arguments";this.verbose&&console.error(t)},i}();function nd(i){return typeof i>"u"||null===i}var X0=function(){function i(){}return i.codeParseError=function(t){return"QR code parse error, error = "+t},i.errorGettingUserMedia=function(t){return"Error getting userMedia, error = "+t},i.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},i.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},i.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},i.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},i}(),Ar=function(){function i(){}return i.scanningStatus=function(){return"Scanning"},i.idleStatus=function(){return"Idle"},i.errorStatus=function(){return"Error"},i.permissionStatus=function(){return"Permission"},i.noCameraFoundErrorStatus=function(){return"No Cameras"},i.lastMatch=function(t){return"Last Match: "+t},i.codeScannerTitle=function(){return"Code Scanner"},i.cameraPermissionTitle=function(){return"Request Camera Permissions"},i.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},i.noCameraFound=function(){return"No camera found"},i.scanButtonStopScanningText=function(){return"Stop Scanning"},i.scanButtonStartScanningText=function(){return"Start Scanning"},i.torchOnButton=function(){return"Switch On Torch"},i.torchOffButton=function(){return"Switch Off Torch"},i.torchOnFailedMessage=function(){return"Failed to turn on torch"},i.torchOffFailedMessage=function(){return"Failed to turn off torch"},i.scanButtonScanningStarting=function(){return"Launching Camera..."},i.textIfCameraScanSelected=function(){return"Scan an Image File"},i.textIfFileScanSelected=function(){return"Scan using camera directly"},i.selectCamera=function(){return"Select Camera"},i.fileSelectionChooseImage=function(){return"Choose Image"},i.fileSelectionChooseAnother=function(){return"Choose Another"},i.fileSelectionNoImageSelected=function(){return"No image choosen"},i.anonymousCameraPrefix=function(){return"Anonymous Camera"},i.dragAndDropMessage=function(){return"Or drop an image to scan"},i.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},i.zoom=function(){return"zoom"},i.loadingImage=function(){return"Loading image..."},i.cameraScanAltText=function(){return"Camera based scan"},i.fileScanAltText=function(){return"Fule based scan"},i}(),$R=function(){function i(){}return i.poweredBy=function(){return"Powered by "},i.reportIssues=function(){return"Report issues"},i}(),KR=function(){function i(){}return i.isMediaStreamConstraintsValid=function(t,e){if("object"!=typeof t)return e.logError("videoConstraints should be of type object, the object passed is of type "+typeof t+".",!0),!1;for(var a=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),c=0,u=Object.keys(t);c0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]n&&(n=c,e=o)}if(!e)throw"No largest barcode found";return e},i.prototype.createBarcodeDetectorFormats=function(t){for(var e=[],n=0,r=t;n0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]=a&&(t.isClosed=!0,t.parentElement.removeChild(t.surface),e())})})},i.prototype.getCapabilities=function(){return new Ofe(this.getFirstTrackOrFail())},i}(),Pfe=function(){function i(t){this.mediaStream=t}return i.prototype.render=function(t,e,n){return fw(this,void 0,void 0,function(){return pw(this,function(r){return[2,Rfe.create(t,this.mediaStream,e,n)]})})},i.create=function(t){return fw(this,void 0,void 0,function(){return pw(this,function(r){switch(r.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[4,navigator.mediaDevices.getUserMedia({audio:!1,video:t})];case 1:return[2,new i(r.sent())]}})})},i}(),tP=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{m(n.next(x))}catch(P){o(P)}}function u(x){try{m(n.throw(x))}catch(P){o(P)}}function m(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,u)}m((n=n.apply(i,t||[])).next())})},iP=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(m){return function(x){return function u(m){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&m[0]?r.return:m[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,m[1])).done)return a;switch(r=0,a&&(m=[2&m[0],a.value]),m[0]){case 0:case 1:a=m;break;case 4:return e.label++,{value:m[1],done:!1};case 5:e.label++,r=m[1],m=[0];continue;case 7:m=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1](function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.NOT_STARTED=1]="NOT_STARTED",i[i.SCANNING=2]="SCANNING",i[i.PAUSED=3]="PAUSED"}(ma||(ma={})),ma))(),jfe=function(){function i(){this.state=ma.NOT_STARTED,this.onGoingTransactionNewState=ma.UNKNOWN}return i.prototype.directTransition=function(t){this.failIfTransitionOngoing(),this.validateTransition(t),this.state=t},i.prototype.startTransition=function(t){return this.failIfTransitionOngoing(),this.validateTransition(t),this.onGoingTransactionNewState=t,this},i.prototype.execute=function(){if(this.onGoingTransactionNewState===ma.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var t=this.onGoingTransactionNewState;this.onGoingTransactionNewState=ma.UNKNOWN,this.directTransition(t)},i.prototype.cancel=function(){if(this.onGoingTransactionNewState===ma.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=ma.UNKNOWN},i.prototype.getState=function(){return this.state},i.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==ma.UNKNOWN)throw"Cannot transition to a new state, already under transition"},i.prototype.validateTransition=function(t){switch(this.state){case ma.UNKNOWN:throw"Transition from unknown is not allowed";case ma.NOT_STARTED:this.failIfNewStateIs(t,[ma.PAUSED])}},i.prototype.failIfNewStateIs=function(t,e){for(var n=0,r=e;nt&&(this.logger.warn("`qrbox.width` or `qrbox` is larger than the width of the root element. The width will be truncated to the width of root element."),m=t),m)},i.prototype.validateQrboxConfig=function(t){if("number"!=typeof t&&"function"!=typeof t&&(void 0===t.width||void 0===t.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},i.prototype.toQrdimensions=function(t,e,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(t,e)}catch(r){throw new Error("qrbox config was passed as a function but it failed with unknown error"+r)}return n},i.prototype.setupUi=function(t,e,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(t,e,n);var r=nd(n.qrbox)?{width:t,height:e}:n.qrbox;this.validateQrboxConfig(r);var a=this.toQrdimensions(t,e,r);a.height>e&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var o=n.isShadedBoxEnabled()&&a.height<=e,c={x:0,y:0,width:t,height:e},u=o?this.getShadedRegionBounds(t,e,a):c,m=this.createCanvasElement(u.width,u.height),P=m.getContext("2d",{willReadFrequently:!0});P.canvas.width=u.width,P.canvas.height=u.height,this.element.append(m),o&&this.possiblyInsertShadingElement(this.element,t,e,a),this.createScannerPausedUiElement(this.element),this.qrRegion=u,this.context=P,this.canvasElement=m},i.prototype.createScannerPausedUiElement=function(t){var e=document.createElement("div");e.innerText="Scanner paused",e.style.display="none",e.style.position="absolute",e.style.top="0px",e.style.zIndex="1",e.style.background="yellow",e.style.textAlign="center",e.style.width="100%",t.appendChild(e),this.scannerPausedUiElement=e},i.prototype.scanContext=function(t,e){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then(function(r){return t(r.text,WR.createFromQrcodeResult(r)),n.possiblyUpdateShaders(!0),!0}).catch(function(r){n.possiblyUpdateShaders(!1);var a=X0.codeParseError(r);return e(a,GR.createFrom(a)),!1})},i.prototype.foreverScan=function(t,e,n){var r=this;if(this.shouldScan&&this.renderedCamera){var a=this.renderedCamera.getSurface(),o=a.videoWidth/a.clientWidth,c=a.videoHeight/a.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";this.context.drawImage(a,this.qrRegion.x*o,this.qrRegion.y*c,this.qrRegion.width*o,this.qrRegion.height*c,0,0,this.qrRegion.width,this.qrRegion.height);var K=function(){r.foreverScanTimeout=setTimeout(function(){r.foreverScan(t,e,n)},r.getTimeoutFps(t.fps))};this.scanContext(e,n).then(function(ne){ne||!0===t.disableFlip?K():(r.context.translate(r.context.canvas.width,0),r.context.scale(-1,1),r.scanContext(e,n).finally(function(){K()}))}).catch(function(ne){r.logger.logError("Error happend while scanning context",ne),K()})}},i.prototype.createVideoConstraints=function(t){if("string"==typeof t)return{deviceId:{exact:t}};if("object"==typeof t){var e="facingMode",n="deviceId",r={user:!0,environment:!0},a="exact",o=function(pe){if(pe in r)return!0;throw"config has invalid 'facingMode' value = '"+pe+"'"},c=Object.keys(t);if(1!==c.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+c.length+" keys";var u=Object.keys(t)[0];if(u!==e&&u!==n)throw"Only '"+e+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(u!==e){var P=t.deviceId;if("string"==typeof P)return{deviceId:P};if("object"==typeof P){if(a in P)return{deviceId:{exact:P[""+a]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof P}var m=t.facingMode;if("string"==typeof m){if(o(m))return{facingMode:m}}else{if("object"!=typeof m)throw"Invalid type of 'facingMode' = "+typeof m;if(!(a in m))throw"'facingMode' should be string or object with exact as key.";if(o(m[""+a]))return{facingMode:{exact:m[""+a]}}}}throw"Invalid type of 'cameraIdOrConfig' = "+typeof t},i.prototype.computeCanvasDrawConfig=function(t,e,n,r){if(t<=n&&e<=r)return{x:(n-t)/2,y:(r-e)/2,width:t,height:e};var c=t,u=e;return t>n&&(e*=n/t,t=n),e>r&&(t*=r/e,e=r),this.logger.log("Image downsampled from "+c+"X"+u+" to "+t+"X"+e+"."),this.computeCanvasDrawConfig(t,e,n,r)},i.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var t=document.getElementById(this.elementId);t&&(t.innerHTML="")},i.prototype.possiblyUpdateShaders=function(t){this.qrMatch!==t&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach(function(e){e.style.backgroundColor=t?tl.BORDER_SHADER_MATCH_COLOR:tl.BORDER_SHADER_DEFAULT_COLOR}),this.qrMatch=t)},i.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},i.prototype.createCanvasElement=function(t,e,n){var r=t,a=e,o=document.createElement("canvas");return o.style.width=r+"px",o.style.height=a+"px",o.style.display="none",o.id=nd(n)?"qr-canvas":n,o},i.prototype.getShadedRegionBounds=function(t,e,n){if(n.width>t||n.height>e)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(t-n.width)/2,y:(e-n.height)/2,width:n.width,height:n.height}},i.prototype.possiblyInsertShadingElement=function(t,e,n,r){if(!(e-r.width<1||n-r.height<1)){var a=document.createElement("div");a.style.position="absolute";var o=(e-r.width)/2,c=(n-r.height)/2;if(a.style.borderLeft=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderRight=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderTop=c+"px solid rgba(0, 0, 0, 0.48)",a.style.borderBottom=c+"px solid rgba(0, 0, 0, 0.48)",a.style.boxSizing="border-box",a.style.top="0px",a.style.bottom="0px",a.style.left="0px",a.style.right="0px",a.id=""+tl.SHADED_REGION_ELEMENT_ID,e-r.width<11||n-r.height<11)this.hasBorderShaders=!1;else{this.insertShaderBorders(a,40,5,-5,null,0,!0),this.insertShaderBorders(a,40,5,-5,null,0,!1),this.insertShaderBorders(a,40,5,null,-5,0,!0),this.insertShaderBorders(a,40,5,null,-5,0,!1),this.insertShaderBorders(a,5,45,-5,null,-5,!0),this.insertShaderBorders(a,5,45,null,-5,-5,!0),this.insertShaderBorders(a,5,45,-5,null,-5,!1),this.insertShaderBorders(a,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}t.append(a)}},i.prototype.insertShaderBorders=function(t,e,n,r,a,o,c){var u=document.createElement("div");u.style.position="absolute",u.style.backgroundColor=tl.BORDER_SHADER_DEFAULT_COLOR,u.style.width=e+"px",u.style.height=n+"px",null!==r&&(u.style.top=r+"px"),null!==a&&(u.style.bottom=a+"px"),c?u.style.left=o+"px":u.style.right=o+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(u),t.appendChild(u)},i.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},i.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},i.prototype.getTimeoutFps=function(t){return 1e3/t},i}(),xM="data:image/svg+xml;base64,",qfe=xM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",$fe=xM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",nP=xM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",rP=function(){function i(){}return i.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},i}(),Zfe=function(){function i(){this.data=rP.createDefault();var t=localStorage.getItem(i.LOCAL_STORAGE_KEY);t?this.data=JSON.parse(t):this.reset()}return i.prototype.hasCameraPermissions=function(){return this.data.hasPermission},i.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},i.prototype.setHasPermission=function(t){this.data.hasPermission=t,this.flush()},i.prototype.setLastUsedCameraId=function(t){this.data.lastUsedCameraId=t,this.flush()},i.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},i.prototype.reset=function(){this.data=rP.createDefault(),this.flush()},i.prototype.flush=function(){localStorage.setItem(i.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},i.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",i}(),Qfe=function(){function i(){this.infoDiv=document.createElement("div")}return i.prototype.renderInto=function(t){this.infoDiv.style.position="absolute",this.infoDiv.style.top="10px",this.infoDiv.style.right="10px",this.infoDiv.style.zIndex="2",this.infoDiv.style.display="none",this.infoDiv.style.padding="5pt",this.infoDiv.style.border="1px solid #171717",this.infoDiv.style.fontSize="10pt",this.infoDiv.style.background="rgb(0 0 0 / 69%)",this.infoDiv.style.borderRadius="5px",this.infoDiv.style.textAlign="center",this.infoDiv.style.fontWeight="400",this.infoDiv.style.color="white",this.infoDiv.innerText=$R.poweredBy();var e=document.createElement("a");e.innerText="ScanApp",e.href="https://scanapp.org",e.target="new",e.style.color="white",this.infoDiv.appendChild(e);var n=document.createElement("br"),r=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(r);var a=document.createElement("a");a.innerText=$R.reportIssues(),a.href="https://github.com/mebjas/html5-qrcode/issues",a.target="new",a.style.color="white",this.infoDiv.appendChild(a),t.appendChild(this.infoDiv)},i.prototype.show=function(){this.infoDiv.style.display="block"},i.prototype.hide=function(){this.infoDiv.style.display="none"},i}(),Xfe=function(){function i(t,e){this.isShowingInfoIcon=!0,this.onTapIn=t,this.onTapOut=e,this.infoIcon=document.createElement("img")}return i.prototype.renderInto=function(t){var e=this;this.infoIcon.alt="Info icon",this.infoIcon.src=nP,this.infoIcon.style.position="absolute",this.infoIcon.style.top="4px",this.infoIcon.style.right="4px",this.infoIcon.style.opacity="0.6",this.infoIcon.style.cursor="pointer",this.infoIcon.style.zIndex="2",this.infoIcon.style.width="16px",this.infoIcon.style.height="16px",this.infoIcon.onmouseover=function(n){return e.onHoverIn()},this.infoIcon.onmouseout=function(n){return e.onHoverOut()},this.infoIcon.onclick=function(n){return e.onClick()},t.appendChild(this.infoIcon)},i.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},i.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},i.prototype.onClick=function(){this.isShowingInfoIcon?(this.isShowingInfoIcon=!1,this.onTapIn(),this.infoIcon.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=",this.infoIcon.style.opacity="1"):(this.isShowingInfoIcon=!0,this.onTapOut(),this.infoIcon.src=nP,this.infoIcon.style.opacity="0.6")},i}(),Jfe=function(){function i(){var t=this;this.infoDiv=new Qfe,this.infoIcon=new Xfe(function(){t.infoDiv.show()},function(){t.infoDiv.hide()})}return i.prototype.renderInto=function(t){this.infoDiv.renderInto(t),this.infoIcon.renderInto(t)},i}(),aP=function(){function i(){}return i.hasPermissions=function(){return function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{m(n.next(x))}catch(P){o(P)}}function u(x){try{m(n.throw(x))}catch(P){o(P)}}function m(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,u)}m((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function(){var t,e,n,r;return function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(m){return function(x){return function u(m){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&m[0]?r.return:m[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,m[1])).done)return a;switch(r=0,a&&(m=[2&m[0],a.value]),m[0]){case 0:case 1:a=m;break;case 4:return e.label++,{value:m[1],done:!1};case 5:e.label++,r=m[1],m=[0];continue;case 7:m=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]1},i.prototype.isCameraScanRequired=function(){for(var t=0,e=this.supportedScanTypes;te)throw"Max "+e+" values expected for supportedScanTypes";for(var n=0,r=t;n0&&a[a.length-1])&&(6===m[0]||2===m[0])){e=0;continue}if(3===m[0]&&(!a||m[1]>a[0]&&m[1]20){var n=t.substring(0,8),r=t.length,a=t.substring(r-8,r);t=n+"...."+a}var o=Ar.fileSelectionChooseAnother()+" - "+t;this.fileSelectionButton.innerText=o},i.prototype.setInitialValueToButton=function(){var t=Ar.fileSelectionChooseImage()+" - "+Ar.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=t},i.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},i.create=function(t,e,n){return new i(t,e,n)},i}(),rpe=function(){function i(t){this.selectElement=au.createElement("select",il.CAMERA_SELECTION_SELECT_ID),this.cameras=t,this.options=[]}return i.prototype.render=function(t){var e=document.createElement("span");e.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)e.style.display="none";else{var r=Ar.selectCamera();e.innerText=r+" ("+this.cameras.length+") "}for(var a=1,o=0,c=this.cameras;o(function(i){i[i.STATUS_DEFAULT=0]="STATUS_DEFAULT",i[i.STATUS_SUCCESS=1]="STATUS_SUCCESS",i[i.STATUS_WARNING=2]="STATUS_WARNING",i[i.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(Ls||(Ls={})),Ls))();function lpe(i,t){if(1&i&&(_(0,"div",4),L(1),v()),2&i){const e=Z();E(1),yt(e.error)}}!function(){function i(t,e,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=t,this.config=this.createConfig(e),this.verbose=!0===n,!document.getElementById(t))throw"HTML Element with id="+t+" not found";this.scanTypeSelector=new ch(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new qR(this.verbose),this.persistedDataManager=new Zfe,!0!==e.rememberLastUsedCamera&&this.persistedDataManager.reset()}i.prototype.render=function(t,e){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(a,o){if(t)t(a,o);else{if(n.lastMatchFound===a)return;n.lastMatchFound=a,n.setHeaderMessage(Ar.lastMatch(a),Ls.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(a,o){e&&e(a,o)};var r=document.getElementById(this.elementId);if(!r)throw"HTML Element with id="+this.elementId+" not found";r.innerHTML="",this.createBasicLayout(r),this.html5Qrcode=new gw(this.getScanRegionId(),function spe(i,t){return{formatsToSupport:i.formatsToSupport,useBarCodeDetectorIfSupported:i.useBarCodeDetectorIfSupported,experimentalFeatures:i.experimentalFeatures,verbose:t}}(this.config,this.verbose))},i.prototype.pause=function(t){(nd(t)||!0!==t)&&(t=!1),this.getHtml5QrcodeOrFail().pause(t)},i.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},i.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},i.prototype.clear=function(){var t=this,e=function(){var n=document.getElementById(t.elementId);n&&(n.innerHTML="",t.resetBasicLayout(n))};return this.html5Qrcode?new Promise(function(n,r){t.html5Qrcode?t.html5Qrcode.isScanning?t.html5Qrcode.stop().then(function(a){t.html5Qrcode?(t.html5Qrcode.clear(),e(),n()):n()}).catch(function(a){t.verbose&&t.logger.logError("Unable to stop qrcode scanner",a),r(a)}):(t.html5Qrcode.clear(),e(),n()):n()}):Promise.resolve()},i.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},i.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},i.prototype.applyVideoConstraints=function(t){return this.getHtml5QrcodeOrFail().applyVideoConstraints(t)},i.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},i.prototype.createConfig=function(t){return t?(t.fps||(t.fps=uc.SCAN_DEFAULT_FPS),t.rememberLastUsedCamera!==!uc.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(t.rememberLastUsedCamera=uc.DEFAULT_REMEMBER_LAST_CAMERA_USED),t.supportedScanTypes||(t.supportedScanTypes=uc.DEFAULT_SUPPORTED_SCAN_TYPE),t):{fps:uc.SCAN_DEFAULT_FPS,rememberLastUsedCamera:uc.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:uc.DEFAULT_SUPPORTED_SCAN_TYPE}},i.prototype.createBasicLayout=function(t){t.style.position="relative",t.style.padding="0px",t.style.border="1px solid silver",this.createHeader(t);var e=document.createElement("div"),n=this.getScanRegionId();e.id=n,e.style.width="100%",e.style.minHeight="100px",e.style.textAlign="center",t.appendChild(e),ch.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var r=document.createElement("div"),a=this.getDashboardId();r.id=a,r.style.width="100%",t.appendChild(r),this.setupInitialDashboard(r)},i.prototype.resetBasicLayout=function(t){t.style.border="none"},i.prototype.setupInitialDashboard=function(t){this.createSection(t),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},i.prototype.createHeader=function(t){var e=document.createElement("div");e.style.textAlign="left",e.style.margin="0px",t.appendChild(e),(new Jfe).renderInto(e);var r=document.createElement("div");r.id=this.getHeaderMessageContainerId(),r.style.display="none",r.style.textAlign="center",r.style.fontSize="14px",r.style.padding="2px 10px",r.style.margin="4px",r.style.borderTop="1px solid #f6f6f6",e.appendChild(r)},i.prototype.createSection=function(t){var e=document.createElement("div");e.id=this.getDashboardSectionId(),e.style.width="100%",e.style.padding="10px 0px 10px 0px",e.style.textAlign="left",t.appendChild(e)},i.prototype.createCameraListUi=function(t,e,n){var r=this;r.showHideScanTypeSwapLink(!1),r.setHeaderMessage(Ar.cameraPermissionRequesting());var a=function(){n||r.createPermissionButton(t,e)};gw.getCameras().then(function(o){r.persistedDataManager.setHasPermission(!0),r.showHideScanTypeSwapLink(!0),r.resetHeaderMessage(),o&&o.length>0?(t.removeChild(e),r.renderCameraSelection(o)):(r.setHeaderMessage(Ar.noCameraFound(),Ls.STATUS_WARNING),a())}).catch(function(o){r.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:a(),r.setHeaderMessage(o,Ls.STATUS_WARNING),r.showHideScanTypeSwapLink(!0)})},i.prototype.createPermissionButton=function(t,e){var n=this,r=au.createElement("button",this.getCameraPermissionButtonId());r.innerText=Ar.cameraPermissionTitle(),r.addEventListener("click",function(){r.disabled=!0,n.createCameraListUi(t,e,r)}),e.appendChild(r)},i.prototype.createPermissionsUi=function(t,e){var n=this;ch.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?aP.hasPermissions().then(function(r){r?n.createCameraListUi(t,e):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e))}).catch(function(r){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e)}):this.createPermissionButton(t,e)},i.prototype.createSectionControlPanel=function(){var e=document.getElementById(this.getDashboardSectionId()),n=document.createElement("div");e.appendChild(n);var r=document.createElement("div");r.id=this.getDashboardSectionCameraScanRegionId(),r.style.display=ch.isCameraScanType(this.currentScanType)?"block":"none",n.appendChild(r);var a=document.createElement("div");a.style.textAlign="center",r.appendChild(a),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(r,a),this.renderFileScanUi(n)},i.prototype.renderFileScanUi=function(t){var e=ch.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=npe.create(t,e,function(a){if(!n.html5Qrcode)throw"html5Qrcode not defined";ch.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(Ar.loadingImage()),n.html5Qrcode.scanFileV2(a,!0).then(function(o){n.resetHeaderMessage(),n.qrCodeSuccessCallback(o.decodedText,o)}).catch(function(o){n.setHeaderMessage(o,Ls.STATUS_WARNING),n.qrCodeErrorCallback(o,GR.createFrom(o))}))})},i.prototype.renderCameraSelection=function(t){var e=this,n=this,r=document.getElementById(this.getDashboardSectionCameraScanRegionId());r.style.textAlign="center";var a=ape.create(r,!1),c=rpe.create(r,t),u=document.createElement("span"),m=au.createElement("button",il.CAMERA_START_BUTTON_ID);m.innerText=Ar.scanButtonStartScanningText(),u.appendChild(m);var P,x=au.createElement("button",il.CAMERA_STOP_BUTTON_ID);x.innerText=Ar.scanButtonStopScanningText(),x.style.display="none",x.disabled=!0,u.appendChild(x),r.appendChild(u);var ne=function(ye){ye||(m.style.display="none"),m.innerText=Ar.scanButtonStartScanningText(),m.style.opacity="1",m.disabled=!1,ye&&(m.style.display="inline-block")};if(m.addEventListener("click",function(ye){m.innerText=Ar.scanButtonScanningStarting(),c.disable(),m.disabled=!0,m.style.opacity="0.5",e.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var Ie=c.getValue();n.persistedDataManager.setLastUsedCameraId(Ie),n.html5Qrcode.start(Ie,function ope(i){return{fps:i.fps,qrbox:i.qrbox,aspectRatio:i.aspectRatio,disableFlip:i.disableFlip,videoConstraints:i.videoConstraints}}(n.config),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then(function(Le){x.disabled=!1,x.style.display="inline-block",ne(!1);var it=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===e.config.showTorchButtonIfSupported&&function(ye){ye.torchFeature().isSupported()?(P?P.updateTorchCapability(ye.torchFeature()):P=ipe.create(u,ye.torchFeature(),{display:"none",marginLeft:"5px"},function(Ie){n.setHeaderMessage(Ie,Ls.STATUS_WARNING)}),P.show()):P&&P.hide()}(it),!0===e.config.showZoomSliderIfSupported&&function(ye){var Ie=ye.zoomFeature();if(Ie.isSupported()){a.setOnCameraZoomValueChangeCallback(function(it){Ie.apply(it)});var Le=1;e.config.defaultZoomValueIfSupported&&(Le=e.config.defaultZoomValueIfSupported),Le=function Efe(i,t,e){return i>e?e:i",e.appendChild(t.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=qfe,this.cameraScanImage.alt=Ar.cameraScanAltText()},i.prototype.insertFileScanImageToScanRegion=function(){var t=this,e=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return e.innerHTML="
",void e.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){e.innerHTML="
",e.appendChild(t.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=$fe,this.fileScanImage.alt=Ar.fileScanAltText()},i.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},i.prototype.getDashboardSectionId=function(){return this.elementId+"__dashboard_section"},i.prototype.getDashboardSectionCameraScanRegionId=function(){return this.elementId+"__dashboard_section_csr"},i.prototype.getDashboardSectionSwapLinkId=function(){return il.SCAN_TYPE_CHANGE_ANCHOR_ID},i.prototype.getScanRegionId=function(){return this.elementId+"__scan_region"},i.prototype.getDashboardId=function(){return this.elementId+"__dashboard"},i.prototype.getHeaderMessageContainerId=function(){return this.elementId+"__header_message"},i.prototype.getCameraPermissionButtonId=function(){return il.CAMERA_PERMISSION_BUTTON_ID},i.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},i.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},i.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();class J0{constructor(t,e,n){this.options=t,this.dialogRef=e,this.data=n,this.cameras=[],this.cameraIndex=-1,this.dialogRef.afterClosed().subscribe(()=>{this.html5QrCode&&this.html5QrCode.stop()})}ngOnInit(){var t=this;return Ee(function*(){t.config={fps:10,formatsToSupport:[li.QR_CODE]},t.html5QrCode=new gw("reader",t.config),yield t.requestCameras(),t.cameras.length>0&&(t.cameraIndex=t.options.values.cameraId?t.cameras.findIndex(e=>e.id==t.options.values.cameraId):t.cameras.length-1,yield t.startCamera(t.cameras[t.cameraIndex].id))})()}toggleFlash(){}openFile(){}requestCameras(){var t=this;return Ee(function*(){try{t.cameras=yield gw.getCameras()}catch{t.error="Unable To Get Cameras"}})()}startCamera(t){var e=this;return Ee(function*(){try{try{yield e.html5QrCode.stop()}catch(n){console.error("Failed to stop:",n)}yield e.html5QrCode.start(t,e.config,(n,r)=>{e.onScanSuccess(n,r)},n=>{}),e.options.values.cameraId=t,e.options.save()}catch(n){e.onScanFailure(n)}})()}changeCamera(){var t=this;return Ee(function*(){(!t.cameras||0==t.cameras.length)&&(yield t.requestCameras()),t.cameras&&0!=t.cameras.length&&(t.cameraIndex+=1,t.cameraIndex>=t.cameras.length&&(t.cameraIndex=0),t.startCamera(t.cameras[t.cameraIndex].id))})()}onScanSuccess(t,e){console.log(`Code matched = ${t}`,e),this.data.address=t,this.dialogRef.close(this.data.address)}onScanFailure(t){console.warn(`Code scan error = ${t}`),this.error=t}onNoClick(){this.dialogRef.close()}}function cpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),L(3,"Private Key Import"),v(),_(4,"p"),L(5,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),v(),_(6,"p"),L(7,"First choose if your backup is a secret recovery phrase or a private key."),v(),Ce(8,"br"),_(9,"button",12),fe("click",function(){return Te(e),Ae(Z().step=2)}),L(10,"Secret Recovery Phrase"),v(),Ce(11,"br")(12,"br"),_(13,"button",12),fe("click",function(){return Te(e),Ae(Z().step=3)}),L(14,"Private Key"),v(),Ce(15,"br")(16,"br"),_(17,"button",12),fe("click",function(){return Te(e),Ae(Z().scanQrCode())}),_(18,"mat-icon"),L(19,"qr_code_scanner"),v(),L(20," Scan QR Code"),v()()()}}function dpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),L(3,"Secret Recovery Phrase Import"),v(),Ce(4,"br"),_(5,"mat-form-field",13)(6,"mat-label"),L(7,"Secret Recovery Phrase"),v(),_(8,"textarea",14),fe("ngModelChange",function(r){return Te(e),Ae(Z().mnemonic=r)}),v()(),Ce(9,"br"),_(10,"button",15),fe("click",function(){Te(e);const r=Z();return r.setPrivateKey(),Ae(r.step=3)}),L(11,"Continue"),v(),Ce(12,"br")(13,"br"),v()()}if(2&i){const e=Z();E(8),S("ngModel",e.mnemonic),E(2),S("disabled",!e.mnemonic)}}function upe(i,t){1&i&&(_(0,"h1"),L(1,"Protect Private Key with password"),v())}function hpe(i,t){1&i&&(_(0,"h1"),L(1,"Private Key Import"),v())}function mpe(i,t){1&i&&(_(0,"p"),L(1,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),v())}function fpe(i,t){if(1&i&&(_(0,"p",25),L(1,"Your personal private key:"),Ce(2,"br"),L(3),v()),2&i){const e=Z(2);E(3),yt(e.privateKey)}}function ppe(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",18)(2,"mat-icon",19),L(3,"person_add"),v(),_(4,"mat-label"),L(5,"Private Key"),v(),_(6,"input",26),fe("keyup",function(){return Te(e),Ae(Z(2).updatePublicKey())})("ngModelChange",function(r){return Te(e),Ae(Z(2).privateKey=r)}),v()()()}if(2&i){const e=Z(2);E(6),S("ngModel",e.privateKey)}}function gpe(i,t){if(1&i&&(_(0,"p",27)(1,"strong"),L(2,"Public Key (hex)"),v(),L(3),v()),2&i){const e=Z(2);E(3),qt(": ",e.publicKeyHex,"")}}function _pe(i,t){if(1&i&&(_(0,"p",28),L(1),v()),2&i){const e=Z(2);E(1),qt("Error: ",e.error,"")}}function bpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content"),ee(2,upe,2,0,"h1",16),ee(3,hpe,2,0,"h1",16),ee(4,mpe,2,0,"p",16),_(5,"p"),L(6,"Having a strong password (we allow empty) is adviced, as this will be used to protect your private key using encryption when you are not using Blockcore Notes."),v(),Ce(7,"br"),ee(8,fpe,4,1,"p",17),ee(9,ppe,7,1,"div",16),_(10,"form")(11,"mat-form-field",18)(12,"mat-icon",19),L(13,"person_add"),v(),_(14,"mat-label"),L(15,"Public Key"),v(),_(16,"input",20),fe("ngModelChange",function(r){return Te(e),Ae(Z().publicKey=r)}),v()(),_(17,"mat-form-field",18)(18,"mat-icon",19),L(19,"password"),v(),_(20,"mat-label"),L(21,"Password (optional)"),v(),_(22,"input",21),fe("ngModelChange",function(r){return Te(e),Ae(Z().password=r)}),v()(),Ce(23,"br"),_(24,"button",15),fe("click",function(){return Te(e),Ae(Z().persistKey())}),L(25,"Connect"),v(),Ce(26,"br")(27,"br"),v(),ee(28,gpe,4,1,"p",22),ee(29,_pe,2,1,"p",23),_(30,"p",24),L(31,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),_(32,"strong"),L(33,"private key"),v(),L(34," in case you loose your password."),v(),_(35,"p",24),L(36,"You will be asked to enter password (if supplied) when Notes need to sign events on your behalf."),v()()()}if(2&i){const e=Z();E(2),S("ngIf",e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(4),S("ngIf",e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.password),E(2),S("disabled",!e.publicKey),E(4),S("ngIf",!e.error),E(1),S("ngIf",e.error)}}J0.\u0275fac=function(t){return new(t||J0)(k(Tr),k(hs),k(Ks))},J0.\u0275cmp=qe({type:J0,selectors:[["qr-scan-dialog"]],decls:9,vars:1,consts:[["id","reader",1,"qr-scan"],["mat-icon-button","","matTooltip","Change Camera",1,"camera-button",3,"click"],["mat-icon-button","","matTooltip","Close",1,"camera-close-button",3,"click"],["class","camera-error",4,"ngIf"],[1,"camera-error"]],template:function(t,e){1&t&&(_(0,"div"),Ce(1,"div",0),_(2,"button",1),fe("click",function(){return e.changeCamera()}),_(3,"mat-icon"),L(4,"cameraswitch"),v()(),_(5,"button",2),fe("click",function(){return e.onNoClick()}),_(6,"mat-icon"),L(7,"close"),v()(),ee(8,lpe,2,1,"div",3),v()),2&t&&(E(8),S("ngIf",e.error))},dependencies:[ri,bo,Zn,ps],styles:[".qr-scan[_ngcontent-%COMP%]{position:absolute!important;inset:0;width:100%;height:100%}.camera-button[_ngcontent-%COMP%]{margin:2em;left:2em;position:absolute}[dir=rtl][_ngcontent-%COMP%] .camera-button[_ngcontent-%COMP%]{margin:2em;right:2em;position:absolute;left:auto}.camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;right:2em;top:2em}[dir=rtl][_ngcontent-%COMP%] .camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;left:2em;right:auto;top:2em}.camera-label[_ngcontent-%COMP%]{font-size:2em;color:#01010180;margin-left:auto;margin-right:auto}.camera-error[_ngcontent-%COMP%]{color:#a83222}"]});class e1{constructor(t,e,n,r){this.dialog=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.step=1,this.mnemonic=""}setPrivateKey(){this.privateKeyHex=lv.privateKeyFromSeedWords(this.mnemonic),this.privateKey=xa.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var t=this;return Ee(function*(){setTimeout(Ee(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.reset(),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?xa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=sp(this.privateKeyHex),this.publicKey=xa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(J0,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",data:{}}).afterClosed().subscribe(e=>{this.step=3;try{if(e.startsWith("nostr:")&&(e=e.replace("nostr:","")),e.startsWith("nsec")){const n=xa.decode(e);this.privateKeyHex=n.data,this.privateKey=e}else this.privateKeyHex=e,this.privateKey=xa.nsecEncode(e);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}e1.\u0275fac=function(t){return new(t||e1)(k(Fa),k(Ml),k(qn),k(Zc))},e1.\u0275cmp=qe({type:e1,selectors:[["app-key"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"input-full-width"],["matInput","","type","text","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["mat-raised-button","",1,"start-button",3,"disabled","click"],[4,"ngIf"],["class","wrap",4,"ngIf"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["class","public-key dimmed",4,"ngIf"],["class","error",4,"ngIf"],[1,"dimmed"],[1,"wrap"],["placeholder","nsec...","matInput","","type","password",3,"ngModel","keyup","ngModelChange"],[1,"public-key","dimmed"],[1,"error"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),v(),_(4,"div",4)(5,"span",5),L(6,"Blockcore"),v(),L(7," Notes"),v(),Ce(8,"div",6),_(9,"button",7),fe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),L(11),v()()(),_(12,"div",9),ee(13,cpe,21,0,"mat-card",10),ee(14,dpe,14,2,"mat-card",10),ee(15,bpe,37,11,"mat-card",10),v()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(2),S("ngIf",1==e.step),E(1),S("ngIf",2==e.step),E(1),S("ngIf",3==e.step))},dependencies:[ri,wa,Do,Ra,eo,Kc,dr,bo,Pa,sc,Zn,Ku,ka,ha,qu,Da,$c],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});const ype=["button"],vpe=["*"],cP=new Ze("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),dP=new Ze("MatButtonToggleGroup"),wpe={provide:Ca,useExisting:hi(()=>CM),multi:!0};let uP=0;class hP{constructor(t,e){this.source=t,this.value=e}}let CM=(()=>{class i{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=Ct(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(n=>n.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._markButtonsForCheck()}constructor(e,n){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+uP++,this.valueChange=new lt,this.change=new lt,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new qv(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const n=new hP(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(e,n,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>null!=e.value&&n===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const n=this._buttonToggles.find(r=>null!=r.value&&r.value===e);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(e,n){n&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(cP,8))},i.\u0275dir=Oe({type:i,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,n,r){if(1&e&&ui(r,kM,5),2&e){let a;Qe(a=Xe())&&(n._buttonToggles=a)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,n){2&e&&(Lt("aria-disabled",n.disabled),Mt("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard","standard"===n.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Nt([wpe,{provide:dP,useExisting:i}])]}),i})();const Fpe=Cl(class{});let kM=(()=>{class i extends Fpe{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const n=Ct(e);n!==this._checked&&(this._checked=n,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=Ct(e)}constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=n,this._elementRef=r,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new lt;const u=Number(o);this.tabIndex=u||0===u?u:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+uP++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new hP(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return i.\u0275fac=function(e){return new(e||i)(k(dP,8),k(oi),k(pt),k(Ka),fo("tabindex"),k(cP,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-button-toggle"]],viewQuery:function(e,n){if(1&e&&At(ype,5),2&e){let r;Qe(r=Xe())&&(n._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,n){1&e&&fe("focus",function(){return n.focus()}),2&e&&(Lt("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),Mt("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard","standard"===n.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[st],ngContentSelectors:vpe,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){if(1&e&&(Pi(),_(0,"button",0,1),fe("click",function(){return n._onButtonClick()}),_(2,"span",2),vt(3),v()(),Ce(4,"span",3)(5,"span",4)),2&e){const r=Li(1);S("id",n.buttonId)("disabled",n.disabled||null),Lt("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),E(5),S("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[da],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),i})(),xpe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,qs,Jt]}),i})();class t1{onInput(){const t=this.element.nativeElement;if(t instanceof HTMLDivElement)return void console.warn("Unsupported HTML element type (HTMLDivElement) for content editor.");if(!(t instanceof HTMLTextAreaElement))return void console.warn("Unsupported HTML element type for content editor.");const e=this.element.nativeElement,n=e.selectionStart,r=e.selectionEnd,a=e.value;let o;o=a.length==r?a.at(-1):a.substring(n-1,r)}constructor(t){this.element=t}}t1.\u0275fac=function(t){return new(t||t1)(k(pt))},t1.\u0275dir=Oe({type:t1,selectors:[["","appContentEditor",""]],hostBindings:function(t,e){1&t&&fe("input",function(){return e.onInput()})}});class xm{onInput(){if(this.element.nativeElement instanceof HTMLTextAreaElement){const e=this.element.nativeElement;e.scrollHeight>e.clientHeight&&(e.style.height=`${e.scrollHeight}px`)}}constructor(t){this.element=t}}xm.\u0275fac=function(t){return new(t||xm)(k(pt))},xm.\u0275dir=Oe({type:xm,selectors:[["","appAutoInputHeight",""]],hostBindings:function(t,e){1&t&&fe("input",function(){return e.onInput()})}});const Cpe=["picker"],kpe=["noteContent"],Dpe=["articleContent"];function Mpe(i,t){if(1&i&&(_(0,"mat-option",11),L(1),v()),2&i){const e=t.$implicit;S("value",e.slug),E(1),yt(e.title)}}function Epe(i,t){if(1&i){const e=Je();_(0,"mat-form-field",8)(1,"mat-label"),L(2,"Existing articles"),v(),_(3,"mat-select",9),fe("valueChange",function(r){return Te(e),Ae(Z().selectedArticle=r)})("selectionChange",function(){return Te(e),Ae(Z().changedArticle())}),Ce(4,"mat-option"),ee(5,Mpe,2,2,"mat-option",10),v()()}if(2&i){const e=Z();E(3),S("value",e.selectedArticle),E(2),S("ngForOf",e.articleService.articles)}}function Spe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",29),fe("emojiSelect",function(r){return Te(e),Ae(Z(2).addEmojiArticle(r))}),v()}2&i&&S("isNative",!0)("showPreview",!1)}function Tpe(i,t){if(1&i){const e=Je();_(0,"form",12),fe("ngSubmit",function(){return Te(e),Ae(Z().onSubmitArticle())}),_(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),L(4,"Title"),v(),Ce(5,"input",15,16),v(),_(7,"mat-form-field",14)(8,"mat-label"),L(9,"URL (slug)"),v(),_(10,"input",17,16),fe("blur",function(){return Te(e),Ae(Z().formatSlug())}),v()(),_(12,"mat-form-field",14)(13,"mat-label"),L(14,"Long form text that supports markdown formatting"),v(),_(15,"textarea",18,19),fe("ngModelChange",function(r){return Te(e),Ae(Z().note=r)}),v()(),_(17,"mat-form-field",14)(18,"mat-label"),L(19,"Summary (optional)"),v(),_(20,"textarea",20),fe("ngModelChange",function(r){return Te(e),Ae(Z().summary=r)}),v()(),_(21,"mat-form-field",14)(22,"mat-label"),L(23,"Banner image (optional)"),v(),Ce(24,"input",21,16),v(),_(26,"mat-form-field",14)(27,"mat-label"),L(28,"Tags (optional, comma separated)"),v(),Ce(29,"input",22,16),v(),Ce(31,"input",23),ee(32,Spe,1,2,"emoji-mart",24),_(33,"mat-icon",25),fe("click",function(){Te(e);const r=Z();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),L(34,"sentiment_satisfied"),v()(),_(35,"div",26)(36,"button",27),fe("click",function(){return Te(e),Ae(Z().onCancel())}),L(37,"Cancel"),v(),L(38,"\xa0 "),_(39,"button",28),L(40,"Publish Article"),v()()()}if(2&i){const e=Z();S("formGroup",e.articleForm),E(15),S("ngModel",e.note),E(5),S("ngModel",e.summary),E(12),S("ngIf",e.isEmojiPickerVisible),E(7),S("disabled",!e.articleForm.valid)}}function Ape(i,t){if(1&i){const e=Je();_(0,"emoji-mart",29),fe("emojiSelect",function(r){return Te(e),Ae(Z(2).addEmojiNote(r))}),v()}2&i&&S("isNative",!0)("showPreview",!1)}function Ipe(i,t){if(1&i){const e=Je();_(0,"form",12),fe("ngSubmit",function(){return Te(e),Ae(Z().onSubmitNote())}),_(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),L(4,"What's on your mind?"),v(),Ce(5,"textarea",30,31),v(),ee(7,Ape,1,2,"emoji-mart",24),_(8,"mat-icon",25),fe("click",function(){Te(e);const r=Z();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),L(9,"sentiment_satisfied"),v()(),_(10,"div",26)(11,"button",27),fe("click",function(){return Te(e),Ae(Z().onCancel())}),L(12,"Cancel"),v(),L(13,"\xa0 "),_(14,"button",28),L(15,"Publish Note"),v()()()}if(2&i){const e=Z();S("formGroup",e.noteForm),E(7),S("ngIf",e.isEmojiPickerVisible),E(7),S("disabled",!e.noteForm.valid)}}class n1{constructor(t,e,n,r,a,o,c,u,m){this.snackBar=t,this.articleService=e,this.queueService=n,this.utilities=r,this.appState=a,this.location=o,this.fb=c,this.navigation=u,this.profileService=m,this.noteForm=this.fb.group({content:["",Po.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",Po.required],title:["",Po.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new $u(null),this.subscriptions=[],this.selectedArticle="",this.items=["Noah","Liam","Mason","Jacob"]}ngOnInit(){this.appState.updateTitle("Write a note"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.subscriptions.push(this.articleForm.controls.title.valueChanges.subscribe(t=>{t&&this.articleForm.controls.slug.setValue(this.createSlug(t))}))}changedArticle(){const t=this.articleService.get(this.selectedArticle);t?(null==t.summary&&(t.summary=""),null==t.image&&(t.image=""),null==t.title&&(t.title=""),this.articleForm.setValue({content:t.content,title:t.title,summary:t.summary,image:t.image,slug:t.slug?t.slug:"",tags:t.metatags?t.metatags.toString():"",published_at:t.published_at?t.published_at.toString():""})):this.articleForm.reset()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"article"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"Article")}createSlug(t){return(t=(t=t.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}addEmojiNote(t){let e=this.noteContent.nativeElement.selectionStart,n=this.noteForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.noteForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.noteContent.nativeElement.focus()}addEmojiArticle(t){let e=this.articleContent.nativeElement.selectionStart,n=this.articleForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.articleForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.articleContent.nativeElement.focus()}formatSlug(){this.articleForm.controls.slug.setValue(this.createSlug(this.articleForm.controls.slug.value))}onSubmitArticle(){var t=this;return Ee(function*(){const e=t.articleForm.controls,n={content:e.content.value,title:e.title.value,summary:e.summary.value,image:e.image.value,slug:e.slug.value,tags:e.tags.value};e.published_at.value&&(n.published_at=Number(e.published_at.value)),yield t.navigation.saveArticle(n),t.snackBar.open("Article was published. Notes does not support viewing articles yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onSubmitNote(){this.navigation.saveNote(this.noteForm.controls.content.value)}postNote(){this.navigation.saveNote(this.note)}onCancel(){this.note="",this.location.back()}}function Lpe(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().open(r.rootEventId))}),_(2,"mat-icon"),L(3,"keyboard_double_arrow_up"),v(),L(4,"View Thread"),v()()}}function Npe(i,t){if(1&i&&(_(0,"div",16),Ce(1,"app-event",13),v()),2&i){const e=t.ngIf;E(1),S("event",e)}}function Ope(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),fe("click",function(){Te(e);const r=Z().ngIf;return Ae(Z().open(r.parentEventId))}),_(2,"mat-icon"),L(3,"keyboard_arrow_up"),v(),L(4,"View Parent"),v()()}}n1.\u0275fac=function(t){return new(t||n1)(k(ms),k(om),k(Oo),k(Qi),k(Xi),k(Ac),k(ND),k(yo),k(Tn))},n1.\u0275cmp=qe({type:n1,selectors:[["app-editor"]],viewQuery:function(t,e){if(1&t&&(At(Cpe,5),At(kpe,5),At(Dpe,5)),2&t){let n;Qe(n=Xe())&&(e.picker=n.first),Qe(n=Xe())&&(e.noteContent=n.first),Qe(n=Xe())&&(e.articleContent=n.first)}},decls:11,vars:4,consts:[[1,"page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","text"],["value","article"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","title","placeholder","Ex. My favorite food..."],["message",""],["matInput","","placeholder","Can only contain - and lower case text","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["articleContent",""],["appAutoInputHeight","","matInput","","type","text","formControlName","summary","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Tech, News, Social","formControlName","tags"],["type","hidden","formControlName","published_at"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["matTooltip","Insert emoji",1,"toolbar-icon","margin-right",3,"click"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],["appContentEditor","","appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input","noscrollbars"],["noteContent",""]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2,3),fe("change",function(){return e.noteTypeChanged()})("ngModelChange",function(r){return e.eventType=r}),_(4,"mat-button-toggle",4),L(5,"Note"),v(),_(6,"mat-button-toggle",5),L(7,"Article"),v()()(),ee(8,Epe,6,2,"mat-form-field",6),ee(9,Tpe,41,5,"form",7),ee(10,Ipe,16,3,"form",7),v()),2&t){const n=Li(3);E(2),S("ngModel",e.eventType),E(6),S("ngIf","article"==n.value),E(1),S("ngIf","article"==n.value),E(1),S("ngIf","text"==n.value)}},dependencies:[yn,ri,Do,Ra,eo,dr,w0,Du,Zn,ps,pM,Ku,ka,ha,qu,Da,Gd,j_,Dl,Yc,CM,kM,t1,xm],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});const Rpe=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},Ppe=function(i,t){return{"no-lines":i,lines:t}};function Bpe(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),L(6,"Options"),v(),Ce(7,"mat-panel-description"),v(),_(8,"p")(9,"mat-slide-toggle",4),fe("change",function(){return Te(e),Ae(Z().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Z().optionsService.values.showLines=r)}),L(10,"Show lines"),v()()()()(),ee(11,Lpe,5,0,"mat-card",5),ee(12,Npe,2,1,"div",6),gi(13,"async"),_(14,"div",7),ee(15,Ope,5,0,"mat-card",5),_(16,"div",8)(17,"app-event-header",9),Ce(18,"app-date",10)(19,"app-directory-icon",9),v(),Ce(20,"app-event-actions",11),v(),Ce(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),v()()}if(2&i){const e=t.ngIf,n=Z();E(9),S("ngModel",n.optionsService.values.showLines),E(2),S("ngIf",e.rootEventId),E(1),S("ngIf",yi(13,15,n.ui.parentEvent$)),E(2),S("ngClass",rx(17,Rpe,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(1),S("ngIf",e.parentEventId),E(2),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(22,Ppe,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class Bp{constructor(t,e,n,r,a,o,c,u,m,x,P){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=u,this.utilities=m,this.router=x,this.ui=P,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.appState.updateTitle("Article"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");if(r){if(r.startsWith("naddr")){const a=xa.decode(r);if("naddr"==a.type){const o=a.data;if(o.kind==jn.Article)return void t.router.navigate(["/a",o.pubkey,o.identifier])}}t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r)}else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Bp.\u0275fac=function(t){return new(t||Bp)(k(Xi),k(us),k(oi),k(Tr),k(yo),k(Tn),k(td),k(ts),k(Qi),k(qn),k(Zr))},Bp.\u0275cmp=qe({type:Bp,selectors:[["app-article"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(ee(0,Bpe,25,25,"div",0),gi(1,"async"),Ce(2,"mat-divider")),2&t&&S("ngIf",yi(1,1,e.ui.event$))},dependencies:[qa,ri,dr,Pa,Zn,E0,lc,Xc,Jc,Qd,Zd,v0,ha,Da,Al,gs,Il,Js,wm,oh,sh,id,Ap,Ts],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class r1{constructor(t,e,n,r,a,o,c,u,m,x,P){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=u,this.db=m,this.snackBar=x,this.dataService=P,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Ee(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Ee(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Ee(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Ee(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Ee(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Ee(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Relays"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}]}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(Tp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Ee(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}}r1.\u0275fac=function(t){return new(t||r1)(k(Vd),k(Sl),k(Tr),k(Mo),k(Fa),k(Xi),k(Tn),k(Ml),k(ua),k(ms),k(Ba))},r1.\u0275cmp=qe({type:r1,selectors:[["app-relays-management"]],viewQuery:function(t,e){if(1&t&&At(lc,5),2&t){let n;Qe(n=Xe())&&(e.accordion=n.first)}},decls:23,vars:1,consts:[[1,"feed-page"],[1,"options"],[1,"settings-action-buttons"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),L(6,"Options"),v(),Ce(7,"mat-panel-description"),v(),_(8,"div",2)(9,"button",3),fe("click",function(){return e.getRelays()}),L(10,"Append from extension"),v(),_(11,"button",3),fe("click",function(){return e.getDefaultRelays()}),L(12,"Append from app"),v(),Ce(13,"br"),_(14,"button",4),fe("click",function(){return e.dataService.publishContactsAndRelays()}),L(15,"Publish relay (and following) list"),v(),_(16,"button",4),fe("click",function(){return e.dataService.publishRelays()}),L(17,"Publish relay (NIP-65) list"),v(),Ce(18,"br")(19,"br"),_(20,"button",5),fe("click",function(){return e.deleteRelays()}),L(21,"Delete all relays"),v()()()()(),Ce(22,"app-relays",6),v()),2&t&&(E(22),S("relays",e.relayService.items))},dependencies:[dr,lc,Xc,Jc,Qd,Zd,Rp],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});const Hpe=function(i,t){return["/b",i,t]};function Vpe(i,t){if(1&i&&(_(0,"mat-card-title")(1,"a",8),L(2),v()()),2&i){const e=Z(2);E(1),S("routerLink",Ws(2,Hpe,e.badge.pubkey,e.badge.slug)),E(1),yt(e.badge.name)}}function Ype(i,t){if(1&i&&(_(0,"mat-card-title"),L(1),v()),2&i){const e=Z(2);E(1),yt(e.badge.name)}}function jpe(i,t){if(1&i&&(_(0,"mat-chip"),L(1),v()),2&i){const e=t.$implicit;E(1),qt("#",e,"")}}function zpe(i,t){if(1&i&&(_(0,"mat-card",1)(1,"mat-card-header",2),ee(2,Vpe,3,5,"mat-card-title",3),ee(3,Ype,2,1,"mat-card-title",3),_(4,"mat-card-subtitle"),L(5),v()(),Ce(6,"img",4),_(7,"mat-card-content")(8,"p",5),L(9),v(),_(10,"mat-chip-set",6),ee(11,jpe,2,1,"mat-chip",7),v(),_(12,"p"),vt(13),v()()()),2&i){const e=Z();E(2),S("ngIf",!e.preview),E(1),S("ngIf",e.preview),E(2),yt(e.badge.slug),E(1),S("src",e.thumbUrl(e.badge.thumb),on),E(3),yt(e.badge.description),E(2),S("ngForOf",e.badge.hashtags)}}var ou=new WeakMap,_w=new WeakMap;class Cm{set badge(t){ti(this,ou,t),this.update()}get badge(){return Pe(this,ou)}set id(t){var e=this;ti(this,_w,t),t?this.badgeService.getBadge(t).then(function(){var n=Ee(function*(r){null!=r&&(ti(e,ou,r),e.update())});return function(r){return n.apply(this,arguments)}}()):ti(this,ou,void 0)}get id(){return Pe(this,_w)}constructor(t,e){sn(this,ou,{writable:!0,value:void 0}),sn(this,_w,{writable:!0,value:void 0}),this.utilities=t,this.badgeService=e,ti(this,_w,""),this.preview=!1}update(){!Pe(this,ou)?.slug&&Pe(this,ou).tags&&ti(this,ou,this.badgeService.denormalizeBadge(Pe(this,ou)))}ngOnInit(){}imageUrl(t){if(t||(t=this.badge?.thumb),t)return this.utilities.sanitizeImageUrl(t)}thumbUrl(t){if(t||(t=this.badge?.image),t)return this.utilities.sanitizeImageUrl(t)}}function Wpe(i,t){1&i&&(_(0,"span"),L(1,"\xa0Accepted"),v())}function Gpe(i,t){if(1&i&&(_(0,"mat-icon",8),L(1,"verified"),v(),ee(2,Wpe,2,0,"span",9),gi(3,"async")),2&i){const e=Z();E(2),S("ngIf",!1===yi(3,1,e.appState.displayLabels$))}}function qpe(i,t){1&i&&Ce(0,"app-badge-card",13),2&i&&S("id",t.$implicit)}function $pe(i,t){if(1&i&&(_(0,"div",11),ee(1,qpe,1,1,"app-badge-card",12),v()),2&i){const e=Z(2);E(1),S("ngForOf",e.profileBadges)}}function Kpe(i,t){1&i&&ee(0,$pe,2,1,"div",10),2&i&&S("ngIf",Z().profileBadgesSub.events)}function Zpe(i,t){1&i&&(_(0,"span"),L(1,"\xa0Awarded"),v())}function Qpe(i,t){if(1&i&&(_(0,"mat-icon",8),L(1,"emoji_events"),v(),ee(2,Zpe,2,0,"span",9),gi(3,"async")),2&i){const e=Z();E(2),S("ngIf",!1===yi(3,1,e.appState.displayLabels$))}}function Xpe(i,t){if(1&i&&(_(0,"app-badge-card",13)(1,"div",14),L(2," Issued by:\xa0"),Ce(3,"app-profile-name",4)(4,"br"),L(5," Issued date: "),Ce(6,"app-date",15),v()()),2&i){const e=t.$implicit;S("id",Z(3).getId(e)),E(3),S("pubkey",e.pubkey),E(3),S("date",e.created_at)}}function Jpe(i,t){if(1&i&&(_(0,"div",11),ee(1,Xpe,7,3,"app-badge-card",12),v()),2&i){const e=Z(2);E(1),S("ngForOf",e.receivedBadgesSub.events)}}function ege(i,t){1&i&&ee(0,Jpe,2,1,"div",10),2&i&&S("ngIf",Z().receivedBadgesSub.events)}function tge(i,t){1&i&&(_(0,"span"),L(1,"\xa0Created"),v())}function ige(i,t){if(1&i&&(_(0,"mat-icon",8),L(1,"badge"),v(),ee(2,tge,2,0,"span",9),gi(3,"async")),2&i){const e=Z();E(2),S("ngIf",!1===yi(3,1,e.appState.displayLabels$))}}function nge(i,t){if(1&i){const e=Je();_(0,"app-badge-card",17)(1,"button",18),fe("click",function(){const a=Te(e).$implicit;return Ae(Z(3).edit(a))}),L(2,"EDIT"),v()()}2&i&&S("badge",t.$implicit)}function rge(i,t){if(1&i&&(_(0,"div",11),ee(1,nge,3,1,"app-badge-card",16),v()),2&i){const e=Z(2);E(1),S("ngForOf",e.badgeDefinitionsSub.events)}}function age(i,t){1&i&&ee(0,rge,2,1,"div",10),2&i&&S("ngIf",Z().badgeDefinitionsSub.events)}Cm.\u0275fac=function(t){return new(t||Cm)(k(Qi),k(ac))},Cm.\u0275cmp=qe({type:Cm,selectors:[["app-badge-card"]],inputs:{badge:"badge",id:"id",preview:"preview"},ngContentSelectors:["*"],decls:1,vars:1,consts:[["class","badge-card",4,"ngIf"],[1,"badge-card"],[1,"badge-header"],[4,"ngIf"],["mat-card-image","",3,"src"],[1,"text"],[1,"hashtags"],[4,"ngFor","ngForOf"],[3,"routerLink"]],template:function(t,e){1&t&&(Pi(),ee(0,zpe,14,6,"mat-card",0)),2&t&&S("ngIf",e.badge)},dependencies:[yn,ri,wa,Pa,sc,e0,GD,J_,X_,Xu,l0],styles:[".badge-card[_ngcontent-%COMP%]{max-width:256px}.badge-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}@media only screen and (max-width: 599px){.badge-card[_ngcontent-%COMP%]{width:100%}}"]});class a1{constructor(t,e,n,r,a,o,c,u,m){this.relayService=t,this.activatedRoute=e,this.utilities=n,this.router=r,this.eventService=a,this.appState=o,this.badgeService=c,this.queueService=u,this.cd=m,this.subscriptions=[],this.pubkey=""}ngOnInit(){var t=this;this.appState.updateTitle("Badges"),this.appState.showBackButton=!0,this.appState.actions=[{icon:"note_add",tooltip:"Create new badge type",click:()=>{this.createBadgeType()}},{icon:"assignment_ind",tooltip:"Assign badge to user",click:()=>{this.assignBadge()}}],this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var e=Ee(function*(n){t.tabIndex=n.t});return function(n){return e.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Ee(function*(n){const r=n.get("id");r&&(t.pubkey=r,t.receivedBadgesSub=t.relayService.download([{kinds:[8],"#p":[t.pubkey]}],void 0,"Event"),t.profileBadgesSub=t.relayService.download([{kinds:[30008],authors:[t.pubkey],"#d":["profile_badges"]}],void 0,"Replaceable"),t.badgeDefinitionsSub=t.relayService.download([{kinds:[30009],authors:[t.pubkey]}],void 0,"Replaceable"),t.cd.detectChanges())});return function(n){return e.apply(this,arguments)}}()))}get profileBadges(){return this.profileBadgesSub&&0!=this.profileBadgesSub.events.length?this.eventService.tagsOfTypeValues(this.profileBadgesSub.events[0],"a"):[]}getId(t){return this.eventService.firstATag(t)}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions),this.receivedBadgesSub&&this.relayService.unsubscribe(this.receivedBadgesSub.id),this.profileBadgesSub&&this.relayService.unsubscribe(this.profileBadgesSub.id),this.badgeDefinitionsSub&&this.relayService.unsubscribe(this.badgeDefinitionsSub.id)}onTabChanged(t){this.router.navigate([],{queryParams:{t:t.index},replaceUrl:!0})}edit(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}issue(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}createBadgeType(){}assignBadge(){}}function oge(i,t){if(1&i){const e=Je();_(0,"div")(1,"div")(2,"div")(3,"p"),L(4,"Just paste your (or someone else's) Nostr public key (npub) here:"),v(),_(5,"mat-form-field",18)(6,"mat-icon",19),L(7,"person_add"),v(),_(8,"mat-label"),L(9,"Public Key"),v(),_(10,"input",20),fe("ngModelChange",function(r){return Te(e),Ae(Z().readOnlyKey=r)}),v()(),_(11,"div")(12,"button",21),fe("click",function(){Te(e);const r=Z();return Ae(r.anonymous(r.readOnlyKey))}),L(13,"Connect (read-only)"),v()()()()()}if(2&i){const e=Z();E(10),S("ngModel",e.readOnlyKey)}}a1.\u0275fac=function(t){return new(t||a1)(k(Mo),k(us),k(Qi),k(qn),k(Ro),k(Xi),k(ac),k(Oo),k(oi))},a1.\u0275cmp=qe({type:a1,selectors:[["app-badges"]],decls:22,vars:2,consts:[[1,"feed-page"],[1,"options"],[1,"options-buttons"],["mat-stroked-button","","routerLink","/editor/badges"],[3,"pubkey"],[3,"selectedIndex","selectedTabChange"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],["class","badges",4,"ngIf"],[1,"badges"],[3,"id",4,"ngFor","ngForOf"],[3,"id"],[1,"dimmed"],[3,"date"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],["mat-stroked-button","",1,"badge-card-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),L(6,"Options"),v(),Ce(7,"mat-panel-description"),v(),_(8,"div",2)(9,"button",3),L(10,"Badge Editor"),v()()()()(),Ce(11,"app-event-header",4),_(12,"mat-tab-group",5),fe("selectedTabChange",function(r){return e.onTabChanged(r)}),_(13,"mat-tab"),ee(14,Gpe,4,3,"ng-template",6),ee(15,Kpe,1,1,"ng-template",7),v(),_(16,"mat-tab"),ee(17,Qpe,4,3,"ng-template",6),ee(18,ege,1,1,"ng-template",7),v(),_(19,"mat-tab"),ee(20,ige,4,3,"ng-template",6),ee(21,age,1,1,"ng-template",7),v()()()),2&t&&(E(11),S("pubkey",e.pubkey),E(1),S("selectedIndex",e.tabIndex))},dependencies:[yn,ri,wa,dr,Zn,iM,nM,x0,nw,lc,Xc,Jc,Qd,Zd,bm,gs,id,Cm,Ts],styles:[".badge-header[_ngcontent-%COMP%]{margin-bottom:1em}.badges[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;gap:1em;padding-top:1em}.options-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}"]});class o1{constructor(t,e,n,r){this.authService=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m"}connect(){var t=this;return Ee(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Ee(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Ee(function*(){setTimeout(Ee(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?xa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=sp(this.privateKeyHex),this.publicKey=xa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}function sge(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),L(3,"Who are you?"),v(),_(4,"p"),L(5,"Add some (optional) basics about yourself. This information will be public."),v(),_(6,"p")(7,"mat-form-field",12)(8,"mat-icon",13),L(9,"badge"),v(),_(10,"mat-label"),L(11,"Display Name"),v(),_(12,"input",14),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.display_name=r)}),v()()(),_(13,"p")(14,"mat-form-field",12)(15,"mat-icon",13),L(16,"alternate_email"),v(),_(17,"mat-label"),L(18,"Nickname"),v(),_(19,"input",14),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.name=r)}),v()()(),_(20,"p")(21,"mat-form-field",12)(22,"mat-icon",13),L(23,"help_outline"),v(),_(24,"mat-label"),L(25,"About"),v(),_(26,"textarea",15),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.about=r)}),v()()(),_(27,"p")(28,"mat-form-field",12)(29,"mat-icon",13),L(30,"image"),v(),_(31,"mat-label"),L(32,"Profile Image"),v(),_(33,"input",14),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.picture=r)}),v()()(),_(34,"p")(35,"mat-form-field",12)(36,"mat-icon",13),L(37,"how_to_reg"),v(),_(38,"mat-label"),L(39,"E-mail/Domain Identifier (NIP05)"),v(),_(40,"input",14),fe("ngModelChange",function(r){return Te(e),Ae(Z().profile.nip05=r)}),v()()(),_(41,"div",16)(42,"button",17),fe("click",function(){return Te(e),Ae(Z().step=2)}),L(43,"Continue"),v()()()()}if(2&i){const e=Z();E(12),S("ngModel",e.profile.display_name),E(7),S("ngModel",e.profile.name),E(7),S("ngModel",e.profile.about),E(7),S("ngModel",e.profile.picture),E(7),S("ngModel",e.profile.nip05)}}function lge(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),L(3,"Your secret recovery phrase"),v(),_(4,"p",18),L(5),v(),Ce(6,"br"),_(7,"button",19)(8,"mat-icon"),L(9,"content_copy"),v(),L(10," Copy "),v(),Ce(11,"br")(12,"br"),_(13,"p",20),L(14,"This is your private and secret sentence. You must store it safely, if you lose it, you will lose access to your account. Nobody can recover it for you."),v(),_(15,"p"),L(16,"Keep it safe, keep it hidden."),v(),_(17,"div",16)(18,"button",17),fe("click",function(){return Te(e),Ae(Z().step=1)}),L(19,"Back"),v(),_(20,"button",17),fe("click",function(){return Te(e),Ae(Z().step=3)}),L(21,"Continue"),v()()()()}if(2&i){const e=Z();E(5),yt(e.mnemonic),E(2),S("cdkCopyToClipboard",e.mnemonic)}}function cge(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),L(3,"Private and Public Keys"),v(),L(4," Your personal private key:"),Ce(5,"br"),_(6,"p",21),L(7),v(),_(8,"form")(9,"mat-form-field",22)(10,"mat-icon",23),L(11,"person_add"),v(),_(12,"mat-label"),L(13,"Public Key"),v(),_(14,"input",24),fe("ngModelChange",function(r){return Te(e),Ae(Z().publicKey=r)}),v()(),_(15,"mat-form-field",22)(16,"mat-icon",23),L(17,"password"),v(),_(18,"mat-label"),L(19,"Password (optional)"),v(),_(20,"input",25),fe("ngModelChange",function(r){return Te(e),Ae(Z().password=r)}),v()(),Ce(21,"br"),v(),_(22,"p",20),L(23,"From your secret recovery phrase, your public key and private key are derived. Some Nostr clients require the private key to be imported."),v(),_(24,"div",16)(25,"button",17),fe("click",function(){return Te(e),Ae(Z().step=2)}),L(26,"Back"),v(),_(27,"button",17),fe("click",function(){return Te(e),Ae(Z().persistKey())}),L(28,"Save and Log In"),v()()()()}if(2&i){const e=Z();E(7),yt(e.privateKey),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.password)}}o1.\u0275fac=function(t){return new(t||o1)(k(Na),k(Ml),k(qn),k(Zc))},o1.\u0275cmp=qe({type:o1,selectors:[["app-login"]],decls:40,vars:2,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],[1,"card","first-card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"description"],["href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank"],["disabled","disabled","mat-flat-button","","color","accent",1,"start-button","full-button"],["href","https://github.com/nostr-connect/nostrum","target","_blank"],["routerLink","/connect/key","mat-flat-button","","color","accent",1,"start-button","full-button"],[4,"ngIf"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary","mat-raised-button","",1,"skip-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),v(),_(4,"div",4)(5,"span",5),L(6,"Blockcore"),v(),L(7," Notes"),v(),Ce(8,"div",6),_(9,"button",7),fe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),L(11),v()()(),_(12,"div",9)(13,"mat-card",10)(14,"mat-card-content")(15,"h1"),L(16,"Log in"),v(),_(17,"p"),L(18,"If you already have an existing Nostr profile, you can restore it on Notes with these options."),v(),_(19,"button",11),fe("click",function(){return e.connect()}),L(20,"Connect using extension"),v(),_(21,"div",12),L(22," Good security. Requires the Nostr extension to be installed, like "),_(23,"a",13),L(24,"Blockcore Wallet"),v()(),_(25,"button",14),L(26,"Nostr connect (Coming soon)"),v(),_(27,"div",12),L(28,"Great security. Use an app like "),_(29,"a",15),L(30,"Nostrum"),v()(),_(31,"button",16),L(32,"Private Key"),v(),_(33,"div",12),L(34,"Enter a private key or recovery phrase. Stored encrypted with password. Less secure option."),v(),_(35,"button",11),fe("click",function(){return e.readOnlyLogin=!e.readOnlyLogin}),L(36,"Public Key"),v(),_(37,"div",12),L(38,"Very secure. Enter a public key for read-only login."),v(),ee(39,oge,14,1,"div",17),v()()()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(28),S("ngIf",e.readOnlyLogin))},dependencies:[ri,wa,Do,Ra,eo,Kc,dr,bo,Pa,sc,Zn,ka,ha,Da],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});class s1{constructor(t,e,n,r,a,o,c){this.utilities=t,this.dataService=e,this.profileService=n,this.authService=r,this.theme=a,this.router=o,this.security=c,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=lv.generateSeedWords(),this.privateKeyHex=lv.privateKeyFromSeedWords(this.mnemonic),this.privateKey=xa.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var t=this;return Ee(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Ee(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Ee(function*(){setTimeout(Ee(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);if(t.privateKeyHex==n){localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.profile.npub=t.publicKey,t.profile.pubkey=t.publicKeyHex;const r=t.utilities.reduceProfile(t.profile);let a=t.dataService.createEventWithPubkey(jn.Metadata,JSON.stringify(r),t.publicKeyHex),o=a;o.id=yield jd(a),zd(o)||(t.error="Unable to validate the event. Cannot continue.");const c=qk(o,t.privateKeyHex);o.sig=c,t.mnemonic="",t.privateKey="",t.privateKeyHex="",t.publicKey="",t.publicKeyHex="",t.password="",t.profile=null,t.profileService.newProfileEvent=o,t.router.navigateByUrl("/")}else t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error)}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?xa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=sp(this.privateKeyHex),this.publicKey=xa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}function dge(i,t){if(1&i){const e=Je();_(0,"mat-chip-row",5),fe("removed",function(){const a=Te(e).$implicit;return Ae(Z().remove(a))})("edited",function(r){const o=Te(e).$implicit;return Ae(Z().edit(o,r))}),L(1),_(2,"button",6)(3,"mat-icon"),L(4,"cancel"),v()()()}if(2&i){const e=t.$implicit;S("editable",!0)("aria-description","press enter to edit "+e),E(1),qt(" ",e," "),E(1),Lt("aria-label","remove "+e)}}s1.\u0275fac=function(t){return new(t||s1)(k(Qi),k(Ba),k(Tn),k(Na),k(Ml),k(qn),k(Zc))},s1.\u0275cmp=qe({type:s1,selectors:[["app-create"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],[1,"connect-action"],["mat-raised-button","","color","primary",1,"start-button",3,"click"],[1,"recovery-phrase"],["color","primary","mat-fab","","extended","",3,"cdkCopyToClipboard"],[1,"dimmed"],[1,"wrap"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),v(),_(4,"div",4)(5,"span",5),L(6,"Blockcore"),v(),L(7," Notes"),v(),Ce(8,"div",6),_(9,"button",7),fe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),L(11),v()()(),_(12,"div",9),ee(13,sge,44,5,"mat-card",10),ee(14,lge,22,2,"mat-card",10),ee(15,cge,29,4,"mat-card",10),v()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(2),S("ngIf",1==e.step),E(1),S("ngIf",2==e.step),E(1),S("ngIf",3==e.step))},dependencies:[ri,wa,Do,Ra,eo,Kc,dr,bo,J5,Pa,sc,Zn,Ku,ka,ha,qu,Da,$c,rR],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}.start-button[_ngcontent-%COMP%]{margin-right:.62em}.connect-action[_ngcontent-%COMP%]{text-align:right}.recovery-phrase[_ngcontent-%COMP%]{font-size:1.4em;word-spacing:.8em}"]});class l1{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[13,188],this.tags=[]}add(t){const e=(t.value||"").trim();e&&this.tags.push(e),t.chipInput.clear()}remove(t){const e=this.tags.indexOf(t);e>=0&&this.tags.splice(e,1)}edit(t,e){const n=e.value.trim();if(!n)return void this.remove(t);const r=this.tags.indexOf(t);r>=0&&(this.tags[r]=n)}}function uge(i,t){if(1&i&&(_(0,"mat-option",14),L(1),v()),2&i){const e=t.$implicit;S("value",e.slug),E(1),yt(e.name)}}function hge(i,t){if(1&i){const e=Je();_(0,"mat-form-field",11)(1,"mat-label"),L(2,"Existing badge designs"),v(),_(3,"mat-select",12),fe("valueChange",function(r){return Te(e),Ae(Z().selectedBadge=r)})("selectionChange",function(){return Te(e),Ae(Z().changedArticle())}),Ce(4,"mat-option"),ee(5,uge,2,2,"mat-option",13),v()()}if(2&i){const e=Z();E(3),S("value",e.selectedBadge),E(2),S("ngForOf",e.badgeService.editable)}}function mge(i,t){if(1&i){const e=Je();_(0,"form",15),fe("ngSubmit",function(){return Te(e),Ae(Z().onSubmitArticle())}),_(1,"div",16)(2,"mat-form-field",17)(3,"mat-label"),L(4,"Name"),v(),Ce(5,"input",18,19),v(),_(7,"mat-form-field",17)(8,"mat-label"),L(9,"URL (slug)"),v(),_(10,"input",20,19),fe("blur",function(){return Te(e),Ae(Z().formatSlug())}),v()(),_(12,"mat-form-field",17)(13,"mat-label"),L(14,"Description"),v(),Ce(15,"textarea",21),v(),_(16,"mat-form-field",17)(17,"mat-label"),L(18,"Badge Graphics (1024x1024)"),v(),Ce(19,"input",22,19),v(),_(21,"mat-form-field",17)(22,"mat-label"),L(23,"Badge Thumbnail"),v(),Ce(24,"input",23,19),v(),Ce(26,"app-tags",24),v(),_(27,"div",25)(28,"button",26),fe("click",function(){return Te(e),Ae(Z().onCancel())}),L(29,"Cancel"),v(),L(30,"\xa0 "),_(31,"button",27),L(32,"Publish Badge Design"),v()()()}if(2&i){const e=Z();S("formGroup",e.form),E(26),S("tags",e.badge.hashtags),E(5),S("disabled",!e.form.valid)}}l1.\u0275fac=function(t){return new(t||l1)},l1.\u0275cmp=qe({type:l1,selectors:[["app-tags"]],inputs:{tags:"tags"},decls:7,vars:4,consts:[[1,"tags-chip-list"],["aria-label","Enter tags"],["chipGrid",""],[3,"editable","aria-description","removed","edited",4,"ngFor","ngForOf"],["placeholder","New tag...",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"editable","aria-description","removed","edited"],["matChipRemove",""]],template:function(t,e){if(1&t&&(_(0,"mat-form-field",0)(1,"mat-label"),L(2,"Tags"),v(),_(3,"mat-chip-grid",1,2),ee(5,dge,5,4,"mat-chip-row",3),_(6,"input",4),fe("matChipInputTokenEnd",function(r){return e.add(r)}),v()()()),2&t){const n=Li(4);E(5),S("ngForOf",e.tags),E(1),S("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}},dependencies:[yn,Ra,eo,Zn,CO,kO,xO,XD],styles:[".tags-chip-list[_ngcontent-%COMP%]{width:100%}"]});class c1{constructor(t,e,n,r,a,o,c,u,m,x){this.snackBar=t,this.badgeService=e,this.queueService=n,this.utilities=r,this.appState=a,this.eventService=o,this.location=c,this.fb=u,this.navigation=m,this.profileService=x,this.form=this.fb.group({name:["",Po.required],description:["",Po.required],image:["",Po.required],thumb:[""],slug:["",Po.required]}),this.note="",this.badge={name:"",description:"",image:"",thumb:"",slug:"",hashtags:["Collectible","Membership","Recognition"]},this.title="",this.summary="",this.eventType="badge",this.dateControl=new $u(null),this.subscriptions=[],this.selectedBadge=""}ngOnInit(){this.appState.updateTitle("Create a badge design"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.form.valueChanges.subscribe(t=>{this.updateBadge()}),this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition"),this.subscriptions.push(this.form.controls.name.valueChanges.subscribe(t=>{t&&this.form.controls.slug.setValue(this.createSlug(t))})),this.badgeService.selectedBadge&&(this.selectedBadge=this.badgeService.selectedBadge.slug,this.changedArticle(),this.badgeService.selectedBadge=void 0)}changedArticle(){let t=this.badgeService.selectedBadge||this.badgeService.getDefinition(this.selectedBadge);if(!t)return this.form.reset(),void(this.badge.hashtags=["Collectible","Membership","Recognition"]);null==t.name&&(t.name=""),null==t.image&&(t.image=""),null==t.thumb&&(t.thumb=""),null==t.description&&(t.description=""),this.form.setValue({name:t.name,description:t.description,image:t.image,thumb:t.thumb,slug:t.slug?t.slug:""}),this.updateBadge(t)}updateBadge(t){this.badge.name=this.form.controls.name.value,this.badge.description=this.form.controls.description.value,this.badge.slug=this.form.controls.slug.value,this.badge.image=this.form.controls.image.value,this.badge.thumb=this.form.controls.thumb.value,t&&(this.badge.hashtags=this.eventService.hashTags(t))}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"badge"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition")}createSlug(t){return(t=(t=t.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}formatSlug(){this.form.controls.slug.setValue(this.createSlug(this.form.controls.slug.value))}onSubmitArticle(){var t=this;return Ee(function*(){const e=t.form.controls,n={name:e.name.value,description:e.description.value,image:e.image.value,thumb:e.thumb.value,slug:e.slug.value,hashtags:t.badge.hashtags};yield t.navigation.saveBadgeDefinition(n),t.snackBar.open("Badge design was published. Notes does not support viewing badge designs yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onCancel(){this.note="",this.location.back()}}function fge(i,t){if(1&i){const e=Je();_(0,"p")(1,"button",8),fe("click",function(){Te(e);const r=Z(3);return Ae(r.showIssuing=!r.showIssuing)}),L(2,"ISSUE BADGE"),v(),_(3,"button",8),fe("click",function(){Te(e);const r=Z().$implicit;return Ae(Z(2).edit(r))}),L(4,"EDIT"),v()()}}function pge(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",9)(2,"mat-label"),L(3,"Pub Key (hex format only, line separated, add relay comma separated at the end)"),v(),_(4,"textarea",10),fe("ngModelChange",function(r){return Te(e),Ae(Z(3).pubkeys=r)}),v()(),Ce(5,"br"),_(6,"button",11),fe("click",function(){Te(e);const r=Z().$implicit;return Ae(Z(2).issueBadge(r))}),L(7,"Publish Badge Reward"),v()()}if(2&i){const e=Z(3);E(4),S("ngModel",e.pubkeys),E(2),S("disabled",0==e.pubkeys.length)}}function gge(i,t){if(1&i&&(_(0,"app-badge-card",4),L(1," Created by:\xa0"),Ce(2,"app-profile-name",5)(3,"br"),L(4," Last updated: "),Ce(5,"app-date",6),ee(6,fge,5,0,"p",7),ee(7,pge,8,2,"div",7),v()),2&i){const e=t.$implicit,n=Z(2);S("badge",e),E(2),S("pubkey",e.pubkey),E(3),S("date",e.created_at),E(1),S("ngIf",n.appState.getPublicKey()==e.pubkey),E(1),S("ngIf",n.showIssuing)}}function _ge(i,t){if(1&i&&(_(0,"div",2),ee(1,gge,8,5,"app-badge-card",3),v()),2&i){const e=Z();E(1),S("ngForOf",e.sub.events)}}c1.\u0275fac=function(t){return new(t||c1)(k(ms),k(ac),k(Oo),k(Qi),k(Xi),k(Ro),k(Ac),k(ND),k(yo),k(Tn))},c1.\u0275cmp=qe({type:c1,selectors:[["app-editor"]],decls:14,vars:5,consts:[[1,"split-page"],[1,"primary-page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","badge"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],[1,"secondary-page"],[1,"marginless"],[3,"badge","preview"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","name","placeholder","Ex. Medal of Bravery..."],["message",""],["matInput","","placeholder","Ex. bravery (Can only contain - and lower case text)","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","description","rows","2",1,"note-input"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Article banner image","formControlName","thumb"],[3,"tags"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-button-toggle-group",3,4),fe("change",function(){return e.noteTypeChanged()})("ngModelChange",function(r){return e.eventType=r}),_(5,"mat-button-toggle",5),L(6,"Badge"),v()()(),ee(7,hge,6,2,"mat-form-field",6),ee(8,mge,33,3,"form",7),v(),_(9,"div",8)(10,"h2",9),L(11,"Badge Design Preview"),v(),Ce(12,"br")(13,"app-badge-card",10),v()()),2&t){const n=Li(4);E(3),S("ngModel",e.eventType),E(4),S("ngIf","badge"==n.value),E(1),S("ngIf","badge"==n.value),E(5),S("badge",e.badge)("preview",!0)}},dependencies:[yn,ri,Do,Ra,eo,dr,w0,Du,Ku,ka,ha,qu,Da,Gd,j_,Dl,Yc,CM,kM,xm,Cm,l1],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});class Hp{constructor(t,e,n,r,a,o,c,u){this.snackBar=t,this.relayService=e,this.badgeService=n,this.appState=r,this.activatedRoute=a,this.router=o,this.navigation=c,this.utilities=u,this.showIssuing=!1,this.pubkeys="",this.subscriptions=[]}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id),this.utilities.unsubscribe(this.subscriptions)}edit(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}issueBadge(t){var e=this;return Ee(function*(){const n=e.pubkeys.split(/\r?\n/),r=[];for(let a=0;a-1?t.substring(t.indexOf("://")+3):t}decode(t){if(!t.startsWith(this.prefix))throw new Error("Invalid Nostr URI: "+t);var e=t.slice(this.prefix.length,t.indexOf(":",this.prefix.length)).toLowerCase(),r=t.slice(this.prefix.length+e.length+1).split("?"),a=r[0];let o;return a.indexOf("/")>-1&&(a=a.substring(0,a.length-1)),r.length>1&&(o=mP.parse(r[1])),{address:a,scheme:e,options:o}}transform(t){const e=t.address,n=t.scheme,r=t;return delete r.address,delete r.scheme,{address:e,scheme:n,options:r}}encode(t){var e=mP.stringify(t.options);return t.scheme+":"+t.address+(e?"?":"")+e}}const dh=new ht(j),wge={connector:()=>new He};function fP(i,t=wge){const{connector:e}=t;return Yt((n,r)=>{const a=e();cn(i(function vge(i){return new ht(t=>i.subscribe(t))}(a))).subscribe(r),r.add(n.subscribe(a))})}const d1="Service workers are disabled or not supported by this browser";class bw{constructor(t){if(this.serviceWorker=t,t){const n=As(t,"controllerchange").pipe(_t(()=>t.controller)),a=Sd(Rc(()=>Ht(t.controller)),n);this.worker=a.pipe(qi(x=>!!x)),this.registration=this.worker.pipe(na(()=>t.getRegistration()));const m=As(t,"message").pipe(_t(x=>x.data)).pipe(qi(x=>x&&x.type)).pipe(function xge(i){return i?t=>fP(i)(t):t=>function Fge(i,t){const e=T(i)?i:()=>i;return T(t)?fP(t,{connector:e}):n=>new ay(n,e)}(new He)(t)}());m.connect(),this.events=m}else this.worker=this.events=this.registration=function Cge(i){return Rc(()=>Mu(new Error(i)))}(d1)}postMessage(t,e){return this.worker.pipe(rn(1),ia(n=>{n.postMessage({action:t,...e})})).toPromise().then(()=>{})}postMessageWithOperation(t,e,n){const r=this.waitForOperationCompleted(n),a=this.postMessage(t,e);return Promise.all([a,r]).then(([,o])=>o)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let e;return e="string"==typeof t?n=>n.type===t:n=>t.includes(n.type),this.events.pipe(qi(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(rn(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(qi(e=>e.nonce===t),rn(1),_t(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let kge=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new He,!e.isEnabled)return this.messages=dh,this.notificationClicks=dh,void(this.subscription=dh);this.messages=this.sw.eventsOfType("PUSH").pipe(_t(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(_t(r=>r.data)),this.pushManager=this.sw.registration.pipe(_t(r=>r.pushManager));const n=this.pushManager.pipe(na(r=>r.getSubscription()));this.subscription=Bn(n,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(d1));const n={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;oo.subscribe(n)),rn(1)).toPromise().then(o=>(this.subscriptionChanges.next(o),o))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(rn(1),na(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(d1))}decodeBase64(e){return atob(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(bw))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),DM=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=dh,this.available=dh,this.activated=dh,void(this.unrecoverable=dh);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(qi(n=>"VERSION_READY"===n.type),_t(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(d1));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(d1));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(bw))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class MM{}const pP=new Ze("NGSW_REGISTER_SCRIPT");function Dge(i,t,e,n){return()=>{if(!kd(n)||!("serviceWorker"in navigator)||!1===e.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)r=e.registrationStrategy();else{const[o,...c]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":r=Ht(null);break;case"registerWithDelay":r=gP(+c[0]||0);break;case"registerWhenStable":r=c[0]?Bn(_P(i),gP(+c[0])):_P(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}i.get(Rt).runOutsideAngular(()=>r.pipe(rn(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function gP(i){return Ht(null).pipe(ew(i))}function _P(i){return i.get(wd).isStable.pipe(qi(e=>e))}function Mge(i,t){return new bw(kd(t)&&!1!==i.enabled?navigator.serviceWorker:void 0)}let Ege=(()=>{class i{static register(e,n={}){return{ngModule:i,providers:[{provide:pP,useValue:e},{provide:MM,useValue:n},{provide:bw,useFactory:Mge,deps:[MM,Sc]},{provide:Ig,useFactory:Dge,deps:[qr,pP,MM,Sc],multi:!0}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[kge,DM]}),i})();class km{constructor(t,e){this.updates=t,this.snackBar=e,this.updateClient()}updateClient(){this.updates.versionUpdates.subscribe(t=>{switch(t.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${t.version.hash}`);break;case"VERSION_READY":console.log(`Current app version: ${t.currentVersion.hash}`),console.log(`New app version ready for use: ${t.latestVersion.hash}`),this.doAppUpdate();break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${t.version.hash}': ${t.error}`)}})}showAppUpdateAlert(){this.snackBar.open("App Update available!","Update",{horizontalPosition:"center",verticalPosition:"bottom"}).onAction().subscribe(()=>{this.doAppUpdate()})}doAppUpdate(){this.updates.activateUpdate().then(()=>document.location.reload())}}km.\u0275fac=function(t){return new(t||km)(Fe(DM),Fe(ms))},km.\u0275prov=Ke({token:km,factory:km.\u0275fac,providedIn:"root"});class Dm{constructor(t,e){{const n=t.isStable.pipe(Rd(o=>!0===o)),r=function Sge(i=0,t=Lf){return i<0&&(i=0),Gg(i,i,t)}(216e5);Sd(n,r).subscribe(Ee(function*(){try{const o=yield e.checkForUpdate();console.log(o?"A new version is available.":"Already on the latest version.")}catch(o){console.error("Failed to check for updates:",o)}}))}}}Dm.\u0275fac=function(t){return new(t||Dm)(Fe(wd),Fe(DM))},Dm.\u0275prov=Ke({token:Dm,factory:Dm.\u0275fac});class Yp{constructor(t,e,n){this.router=t,this.appState=e,this.profileService=n,this.resultsChanged=new Hi(null),this.results$=this.resultsChanged.asObservable()}search(t){var e=this;return Ee(function*(){if(t)if(console.log("Searching for: ",t),t.startsWith("npub")){const n=xa.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else if(t.startsWith("nevent")){const n=xa.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else{const n=yield e.profileService.search(t.toLowerCase());e.updateResults(n),n||(e.resetSearch(),e.router.navigate(["/p",t]))}})()}updateResults(t){this.resultsChanged.next(t)}open(t){console.log("SELECTED:",t),t&&(this.resetSearch(),this.router.navigate(["/p",t.pubkey]))}resetSearch(){this.appState.searchText="",this.appState.showSearch=!1}}Yp.\u0275fac=function(t){return new(t||Yp)(Fe(qn),Fe(Xi),Fe(Tn))},Yp.\u0275prov=Ke({token:Yp,factory:Yp.\u0275fac,providedIn:"root"});const Tge=["panel"];function Age(i,t){if(1&i&&(_(0,"div",0,1),vt(2),v()),2&i){const e=t.id,n=Z();S("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),Lt("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}const Ige=["*"],Lge=Za("panelAnimation",[gr("void, hidden",fi({opacity:0,transform:"scaleY(0.8)"})),lr(":enter, hidden => visible",[Zg([sr("0.03s linear",fi({opacity:1})),sr("0.12s cubic-bezier(0, 0, 0.2, 1)",fi({transform:"scaleY(1)"}))])]),lr(":leave, visible => hidden",[sr("0.075s linear",fi({opacity:0}))])]);let Nge=0;class Oge{constructor(t,e){this.source=t,this.option=e}}const Rge=Cl(class{}),bP=new Ze("mat-autocomplete-default-options",{providedIn:"root",factory:function Pge(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let Bge=(()=>{class i extends Rge{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ct(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ct(e)}set classList(e){this._classList=e&&e.length?function UG(i,t=/\s+/){const e=[];if(null!=i){const n=Array.isArray(i)?i:`${i}`.split(t);for(const r of n){const a=`${r}`.trim();a&&e.push(a)}}return e}(e).reduce((n,r)=>(n[r]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,n,r,a){super(),this._changeDetectorRef=e,this._elementRef=n,this._defaults=r,this._activeOptionChanges=C.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new lt,this.opened=new lt,this.closed=new lt,this.optionActivated=new lt,this._classList={},this.id="mat-autocomplete-"+Nge++,this.inertGroups=a?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new RI(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const n=new Oge(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return i.\u0275fac=function(e){return new(e||i)(k(oi),k(pt),k(bP),k(Hn))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(At(yr,7),At(Tge,5)),2&e){let r;Qe(r=Xe())&&(n.template=r.first),Qe(r=Xe())&&(n.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[st]}),i})(),Hge=(()=>{class i extends Bge{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,RC,5),ui(r,Du,5)),2&e){let a;Qe(a=Xe())&&(n.optionGroups=a),Qe(a=Xe())&&(n.options=a)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Nt([{provide:OC,useExisting:i}]),st],ngContentSelectors:Ige,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,n){1&e&&(Pi(),ee(0,Age,3,5,"ng-template"))},dependencies:[qa],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Lge]},changeDetection:0}),i})();const Vge={provide:Ca,useExisting:hi(()=>vP),multi:!0},yP=new Ze("mat-autocomplete-scroll-strategy"),jge={provide:yP,deps:[va],useFactory:function Yge(i){return()=>i.scrollStrategies.reposition()}};let zge=(()=>{class i{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ct(e)}constructor(e,n,r,a,o,c,u,m,x,P,K){this._element=e,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=u,this._formField=m,this._document=x,this._viewportRuler=P,this._defaults=K,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=C.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new He,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Rc(()=>{const ne=this.autocomplete?this.autocomplete.options:null;return ne?ne.changes.pipe(Ur(ne),na(()=>Bn(...ne.map(pe=>pe.onSelectionChange)))):this._zone.onStable.pipe(rn(1),na(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Bn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(qi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(qi(()=>this._overlayAttached)):Ht()).pipe(_t(e=>e instanceof y6?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Bn(As(this._document,"click"),As(this._document,"auxclick"),As(this._document,"touchend")).pipe(qi(e=>{const n=Md(e),r=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(n))&&(!a||!a.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const n=e.keyCode,r=ya(e);if(27===n&&!r&&e.preventDefault(),this.activeOption&&13===n&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const a=this.autocomplete._keyManager.activeItem,o=38===n||40===n;9===n||o&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this.openPanel(),(o||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;"number"===n.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Bn(this._zone.onStable.pipe(rn(1)),this.autocomplete.options.changes.pipe(ia(()=>this._positionStrategy.reapplyLastPosition()),ew(0))).pipe(na(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),rn(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const n=e?e.source:this._pendingAutoselectedOption;n&&(this._clearPreviousSelectedOption(n),this._assignOptionValue(n.value),this._onChange(n.value),this.autocomplete._emitSelectEvent(n),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(n=>{n!==e&&n.selected&&n.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Ad(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Vf({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let o;o="above"===this.position?a:"below"===this.position?n:[...n,...a],e.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const n=this.autocomplete,r=v6(e,n.options,n.optionGroups);if(0===e&&1===r)n._setScrollTop(0);else if(n.panel){const a=n.options.toArray()[e];if(a){const o=a._getHostElement(),c=w6(o.offsetTop,o.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(n=>{(27===n.keyCode&&!ya(n)||38===n.keyCode&&ya(n,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),n.stopPropagation(),n.preventDefault())}),e.outsidePointerEvents().subscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(va),k(kr),k(Rt),k(oi),k(yP),k(Rr,8),k(dm,9),k(xi,8),k(Fl),k(bP,8))},i.\u0275dir=Oe({type:i,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Jn]}),i})(),vP=(()=>{class i extends zge{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,n){1&e&&fe("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(a){return n._handleInput(a)})("keydown",function(a){return n._handleKeydown(a)})("click",function(){return n._handleClick()}),2&e&&Lt("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-owns",n.autocompleteDisabled||!n.panelOpen||null==n.autocomplete?null:n.autocomplete.id)("aria-haspopup",n.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Nt([Vge]),st]}),i})(),Uge=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[jge],imports:[Oc,ny,Jt,Dr,Nc,ny,Jt]}),i})();class uh{constructor(t){this.utilities=t}transform(t){return t?uh.time(t):"00:00:00"}static time(t){var e=Math.floor(t/60/60),n=Math.floor(t/60)-60*e,r=t%60;return e.toString().padStart(2,"0")+":"+n.toString().padStart(2,"0")+":"+r.toString().padStart(2,"0")}}uh.\u0275fac=function(t){return new(t||uh)(k(Qi,16))},uh.\u0275pipe=Er({name:"time",type:uh,pure:!0});const Wge=["knob"],Gge=["valueIndicatorContainer"];function qge(i,t){if(1&i&&(_(0,"div",4,5)(2,"div",6)(3,"span",7),L(4),v()()()),2&i){const e=Z();E(4),yt(e.valueIndicatorText)}}const $ge=["trackActive"];function Kge(i,t){if(1&i&&Ce(0,"div"),2&i){const e=t.$implicit,n=t.index,r=Z(3);ub(0===e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),Kn("transform",r._calcTickMarkTransform(n))}}function Zge(i,t){if(1&i&&(Dn(0),ee(1,Kge,1,4,"div",11),Mn()),2&i){const e=Z(2);E(1),S("ngForOf",e._tickMarks)}}function Qge(i,t){if(1&i&&(_(0,"div",8,9),ee(2,Zge,2,1,"ng-container",10),v()),2&i){const e=Z();E(2),S("ngIf",e._cachedWidth)}}function Xge(i,t){if(1&i&&Ce(0,"mat-slider-visual-thumb",7),2&i){const e=Z();S("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}const Jge=["*"],yw=new Ze("_MatSlider"),wP=new Ze("_MatSliderThumb"),FP=new Ze("_MatSliderRangeThumb"),xP=new Ze("_MatSliderVisualThumb");let e_e=(()=>{class i{constructor(e,n,r,a){this._cdr=e,this._ngZone=n,this._slider=a,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=o=>{if(this._sliderInput._isFocused)return;const c=this._hostElement.getBoundingClientRect(),u=this._isSliderThumbHovered(o,c);this._isHovered=u,u?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=r.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const e=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const e=this._sliderInputEl;e.removeEventListener("pointermove",this._onPointerMove),e.removeEventListener("pointerdown",this._onDragStart),e.removeEventListener("pointerup",this._onDragEnd),e.removeEventListener("pointerleave",this._onMouseLeave),e.removeEventListener("focus",this._onFocus),e.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return 0===e?.state||1===e?.state}_showRipple(e,n){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||n))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const n=this._getSibling();n._isShowingAnyRipple()||(this._hideValueIndicator(),n._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(e,n){const r=n.width/2,u=e.clientY-(n.y+r);return Math.pow(e.clientX-(n.x+r),2)+Math.pow(u,2){class i extends t_e{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e);const n=this._getInput(2),r=this._getInput(1);n&&(n.disabled=this._disabled),r&&(r.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(e){this._discrete=Ct(e),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(e){this._showTickMarks=Ct(e)}get min(){return this._min}set min(e){const n=vr(e,this._min);this._min!==n&&this._updateMin(n)}_updateMin(e){const n=this._min;this._min=e,this._isRange?this._updateMinRange({old:n,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){const n=this._getInput(2),r=this._getInput(1),a=n.value,o=r.value;r.min=e.new,n.min=Math.max(e.new,r.value),r.max=Math.min(n.max,n.value),r._updateWidthInactive(),n._updateWidthInactive(),e.newe.old?this._onTranslateXChangeBySideEffect(r,n):this._onTranslateXChangeBySideEffect(n,r),a!==n.value&&this._onValueChange(n),o!==r.value&&this._onValueChange(r)}_updateMaxNonRange(e){const n=this._getInput(2);if(n){const r=n.value;n.max=e,n._updateThumbUIByValue(),this._updateTrackUI(n),r!==n.value&&this._onValueChange(n)}}get step(){return this._step}set step(e){const n=vr(e,this._step);this._step!==n&&this._updateStep(n)}_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const e=this._getInput(2),n=this._getInput(1),r=e.value,a=n.value,o=n.value;e.min=this._min,n.max=this._max,e.step=this._step,n.step=this._step,this._platform.SAFARI&&(e.value=e.value,n.value=n.value),e.min=Math.max(this._min,n.value),n.max=Math.min(this._max,e.value),n._updateWidthInactive(),e._updateWidthInactive(),e.value`${m}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===u,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const e=this._getInput(2),n=this._getInput(1);this._isRange=!!e&&!!n,this._cdr.detectChanges();const r=this._getThumb(2);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(e,n):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,n){e.initProps(),e.initUI(),n.initProps(),n.initUI(),e._updateMinMax(),n._updateMinMax(),e._updateStaticStyles(),n._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),n._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const e=this._getInput(2),n=this._getInput(1);e._setIsLeftThumb(),n._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),n.translateX=n._calcTranslateXByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateWidthInactive(),n._updateWidthInactive(),e._updateThumbUIByValue(),n._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(e=2){const n=this._getInput(e);return n?n.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){const n=this._trackActive.nativeElement.style,r=e.left!==n.left&&e.right!==n.right;n.left=e.left,n.right=e.right,n.transformOrigin=e.transformOrigin,r?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe(rn(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),n.transform=e.transform})):n.transform=e.transform}_calcTickMarkTransform(e){return`translateX(${e*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,n){this._hasViewInitialized&&(e._updateThumbUIByValue(),n._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const e=this._getInput(2),n=this._getInput(1);e._updateThumbUIByValue(),n._updateThumbUIByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateMinMax(),n._updateMinMax(),e._updateWidthInactive(),n._updateWidthInactive()}else{const e=this._getInput(2);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const e=this._getInput(1),n=this._getInput(2);return!(!e||!n)&&n.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){const n=e.getSibling(),r=this._getThumb(e.thumbPosition);this._getThumb(n.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){this._skipUpdate()||(this._getThumb(2===e.thumbPosition?2:1)._hostElement.style.transform=`translateX(${e.translateX}px)`)}_updateValueIndicatorUI(e){if(this._skipUpdate())return;const n=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext=n:e._hostElement.setAttribute("aria-valuetext",n),this.discrete){1===e.thumbPosition?this.startValueIndicatorText=n:this.endValueIndicatorText=n;const r=this._getThumb(e.thumbPosition);n.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const e=this._getInput(2),n=this._getInput(1);e&&this._updateValueIndicatorUI(e),n&&this._updateValueIndicatorUI(n)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const e=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*r-6}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){const n=e.getSibling();if(!n||!this._cachedWidth)return;const r=Math.abs(n.translateX-e.translateX)/this._cachedWidth;this._setTrackActiveStyles(e._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-n.translateX+"px",transformOrigin:"right",transform:`scaleX(${r})`}:{left:`${n.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(e){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(e){const n=this._getValue();let r=Math.max(Math.round((n-this.min)/e),0),a=Math.max(Math.round((this.max-n)/e),0);this._isRtl?r++:a++,this._tickMarks=Array(r).fill(0).concat(Array(a).fill(1))}_updateTickMarkUIRange(e){const n=this._getValue(),r=this._getValue(1),a=Math.max(Math.floor((r-this.min)/e),0),o=Math.max(Math.floor((n-r)/e)+1,0),c=Math.max(Math.floor((this.max-n)/e),0);this._tickMarks=Array(a).fill(1).concat(Array(o).fill(0),Array(c).fill(1))}_getInput(e){return 2===e&&this._input?this._input:this._inputs?.length?1===e?this._inputs.first:this._inputs.last:void 0}_getThumb(e){return 2===e?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(oi),k(Hn),k(pt),k(Rr,8),k(Ld,8),k(Nn,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-slider"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,wP,5),ui(r,FP,4)),2&e){let a;Qe(a=Xe())&&(n._input=a.first),Qe(a=Xe())&&(n._inputs=a)}},viewQuery:function(e,n){if(1&e&&(At($ge,5),At(xP,5)),2&e){let r;Qe(r=Xe())&&(n._trackActive=r.first),Qe(r=Xe())&&(n._thumbs=r)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(e,n){2&e&&Mt("mdc-slider--range",n._isRange)("mdc-slider--disabled",n.disabled)("mdc-slider--discrete",n.discrete)("mdc-slider--tick-marks",n.showTickMarks)("_mat-animation-noopable",n._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[Nt([{provide:yw,useExisting:i}]),st],ngContentSelectors:Jge,decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(e,n){1&e&&(Pi(),vt(0),_(1,"div",0),Ce(2,"div",1),_(3,"div",2),Ce(4,"div",3,4),v(),ee(6,Qge,3,1,"div",5),v(),ee(7,Xge,1,3,"mat-slider-visual-thumb",6),Ce(8,"mat-slider-visual-thumb",7)),2&e&&(E(6),S("ngIf",n.showTickMarks),E(1),S("ngIf",n._isRange),E(1),S("discrete",n.discrete)("thumbPosition",2)("valueIndicatorText",n.endValueIndicatorText))},dependencies:[yn,ri,e_e],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden}.mdc-slider .mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px);top:calc((var(--mdc-slider-inactive-track-height, 4px) - var(--mdc-slider-active-track-height, 6px)) / 2)}.mat-mdc-slider .mdc-slider__track--active_fill{border-top-width:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{box-sizing:content-box;pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})();const r_e={provide:Ca,useExisting:hi(()=>EM),multi:!0};let EM=(()=>{class i{get value(){return vr(this._hostElement.value)}set value(e){const n=vr(e).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=n,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=n}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}get min(){return vr(this._hostElement.min)}set min(e){this._hostElement.min=vr(e).toString(),this._cdr.detectChanges()}get max(){return vr(this._hostElement.max)}set max(e){this._hostElement.max=vr(e).toString(),this._cdr.detectChanges()}get step(){return vr(this._hostElement.step)}set step(e){this._hostElement.step=vr(e).toString(),this._cdr.detectChanges()}get disabled(){return Ct(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=Ct(e),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(e){this._isFocused=e}constructor(e,n,r,a){this._ngZone=e,this._elementRef=n,this._cdr=r,this._slider=a,this.valueChange=new lt,this.dragStart=new lt,this.dragEnd=new lt,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new He,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=n.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){this.disabled||0!==e.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value})))}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){const n=e.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=0===this._slider.step?1:this._slider.step,o=Math.floor((this._slider.max-this._slider.min)/a),m=Math.round((this._slider._isRtl?1-n/r:n/r)*o)/o*(this._slider.max-this._slider.min)+this._slider.min,x=Math.round(m/a)*a;if(x===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation}));this.value=x,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive()))}_clamp(e){return Math.max(Math.min(e,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,n){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(n)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){this.value=e}registerOnChange(e){this._onChangeFn=e}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(pt),k(oi),k(yw))},i.\u0275dir=Oe({type:i,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(e,n){1&e&&fe("change",function(){return n._onChange()})("input",function(){return n._onInput()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()}),2&e&&Lt("aria-valuetext",n._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[Nt([r_e,{provide:wP,useExisting:i}])]}),i})(),s_e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Dr,qs]}),i})();function l_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.rate())}),_(1,"mat-icon"),L(2,"speed"),v()()}}function c_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.rewind(10))}),_(1,"mat-icon"),L(2,"replay_10"),v()()}}function d_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.resume())}),_(1,"mat-icon"),L(2,"play_arrow"),v()()}}function u_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.pause())}),_(1,"mat-icon"),L(2,"pause"),v()()}}function h_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.forward(10))}),_(1,"mat-icon"),L(2,"forward_10"),v()()}}function m_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.mute())}),_(1,"mat-icon"),L(2,"volume_off"),v()()}}function f_e(i,t){if(1&i){const e=Je();_(0,"button",8),fe("click",function(){return Te(e),Ae(Z(2).media.mute())}),_(1,"mat-icon"),L(2,"volume_up"),v()()}}function p_e(i,t){if(1&i){const e=Je();_(0,"div",2)(1,"div",3)(2,"div",4),ee(3,l_e,3,0,"button",5),ee(4,c_e,3,0,"button",5),_(5,"button",6),fe("click",function(){return Te(e),Ae(Z().media.previous())}),_(6,"mat-icon"),L(7,"skip_previous"),v()(),ee(8,d_e,3,0,"button",5),ee(9,u_e,3,0,"button",5),_(10,"button",6),fe("click",function(){return Te(e),Ae(Z().media.next())}),_(11,"mat-icon"),L(12,"skip_next"),v()(),ee(13,h_e,3,0,"button",5),ee(14,m_e,3,0,"button",5),ee(15,f_e,3,0,"button",5),v()(),Ce(16,"div",7),v()}if(2&i){const e=Z();E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("disabled",!e.media.canPrevious),E(3),S("ngIf",e.media.paused),E(1),S("ngIf",!e.media.paused),E(1),S("disabled",!e.media.canNext),E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf",!e.media.videoMode&&e.media.muted),E(1),S("ngIf",!e.media.videoMode&&!e.media.muted)}}function g_e(i,t){if(1&i&&(_(0,"div",13),Ce(1,"img",14),_(2,"div",15)(3,"div",16),L(4),v(),_(5,"div",17),L(6),v()()()),2&i){const e=Z(2);E(1),S("src",null==e.media.current?null:e.media.current.artwork,on),E(3),yt(null==e.media.current?null:e.media.current.title),E(2),yt(null==e.media.current?null:e.media.current.artist)}}function __e(i,t){1&i&&Ce(0,"iframe",19),2&i&&S("src",Z(3).media.youtubeUrl,Jm)}function b_e(i,t){if(1&i&&(_(0,"div",13),ee(1,__e,1,1,"iframe",18),v()),2&i){const e=Z(2);E(1),S("ngIf",e.media.youtubeUrl)}}function y_e(i,t){if(1&i&&(_(0,"div",13)(1,"video",20),Ce(2,"source",21),v()()),2&i){const e=Z(2);E(2),S("src",e.media.videoUrl,on)}}function v_e(i,t){if(1&i){const e=Je();_(0,"button",30),fe("click",function(){return Te(e),Ae(Z(3).media.rate())}),_(1,"mat-icon"),L(2,"speed"),v()()}}function w_e(i,t){if(1&i){const e=Je();_(0,"button",31),fe("click",function(){return Te(e),Ae(Z(3).media.rewind(10))}),_(1,"mat-icon"),L(2,"replay_10"),v()()}}function F_e(i,t){if(1&i){const e=Je();_(0,"button",32),fe("click",function(){return Te(e),Ae(Z(3).media.resume())}),_(1,"mat-icon"),L(2,"play_arrow"),v()()}}function x_e(i,t){if(1&i){const e=Je();_(0,"button",33),fe("click",function(){return Te(e),Ae(Z(3).media.pause())}),_(1,"mat-icon"),L(2,"pause"),v()()}}function C_e(i,t){if(1&i){const e=Je();_(0,"button",34),fe("click",function(){return Te(e),Ae(Z(3).media.forward(10))}),_(1,"mat-icon"),L(2,"forward_10"),v()()}}function k_e(i,t){if(1&i){const e=Je();_(0,"div",35)(1,"div",36),L(2),gi(3,"time"),v(),_(4,"div",37)(5,"mat-slider",38)(6,"input",39),fe("ngModelChange",function(r){return Te(e),Ae(Z(3).media.time=r)}),v()()(),_(7,"div",40),L(8),gi(9,"time"),v()()}if(2&i){const e=Z(3);E(2),yt(yi(3,7,e.media.time)),E(3),S("displayWith",e.formatLabel)("max",e.media.duration)("min",0)("step",1),E(1),S("ngModel",e.media.time),E(2),yt(yi(9,9,e.media.duration))}}function D_e(i,t){if(1&i){const e=Je();_(0,"div",3)(1,"div",4),ee(2,v_e,3,0,"button",22),ee(3,w_e,3,0,"button",23),_(4,"button",24),fe("click",function(){return Te(e),Ae(Z(2).media.previous())}),_(5,"mat-icon"),L(6,"skip_previous"),v()(),ee(7,F_e,3,0,"button",25),ee(8,x_e,3,0,"button",26),_(9,"button",27),fe("click",function(){return Te(e),Ae(Z(2).media.next())}),_(10,"mat-icon"),L(11,"skip_next"),v()(),ee(12,C_e,3,0,"button",28),v(),ee(13,k_e,10,11,"div",29),v()}if(2&i){const e=Z(2);E(2),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("disabled",!e.media.canPrevious),E(3),S("ngIf",e.media.paused),E(1),S("ngIf",!e.media.paused),E(1),S("disabled",!e.media.canNext),E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf",!e.media.videoMode&&!e.miniplayer)}}function M_e(i,t){if(1&i){const e=Je();_(0,"button",46),fe("click",function(){return Te(e),Ae(Z(3).expanded=!0)}),_(1,"mat-icon"),L(2,"expand_less"),v()()}}function E_e(i,t){if(1&i){const e=Je();_(0,"button",46),fe("click",function(){return Te(e),Ae(Z(3).expanded=!1)}),_(1,"mat-icon"),L(2,"expand_more"),v()()}}function S_e(i,t){if(1&i){const e=Je();_(0,"div",41)(1,"div",42),ee(2,M_e,3,0,"button",43),ee(3,E_e,3,0,"button",43),_(4,"button",44)(5,"mat-icon"),L(6,"queue_music"),v()(),_(7,"button",45),fe("click",function(){return Te(e),Ae(Z(2).media.exit())}),_(8,"mat-icon"),L(9,"close"),v()()()()}if(2&i){const e=Z(2);E(2),S("ngIf",!e.expanded),E(1),S("ngIf",e.expanded)}}function T_e(i,t){if(1&i){const e=Je();_(0,"button",51),fe("click",function(){return Te(e),Ae(Z(3).media.mute())}),_(1,"mat-icon"),L(2,"volume_off"),v()()}}function A_e(i,t){if(1&i){const e=Je();_(0,"button",52),fe("click",function(){return Te(e),Ae(Z(3).media.mute())}),_(1,"mat-icon"),L(2,"volume_up"),v()()}}function I_e(i,t){1&i&&(_(0,"button",44)(1,"mat-icon"),L(2,"queue_music"),v()())}function L_e(i,t){if(1&i){const e=Je();_(0,"button",45),fe("click",function(){return Te(e),Ae(Z(3).media.exit())}),_(1,"mat-icon"),L(2,"close"),v()()}}function N_e(i,t){if(1&i&&(_(0,"div",41)(1,"div",42),ee(2,T_e,3,0,"button",47),ee(3,A_e,3,0,"button",48),ee(4,I_e,3,0,"button",49),ee(5,L_e,3,0,"button",50),v()()),2&i){const e=Z(2);E(2),S("ngIf",e.media.muted),E(1),S("ngIf",!e.media.muted),E(1),S("ngIf",!e.miniplayer),E(1),S("ngIf",!e.miniplayer)}}const O_e=function(i,t){return{"media-player-large":i,"media-player-maximized":t}};function R_e(i,t){if(1&i&&(_(0,"div",9),ee(1,g_e,7,3,"div",10),ee(2,b_e,2,1,"div",10),ee(3,y_e,3,1,"div",10),ee(4,D_e,14,8,"div",11),ee(5,S_e,10,2,"div",12),ee(6,N_e,6,4,"div",12),v()),2&i){const e=Z();S("ngClass",Ws(7,O_e,e.expanded,e.maximized)),E(1),S("ngIf",!e.media.videoMode&&!e.miniplayer),E(1),S("ngIf","YouTube"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),E(1),S("ngIf","Video"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),E(1),S("ngIf",!e.maximized),E(1),S("ngIf",!e.maximized&&e.media.videoMode),E(1),S("ngIf",!e.maximized&&!e.media.videoMode)}}class u1{constructor(t,e,n,r,a){this.options=t,this.media=e,this.profileService=n,this.utilities=r,this.dialog=a,this.miniplayer=!1,this.expanded=!1,this.maximized=!1}ngOnInit(){console.log("miniplayer:",this.miniplayer)}formatLabel(t){return uh.time(t)}minimize(){window.resizeTo(200,5)}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Ee(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}}u1.\u0275fac=function(t){return new(t||u1)(k(Tr),k(Jd),k(Tn),k(Qi),k(Fa))},u1.\u0275cmp=qe({type:u1,selectors:[["app-media-player"]],inputs:{miniplayer:"miniplayer"},decls:2,vars:2,consts:[["class","media-player media-player-small",4,"ngIf"],["class","media-player",3,"ngClass",4,"ngIf"],[1,"media-player","media-player-small"],[1,"media-controls"],[1,"media-controls-container"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"],[1,"draggable"],["mat-icon-button","",3,"click"],[1,"media-player",3,"ngClass"],["class","media-info",4,"ngIf"],["class","media-controls",4,"ngIf"],["class","media-audio",4,"ngIf"],[1,"media-info"],[1,"music-album",3,"src"],[1,"media-info-text","hide-small"],[1,"music-title"],[1,"music-artist"],["id","ytplayer","class","youtube-video","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",3,"src",4,"ngIf"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",1,"youtube-video",3,"src"],["controls","","autoplay","true","preload","none",1,"event-video"],["type","video/mp4",3,"src"],["matTooltip","Change speed","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Skip back 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Previous","mat-icon-button","",3,"disabled","click"],["matTooltip","Play","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Pause","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Next","mat-icon-button","",3,"disabled","click"],["matTooltip","Skip forward 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["class","media-timeline",4,"ngIf"],["matTooltip","Change speed","mat-icon-button","",3,"click"],["matTooltip","Skip back 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Play","mat-icon-button","",3,"click"],["matTooltip","Pause","mat-icon-button","",3,"click"],["matTooltip","Skip forward 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],[1,"media-timeline"],[1,"media-timeline-1","hide-small"],[1,"media-timeline-2"],["discrete","",1,"media-slider",3,"displayWith","max","min","step"],["matSliderThumb","",3,"ngModel","ngModelChange"],[1,"media-timeline-3","hide-small"],[1,"media-audio"],[1,"media-audio-container"],["class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","mat-icon-button","",1,"hide-small"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click"],["mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Mute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Unmute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","class","hide-small","mat-icon-button","",4,"ngIf"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Mute","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Unmute","mat-icon-button","",1,"hide-small",3,"click"]],template:function(t,e){1&t&&(ee(0,p_e,17,9,"div",0),ee(1,R_e,7,10,"div",1)),2&t&&(S("ngIf",e.miniplayer),E(1),S("ngIf",!e.miniplayer))},dependencies:[qa,ri,wa,bo,Zn,ps,ka,ha,Da,i_e,EM,uh],styles:[".media-player[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#212121;height:96px}.media-player-small[_ngcontent-%COMP%]{height:env(titlebar-area-height,33px)!important}.media-controls-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto;-webkit-app-region:no-drag}.media-audio-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto}.media-player-small[_ngcontent-%COMP%] .media-controls-container[_ngcontent-%COMP%]{align-self:flex-start}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;text-align:left}.media-info[_ngcontent-%COMP%]{flex:1 1 33%;display:flex;flex-direction:row}.media-controls[_ngcontent-%COMP%]{flex:2 2 auto;width:360px;text-align:center;justify-content:center;display:flex;flex-direction:column}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{width:auto}.media-audio[_ngcontent-%COMP%]{padding-right:1.4em;flex:1 1 33%;display:flex;text-align:right}.music-album[_ngcontent-%COMP%]{height:100%}.music-title[_ngcontent-%COMP%]{font-size:.8em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;font-size:.65em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.media-info-text[_ngcontent-%COMP%]{padding:.8em;align-self:center}.media-timeline[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;font-size:.8em;justify-content:center}.media-timeline-1[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.media-timeline-2[_ngcontent-%COMP%]{flex:2 2 auto;align-self:center}.media-timeline-3[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.youtube-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.media-player-large[_ngcontent-%COMP%]{height:256px}.media-player-maximized[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;z-index:1000;height:100%}.floating-maximize[_ngcontent-%COMP%]{position:absolute;right:10px;top:80px;z-index:1001}.media-player-logo[_ngcontent-%COMP%]{margin-left:6px}@media only screen and (min-height: 201px){.media-player-logo[_ngcontent-%COMP%]{display:none}}"]});const P_e=["drawer"],B_e=["draweraccount"],H_e=["searchInput"],CP=function(i){return{rightToLeft:i}};function V_e(i,t){if(1&i&&(_(0,"div",2),Ce(1,"router-outlet"),v()),2&i){const e=Z();S("ngClass",wn(2,CP,"rtl"===e.appState.documentDirection))("dir",e.appState.documentDirection)}}function Y_e(i,t){1&i&&Ce(0,"app-media-player",44),2&i&&S("miniplayer",!0)}function j_e(i,t){if(1&i){const e=Je();_(0,"button",45),fe("click",function(){return Te(e),Z(),Ae(Li(20).toggle())}),_(1,"mat-icon"),L(2,"menu"),v()()}}function z_e(i,t){1&i&&Ce(0,"img",46)}function U_e(i,t){if(1&i){const e=Je();_(0,"button",47),fe("click",function(){return Te(e),Ae(Z(2).goBack())}),_(1,"mat-icon",48),L(2,"arrow_back"),v()()}}function W_e(i,t){if(1&i&&(_(0,"div",49),L(1),gi(2,"async"),v()),2&i){const e=Z(2);E(1),yt(yi(2,1,e.appState.title$))}}function G_e(i,t){if(1&i){const e=Je();_(0,"button",51),fe("click",function(){return Ae(Te(e).$implicit.click())}),_(1,"mat-icon"),L(2),v()()}if(2&i){const e=t.$implicit;S("matTooltip",e.tooltip),E(2),yt(e.icon)}}function q_e(i,t){if(1&i&&(_(0,"span"),ee(1,G_e,3,2,"button",50),v()),2&i){const e=Z(2);E(1),S("ngForOf",e.appState.actions)}}function $_e(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z().$implicit;E(1),yt(e.display_name)}}function K_e(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z().$implicit;E(1),yt(e.name)}}function Z_e(i,t){if(1&i&&(_(0,"span"),L(1),v()),2&i){const e=Z().$implicit;E(1),qt("(",e.nip05,")")}}function Q_e(i,t){if(1&i){const e=Je();_(0,"mat-option",58),fe("onSelectionChange",function(){const a=Te(e).$implicit;return Ae(Z(3).searchService.open(a))}),_(1,"span"),Ce(2,"img",59),v(),ee(3,$_e,2,1,"span",12),ee(4,K_e,2,1,"span",12),ee(5,Z_e,2,1,"span",12),v()}if(2&i){const e=t.$implicit;S("value",e.id),E(2),S("src",e.picture,on),E(1),S("ngIf",e.display_name),E(1),S("ngIf",!e.display_name),E(1),S("ngIf",e.nip05)}}function X_e(i,t){if(1&i&&(_(0,"form",52)(1,"mat-form-field",53)(2,"mat-label"),L(3,"Search"),v(),Ce(4,"input",54,55),_(6,"mat-autocomplete",null,56),ee(8,Q_e,6,5,"mat-option",57),gi(9,"async"),v()()()),2&i){const e=Li(7),n=Z(2);E(4),S("formControl",n.searchControl)("matAutocomplete",e),E(4),S("ngForOf",yi(9,3,n.searchService.results$))}}function J_e(i,t){if(1&i){const e=Je();_(0,"button",47),fe("click",function(){return Te(e),Ae(Z(2).searchVisibility(!1))}),_(1,"mat-icon"),L(2,"close"),v()()}}function e0e(i,t){if(1&i){const e=Je();_(0,"button",47),fe("click",function(){return Te(e),Ae(Z(2).searchVisibility(!0))}),_(1,"mat-icon"),L(2,"search"),v()()}}function t0e(i,t){1&i&&Ce(0,"button",60),2&i&&S("mtBasicSpinner",!0)}function i0e(i,t){if(1&i){const e=Je();_(0,"img",61),fe("click",function(){return Te(e),Z(),Ae(Li(61).toggle())}),v()}if(2&i){const e=Z(2);S("src",null==e.profile?null:e.profile.picture,on)}}function n0e(i,t){1&i&&(_(0,"span"),L(1,"Home"),v())}function r0e(i,t){1&i&&(_(0,"span"),L(1,"Feed"),v())}function a0e(i,t){1&i&&(_(0,"span"),L(1,"Notifications"),v())}function o0e(i,t){1&i&&(_(0,"span"),L(1,"People"),v())}function s0e(i,t){1&i&&(_(0,"span"),L(1,"Circles"),v())}function l0e(i,t){1&i&&(_(0,"span"),L(1,"Notes"),v())}function c0e(i,t){1&i&&(_(0,"span"),L(1,"Relays"),v())}function d0e(i,t){1&i&&(_(0,"mat-icon"),L(1,"chevron_left"),v())}function u0e(i,t){1&i&&(_(0,"mat-icon"),L(1,"chevron_right"),v())}function h0e(i,t){if(1&i&&Ce(0,"img",62),2&i){const e=Z(2);S("src",null==e.profile?null:e.profile.banner,on)}}function m0e(i,t){1&i&&Ce(0,"img",62),2&i&&S("src",Z(2).bgimagePath,on)}function f0e(i,t){1&i&&(_(0,"span"),L(1,"@"),v())}function p0e(i,t){1&i&&Ce(0,"app-media-player",63)}const g0e=function(i,t){return{"sidenav-labels":i,"sidenav-small":t}},_0e=function(){return["/"]},nl=function(){return{exact:!0}},b0e=function(){return["/feed"]},y0e=function(){return["/notifications"]},v0e=function(){return["/people"]},w0e=function(){return["/circles"]},F0e=function(){return["/notes"]},x0e=function(){return["/relays"]},C0e=function(i){return{"new-post-small":i}},kP=function(){return["/profile"]},k0e=function(i){return["/following",i]},D0e=function(i){return["/p",i]},M0e=function(i){return["/badges",i]},E0e=function(){return["/settings"]},S0e=function(){return["/about"]},T0e=function(){return["/logout"]};function A0e(i,t){if(1&i){const e=Je();_(0,"div",3)(1,"div",4),Ce(2,"img",5),ee(3,Y_e,1,1,"app-media-player",6),v(),_(4,"mat-toolbar",7),ee(5,j_e,3,0,"button",8),gi(6,"async"),Ce(7,"span"),ee(8,z_e,1,0,"img",9),gi(9,"async"),ee(10,U_e,3,0,"button",10),ee(11,W_e,3,3,"div",11),ee(12,q_e,2,1,"span",12),ee(13,X_e,10,5,"form",13),ee(14,J_e,3,0,"button",10),ee(15,e0e,3,0,"button",10),ee(16,t0e,1,1,"button",14),ee(17,i0e,1,1,"img",15),v(),_(18,"mat-sidenav-container",16)(19,"mat-sidenav",17,18),gi(21,"async"),gi(22,"async"),gi(23,"async"),_(24,"mat-nav-list")(25,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(26,"mat-icon"),L(27,"home"),v(),ee(28,n0e,2,0,"span",12),v(),_(29,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(30,"mat-icon"),L(31,"notes"),v(),ee(32,r0e,2,0,"span",12),v(),_(33,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(34,"mat-icon",20),gi(35,"async"),gi(36,"async"),L(37,"notifications"),v(),ee(38,a0e,2,0,"span",12),v(),_(39,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(40,"mat-icon"),L(41,"people"),v(),ee(42,o0e,2,0,"span",12),v(),_(43,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(44,"mat-icon"),L(45,"animation"),v(),ee(46,s0e,2,0,"span",12),v(),_(47,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(48,"mat-icon"),L(49,"bookmarks"),v(),ee(50,l0e,2,0,"span",12),v(),_(51,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleMenu())}),_(52,"mat-icon"),L(53,"dns"),v(),ee(54,c0e,2,0,"span",12),v(),_(55,"a",21),fe("click",function(){return Te(e),Ae(Z().toggleMenuSize())}),ee(56,d0e,2,0,"mat-icon",12),ee(57,u0e,2,0,"mat-icon",12),v()(),_(58,"div",22)(59,"img",23),fe("click",function(){return Te(e),Ae(Z().navigationService.createNote())}),v()()(),_(60,"mat-sidenav",24,25)(62,"div",26)(63,"button",27),fe("click",function(){return Te(e),Ae(Li(61).toggle())}),_(64,"mat-icon"),L(65,"close"),v()(),_(66,"button",28),fe("click",function(){Te(e);const r=Z();return Ae(r.theme.darkMode=!r.theme.darkMode)}),_(67,"mat-icon",29),L(68),v()(),_(69,"header")(70,"div",30),fe("click",function(){return Te(e),Ae(Z().openProfile())}),ee(71,h0e,1,1,"img",31),ee(72,m0e,1,1,"img",31),_(73,"div",32)(74,"h3"),ee(75,f0e,2,0,"span",12),L(76),v(),_(77,"p"),L(78),v()()(),_(79,"a",33),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(80,"div",34),Ce(81,"img",35),v()()(),_(82,"div",36)(83,"div",37)(84,"ul")(85,"li"),L(86,"0 "),_(87,"span"),L(88,"Followers"),v()(),_(89,"li")(90,"a",38),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),L(91),_(92,"span"),L(93,"Following"),v()()()()()()(),Ce(94,"mat-divider"),_(95,"mat-nav-list")(96,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(97,"mat-icon"),L(98,"person"),v(),_(99,"span"),L(100,"View profile"),v()(),_(101,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(102,"mat-icon"),L(103,"edit"),v(),_(104,"span"),L(105,"Edit profile"),v()(),_(106,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(107,"mat-icon"),L(108,"badge"),v(),_(109,"span"),L(110,"Badges"),v()(),_(111,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(112,"mat-icon"),L(113,"settings"),v(),_(114,"span"),L(115,"Settings"),v()(),_(116,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(117,"mat-icon"),L(118,"help_outline"),v(),_(119,"span"),L(120,"About"),v()(),_(121,"a",19),fe("click",function(){return Te(e),Ae(Z().toggleProfileMenu())}),_(122,"mat-icon"),L(123,"logout"),v(),_(124,"span"),L(125,"Logout"),v()()(),Ce(126,"mat-menu",39,40),v(),_(128,"mat-sidenav-content")(129,"div",41)(130,"div",42),Ce(131,"router-outlet"),v(),ee(132,p0e,1,0,"app-media-player",43),v()()()()}if(2&i){const e=Z();S("ngClass",wn(82,CP,"rtl"===e.appState.documentDirection))("dir",e.appState.documentDirection),E(3),S("ngIf",e.options.values.showMediaPlayer),E(2),S("ngIf",!e.appState.showSearch&&!0===yi(6,68,e.isHandset$)),E(3),S("ngIf",e.appState.showLogo&&!e.appState.showSearch&&!1===yi(9,70,e.isHandset$)),E(2),S("ngIf",!e.appState.showSearch&&e.appState.showBackButton),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",e.appState.showSearch),E(1),S("ngIf",e.appState.showSearch),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",!e.appState.connected),E(1),S("ngIf",!e.appState.showSearch),E(2),S("ngClass",Ws(84,g0e,e.displayLabels,!e.displayLabels))("mode",yi(22,74,e.isHandset$)?"over":"side")("opened",!1===yi(23,76,e.isHandset$)),Lt("role",yi(21,72,e.isHandset$)?"dialog":"navigation"),E(6),S("routerLink",zr(87,_0e))("routerLinkActiveOptions",zr(88,nl)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(89,b0e))("routerLinkActiveOptions",zr(90,nl)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(91,y0e))("routerLinkActiveOptions",zr(92,nl)),E(1),S("matBadgeHidden",0==yi(35,78,e.ui.unreadNotifications$))("matBadge",yi(36,80,e.ui.unreadNotifications$)),E(4),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(93,v0e))("routerLinkActiveOptions",zr(94,nl)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(95,w0e))("routerLinkActiveOptions",zr(96,nl)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(97,F0e))("routerLinkActiveOptions",zr(98,nl)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",zr(99,x0e))("routerLinkActiveOptions",zr(100,nl)),E(3),S("ngIf",e.displayLabels),E(2),S("ngIf",e.displayLabels),E(1),S("ngIf",!e.displayLabels),E(1),S("ngClass",wn(101,C0e,!e.displayLabels)),E(2),S("mode","over"),Lt("role","navigation"),E(8),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(3),S("ngIf",null==e.profile?null:e.profile.banner),E(1),S("ngIf",!(null!=e.profile&&e.profile.banner)),E(3),S("ngIf",null==e.profile?null:e.profile.name),E(1),yt(null==e.profile?null:e.profile.name),E(2),yt(null==e.profile?null:e.profile.about),E(1),S("routerLink",zr(103,kP)),E(2),S("src",null==e.profile?null:e.profile.picture,on),E(9),S("routerLink",wn(104,k0e,e.appState.getPublicKey())),E(1),qt(" ",e.profileService.following.length," "),E(5),S("routerLink",wn(106,D0e,e.appState.getPublicKey()))("routerLinkActiveOptions",zr(108,nl)),E(5),S("routerLink",zr(109,kP))("routerLinkActiveOptions",zr(110,nl)),E(5),S("routerLink",wn(111,M0e,e.appState.getPublicKey()))("routerLinkActiveOptions",zr(113,nl)),E(5),S("routerLink",zr(114,E0e))("routerLinkActiveOptions",zr(115,nl)),E(5),S("routerLink",zr(116,S0e))("routerLinkActiveOptions",zr(117,nl)),E(5),S("routerLink",zr(118,T0e))("routerLinkActiveOptions",zr(119,nl)),E(11),S("ngIf",e.options.values.showMediaPlayer)}}class h1{constructor(t,e,n,r,a,o,c,u,m,x,P,K,ne,pe,ye,Ie,Le,it,Be,ut,It,$t,$n){var xn=this;this.cd=t,this.options=e,this.db=n,this.appState=r,this.authService=a,this.router=o,this.appUpdateService=c,this.appUpdateCheckService=u,this.dialog=m,this.location=x,this.labelService=P,this.breakpointObserver=K,this.relayService=ne,this.dataService=pe,this.circleService=ye,this.profileService=Ie,this.badgeService=Le,this.navigationService=it,this.translate=Be,this.ui=ut,this.bottomSheet=It,this.searchService=$t,this.theme=$n,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new $u,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe(_t(Br=>Br.matches),Kh()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",Br=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const Fr=globalThis.location.search;if(Fr){const Br=Object.fromEntries(new URLSearchParams(Fr));if(this.appState.params=Br,this.appState.params.nostr){const Mr=(new yge).decode(this.appState.params.nostr);Mr&&Mr.scheme&&Mr.address&&this.router.navigate(["nevent"===Mr.scheme?"/e":"/p",Mr.address])}}this.authService.authInfo$.subscribe(function(){var Br=Ee(function*(ol){xn.authenticated=ol.authenticated(),xn.authenticated&&(yield xn.initialize())});return function(ol){return Br.apply(this,arguments)}}()),this.profileService.profile$.subscribe(Br=>{this.profile=Br})}toggleMenuSize(){this.displayLabels=!this.displayLabels,this.cd.detectChanges(),setTimeout(()=>{this.options.values.hideSideLabels=!this.displayLabels,this.options.save()},250)}searchInputChanged(){this.appState.searchText&&this.searchService.search(this.appState.searchText)}searchVisibility(t){this.appState.showSearch=t,this.appState.searchText="",t&&setTimeout(()=>{this.searchInput.nativeElement.focus()})}goBack(){this.appState.backUrl?(this.router.navigateByUrl(this.appState.backUrl),this.appState.backUrl=void 0):this.appState.navigateBack()}toggleMenu(){this.breakpointObserver.isMatched("(max-width: 599px)")&&this.drawer.toggle()}openProfile(){this.router.navigateByUrl("/profile"),this.toggleProfileMenu()}toggleProfileMenu(){this.draweraccount.toggle()}initialize(){var t=this;return Ee(function*(){console.log("INITIALIZE IS RUNNING...."),t.translate.addLangs(["en","no"]),t.translate.setDefaultLang("en"),t.options.values.language&&(t.appState.setLanguage(t.options.values.language),["ar","fa","he"].includes(t.options.values.language)?(t.appState.documentDirection="rtl",t.options.values.dir="rtl"):(t.appState.documentDirection="ltr",t.options.values.dir="ltr")),yield t.db.initialize("blockcore-"+t.appState.getPublicKey()),yield t.circleService.initialize(),yield t.profileService.initialize(t.appState.getPublicKey()),yield t.relayService.initialize(),yield t.badgeService.initialize(),yield t.dataService.initialize(),yield t.labelService.initialize(),t.appState.connected$.subscribe(()=>{console.log("Connected to relay.. this can sometimes be triggered multiple times."),t.profileService.newProfileEvent&&setTimeout(Ee(function*(){const e=JSON.parse(t.profileService.newProfileEvent.content);e.id=t.profileService.newProfileEvent?.id,e.pubkey=t.profileService.newProfileEvent?.pubkey,yield t.profileService.updateProfile(e.pubkey,e),yield t.dataService.publishEvent(t.profileService.newProfileEvent),t.profileService.newProfileEvent=void 0}),1e3)}),t.appState.setInitialized()})()}ngOnInit(){var t=this;return Ee(function*(){t.theme.init(),t.sharedWorker=new SharedWorker("/assets/shared.worker.js"),t.sharedWorker.port.onmessage=e=>{console.log(e.data)},t.sharedWorker.port.start(),t.searchControl.valueChanges.subscribe(function(){var e=Ee(function*(n){t.appState.searchText=n,n&&(n.length<=1||(yield t.searchService.search(n)))});return function(n){return e.apply(this,arguments)}}())})()}}function DP(i){return new tt(3e3,!1)}function h1e(){return typeof window<"u"&&typeof window.document<"u"}function SM(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function hh(i){switch(i.length){case 0:return new Jg;case 1:return i[0];default:return new D6(i)}}function MP(i,t,e,n,r=new Map,a=new Map){const o=[],c=[];let u=-1,m=null;if(n.forEach(x=>{const P=x.get("offset"),K=P==u,ne=K&&m||new Map;x.forEach((pe,ye)=>{let Ie=ye,Le=pe;if("offset"!==ye)switch(Ie=t.normalizePropertyName(Ie,o),Le){case PC:Le=r.get(ye);break;case Nd:Le=a.get(ye);break;default:Le=t.normalizeStyleValue(ye,Ie,Le,o)}ne.set(Ie,Le)}),K||c.push(ne),m=ne,u=P}),o.length)throw function e1e(i){return new tt(3502,!1)}();return c}function TM(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&AM(e,"start",i)));break;case"done":i.onDone(()=>n(e&&AM(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&AM(e,"destroy",i)))}}function AM(i,t,e){const a=IM(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,e.totalTime??i.totalTime,!!e.disabled),o=i._data;return null!=o&&(a._data=o),a}function IM(i,t,e,n,r="",a=0,o){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:r,totalTime:a,disabled:!!o}}function rl(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n}function EP(i){const t=i.indexOf(":");return[i.substring(1,t),i.slice(t+1)]}h1.\u0275fac=function(t){return new(t||h1)(k(oi),k(Tr),k(ua),k(Xi),k(Na),k(qn),k(km),k(Dm),k(Fa),k(Ac),k(Is),k(Td),k(Mo),k(Ba),k(Bo),k(Tn),k(ac),k(yo),k(Xf),k(Zr),k(Z$),k(Yp),k(Ml))},h1.\u0275cmp=qe({type:h1,selectors:[["app-root"]],viewQuery:function(t,e){if(1&t&&(At(P_e,5),At(B_e,5),At(H_e,5)),2&t){let n;Qe(n=Xe())&&(e.drawer=n.first),Qe(n=Xe())&&(e.draweraccount=n.first),Qe(n=Xe())&&(e.searchInput=n.first)}},decls:2,vars:2,consts:[[3,"ngClass","dir",4,"ngIf"],["class","app-container",3,"ngClass","dir",4,"ngIf"],[3,"ngClass","dir"],[1,"app-container",3,"ngClass","dir"],["id","title-bar",1,"title-bar"],["height","24","width","24","src","assets/icons/icon-128x128.webp",1,"logo-icon-title-bar"],[3,"miniplayer",4,"ngIf"],[1,"app-toolbar"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],["class","logo-icon","height","38","width","38","src","assets/icons/icon-128x128.webp",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","top-spacer",4,"ngIf"],[4,"ngIf"],["class","search-box",4,"ngIf"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar","class","topavatar",3,"src","click",4,"ngIf"],["autosize","true"],[1,"sidenav","print-hidden",3,"ngClass","mode","opened"],["drawer",""],["mat-menu-item","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions","click"],[3,"matBadgeHidden","matBadge"],["mat-menu-item","",3,"click"],[1,"new-post",3,"ngClass"],["tabindex","10","width","92","height","92","src","/assets/post.svg",1,"new-post-button",3,"click"],["fixedInViewport","","position","end",1,"sidenav-right","print-hidden",3,"mode"],["draweraccount",""],[1,"container"],["mat-icon-button","",1,"close-sidenav-icon",3,"click"],["mat-icon-button","",1,"mat-icon-button","theme-sidenav-icon",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"bio",3,"click"],["loading","lazy","alt","background","class","bg",3,"src",4,"ngIf"],[1,"desc"],[3,"routerLink","click"],[1,"avatarcontainer"],["width","96","height","96","onerror","this.src='/assets/profile.png'","alt","avatar",1,"avatar",3,"src"],[1,"content"],[1,"data"],[1,"opposite-link",3,"routerLink","click"],["hasBackdrop","true","backdropClass","menu-mode-backdrop","overlapTrigger","false"],["accounts","matMenu"],[1,"app-content"],[1,"app-outlet"],["class","app-mediaplayer",4,"ngIf"],[3,"miniplayer"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["height","38","width","38","src","assets/icons/icon-128x128.webp",1,"logo-icon"],["mat-icon-button","",3,"click"],[1,"arrow-back"],[1,"top-spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-icon-button","",3,"matTooltip","click"],[1,"search-box"],[1,"search-box-input"],["matInput","","aria-label","Search",3,"formControl","matAutocomplete"],["searchInput",""],["auto","matAutocomplete"],["class","search-result-option",3,"value","onSelectionChange",4,"ngFor","ngForOf"],[1,"search-result-option",3,"value","onSelectionChange"],["height","32",1,"search-result-image",3,"src"],["mat-icon-button","",3,"mtBasicSpinner"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar",1,"topavatar",3,"src","click"],["loading","lazy","alt","background",1,"bg",3,"src"],[1,"app-mediaplayer"]],template:function(t,e){1&t&&(ee(0,V_e,2,4,"div",0),ee(1,A0e,133,120,"div",1)),2&t&&(S("ngIf",!e.authenticated),E(1),S("ngIf",e.authenticated))},dependencies:[qa,yn,ri,ek,wa,S5,Gq,Do,Ra,eo,bo,Du,PR,vM,wM,yM,Zn,fM,E0,_m,ed,VR,ps,Hge,vP,Ku,ka,ha,qu,$c,SD,NR,u1,Ts],styles:[".logo-icon[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin-right:.4em}.logo-icon-title-bar[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin:4px;display:none;flex:0 0 24px}@media screen and (max-height: 200px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}.logo-icon[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 599px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}}.sidenav-small[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0!important}.sidenav-small[_ngcontent-%COMP%] .logo-icon[_ngcontent-%COMP%]{width:56px!important}.sidenav-labels[_ngcontent-%COMP%]{width:200px}.top-spacer[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:.4em;overflow:hidden;text-overflow:ellipsis}.mdc-list-item.active[_ngcontent-%COMP%]{background:rgba(156,39,176,.15)}header[_ngcontent-%COMP%]{display:block;overflow:hidden;position:relative;padding-bottom:2em}.container[_ngcontent-%COMP%]{width:320px;padding-bottom:1em}.bg[_ngcontent-%COMP%]{border-bottom:3px solid #9c27b0;height:220px}.bio[_ngcontent-%COMP%]:hover > .desc[_ngcontent-%COMP%]{cursor:pointer;opacity:1}.avatarcontainer[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;left:0;margin:auto;width:102px;display:block}.avatarcontainer[_ngcontent-%COMP%]:hover > .hover[_ngcontent-%COMP%]{opacity:1}.avatar[_ngcontent-%COMP%]{width:100%;border:3px solid #9c27b0;border-radius:50%;overflow:hidden;position:relative;width:96px;height:96px}.avatar[_ngcontent-%COMP%]:hover{opacity:1;cursor:pointer}.topavatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;position:relative;width:38px;height:38px;margin-left:.2em}.topavatar[_ngcontent-%COMP%]:hover{opacity:.6;cursor:pointer}.data[_ngcontent-%COMP%]{margin-top:.6em;color:#81878b}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:50%;text-align:center;display:inline-block}.data[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0!important}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:none}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-transform:uppercase;font-size:.5em;margin-top:.6em;font-weight:700}.desc[_ngcontent-%COMP%]{position:absolute;top:0;background-color:#0009;width:100%;height:100%;max-height:220px;color:#fff;text-align:center;opacity:.8;transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}.desc[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:.5em}.desc[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.close-sidenav-icon[_ngcontent-%COMP%]{float:left;position:fixed;z-index:100000;margin:5px}.theme-sidenav-icon[_ngcontent-%COMP%]{float:right;position:fixed;z-index:100000;margin:5px;right:5px}.new-post[_ngcontent-%COMP%]{text-align:center}.new-post-button[_ngcontent-%COMP%]{width:92px;height:92px;position:fixed;bottom:2em;left:2.9em;cursor:pointer;transition:opacity .25s ease}.new-post-button[_ngcontent-%COMP%]:hover{opacity:.6}.search-box[_ngcontent-%COMP%]{padding-top:1em;top:20px;flex:1 1 auto;width:100%}.search-box-input[_ngcontent-%COMP%]{width:100%}.search-result-option[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row!important;align-items:center!important}.search-result-image[_ngcontent-%COMP%]{margin-right:.2em;border-radius:50%}.search-result-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.4em}.mat-drawer-content[_ngcontent-%COMP%]{overflow:hidden}.app-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;box-sizing:border-box;overflow:hidden}.app-outlet[_ngcontent-%COMP%]{flex:2 2 auto;box-sizing:border-box;overscroll-behavior-y:contain;overflow-x:hidden;overflow-y:overlay!important}.app-mediaplayer[_ngcontent-%COMP%]{flex-basis:96px;flex-grow:0;flex-shrink:1;box-sizing:border-box}"]});let LM=(i,t)=>!1,SP=(i,t,e)=>[],TP=null;function NM(i){const t=i.parentNode||i.host;return t===TP?null:t}(SM()||typeof Element<"u")&&(h1e()?(TP=(()=>document.documentElement)(),LM=(i,t)=>{for(;t;){if(t===i)return!0;t=NM(t)}return!1}):LM=(i,t)=>i.contains(t),SP=(i,t,e)=>{if(e)return Array.from(i.querySelectorAll(t));const n=i.querySelector(t);return n?[n]:[]});let Mm=null,AP=!1;const IP=LM,LP=SP;let NP=(()=>{class i{validateStyleProperty(e){return function f1e(i){Mm||(Mm=function p1e(){return typeof document<"u"?document.body:null}()||{},AP=!!Mm.style&&"WebkitAppearance"in Mm.style);let t=!0;return Mm.style&&!function m1e(i){return"ebkit"==i.substring(1,6)}(i)&&(t=i in Mm.style,!t&&AP&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Mm.style)),t}(e)}matchesElement(e,n){return!1}containsElement(e,n){return IP(e,n)}getParentElement(e){return NM(e)}query(e,n,r){return LP(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,a,o,c=[],u){return new Jg(r,a)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),OM=(()=>{class i{}return i.NOOP=new NP,i})();const g1e=1e3,RM="ng-enter",vw="ng-leave",ww="ng-trigger",Fw=".ng-trigger",RP="ng-animating",PM=".ng-animating";function su(i){if("number"==typeof i)return i;const t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:BM(parseFloat(t[1]),t[2])}function BM(i,t){return"s"===t?i*g1e:i}function xw(i,t,e){return i.hasOwnProperty("duration")?i:function b1e(i,t,e){let r,a=0,o="";if("string"==typeof i){const c=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(DP()),{duration:0,delay:0,easing:""};r=BM(parseFloat(c[1]),c[2]);const u=c[3];null!=u&&(a=BM(parseFloat(u),c[4]));const m=c[5];m&&(o=m)}else r=i;if(!e){let c=!1,u=t.length;r<0&&(t.push(function I0e(){return new tt(3100,!1)}()),c=!0),a<0&&(t.push(function L0e(){return new tt(3101,!1)}()),c=!0),c&&t.splice(u,0,DP())}return{duration:r,delay:a,easing:o}}(i,t,e)}function m1(i,t={}){return Object.keys(i).forEach(e=>{t[e]=i[e]}),t}function PP(i){const t=new Map;return Object.keys(i).forEach(e=>{t.set(e,i[e])}),t}function mh(i,t=new Map,e){if(e)for(let[n,r]of e)t.set(n,r);for(let[n,r]of i)t.set(n,r);return t}function HP(i,t,e){return e?t+":"+e+";":""}function VP(i){let t="";for(let e=0;e{const a=VM(r);e&&!e.has(r)&&e.set(r,i.style[a]),i.style[a]=n}),SM()&&VP(i))}function Em(i,t){i.style&&(t.forEach((e,n)=>{const r=VM(n);i.style[r]=""}),SM()&&VP(i))}function f1(i){return Array.isArray(i)?1==i.length?i[0]:x6(i):i}const HM=new RegExp("{{\\s*(.+?)\\s*}}","g");function YP(i){let t=[];if("string"==typeof i){let e;for(;e=HM.exec(i);)t.push(e[1]);HM.lastIndex=0}return t}function p1(i,t,e){const n=i.toString(),r=n.replace(HM,(a,o)=>{let c=t[o];return null==c&&(e.push(function O0e(i){return new tt(3003,!1)}()),c=""),c.toString()});return r==n?i:r}function Cw(i){const t=[];let e=i.next();for(;!e.done;)t.push(e.value),e=i.next();return t}const w1e=/-+([a-z0-9])/g;function VM(i){return i.replace(w1e,(...t)=>t[1].toUpperCase())}function F1e(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function al(i,t,e){switch(t.type){case 7:return i.visitTrigger(t,e);case 0:return i.visitState(t,e);case 1:return i.visitTransition(t,e);case 2:return i.visitSequence(t,e);case 3:return i.visitGroup(t,e);case 4:return i.visitAnimate(t,e);case 5:return i.visitKeyframes(t,e);case 6:return i.visitStyle(t,e);case 8:return i.visitReference(t,e);case 9:return i.visitAnimateChild(t,e);case 10:return i.visitAnimateRef(t,e);case 11:return i.visitQuery(t,e);case 12:return i.visitStagger(t,e);default:throw function R0e(i){return new tt(3004,!1)}()}}function jP(i,t){return window.getComputedStyle(i)[t]}const Mw="*";function E1e(i,t){const e=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(n=>function S1e(i,t,e){if(":"==i[0]){const u=function T1e(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n) *"}}(i,e);if("function"==typeof u)return void t.push(u);i=u}const n=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return e.push(function K0e(i){return new tt(3015,!1)}()),t;const r=n[1],a=n[2],o=n[3];t.push(zP(r,o));"<"==a[0]&&!(r==Mw&&o==Mw)&&t.push(zP(o,r))}(n,e,t)):e.push(i),e}const Ew=new Set(["true","1"]),Sw=new Set(["false","0"]);function zP(i,t){const e=Ew.has(i)||Sw.has(i),n=Ew.has(t)||Sw.has(t);return(r,a)=>{let o=i==Mw||i==r,c=t==Mw||t==a;return!o&&e&&"boolean"==typeof r&&(o=r?Ew.has(i):Sw.has(i)),!c&&n&&"boolean"==typeof a&&(c=a?Ew.has(t):Sw.has(t)),o&&c}}const A1e=new RegExp("s*:selfs*,?","g");function YM(i,t,e,n){return new I1e(i).build(t,e,n)}class I1e{constructor(t){this._driver=t}build(t,e,n){const r=new O1e(e);return this._resetContextStyleTimingState(r),al(this,f1(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const a=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function B0e(){return new tt(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const u=c,m=u.name;m.toString().split(/\s*,\s*/).forEach(x=>{u.name=x,a.push(this.visitState(u,e))}),u.name=m}else if(1==c.type){const u=this.visitTransition(c,e);n+=u.queryCount,r+=u.depCount,o.push(u)}else e.errors.push(function H0e(){return new tt(3007,!1)}())}),{type:7,name:t.name,states:a,transitions:o,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const a=new Set,o=r||{};n.styles.forEach(c=>{c instanceof Map&&c.forEach(u=>{YP(u).forEach(m=>{o.hasOwnProperty(m)||a.add(m)})})}),a.size&&(Cw(a.values()),e.errors.push(function V0e(i,t){return new tt(3008,!1)}()))}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=al(this,f1(t.animation),e);return{type:1,matchers:E1e(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Sm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(n=>al(this,n,e)),options:Sm(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const a=t.steps.map(o=>{e.currentTime=n;const c=al(this,o,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:a,options:Sm(t.options)}}visitAnimate(t,e){const n=function P1e(i,t){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return jM(xw(i,t).duration,0,"");const e=i;if(e.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=jM(0,0,"");return a.dynamic=!0,a.strValue=e,a}const r=xw(e,t);return jM(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,a=t.styles?t.styles:fi({});if(5==a.type)r=this.visitKeyframes(a,e);else{let o=t.styles,c=!1;if(!o){c=!0;const m={};n.easing&&(m.easing=n.easing),o=fi(m)}e.currentTime+=n.duration+n.delay;const u=this.visitStyle(o,e);u.isEmptyStep=c,r=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===Nd?n.push(c):e.errors.push(new tt(3002,!1)):n.push(PP(c));let a=!1,o=null;return n.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(o=c.get("easing"),c.delete("easing")),!a))for(let u of c.values())if(u.toString().indexOf("{{")>=0){a=!0;break}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,u)=>{const m=e.collectedStyles.get(e.currentQuerySelector),x=m.get(u);let P=!0;x&&(a!=r&&a>=x.startTime&&r<=x.endTime&&(e.errors.push(function j0e(i,t,e,n,r){return new tt(3010,!1)}()),P=!1),a=x.startTime),P&&m.set(u,{startTime:a,endTime:r}),e.options&&function v1e(i,t,e){const n=t.params||{},r=YP(i);r.length&&r.forEach(a=>{n.hasOwnProperty(a)||e.push(function N0e(i){return new tt(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function z0e(){return new tt(3011,!1)}()),n;let a=0;const o=[];let c=!1,u=!1,m=0;const x=t.steps.map(Le=>{const it=this._makeStyleAst(Le,e);let Be=null!=it.offset?it.offset:function R1e(i){if("string"==typeof i)return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(it.styles),ut=0;return null!=Be&&(a++,ut=it.offset=Be),u=u||ut<0||ut>1,c=c||ut0&&a{const Be=K>0?it==ne?1:K*it:o[it],ut=Be*Ie;e.currentTime=pe+ye.delay+ut,ye.duration=ut,this._validateStyleAst(Le,e),Le.offset=Be,n.styles.push(Le)}),n}visitReference(t,e){return{type:8,animation:al(this,f1(t.animation),e),options:Sm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Sm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Sm(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[a,o]=function L1e(i){const t=!!i.split(/\s*,\s*/).find(e=>":self"==e);return t&&(i=i.replace(A1e,"")),i=i.replace(/@\*/g,Fw).replace(/@\w+/g,e=>Fw+"-"+e.slice(1)).replace(/:animating/g,PM),[i,t]}(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,rl(e.collectedStyles,e.currentQuerySelector,new Map);const c=al(this,f1(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:c,originalSelector:t.selector,options:Sm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function q0e(){return new tt(3013,!1)}());const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:xw(t.timings,e.errors,!0);return{type:12,animation:al(this,f1(t.animation),e),timings:n,options:null}}}class O1e{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Sm(i){return i?(i=m1(i)).params&&(i.params=function N1e(i){return i?m1(i):null}(i.params)):i={},i}function jM(i,t,e){return{duration:i,delay:t,easing:e}}function zM(i,t,e,n,r,a,o=null,c=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:c}}class Tw{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const V1e=new RegExp(":enter","g"),j1e=new RegExp(":leave","g");function UM(i,t,e,n,r,a=new Map,o=new Map,c,u,m=[]){return(new z1e).buildKeyframes(i,t,e,n,r,a,o,c,u,m)}class z1e{buildKeyframes(t,e,n,r,a,o,c,u,m,x=[]){m=m||new Tw;const P=new WM(t,e,m,r,a,x,[]);P.options=u;const K=u.delay?su(u.delay):0;P.currentTimeline.delayNextStep(K),P.currentTimeline.setStyles([o],null,P.errors,u),al(this,n,P);const ne=P.timelines.filter(pe=>pe.containsAnimation());if(ne.length&&c.size){let pe;for(let ye=ne.length-1;ye>=0;ye--){const Ie=ne[ye];if(Ie.element===e){pe=Ie;break}}pe&&!pe.allowOnlyTimelineStyles()&&pe.setStyles([c],null,P.errors,u)}return ne.length?ne.map(pe=>pe.buildKeyframes()):[zM(e,[],[],[],0,K,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const r=e.createSubContext(t.options),a=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);a!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const r of t){const a=r?.delay;if(a){const o="number"==typeof a?a:su(p1(a,r?.params??{},e.errors));n.delayNextStep(o)}}}_visitSubInstructions(t,e,n){let a=e.currentTimeline.currentTime;const o=null!=n.duration?su(n.duration):null,c=null!=n.delay?su(n.delay):null;return 0!==o&&t.forEach(u=>{const m=e.appendInstructionToTimeline(u,o,c);a=Math.max(a,m.duration+m.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),al(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const a=t.options;if(a&&(a.params||a.delay)&&(r=e.createSubContext(a),r.transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Aw);const o=su(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>al(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const a=t.options&&t.options.delay?su(t.options.delay):0;t.steps.forEach(o=>{const c=e.createSubContext(t.options);a&&c.delayNextStep(a),al(this,o,c),r=Math.max(r,c.currentTimeline.currentTime),n.push(c.currentTimeline)}),n.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return xw(e.params?p1(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const a=t.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const a=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,a=n.duration,c=e.createSubContext().currentTimeline;c.easing=n.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*a),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+a),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?su(r.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Aw);let o=n;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((m,x)=>{e.currentQueryIndex=x;const P=e.createSubContext(t.options,m);a&&P.delayNextStep(a),m===e.element&&(u=P.currentTimeline),al(this,t.animation,P),P.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,P.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,a=t.timings,o=Math.abs(a.duration),c=o*(e.currentQueryTotal-1);let u=o*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":u=c-u;break;case"full":u=n.currentStaggerTime}const x=e.currentTimeline;u&&x.delayNextStep(u);const P=x.currentTime;al(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-P+(r.startTime-n.currentTimeline.startTime)}}const Aw={};class WM{constructor(t,e,n,r,a,o,c,u){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Aw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Iw(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=su(n.duration)),null!=n.delay&&(r.delay=su(n.delay));const a=n.params;if(a){let o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!o.hasOwnProperty(c))&&(o[c]=p1(a[c],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,a=new WM(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=Aw,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},a=new U1e(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(a),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,a,o){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(V1e,"."+this._enterClassName)).replace(j1e,"."+this._leaveClassName);let m=this._driver.query(this.element,t,1!=n);0!==n&&(m=n<0?m.slice(m.length+n,m.length):m.slice(0,n)),c.push(...m)}return!a&&0==c.length&&o.push(function $0e(i){return new tt(3014,!1)}()),c}}class Iw{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Iw(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||Nd),this._currentKeyframe.set(e,Nd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const a=r&&r.params||{},o=function W1e(i,t){const e=new Map;let n;return i.forEach(r=>{if("*"===r){n=n||t.keys();for(let a of n)e.set(a,Nd)}else mh(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of o){const m=p1(u,a,n);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Nd),this._updateStyle(c,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{const r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,u)=>{const m=mh(c,new Map,this._backFill);m.forEach((x,P)=>{x===PC?t.add(P):x===Nd&&e.add(P)}),n||m.set("offset",u/this.duration),r.push(m)});const a=t.size?Cw(t.values()):[],o=e.size?Cw(e.values()):[];if(n){const c=r[0],u=new Map(c);c.set("offset",0),u.set("offset",1),r=[c,u]}return zM(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}class U1e extends Iw{constructor(t,e,n,r,a,o,c=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],o=n+e,c=e/o,u=mh(t[0]);u.set("offset",0),a.push(u);const m=mh(t[0]);m.set("offset",GP(c)),a.push(m);const x=t.length-1;for(let P=1;P<=x;P++){let K=mh(t[P]);const ne=K.get("offset");K.set("offset",GP((e+ne*n)/o)),a.push(K)}n=o,e=0,r="",t=a}return zM(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function GP(i,t=3){const e=Math.pow(10,t-1);return Math.round(i*e)/e}class GM{}const G1e=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 q1e extends GM{normalizePropertyName(t,e){return VM(t)}normalizeStyleValue(t,e,n,r){let a="";const o=n.toString().trim();if(G1e.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const c=n.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function P0e(i,t){return new tt(3005,!1)}())}return o+a}}function qP(i,t,e,n,r,a,o,c,u,m,x,P,K){return{type:0,element:i,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:a,toState:n,toStyles:o,timelines:c,queriedElements:u,preStyleProps:m,postStyleProps:x,totalTime:P,errors:K}}const qM={};class $P{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function $1e(i,t,e,n,r){return i.some(a=>a(t,e,n,r))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,n):new Map}build(t,e,n,r,a,o,c,u,m,x){const P=[],K=this.ast.options&&this.ast.options.params||qM,pe=this.buildStyles(n,c&&c.params||qM,P),ye=u&&u.params||qM,Ie=this.buildStyles(r,ye,P),Le=new Set,it=new Map,Be=new Map,ut="void"===r,It={params:K1e(ye,K),delay:this.ast.options?.delay},$t=x?[]:UM(t,e,this.ast.animation,a,o,pe,Ie,It,m,P);let $n=0;if($t.forEach(Fr=>{$n=Math.max(Fr.duration+Fr.delay,$n)}),P.length)return qP(e,this._triggerName,n,r,ut,pe,Ie,[],[],it,Be,$n,P);$t.forEach(Fr=>{const Br=Fr.element,ol=rl(it,Br,new Set);Fr.preStyleProps.forEach(Ho=>ol.add(Ho));const Mr=rl(Be,Br,new Set);Fr.postStyleProps.forEach(Ho=>Mr.add(Ho)),Br!==e&&Le.add(Br)});const xn=Cw(Le.values());return qP(e,this._triggerName,n,r,ut,pe,Ie,$t,xn,it,Be,$n)}}function K1e(i,t){const e=m1(t);for(const n in i)i.hasOwnProperty(n)&&null!=i[n]&&(e[n]=i[n]);return e}class Z1e{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,r=m1(this.defaultParams);return Object.keys(t).forEach(a=>{const o=t[a];null!==o&&(r[a]=o)}),this.styles.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,c)=>{o&&(o=p1(o,r,e));const u=this.normalizer.normalizePropertyName(c,e);o=this.normalizer.normalizeStyleValue(c,u,o,e),n.set(c,o)})}),n}}class X1e{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new Z1e(r.style,r.options&&r.options.params||{},n))}),KP(this.states,"true","1"),KP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new $P(t,r,this.states))}),this.fallbackTransition=function J1e(i,t,e){return new $P(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(o=>o.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function KP(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}const ebe=new Tw;class tbe{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],r=[],a=YM(this._driver,e,n,r);if(n.length)throw function t1e(i){return new tt(3503,!1)}();this._animations.set(t,a)}_buildPlayer(t,e,n){const r=t.element,a=MP(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],a=this._animations.get(t);let o;const c=new Map;if(a?(o=UM(this._driver,e,a,RM,vw,new Map,new Map,n,ebe,r),o.forEach(x=>{const P=rl(c,x.element,new Map);x.postStyleProps.forEach(K=>P.set(K,null))})):(r.push(function i1e(){return new tt(3300,!1)}()),o=[]),r.length)throw function n1e(i){return new tt(3504,!1)}();c.forEach((x,P)=>{x.forEach((K,ne)=>{x.set(ne,this._driver.computeStyle(P,ne,Nd))})});const m=hh(o.map(x=>{const P=c.get(x.element);return this._buildPlayer(x,new Map,P)}));return this._playersById.set(t,m),m.onDestroy(()=>this.destroy(t)),this.players.push(m),m}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function r1e(i){return new tt(3301,!1)}();return e}listen(t,e,n,r){const a=IM(e,"","","");return TM(this._getPlayer(t),n,a,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const ZP="ng-animate-queued",$M="ng-animate-disabled",obe=[],QP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sbe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ll="__ng_removed";class KM{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function ube(i){return i??null}(n?t.value:t),n){const a=m1(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const n=this.options.params;Object.keys(e).forEach(r=>{null==n[r]&&(n[r]=e[r])})}}}const g1="void",ZM=new KM(g1);class lbe{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Nl(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.has(e))throw function a1e(i,t){return new tt(3302,!1)}();if(null==n||0==n.length)throw function o1e(i){return new tt(3303,!1)}();if(!function hbe(i){return"start"==i||"done"==i}(n))throw function s1e(i,t){return new tt(3400,!1)}();const a=rl(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};a.push(o);const c=rl(this._engine.statesByElement,t,new Map);return c.has(e)||(Nl(t,ww),Nl(t,ww+"-"+e),c.set(e,ZM)),()=>{this._engine.afterFlush(()=>{const u=a.indexOf(o);u>=0&&a.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function l1e(i){return new tt(3401,!1)}();return e}trigger(t,e,n,r=!0){const a=this._getTrigger(e),o=new QM(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(Nl(t,ww),Nl(t,ww+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const m=new KM(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&m.absorbOptions(u.options),c.set(e,m),u||(u=ZM),m.value!==g1&&u.value===m.value){if(!function pbe(i,t){const e=Object.keys(i),n=Object.keys(t);if(e.length!=n.length)return!1;for(let r=0;r{Em(t,Ie),rd(t,Le)})}return}const K=rl(this._engine.playersByElement,t,[]);K.forEach(ye=>{ye.namespaceId==this.id&&ye.triggerName==e&&ye.queued&&ye.destroy()});let ne=a.matchTransition(u.value,m.value,t,m.params),pe=!1;if(!ne){if(!r)return;ne=a.fallbackTransition,pe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:ne,fromState:u,toState:m,player:o,isFallbackTransition:pe}),pe||(Nl(t,ZP),o.onStart(()=>{jp(t,ZP)})),o.onDone(()=>{let ye=this.players.indexOf(o);ye>=0&&this.players.splice(ye,1);const Ie=this._engine.playersByElement.get(t);if(Ie){let Le=Ie.indexOf(o);Le>=0&&Ie.splice(Le,1)}}),this.players.push(o),K.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,Fw,!0);n.forEach(r=>{if(r[Ll])return;const a=this._engine.fetchNamespacesByElement(r);a.size?a.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,n,r){const a=this._engine.statesByElement.get(t),o=new Map;if(a){const c=[];if(a.forEach((u,m)=>{if(o.set(m,u.value),this._triggers.has(m)){const x=this.trigger(t,m,g1,r);x&&c.push(x)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&hh(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(a=>{const o=a.name;if(r.has(o))return;r.add(o);const u=this._triggers.get(o).fallbackTransition,m=n.get(o)||ZM,x=new KM(g1),P=new QM(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:u,fromState:m,toState:x,player:P,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const a=n.players.length?n.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else{let o=t;for(;o=o.parentNode;)if(n.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const a=t[Ll];(!a||a===QP)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Nl(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const a=n.element,o=this._elementListeners.get(a);o&&o.forEach(c=>{if(c.name==n.triggerName){const u=IM(a,n.triggerName,n.fromState.value,n.toState.value);u._data=t,TM(n.player,c.phase,u,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{const a=n.transition.ast.depCount,o=r.transition.ast.depCount;return 0==a||0==o?a-o:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(n=>n.element===t)||e,e}}class cbe{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){const n=new lbe(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let o=!1,c=this.driver.getParentElement(e);for(;c;){const u=r.get(c);if(u){const m=n.indexOf(u);n.splice(m+1,0,t),o=!0;break}c=this.driver.getParentElement(c)}o||n.unshift(t)}else n.push(t);return r.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let r of n.values())if(r.namespaceId){const a=this._fetchNamespace(r.namespaceId);a&&e.add(a)}return e}trigger(t,e,n,r){if(Lw(e)){const a=this._fetchNamespace(t);if(a)return a.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Lw(e))return;const a=e[Ll];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Nl(t,$M)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),jp(t,$M))}removeNode(t,e,n,r){if(Lw(e)){const a=t?this._fetchNamespace(t):null;if(a?a.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r,a){this.collectedLeaveElements.push(e),e[Ll]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,n,r,a){return Lw(e)?this._fetchNamespace(t).listen(e,n,r,a):()=>{}}_buildInstruction(t,e,n,r,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,Fw,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,PM,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return hh(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Ll];if(e&&e.setForRemoval){if(t[Ll]=QP,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains($M)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],e.length?hh(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(t){throw function c1e(i){return new tt(3402,!1)}()}_flushAnimations(t,e){const n=new Tw,r=[],a=new Map,o=[],c=new Map,u=new Map,m=new Map,x=new Set;this.disabledNodes.forEach(bi=>{x.add(bi);const zi=this.driver.query(bi,".ng-animate-queued",!0);for(let Ji=0;Ji{const Ji=RM+ye++;pe.set(zi,Ji),bi.forEach(ur=>Nl(ur,Ji))});const Ie=[],Le=new Set,it=new Set;for(let bi=0;biLe.add(ur)):it.add(zi))}const Be=new Map,ut=e9(K,Array.from(Le));ut.forEach((bi,zi)=>{const Ji=vw+ye++;Be.set(zi,Ji),bi.forEach(ur=>Nl(ur,Ji))}),t.push(()=>{ne.forEach((bi,zi)=>{const Ji=pe.get(zi);bi.forEach(ur=>jp(ur,Ji))}),ut.forEach((bi,zi)=>{const Ji=Be.get(zi);bi.forEach(ur=>jp(ur,Ji))}),Ie.forEach(bi=>{this.processLeaveNode(bi)})});const It=[],$t=[];for(let bi=this._namespaceList.length-1;bi>=0;bi--)this._namespaceList[bi].drainQueuedTransitions(e).forEach(Ji=>{const ur=Ji.player,Eo=Ji.element;if(It.push(ur),this.collectedEnterElements.length){const ns=Eo[Ll];if(ns&&ns.setForMove){if(ns.previousTriggersValues&&ns.previousTriggersValues.has(Ji.triggerName)){const Lm=ns.previousTriggersValues.get(Ji.triggerName),Ol=this.statesByElement.get(Ji.element);if(Ol&&Ol.has(Ji.triggerName)){const Jw=Ol.get(Ji.triggerName);Jw.value=Lm,Ol.set(Ji.triggerName,Jw)}}return void ur.destroy()}}const od=!P||!this.driver.containsElement(P,Eo),sl=Be.get(Eo),fh=pe.get(Eo),fa=this._buildInstruction(Ji,n,fh,sl,od);if(fa.errors&&fa.errors.length)return void $t.push(fa);if(od)return ur.onStart(()=>Em(Eo,fa.fromStyles)),ur.onDestroy(()=>rd(Eo,fa.toStyles)),void r.push(ur);if(Ji.isFallbackTransition)return ur.onStart(()=>Em(Eo,fa.fromStyles)),ur.onDestroy(()=>rd(Eo,fa.toStyles)),void r.push(ur);const X9=[];fa.timelines.forEach(ns=>{ns.stretchStartingKeyframe=!0,this.disabledNodes.has(ns.element)||X9.push(ns)}),fa.timelines=X9,n.append(Eo,fa.timelines),o.push({instruction:fa,player:ur,element:Eo}),fa.queriedElements.forEach(ns=>rl(c,ns,[]).push(ur)),fa.preStyleProps.forEach((ns,Lm)=>{if(ns.size){let Ol=u.get(Lm);Ol||u.set(Lm,Ol=new Set),ns.forEach((Jw,y3)=>Ol.add(y3))}}),fa.postStyleProps.forEach((ns,Lm)=>{let Ol=m.get(Lm);Ol||m.set(Lm,Ol=new Set),ns.forEach((Jw,y3)=>Ol.add(y3))})});if($t.length){const bi=[];$t.forEach(zi=>{bi.push(function d1e(i,t){return new tt(3505,!1)}())}),It.forEach(zi=>zi.destroy()),this.reportError(bi)}const $n=new Map,xn=new Map;o.forEach(bi=>{const zi=bi.element;n.has(zi)&&(xn.set(zi,zi),this._beforeAnimationBuild(bi.player.namespaceId,bi.instruction,$n))}),r.forEach(bi=>{const zi=bi.element;this._getPreviousPlayers(zi,!1,bi.namespaceId,bi.triggerName,null).forEach(ur=>{rl($n,zi,[]).push(ur),ur.destroy()})});const Fr=Ie.filter(bi=>n9(bi,u,m)),Br=new Map;JP(Br,this.driver,it,m,Nd).forEach(bi=>{n9(bi,u,m)&&Fr.push(bi)});const Mr=new Map;ne.forEach((bi,zi)=>{JP(Mr,this.driver,new Set(bi),u,PC)}),Fr.forEach(bi=>{const zi=Br.get(bi),Ji=Mr.get(bi);Br.set(bi,new Map([...Array.from(zi?.entries()??[]),...Array.from(Ji?.entries()??[])]))});const Ho=[],Qp=[],uu={};o.forEach(bi=>{const{element:zi,player:Ji,instruction:ur}=bi;if(n.has(zi)){if(x.has(zi))return Ji.onDestroy(()=>rd(zi,ur.toStyles)),Ji.disabled=!0,Ji.overrideTotalTime(ur.totalTime),void r.push(Ji);let Eo=uu;if(xn.size>1){let sl=zi;const fh=[];for(;sl=sl.parentNode;){const fa=xn.get(sl);if(fa){Eo=fa;break}fh.push(sl)}fh.forEach(fa=>xn.set(fa,Eo))}const od=this._buildAnimation(Ji.namespaceId,ur,$n,a,Mr,Br);if(Ji.setRealPlayer(od),Eo===uu)Ho.push(Ji);else{const sl=this.playersByElement.get(Eo);sl&&sl.length&&(Ji.parentPlayer=hh(sl)),r.push(Ji)}}else Em(zi,ur.fromStyles),Ji.onDestroy(()=>rd(zi,ur.toStyles)),Qp.push(Ji),x.has(zi)&&r.push(Ji)}),Qp.forEach(bi=>{const zi=a.get(bi.element);if(zi&&zi.length){const Ji=hh(zi);bi.setRealPlayer(Ji)}}),r.forEach(bi=>{bi.parentPlayer?bi.syncPlayerEvents(bi.parentPlayer):bi.destroy()});for(let bi=0;bi!od.destroyed);Eo.length?mbe(this,zi,Eo):this.processLeaveNode(zi)}return Ie.length=0,Ho.forEach(bi=>{this.players.push(bi),bi.onDone(()=>{bi.destroy();const zi=this.players.indexOf(bi);this.players.splice(zi,1)}),bi.play()}),Ho}elementContainsData(t,e){let n=!1;const r=e[Ll];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,a){let o=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(o=c)}else{const c=this.playersByElement.get(t);if(c){const u=!a||a==g1;c.forEach(m=>{m.queued||!u&&m.triggerName!=r||o.push(m)})}}return(n||r)&&(o=o.filter(c=>!(n&&n!=c.namespaceId||r&&r!=c.triggerName))),o}_beforeAnimationBuild(t,e,n){const a=e.element,o=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const m=u.element,x=m!==a,P=rl(n,m,[]);this._getPreviousPlayers(m,x,o,c,e.toState).forEach(ne=>{const pe=ne.getRealPlayer();pe.beforeDestroy&&pe.beforeDestroy(),ne.destroy(),P.push(ne)})}Em(a,e.fromStyles)}_buildAnimation(t,e,n,r,a,o){const c=e.triggerName,u=e.element,m=[],x=new Set,P=new Set,K=e.timelines.map(pe=>{const ye=pe.element;x.add(ye);const Ie=ye[Ll];if(Ie&&Ie.removedBeforeQueried)return new Jg(pe.duration,pe.delay);const Le=ye!==u,it=function fbe(i){const t=[];return t9(i,t),t}((n.get(ye)||obe).map($n=>$n.getRealPlayer())).filter($n=>!!$n.element&&$n.element===ye),Be=a.get(ye),ut=o.get(ye),It=MP(0,this._normalizer,0,pe.keyframes,Be,ut),$t=this._buildPlayer(pe,It,it);if(pe.subTimeline&&r&&P.add(ye),Le){const $n=new QM(t,c,ye);$n.setRealPlayer($t),m.push($n)}return $t});m.forEach(pe=>{rl(this.playersByQueriedElement,pe.element,[]).push(pe),pe.onDone(()=>function dbe(i,t,e){let n=i.get(t);if(n){if(n.length){const r=n.indexOf(e);n.splice(r,1)}0==n.length&&i.delete(t)}return n}(this.playersByQueriedElement,pe.element,pe))}),x.forEach(pe=>Nl(pe,RP));const ne=hh(K);return ne.onDestroy(()=>{x.forEach(pe=>jp(pe,RP)),rd(u,e.toStyles)}),P.forEach(pe=>{rl(r,pe,[]).push(ne)}),ne}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Jg(t.duration,t.delay)}}class QM{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Jg,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>TM(t,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){rl(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Lw(i){return i&&1===i.nodeType}function XP(i,t){const e=i.style.display;return i.style.display=t??"none",e}function JP(i,t,e,n,r){const a=[];e.forEach(u=>a.push(XP(u)));const o=[];n.forEach((u,m)=>{const x=new Map;u.forEach(P=>{const K=t.computeStyle(m,P,r);x.set(P,K),(!K||0==K.length)&&(m[Ll]=sbe,o.push(m))}),i.set(m,x)});let c=0;return e.forEach(u=>XP(u,a[c++])),o}function e9(i,t){const e=new Map;if(i.forEach(c=>e.set(c,[])),0==t.length)return e;const n=1,r=new Set(t),a=new Map;function o(c){if(!c)return n;let u=a.get(c);if(u)return u;const m=c.parentNode;return u=e.has(m)?m:r.has(m)?n:o(m),a.set(c,u),u}return t.forEach(c=>{const u=o(c);u!==n&&e.get(u).push(c)}),e}function Nl(i,t){i.classList?.add(t)}function jp(i,t){i.classList?.remove(t)}function mbe(i,t,e){hh(e).onDone(()=>i.processLeaveNode(t))}function t9(i,t){for(let e=0;er.add(a)):t.set(i,n),e.delete(i),!0}class Nw{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new cbe(t,e,n),this._timelineEngine=new tbe(t,e,n),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(t,e,n,r,a){const o=t+"-"+r;let c=this._triggerCache[o];if(!c){const u=[],m=[],x=YM(this._driver,a,u,m);if(u.length)throw function J0e(i,t){return new tt(3404,!1)}();c=function Q1e(i,t,e){return new X1e(i,t,e)}(r,x,this._normalizer),this._triggerCache[o]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[a,o]=EP(n);this._timelineEngine.command(a,e,o,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,a){if("@"==n.charAt(0)){const[o,c]=EP(n);return this._timelineEngine.listen(o,e,c,a)}return this._transitionEngine.listen(t,e,n,r,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let _be=(()=>{class i{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let a=i.initialStylesByElement.get(e);a||i.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&rd(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rd(this._element,this._initialStyles),this._endStyles&&(rd(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Em(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Em(this._element,this._endStyles),this._endStyles=null),rd(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function XM(i){let t=null;return i.forEach((e,n)=>{(function bbe(i){return"display"===i||"position"===i})(n)&&(t=t||new Map,t.set(n,e))}),t}class r9{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&t.set(r,this._finished?n:jP(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class ybe{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return IP(t,e)}getParentElement(t){return NM(t)}query(t,e,n){return LP(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,r,a,o=[]){const u={duration:n,delay:r,fill:0==r?"both":"forwards"};a&&(u.easing=a);const m=new Map,x=o.filter(ne=>ne instanceof r9);(function x1e(i,t){return 0===i||0===t})(n,r)&&x.forEach(ne=>{ne.currentSnapshot.forEach((pe,ye)=>m.set(ye,pe))});let P=function y1e(i){return i.length?i[0]instanceof Map?i:i.map(t=>PP(t)):[]}(e).map(ne=>mh(ne));P=function C1e(i,t,e){if(e.size&&t.length){let n=t[0],r=[];if(e.forEach((a,o)=>{n.has(o)||r.push(o),n.set(o,a)}),r.length)for(let a=1;ao.set(c,jP(i,c)))}}return t}(t,P,m);const K=function gbe(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=XM(t[0]),t.length>1&&(n=XM(t[t.length-1]))):t instanceof Map&&(e=XM(t)),e||n?new _be(i,e,n):null}(t,P);return new r9(t,P,u,K)}}let vbe=(()=>{class i extends F6{constructor(e,n){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(n.body,{id:"0",encapsulation:xe.None,styles:[],data:{animation:[]}})}build(e){const n=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?x6(e):e;return a9(this._renderer,null,n,"register",[r]),new wbe(n,this._renderer)}}return i.\u0275fac=function(e){return new(e||i)(Fe(nf),Fe(xi))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class wbe extends z${constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Fbe(this._id,t,e||{},this._renderer)}}class Fbe{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return a9(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function a9(i,t,e,n,r){return i.setProperty(t,`@@${e}:${n}`,r)}const o9="@.disabled";let xbe=(()=>{class i{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(a,o)=>{const c=o?.parentNode(a);c&&o.removeChild(c,a)}}createRenderer(e,n){const a=this.delegate.createRenderer(e,n);if(!(e&&n&&n.data&&n.data.animation)){let x=this._rendererCache.get(a);return x||(x=new s9("",a,this.engine,()=>this._rendererCache.delete(a)),this._rendererCache.set(a,x)),x}const o=n.id,c=n.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const u=x=>{Array.isArray(x)?x.forEach(u):this.engine.registerTrigger(o,c,e,x.name,x)};return n.data.animation.forEach(u),new Cbe(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){e>=0&&en(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[o,c]=a;o(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,r]))}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 i.\u0275fac=function(e){return new(e||i)(Fe(nf),Fe(Nw),Fe(Rt))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();class s9{constructor(t,e,n,r){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?a=>e.destroyNode(a):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==o9?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Cbe extends s9{constructor(t,e,n,r,a){super(e,n,r,a),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==o9?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function kbe(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(t);let a=e.slice(1),o="";return"@"!=a.charAt(0)&&([a,o]=function Dbe(i){const t=i.indexOf(".");return[i.substring(0,t),i.slice(t+1)]}(a)),this.engine.listen(this.namespaceId,r,a,o,c=>{this.factory.scheduleListenerCallback(c._data||-1,n,c)})}return this.delegate.listen(t,e,n)}}let Mbe=(()=>{class i extends Nw{constructor(e,n,r,a){super(e.body,n,r)}ngOnDestroy(){this.flush()}}return i.\u0275fac=function(e){return new(e||i)(Fe(xi),Fe(OM),Fe(GM),Fe(wd))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const l9=[{provide:F6,useClass:vbe},{provide:GM,useFactory:function Ebe(){return new q1e}},{provide:Nw,useClass:Mbe},{provide:nf,useFactory:function Sbe(i,t,e){return new xbe(i,t,e)},deps:[Yb,Nw,Rt]}],JM=[{provide:OM,useFactory:()=>new ybe},{provide:Nn,useValue:"BrowserAnimations"},...l9],c9=[{provide:OM,useClass:NP},{provide:Nn,useValue:"NoopAnimations"},...l9];let d9=(()=>{class i{static withConfig(e){return{ngModule:i,providers:e.disableAnimations?c9:JM}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:JM,imports:[yI]}),i})(),Ybe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,Dr,qs,Jt]}),i})(),Ube=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[h6,Jt,h6,Jt]}),i})(),Kbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),nye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Kbe,Jt,Jt]}),i})(),_ye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[ty]}),i})(),Nye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,_ye,Jt]}),i})(),M9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),$ye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt,qs,M9,Jt,M9]}),i})(),Kye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Hf]}),i})(),p3=(()=>{class i{constructor(){this.changes=new He,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const ove={provide:p3,deps:[[new Ds,new Ul,p3]],useFactory:function ave(i){return i||new p3}};let sve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[ove,Yf],imports:[Jt,Dr,xl,Kye,Lv,qs,Jt]}),i})(),g3=(()=>{class i{constructor(){this.changes=new He,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,n,r)=>{if(0==r||0==n)return`0 of ${r}`;const a=e*n;return`${a+1} \u2013 ${a<(r=Math.max(r,0))?Math.min(a+n,r):a+n} of ${r}`}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const hve={provide:g3,deps:[[new Ds,new Ul,g3]],useFactory:function uve(i){return i||new g3}};let mve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[hve],imports:[Dr,Iy,HO,mO]}),i})(),pve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Jt]}),i})(),bve=(()=>{class i{constructor(){this.changes=new He,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Ke({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Am{constructor(t,e){this.start=t,this.end=e}}const L9={provide:new Ze("mat-datepicker-scroll-strategy"),deps:[va],useFactory:function Mve(i){return()=>i.scrollStrategies.reposition()}};let R9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[bve,L9],imports:[Dr,Iy,Oc,Bf,xl,Jt,Nc]}),i})(),P9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[qs,Jt,Jt]}),i})();const Nve=["connectionContainer"],Ove=["inputContainer"],Rve=["label"];function Pve(i,t){1&i&&(Dn(0),_(1,"div",14),Ce(2,"div",15)(3,"div",16)(4,"div",17),v(),_(5,"div",18),Ce(6,"div",15)(7,"div",16)(8,"div",17),v(),Mn())}function Bve(i,t){if(1&i){const e=Je();_(0,"div",19),fe("cdkObserveContent",function(){return Te(e),Ae(Z().updateOutlineGap())}),vt(1,1),v()}2&i&&S("cdkObserveContentDisabled","outline"!=Z().appearance)}function Hve(i,t){if(1&i&&(Dn(0),vt(1,2),_(2,"span"),L(3),v(),Mn()),2&i){const e=Z(2);E(3),yt(e._control.placeholder)}}function Vve(i,t){1&i&&vt(0,3,["*ngSwitchCase","true"])}function Yve(i,t){1&i&&(_(0,"span",23),L(1," *"),v())}function jve(i,t){if(1&i){const e=Je();_(0,"label",20,21),fe("cdkObserveContent",function(){return Te(e),Ae(Z().updateOutlineGap())}),ee(2,Hve,4,1,"ng-container",12),ee(3,Vve,1,0,"ng-content",12),ee(4,Yve,2,0,"span",22),v()}if(2&i){const e=Z();Mt("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),S("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Lt("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngSwitchCase",!1),E(1),S("ngSwitchCase",!0),E(1),S("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function zve(i,t){1&i&&(_(0,"div",24),vt(1,4),v())}function Uve(i,t){if(1&i&&(_(0,"div",25),Ce(1,"span",26),v()),2&i){const e=Z();E(1),Mt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function Wve(i,t){1&i&&(_(0,"div"),vt(1,5),v()),2&i&&S("@transitionMessages",Z()._subscriptAnimationState)}function Gve(i,t){if(1&i&&(_(0,"div",30),L(1),v()),2&i){const e=Z(2);S("id",e._hintLabelId),E(1),yt(e.hintLabel)}}function qve(i,t){if(1&i&&(_(0,"div",27),ee(1,Gve,2,2,"div",28),vt(2,6),Ce(3,"div",29),vt(4,7),v()),2&i){const e=Z();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const $ve=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Kve=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Zve=new Ze("MatHint");let B9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})(),Qve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-placeholder"]]}),i})(),H9=0;const Jve=tc(class{constructor(i){this._elementRef=i}},"primary"),ewe=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS");let twe=(()=>{class i extends Jve{get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ct(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}constructor(e,n,r,a,o,c,u){super(e),this._changeDetectorRef=n,this._dir=r,this._defaults=a,this._platform=o,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new He,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+H9++,this._labelId="mat-form-field-label-"+H9++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==u,this.appearance=a?.appearance||"legacy",a&&(this._hideRequiredMarker=Boolean(a.hideRequiredMarker),a.color&&(this.color=this.defaultColor=a.color))}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(Ur(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ai(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ai(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Bn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Ur(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Ur(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ai(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 n=this._control?this._control.ngControl:null;return n&&n[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,As(this._label.nativeElement,"transitionend").pipe(rn(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 n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const x=n.querySelectorAll(`${r}, ${a}`);for(let P=0;P0?.75*pe+10:0}for(let x=0;x{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Jt,zg,Jt]}),i})(),j9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Yf],imports:[fD,Y9,Jt,fD,Y9]}),i})();function iwe(i,t){}const z9_params_enterAnimationDuration="150ms",z9_params_exitAnimationDuration="75ms";class U9 extends g_{constructor(){super(...arguments),this.enterAnimationDuration=Ey.params.enterAnimationDuration,this.exitAnimationDuration=Ey.params.exitAnimationDuration}}let nwe=(()=>{class i extends j5{_onAnimationDone({toState:e,totalTime:n}){"enter"===e?this._openAnimationDone(n):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:n})}_onAnimationStart({toState:e,totalTime:n}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(e,n,r,a,o,c,u,m,x){super(e,n,r,a,o,c,u,x),this._changeDetectorRef=m,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||z9_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||z9_params_exitAnimationDuration}}}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Rf),k(xi,8),k(U9),k(Hh),k(Rt),k(jh),k(oi),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){1&e&&_f("@dialogContainer.start",function(a){return n._onAnimationStart(a)})("@dialogContainer.done",function(a){return n._onAnimationDone(a)}),2&e&&(Ua("id",n._config.id),Lt("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),yf("@dialogContainer",n._getAnimationState()))},features:[st],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,iwe,0,0,"ng-template",0)},dependencies:[Jl],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:[SQ.dialogContainer]}}),i})();class rwe extends hs{}const awe=new Ze("MatDialogData"),owe=new Ze("mat-dialog-default-options"),W9=new Ze("mat-dialog-scroll-strategy"),lwe={provide:W9,deps:[va],useFactory:function swe(i){return()=>i.scrollStrategies.block()}};let cwe=(()=>{class i extends q5{constructor(e,n,r,a,o,c,u,m){super(e,n,a,c,u,o,rwe,nwe,awe,m),this.dialogConfigClass=U9}}return i.\u0275fac=function(e){return new(e||i)(Fe(va),Fe(qr),Fe(Ac,8),Fe(owe,8),Fe(W9),Fe(i,12),Fe(qg),Fe(Nn,8))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})(),dwe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[cwe,lwe],imports:[IC,Oc,xl,Jt,Jt]}),i})();const G9=new Ze("ngx-mat-date-formats");class Kw extends Id{isSameTime(t,e){return null==t||null==e||this.getHour(t)===this.getHour(e)&&this.getMinute(t)===this.getMinute(e)&&this.getSecond(t)===this.getSecond(e)}copyTime(t,e){this.setHour(t,this.getHour(e)),this.setMinute(t,this.getMinute(e)),this.setSecond(t,this.getSecond(e))}compareDateWithTime(t,e,n){let r=super.compareDate(t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e);return n&&(r=r||this.getSecond(t)-this.getSecond(e)),r}setTimeByDefaultValues(t,e){if(!Array.isArray(e))throw Error("@Input DefaultTime should be an array");this.setHour(t,e[0]||0),this.setMinute(t,e[1]||0),this.setSecond(t,e[2]||0)}}const xwe=new Ze("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let Cwe=(()=>{class i{constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:r,end:a}=n;return null==r?r=e:null==a&&e&&this._dateAdapter.compareDate(e,r)>=0?a=e:(r=e,a=null),new Am(r,a)}createPreview(e,n){let r=null,a=null;return n.start&&!n.end&&e&&(r=n.start,a=e),new Am(r,a)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Kw))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();function q9(i){return Error(`NgxMatDatepicker: No provider found for ${i}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}tc(class{constructor(i){this._elementRef=i}});const Dwe={provide:Ca,useExisting:hi(()=>K9),multi:!0},Mwe={provide:Ja,useExisting:hi(()=>K9),multi:!0};class Qw{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let Im,K9=(()=>{class i{constructor(e,n,r,a){if(this._elementRef=e,this._dateAdapter=n,this._dateFormats=r,this._formField=a,this.dateChange=new lt,this.dateInput=new lt,this._valueChange=new lt,this.stateChanges=new lt,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=C.EMPTY,this._localeSubscription=C.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.min||!c||this._dateAdapter.compareDateWithTime(this.min,c,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:c}}},this._maxValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.max||!c||this._dateAdapter.compareDateWithTime(this.max,c,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:c}}},this._filterValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return this._dateFilter&&c&&!this._dateFilter(c)?{matDatetimePickerFilter:!0}:null},this._validator=Po.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw q9("NgxMatDateAdapter");if(!this._dateFormats)throw q9("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(n=>{this.value=n,this._cvaOnChange(n),this._onTouched(),this.dateInput.emit(new Qw(this,this._elementRef.nativeElement)),this.dateChange.emit(new Qw(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const n=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(n,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const n=null!=e&&"false"!=`${e}`,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.emit(void 0)),n&&r.blur&&r.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const n=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!r||this._dateAdapter.isValid(r),r=this._getValidDateOrNull(r);const a=this._dateAdapter.isSameTime(r,this._value);null!=r&&(!a||!this._dateAdapter.sameDate(r,this._value))||null==r&&null!=this._value?(this._value=r,this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new Qw(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new Qw(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return i.\u0275fac=function(e){return new(e||i)(k(pt),k(Kw,8),k(G9,8),k(twe,8))},i.\u0275dir=Oe({type:i,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(e,n){1&e&&fe("input",function(a){return n._onInput(a.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()})("keydown",function(a){return n._onKeydown(a)}),2&e&&(Ua("disabled",n.disabled),Lt("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[Nt([Dwe,Mwe,{provide:VD,useExisting:i}])]}),i})(),Z9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,j9,PN,Ev,Lv,P9]}),i})(),Ewe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[L9,{provide:xwe,useClass:Cwe}],imports:[Dr,R9,dwe,xl,Ev,Lv,P9,j9,Z9]}),i})();try{Im=typeof Intl<"u"}catch{Im=!1}const Swe={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Twe=Xw(31,i=>String(i+1)),Awe={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Iwe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Xw(i,t){const e=Array(i);for(let n=0;n{class i extends Kw{constructor(e,n){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!n.TRIDENT,this._clampDate=n.TRIDENT||n.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(Im){const n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Xw(12,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,r,1))))}return Swe[e]}getDateNames(){if(Im){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Xw(31,n=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,n+1))))}return Twe}getDayOfWeekNames(e){if(Im){const n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Xw(7,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,r+1))))}return Awe[e]}getYearName(e){if(Im){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(n,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let a=this._createDateWithOverflow(e,n,r);if(a.getMonth()!=n)throw Error(`Invalid date "${r}" for month with index "${n}".`);return a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Im){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),n={...n,timeZone:"utc"};const r=new Intl.DateTimeFormat(this.locale,n);return this._stripDirectionalityCharacters(this._format(r,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,n){return this.addCalendarMonths(e,12*n)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Iwe.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}getHour(e){return e.getHours()}getMinute(e){return e.getMinutes()}getSecond(e){return e.getSeconds()}setHour(e,n){e.setHours(n)}setMinute(e,n){e.setMinutes(n)}setSecond(e,n){e.setSeconds(n)}_createDateWithOverflow(e,n,r){const a=new Date(e,n,r);return e>=0&&e<100&&a.setFullYear(this.getYear(a)-1900),a}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,n){const r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(N$,8),Fe(Hn))},i.\u0275prov=Ke({token:i,factory:i.\u0275fac}),i})();const Q9={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},Nwe={parse:{dateInput:Q9},display:{dateInput:Q9,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Owe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[{provide:Kw,useClass:Lwe}],imports:[FG]}),i})(),Rwe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[{provide:G9,useValue:Nwe}],imports:[Owe]}),i})();class qp{}qp.\u0275fac=function(t){return new(t||qp)},qp.\u0275mod=Dt({type:qp}),qp.\u0275inj=St({imports:[TL,d9,cO,Ik]});class Pwe{constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}class $p{constructor(){this.logs=[],this.errors=[]}}$p.\u0275fac=function(t){return new(t||$p)},$p.\u0275prov=Ke({token:$p,factory:$p.\u0275fac,providedIn:"root"});class Kp extends NL{constructor(t,e){super(t),this.platformId=t,this.debugLog=e}writeMessage(t,e){super.writeMessage(t,e),this.debugLog.logs.length>100&&this.resize(this.debugLog.logs,80,null),this.debugLog.errors.length>100&&this.resize(this.debugLog.errors,80,null),this.debugLog.logs.push(t),t.level>Kr.WARN&&this.debugLog.errors.push(t)}resize(t,e,n){for(;t.length>e;)t.shift();for(;t.lengthconsole.error(i))},5521:(we,A)=>{"use strict";function I(ae){if(!Number.isSafeInteger(ae))throw new Error(`Wrong integer: ${ae}`)}function T(...ae){const me=(Ye,Re)=>at=>Ye(Re(at));return{encode:Array.from(ae).reverse().reduce((Ye,Re)=>Ye?me(Ye,Re.encode):Re.encode,void 0),decode:ae.reduce((Ye,Re)=>Ye?me(Ye,Re.decode):Re.decode,void 0)}}function g(ae){return{encode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("alphabet.encode input should be an array of numbers");return me.map(ge=>{if(I(ge),ge<0||ge>=ae.length)throw new Error(`Digit index outside alphabet: ${ge} (alphabet: ${ae.length})`);return ae[ge]})},decode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("alphabet.decode input should be array of strings");return me.map(ge=>{if("string"!=typeof ge)throw new Error(`alphabet.decode: not string element=${ge}`);const ve=ae.indexOf(ge);if(-1===ve)throw new Error(`Unknown letter: "${ge}". Allowed: ${ae}`);return ve})}}}function y(ae=""){if("string"!=typeof ae)throw new Error("join separator should be string");return{encode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("join.encode input should be array of strings");for(let ge of me)if("string"!=typeof ge)throw new Error(`join.encode: non-string input=${ge}`);return me.join(ae)},decode:me=>{if("string"!=typeof me)throw new Error("join.decode input should be string");return me.split(ae)}}}function b(ae,me="="){if(I(ae),"string"!=typeof me)throw new Error("padding chr should be string");return{encode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let ve of ge)if("string"!=typeof ve)throw new Error(`padding.encode: non-string input=${ve}`);for(;ge.length*ae%8;)ge.push(me);return ge},decode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let Ye of ge)if("string"!=typeof Ye)throw new Error(`padding.decode: non-string input=${Ye}`);let ve=ge.length;if(ve*ae%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;ve>0&&ge[ve-1]===me;ve--)if(!((ve-1)*ae%8))throw new Error("Invalid padding: string has too much padding");return ge.slice(0,ve)}}}function C(ae){if("function"!=typeof ae)throw new Error("normalize fn should be function");return{encode:me=>me,decode:me=>ae(me)}}function D(ae,me,ge){if(me<2)throw new Error(`convertRadix: wrong from=${me}, base cannot be less than 2`);if(ge<2)throw new Error(`convertRadix: wrong to=${ge}, base cannot be less than 2`);if(!Array.isArray(ae))throw new Error("convertRadix: data should be array");if(!ae.length)return[];let ve=0;const Ye=[],Re=Array.from(ae);for(Re.forEach(at=>{if(I(at),at<0||at>=me)throw new Error(`Wrong integer: ${at}`)});;){let at=0,ht=!0;for(let Et=ve;Etme?N(me,ae%me):ae,B=(ae,me)=>ae+(me-N(ae,me));function R(ae,me,ge,ve){if(!Array.isArray(ae))throw new Error("convertRadix2: data should be array");if(me<=0||me>32)throw new Error(`convertRadix2: wrong from=${me}`);if(ge<=0||ge>32)throw new Error(`convertRadix2: wrong to=${ge}`);if(B(me,ge)>32)throw new Error(`convertRadix2: carry overflow from=${me} to=${ge} carryBits=${B(me,ge)}`);let Ye=0,Re=0;const at=2**ge-1,ht=[];for(const Et of ae){if(I(Et),Et>=2**me)throw new Error(`convertRadix2: invalid data word=${Et} from=${me}`);if(Ye=Ye<32)throw new Error(`convertRadix2: carry overflow pos=${Re} from=${me}`);for(Re+=me;Re>=ge;Re-=ge)ht.push((Ye>>Re-ge&at)>>>0);Ye&=2**Re-1}if(Ye=Ye<=me)throw new Error("Excess padding");if(!ve&&Ye)throw new Error(`Non-zero padding: ${Ye}`);return ve&&Re>0&&ht.push(Ye>>>0),ht}function U(ae){return I(ae),{encode:me=>{if(!(me instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return D(Array.from(me),256,ae)},decode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(D(me,ae,256))}}}function Q(ae,me=!1){if(I(ae),ae<=0||ae>32)throw new Error("radix2: bits should be in (0..32]");if(B(8,ae)>32||B(ae,8)>32)throw new Error("radix2: carry overflow");return{encode:ge=>{if(!(ge instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return R(Array.from(ge),8,ae,!me)},decode:ge=>{if(!Array.isArray(ge)||ge.length&&"number"!=typeof ge[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(R(ge,ae,8,me))}}}function j(ae){if("function"!=typeof ae)throw new Error("unsafeWrapper fn should be function");return function(...me){try{return ae.apply(null,me)}catch{}}}function V(ae,me){if(I(ae),"function"!=typeof me)throw new Error("checksum fn should be function");return{encode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const ve=me(ge).slice(0,ae),Ye=new Uint8Array(ge.length+ae);return Ye.set(ge),Ye.set(ve,ge.length),Ye},decode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const ve=ge.slice(0,-ae),Ye=me(ve).slice(0,ae),Re=ge.slice(-ae);for(let at=0;atae.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),A.base64=T(Q(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),b(6),y("")),A.base64url=T(Q(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),b(6),y(""));const se=ae=>T(U(58),g(ae),y(""));A.base58=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),A.base58flickr=se("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),A.base58xrp=se("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const G=[0,2,3,5,6,7,9,10,11];A.base58xmr={encode(ae){let me="";for(let ge=0;geT(V(4,me=>ae(ae(me))),A.base58);const q=T(g("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),y("")),z=[996825010,642813549,513874426,1027748829,705979059];function de(ae){const me=ae>>25;let ge=(33554431&ae)<<5;for(let ve=0;ve>ve&1)&&(ge^=z[ve]);return ge}function le(ae,me,ge=1){const ve=ae.length;let Ye=1;for(let Re=0;Re126)throw new Error(`Invalid prefix (${ae})`);Ye=de(Ye)^at>>5}Ye=de(Ye);for(let Re=0;ReQt)throw new TypeError(`Wrong string length: ${ft.length} (${ft}). Expected (8..${Qt})`);const He=ft.toLowerCase();if(ft!==He&&ft!==ft.toUpperCase())throw new Error("String must be lowercase or uppercase");const pi=(ft=He).lastIndexOf("1");if(0===pi||-1===pi)throw new Error('Letter "1" must be present between prefix and data only');const nt=ft.slice(0,pi),Yt=ft.slice(pi+1);if(Yt.length<6)throw new Error("Data must be at least 6 characters long");const jt=q.decode(Yt).slice(0,-6),fn=le(nt,jt,me);if(!Yt.endsWith(fn))throw new Error(`Invalid checksum in ${ft}: expected "${fn}"`);return{prefix:nt,words:jt}}return{encode:function at(ft,Qt,He=90){if("string"!=typeof ft)throw new Error("bech32.encode prefix should be string, not "+typeof ft);if(!Array.isArray(Qt)||Qt.length&&"number"!=typeof Qt[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Qt);const pi=ft.length+7+Qt.length;if(!1!==He&&pi>He)throw new TypeError(`Length ${pi} exceeds limit ${He}`);return`${ft=ft.toLowerCase()}1${q.encode(Qt)}${le(ft,Qt,me)}`},decode:ht,decodeToBytes:function Zt(ft){const{prefix:Qt,words:He}=ht(ft,!1);return{prefix:Qt,words:He,bytes:ve(He)}},decodeUnsafe:j(ht),fromWords:ve,fromWordsUnsafe:Re,toWords:Ye}}A.bech32=J("bech32"),A.bech32m=J("bech32m"),A.utf8={encode:ae=>(new TextDecoder).decode(ae),decode:ae=>(new TextEncoder).encode(ae)},A.hex=T(Q(4),g("0123456789abcdef"),y(""),C(ae=>{if("string"!=typeof ae||ae.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof ae} with length ${ae.length}`);return ae.toLowerCase()}));const W={utf8:A.utf8,hex:A.hex,base16:A.base16,base32:A.base32,base64:A.base64,base64url:A.base64url,base58:A.base58,base58xmr:A.base58xmr},ie=`Invalid encoding type. Available types: ${Object.keys(W).join(", ")}`;A.bytesToString=(ae,me)=>{if("string"!=typeof ae||!W.hasOwnProperty(ae))throw new TypeError(ie);if(!(me instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return W[ae].encode(me)},A.str=A.bytesToString,A.stringToBytes=(ae,me)=>{if(!W.hasOwnProperty(ae))throw new TypeError(ie);if("string"!=typeof me)throw new TypeError("stringToBytes() expects string");return W[ae].decode(me)},A.bytes=A.stringToBytes},6837:(we,A,I)=>{"use strict";A.Z1=A._I=A.OF=void 0;const g=I(5729),y=I(9522),b=I(8519),C=I(27),D=I(7507),N=I(5521),B=J=>"\u3042\u3044\u3053\u304f\u3057\u3093"===J[0];function R(J){if("string"!=typeof J)throw new TypeError("Invalid mnemonic type: "+typeof J);return J.normalize("NFKD")}function U(J){const W=R(J),ie=W.split(" ");if(![12,15,18,21,24].includes(ie.length))throw new Error("Invalid mnemonic");return{nfkd:W,words:ie}}function Q(J){g.default.bytes(J,16,20,24,28,32)}A.OF=function j(J,W=128){if(g.default.number(W),W%32!=0||W>256)throw new TypeError("Invalid entropy");return function oe(J,W){return Q(J),se(W).encode(J).join(B(W)?"\u3000":" ")}((0,D.randomBytes)(W/8),J)};const V=J=>{const W=8-J.length/4;return new Uint8Array([(0,b.sha256)(J)[0]>>W<{if("string"!=typeof W)throw new Error(`Wordlist: non-string element: ${W}`)}),N.utils.chain(N.utils.checksum(1,V),N.utils.radix2(11,!0),N.utils.alphabet(J))}A._I=function q(J,W){try{!function G(J,W){const{words:ie}=U(J),ue=se(W).decode(ie);return Q(ue),ue}(J,W)}catch{return!1}return!0};A.Z1=function le(J,W=""){return(0,y.pbkdf2)(C.sha512,U(J).nfkd,(J=>R(`mnemonic${J}`))(W),{c:2048,dkLen:64})}},5729:(we,A)=>{"use strict";function I(N){if(!Number.isSafeInteger(N)||N<0)throw new Error(`Wrong positive integer: ${N}`)}function T(N){if("boolean"!=typeof N)throw new Error(`Expected boolean, not ${N}`)}function g(N,...B){if(!(N instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(B.length>0&&!B.includes(N.length))throw new TypeError(`Expected Uint8Array of length ${B}, not of length=${N.length}`)}function y(N){if("function"!=typeof N||"function"!=typeof N.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");I(N.outputLen),I(N.blockLen)}function b(N,B=!0){if(N.destroyed)throw new Error("Hash instance has been destroyed");if(B&&N.finished)throw new Error("Hash#digest() has already been called")}function C(N,B){g(N);const R=B.outputLen;if(N.length{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SHA2=void 0;const T=I(5729),g=I(7507);A.SHA2=class b extends g.Hash{constructor(D,N,B,R){super(),this.blockLen=D,this.outputLen=N,this.padOffset=B,this.isLE=R,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(D),this.view=(0,g.createView)(this.buffer)}update(D){T.default.exists(this);const{view:N,buffer:B,blockLen:R}=this,U=(D=(0,g.toBytes)(D)).length;for(let Q=0;QR-Q&&(this.process(B,0),Q=0);for(let oe=Q;oe>R&U),j=Number(N&U),se=B?0:4;C.setUint32(D+(B?4:0),Q,B),C.setUint32(D+se,j,B)})(B,R-8,BigInt(8*this.length),U),this.process(B,0);const j=(0,g.createView)(D),V=this.outputLen;if(V%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const se=V/4,G=this.get();if(se>G.length)throw new Error("_sha2: outputLen bigger than state");for(let oe=0;oe{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.add=A.toBig=A.split=A.fromBig=void 0;const I=BigInt(2**32-1),T=BigInt(32);function g(re,ae=!1){return ae?{h:Number(re&I),l:Number(re>>T&I)}:{h:0|Number(re>>T&I),l:0|Number(re&I)}}function y(re,ae=!1){let me=new Uint32Array(re.length),ge=new Uint32Array(re.length);for(let ve=0;ve>>0)+(ge>>>0);return{h:re+me+(ve/2**32|0)|0,l:0|ve}}A.fromBig=g,A.split=y,A.toBig=(re,ae)=>BigInt(re>>>0)<>>0),A.add=q,A.default={fromBig:g,split:y,toBig:A.toBig,shrSH:(re,ae,me)=>re>>>me,shrSL:(re,ae,me)=>re<<32-me|ae>>>me,rotrSH:(re,ae,me)=>re>>>me|ae<<32-me,rotrSL:(re,ae,me)=>re<<32-me|ae>>>me,rotrBH:(re,ae,me)=>re<<64-me|ae>>>me-32,rotrBL:(re,ae,me)=>re>>>me-32|ae<<64-me,rotr32H:(re,ae)=>ae,rotr32L:(re,ae)=>re,rotlSH:(re,ae,me)=>re<>>32-me,rotlSL:(re,ae,me)=>ae<>>32-me,rotlBH:(re,ae,me)=>ae<>>64-me,rotlBL:(re,ae,me)=>re<>>64-me,add:q,add3L:(re,ae,me)=>(re>>>0)+(ae>>>0)+(me>>>0),add3H:(re,ae,me,ge)=>ae+me+ge+(re/2**32|0)|0,add4L:(re,ae,me,ge)=>(re>>>0)+(ae>>>0)+(me>>>0)+(ge>>>0),add4H:(re,ae,me,ge,ve)=>ae+me+ge+ve+(re/2**32|0)|0,add5H:(re,ae,me,ge,ve,Ye)=>ae+me+ge+ve+Ye+(re/2**32|0)|0,add5L:(re,ae,me,ge,ve)=>(re>>>0)+(ae>>>0)+(me>>>0)+(ge>>>0)+(ve>>>0)}},7882:(we,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.crypto=void 0,A.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(we,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.hmac=void 0;const T=I(5729),g=I(7507);class y extends g.Hash{constructor(D,N){super(),this.finished=!1,this.destroyed=!1,T.default.hash(D);const B=(0,g.toBytes)(N);if(this.iHash=D.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const R=this.blockLen,U=new Uint8Array(R);U.set(B.length>R?D.create().update(B).digest():B);for(let Q=0;Qnew y(C,D).update(N).digest(),A.hmac.create=(C,D)=>new y(C,D)},9522:(we,A,I)=>{"use strict";var T=I(9598).default;Object.defineProperty(A,"__esModule",{value:!0}),A.pbkdf2Async=A.pbkdf2=void 0;const g=I(5729),y=I(602),b=I(7507);function C(U,Q,j,V){g.default.hash(U);const se=(0,b.checkOpts)({dkLen:32,asyncTick:10},V),{c:G,dkLen:oe,asyncTick:q}=se;if(g.default.number(G),g.default.number(oe),g.default.number(q),G<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const z=(0,b.toBytes)(Q),de=(0,b.toBytes)(j),le=new Uint8Array(oe),J=y.hmac.create(U,z),W=J._cloneInto().update(de);return{c:G,dkLen:oe,asyncTick:q,DK:le,PRF:J,PRFSalt:W}}function D(U,Q,j,V,se){return U.destroy(),Q.destroy(),V&&V.destroy(),se.fill(0),j}function R(){return(R=T(function*(U,Q,j,V){const{c:se,dkLen:G,asyncTick:oe,DK:q,PRF:z,PRFSalt:de}=C(U,Q,j,V);let le;const J=new Uint8Array(4),W=(0,b.createView)(J),ie=new Uint8Array(z.outputLen);for(let ue=1,re=0;re{z._cloneInto(le).update(ie).digestInto(ie);for(let ge=0;ge{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.sha224=A.sha256=void 0;const T=I(4206),g=I(7507),y=(U,Q,j)=>U&Q^~U&j,b=(U,Q,j)=>U&Q^U&j^Q&j,C=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),D=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),N=new Uint32Array(64);class B extends T.SHA2{constructor(){super(64,32,8,!1),this.A=0|D[0],this.B=0|D[1],this.C=0|D[2],this.D=0|D[3],this.E=0|D[4],this.F=0|D[5],this.G=0|D[6],this.H=0|D[7]}get(){const{A:Q,B:j,C:V,D:se,E:G,F:oe,G:q,H:z}=this;return[Q,j,V,se,G,oe,q,z]}set(Q,j,V,se,G,oe,q,z){this.A=0|Q,this.B=0|j,this.C=0|V,this.D=0|se,this.E=0|G,this.F=0|oe,this.G=0|q,this.H=0|z}process(Q,j){for(let J=0;J<16;J++,j+=4)N[J]=Q.getUint32(j,!1);for(let J=16;J<64;J++){const W=N[J-15],ie=N[J-2],ue=(0,g.rotr)(W,7)^(0,g.rotr)(W,18)^W>>>3,re=(0,g.rotr)(ie,17)^(0,g.rotr)(ie,19)^ie>>>10;N[J]=re+N[J-7]+ue+N[J-16]|0}let{A:V,B:se,C:G,D:oe,E:q,F:z,G:de,H:le}=this;for(let J=0;J<64;J++){const ie=le+((0,g.rotr)(q,6)^(0,g.rotr)(q,11)^(0,g.rotr)(q,25))+y(q,z,de)+C[J]+N[J]|0,re=((0,g.rotr)(V,2)^(0,g.rotr)(V,13)^(0,g.rotr)(V,22))+b(V,se,G)|0;le=de,de=z,z=q,q=oe+ie|0,oe=G,G=se,se=V,V=ie+re|0}V=V+this.A|0,se=se+this.B|0,G=G+this.C|0,oe=oe+this.D|0,q=q+this.E|0,z=z+this.F|0,de=de+this.G|0,le=le+this.H|0,this.set(V,se,G,oe,q,z,de,le)}roundClean(){N.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class R extends B{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}A.sha256=(0,g.wrapConstructor)(()=>new B),A.sha224=(0,g.wrapConstructor)(()=>new R)},27:(we,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.sha384=A.sha512_256=A.sha512_224=A.sha512=A.SHA512=void 0;const T=I(4206),g=I(9027),y=I(7507),[b,C]=g.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(j=>BigInt(j))),D=new Uint32Array(80),N=new Uint32Array(80);class B extends T.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:V,Al:se,Bh:G,Bl:oe,Ch:q,Cl:z,Dh:de,Dl:le,Eh:J,El:W,Fh:ie,Fl:ue,Gh:re,Gl:ae,Hh:me,Hl:ge}=this;return[V,se,G,oe,q,z,de,le,J,W,ie,ue,re,ae,me,ge]}set(V,se,G,oe,q,z,de,le,J,W,ie,ue,re,ae,me,ge){this.Ah=0|V,this.Al=0|se,this.Bh=0|G,this.Bl=0|oe,this.Ch=0|q,this.Cl=0|z,this.Dh=0|de,this.Dl=0|le,this.Eh=0|J,this.El=0|W,this.Fh=0|ie,this.Fl=0|ue,this.Gh=0|re,this.Gl=0|ae,this.Hh=0|me,this.Hl=0|ge}process(V,se){for(let Re=0;Re<16;Re++,se+=4)D[Re]=V.getUint32(se),N[Re]=V.getUint32(se+=4);for(let Re=16;Re<80;Re++){const at=0|D[Re-15],ht=0|N[Re-15],Et=g.default.rotrSH(at,ht,1)^g.default.rotrSH(at,ht,8)^g.default.shrSH(at,ht,7),Zt=g.default.rotrSL(at,ht,1)^g.default.rotrSL(at,ht,8)^g.default.shrSL(at,ht,7),ft=0|D[Re-2],Qt=0|N[Re-2],He=g.default.rotrSH(ft,Qt,19)^g.default.rotrBH(ft,Qt,61)^g.default.shrSH(ft,Qt,6),pi=g.default.rotrSL(ft,Qt,19)^g.default.rotrBL(ft,Qt,61)^g.default.shrSL(ft,Qt,6),nt=g.default.add4L(Zt,pi,N[Re-7],N[Re-16]),Yt=g.default.add4H(nt,Et,He,D[Re-7],D[Re-16]);D[Re]=0|Yt,N[Re]=0|nt}let{Ah:G,Al:oe,Bh:q,Bl:z,Ch:de,Cl:le,Dh:J,Dl:W,Eh:ie,El:ue,Fh:re,Fl:ae,Gh:me,Gl:ge,Hh:ve,Hl:Ye}=this;for(let Re=0;Re<80;Re++){const at=g.default.rotrSH(ie,ue,14)^g.default.rotrSH(ie,ue,18)^g.default.rotrBH(ie,ue,41),ht=g.default.rotrSL(ie,ue,14)^g.default.rotrSL(ie,ue,18)^g.default.rotrBL(ie,ue,41),Et=ie&re^~ie&me,ft=g.default.add5L(Ye,ht,ue&ae^~ue&ge,C[Re],N[Re]),Qt=g.default.add5H(ft,ve,at,Et,b[Re],D[Re]),He=0|ft,pi=g.default.rotrSH(G,oe,28)^g.default.rotrBH(G,oe,34)^g.default.rotrBH(G,oe,39),nt=g.default.rotrSL(G,oe,28)^g.default.rotrBL(G,oe,34)^g.default.rotrBL(G,oe,39),Yt=G&q^G&de^q&de,jt=oe&z^oe&le^z≤ve=0|me,Ye=0|ge,me=0|re,ge=0|ae,re=0|ie,ae=0|ue,({h:ie,l:ue}=g.default.add(0|J,0|W,0|Qt,0|He)),J=0|de,W=0|le,de=0|q,le=0|z,q=0|G,z=0|oe;const fn=g.default.add3L(He,nt,jt);G=g.default.add3H(fn,Qt,pi,Yt),oe=0|fn}({h:G,l:oe}=g.default.add(0|this.Ah,0|this.Al,0|G,0|oe)),({h:q,l:z}=g.default.add(0|this.Bh,0|this.Bl,0|q,0|z)),({h:de,l:le}=g.default.add(0|this.Ch,0|this.Cl,0|de,0|le)),({h:J,l:W}=g.default.add(0|this.Dh,0|this.Dl,0|J,0|W)),({h:ie,l:ue}=g.default.add(0|this.Eh,0|this.El,0|ie,0|ue)),({h:re,l:ae}=g.default.add(0|this.Fh,0|this.Fl,0|re,0|ae)),({h:me,l:ge}=g.default.add(0|this.Gh,0|this.Gl,0|me,0|ge)),({h:ve,l:Ye}=g.default.add(0|this.Hh,0|this.Hl,0|ve,0|Ye)),this.set(G,oe,q,z,de,le,J,W,ie,ue,re,ae,me,ge,ve,Ye)}roundClean(){D.fill(0),N.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}A.SHA512=B;class R extends B{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class U extends B{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class Q extends B{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}A.sha512=(0,y.wrapConstructor)(()=>new B),A.sha512_224=(0,y.wrapConstructor)(()=>new R),A.sha512_256=(0,y.wrapConstructor)(()=>new U),A.sha384=(0,y.wrapConstructor)(()=>new Q)},7507:(we,A,I)=>{"use strict";var T=I(9598).default;Object.defineProperty(A,"__esModule",{value:!0}),A.randomBytes=A.wrapConstructorWithOpts=A.wrapConstructor=A.checkOpts=A.Hash=A.concatBytes=A.toBytes=A.utf8ToBytes=A.asyncLoop=A.nextTick=A.hexToBytes=A.bytesToHex=A.isLE=A.rotr=A.createView=A.u32=A.u8=void 0;const g=I(7882);if(A.u8=W=>new Uint8Array(W.buffer,W.byteOffset,W.byteLength),A.u32=W=>new Uint32Array(W.buffer,W.byteOffset,Math.floor(W.byteLength/4)),A.createView=W=>new DataView(W.buffer,W.byteOffset,W.byteLength),A.rotr=(W,ie)=>W<<32-ie|W>>>ie,A.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!A.isLE)throw new Error("Non little-endian hardware is not supported");const N=Array.from({length:256},(W,ie)=>ie.toString(16).padStart(2,"0"));function j(){return(j=T(function*(W,ie,ue){let re=Date.now();for(let ae=0;ae=0&&mere instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===W.length)return W[0];const ie=W.reduce((re,ae)=>re+ae.length,0),ue=new Uint8Array(ie);for(let re=0,ae=0;re"[object Object]"===Object.prototype.toString.call(W)&&W.constructor===Object)(ie)))throw new TypeError("Options should be object or undefined");return Object.assign(W,ie)},A.wrapConstructor=function de(W){const ie=re=>W().update(se(re)).digest(),ue=W();return ie.outputLen=ue.outputLen,ie.blockLen=ue.blockLen,ie.create=()=>W(),ie},A.wrapConstructorWithOpts=function le(W){const ie=(re,ae)=>W(ae).update(se(re)).digest(),ue=W({});return ie.outputLen=ue.outputLen,ie.blockLen=ue.blockLen,ie.create=re=>W(re),ie},A.randomBytes=function J(W=32){if(g.crypto.web)return g.crypto.web.getRandomValues(new Uint8Array(W));if(g.crypto.node)return new Uint8Array(g.crypto.node.randomBytes(W).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(we,A)=>{"use strict";A.U=void 0,A.U="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},5834:(we,A,I)=>{"use strict";var T=I(5203),g=I(5685),y=g(T("String.prototype.indexOf"));we.exports=function(C,D){var N=T(C,!!D);return"function"==typeof N&&y(C,".prototype.")>-1?g(N):N}},5685:(we,A,I)=>{"use strict";var T=I(4444),g=I(5203),y=g("%Function.prototype.apply%"),b=g("%Function.prototype.call%"),C=g("%Reflect.apply%",!0)||T.call(b,y),D=g("%Object.getOwnPropertyDescriptor%",!0),N=g("%Object.defineProperty%",!0),B=g("%Math.max%");if(N)try{N({},"a",{value:1})}catch{N=null}we.exports=function(Q){var j=C(T,b,arguments);return D&&N&&D(j,"length").configurable&&N(j,"length",{value:1+B(0,Q.length-(arguments.length-1))}),j};var R=function(){return C(T,y,arguments)};N?N(we.exports,"apply",{value:R}):we.exports.apply=R},4999:we=>{"use strict";var A=function(q){return function I(oe){return!!oe&&"object"==typeof oe}(q)&&!function T(oe){var q=Object.prototype.toString.call(oe);return"[object RegExp]"===q||"[object Date]"===q||function b(oe){return oe.$$typeof===y}(oe)}(q)},y="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(oe,q){return!1!==q.clone&&q.isMergeableObject(oe)?se(function C(oe){return Array.isArray(oe)?[]:{}}(oe),oe,q):oe}function N(oe,q,z){return oe.concat(q).map(function(de){return D(de,z)})}function U(oe){return Object.keys(oe).concat(function R(oe){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(oe).filter(function(q){return oe.propertyIsEnumerable(q)}):[]}(oe))}function Q(oe,q){try{return q in oe}catch{return!1}}function se(oe,q,z){(z=z||{}).arrayMerge=z.arrayMerge||N,z.isMergeableObject=z.isMergeableObject||A,z.cloneUnlessOtherwiseSpecified=D;var de=Array.isArray(q);return de===Array.isArray(oe)?de?z.arrayMerge(oe,q,z):function V(oe,q,z){var de={};return z.isMergeableObject(oe)&&U(oe).forEach(function(le){de[le]=D(oe[le],z)}),U(q).forEach(function(le){(function j(oe,q){return Q(oe,q)&&!(Object.hasOwnProperty.call(oe,q)&&Object.propertyIsEnumerable.call(oe,q))})(oe,le)||(de[le]=Q(oe,le)&&z.isMergeableObject(q[le])?function B(oe,q){if(!q.customMerge)return se;var z=q.customMerge(oe);return"function"==typeof z?z:se}(le,z)(oe[le],q[le],z):D(q[le],z))}),de}(oe,q,z):D(q,z)}se.all=function(q,z){if(!Array.isArray(q))throw new Error("first argument should be an array");return q.reduce(function(de,le){return se(de,le,z)},{})},we.exports=se},4901:we=>{"use strict";var A={single_source_shortest_paths:function(I,T,g){var y={},b={};b[T]=0;var D,N,B,R,U,j,C=A.PriorityQueue.make();for(C.push(T,0);!C.empty();)for(B in R=(D=C.pop()).cost,U=I[N=D.value]||{})U.hasOwnProperty(B)&&(j=R+U[B],(typeof b[B]>"u"||b[B]>j)&&(b[B]=j,C.push(B,j),y[B]=N));if(typeof g<"u"&&typeof b[g]>"u"){var G=["Could not find a path from ",T," to ",g,"."].join("");throw new Error(G)}return y},extract_shortest_path_from_predecessor_list:function(I,T){for(var g=[],y=T;y;)g.push(y),y=I[y];return g.reverse(),g},find_path:function(I,T,g){var y=A.single_source_shortest_paths(I,T,g);return A.extract_shortest_path_from_predecessor_list(y,g)},PriorityQueue:{make:function(I){var y,T=A.PriorityQueue,g={};for(y in I=I||{},T)T.hasOwnProperty(y)&&(g[y]=T[y]);return g.queue=[],g.sorter=I.sorter||T.default_sorter,g},default_sorter:function(I,T){return I.cost-T.cost},push:function(I,T){this.queue.push({value:I,cost:T}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};we.exports=A},6316:(we,A)=>{"use strict";var I,g;Object.defineProperty(A,"__esModule",{value:!0}),A.Doctype=A.CDATA=A.Tag=A.Style=A.Script=A.Comment=A.Directive=A.Text=A.Root=A.isTag=A.ElementType=void 0,(g=I=A.ElementType||(A.ElementType={})).Root="root",g.Text="text",g.Directive="directive",g.Comment="comment",g.Script="script",g.Style="style",g.Tag="tag",g.CDATA="cdata",g.Doctype="doctype",A.isTag=function T(g){return g.type===I.Tag||g.type===I.Script||g.type===I.Style},A.Root=I.Root,A.Text=I.Text,A.Directive=I.Directive,A.Comment=I.Comment,A.Script=I.Script,A.Style=I.Style,A.Tag=I.Tag,A.CDATA=I.CDATA,A.Doctype=I.Doctype},8419:we=>{"use strict";we.exports=function(I){for(var T=[],g=I.length,y=0;y=55296&&b<=56319&&g>y+1){var C=I.charCodeAt(y+1);C>=56320&&C<=57343&&(b=1024*(b-55296)+C-56320+65536,y+=1)}b<128?T.push(b):b<2048?(T.push(b>>6|192),T.push(63&b|128)):b<55296||b>=57344&&b<65536?(T.push(b>>12|224),T.push(b>>6&63|128),T.push(63&b|128)):b>=65536&&b<=1114111?(T.push(b>>18|240),T.push(b>>12&63|128),T.push(b>>6&63|128),T.push(63&b|128)):T.push(239,191,189)}return new Uint8Array(T).buffer}},3457:we=>{"use strict";var A="Function.prototype.bind called on incompatible ",I=Array.prototype.slice,T=Object.prototype.toString,g="[object Function]";we.exports=function(b){var C=this;if("function"!=typeof C||T.call(C)!==g)throw new TypeError(A+C);for(var N,D=I.call(arguments,1),R=Math.max(0,C.length-D.length),U=[],Q=0;Q{"use strict";var T=I(3457);we.exports=Function.prototype.bind||T},5203:(we,A,I)=>{"use strict";var T,g=SyntaxError,y=Function,b=TypeError,C=function(me){try{return y('"use strict"; return ('+me+").constructor;")()}catch{}},D=Object.getOwnPropertyDescriptor;if(D)try{D({},"")}catch{D=null}var N=function(){throw new b},B=D?function(){try{return N}catch{try{return D(arguments,"callee").get}catch{return N}}}():N,R=I(2969)(),U=Object.getPrototypeOf||function(me){return me.__proto__},Q={},j=typeof Uint8Array>"u"?T:U(Uint8Array),V={"%AggregateError%":typeof AggregateError>"u"?T:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?T:ArrayBuffer,"%ArrayIteratorPrototype%":R?U([][Symbol.iterator]()):T,"%AsyncFromSyncIteratorPrototype%":T,"%AsyncFunction%":Q,"%AsyncGenerator%":Q,"%AsyncGeneratorFunction%":Q,"%AsyncIteratorPrototype%":Q,"%Atomics%":typeof Atomics>"u"?T:Atomics,"%BigInt%":typeof BigInt>"u"?T:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?T:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?T:Float32Array,"%Float64Array%":typeof Float64Array>"u"?T:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?T:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":Q,"%Int8Array%":typeof Int8Array>"u"?T:Int8Array,"%Int16Array%":typeof Int16Array>"u"?T:Int16Array,"%Int32Array%":typeof Int32Array>"u"?T:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R?U(U([][Symbol.iterator]())):T,"%JSON%":"object"==typeof JSON?JSON:T,"%Map%":typeof Map>"u"?T:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R?T:U((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?T:Promise,"%Proxy%":typeof Proxy>"u"?T:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?T:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?T:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R?T:U((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?T:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R?U(""[Symbol.iterator]()):T,"%Symbol%":R?Symbol:T,"%SyntaxError%":g,"%ThrowTypeError%":B,"%TypedArray%":j,"%TypeError%":b,"%Uint8Array%":typeof Uint8Array>"u"?T:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?T:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?T:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?T:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?T:WeakMap,"%WeakRef%":typeof WeakRef>"u"?T:WeakRef,"%WeakSet%":typeof WeakSet>"u"?T:WeakSet},se=function me(ge){var ve;if("%AsyncFunction%"===ge)ve=C("async function () {}");else if("%GeneratorFunction%"===ge)ve=C("function* () {}");else if("%AsyncGeneratorFunction%"===ge)ve=C("async function* () {}");else if("%AsyncGenerator%"===ge){var Ye=me("%AsyncGeneratorFunction%");Ye&&(ve=Ye.prototype)}else if("%AsyncIteratorPrototype%"===ge){var Re=me("%AsyncGenerator%");Re&&(ve=U(Re.prototype))}return V[ge]=ve,ve},G={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},oe=I(4444),q=I(3164),z=oe.call(Function.call,Array.prototype.concat),de=oe.call(Function.apply,Array.prototype.splice),le=oe.call(Function.call,String.prototype.replace),J=oe.call(Function.call,String.prototype.slice),W=oe.call(Function.call,RegExp.prototype.exec),ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,re=function(ge){var ve=J(ge,0,1),Ye=J(ge,-1);if("%"===ve&&"%"!==Ye)throw new g("invalid intrinsic syntax, expected closing `%`");if("%"===Ye&&"%"!==ve)throw new g("invalid intrinsic syntax, expected opening `%`");var Re=[];return le(ge,ie,function(at,ht,Et,Zt){Re[Re.length]=Et?le(Zt,ue,"$1"):ht||at}),Re},ae=function(ge,ve){var Re,Ye=ge;if(q(G,Ye)&&(Ye="%"+(Re=G[Ye])[0]+"%"),q(V,Ye)){var at=V[Ye];if(at===Q&&(at=se(Ye)),typeof at>"u"&&!ve)throw new b("intrinsic "+ge+" exists, but is not available. Please file an issue!");return{alias:Re,name:Ye,value:at}}throw new g("intrinsic "+ge+" does not exist!")};we.exports=function(ge,ve){if("string"!=typeof ge||0===ge.length)throw new b("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof ve)throw new b('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,ge))throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ye=re(ge),Re=Ye.length>0?Ye[0]:"",at=ae("%"+Re+"%",ve),ht=at.name,Et=at.value,Zt=!1,ft=at.alias;ft&&(Re=ft[0],de(Ye,z([0,1],ft)));for(var Qt=1,He=!0;Qt=Ye.length){var jt=D(Et,pi);Et=(He=!!jt)&&"get"in jt&&!("originalValue"in jt.get)?jt.get:Et[pi]}else He=q(Et,pi),Et=Et[pi];He&&!Zt&&(V[ht]=Et)}}return Et}},2969:(we,A,I)=>{"use strict";var T=typeof Symbol<"u"&&Symbol,g=I(1983);we.exports=function(){return"function"==typeof T&&"function"==typeof Symbol&&"symbol"==typeof T("foo")&&"symbol"==typeof Symbol("bar")&&g()}},1983:we=>{"use strict";we.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var I={},T=Symbol("test"),g=Object(T);if("string"==typeof T||"[object Symbol]"!==Object.prototype.toString.call(T)||"[object Symbol]"!==Object.prototype.toString.call(g))return!1;for(T in I[T]=42,I)return!1;if("function"==typeof Object.keys&&0!==Object.keys(I).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(I).length)return!1;var b=Object.getOwnPropertySymbols(I);if(1!==b.length||b[0]!==T||!Object.prototype.propertyIsEnumerable.call(I,T))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var C=Object.getOwnPropertyDescriptor(I,T);if(42!==C.value||!0!==C.enumerable)return!1}return!0}},3164:(we,A,I)=>{"use strict";var T=I(4444);we.exports=T.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(we,A){!function(I){"use strict";function T(Y){return null==Y}var g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,s){Y.__proto__=s}||function(Y,s){for(var l in s)s.hasOwnProperty(l)&&(Y[l]=s[l])};var D=function(Y){function s(l){var d=this.constructor,h=Y.call(this,l)||this;return Object.defineProperty(h,"name",{value:d.name,enumerable:!1}),function b(Y,s){var l=Object.setPrototypeOf;l?l(Y,s):Y.__proto__=s}(h,d.prototype),function C(Y,s){void 0===s&&(s=Y.constructor);var l=Error.captureStackTrace;l&&l(Y,s)}(h),h}return function y(Y,s){function l(){this.constructor=Y}g(Y,s),Y.prototype=null===s?Object.create(s):(l.prototype=s.prototype,new l)}(s,Y),s}(Error);let N=(()=>{class Y extends D{constructor(l){super(l),this.message=l}getKind(){return this.constructor.kind}}return Y.kind="Exception",Y})(),B=(()=>{class Y extends N{}return Y.kind="ArgumentException",Y})(),R=(()=>{class Y extends N{}return Y.kind="IllegalArgumentException",Y})();class U{constructor(s){if(this.binarizer=s,null===s)throw new R("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(s,l){return this.binarizer.getBlackRow(s,l)}getBlackMatrix(){return null==this.matrix&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(s,l,d,h){const f=this.binarizer.getLuminanceSource().crop(s,l,d,h);return new U(this.binarizer.createBinarizer(f))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new U(this.binarizer.createBinarizer(s))}rotateCounterClockwise45(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new U(this.binarizer.createBinarizer(s))}toString(){try{return this.getBlackMatrix().toString()}catch{return""}}}let Q=(()=>{class Y extends N{static getChecksumInstance(){return new Y}}return Y.kind="ChecksumException",Y})();class j{constructor(s){this.source=s}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class V{static arraycopy(s,l,d,h,f){for(;f--;)d[h++]=s[l++]}static currentTimeMillis(){return Date.now()}}let se=(()=>{class Y extends N{}return Y.kind="IndexOutOfBoundsException",Y})(),G=(()=>{class Y extends se{constructor(l,d){super(d),this.index=l,this.message=d}}return Y.kind="ArrayIndexOutOfBoundsException",Y})();class oe{static fill(s,l){for(let d=0,h=s.length;dd)throw new R("fromIndex("+l+") > toIndex("+d+")");if(l<0)throw new G(l);if(d>s)throw new G(d)}static asList(...s){return s}static create(s,l,d){return Array.from({length:s}).map(f=>Array.from({length:l}).fill(d))}static createInt32Array(s,l,d){return Array.from({length:s}).map(f=>Int32Array.from({length:l}).fill(d))}static equals(s,l){if(!(s&&l&&s.length&&l.length&&s.length===l.length))return!1;for(let d=0,h=s.length;d>1,w=d(l,s[p]);if(w>0)h=p+1;else{if(!(w<0))return p;f=p-1}}return-h-1}static numberComparator(s,l){return s-l}}class q{static numberOfTrailingZeros(s){let l;if(0===s)return 32;let d=31;return l=s<<16,0!==l&&(d-=16,s=l),l=s<<8,0!==l&&(d-=8,s=l),l=s<<4,0!==l&&(d-=4,s=l),l=s<<2,0!==l&&(d-=2,s=l),d-(s<<1>>>31)}static numberOfLeadingZeros(s){if(0===s)return 32;let l=1;return s>>>16||(l+=16,s<<=16),s>>>24||(l+=8,s<<=8),s>>>28||(l+=4,s<<=4),s>>>30||(l+=2,s<<=2),l-=s>>>31,l}static toHexString(s){return s.toString(16)}static toBinaryString(s){return String(parseInt(String(s),2))}static bitCount(s){return s=(s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135,63&(s+=s>>>8)+(s>>>16)}static truncDivision(s,l){return Math.trunc(s/l)}static parseInt(s,l){return parseInt(s,l)}}q.MIN_VALUE_32_BITS=-2147483648,q.MAX_VALUE=Number.MAX_SAFE_INTEGER;class z{constructor(s,l){void 0===s?(this.size=0,this.bits=new Int32Array(1)):(this.size=s,this.bits=null==l?z.makeArray(s):l)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(s){if(s>32*this.bits.length){const l=z.makeArray(s);V.arraycopy(this.bits,0,l,0,this.bits.length),this.bits=l}}get(s){return 0!=(this.bits[Math.floor(s/32)]&1<<(31&s))}set(s){this.bits[Math.floor(s/32)]|=1<<(31&s)}flip(s){this.bits[Math.floor(s/32)]^=1<<(31&s)}getNextSet(s){const l=this.size;if(s>=l)return l;const d=this.bits;let h=Math.floor(s/32),f=d[h];f&=~((1<<(31&s))-1);const p=d.length;for(;0===f;){if(++h===p)return l;f=d[h]}const w=32*h+q.numberOfTrailingZeros(f);return w>l?l:w}getNextUnset(s){const l=this.size;if(s>=l)return l;const d=this.bits;let h=Math.floor(s/32),f=~d[h];f&=~((1<<(31&s))-1);const p=d.length;for(;0===f;){if(++h===p)return l;f=~d[h]}const w=32*h+q.numberOfTrailingZeros(f);return w>l?l:w}setBulk(s,l){this.bits[Math.floor(s/32)]=l}setRange(s,l){if(lthis.size)throw new R;if(l===s)return;l--;const d=Math.floor(s/32),h=Math.floor(l/32),f=this.bits;for(let p=d;p<=h;p++)f[p]|=(2<<(pd?0:31&s))}clear(){const s=this.bits.length,l=this.bits;for(let d=0;dthis.size)throw new R;if(l===s)return!0;l--;const h=Math.floor(s/32),f=Math.floor(l/32),p=this.bits;for(let w=h;w<=f;w++){const $=(2<<(wh?0:31&s))&4294967295;if((p[w]&$)!==(d?$:0))return!1}return!0}appendBit(s){this.ensureCapacity(this.size+1),s&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(s,l){if(l<0||l>32)throw new R("Num bits must be between 0 and 32");this.ensureCapacity(this.size+l);for(let d=l;d>0;d--)this.appendBit(1==(s>>d-1&1))}appendBitArray(s){const l=s.size;this.ensureCapacity(this.size+l);for(let d=0;d>1&1431655765|(1431655765&p)<<1,p=p>>2&858993459|(858993459&p)<<2,p=p>>4&252645135|(252645135&p)<<4,p=p>>8&16711935|(16711935&p)<<8,p=p>>16&65535|(65535&p)<<16,s[l-f]=p}if(this.size!==32*d){const f=32*d-this.size;let p=s[0]>>>f;for(let w=1;w>>f}s[d-1]=p}this.bits=s}static makeArray(s){return new Int32Array(Math.floor((s+31)/32))}equals(s){return s instanceof z&&this.size===s.size&&oe.equals(this.bits,s.bits)}hashCode(){return 31*this.size+oe.hashCode(this.bits)}toString(){let s="";for(let l=0,d=this.size;l{return(Y=de||(de={}))[Y.OTHER=0]="OTHER",Y[Y.PURE_BARCODE=1]="PURE_BARCODE",Y[Y.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",Y[Y.TRY_HARDER=3]="TRY_HARDER",Y[Y.CHARACTER_SET=4]="CHARACTER_SET",Y[Y.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",Y[Y.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",Y[Y.ASSUME_GS1=7]="ASSUME_GS1",Y[Y.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",Y[Y.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",Y[Y.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS",de;var Y})(),le=de;let J=(()=>{class Y extends N{static getFormatInstance(){return new Y}}return Y.kind="FormatException",Y})();var W=(()=>{return(Y=W||(W={}))[Y.Cp437=0]="Cp437",Y[Y.ISO8859_1=1]="ISO8859_1",Y[Y.ISO8859_2=2]="ISO8859_2",Y[Y.ISO8859_3=3]="ISO8859_3",Y[Y.ISO8859_4=4]="ISO8859_4",Y[Y.ISO8859_5=5]="ISO8859_5",Y[Y.ISO8859_6=6]="ISO8859_6",Y[Y.ISO8859_7=7]="ISO8859_7",Y[Y.ISO8859_8=8]="ISO8859_8",Y[Y.ISO8859_9=9]="ISO8859_9",Y[Y.ISO8859_10=10]="ISO8859_10",Y[Y.ISO8859_11=11]="ISO8859_11",Y[Y.ISO8859_13=12]="ISO8859_13",Y[Y.ISO8859_14=13]="ISO8859_14",Y[Y.ISO8859_15=14]="ISO8859_15",Y[Y.ISO8859_16=15]="ISO8859_16",Y[Y.SJIS=16]="SJIS",Y[Y.Cp1250=17]="Cp1250",Y[Y.Cp1251=18]="Cp1251",Y[Y.Cp1252=19]="Cp1252",Y[Y.Cp1256=20]="Cp1256",Y[Y.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",Y[Y.UTF8=22]="UTF8",Y[Y.ASCII=23]="ASCII",Y[Y.Big5=24]="Big5",Y[Y.GB18030=25]="GB18030",Y[Y.EUC_KR=26]="EUC_KR",W;var Y})();class ie{constructor(s,l,d,...h){this.valueIdentifier=s,this.name=d,this.values="number"==typeof l?Int32Array.from([l]):l,this.otherEncodingNames=h,ie.VALUE_IDENTIFIER_TO_ECI.set(s,this),ie.NAME_TO_ECI.set(d,this);const f=this.values;for(let p=0,w=f.length;p!==w;p++)ie.VALUES_TO_ECI.set(f[p],this);for(const p of h)ie.NAME_TO_ECI.set(p,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(s){if(s<0||s>=900)throw new J("incorect value");const l=ie.VALUES_TO_ECI.get(s);if(void 0===l)throw new J("incorect value");return l}static getCharacterSetECIByName(s){const l=ie.NAME_TO_ECI.get(s);if(void 0===l)throw new J("incorect value");return l}equals(s){if(!(s instanceof ie))return!1;const l=s;return this.getName()===l.getName()}}ie.VALUE_IDENTIFIER_TO_ECI=new Map,ie.VALUES_TO_ECI=new Map,ie.NAME_TO_ECI=new Map,ie.Cp437=new ie(W.Cp437,Int32Array.from([0,2]),"Cp437"),ie.ISO8859_1=new ie(W.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),ie.ISO8859_2=new ie(W.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),ie.ISO8859_3=new ie(W.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),ie.ISO8859_4=new ie(W.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),ie.ISO8859_5=new ie(W.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),ie.ISO8859_6=new ie(W.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),ie.ISO8859_7=new ie(W.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),ie.ISO8859_8=new ie(W.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),ie.ISO8859_9=new ie(W.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),ie.ISO8859_10=new ie(W.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),ie.ISO8859_11=new ie(W.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),ie.ISO8859_13=new ie(W.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),ie.ISO8859_14=new ie(W.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),ie.ISO8859_15=new ie(W.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),ie.ISO8859_16=new ie(W.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),ie.SJIS=new ie(W.SJIS,20,"SJIS","Shift_JIS"),ie.Cp1250=new ie(W.Cp1250,21,"Cp1250","windows-1250"),ie.Cp1251=new ie(W.Cp1251,22,"Cp1251","windows-1251"),ie.Cp1252=new ie(W.Cp1252,23,"Cp1252","windows-1252"),ie.Cp1256=new ie(W.Cp1256,24,"Cp1256","windows-1256"),ie.UnicodeBigUnmarked=new ie(W.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),ie.UTF8=new ie(W.UTF8,26,"UTF8","UTF-8"),ie.ASCII=new ie(W.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),ie.Big5=new ie(W.Big5,28,"Big5"),ie.GB18030=new ie(W.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),ie.EUC_KR=new ie(W.EUC_KR,30,"EUC_KR","EUC-KR");let ue=(()=>{class Y extends N{}return Y.kind="UnsupportedOperationException",Y})();class re{static decode(s,l){const d=this.encodingName(l);return this.customDecoder?this.customDecoder(s,d):typeof TextDecoder>"u"||this.shouldDecodeOnFallback(d)?this.decodeFallback(s,d):new TextDecoder(d).decode(s)}static shouldDecodeOnFallback(s){return!re.isBrowser()&&"ISO-8859-1"===s}static encode(s,l){const d=this.encodingName(l);return this.customEncoder?this.customEncoder(s,d):typeof TextEncoder>"u"?this.encodeFallback(s):(new TextEncoder).encode(s)}static isBrowser(){return typeof window<"u"&&"[object Window]"==={}.toString.call(window)}static encodingName(s){return"string"==typeof s?s:s.getName()}static encodingCharacterSet(s){return s instanceof ie?s:ie.getCharacterSetECIByName(s)}static decodeFallback(s,l){const d=this.encodingCharacterSet(l);if(re.isDecodeFallbackSupported(d)){let h="";for(let f=0,p=s.length;f3&&239===s[0]&&187===s[1]&&191===s[2];for(let Gt=0;Gt0?128&ct?w--:p=!1:128&ct&&(64&ct?(w++,32&ct?(w++,16&ct?(w++,8&ct?p=!1:$++):H++):M++):p=!1)),h&&(ct>127&&ct<160?h=!1:ct>159&&(ct<192||215===ct||247===ct)&&et++),f&&(he>0?ct<64||127===ct||ct>252?f=!1:he--:128===ct||160===ct||ct>239?f=!1:ct>160&&ct<224?(_e++,Ne=0,ke++,ke>ze&&(ze=ke)):ct>127?(he++,ke=0,Ne++,Ne>je&&(je=Ne)):(ke=0,Ne=0))}return p&&w>0&&(p=!1),f&&he>0&&(f=!1),p&&(kt||M+H+$>0)?ae.UTF8:f&&(ae.ASSUME_SHIFT_JIS||ze>=3||je>=3)?ae.SHIFT_JIS:h&&f?2===ze&&2===_e||10*et>=d?ae.SHIFT_JIS:ae.ISO88591:h?ae.ISO88591:f?ae.SHIFT_JIS:p?ae.UTF8:ae.PLATFORM_DEFAULT_ENCODING}static format(s,...l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function h(p,w,M,H,$,he){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let ke,_e=$?parseInt($.substr(1)):void 0;switch(he){case"s":ke=l[d];break;case"c":ke=l[d][0];break;case"f":ke=parseFloat(l[d]).toFixed(p);break;case"p":ke=parseFloat(l[d]).toPrecision(p);break;case"e":ke=parseFloat(l[d]).toExponential(p);break;case"x":ke=parseInt(l[d]).toString(_e||16);break;case"d":ke=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}ke="object"==typeof ke?JSON.stringify(ke):(+ke).toString(_e);let Ne=parseInt(M),ze=M&&M[0]+""=="0"?"0":" ";for(;ke.lengthp){if(-1===w)w=f-p;else if(f-p!==w)throw new R("row lengths do not match");p=f,M++}H++}else if(s.substring(H,H+l.length)===l)H+=l.length,h[f]=!0,f++;else{if(s.substring(H,H+d.length)!==d)throw new R("illegal character encountered: "+s.substring(H));H+=d.length,h[f]=!1,f++}if(f>p){if(-1===w)w=f-p;else if(f-p!==w)throw new R("row lengths do not match");M++}const $=new ge(w,M);for(let he=0;he>>(31&s)&1)}set(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]|=1<<(31&s)&4294967295}unset(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]&=~(1<<(31&s)&4294967295)}flip(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]^=1<<(31&s)&4294967295}xor(s){if(this.width!==s.getWidth()||this.height!==s.getHeight()||this.rowSize!==s.getRowSize())throw new R("input matrix dimensions do not match");const l=new z(Math.floor(this.width/32)+1),d=this.rowSize,h=this.bits;for(let f=0,p=this.height;fthis.height||f>this.width)throw new R("The region must fit inside the matrix");const w=this.rowSize,M=this.bits;for(let H=l;HM&&(M=H),32*$w){let _e=31;for(;!(he>>>_e);)_e--;32*$+_e>w&&(w=32*$+_e)}}}return w=0&&0===l[d];)d--;if(d<0)return null;const h=Math.floor(d/s);let f=32*Math.floor(d%s);const p=l[d];let w=31;for(;!(p>>>w);)w--;return f+=w,Int32Array.from([f,h])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(s){return s instanceof ge&&this.width===s.width&&this.height===s.height&&this.rowSize===s.rowSize&&oe.equals(this.bits,s.bits)}hashCode(){let s=this.width;return s=31*s+this.width,s=31*s+this.height,s=31*s+this.rowSize,s=31*s+oe.hashCode(this.bits),s}toString(s="X ",l=" ",d="\n"){return this.buildToString(s,l,d)}buildToString(s,l,d){let h=new me;for(let f=0,p=this.height;f{class Y extends N{static getNotFoundInstance(){return new Y}}return Y.kind="NotFoundException",Y})();class Ye extends j{constructor(s){super(s),this.luminances=Ye.EMPTY,this.buckets=new Int32Array(Ye.LUMINANCE_BUCKETS)}getBlackRow(s,l){const d=this.getLuminanceSource(),h=d.getWidth();null==l||l.getSize()>Ye.LUMINANCE_SHIFT]++;const w=Ye.estimateBlackPoint(p);if(h<3)for(let M=0;M>Ye.LUMINANCE_SHIFT]++}const p=Ye.estimateBlackPoint(f),w=s.getMatrix();for(let M=0;Mf&&(h=$,f=s[$]),s[$]>d&&(d=s[$]);let p=0,w=0;for(let $=0;$w&&(p=$,w=_e)}if(h>p){const $=h;h=p,p=$}if(p-h<=l/16)throw new ve;let M=p-1,H=-1;for(let $=p-1;$>h;$--){const he=$-h,_e=he*he*(p-$)*(d-s[$]);_e>H&&(M=$,H=_e)}return M<=Re.MINIMUM_DIMENSION&&d>=Re.MINIMUM_DIMENSION){const h=s.getMatrix();let f=l>>Re.BLOCK_SIZE_POWER;l&Re.BLOCK_SIZE_MASK&&f++;let p=d>>Re.BLOCK_SIZE_POWER;d&Re.BLOCK_SIZE_MASK&&p++;const w=Re.calculateBlackPoints(h,f,p,l,d),M=new ge(l,d);Re.calculateThresholdForBlock(h,f,p,l,d,w,M),this.matrix=M}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(s){return new Re(s)}static calculateThresholdForBlock(s,l,d,h,f,p,w){const M=f-Re.BLOCK_SIZE,H=h-Re.BLOCK_SIZE;for(let $=0;$M&&(he=M);const _e=Re.cap($,2,d-3);for(let ke=0;keH&&(Ne=H);const ze=Re.cap(ke,2,l-3);let je=0;for(let kt=-2;kt<=2;kt++){const Gt=p[_e+kt];je+=Gt[ze-2]+Gt[ze-1]+Gt[ze]+Gt[ze+1]+Gt[ze+2]}Re.thresholdBlock(s,Ne,he,je/25,h,w)}}}static cap(s,l,d){return sd?d:s}static thresholdBlock(s,l,d,h,f,p){for(let w=0,M=d*f+l;wp&&($=p);for(let he=0;hew&&(_e=w);let ke=0,Ne=255,ze=0;for(let et=0,kt=$*h+_e;etze&&(ze=ct)}if(ze-Ne>Re.MIN_DYNAMIC_RANGE)for(et++,kt+=h;et>2*Re.BLOCK_SIZE_POWER;if(ze-Ne<=Re.MIN_DYNAMIC_RANGE&&(je=Ne/2,H>0&&he>0)){const et=(M[H-1][he]+2*M[H][he-1]+M[H-1][he-1])/4;Ne>10,h[p]=M}return h}getRow(s,l){if(s<0||s>=this.getHeight())throw new R("Requested row is outside the image: "+s);const d=this.getWidth(),h=s*d;return null===l?l=this.buffer.slice(h,h+d):(l.lengthnew Zt(l.deviceId,l.label))})}findDeviceById(s){return ft(this,void 0,void 0,function*(){const l=yield this.listVideoInputDevices();return l?l.find(d=>d.deviceId===s):null})}decodeFromInputVideoDevice(s,l){return ft(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(s,l)})}decodeOnceFromVideoDevice(s,l){return ft(this,void 0,void 0,function*(){let d;this.reset(),d=s?{deviceId:{exact:s}}:{facingMode:"environment"};const h={video:d};return yield this.decodeOnceFromConstraints(h,l)})}decodeOnceFromConstraints(s,l){return ft(this,void 0,void 0,function*(){const d=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeOnceFromStream(d,l)})}decodeOnceFromStream(s,l){return ft(this,void 0,void 0,function*(){this.reset();const d=yield this.attachStreamToVideo(s,l);return yield this.decodeOnce(d)})}decodeFromInputVideoDeviceContinuously(s,l,d){return ft(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(s,l,d)})}decodeFromVideoDevice(s,l,d){return ft(this,void 0,void 0,function*(){let h;h=s?{deviceId:{exact:s}}:{facingMode:"environment"};const f={video:h};return yield this.decodeFromConstraints(f,l,d)})}decodeFromConstraints(s,l,d){return ft(this,void 0,void 0,function*(){const h=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeFromStream(h,l,d)})}decodeFromStream(s,l,d){return ft(this,void 0,void 0,function*(){this.reset();const h=yield this.attachStreamToVideo(s,l);return yield this.decodeContinuously(h,d)})}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(s,l){return ft(this,void 0,void 0,function*(){const d=this.prepareVideoElement(l);return this.addVideoSource(d,s),this.videoElement=d,this.stream=s,yield this.playVideoOnLoadAsync(d),d})}playVideoOnLoadAsync(s){return new Promise((l,d)=>this.playVideoOnLoad(s,()=>l()))}playVideoOnLoad(s,l){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(s),s.addEventListener("ended",this.videoEndedListener),s.addEventListener("canplay",this.videoCanPlayListener),s.addEventListener("playing",l),this.tryPlayVideo(s)}isVideoPlaying(s){return s.currentTime>0&&!s.paused&&!s.ended&&s.readyState>2}tryPlayVideo(s){return ft(this,void 0,void 0,function*(){if(this.isVideoPlaying(s))console.warn("Trying to play video that is already playing.");else try{yield s.play()}catch{console.warn("It was not possible to play the video.")}})}getMediaElement(s,l){const d=document.getElementById(s);if(!d)throw new B(`element with id '${s}' not found`);if(d.nodeName.toLowerCase()!==l.toLowerCase())throw new B(`element with id '${s}' must be an ${l} element`);return d}decodeFromImage(s,l){if(!s&&!l)throw new B("either imageElement with a src set or an url must be provided");return l&&!s?this.decodeFromImageUrl(l):this.decodeFromImageElement(s)}decodeFromVideo(s,l){if(!s&&!l)throw new B("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrl(l):this.decodeFromVideoElement(s)}decodeFromVideoContinuously(s,l,d){if(void 0===s&&void 0===l)throw new B("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrlContinuously(l,d):this.decodeFromVideoElementContinuously(s,d)}decodeFromImageElement(s){if(!s)throw new B("An image element must be provided.");this.reset();const l=this.prepareImageElement(s);let d;return this.imageElement=l,d=this.isImageLoaded(l)?this.decodeOnce(l,!1,!0):this._decodeOnLoadImage(l),d}decodeFromVideoElement(s){const l=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideo(l)}decodeFromVideoElementContinuously(s,l){const d=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideoContinuously(d,l)}_decodeFromVideoElementSetup(s){if(!s)throw new B("A video element must be provided.");this.reset();const l=this.prepareVideoElement(s);return this.videoElement=l,l}decodeFromImageUrl(s){if(!s)throw new B("An URL must be provided.");this.reset();const l=this.prepareImageElement();this.imageElement=l;const d=this._decodeOnLoadImage(l);return l.src=s,d}decodeFromVideoUrl(s){if(!s)throw new B("An URL must be provided.");this.reset();const l=this.prepareVideoElement(),d=this.decodeFromVideoElement(l);return l.src=s,d}decodeFromVideoUrlContinuously(s,l){if(!s)throw new B("An URL must be provided.");this.reset();const d=this.prepareVideoElement(),h=this.decodeFromVideoElementContinuously(d,l);return d.src=s,h}_decodeOnLoadImage(s){return new Promise((l,d)=>{this.imageLoadedListener=()=>this.decodeOnce(s,!1,!0).then(l,d),s.addEventListener("load",this.imageLoadedListener)})}_decodeOnLoadVideo(s){return ft(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(s),yield this.decodeOnce(s)})}_decodeOnLoadVideoContinuously(s,l){return ft(this,void 0,void 0,function*(){yield this.playVideoOnLoadAsync(s),this.decodeContinuously(s,l)})}isImageLoaded(s){return!(!s.complete||0===s.naturalWidth)}prepareImageElement(s){let l;return typeof s>"u"&&(l=document.createElement("img"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"img")),s instanceof HTMLImageElement&&(l=s),l}prepareVideoElement(s){let l;return!s&&typeof document<"u"&&(l=document.createElement("video"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"video")),s instanceof HTMLVideoElement&&(l=s),l.setAttribute("autoplay","true"),l.setAttribute("muted","true"),l.setAttribute("playsinline","true"),l}decodeOnce(s,l=!0,d=!0){this._stopAsyncDecode=!1;const h=(f,p)=>{if(this._stopAsyncDecode)return p(new ve("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{f(this.decode(s))}catch(w){if(l&&w instanceof ve||(w instanceof Q||w instanceof J)&&d)return setTimeout(h,this._timeBetweenDecodingAttempts,f,p);p(w)}};return new Promise((f,p)=>h(f,p))}decodeContinuously(s,l){this._stopContinuousDecode=!1;const d=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const h=this.decode(s);l(h,null),setTimeout(d,this.timeBetweenScansMillis)}catch(h){l(null,h),(h instanceof Q||h instanceof J||h instanceof ve)&&setTimeout(d,this._timeBetweenDecodingAttempts)}};d()}decode(s){const l=this.createBinaryBitmap(s);return this.decodeBitmap(l)}_isHTMLVideoElement(s){return 0!==s.videoWidth}drawFrameOnCanvas(s,l,d){l||(l={sx:0,sy:0,sWidth:s.videoWidth,sHeight:s.videoHeight,dx:0,dy:0,dWidth:s.videoWidth,dHeight:s.videoHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}drawImageOnCanvas(s,l,d=this.captureCanvasContext){l||(l={sx:0,sy:0,sWidth:s.naturalWidth,sHeight:s.naturalHeight,dx:0,dy:0,dWidth:s.naturalWidth,dHeight:s.naturalHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}createBinaryBitmap(s){this.getCaptureCanvasContext(s),this._isHTMLVideoElement(s)?this.drawFrameOnCanvas(s):this.drawImageOnCanvas(s);const d=this.getCaptureCanvas(s),h=new Et(d),f=new Re(h);return new U(f)}getCaptureCanvasContext(s){if(!this.captureCanvasContext){const d=this.getCaptureCanvas(s).getContext("2d");this.captureCanvasContext=d}return this.captureCanvasContext}getCaptureCanvas(s){if(!this.captureCanvas){const l=this.createCaptureCanvas(s);this.captureCanvas=l}return this.captureCanvas}decodeBitmap(s){return this.reader.decode(s,this._hints)}createCaptureCanvas(s){if(typeof document>"u")return this._destroyCaptureCanvas(),null;const l=document.createElement("canvas");let d,h;return typeof s<"u"&&(s instanceof HTMLVideoElement?(d=s.videoWidth,h=s.videoHeight):s instanceof HTMLImageElement&&(d=s.naturalWidth||s.width,h=s.naturalHeight||s.height)),l.style.width=d+"px",l.style.height=h+"px",l.width=d,l.height=h,l}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach(s=>s.stop()),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()}reset(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()}_destroyVideoElement(){this.videoElement&&(typeof this.videoEndedListener<"u"&&this.videoElement.removeEventListener("ended",this.videoEndedListener),typeof this.videoPlayingEventListener<"u"&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),typeof this.videoCanPlayListener<"u"&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)}_destroyImageElement(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)}_destroyCaptureCanvas(){this.captureCanvasContext=void 0,this.captureCanvas=void 0}addVideoSource(s,l){try{s.srcObject=l}catch{s.src=URL.createObjectURL(l)}}cleanVideoSource(s){try{s.srcObject=null}catch{s.src=""}this.videoElement.removeAttribute("src")}}class He{constructor(s,l,d=(null==l?0:8*l.length),h,f,p=V.currentTimeMillis()){this.text=s,this.rawBytes=l,this.numBits=d,this.resultPoints=h,this.format=f,this.timestamp=p,this.text=s,this.rawBytes=l,this.numBits=null==d?null==l?0:8*l.length:d,this.resultPoints=h,this.format=f,this.resultMetadata=null,this.timestamp=null==p?V.currentTimeMillis():p}getText(){return this.text}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}getResultPoints(){return this.resultPoints}getBarcodeFormat(){return this.format}getResultMetadata(){return this.resultMetadata}putMetadata(s,l){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(s,l)}putAllMetadata(s){null!==s&&(this.resultMetadata=null===this.resultMetadata?s:new Map(s))}addResultPoints(s){const l=this.resultPoints;if(null===l)this.resultPoints=s;else if(null!==s&&s.length>0){const d=new Array(l.length+s.length);V.arraycopy(l,0,d,0,l.length),V.arraycopy(s,0,d,l.length,s.length),this.resultPoints=d}}getTimestamp(){return this.timestamp}toString(){return this.text}}var pi=(()=>{return(Y=pi||(pi={}))[Y.AZTEC=0]="AZTEC",Y[Y.CODABAR=1]="CODABAR",Y[Y.CODE_39=2]="CODE_39",Y[Y.CODE_93=3]="CODE_93",Y[Y.CODE_128=4]="CODE_128",Y[Y.DATA_MATRIX=5]="DATA_MATRIX",Y[Y.EAN_8=6]="EAN_8",Y[Y.EAN_13=7]="EAN_13",Y[Y.ITF=8]="ITF",Y[Y.MAXICODE=9]="MAXICODE",Y[Y.PDF_417=10]="PDF_417",Y[Y.QR_CODE=11]="QR_CODE",Y[Y.RSS_14=12]="RSS_14",Y[Y.RSS_EXPANDED=13]="RSS_EXPANDED",Y[Y.UPC_A=14]="UPC_A",Y[Y.UPC_E=15]="UPC_E",Y[Y.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",pi;var Y})(),nt=pi,Yt=(()=>{return(Y=Yt||(Yt={}))[Y.OTHER=0]="OTHER",Y[Y.ORIENTATION=1]="ORIENTATION",Y[Y.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",Y[Y.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",Y[Y.ISSUE_NUMBER=4]="ISSUE_NUMBER",Y[Y.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",Y[Y.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",Y[Y.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",Y[Y.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",Y[Y.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",Y[Y.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY",Yt;var Y})(),jt=Yt;class fn{constructor(s,l,d,h,f=-1,p=-1){this.rawBytes=s,this.text=l,this.byteSegments=d,this.ecLevel=h,this.structuredAppendSequenceNumber=f,this.structuredAppendParity=p,this.numBits=null==s?0:8*s.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(s){this.numBits=s}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(s){this.errorsCorrected=s}getErasures(){return this.erasures}setErasures(s){this.erasures=s}getOther(){return this.other}setOther(s){this.other=s}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class _t{exp(s){return this.expTable[s]}log(s){if(0===s)throw new R;return this.logTable[s]}static addOrSubtract(s,l){return s^l}}class ln{constructor(s,l){if(0===l.length)throw new R;this.field=s;const d=l.length;if(d>1&&0===l[0]){let h=1;for(;hd.length){const p=l;l=d,d=p}let h=new Int32Array(d.length);const f=d.length-l.length;V.arraycopy(d,0,h,0,f);for(let p=f;p=s.getDegree()&&!h.isZero();){const w=h.getDegree()-s.getDegree(),M=l.multiply(h.getCoefficient(h.getDegree()),p),H=s.multiplyByMonomial(w,M),$=l.buildMonomial(w,M);d=d.addOrSubtract($),h=h.addOrSubtract(H)}return[d,h]}toString(){let s="";for(let l=this.getDegree();l>=0;l--){let d=this.getCoefficient(l);if(0!==d){if(d<0?(s+=" - ",d=-d):s.length>0&&(s+=" + "),0===l||1!==d){const h=this.field.log(d);0===h?s+="1":1===h?s+="a":(s+="a^",s+=h)}0!==l&&(1===l?s+="x":(s+="x^",s+=l))}}return s}}let An=(()=>{class Y extends N{}return Y.kind="ArithmeticException",Y})();class Ci extends _t{constructor(s,l,d){super(),this.primitive=s,this.size=l,this.generatorBase=d;const h=new Int32Array(l);let f=1;for(let w=0;w=l&&(f^=s,f&=l-1);this.expTable=h;const p=new Int32Array(l);for(let w=0;w{class Y extends N{}return Y.kind="ReedSolomonException",Y})(),Wt=(()=>{class Y extends N{}return Y.kind="IllegalStateException",Y})();class Ge{constructor(s){this.field=s}decode(s,l){const d=this.field,h=new ln(d,s),f=new Int32Array(l);let p=!0;for(let ke=0;ke=(d/2|0);){let ke=f,Ne=w;if(f=p,w=M,f.isZero())throw new mt("r_{i-1} was zero");p=ke;let ze=h.getZero();const je=f.getCoefficient(f.getDegree()),et=h.inverse(je);for(;p.getDegree()>=f.getDegree()&&!p.isZero();){const kt=p.getDegree()-f.getDegree(),Gt=h.multiply(p.getCoefficient(p.getDegree()),et);ze=ze.addOrSubtract(h.buildMonomial(kt,Gt)),p=p.addOrSubtract(f.multiplyByMonomial(kt,Gt))}if(M=ze.multiply(w).addOrSubtract(Ne),p.getDegree()>=f.getDegree())throw new Wt("Division algorithm failed to reduce polynomial?")}const H=M.getCoefficient(0);if(0===H)throw new mt("sigmaTilde(0) was zero");const $=h.inverse(H);return[M.multiplyScalar($),p.multiplyScalar($)]}findErrorLocations(s){const l=s.getDegree();if(1===l)return Int32Array.from([s.getCoefficient(1)]);const d=new Int32Array(l);let h=0;const f=this.field;for(let p=1;p{return(Y=ot||(ot={}))[Y.UPPER=0]="UPPER",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.DIGIT=3]="DIGIT",Y[Y.PUNCT=4]="PUNCT",Y[Y.BINARY=5]="BINARY",ot;var Y})();let mi=(()=>{class Y{decode(l){this.ddata=l;let d=l.getBits(),h=this.extractBits(d),f=this.correctBits(h),p=Y.convertBoolArrayToByteArray(f),w=Y.getEncodedData(f),M=new fn(p,w,null,null);return M.setNumBits(f.length),M}static highLevelDecode(l){return this.getEncodedData(l)}static getEncodedData(l){let d=l.length,h=ot.UPPER,f=ot.UPPER,p="",w=0;for(;w1,_e,_e+h-1),_e+=h-1;else for(let ze=h-1;ze>=0;--ze)he[_e++]=0!=(Ne&1<=8?Y.readCode(l,d,8):Y.readCode(l,d,h)<<8-h}static convertBoolArrayToByteArray(l){let d=new Uint8Array((l.length+7)/8);for(let h=0;h","?","[","]","{","}","CTRL_UL"],Y.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],Y})();class Kt{constructor(){}static round(s){return NaN===s?0:s<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:s>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:s+(s<0?-.5:.5)|0}static distance(s,l,d,h){const f=s-d,p=l-h;return Math.sqrt(f*f+p*p)}static sum(s){let l=0;for(let d=0,h=s.length;d!==h;d++)l+=s[d];return l}}class si{static floatToIntBits(s){return s}}si.MAX_VALUE=Number.MAX_SAFE_INTEGER;class wt{constructor(s,l){this.x=s,this.y=l}getX(){return this.x}getY(){return this.y}equals(s){return s instanceof wt&&this.x===s.x&&this.y===s.y}hashCode(){return 31*si.floatToIntBits(this.x)+si.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(s){const l=this.distance(s[0],s[1]),d=this.distance(s[1],s[2]),h=this.distance(s[0],s[2]);let f,p,w;if(d>=l&&d>=h?(p=s[0],f=s[1],w=s[2]):h>=d&&h>=l?(p=s[1],f=s[0],w=s[2]):(p=s[2],f=s[0],w=s[1]),this.crossProductZ(f,p,w)<0){const M=f;f=w,w=M}s[0]=f,s[1]=p,s[2]=w}static distance(s,l){return Kt.distance(s.x,s.y,l.x,l.y)}static crossProductZ(s,l,d){const h=l.x,f=l.y;return(d.x-h)*(s.y-f)-(d.y-f)*(s.x-h)}}class mn{constructor(s,l){this.bits=s,this.points=l}getBits(){return this.bits}getPoints(){return this.points}}class Ni extends mn{constructor(s,l,d,h,f){super(s,l),this.compact=d,this.nbDatablocks=h,this.nbLayers=f}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}let Vi=(()=>{class Y{constructor(l,d,h,f){this.image=l,this.height=l.getHeight(),this.width=l.getWidth(),null==d&&(d=Y.INIT_SIZE),null==h&&(h=l.getWidth()/2|0),null==f&&(f=l.getHeight()/2|0);const p=d/2|0;if(this.leftInit=h-p,this.rightInit=h+p,this.upInit=f-p,this.downInit=f+p,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new ve}detect(){let l=this.leftInit,d=this.rightInit,h=this.upInit,f=this.downInit,p=!1,w=!0,M=!1,H=!1,$=!1,he=!1,_e=!1;const ke=this.width,Ne=this.height;for(;w;){w=!1;let ze=!0;for(;(ze||!H)&&d=ke){p=!0;break}let je=!0;for(;(je||!$)&&f=Ne){p=!0;break}let et=!0;for(;(et||!he)&&l>=0;)et=this.containsBlackPoint(h,f,l,!1),et?(l--,w=!0,he=!0):he||l--;if(l<0){p=!0;break}let kt=!0;for(;(kt||!_e)&&h>=0;)kt=this.containsBlackPoint(l,d,h,!0),kt?(h--,w=!0,_e=!0):_e||h--;if(h<0){p=!0;break}w&&(M=!0)}if(!p&&M){const ze=d-l;let je=null;for(let ct=1;null===je&&ctd||M<-1||M>h)throw new ve;f=!1,-1===w?(l[p]=0,f=!0):w===d&&(l[p]=d-1,f=!0),-1===M?(l[p+1]=0,f=!0):M===h&&(l[p+1]=h-1,f=!0)}f=!0;for(let p=l.length-2;p>=0&&f;p-=2){const w=Math.floor(l[p]),M=Math.floor(l[p+1]);if(w<-1||w>d||M<-1||M>h)throw new ve;f=!1,-1===w?(l[p]=0,f=!0):w===d&&(l[p]=d-1,f=!0),-1===M?(l[p+1]=0,f=!0):M===h&&(l[p+1]=h-1,f=!0)}}}class $i{constructor(s,l,d,h,f,p,w,M,H){this.a11=s,this.a21=l,this.a31=d,this.a12=h,this.a22=f,this.a32=p,this.a13=w,this.a23=M,this.a33=H}static quadrilateralToQuadrilateral(s,l,d,h,f,p,w,M,H,$,he,_e,ke,Ne,ze,je){const et=$i.quadrilateralToSquare(s,l,d,h,f,p,w,M);return $i.squareToQuadrilateral(H,$,he,_e,ke,Ne,ze,je).times(et)}transformPoints(s){const l=s.length,d=this.a11,h=this.a12,f=this.a13,p=this.a21,w=this.a22,M=this.a23,H=this.a31,$=this.a32,he=this.a33;for(let _e=0;_e>1&127):(h<<=10,h+=(w>>2&992)+(w>>1&31))}let f=this.getCorrectedParameterData(h,this.compact);this.compact?(this.nbLayers=1+(f>>6),this.nbDataBlocks=1+(63&f)):(this.nbLayers=1+(f>>11),this.nbDataBlocks=1+(2047&f))}getRotation(s,l){let d=0;s.forEach((h,f,p)=>{d=(h>>l-2<<1)+(1&h)+(d<<3)}),d=((1&d)<<11)+(d>>1);for(let h=0;h<4;h++)if(q.bitCount(d^this.EXPECTED_CORNER_BITS[h])<=2)return h;throw new ve}getCorrectedParameterData(s,l){let d,h;l?(d=7,h=2):(d=10,h=4);let f=d-h,p=new Int32Array(d);for(let M=d-1;M>=0;--M)p[M]=15&s,s>>=4;try{new Ge(Ci.AZTEC_PARAM).decode(p,f)}catch{throw new ve}let w=0;for(let M=0;M2){let ze=this.distancePoint(Ne,he)*this.nbCenterLayers/(this.distancePoint(f,l)*(this.nbCenterLayers+2));if(ze<.75||ze>1.25||!this.isWhiteOrBlackRectangle(he,_e,ke,Ne))break}l=he,d=_e,h=ke,f=Ne,p=!p}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new ve;this.compact=5===this.nbCenterLayers;let w=new wt(l.getX()+.5,l.getY()-.5),M=new wt(d.getX()+.5,d.getY()+.5),H=new wt(h.getX()-.5,h.getY()+.5),$=new wt(f.getX()-.5,f.getY()-.5);return this.expandSquare([w,M,H,$],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let s,l,d,h;try{let w=new Vi(this.image).detect();s=w[0],l=w[1],d=w[2],h=w[3]}catch{let M=this.image.getWidth()/2,H=this.image.getHeight()/2;s=this.getFirstDifferent(new en(M+7,H-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new en(M+7,H+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new en(M-7,H+7),!1,-1,1).toResultPoint(),h=this.getFirstDifferent(new en(M-7,H-7),!1,-1,-1).toResultPoint()}let f=Kt.round((s.getX()+h.getX()+l.getX()+d.getX())/4),p=Kt.round((s.getY()+h.getY()+l.getY()+d.getY())/4);try{let w=new Vi(this.image,15,f,p).detect();s=w[0],l=w[1],d=w[2],h=w[3]}catch{s=this.getFirstDifferent(new en(f+7,p-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new en(f+7,p+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new en(f-7,p+7),!1,-1,1).toResultPoint(),h=this.getFirstDifferent(new en(f-7,p-7),!1,-1,-1).toResultPoint()}return f=Kt.round((s.getX()+h.getX()+l.getX()+d.getX())/4),p=Kt.round((s.getY()+h.getY()+l.getY()+d.getY())/4),new en(f,p)}getMatrixCornerPoints(s){return this.expandSquare(s,2*this.nbCenterLayers,this.getDimension())}sampleGrid(s,l,d,h,f){let p=Oi.getInstance(),w=this.getDimension(),M=w/2-this.nbCenterLayers,H=w/2+this.nbCenterLayers;return p.sampleGrid(s,w,w,M,M,H,M,H,H,M,H,l.getX(),l.getY(),d.getX(),d.getY(),h.getX(),h.getY(),f.getX(),f.getY())}sampleLine(s,l,d){let h=0,f=this.distanceResultPoint(s,l),p=f/d,w=s.getX(),M=s.getY(),H=p*(l.getX()-s.getX())/f,$=p*(l.getY()-s.getY())/f;for(let he=0;he.1&&he<.9?0:he<=.1===H?1:-1}getFirstDifferent(s,l,d,h){let f=s.getX()+d,p=s.getY()+h;for(;this.isValid(f,p)&&this.image.get(f,p)===l;)f+=d,p+=h;for(f-=d,p-=h;this.isValid(f,p)&&this.image.get(f,p)===l;)f+=d;for(f-=d;this.isValid(f,p)&&this.image.get(f,p)===l;)p+=h;return p-=h,new en(f,p)}expandSquare(s,l,d){let h=d/(2*l),f=s[0].getX()-s[2].getX(),p=s[0].getY()-s[2].getY(),w=(s[0].getX()+s[2].getX())/2,M=(s[0].getY()+s[2].getY())/2,H=new wt(w+h*f,M+h*p),$=new wt(w-h*f,M-h*p);return f=s[1].getX()-s[3].getX(),p=s[1].getY()-s[3].getY(),w=(s[1].getX()+s[3].getX())/2,M=(s[1].getY()+s[3].getY())/2,[H,new wt(w+h*f,M+h*p),$,new wt(w-h*f,M-h*p)]}isValid(s,l){return s>=0&&s0&&l{d.foundPossibleResultPoint(h)})}}reset(){}}class hr{decode(s,l){try{return this.doDecode(s,l)}catch{if(l&&!0===l.get(le.TRY_HARDER)&&s.isRotateSupported()){const f=s.rotateCounterClockwise(),p=this.doDecode(f,l),w=p.getResultMetadata();let M=270;null!==w&&!0===w.get(jt.ORIENTATION)&&(M+=w.get(jt.ORIENTATION)%360),p.putMetadata(jt.ORIENTATION,M);const H=p.getResultPoints();if(null!==H){const $=f.getHeight();for(let he=0;he>(p?8:5));let M;M=p?h:15;const H=Math.trunc(h/2);for(let $=0;$=h)break;try{f=s.getBlackRow(ke,f)}catch{continue}for(let Ne=0;Ne<2;Ne++){if(1===Ne&&(f.reverse(),l&&!0===l.get(le.NEED_RESULT_POINT_CALLBACK))){const ze=new Map;l.forEach((je,et)=>ze.set(et,je)),ze.delete(le.NEED_RESULT_POINT_CALLBACK),l=ze}try{const ze=this.decodeRow(ke,f,l);if(1===Ne){ze.putMetadata(jt.ORIENTATION,180);const je=ze.getResultPoints();null!==je&&(je[0]=new wt(d-je[0].getX()-1,je[0].getY()),je[1]=new wt(d-je[1].getX()-1,je[1].getY()))}return ze}catch{}}}throw new ve}static recordPattern(s,l,d){const h=d.length;for(let H=0;H=f)throw new ve;let p=!s.get(l),w=0,M=l;for(;M0&&h>=0;)s.get(--l)!==f&&(h--,f=!f);if(h>=0)throw new ve;hr.recordPattern(s,l+1,d)}static patternMatchVariance(s,l,d){const h=s.length;let f=0,p=0;for(let H=0;Hhe?$-he:he-$;if(_e>d)return Number.POSITIVE_INFINITY;M+=_e}return M/f}}class Ot extends hr{static findStartPattern(s){const l=s.getSize(),d=s.getNextSet(0);let h=0,f=Int32Array.from([0,0,0,0,0,0]),p=d,w=!1;for(let H=d;H=0&&s.isRange(Math.max(0,p-(H-p)/2),p,!1))return Int32Array.from([p,H,he]);p+=f[0]+f[1],f=f.slice(2,f.length-1),f[h-1]=0,f[h]=0,h--}else h++;f[h]=1,w=!w}throw new ve}static decodeCode(s,l,d){hr.recordPattern(s,d,l);let h=Ot.MAX_AVG_VARIANCE,f=-1;for(let p=0;p=0)return f;throw new ve}decodeRow(s,l,d){const h=d&&!0===d.get(le.ASSUME_GS1),f=Ot.findStartPattern(l),p=f[2];let w=0;const M=new Uint8Array(20);let H;switch(M[w++]=p,p){case Ot.CODE_START_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_START_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_START_C:H=Ot.CODE_CODE_C;break;default:throw new J}let $=!1,he=!1,_e="",ke=f[0],Ne=f[1];const ze=Int32Array.from([0,0,0,0,0,0]);let je=0,et=0,kt=p,Gt=0,ct=!0,Ii=!1,Fi=!1;for(;!$;){const ml=he;switch(he=!1,je=et,et=Ot.decodeCode(l,ze,Ne),M[w++]=et,et!==Ot.CODE_STOP&&(ct=!0),et!==Ot.CODE_STOP&&(Gt++,kt+=Gt*et),ke=Ne,Ne+=ze.reduce((mu,fu)=>mu+fu,0),et){case Ot.CODE_START_A:case Ot.CODE_START_B:case Ot.CODE_START_C:throw new J}switch(H){case Ot.CODE_CODE_A:if(et<64)_e+=String.fromCharCode(Fi===Ii?" ".charCodeAt(0)+et:" ".charCodeAt(0)+et+128),Fi=!1;else if(et<96)_e+=String.fromCharCode(Fi===Ii?et-64:et+64),Fi=!1;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:h&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_FNC_2:case Ot.CODE_FNC_3:break;case Ot.CODE_FNC_4_A:!Ii&&Fi?(Ii=!0,Fi=!1):Ii&&Fi?(Ii=!1,Fi=!1):Fi=!0;break;case Ot.CODE_SHIFT:he=!0,H=Ot.CODE_CODE_B;break;case Ot.CODE_CODE_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_CODE_C:H=Ot.CODE_CODE_C;break;case Ot.CODE_STOP:$=!0}break;case Ot.CODE_CODE_B:if(et<96)_e+=String.fromCharCode(Fi===Ii?" ".charCodeAt(0)+et:" ".charCodeAt(0)+et+128),Fi=!1;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:h&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_FNC_2:case Ot.CODE_FNC_3:break;case Ot.CODE_FNC_4_B:!Ii&&Fi?(Ii=!0,Fi=!1):Ii&&Fi?(Ii=!1,Fi=!1):Fi=!0;break;case Ot.CODE_SHIFT:he=!0,H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_C:H=Ot.CODE_CODE_C;break;case Ot.CODE_STOP:$=!0}break;case Ot.CODE_CODE_C:if(et<100)et<10&&(_e+="0"),_e+=et;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:h&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_CODE_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_STOP:$=!0}}ml&&(H=H===Ot.CODE_CODE_A?Ot.CODE_CODE_B:Ot.CODE_CODE_A)}const Sr=Ne-ke;if(Ne=l.getNextUnset(Ne),!l.isRange(Ne,Math.min(l.getSize(),Ne+(Ne-ke)/2),!1))throw new ve;if(kt-=Gt*je,kt%103!==je)throw new Q;const ea=_e.length;if(0===ea)throw new ve;ea>0&&ct&&(_e=_e.substring(0,H===Ot.CODE_CODE_C?ea-2:ea-1));const _a=(f[1]+f[0])/2,cr=ke+Sr/2,hn=M.length,Zo=new Uint8Array(hn);for(let ml=0;ml{class Y extends hr{constructor(l=!1,d=!1){super(),this.usingCheckDigit=l,this.extendedMode=d,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(l,d,h){let f=this.counters;f.fill(0),this.decodeRowResult="";let H,$,p=Y.findAsteriskPattern(d,f),w=d.getNextSet(p[1]),M=d.getSize();do{Y.recordPattern(d,w,f);let je=Y.toNarrowWidePattern(f);if(je<0)throw new ve;H=Y.patternToChar(je),this.decodeRowResult+=H,$=w;for(let et of f)w+=et;w=d.getNextSet(w)}while("*"!==H);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let ke,he=0;for(let je of f)he+=je;if(w!==M&&2*(w-$-he)h&&(p=H);h=p,f=0;let w=0,M=0;for(let H=0;Hh&&(M|=1<0;H++){let $=l[H];if($>h&&(f--,2*$>=w))return-1}return M}}while(f>3);return-1}static patternToChar(l){for(let d=0;d="A"&&w<="Z"))throw new J;M=String.fromCharCode(w.charCodeAt(0)+32);break;case"$":if(!(w>="A"&&w<="Z"))throw new J;M=String.fromCharCode(w.charCodeAt(0)-64);break;case"%":if(w>="A"&&w<="E")M=String.fromCharCode(w.charCodeAt(0)-38);else if(w>="F"&&w<="J")M=String.fromCharCode(w.charCodeAt(0)-11);else if(w>="K"&&w<="O")M=String.fromCharCode(w.charCodeAt(0)+16);else if(w>="P"&&w<="T")M=String.fromCharCode(w.charCodeAt(0)+43);else if("U"===w)M="\0";else if("V"===w)M="@";else if("W"===w)M="`";else{if("X"!==w&&"Y"!==w&&"Z"!==w)throw new J;M="\x7f"}break;case"/":if(w>="A"&&w<="O")M=String.fromCharCode(w.charCodeAt(0)-32);else{if("Z"!==w)throw new J;M=":"}}h+=M,f++}else h+=p}return h}}return Y.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",Y.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],Y.ASTERISK_ENCODING=148,Y})();class Ue extends hr{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(s,l,d){let h=this.decodeStart(l),f=this.decodeEnd(l),p=new me;Ue.decodeMiddle(l,h[1],f[0],p);let w=p.toString(),M=null;null!=d&&(M=d.get(le.ALLOWED_LENGTHS)),null==M&&(M=Ue.DEFAULT_ALLOWED_LENGTHS);let H=w.length,$=!1,he=0;for(let Ne of M){if(H===Ne){$=!0;break}Ne>he&&(he=Ne)}if(!$&&H>he&&($=!0),!$)throw new J;const _e=[new wt(h[1],s),new wt(f[0],s)];return new He(w,null,0,_e,nt.ITF,(new Date).getTime())}static decodeMiddle(s,l,d,h){let f=new Int32Array(10),p=new Int32Array(5),w=new Int32Array(5);for(f.fill(0),p.fill(0),w.fill(0);l0&&h>=0&&!s.get(h);h--)d--;if(0!==d)throw new ve}static skipWhiteSpace(s){const l=s.getSize(),d=s.getNextSet(0);if(d===l)throw new ve;return d}decodeEnd(s){s.reverse();try{let d,l=Ue.skipWhiteSpace(s);try{d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[0])}catch(f){f instanceof ve&&(d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[1]))}this.validateQuietZone(s,d[0]);let h=d[0];return d[0]=s.getSize()-d[1],d[1]=s.getSize()-h,d}finally{s.reverse()}}static findGuardPattern(s,l,d){let h=d.length,f=new Int32Array(h),p=s.getSize(),w=!1,M=0,H=l;f.fill(0);for(let $=l;$=0)return d%10;throw new ve}}Ue.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],Ue.MAX_AVG_VARIANCE=.38,Ue.MAX_INDIVIDUAL_VARIANCE=.5,Ue.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Ue.START_PATTERN=Int32Array.from([1,1,1,1]),Ue.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class We extends hr{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(s){let d,l=!1,h=0,f=Int32Array.from([0,0,0]);for(;!l;){f=Int32Array.from([0,0,0]),d=We.findGuardPattern(s,h,!1,this.START_END_PATTERN,f);let p=d[0];h=d[1];let w=p-(h-p);w>=0&&(l=s.isRange(w,p,!1))}return d}static checkChecksum(s){return We.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return We.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let h=l-1;h>=0;h-=2){let f=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);if(f<0||f>9)throw new J;d+=f}d*=3;for(let h=l-2;h>=0;h-=2){let f=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);if(f<0||f>9)throw new J;d+=f}return(1e3-d)%10}static decodeEnd(s,l){return We.findGuardPattern(s,l,!1,We.START_END_PATTERN,new Int32Array(We.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(s,l,d,h){return this.findGuardPattern(s,l,d,h,new Int32Array(h.length))}static findGuardPattern(s,l,d,h,f){let p=s.getSize(),w=0,M=l=d?s.getNextUnset(l):s.getNextSet(l),H=h.length,$=d;for(let he=l;he=0)return p;throw new ve}}We.MAX_AVG_VARIANCE=.48,We.MAX_INDIVIDUAL_VARIANCE=.7,We.START_END_PATTERN=Int32Array.from([1,1,1]),We.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),We.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),We.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])];class gn{constructor(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let h=this.decodeRowStringBuffer,f=this.decodeMiddle(l,d,h),p=h.toString(),w=gn.parseExtensionString(p),M=[new wt((d[0]+d[1])/2,s),new wt(f,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=w&&H.putAllMetadata(w),H}decodeMiddle(s,l,d){let h=this.decodeMiddleCounters;h[0]=0,h[1]=0,h[2]=0,h[3]=0;let f=s.getSize(),p=l[1],w=0;for(let H=0;H<5&&p=10&&(w|=1<<4-H),4!==H&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(5!==d.length)throw new ve;let M=this.determineCheckDigit(w);if(gn.extensionChecksum(d.toString())!==M)throw new ve;return p}static extensionChecksum(s){let l=s.length,d=0;for(let h=l-2;h>=0;h-=2)d+=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);d*=3;for(let h=l-1;h>=0;h-=2)d+=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);return d*=3,d%10}determineCheckDigit(s){for(let l=0;l<10;l++)if(s===this.CHECK_DIGIT_ENCODINGS[l])return l;throw new ve}static parseExtensionString(s){if(5!==s.length)return null;let l=gn.parseExtension5String(s);return null==l?null:new Map([[jt.SUGGESTED_PRICE,l]])}static parseExtension5String(s){let l;switch(s.charAt(0)){case"0":l="\xa3";break;case"5":l="$";break;case"9":switch(s){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}l="";break;default:l=""}let d=parseInt(s.substring(1)),f=d%100;return l+(d/100).toString()+"."+(f<10?"0"+f:f.toString())}}class In{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let h=this.decodeRowStringBuffer,f=this.decodeMiddle(l,d,h),p=h.toString(),w=In.parseExtensionString(p),M=[new wt((d[0]+d[1])/2,s),new wt(f,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=w&&H.putAllMetadata(w),H}decodeMiddle(s,l,d){let h=this.decodeMiddleCounters;h[0]=0,h[1]=0,h[2]=0,h[3]=0;let f=s.getSize(),p=l[1],w=0;for(let M=0;M<2&&p=10&&(w|=1<<1-M),1!==M&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(2!==d.length)throw new ve;if(parseInt(d.toString())%4!==w)throw new ve;return p}static parseExtensionString(s){return 2!==s.length?null:new Map([[jt.ISSUE_NUMBER,parseInt(s)]])}}class nr{static decodeRow(s,l,d){let h=We.findGuardPattern(l,d,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new gn).decodeRow(s,l,h)}catch{return(new In).decodeRow(s,l,h)}}}nr.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class Tt extends We{constructor(){super(),this.decodeRowStringBuffer="",Tt.L_AND_G_PATTERNS=Tt.L_PATTERNS.map(s=>Int32Array.from(s));for(let s=10;s<20;s++){let l=Tt.L_PATTERNS[s-10],d=new Int32Array(l.length);for(let h=0;h=l.getSize()||!l.isRange($,he,!1))throw new ve;let _e=M.toString();if(_e.length<8)throw new J;if(!Tt.checkChecksum(_e))throw new Q;let ke=(h[1]+h[0])/2,Ne=(H[1]+H[0])/2,ze=this.getBarcodeFormat(),je=[new wt(ke,s),new wt(Ne,s)],et=new He(_e,null,0,je,ze,(new Date).getTime()),kt=0;try{let ct=nr.decodeRow(s,l,H[1]);et.putMetadata(jt.UPC_EAN_EXTENSION,ct.getText()),et.putAllMetadata(ct.getResultMetadata()),et.addResultPoints(ct.getResultPoints()),kt=ct.getText().length}catch{}let Gt=null==d?null:d.get(le.ALLOWED_EAN_EXTENSIONS);if(null!=Gt){let ct=!1;for(let Ii in Gt)if(kt.toString()===Ii){ct=!0;break}if(!ct)throw new ve}return et}decodeEnd(s,l){return Tt.findGuardPattern(s,l,!1,Tt.START_END_PATTERN,new Int32Array(Tt.START_END_PATTERN.length).fill(0))}static checkChecksum(s){return Tt.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return Tt.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let h=l-1;h>=0;h-=2){let f=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);if(f<0||f>9)throw new J;d+=f}d*=3;for(let h=l-2;h>=0;h-=2){let f=s.charAt(h).charCodeAt(0)-"0".charCodeAt(0);if(f<0||f>9)throw new J;d+=f}return(1e3-d)%10}}let ga=(()=>{class Y extends Tt{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(l,d,h){let f=this.decodeMiddleCounters;f[0]=0,f[1]=0,f[2]=0,f[3]=0;let p=l.getSize(),w=d[1],M=0;for(let $=0;$<6&&w=10&&(M|=1<<5-$)}h=Y.determineFirstDigit(h,M),w=Tt.findGuardPattern(l,w,!0,Tt.MIDDLE_PATTERN,new Int32Array(Tt.MIDDLE_PATTERN.length).fill(0))[1];for(let $=0;$<6&&wH);h[0]=0,h[1]=0,h[2]=0,h[3]=0;const f=s.getSize();let p=l[1],w=0;for(let H=0;H<6&&p=10&&(w|=1<<5-H)}return{rowOffset:p,resultString:xr.determineNumSysAndCheckDigit(d,w)}}decodeEnd(s,l){return xr.findGuardPatternWithoutCounters(s,l,!0,xr.MIDDLE_END_PATTERN)}checkChecksum(s){return Tt.checkChecksum(xr.convertUPCEtoUPCA(s))}static determineNumSysAndCheckDigit(s,l){for(let d=0;d<=1;d++)for(let h=0;h<10;h++)if(l===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[d][h])return String.fromCharCode("0".charCodeAt(0)+d)+s+String.fromCharCode("0".charCodeAt(0)+h);throw ve.getNotFoundInstance()}getBarcodeFormat(){return nt.UPC_E}static convertUPCEtoUPCA(s){const l=s.slice(1,7).split("").map(f=>f.charCodeAt(0)),d=new me;d.append(s.charAt(0));let h=l[5];switch(h){case 0:case 1:case 2:d.appendChars(l,0,2),d.append(h),d.append("0000"),d.appendChars(l,2,3);break;case 3:d.appendChars(l,0,3),d.append("00000"),d.appendChars(l,3,2);break;case 4:d.appendChars(l,0,4),d.append("00000"),d.append(l[4]);break;default:d.appendChars(l,0,5),d.append("0000"),d.append(h)}return s.length>=8&&d.append(s.charAt(7)),d.toString()}}xr.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),xr.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,26])];class vo extends hr{constructor(s){super();let l=null==s?null:s.get(le.POSSIBLE_FORMATS),d=[];T(l)?(d.push(new ga),d.push(new Vr),d.push(new Ha),d.push(new xr)):(l.indexOf(nt.EAN_13)>-1&&d.push(new ga),l.indexOf(nt.UPC_A)>-1&&d.push(new Vr),l.indexOf(nt.EAN_8)>-1&&d.push(new Ha),l.indexOf(nt.UPC_E)>-1&&d.push(new xr)),this.readers=d}decodeRow(s,l,d){for(let h of this.readers)try{const f=h.decodeRow(s,l,d),p=f.getBarcodeFormat()===nt.EAN_13&&"0"===f.getText().charAt(0),w=null==d?null:d.get(le.POSSIBLE_FORMATS),M=null==w||w.includes(nt.UPC_A);if(p&&M){const H=f.getRawBytes(),$=new He(f.getText().substring(1),H,H?H.length:null,f.getResultPoints(),nt.UPC_A);return $.putAllMetadata(f.getResultMetadata()),$}return f}catch{}throw new ve}reset(){for(let s of this.readers)s.reset()}}let Xr=(()=>{class Y extends hr{constructor(){super(),this.decodeFinderCounters=new Int32Array(4),this.dataCharacterCounters=new Int32Array(8),this.oddRoundingErrors=new Array(4),this.evenRoundingErrors=new Array(4),this.oddCounts=new Array(this.dataCharacterCounters.length/2),this.evenCounts=new Array(this.dataCharacterCounters.length/2)}getDecodeFinderCounters(){return this.decodeFinderCounters}getDataCharacterCounters(){return this.dataCharacterCounters}getOddRoundingErrors(){return this.oddRoundingErrors}getEvenRoundingErrors(){return this.evenRoundingErrors}getOddCounts(){return this.oddCounts}getEvenCounts(){return this.evenCounts}parseFinderValue(l,d){for(let h=0;hf&&(f=d[p],h=p);l[h]++}static decrement(l,d){let h=0,f=d[0];for(let p=1;p=Y.MIN_FINDER_PATTERN_RATIO&&f<=Y.MAX_FINDER_PATTERN_RATIO){let p=Number.MAX_SAFE_INTEGER,w=Number.MIN_SAFE_INTEGER;for(let M of l)M>w&&(w=M),M=w-M-1&&($-=aa.combins(h-H-(w-M),w-M-2)),w-M-1>1){let he=0;for(let _e=h-H-(w-M-2);_e>l;_e--)he+=aa.combins(h-H-_e-1,w-M-3);$-=he*(w-1-M)}else h-H>l&&$--;f+=$}h-=H}return f}static combins(s,l){let d,h;s-l>l?(h=l,d=s-l):(h=s-l,d=l);let f=1,p=1;for(let w=s;w>d;w--)f*=w,p<=h&&(f/=p,p++);for(;p<=h;)f/=p,p++;return f}}class la{static buildBitArray(s){let l=2*s.length-1;null==s[s.length-1].getRightChar()&&(l-=1);let h=new z(12*l),f=0,w=s[0].getRightChar().getValue();for(let M=11;M>=0;--M)w&1<=0;--he)$&1<=0;--_e)he&1<<_e&&h.set(f),f++}}return h}}class cn{constructor(s,l){l?this.decodedInformation=null:(this.finished=s,this.decodedInformation=l)}getDecodedInformation(){return this.decodedInformation}isFinished(){return this.finished}}class Va{constructor(s){this.newPosition=s}getNewPosition(){return this.newPosition}}let zt=(()=>{class Y extends Va{constructor(l,d){super(l),this.value=d}getValue(){return this.value}isFNC1(){return this.value===Y.FNC1}}return Y.FNC1="$",Y})();class Ma extends Va{constructor(s,l,d){super(s),d?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=l}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}let Ya=(()=>{class Y extends Va{constructor(l,d,h){if(super(l),d<0||d>10||h<0||h>10)throw new J;this.firstDigit=d,this.secondDigit=h}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===Y.FNC1}isSecondDigitFNC1(){return this.secondDigit===Y.FNC1}isAnyFNC1(){return this.firstDigit===Y.FNC1||this.secondDigit===Y.FNC1}}return Y.FNC1=10,Y})();class Ut{constructor(){}static parseFieldsInGeneralPurpose(s){if(!s)return null;if(s.length<2)throw new ve;let l=s.substring(0,2);for(let f of Ut.TWO_DIGIT_DATA_LENGTH)if(f[0]===l)return f[1]===Ut.VARIABLE_LENGTH?Ut.processVariableAI(2,f[2],s):Ut.processFixedAI(2,f[1],s);if(s.length<3)throw new ve;let d=s.substring(0,3);for(let f of Ut.THREE_DIGIT_DATA_LENGTH)if(f[0]===d)return f[1]===Ut.VARIABLE_LENGTH?Ut.processVariableAI(3,f[2],s):Ut.processFixedAI(3,f[1],s);for(let f of Ut.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(f[0]===d)return f[1]===Ut.VARIABLE_LENGTH?Ut.processVariableAI(4,f[2],s):Ut.processFixedAI(4,f[1],s);if(s.length<4)throw new ve;let h=s.substring(0,4);for(let f of Ut.FOUR_DIGIT_DATA_LENGTH)if(f[0]===h)return f[1]===Ut.VARIABLE_LENGTH?Ut.processVariableAI(4,f[2],s):Ut.processFixedAI(4,f[1],s);throw new ve}static processFixedAI(s,l,d){if(d.lengththis.information.getSize())return s+4<=this.information.getSize();for(let l=s;lthis.information.getSize()){let f=this.extractNumericValueFromBitArray(s,4);return new Ya(this.information.getSize(),0===f?Ya.FNC1:f-1,Ya.FNC1)}let l=this.extractNumericValueFromBitArray(s,7);return new Ya(s+7,(l-8)/11,(l-8)%11)}extractNumericValueFromBitArray(s,l){return wo.extractNumericValueFromBitArray(this.information,s,l)}static extractNumericValueFromBitArray(s,l,d){let h=0;for(let f=0;fthis.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+7>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<116)return!0;if(s+8>this.information.getSize())return!1;let h=this.extractNumericValueFromBitArray(s,8);return h>=232&&h<253}decodeIsoIec646(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new zt(s+5,zt.FNC1);if(l>=5&&l<15)return new zt(s+5,"0"+(l-5));let f,d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<90)return new zt(s+7,""+(d+1));if(d>=90&&d<116)return new zt(s+7,""+(d+7));switch(this.extractNumericValueFromBitArray(s,8)){case 232:f="!";break;case 233:f='"';break;case 234:f="%";break;case 235:f="&";break;case 236:f="'";break;case 237:f="(";break;case 238:f=")";break;case 239:f="*";break;case 240:f="+";break;case 241:f=",";break;case 242:f="-";break;case 243:f=".";break;case 244:f="/";break;case 245:f=":";break;case 246:f=";";break;case 247:f="<";break;case 248:f="=";break;case 249:f=">";break;case 250:f="?";break;case 251:f="_";break;case 252:f=" ";break;default:throw new J}return new zt(s+8,f)}isStillAlpha(s){if(s+5>this.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+6>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,6);return d>=16&&d<63}decodeAlphanumeric(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new zt(s+5,zt.FNC1);if(l>=5&&l<15)return new zt(s+5,"0"+(l-5));let h,d=this.extractNumericValueFromBitArray(s,6);if(d>=32&&d<58)return new zt(s+6,""+(d+33));switch(d){case 58:h="*";break;case 59:h=",";break;case 60:h="-";break;case 61:h=".";break;case 62:h="/";break;default:throw new Wt("Decoding invalid alphanumeric value: "+d)}return new zt(s+6,h)}isAlphaTo646ToAlphaLatch(s){if(s+1>this.information.getSize())return!1;for(let l=0;l<5&&l+sthis.information.getSize())return!1;for(let l=s;lthis.information.getSize())return!1;for(let l=0;l<4&&l+s{class Y extends Cn{constructor(l){super(l)}encodeCompressedGtin(l,d){l.append("(01)");let h=l.length();l.append("9"),this.encodeCompressedGtinWithoutAI(l,d,h)}encodeCompressedGtinWithoutAI(l,d,h){for(let f=0;f<4;++f){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(d+10*f,10);p/100==0&&l.append("0"),p/10==0&&l.append("0"),l.append(p)}Y.appendCheckDigit(l,h)}static appendCheckDigit(l,d){let h=0;for(let f=0;f<13;f++){let p=l.charAt(f+d).charCodeAt(0)-"0".charCodeAt(0);h+=1&f?p:3*p}h=10-h%10,10===h&&(h=0),l.append(h)}}return Y.GTIN_SIZE=40,Y})(),bs=(()=>{class Y extends rr{constructor(l){super(l)}parseInformation(){let l=new me;l.append("(01)");let d=l.length(),h=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE,4);return l.append(h),this.encodeCompressedGtinWithoutAI(l,Y.HEADER_SIZE+4,d),this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE+44)}}return Y.HEADER_SIZE=4,Y})(),vi=(()=>{class Y extends Cn{constructor(l){super(l)}parseInformation(){let l=new me;return this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE)}}return Y.HEADER_SIZE=5,Y})();class _r extends rr{constructor(s){super(s)}encodeCompressedWeight(s,l,d){let h=this.getGeneralDecoder().extractNumericValueFromBitArray(l,d);this.addWeightCode(s,h);let f=this.checkWeight(h),p=1e5;for(let w=0;w<5;++w)f/p==0&&s.append("0"),p/=10;s.append(f)}}let dn=(()=>{class Y extends _r{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+_r.GTIN_SIZE+Y.WEIGHT_SIZE)throw new ve;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+_r.GTIN_SIZE,Y.WEIGHT_SIZE),l.toString()}}return Y.HEADER_SIZE=5,Y.WEIGHT_SIZE=15,Y})();class _n extends dn{constructor(s){super(s)}addWeightCode(s,l){s.append("(3103)")}checkWeight(s){return s}}class Yr extends dn{constructor(s){super(s)}addWeightCode(s,l){s.append(l<1e4?"(3202)":"(3203)")}checkWeight(s){return s<1e4?s:s-1e4}}let Jr=(()=>{class Y extends rr{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize(){class Y extends rr{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize(){class Y extends _r{constructor(l,d,h){super(l),this.dateCode=h,this.firstAIdigits=d}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE+Y.DATE_SIZE)throw new ve;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+Y.GTIN_SIZE,Y.WEIGHT_SIZE),this.encodeCompressedDate(l,Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE),l.toString()}encodeCompressedDate(l,d){let h=this.getGeneralDecoder().extractNumericValueFromBitArray(d,Y.DATE_SIZE);if(38400==h)return;l.append("("),l.append(this.dateCode),l.append(")");let f=h%32;h/=32;let p=h%12+1;h/=12;let w=h;w/10==0&&l.append("0"),l.append(w),p/10==0&&l.append("0"),l.append(p),f/10==0&&l.append("0"),l.append(f)}addWeightCode(l,d){l.append("("),l.append(this.firstAIdigits),l.append(d/1e5),l.append(")")}checkWeight(l){return l%1e5}}return Y.HEADER_SIZE=8,Y.WEIGHT_SIZE=20,Y.DATE_SIZE=16,Y})();function Fo(Y){try{if(Y.get(1))return new bs(Y);if(!Y.get(2))return new vi(Y);switch(wo.extractNumericValueFromBitArray(Y,1,4)){case 4:return new _n(Y);case 5:return new Yr(Y)}switch(wo.extractNumericValueFromBitArray(Y,1,5)){case 12:return new Jr(Y);case 13:return new oa(Y)}switch(wo.extractNumericValueFromBitArray(Y,1,7)){case 56:return new io(Y,"310","11");case 57:return new io(Y,"320","11");case 58:return new io(Y,"310","13");case 59:return new io(Y,"320","13");case 60:return new io(Y,"310","15");case 61:return new io(Y,"320","15");case 62:return new io(Y,"310","17");case 63:return new io(Y,"320","17")}}catch(s){throw console.log(s),new Wt("unknown decoder: "+Y)}}class no{constructor(s,l,d,h){this.leftchar=s,this.rightchar=l,this.finderpattern=d,this.maybeLast=h}mayBeLast(){return this.maybeLast}getLeftChar(){return this.leftchar}getRightChar(){return this.rightchar}getFinderPattern(){return this.finderpattern}mustBeLast(){return null==this.rightchar}toString(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"}static equals(s,l){return s instanceof no&&no.equalsOrNull(s.leftchar,l.leftchar)&&no.equalsOrNull(s.rightchar,l.rightchar)&&no.equalsOrNull(s.finderpattern,l.finderpattern)}static equalsOrNull(s,l){return null===s?null===l:no.equals(s,l)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class mr{constructor(s,l,d){this.pairs=s,this.rowNumber=l,this.wasReversed=d}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(s){return this.checkEqualitity(this,s)}toString(){return"{ "+this.pairs+" }"}equals(s,l){return s instanceof mr&&this.checkEqualitity(s,l)&&s.wasReversed===l.wasReversed}checkEqualitity(s,l){if(!s||!l)return;let d;return s.forEach((h,f)=>{l.forEach(p=>{h.getLeftChar().getValue()===p.getLeftChar().getValue()&&h.getRightChar().getValue()===p.getRightChar().getValue()&&h.getFinderPatter().getValue()===p.getFinderPatter().getValue()&&(d=!0)})}),d}}class gt extends Xr{constructor(s){super(...arguments),this.pairs=new Array(gt.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===s}decodeRow(s,l,d){this.pairs.length=0,this.startFromEven=!1;try{return gt.constructResult(this.decodeRow2pairs(s,l))}catch(h){this.verbose&&console.log(h)}return this.pairs.length=0,this.startFromEven=!0,gt.constructResult(this.decodeRow2pairs(s,l))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(s,l){let h,d=!1;for(;!d;)try{this.pairs.push(this.retrieveNextPair(l,this.pairs,s))}catch(f){if(f instanceof ve){if(!this.pairs.length)throw new ve;d=!0}}if(this.checkChecksum())return this.pairs;if(h=!!this.rows.length,this.storeRow(s,!1),h){let f=this.checkRowsBoolean(!1);if(null!=f||(f=this.checkRowsBoolean(!0),null!=f))return f}throw new ve}checkRowsBoolean(s){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,s&&(this.rows=this.rows.reverse());let l=null;try{l=this.checkRows(new Array,0)}catch(d){this.verbose&&console.log(d)}return s&&(this.rows=this.rows.reverse()),l}checkRows(s,l){for(let d=l;dl.length)continue;let d=!0;for(let h=0;hs){f=p.isEquivalent(this.pairs);break}h=p.isEquivalent(this.pairs),d++}f||h||gt.isPartialRow(this.pairs,this.rows)||(this.rows.push(d,new mr(this.pairs,s,l)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(s,l){for(let d of l)if(d.getPairs().length!==s.length)for(let h of d.getPairs())for(let f of s)if(no.equals(h,f))break}static isPartialRow(s,l){for(let d of l){let h=!0;for(let f of s){let p=!1;for(let w of d.getPairs())if(f.equals(w)){p=!0;break}if(!p){h=!1;break}}if(h)return!0}return!1}getRows(){return this.rows}static constructResult(s){let h=Fo(la.buildBitArray(s)).parseInformation(),f=s[0].getFinderPattern().getResultPoints(),p=s[s.length-1].getFinderPattern().getResultPoints();return new He(h,null,null,[f[0],f[1],p[0],p[1]],nt.RSS_EXPANDED,null)}checkChecksum(){let s=this.pairs.get(0),l=s.getLeftChar(),d=s.getRightChar();if(null==d)return!1;let h=d.getChecksumPortion(),f=2;for(let w=1;w=0?d:this.isEmptyPair(l)?0:l[l.length-1].getFinderPattern().getStartEnd()[1];let w=l.length%2!=0;this.startFromEven&&(w=!w);let M=!1;for(;p=0&&!s.get(H);)H--;H++,h=this.startEnd[0]-H,f=H,p=this.startEnd[1]}else f=this.startEnd[0],p=s.getNextUnset(this.startEnd[1]+1),h=p-this.startEnd[1];let M,w=this.getDecodeFinderCounters();V.arraycopy(w,0,w,1,w.length-1),w[0]=h;try{M=this.parseFinderValue(w,gt.FINDER_PATTERNS)}catch{return null}return new _s(M,[f,p],f,p,l)}decodeDataCharacter(s,l,d,h){let f=this.getDataCharacterCounters();for(let cr=0;cr.3)throw new ve;let H=this.getOddCounts(),$=this.getEvenCounts(),he=this.getOddRoundingErrors(),_e=this.getEvenRoundingErrors();for(let cr=0;cr8){if(hn>8.7)throw new ve;Zo=8}let hl=cr/2;1&cr?($[hl]=Zo,_e[hl]=hn-Zo):(H[hl]=Zo,he[hl]=hn-Zo)}this.adjustOddEvenCounts(17);let ke=4*l.getValue()+(d?0:2)+(h?0:1)-1,Ne=0,ze=0;for(let cr=H.length-1;cr>=0;cr--)gt.isNotA1left(l,d,h)&&(ze+=H[cr]*gt.WEIGHTS[ke][2*cr]),Ne+=H[cr];let je=0;for(let cr=$.length-1;cr>=0;cr--)gt.isNotA1left(l,d,h)&&(je+=$[cr]*gt.WEIGHTS[ke][2*cr+1]);let et=ze+je;if(1&Ne||Ne>13||Ne<4)throw new ve;let kt=(13-Ne)/2,Gt=gt.SYMBOL_WIDEST[kt],ct=9-Gt,Ii=aa.getRSSvalue(H,Gt,!0),Fi=aa.getRSSvalue($,ct,!1);return new Ir(Ii*gt.EVEN_TOTAL_SUBSET[kt]+Fi+gt.GSUM[kt],et)}static isNotA1left(s,l,d){return!(0==s.getValue()&&l&&d)}adjustOddEvenCounts(s){let l=Kt.sum(new Int32Array(this.getOddCounts())),d=Kt.sum(new Int32Array(this.getEvenCounts())),h=!1,f=!1;l>13?f=!0:l<4&&(h=!0);let p=!1,w=!1;d>13?w=!0:d<4&&(p=!0);let M=l+d-s,H=1==(1&l),$=0==(1&d);if(1==M)if(H){if($)throw new ve;f=!0}else{if(!$)throw new ve;w=!0}else if(-1==M)if(H){if($)throw new ve;h=!0}else{if(!$)throw new ve;p=!0}else{if(0!=M)throw new ve;if(H){if(!$)throw new ve;l1)for(let w of this.possibleRightPairs)if(w.getCount()>1&&fr.checkChecksum(p,w))return fr.constructResult(p,w);throw new ve}static addOrTally(s,l){if(null==l)return;let d=!1;for(let h of s)if(h.getValue()===l.getValue()){h.incrementCount(),d=!0;break}d||s.push(l)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(s,l){let d=4537077*s.getValue()+l.getValue(),h=new String(d).toString(),f=new me;for(let H=13-h.length;H>0;H--)f.append("0");f.append(h);let p=0;for(let H=0;H<13;H++){let $=f.charAt(H).charCodeAt(0)-"0".charCodeAt(0);p+=1&H?$:3*$}p=10-p%10,10===p&&(p=0),f.append(p.toString());let w=s.getFinderPattern().getResultPoints(),M=l.getFinderPattern().getResultPoints();return new He(f.toString(),null,0,[w[0],w[1],M[0],M[1]],nt.RSS_14,(new Date).getTime())}static checkChecksum(s,l){let d=(s.getChecksumPortion()+16*l.getChecksumPortion())%79,h=9*s.getFinderPattern().getValue()+l.getFinderPattern().getValue();return h>72&&h--,h>8&&h--,d===h}decodePair(s,l,d,h){try{let f=this.findFinderPattern(s,l),p=this.parseFoundFinderPattern(s,d,l,f),w=null==h?null:h.get(le.NEED_RESULT_POINT_CALLBACK);if(null!=w){let $=(f[0]+f[1])/2;l&&($=s.getSize()-1-$),w.foundPossibleResultPoint(new wt($,d))}let M=this.decodeDataCharacter(s,p,!0),H=this.decodeDataCharacter(s,p,!1);return new Rl(1597*M.getValue()+H.getValue(),M.getChecksumPortion()+4*H.getChecksumPortion(),p)}catch{return null}}decodeDataCharacter(s,l,d){let h=this.getDataCharacterCounters();for(let je=0;je8&&(kt=8);let Gt=Math.floor(je/2);1&je?(M[Gt]=kt,$[Gt]=et-kt):(w[Gt]=kt,H[Gt]=et-kt)}this.adjustOddEvenCounts(d,f);let he=0,_e=0;for(let je=w.length-1;je>=0;je--)_e*=9,_e+=w[je],he+=w[je];let ke=0,Ne=0;for(let je=M.length-1;je>=0;je--)ke*=9,ke+=M[je],Ne+=M[je];let ze=_e+3*ke;if(d){if(1&he||he>12||he<4)throw new ve;let je=(12-he)/2,et=fr.OUTSIDE_ODD_WIDEST[je],kt=9-et,Gt=aa.getRSSvalue(w,et,!1),ct=aa.getRSSvalue(M,kt,!0);return new Ir(Gt*fr.OUTSIDE_EVEN_TOTAL_SUBSET[je]+ct+fr.OUTSIDE_GSUM[je],ze)}{if(1&Ne||Ne>10||Ne<4)throw new ve;let je=(10-Ne)/2,et=fr.INSIDE_ODD_WIDEST[je],kt=9-et,Gt=aa.getRSSvalue(w,et,!0),ct=aa.getRSSvalue(M,kt,!1);return new Ir(ct*fr.INSIDE_ODD_TOTAL_SUBSET[je]+Gt+fr.INSIDE_GSUM[je],ze)}}findFinderPattern(s,l){let d=this.getDecodeFinderCounters();d[0]=0,d[1]=0,d[2]=0,d[3]=0;let h=s.getSize(),f=!1,p=0;for(;p=0&&f!==s.get(p);)p--;p++;const w=h[0]-p,M=this.getDecodeFinderCounters(),H=new Int32Array(M.length);V.arraycopy(M,0,H,1,M.length-1),H[0]=w;const $=this.parseFinderValue(H,fr.FINDER_PATTERNS);let he=p,_e=h[1];return d&&(he=s.getSize()-1-he,_e=s.getSize()-1-_e),new _s($,[p,h[1]],he,_e,l)}adjustOddEvenCounts(s,l){let d=Kt.sum(new Int32Array(this.getOddCounts())),h=Kt.sum(new Int32Array(this.getEvenCounts())),f=!1,p=!1,w=!1,M=!1;s?(d>12?p=!0:d<4&&(f=!0),h>12?M=!0:h<4&&(w=!0)):(d>11?p=!0:d<5&&(f=!0),h>10?M=!0:h<4&&(w=!0));let H=d+h-l,$=(1&d)==(s?1:0),he=1==(1&h);if(1===H)if($){if(he)throw new ve;p=!0}else{if(!he)throw new ve;M=!0}else if(-1===H)if($){if(he)throw new ve;f=!0}else{if(!he)throw new ve;w=!0}else{if(0!==H)throw new ve;if($){if(!he)throw new ve;ds.reset())}}class un{constructor(s,l,d){this.ecCodewords=s,this.ecBlocks=[l],d&&this.ecBlocks.push(d)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class Pn{constructor(s,l){this.count=s,this.dataCodewords=l}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class an{constructor(s,l,d,h,f,p){this.versionNumber=s,this.symbolSizeRows=l,this.symbolSizeColumns=d,this.dataRegionSizeRows=h,this.dataRegionSizeColumns=f,this.ecBlocks=p;let w=0;const M=p.getECCodewords(),H=p.getECBlocks();for(let $ of H)w+=$.getCount()*($.getDataCodewords()+M);this.totalCodewords=w}getVersionNumber(){return this.versionNumber}getSymbolSizeRows(){return this.symbolSizeRows}getSymbolSizeColumns(){return this.symbolSizeColumns}getDataRegionSizeRows(){return this.dataRegionSizeRows}getDataRegionSizeColumns(){return this.dataRegionSizeColumns}getTotalCodewords(){return this.totalCodewords}getECBlocks(){return this.ecBlocks}static getVersionForDimensions(s,l){if(1&s||1&l)throw new J;for(let d of an.VERSIONS)if(d.symbolSizeRows===s&&d.symbolSizeColumns===l)return d;throw new J}toString(){return""+this.versionNumber}static buildVersions(){return[new an(1,10,10,8,8,new un(5,new Pn(1,3))),new an(2,12,12,10,10,new un(7,new Pn(1,5))),new an(3,14,14,12,12,new un(10,new Pn(1,8))),new an(4,16,16,14,14,new un(12,new Pn(1,12))),new an(5,18,18,16,16,new un(14,new Pn(1,18))),new an(6,20,20,18,18,new un(18,new Pn(1,22))),new an(7,22,22,20,20,new un(20,new Pn(1,30))),new an(8,24,24,22,22,new un(24,new Pn(1,36))),new an(9,26,26,24,24,new un(28,new Pn(1,44))),new an(10,32,32,14,14,new un(36,new Pn(1,62))),new an(11,36,36,16,16,new un(42,new Pn(1,86))),new an(12,40,40,18,18,new un(48,new Pn(1,114))),new an(13,44,44,20,20,new un(56,new Pn(1,144))),new an(14,48,48,22,22,new un(68,new Pn(1,174))),new an(15,52,52,24,24,new un(42,new Pn(2,102))),new an(16,64,64,14,14,new un(56,new Pn(2,140))),new an(17,72,72,16,16,new un(36,new Pn(4,92))),new an(18,80,80,18,18,new un(48,new Pn(4,114))),new an(19,88,88,20,20,new un(56,new Pn(4,144))),new an(20,96,96,22,22,new un(68,new Pn(4,174))),new an(21,104,104,24,24,new un(56,new Pn(6,136))),new an(22,120,120,18,18,new un(68,new Pn(6,175))),new an(23,132,132,20,20,new un(62,new Pn(8,163))),new an(24,144,144,22,22,new un(62,new Pn(8,156),new Pn(2,155))),new an(25,8,18,6,16,new un(7,new Pn(1,5))),new an(26,8,32,6,14,new un(11,new Pn(1,10))),new an(27,12,26,10,24,new un(14,new Pn(1,16))),new an(28,12,36,10,16,new un(18,new Pn(1,22))),new an(29,16,36,14,16,new un(24,new Pn(1,32))),new an(30,16,48,14,22,new un(28,new Pn(1,49)))]}}an.VERSIONS=an.buildVersions();class ar{constructor(s){const l=s.getHeight();if(l<8||l>144||1&l)throw new J;this.version=ar.readVersion(s),this.mappingBitMatrix=this.extractDataRegion(s),this.readMappingMatrix=new ge(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(s){const l=s.getHeight(),d=s.getWidth();return an.getVersionForDimensions(l,d)}readCodewords(){const s=new Int8Array(this.version.getTotalCodewords());let l=0,d=4,h=0;const f=this.mappingBitMatrix.getHeight(),p=this.mappingBitMatrix.getWidth();let w=!1,M=!1,H=!1,$=!1;do{if(d!==f||0!==h||w)if(d===f-2&&0===h&&3&p&&!M)s[l++]=255&this.readCorner2(f,p),d-=2,h+=2,M=!0;else if(d!==f+4||2!==h||7&p||H)if(d!==f-2||0!==h||4!=(7&p)||$){do{d=0&&!this.readMappingMatrix.get(h,d)&&(s[l++]=255&this.readUtah(d,h,f,p)),d-=2,h+=2}while(d>=0&&h=0&&h=0);d+=3,h+=1}else s[l++]=255&this.readCorner4(f,p),d-=2,h+=2,$=!0;else s[l++]=255&this.readCorner3(f,p),d-=2,h+=2,H=!0;else s[l++]=255&this.readCorner1(f,p),d-=2,h+=2,w=!0}while(d7?ze-1:ze]=s[he++]}if(he!==s.length)throw new R;return p}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class ro{constructor(s){this.bytes=s,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(s){if(s<1||s>32||s>this.available())throw new R(""+s);let l=0,d=this.bitOffset,h=this.byteOffset;const f=this.bytes;if(d>0){const p=8-d,w=s>8-w<>M,s-=w,d+=w,8===d&&(d=0,h++)}if(s>0){for(;s>=8;)l=l<<8|255&f[h],h++,s-=8;if(s>0){const p=8-s;l=l<>p<>p,d+=s}}return this.bitOffset=d,this.byteOffset=h,l}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var Ln=(()=>{return(Y=Ln||(Ln={}))[Y.PAD_ENCODE=0]="PAD_ENCODE",Y[Y.ASCII_ENCODE=1]="ASCII_ENCODE",Y[Y.C40_ENCODE=2]="C40_ENCODE",Y[Y.TEXT_ENCODE=3]="TEXT_ENCODE",Y[Y.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",Y[Y.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",Y[Y.BASE256_ENCODE=6]="BASE256_ENCODE",Ln;var Y})();class tn{static decode(s){const l=new ro(s),d=new me,h=new me,f=new Array;let p=Ln.ASCII_ENCODE;do{if(p===Ln.ASCII_ENCODE)p=this.decodeAsciiSegment(l,d,h);else{switch(p){case Ln.C40_ENCODE:this.decodeC40Segment(l,d);break;case Ln.TEXT_ENCODE:this.decodeTextSegment(l,d);break;case Ln.ANSIX12_ENCODE:this.decodeAnsiX12Segment(l,d);break;case Ln.EDIFACT_ENCODE:this.decodeEdifactSegment(l,d);break;case Ln.BASE256_ENCODE:this.decodeBase256Segment(l,d,f);break;default:throw new J}p=Ln.ASCII_ENCODE}}while(p!==Ln.PAD_ENCODE&&l.available()>0);return h.length()>0&&d.append(h.toString()),new fn(s,d.toString(),0===f.length?null:f,null)}static decodeAsciiSegment(s,l,d){let h=!1;do{let f=s.readBits(8);if(0===f)throw new J;if(f<=128)return h&&(f+=128),l.append(String.fromCharCode(f-1)),Ln.ASCII_ENCODE;if(129===f)return Ln.PAD_ENCODE;if(f<=229){const p=f-130;p<10&&l.append("0"),l.append(""+p)}else switch(f){case 230:return Ln.C40_ENCODE;case 231:return Ln.BASE256_ENCODE;case 232:l.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:h=!0;break;case 236:l.append("[)>\x1e05\x1d"),d.insert(0,"\x1e\x04");break;case 237:l.append("[)>\x1e06\x1d"),d.insert(0,"\x1e\x04");break;case 238:return Ln.ANSIX12_ENCODE;case 239:return Ln.TEXT_ENCODE;case 240:return Ln.EDIFACT_ENCODE;default:if(254!==f||0!==s.available())throw new J}}while(s.available()>0);return Ln.ASCII_ENCODE}static decodeC40Segment(s,l){let d=!1;const h=[];let f=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),h);for(let w=0;w<3;w++){const M=h[w];switch(f){case 0:if(M<3)f=M+1;else{if(!(M0)}static decodeTextSegment(s,l){let d=!1,h=[],f=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),h);for(let w=0;w<3;w++){const M=h[w];switch(f){case 0:if(M<3)f=M+1;else{if(!(M0)}static decodeAnsiX12Segment(s,l){const d=[];do{if(8===s.available())return;const h=s.readBits(8);if(254===h)return;this.parseTwoBytes(h,s.readBits(8),d);for(let f=0;f<3;f++){const p=d[f];switch(p){case 0:l.append("\r");break;case 1:l.append("*");break;case 2:l.append(">");break;case 3:l.append(" ");break;default:if(p<14)l.append(String.fromCharCode(p+44));else{if(!(p<40))throw new J;l.append(String.fromCharCode(p+51))}}}}while(s.available()>0)}static parseTwoBytes(s,l,d){let h=(s<<8)+l-1,f=Math.floor(h/1600);d[0]=f,h-=1600*f,f=Math.floor(h/40),d[1]=f,d[2]=h-40*f}static decodeEdifactSegment(s,l){do{if(s.available()<=16)return;for(let d=0;d<4;d++){let h=s.readBits(6);if(31===h){const f=8-s.getBitOffset();return void(8!==f&&s.readBits(f))}32&h||(h|=64),l.append(String.fromCharCode(h))}}while(s.available()>0)}static decodeBase256Segment(s,l,d){let h=1+s.getByteOffset();const f=this.unrandomize255State(s.readBits(8),h++);let p;if(p=0===f?s.available()/8|0:f<250?f:250*(f-249)+this.unrandomize255State(s.readBits(8),h++),p<0)throw new J;const w=new Uint8Array(p);for(let M=0;M=0?h:h+256}}tn.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],tn.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],tn.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],tn.TEXT_SHIFT2_SET_CHARS=tn.C40_SHIFT2_SET_CHARS,tn.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)];class hc{constructor(){this.rsDecoder=new Ge(Ci.DATA_MATRIX_FIELD_256)}decode(s){const l=new ar(s),d=l.getVersion(),h=l.readCodewords(),f=Bn.getDataBlocks(h,d);let p=0;for(let H of f)p+=H.getNumDataCodewords();const w=new Uint8Array(p),M=f.length;for(let H=0;Hw&&($=w,he[0]=l,he[1]=d,he[2]=h,he[3]=f),$>M&&($=M,he[0]=d,he[1]=h,he[2]=f,he[3]=l),$>H&&(he[0]=h,he[1]=f,he[2]=l,he[3]=d),he}detectSolid2(s){let l=s[0],d=s[1],h=s[2],f=s[3],p=this.transitionsBetween(l,f),w=Yi.shiftPoint(d,h,4*(p+1)),M=Yi.shiftPoint(h,d,4*(p+1));return this.transitionsBetween(w,l)this.transitionsBetween(M,he)+this.transitionsBetween(H,he)?$:he:$:this.isValid(he)?he:null}shiftToModuleCenter(s){let l=s[0],d=s[1],h=s[2],f=s[3],p=this.transitionsBetween(l,f)+1,w=this.transitionsBetween(h,f)+1,M=Yi.shiftPoint(l,d,4*w),H=Yi.shiftPoint(h,d,4*p);p=this.transitionsBetween(M,f)+1,w=this.transitionsBetween(H,f)+1,1==(1&p)&&(p+=1),1==(1&w)&&(w+=1);let _e,ke,$=(l.getX()+d.getX()+h.getX()+f.getX())/4,he=(l.getY()+d.getY()+h.getY()+f.getY())/4;return l=Yi.moveAway(l,$,he),d=Yi.moveAway(d,$,he),h=Yi.moveAway(h,$,he),f=Yi.moveAway(f,$,he),M=Yi.shiftPoint(l,d,4*w),M=Yi.shiftPoint(M,f,4*p),_e=Yi.shiftPoint(d,l,4*w),_e=Yi.shiftPoint(_e,h,4*p),H=Yi.shiftPoint(h,f,4*w),H=Yi.shiftPoint(H,d,4*p),ke=Yi.shiftPoint(f,h,4*w),ke=Yi.shiftPoint(ke,l,4*p),[M,_e,H,ke]}isValid(s){return s.getX()>=0&&s.getX()0&&s.getY()Math.abs(f-d);if(w){let ze=d;d=h,h=ze,ze=f,f=p,p=ze}let M=Math.abs(f-d),H=Math.abs(p-h),$=-M/2,he=h0){if(je===p)break;je+=he,$-=M}}return ke}}let Ui=(()=>{class Y{constructor(){this.decoder=new hc}decode(l,d=null){let h,f;if(null!=d&&d.has(le.PURE_BARCODE)){const $=Y.extractPureBits(l.getBlackMatrix());h=this.decoder.decode($),f=Y.NO_POINTS}else{const $=new Yi(l.getBlackMatrix()).detect();h=this.decoder.decode($.getBits()),f=$.getPoints()}const p=h.getRawBytes(),w=new He(h.getText(),p,8*p.length,f,nt.DATA_MATRIX,V.currentTimeMillis()),M=h.getByteSegments();null!=M&&w.putMetadata(jt.BYTE_SEGMENTS,M);const H=h.getECLevel();return null!=H&&w.putMetadata(jt.ERROR_CORRECTION_LEVEL,H),w}reset(){}static extractPureBits(l){const d=l.getTopLeftOnBit(),h=l.getBottomRightOnBit();if(null==d||null==h)throw new ve;const f=this.moduleSize(d,l);let p=d[1],M=d[0];const $=(h[0]-M+1)/f,he=(h[1]-p+1)/f;if($<=0||he<=0)throw new ve;const _e=f/2;p+=_e,M+=_e;const ke=new ge($,he);for(let Ne=0;Ne{return(Y=hi||(hi={}))[Y.L=0]="L",Y[Y.M=1]="M",Y[Y.Q=2]="Q",Y[Y.H=3]="H",hi;var Y})();class Pt{constructor(s,l,d){this.value=s,this.stringValue=l,this.bits=d,Pt.FOR_BITS.set(d,this),Pt.FOR_VALUE.set(s,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(s){switch(s){case"L":return Pt.L;case"M":return Pt.M;case"Q":return Pt.Q;case"H":return Pt.H;default:throw new B(s+"not available")}}toString(){return this.stringValue}equals(s){return s instanceof Pt&&this.value===s.value}static forBits(s){if(s<0||s>=Pt.FOR_BITS.size)throw new R;return Pt.FOR_BITS.get(s)}}Pt.FOR_BITS=new Map,Pt.FOR_VALUE=new Map,Pt.L=new Pt(hi.L,"L",1),Pt.M=new Pt(hi.M,"M",0),Pt.Q=new Pt(hi.Q,"Q",3),Pt.H=new Pt(hi.H,"H",2);class Lr{constructor(s){this.errorCorrectionLevel=Pt.forBits(s>>3&3),this.dataMask=7&s}static numBitsDiffering(s,l){return q.bitCount(s^l)}static decodeFormatInformation(s,l){const d=Lr.doDecodeFormatInformation(s,l);return null!==d?d:Lr.doDecodeFormatInformation(s^Lr.FORMAT_INFO_MASK_QR,l^Lr.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(s,l){let d=Number.MAX_SAFE_INTEGER,h=0;for(const f of Lr.FORMAT_INFO_DECODE_LOOKUP){const p=f[0];if(p===s||p===l)return new Lr(f[1]);let w=Lr.numBitsDiffering(s,p);w40)throw new R;return ci.VERSIONS[s-1]}static decodeVersionInformation(s){let l=Number.MAX_SAFE_INTEGER,d=0;for(let h=0;h6&&(l.setRegion(s-11,0,3,6),l.setRegion(0,s-11,6,3)),l}toString(){return""+this.versionNumber}}ci.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),ci.VERSIONS=[new ci(1,new Int32Array(0),new $e(7,new De(1,19)),new $e(10,new De(1,16)),new $e(13,new De(1,13)),new $e(17,new De(1,9))),new ci(2,Int32Array.from([6,18]),new $e(10,new De(1,34)),new $e(16,new De(1,28)),new $e(22,new De(1,22)),new $e(28,new De(1,16))),new ci(3,Int32Array.from([6,22]),new $e(15,new De(1,55)),new $e(26,new De(1,44)),new $e(18,new De(2,17)),new $e(22,new De(2,13))),new ci(4,Int32Array.from([6,26]),new $e(20,new De(1,80)),new $e(18,new De(2,32)),new $e(26,new De(2,24)),new $e(16,new De(4,9))),new ci(5,Int32Array.from([6,30]),new $e(26,new De(1,108)),new $e(24,new De(2,43)),new $e(18,new De(2,15),new De(2,16)),new $e(22,new De(2,11),new De(2,12))),new ci(6,Int32Array.from([6,34]),new $e(18,new De(2,68)),new $e(16,new De(4,27)),new $e(24,new De(4,19)),new $e(28,new De(4,15))),new ci(7,Int32Array.from([6,22,38]),new $e(20,new De(2,78)),new $e(18,new De(4,31)),new $e(18,new De(2,14),new De(4,15)),new $e(26,new De(4,13),new De(1,14))),new ci(8,Int32Array.from([6,24,42]),new $e(24,new De(2,97)),new $e(22,new De(2,38),new De(2,39)),new $e(22,new De(4,18),new De(2,19)),new $e(26,new De(4,14),new De(2,15))),new ci(9,Int32Array.from([6,26,46]),new $e(30,new De(2,116)),new $e(22,new De(3,36),new De(2,37)),new $e(20,new De(4,16),new De(4,17)),new $e(24,new De(4,12),new De(4,13))),new ci(10,Int32Array.from([6,28,50]),new $e(18,new De(2,68),new De(2,69)),new $e(26,new De(4,43),new De(1,44)),new $e(24,new De(6,19),new De(2,20)),new $e(28,new De(6,15),new De(2,16))),new ci(11,Int32Array.from([6,30,54]),new $e(20,new De(4,81)),new $e(30,new De(1,50),new De(4,51)),new $e(28,new De(4,22),new De(4,23)),new $e(24,new De(3,12),new De(8,13))),new ci(12,Int32Array.from([6,32,58]),new $e(24,new De(2,92),new De(2,93)),new $e(22,new De(6,36),new De(2,37)),new $e(26,new De(4,20),new De(6,21)),new $e(28,new De(7,14),new De(4,15))),new ci(13,Int32Array.from([6,34,62]),new $e(26,new De(4,107)),new $e(22,new De(8,37),new De(1,38)),new $e(24,new De(8,20),new De(4,21)),new $e(22,new De(12,11),new De(4,12))),new ci(14,Int32Array.from([6,26,46,66]),new $e(30,new De(3,115),new De(1,116)),new $e(24,new De(4,40),new De(5,41)),new $e(20,new De(11,16),new De(5,17)),new $e(24,new De(11,12),new De(5,13))),new ci(15,Int32Array.from([6,26,48,70]),new $e(22,new De(5,87),new De(1,88)),new $e(24,new De(5,41),new De(5,42)),new $e(30,new De(5,24),new De(7,25)),new $e(24,new De(11,12),new De(7,13))),new ci(16,Int32Array.from([6,26,50,74]),new $e(24,new De(5,98),new De(1,99)),new $e(28,new De(7,45),new De(3,46)),new $e(24,new De(15,19),new De(2,20)),new $e(30,new De(3,15),new De(13,16))),new ci(17,Int32Array.from([6,30,54,78]),new $e(28,new De(1,107),new De(5,108)),new $e(28,new De(10,46),new De(1,47)),new $e(28,new De(1,22),new De(15,23)),new $e(28,new De(2,14),new De(17,15))),new ci(18,Int32Array.from([6,30,56,82]),new $e(30,new De(5,120),new De(1,121)),new $e(26,new De(9,43),new De(4,44)),new $e(28,new De(17,22),new De(1,23)),new $e(28,new De(2,14),new De(19,15))),new ci(19,Int32Array.from([6,30,58,86]),new $e(28,new De(3,113),new De(4,114)),new $e(26,new De(3,44),new De(11,45)),new $e(26,new De(17,21),new De(4,22)),new $e(26,new De(9,13),new De(16,14))),new ci(20,Int32Array.from([6,34,62,90]),new $e(28,new De(3,107),new De(5,108)),new $e(26,new De(3,41),new De(13,42)),new $e(30,new De(15,24),new De(5,25)),new $e(28,new De(15,15),new De(10,16))),new ci(21,Int32Array.from([6,28,50,72,94]),new $e(28,new De(4,116),new De(4,117)),new $e(26,new De(17,42)),new $e(28,new De(17,22),new De(6,23)),new $e(30,new De(19,16),new De(6,17))),new ci(22,Int32Array.from([6,26,50,74,98]),new $e(28,new De(2,111),new De(7,112)),new $e(28,new De(17,46)),new $e(30,new De(7,24),new De(16,25)),new $e(24,new De(34,13))),new ci(23,Int32Array.from([6,30,54,78,102]),new $e(30,new De(4,121),new De(5,122)),new $e(28,new De(4,47),new De(14,48)),new $e(30,new De(11,24),new De(14,25)),new $e(30,new De(16,15),new De(14,16))),new ci(24,Int32Array.from([6,28,54,80,106]),new $e(30,new De(6,117),new De(4,118)),new $e(28,new De(6,45),new De(14,46)),new $e(30,new De(11,24),new De(16,25)),new $e(30,new De(30,16),new De(2,17))),new ci(25,Int32Array.from([6,32,58,84,110]),new $e(26,new De(8,106),new De(4,107)),new $e(28,new De(8,47),new De(13,48)),new $e(30,new De(7,24),new De(22,25)),new $e(30,new De(22,15),new De(13,16))),new ci(26,Int32Array.from([6,30,58,86,114]),new $e(28,new De(10,114),new De(2,115)),new $e(28,new De(19,46),new De(4,47)),new $e(28,new De(28,22),new De(6,23)),new $e(30,new De(33,16),new De(4,17))),new ci(27,Int32Array.from([6,34,62,90,118]),new $e(30,new De(8,122),new De(4,123)),new $e(28,new De(22,45),new De(3,46)),new $e(30,new De(8,23),new De(26,24)),new $e(30,new De(12,15),new De(28,16))),new ci(28,Int32Array.from([6,26,50,74,98,122]),new $e(30,new De(3,117),new De(10,118)),new $e(28,new De(3,45),new De(23,46)),new $e(30,new De(4,24),new De(31,25)),new $e(30,new De(11,15),new De(31,16))),new ci(29,Int32Array.from([6,30,54,78,102,126]),new $e(30,new De(7,116),new De(7,117)),new $e(28,new De(21,45),new De(7,46)),new $e(30,new De(1,23),new De(37,24)),new $e(30,new De(19,15),new De(26,16))),new ci(30,Int32Array.from([6,26,52,78,104,130]),new $e(30,new De(5,115),new De(10,116)),new $e(28,new De(19,47),new De(10,48)),new $e(30,new De(15,24),new De(25,25)),new $e(30,new De(23,15),new De(25,16))),new ci(31,Int32Array.from([6,30,56,82,108,134]),new $e(30,new De(13,115),new De(3,116)),new $e(28,new De(2,46),new De(29,47)),new $e(30,new De(42,24),new De(1,25)),new $e(30,new De(23,15),new De(28,16))),new ci(32,Int32Array.from([6,34,60,86,112,138]),new $e(30,new De(17,115)),new $e(28,new De(10,46),new De(23,47)),new $e(30,new De(10,24),new De(35,25)),new $e(30,new De(19,15),new De(35,16))),new ci(33,Int32Array.from([6,30,58,86,114,142]),new $e(30,new De(17,115),new De(1,116)),new $e(28,new De(14,46),new De(21,47)),new $e(30,new De(29,24),new De(19,25)),new $e(30,new De(11,15),new De(46,16))),new ci(34,Int32Array.from([6,34,62,90,118,146]),new $e(30,new De(13,115),new De(6,116)),new $e(28,new De(14,46),new De(23,47)),new $e(30,new De(44,24),new De(7,25)),new $e(30,new De(59,16),new De(1,17))),new ci(35,Int32Array.from([6,30,54,78,102,126,150]),new $e(30,new De(12,121),new De(7,122)),new $e(28,new De(12,47),new De(26,48)),new $e(30,new De(39,24),new De(14,25)),new $e(30,new De(22,15),new De(41,16))),new ci(36,Int32Array.from([6,24,50,76,102,128,154]),new $e(30,new De(6,121),new De(14,122)),new $e(28,new De(6,47),new De(34,48)),new $e(30,new De(46,24),new De(10,25)),new $e(30,new De(2,15),new De(64,16))),new ci(37,Int32Array.from([6,28,54,80,106,132,158]),new $e(30,new De(17,122),new De(4,123)),new $e(28,new De(29,46),new De(14,47)),new $e(30,new De(49,24),new De(10,25)),new $e(30,new De(24,15),new De(46,16))),new ci(38,Int32Array.from([6,32,58,84,110,136,162]),new $e(30,new De(4,122),new De(18,123)),new $e(28,new De(13,46),new De(32,47)),new $e(30,new De(48,24),new De(14,25)),new $e(30,new De(42,15),new De(32,16))),new ci(39,Int32Array.from([6,26,54,82,110,138,166]),new $e(30,new De(20,117),new De(4,118)),new $e(28,new De(40,47),new De(7,48)),new $e(30,new De(43,24),new De(22,25)),new $e(30,new De(10,15),new De(67,16))),new ci(40,Int32Array.from([6,30,58,86,114,142,170]),new $e(30,new De(19,118),new De(6,119)),new $e(28,new De(18,47),new De(31,48)),new $e(30,new De(34,24),new De(34,25)),new $e(30,new De(20,15),new De(61,16)))];var tt=(()=>{return(Y=tt||(tt={}))[Y.DATA_MASK_000=0]="DATA_MASK_000",Y[Y.DATA_MASK_001=1]="DATA_MASK_001",Y[Y.DATA_MASK_010=2]="DATA_MASK_010",Y[Y.DATA_MASK_011=3]="DATA_MASK_011",Y[Y.DATA_MASK_100=4]="DATA_MASK_100",Y[Y.DATA_MASK_101=5]="DATA_MASK_101",Y[Y.DATA_MASK_110=6]="DATA_MASK_110",Y[Y.DATA_MASK_111=7]="DATA_MASK_111",tt;var Y})();class pr{constructor(s,l){this.value=s,this.isMasked=l}unmaskBitMatrix(s,l){for(let d=0;d0==(Y+s&1))],[tt.DATA_MASK_001,new pr(tt.DATA_MASK_001,(Y,s)=>0==(1&Y))],[tt.DATA_MASK_010,new pr(tt.DATA_MASK_010,(Y,s)=>s%3==0)],[tt.DATA_MASK_011,new pr(tt.DATA_MASK_011,(Y,s)=>(Y+s)%3==0)],[tt.DATA_MASK_100,new pr(tt.DATA_MASK_100,(Y,s)=>0==(Math.floor(Y/2)+Math.floor(s/3)&1))],[tt.DATA_MASK_101,new pr(tt.DATA_MASK_101,(Y,s)=>Y*s%6==0)],[tt.DATA_MASK_110,new pr(tt.DATA_MASK_110,(Y,s)=>Y*s%6<3)],[tt.DATA_MASK_111,new pr(tt.DATA_MASK_111,(Y,s)=>0==(Y+s+Y*s%3&1))]]);class ji{constructor(s){const l=s.getHeight();if(l<21||1!=(3&l))throw new J;this.bitMatrix=s}readFormatInformation(){if(null!=this.parsedFormatInfo)return this.parsedFormatInfo;let s=0;for(let f=0;f<6;f++)s=this.copyBit(f,8,s);s=this.copyBit(7,8,s),s=this.copyBit(8,8,s),s=this.copyBit(8,7,s);for(let f=5;f>=0;f--)s=this.copyBit(8,f,s);const l=this.bitMatrix.getHeight();let d=0;const h=l-7;for(let f=l-1;f>=h;f--)d=this.copyBit(8,f,d);for(let f=l-8;f=0;p--)for(let w=s-9;w>=h;w--)d=this.copyBit(w,p,d);let f=ci.decodeVersionInformation(d);if(null!==f&&f.getDimensionForVersion()===s)return this.parsedVersion=f,f;d=0;for(let p=5;p>=0;p--)for(let w=s-9;w>=h;w--)d=this.copyBit(p,w,d);if(f=ci.decodeVersionInformation(d),null!==f&&f.getDimensionForVersion()===s)return this.parsedVersion=f,f;throw new J}copyBit(s,l,d){return(this.isMirror?this.bitMatrix.get(l,s):this.bitMatrix.get(s,l))?d<<1|1:d<<1}readCodewords(){const s=this.readFormatInformation(),l=this.readVersion(),d=pr.values.get(s.getDataMask()),h=this.bitMatrix.getHeight();d.unmaskBitMatrix(this.bitMatrix,h);const f=l.buildFunctionPattern();let p=!0;const w=new Uint8Array(l.getTotalCodewords());let M=0,H=0,$=0;for(let he=h-1;he>0;he-=2){6===he&&he--;for(let _e=0;_e=0&&w[$].codewords.length!==H;)$--;$++;const he=H-h.getECCodewordsPerBlock();let _e=0;for(let Ne=0;Ne{return(Y=oo||(oo={}))[Y.TERMINATOR=0]="TERMINATOR",Y[Y.NUMERIC=1]="NUMERIC",Y[Y.ALPHANUMERIC=2]="ALPHANUMERIC",Y[Y.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",Y[Y.BYTE=4]="BYTE",Y[Y.ECI=5]="ECI",Y[Y.KANJI=6]="KANJI",Y[Y.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",Y[Y.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",Y[Y.HANZI=9]="HANZI",oo;var Y})();class ki{constructor(s,l,d,h){this.value=s,this.stringValue=l,this.characterCountBitsForVersions=d,this.bits=h,ki.FOR_BITS.set(h,this),ki.FOR_VALUE.set(s,this)}static forBits(s){const l=ki.FOR_BITS.get(s);if(void 0===l)throw new R;return l}getCharacterCountBits(s){const l=s.getVersionNumber();let d;return d=l<=9?0:l<=26?1:2,this.characterCountBitsForVersions[d]}getValue(){return this.value}getBits(){return this.bits}equals(s){return s instanceof ki&&this.value===s.value}toString(){return this.stringValue}}ki.FOR_BITS=new Map,ki.FOR_VALUE=new Map,ki.TERMINATOR=new ki(oo.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),ki.NUMERIC=new ki(oo.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),ki.ALPHANUMERIC=new ki(oo.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),ki.STRUCTURED_APPEND=new ki(oo.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),ki.BYTE=new ki(oo.BYTE,"BYTE",Int32Array.from([8,16,16]),4),ki.ECI=new ki(oo.ECI,"ECI",Int32Array.from([0,0,0]),7),ki.KANJI=new ki(oo.KANJI,"KANJI",Int32Array.from([8,10,12]),8),ki.FNC1_FIRST_POSITION=new ki(oo.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),ki.FNC1_SECOND_POSITION=new ki(oo.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),ki.HANZI=new ki(oo.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let mc=(()=>{class Y{static decode(l,d,h,f){const p=new ro(l);let w=new me;const M=new Array;let H=-1,$=-1;try{let ke,he=null,_e=!1;do{if(p.available()<4)ke=ki.TERMINATOR;else{const Ne=p.readBits(4);ke=ki.forBits(Ne)}switch(ke){case ki.TERMINATOR:break;case ki.FNC1_FIRST_POSITION:case ki.FNC1_SECOND_POSITION:_e=!0;break;case ki.STRUCTURED_APPEND:if(p.available()<16)throw new J;H=p.readBits(8),$=p.readBits(8);break;case ki.ECI:const Ne=Y.parseECIValue(p);if(he=ie.getCharacterSetECIByValue(Ne),null===he)throw new J;break;case ki.HANZI:const ze=p.readBits(4),je=p.readBits(ke.getCharacterCountBits(d));ze===Y.GB2312_SUBSET&&Y.decodeHanziSegment(p,w,je);break;default:const et=p.readBits(ke.getCharacterCountBits(d));switch(ke){case ki.NUMERIC:Y.decodeNumericSegment(p,w,et);break;case ki.ALPHANUMERIC:Y.decodeAlphanumericSegment(p,w,et,_e);break;case ki.BYTE:Y.decodeByteSegment(p,w,et,he,M,f);break;case ki.KANJI:Y.decodeKanjiSegment(p,w,et);break;default:throw new J}}}while(ke!==ki.TERMINATOR)}catch{throw new J}return new fn(l,w.toString(),0===M.length?null:M,null===h?null:h.toString(),H,$)}static decodeHanziSegment(l,d,h){if(13*h>l.available())throw new J;const f=new Uint8Array(2*h);let p=0;for(;h>0;){const w=l.readBits(13);let M=w/96<<8&4294967295|w%96;M+=M<959?41377:42657,f[p]=M>>8&255,f[p+1]=255&M,p+=2,h--}try{d.append(re.decode(f,ae.GB2312))}catch(w){throw new J(w)}}static decodeKanjiSegment(l,d,h){if(13*h>l.available())throw new J;const f=new Uint8Array(2*h);let p=0;for(;h>0;){const w=l.readBits(13);let M=w/192<<8&4294967295|w%192;M+=M<7936?33088:49472,f[p]=M>>8,f[p+1]=M,p+=2,h--}try{d.append(re.decode(f,ae.SHIFT_JIS))}catch(w){throw new J(w)}}static decodeByteSegment(l,d,h,f,p,w){if(8*h>l.available())throw new J;const M=new Uint8Array(h);for(let $=0;$=Y.ALPHANUMERIC_CHARS.length)throw new J;return Y.ALPHANUMERIC_CHARS[l]}static decodeAlphanumericSegment(l,d,h,f){const p=d.length();for(;h>1;){if(l.available()<11)throw new J;const w=l.readBits(11);d.append(Y.toAlphaNumericChar(Math.floor(w/45))),d.append(Y.toAlphaNumericChar(w%45)),h-=2}if(1===h){if(l.available()<6)throw new J;d.append(Y.toAlphaNumericChar(l.readBits(6)))}if(f)for(let w=p;w=3;){if(l.available()<10)throw new J;const f=l.readBits(10);if(f>=1e3)throw new J;d.append(Y.toAlphaNumericChar(Math.floor(f/100))),d.append(Y.toAlphaNumericChar(Math.floor(f/10)%10)),d.append(Y.toAlphaNumericChar(f%10)),h-=3}if(2===h){if(l.available()<7)throw new J;const f=l.readBits(7);if(f>=100)throw new J;d.append(Y.toAlphaNumericChar(Math.floor(f/10))),d.append(Y.toAlphaNumericChar(f%10))}else if(1===h){if(l.available()<4)throw new J;const f=l.readBits(4);if(f>=10)throw new J;d.append(Y.toAlphaNumericChar(f))}}static parseECIValue(l){const d=l.readBits(8);if(!(128&d))return 127&d;if(128==(192&d))return(63&d)<<8&4294967295|l.readBits(8);if(192==(224&d))return(31&d)<<16&4294967295|l.readBits(16);throw new J}}return Y.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",Y.GB2312_SUBSET=1,Y})();class ll{constructor(s){this.mirrored=s}isMirrored(){return this.mirrored}applyMirroredCorrection(s){if(!this.mirrored||null===s||s.length<3)return;const l=s[0];s[0]=s[2],s[2]=l}}class so{constructor(){this.rsDecoder=new Ge(Ci.QR_CODE_FIELD_256)}decodeBooleanArray(s,l){return this.decodeBitMatrix(ge.parseFromBooleanArray(s),l)}decodeBitMatrix(s,l){const d=new ji(s);let h=null;try{return this.decodeBitMatrixParser(d,l)}catch(f){h=f}try{d.remask(),d.setMirror(!0),d.readVersion(),d.readFormatInformation(),d.mirror();const f=this.decodeBitMatrixParser(d,l);return f.setOther(new ll(!0)),f}catch(f){throw null!==h?h:f}}decodeBitMatrixParser(s,l){const d=s.readVersion(),h=s.readFormatInformation().getErrorCorrectionLevel(),f=s.readCodewords(),p=Vn.getDataBlocks(f,d,h);let w=0;for(const $ of p)w+=$.getNumDataCodewords();const M=new Uint8Array(w);let H=0;for(const $ of p){const he=$.getCodewords(),_e=$.getNumDataCodewords();this.correctErrors(he,_e);for(let ke=0;ke<_e;ke++)M[H++]=he[ke]}return mc.decode(M,d,h,l)}correctErrors(s,l){const d=new Int32Array(s);try{this.rsDecoder.decode(d,s.length-l)}catch{throw new Q}for(let h=0;h=d)return!1;return!0}crossCheckVertical(s,l,d,h){const f=this.image,p=f.getHeight(),w=this.crossCheckStateCount;w[0]=0,w[1]=0,w[2]=0;let M=s;for(;M>=0&&f.get(l,M)&&w[1]<=d;)w[1]++,M--;if(M<0||w[1]>d)return NaN;for(;M>=0&&!f.get(l,M)&&w[0]<=d;)w[0]++,M--;if(w[0]>d)return NaN;for(M=s+1;Md)return NaN;for(;Md||5*Math.abs(w[0]+w[1]+w[2]-h)>=2*h?NaN:this.foundPatternCross(w)?ys.centerFromEnd(w,M):NaN}handlePossibleCenter(s,l,d){const h=s[0]+s[1]+s[2],f=ys.centerFromEnd(s,d),p=this.crossCheckVertical(l,f,2*s[1],h);if(!isNaN(p)){const w=(s[0]+s[1]+s[2])/3;for(const H of this.possibleCenters)if(H.aboutEquals(w,p,f))return H.combineEstimate(p,f,w);const M=new ld(f,p,w);this.possibleCenters.push(M),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(M)}return null}}class cd extends wt{constructor(s,l,d,h){super(s,l),this.estimatedModuleSize=d,this.count=h,void 0===h&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(s,l,d){if(Math.abs(l-this.getY())<=s&&Math.abs(d-this.getX())<=s){const h=Math.abs(s-this.estimatedModuleSize);return h<=1||h<=this.estimatedModuleSize}return!1}combineEstimate(s,l,d){const h=this.count+1,f=(this.count*this.getX()+l)/h,p=(this.count*this.getY()+s)/h;return new cd(f,p,(this.count*this.estimatedModuleSize+d)/h,h)}}class jo{constructor(s){this.bottomLeft=s[0],this.topLeft=s[1],this.topRight=s[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}let ph=(()=>{class Y{constructor(l,d){this.image=l,this.resultPointCallback=d,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=d}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(l){const d=null!=l&&void 0!==l.get(le.TRY_HARDER),h=null!=l&&void 0!==l.get(le.PURE_BARCODE),f=this.image,p=f.getHeight(),w=f.getWidth();let M=Math.floor(3*p/(4*Y.MAX_MODULES));(M$[2]&&(_e+=je-$[2]-M,Ne=w-1)}ke=0,$[0]=0,$[1]=0,$[2]=0,$[3]=0,$[4]=0}else $[0]=$[2],$[1]=$[3],$[2]=$[4],$[3]=1,$[4]=0,ke=3;else $[++ke]++;Y.foundPatternCross($)&&!0===this.handlePossibleCenter($,_e,w,h)&&(M=$[0],this.hasSkipped&&(H=this.haveMultiplyConfirmedCenters()))}const he=this.selectBestPatterns();return wt.orderBestPatterns(he),new jo(he)}static centerFromEnd(l,d){return d-l[4]-l[3]-l[2]/2}static foundPatternCross(l){let d=0;for(let p=0;p<5;p++){const w=l[p];if(0===w)return!1;d+=w}if(d<7)return!1;const h=d/7,f=h/2;return Math.abs(h-l[0])=w&&d>=w&&M.get(d-w,l-w);)p[2]++,w++;if(l=w&&d>=w&&!M.get(d-w,l-w)&&p[1]<=h;)p[1]++,w++;if(lh)return!1;for(;l>=w&&d>=w&&M.get(d-w,l-w)&&p[0]<=h;)p[0]++,w++;if(p[0]>h)return!1;const H=M.getHeight(),$=M.getWidth();for(w=1;l+w=H||d+w>=$)return!1;for(;l+w=H||d+w>=$||p[3]>=h)return!1;for(;l+w=h)&&Math.abs(p[0]+p[1]+p[2]+p[3]+p[4]-f)<2*f&&Y.foundPatternCross(p)}crossCheckVertical(l,d,h,f){const p=this.image,w=p.getHeight(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(d,H);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(d,H)&&M[1]<=h;)M[1]++,H--;if(H<0||M[1]>h)return NaN;for(;H>=0&&p.get(d,H)&&M[0]<=h;)M[0]++,H--;if(M[0]>h)return NaN;for(H=l+1;H=h)return NaN;for(;H=h||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-f)>=2*f?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}crossCheckHorizontal(l,d,h,f){const p=this.image,w=p.getWidth(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(H,d);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(H,d)&&M[1]<=h;)M[1]++,H--;if(H<0||M[1]>h)return NaN;for(;H>=0&&p.get(H,d)&&M[0]<=h;)M[0]++,H--;if(M[0]>h)return NaN;for(H=l+1;H=h)return NaN;for(;H=h||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-f)>=f?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}handlePossibleCenter(l,d,h,f){const p=l[0]+l[1]+l[2]+l[3]+l[4];let w=Y.centerFromEnd(l,h),M=this.crossCheckVertical(d,Math.floor(w),l[2],p);if(!isNaN(M)&&(w=this.crossCheckHorizontal(Math.floor(w),Math.floor(M),l[2],p),!isNaN(w)&&(!f||this.crossCheckDiagonal(Math.floor(M),Math.floor(w),l[2],p)))){const H=p/7;let $=!1;const he=this.possibleCenters;for(let _e=0,ke=he.length;_e=Y.CENTER_QUORUM){if(null!=d)return this.hasSkipped=!0,Math.floor((Math.abs(d.getX()-h.getX())-Math.abs(d.getY()-h.getY()))/2);d=h}return 0}haveMultiplyConfirmedCenters(){let l=0,d=0;const h=this.possibleCenters.length;for(const w of this.possibleCenters)w.getCount()>=Y.CENTER_QUORUM&&(l++,d+=w.getEstimatedModuleSize());if(l<3)return!1;const f=d/h;let p=0;for(const w of this.possibleCenters)p+=Math.abs(w.getEstimatedModuleSize()-f);return p<=.05*d}selectBestPatterns(){const l=this.possibleCenters.length;if(l<3)throw new ve;const d=this.possibleCenters;let h;if(l>3){let f=0,p=0;for(const H of this.possibleCenters){const $=H.getEstimatedModuleSize();f+=$,p+=$*$}h=f/l;let w=Math.sqrt(p/l-h*h);d.sort((H,$)=>{const he=Math.abs($.getEstimatedModuleSize()-h),_e=Math.abs(H.getEstimatedModuleSize()-h);return he<_e?-1:he>_e?1:0});const M=Math.max(.2*h,w);for(let H=0;H3;H++)Math.abs(d[H].getEstimatedModuleSize()-h)>M&&(d.splice(H,1),H--)}if(d.length>3){let f=0;for(const p of d)f+=p.getEstimatedModuleSize();h=f/d.length,d.sort((p,w)=>{if(w.getCount()===p.getCount()){const M=Math.abs(w.getEstimatedModuleSize()-h),H=Math.abs(p.getEstimatedModuleSize()-h);return MH?-1:0}return w.getCount()-p.getCount()}),d.splice(3)}return[d[0],d[1],d[2]]}}return Y.CENTER_QUORUM=2,Y.MIN_SKIP=3,Y.MAX_MODULES=57,Y})();class fc{constructor(s){this.image=s}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(s){this.resultPointCallback=null==s?null:s.get(le.NEED_RESULT_POINT_CALLBACK);const d=new ph(this.image,this.resultPointCallback).find(s);return this.processFinderPatternInfo(d)}processFinderPatternInfo(s){const l=s.getTopLeft(),d=s.getTopRight(),h=s.getBottomLeft(),f=this.calculateModuleSize(l,d,h);if(f<1)throw new ve("No pattern found in proccess finder.");const p=fc.computeDimension(l,d,h,f),w=ci.getProvisionalVersionForDimension(p),M=w.getDimensionForVersion()-7;let H=null;if(w.getAlignmentPatternCenters().length>0){const ke=d.getX()-l.getX()+h.getX(),Ne=d.getY()-l.getY()+h.getY(),ze=1-3/M,je=Math.floor(l.getX()+ze*(ke-l.getX())),et=Math.floor(l.getY()+ze*(Ne-l.getY()));for(let kt=4;kt<=16;kt<<=1)try{H=this.findAlignmentInRegion(f,je,et,kt);break}catch(Gt){if(!(Gt instanceof ve))throw Gt}}const $=fc.createTransform(l,d,h,H,p),he=fc.sampleGrid(this.image,$,p);let _e;return _e=null===H?[h,l,d]:[h,l,d,H],new mn(he,_e)}static createTransform(s,l,d,h,f){const p=f-3.5;let w,M,H,$;return null!==h?(w=h.getX(),M=h.getY(),H=p-3,$=H):(w=l.getX()-s.getX()+d.getX(),M=l.getY()-s.getY()+d.getY(),H=p,$=p),$i.quadrilateralToQuadrilateral(3.5,3.5,p,3.5,H,$,3.5,p,s.getX(),s.getY(),l.getX(),l.getY(),w,M,d.getX(),d.getY())}static sampleGrid(s,l,d){return Oi.getInstance().sampleGridWithTransform(s,d,d,l)}static computeDimension(s,l,d,h){const f=Kt.round(wt.distance(s,l)/h),p=Kt.round(wt.distance(s,d)/h);let w=Math.floor((f+p)/2)+7;switch(3&w){case 0:w++;break;case 2:w--;break;case 3:throw new ve("Dimensions could be not found.")}return w}calculateModuleSize(s,l,d){return(this.calculateModuleSizeOneWay(s,l)+this.calculateModuleSizeOneWay(s,d))/2}calculateModuleSizeOneWay(s,l){const d=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(s.getX()),Math.floor(s.getY()),Math.floor(l.getX()),Math.floor(l.getY())),h=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(l.getX()),Math.floor(l.getY()),Math.floor(s.getX()),Math.floor(s.getY()));return isNaN(d)?h/7:isNaN(h)?d/7:(d+h)/14}sizeOfBlackWhiteBlackRunBothWays(s,l,d,h){let f=this.sizeOfBlackWhiteBlackRun(s,l,d,h),p=1,w=s-(d-s);w<0?(p=s/(s-w),w=0):w>=this.image.getWidth()&&(p=(this.image.getWidth()-1-s)/(w-s),w=this.image.getWidth()-1);let M=Math.floor(l-(h-l)*p);return p=1,M<0?(p=l/(l-M),M=0):M>=this.image.getHeight()&&(p=(this.image.getHeight()-1-l)/(M-l),M=this.image.getHeight()-1),w=Math.floor(s+(w-s)*p),f+=this.sizeOfBlackWhiteBlackRun(s,l,w,M),f-1}sizeOfBlackWhiteBlackRun(s,l,d,h){const f=Math.abs(h-l)>Math.abs(d-s);if(f){let ke=s;s=l,l=ke,ke=d,d=h,h=ke}const p=Math.abs(d-s),w=Math.abs(h-l);let M=-p/2;const H=s0){if(Ne===h)break;Ne+=$,M-=p}}return 2===he?Kt.distance(d+H,h,s,l):NaN}findAlignmentInRegion(s,l,d,h){const f=Math.floor(h*s),p=Math.max(0,l-f),w=Math.min(this.image.getWidth()-1,l+f);if(w-p<3*s)throw new ve("Alignment top exceeds estimated module size.");const M=Math.max(0,d-f),H=Math.min(this.image.getHeight()-1,d+f);if(H-M<3*s)throw new ve("Alignment bottom exceeds estimated module size.");return new ys(this.image,p,M,w-p,H-M,s,this.resultPointCallback).find()}}class vs{constructor(){this.decoder=new so}getDecoder(){return this.decoder}decode(s,l){let d,h;if(null!=l&&void 0!==l.get(le.PURE_BARCODE)){const M=vs.extractPureBits(s.getBlackMatrix());d=this.decoder.decodeBitMatrix(M,l),h=vs.NO_POINTS}else{const M=new fc(s.getBlackMatrix()).detect(l);d=this.decoder.decodeBitMatrix(M.getBits(),l),h=M.getPoints()}d.getOther()instanceof ll&&d.getOther().applyMirroredCorrection(h);const f=new He(d.getText(),d.getRawBytes(),void 0,h,nt.QR_CODE,void 0),p=d.getByteSegments();null!==p&&f.putMetadata(jt.BYTE_SEGMENTS,p);const w=d.getECLevel();return null!==w&&f.putMetadata(jt.ERROR_CORRECTION_LEVEL,w),d.hasStructuredAppend()&&(f.putMetadata(jt.STRUCTURED_APPEND_SEQUENCE,d.getStructuredAppendSequenceNumber()),f.putMetadata(jt.STRUCTURED_APPEND_PARITY,d.getStructuredAppendParity())),f}reset(){}static extractPureBits(s){const l=s.getTopLeftOnBit(),d=s.getBottomRightOnBit();if(null===l||null===d)throw new ve;const h=this.moduleSize(l,s);let f=l[1],p=d[1],w=l[0],M=d[0];if(w>=M||f>=p)throw new ve;if(p-f!=M-w&&(M=w+(p-f),M>=s.getWidth()))throw new ve;const H=Math.round((M-w+1)/h),$=Math.round((p-f+1)/h);if(H<=0||$<=0)throw new ve;if($!==H)throw new ve;const he=Math.floor(h/2);f+=he,w+=he;const _e=w+Math.floor((H-1)*h)-M;if(_e>0){if(_e>he)throw new ve;w-=_e}const ke=f+Math.floor(($-1)*h)-p;if(ke>0){if(ke>he)throw new ve;f-=ke}const Ne=new ge(H,$);for(let ze=0;ze<$;ze++){const je=f+Math.floor(ze*h);for(let et=0;et0;){const _e=Wi.findGuardPattern(s,f,--h,d,!1,p,H);if(null==_e){h++;break}he=_e}w[0]=new wt(he[0],h),w[1]=new wt(he[1],h),M=!0;break}}let $=h+1;if(M){let he=0,_e=Int32Array.from([Math.trunc(w[0].getX()),Math.trunc(w[1].getX())]);for(;$Wi.SKIPPED_ROW_COUNT_MAX)break;he++}}$-=he+1,w[2]=new wt(_e[0],$),w[3]=new wt(_e[1],$)}return $-h0&&H++he?$-he:he-$;if(_e>d)return 1/0;M+=_e}return M/f}}Wi.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),Wi.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),Wi.MAX_AVG_VARIANCE=.42,Wi.MAX_INDIVIDUAL_VARIANCE=.8,Wi.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),Wi.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),Wi.MAX_PIXEL_DRIFT=3,Wi.MAX_PATTERN_DRIFT=5,Wi.SKIPPED_ROW_COUNT_MAX=25,Wi.ROW_STEP=5,Wi.BARCODE_MIN_HEIGHT=10;class Wr{constructor(s,l){if(0===l.length)throw new R;this.field=s;let d=l.length;if(d>1&&0===l[0]){let h=1;for(;hd.length){let p=l;l=d,d=p}let h=new Int32Array(d.length),f=d.length-l.length;V.arraycopy(d,0,h,0,f);for(let p=f;p=0;l--){let d=this.getCoefficient(l);0!==d&&(d<0?(s.append(" - "),d=-d):s.length()>0&&s.append(" + "),(0===l||1!==d)&&s.append(d),0!==l&&(1===l?s.append("x"):(s.append("x^"),s.append(l))))}return s.toString()}}class hu{add(s,l){return(s+l)%this.modulus}subtract(s,l){return(this.modulus+s-l)%this.modulus}exp(s){return this.expTable[s]}log(s){if(0===s)throw new R;return this.logTable[s]}inverse(s){if(0===s)throw new An;return this.expTable[this.modulus-this.logTable[s]-1]}multiply(s,l){return 0===s||0===l?0:this.expTable[(this.logTable[s]+this.logTable[l])%(this.modulus-1)]}getSize(){return this.modulus}equals(s){return s===this}}class Ea extends hu{constructor(s,l){super(),this.modulus=s,this.expTable=new Int32Array(s),this.logTable=new Int32Array(s);let d=1;for(let h=0;h0;Ne--){let ze=h.evaluateAt(this.field.exp(Ne));f[l-Ne]=ze,0!==ze&&(p=!0)}if(!p)return 0;let w=this.field.getOne();if(null!=d)for(const Ne of d){let ze=this.field.exp(s.length-1-Ne),je=new Wr(this.field,new Int32Array([this.field.subtract(0,ze),1]));w=w.multiply(je)}let M=new Wr(this.field,f),H=this.runEuclideanAlgorithm(this.field.buildMonomial(l,1),M,l),$=H[0],he=H[1],_e=this.findErrorLocations($),ke=this.findErrorMagnitudes(he,$,_e);for(let Ne=0;Ne<_e.length;Ne++){let ze=s.length-1-this.field.log(_e[Ne]);if(ze<0)throw Q.getChecksumInstance();s[ze]=this.field.subtract(s[ze],ke[Ne])}return _e.length}runEuclideanAlgorithm(s,l,d){if(s.getDegree()=Math.round(d/2);){let _e=h,ke=p;if(h=f,p=w,h.isZero())throw Q.getChecksumInstance();f=_e;let Ne=this.field.getZero(),ze=h.getCoefficient(h.getDegree()),je=this.field.inverse(ze);for(;f.getDegree()>=h.getDegree()&&!f.isZero();){let et=f.getDegree()-h.getDegree(),kt=this.field.multiply(f.getCoefficient(f.getDegree()),je);Ne=Ne.add(this.field.buildMonomial(et,kt)),f=f.subtract(h.multiplyByMonomial(et,kt))}w=Ne.multiply(p).subtract(ke).negative()}let M=w.getCoefficient(0);if(0===M)throw Q.getChecksumInstance();let H=this.field.inverse(M);return[w.multiply(H),f.multiply(H)]}findErrorLocations(s){let l=s.getDegree(),d=new Int32Array(l),h=0;for(let f=1;f0){let M=d?this.topLeft:this.topRight,H=Math.trunc(M.getY()-s);H<0&&(H=0);let $=new wt(M.getX(),H);d?h=$:p=$}if(l>0){let M=d?this.bottomLeft:this.bottomRight,H=Math.trunc(M.getY()+l);H>=this.image.getHeight()&&(H=this.image.getHeight()-1);let $=new wt(M.getX(),H);d?f=$:w=$}return new cl(this.image,h,f,p,w)}getMinX(){return this.minX}getMaxX(){return this.maxX}getMinY(){return this.minY}getMaxY(){return this.maxY}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}getBottomLeft(){return this.bottomLeft}getBottomRight(){return this.bottomRight}}class Nm{constructor(s,l,d,h){this.columnCount=s,this.errorCorrectionLevel=h,this.rowCountUpperPart=l,this.rowCountLowerPart=d,this.rowCount=l+d}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class pc{constructor(){this.buffer=""}static form(s,l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function h(p,w,M,H,$,he){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let ke,_e=$?parseInt($.substr(1)):void 0;switch(he){case"s":ke=l[d];break;case"c":ke=l[d][0];break;case"f":ke=parseFloat(l[d]).toFixed(p);break;case"p":ke=parseFloat(l[d]).toPrecision(p);break;case"e":ke=parseFloat(l[d]).toExponential(p);break;case"x":ke=parseInt(l[d]).toString(_e||16);break;case"d":ke=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}ke="object"==typeof ke?JSON.stringify(ke):(+ke).toString(_e);let Ne=parseInt(M),ze=M&&M[0]+""=="0"?"0":" ";for(;ke.length{class Y{constructor(l){this.boundingBox=new cl(l),this.codewords=new Array(l.getMaxY()-l.getMinY()+1)}getCodewordNearby(l){let d=this.getCodeword(l);if(null!=d)return d;for(let h=1;h=0&&(d=this.codewords[f],null!=d)||(f=this.imageRowToCodewordIndex(l)+h,fd,getValue:()=>h};f.getValue()>s?(s=f.getValue(),l=[],l.push(f.getKey())):f.getValue()===s&&l.push(f.getKey())}return Ei.toIntArray(l)}getConfidence(s){return this.values.get(s)}}class St extends Ke{constructor(s,l){super(s),this._isLeft=l}setRowNumbers(){for(let s of this.getCodewords())s?.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(s){let l=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(l,s);let d=this.getBoundingBox(),h=this._isLeft?d.getTopLeft():d.getTopRight(),f=this._isLeft?d.getBottomLeft():d.getBottomRight(),p=this.imageRowToCodewordIndex(Math.trunc(h.getY())),w=this.imageRowToCodewordIndex(Math.trunc(f.getY())),M=-1,H=1,$=0;for(let he=p;he=s.getRowCount()||ke>he)l[he]=null;else{let Ne;Ne=H>2?(H-2)*ke:ke;let ze=Ne>=he;for(let je=1;je<=Ne&&!ze;je++)ze=null!=l[he-je];ze?l[he]=null:(M=_e.getRowNumber(),$=1)}}}getRowHeights(){let s=this.getBarcodeMetadata();if(null==s)return null;this.adjustIncompleteIndicatorColumnRowNumbers(s);let l=new Int32Array(s.getRowCount());for(let d of this.getCodewords())if(null!=d){let h=d.getRowNumber();if(h>=l.length)continue;l[h]++}return l}adjustIncompleteIndicatorColumnRowNumbers(s){let l=this.getBoundingBox(),d=this._isLeft?l.getTopLeft():l.getTopRight(),h=this._isLeft?l.getBottomLeft():l.getBottomRight(),f=this.imageRowToCodewordIndex(Math.trunc(d.getY())),p=this.imageRowToCodewordIndex(Math.trunc(h.getY())),w=this.getCodewords(),M=-1;for(let H=f;H=s.getRowCount()?w[H]=null:M=$.getRowNumber())}}getBarcodeMetadata(){let s=this.getCodewords(),l=new gc,d=new gc,h=new gc,f=new gc;for(let w of s){if(null==w)continue;w.setRowNumberAsRowIndicatorColumn();let M=w.getValue()%30,H=w.getRowNumber();switch(this._isLeft||(H+=2),H%3){case 0:d.setValue(3*M+1);break;case 1:f.setValue(M/3),h.setValue(M%3);break;case 2:l.setValue(M+1)}}if(0===l.getValue().length||0===d.getValue().length||0===h.getValue().length||0===f.getValue().length||l.getValue()[0]<1||d.getValue()[0]+h.getValue()[0]Ei.MAX_ROWS_IN_BARCODE)return null;let p=new Nm(l.getValue()[0],d.getValue()[0],h.getValue()[0],f.getValue()[0]);return this.removeIncorrectCodewords(s,p),p}removeIncorrectCodewords(s,l){for(let d=0;dl.getRowCount())s[d]=null;else switch(this._isLeft||(p+=2),p%3){case 0:3*f+1!==l.getRowCountUpperPart()&&(s[d]=null);break;case 1:(Math.trunc(f/3)!==l.getErrorCorrectionLevel()||f%3!==l.getRowCountLowerPart())&&(s[d]=null);break;case 2:f+1!==l.getColumnCount()&&(s[d]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class zo{constructor(s,l){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=s,this.barcodeColumnCount=s.getColumnCount(),this.boundingBox=l,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let l,s=Ei.MAX_CODEWORDS_IN_BARCODE;do{l=s,s=this.adjustRowNumbersAndGetCount()}while(s>0&&s0&&f0&&(w[0]=d[l-1],w[4]=f[l-1],w[5]=p[l-1]),l>1&&(w[8]=d[l-2],w[10]=f[l-2],w[11]=p[l-2]),l{class Y{constructor(l,d,h,f){this.rowNumber=Y.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(l),this.endX=Math.trunc(d),this.bucket=Math.trunc(h),this.value=Math.trunc(f)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(l){return l!==Y.BARCODE_ROW_UNKNOWN&&this.bucket===l%3*3}setRowNumberAsRowIndicatorColumn(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))}getWidth(){return this.endX-this.startX}getStartX(){return this.startX}getEndX(){return this.endX}getBucket(){return this.bucket}getValue(){return this.value}getRowNumber(){return this.rowNumber}setRowNumber(l){this.rowNumber=l}toString(){return this.rowNumber+"|"+this.value}}return Y.BARCODE_ROW_UNKNOWN=-1,Y})();class Nr{static initialize(){for(let s=0;s>=1;d=1&l,Nr.RATIOS_TABLE[s]||(Nr.RATIOS_TABLE[s]=new Array(Ei.BARS_IN_MODULE)),Nr.RATIOS_TABLE[s][Ei.BARS_IN_MODULE-h-1]=Math.fround(f/Ei.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(s){let l=Nr.getDecodedCodewordValue(Nr.sampleBitCounts(s));return-1!==l?l:Nr.getClosestDecodedValue(s)}static sampleBitCounts(s){let l=Kt.sum(s),d=new Int32Array(Ei.BARS_IN_MODULE),h=0,f=0;for(let p=0;p1)for(let p=0;p=h)break}wnew Array(Ei.BARS_IN_MODULE));class _c{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(s){this.segmentIndex=s}getFileId(){return this.fileId}setFileId(s){this.fileId=s}getOptionalData(){return this.optionalData}setOptionalData(s){this.optionalData=s}isLastSegment(){return this.lastSegment}setLastSegment(s){this.lastSegment=s}getSegmentCount(){return this.segmentCount}setSegmentCount(s){this.segmentCount=s}getSender(){return this.sender||null}setSender(s){this.sender=s}getAddressee(){return this.addressee||null}setAddressee(s){this.addressee=s}getFileName(){return this.fileName}setFileName(s){this.fileName=s}getFileSize(){return this.fileSize}setFileSize(s){this.fileSize=s}getChecksum(){return this.checksum}setChecksum(s){this.checksum=s}getTimestamp(){return this.timestamp}setTimestamp(s){this.timestamp=s}}class rs{static parseLong(s,l){return parseInt(s,l)}}let lo=(()=>{class Y extends N{}return Y.kind="NullPointerException",Y})();class Uo{writeBytes(s){this.writeBytesOffset(s,0,s.length)}writeBytesOffset(s,l,d){if(null==s)throw new lo;if(l<0||l>s.length||d<0||l+d>s.length||l+d<0)throw new se;if(0!==d)for(let h=0;h0&&this.grow(s)}grow(s){let d=this.buf.length<<1;if(d-s<0&&(d=s),d<0){if(s<0)throw new Pl;d=q.MAX_VALUE}this.buf=oe.copyOfUint8Array(this.buf,d)}write(s){this.ensureCapacity(this.count+1),this.buf[this.count]=s,this.count+=1}writeBytesOffset(s,l,d){if(l<0||l>s.length||d<0||l+d-s.length>0)throw new se;this.ensureCapacity(this.count+d),V.arraycopy(s,l,this.buf,this.count,d),this.count+=d}writeTo(s){s.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return oe.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(s){return s?"string"==typeof s?this.toString_string(s):this.toString_number(s):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(s){return new String(this.buf).toString()}toString_number(s){return new String(this.buf).toString()}close(){}}var Si=(()=>{return(Y=Si||(Si={}))[Y.ALPHA=0]="ALPHA",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.PUNCT=3]="PUNCT",Y[Y.ALPHA_SHIFT=4]="ALPHA_SHIFT",Y[Y.PUNCT_SHIFT=5]="PUNCT_SHIFT",Si;var Y})();function di(){if(typeof window<"u")return window.BigInt||null;if(typeof global<"u")return global.BigInt||null;if(typeof self<"u")return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}let Or;function Fs(Y){if(typeof Or>"u"&&(Or=di()),null===Or)throw new Error("BigInt is not supported!");return Or(Y)}class rt{static decode(s,l){let d=new me(""),h=ie.ISO8859_1;d.enableDecoding(h);let f=1,p=s[f++],w=new _c;for(;fs[0])throw J.getFormatInstance();let h=new Int32Array(rt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let w=0;w0){for(let _e=0;_e<6;++_e)p.write(Number(Fs(M)>>Fs(8*(5-_e))));M=0,w=0}}h===l[0]&&he0){for(let ke=0;ke<6;++ke)p.write(Number(Fs(M)>>Fs(8*(5-ke))));M=0,w=0}}}return f.append(re.decode(p.toByteArray(),d)),h}static numericCompaction(s,l,d){let h=0,f=!1,p=new Int32Array(rt.MAX_NUMERIC_CODEWORDS);for(;l0&&(d.append(rt.decodeBase900toBase10(p,h)),h=0)}return l}static decodeBase900toBase10(s,l){let d=Fs(0);for(let f=0;f@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",rt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",rt.EXP900=di()?function ja(){let Y=[];Y[0]=Fs(1);let s=Fs(900);Y[1]=s;for(let l=2;l<16;l++)Y[l]=Y[l-1]*s;return Y}():[],rt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class nn{constructor(){}static decode(s,l,d,h,f,p,w){let he,M=new cl(s,l,d,h,f),H=null,$=null;for(let Ne=!0;;Ne=!1){if(null!=l&&(H=nn.getRowIndicatorColumn(s,M,l,!0,p,w)),null!=h&&($=nn.getRowIndicatorColumn(s,M,h,!1,p,w)),he=nn.merge(H,$),null==he)throw ve.getNotFoundInstance();let ze=he.getBoundingBox();if(!Ne||null==ze||!(ze.getMinY()M.getMaxY()))break;M=ze}he.setBoundingBox(M);let _e=he.getBarcodeColumnCount()+1;he.setDetectionResultColumn(0,H),he.setDetectionResultColumn(_e,$);let ke=null!=H;for(let Ne=1;Ne<=_e;Ne++){let je,ze=ke?Ne:_e-Ne;if(void 0!==he.getDetectionResultColumn(ze))continue;je=0===ze||ze===_e?new St(M,0===ze):new Ke(M),he.setDetectionResultColumn(ze,je);let et=-1,kt=et;for(let Gt=M.getMinY();Gt<=M.getMaxY();Gt++){if(et=nn.getStartColumn(he,ze,Gt,ke),et<0||et>M.getMaxX()){if(-1===kt)continue;et=kt}let ct=nn.detectCodeword(s,M.getMinX(),M.getMaxX(),ke,et,Gt,p,w);null!=ct&&(je.setCodeword(Gt,ct),kt=et,p=Math.min(p,ct.getWidth()),w=Math.max(w,ct.getWidth()))}}return nn.createDecoderResult(he)}static merge(s,l){if(null==s&&null==l)return null;let d=nn.getBarcodeMetadata(s,l);if(null==d)return null;let h=cl.merge(nn.adjustBoundingBox(s),nn.adjustBoundingBox(l));return new zo(d,h)}static adjustBoundingBox(s){if(null==s)return null;let l=s.getRowHeights();if(null==l)return null;let d=nn.getMax(l),h=0;for(let w of l)if(h+=d-w,w>0)break;let f=s.getCodewords();for(let w=0;h>0&&null==f[w];w++)h--;let p=0;for(let w=l.length-1;w>=0&&(p+=d-l[w],!(l[w]>0));w--);for(let w=f.length-1;p>0&&null==f[w];w--)p--;return s.getBoundingBox().addMissingRows(h,p,s.isLeft())}static getMax(s){let l=-1;for(let d of s)l=Math.max(l,d);return l}static getBarcodeMetadata(s,l){let d,h;return null==s||null==(d=s.getBarcodeMetadata())?null==l?null:l.getBarcodeMetadata():null==l||null==(h=l.getBarcodeMetadata())?d:d.getColumnCount()!==h.getColumnCount()&&d.getErrorCorrectionLevel()!==h.getErrorCorrectionLevel()&&d.getRowCount()!==h.getRowCount()?null:d}static getRowIndicatorColumn(s,l,d,h,f,p){let w=new St(l,h);for(let M=0;M<2;M++){let H=0===M?1:-1,$=Math.trunc(Math.trunc(d.getX()));for(let he=Math.trunc(Math.trunc(d.getY()));he<=l.getMaxY()&&he>=l.getMinY();he+=H){let _e=nn.detectCodeword(s,0,s.getWidth(),h,$,he,f,p);null!=_e&&(w.setCodeword(he,_e),$=h?_e.getStartX():_e.getEndX())}}return w}static adjustCodewordCount(s,l){let d=l[0][1],h=d.getValue(),f=s.getBarcodeColumnCount()*s.getBarcodeRowCount()-nn.getNumberOfECCodeWords(s.getBarcodeECLevel());if(0===h.length){if(f<1||f>Ei.MAX_CODEWORDS_IN_BARCODE)throw ve.getNotFoundInstance();d.setValue(f)}else h[0]!==f&&d.setValue(f)}static createDecoderResult(s){let l=nn.createBarcodeMatrix(s);nn.adjustCodewordCount(s,l);let d=new Array,h=new Int32Array(s.getBarcodeRowCount()*s.getBarcodeColumnCount()),f=[],p=new Array;for(let M=0;M0;){for(let M=0;Mnew Array(s.getBarcodeColumnCount()+2));for(let h=0;h=0){if(p>=l.length)continue;l[p][d].setValue(f.getValue())}}d++}return l}static isValidBarcodeColumn(s,l){return l>=0&&l<=s.getBarcodeColumnCount()+1}static getStartColumn(s,l,d,h){let f=h?1:-1,p=null;if(nn.isValidBarcodeColumn(s,l-f)&&(p=s.getDetectionResultColumn(l-f).getCodeword(d)),null!=p)return h?p.getEndX():p.getStartX();if(p=s.getDetectionResultColumn(l).getCodewordNearby(d),null!=p)return h?p.getStartX():p.getEndX();if(nn.isValidBarcodeColumn(s,l-f)&&(p=s.getDetectionResultColumn(l-f).getCodewordNearby(d)),null!=p)return h?p.getEndX():p.getStartX();let w=0;for(;nn.isValidBarcodeColumn(s,l-f);){l-=f;for(let M of s.getDetectionResultColumn(l).getCodewords())if(null!=M)return(h?M.getEndX():M.getStartX())+f*w*(M.getEndX()-M.getStartX());w++}return h?s.getBoundingBox().getMinX():s.getBoundingBox().getMaxX()}static detectCodeword(s,l,d,h,f,p,w,M){f=nn.adjustCodewordStartColumn(s,l,d,h,f,p);let H=nn.getModuleBitCount(s,l,d,h,f,p);if(null==H)return null;let $,he=Kt.sum(H);if(h)$=f+he;else{for(let Ne=0;Ne=l)&&H=l:wnn.CODEWORD_SKEW_SIZE)return f;w+=M}M=-M,h=!h}return w}static checkCodewordSkew(s,l,d){return l-nn.CODEWORD_SKEW_SIZE<=s&&s<=d+nn.CODEWORD_SKEW_SIZE}static decodeCodewords(s,l,d){if(0===s.length)throw J.getFormatInstance();let h=1<d/2+nn.MAX_ERRORS||d<0||d>nn.MAX_EC_CODEWORDS)throw Q.getChecksumInstance();return nn.errorCorrection.decode(s,d,l)}static verifyCodewordCount(s,l){if(s.length<4)throw J.getFormatInstance();let d=s[0];if(d>s.length)throw J.getFormatInstance();if(0===d){if(!(l>=1;return l}static getCodewordBucketNumber(s){return s instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(s):this.getCodewordBucketNumber_number(s)}static getCodewordBucketNumber_number(s){return nn.getCodewordBucketNumber(nn.getBitCountForCodeword(s))}static getCodewordBucketNumber_Int32Array(s){return(s[0]-s[2]+s[4]-s[6]+9)%9}static toString(s){let l=new pc;for(let d=0;dp)}static getMaxWidth(s,l){return null==s||null==l?0:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMinWidth(s,l){return null==s||null==l?q.MAX_VALUE:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMaxCodewordWidth(s){return Math.floor(Math.max(Math.max(Bi.getMaxWidth(s[0],s[4]),Bi.getMaxWidth(s[6],s[2])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN),Math.max(Bi.getMaxWidth(s[1],s[5]),Bi.getMaxWidth(s[7],s[3])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(s){return Math.floor(Math.min(Math.min(Bi.getMinWidth(s[0],s[4]),Bi.getMinWidth(s[6],s[2])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN),Math.min(Bi.getMinWidth(s[1],s[5]),Bi.getMinWidth(s[7],s[3])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN)))}reset(){}}let Wo=(()=>{class Y extends N{}return Y.kind="ReaderException",Y})();class bc{constructor(s,l){this.verbose=!0===s,l&&this.setHints(l)}decode(s,l){return l&&this.setHints(l),this.decodeInternal(s)}decodeWithState(s){return null==this.readers&&this.setHints(null),this.decodeInternal(s)}setHints(s){this.hints=s;const l=!T(s)&&!0===s.get(le.TRY_HARDER),d=T(s)?null:s.get(le.POSSIBLE_FORMATS),h=new Array;if(!T(d)){const f=d.some(p=>p===nt.UPC_A||p===nt.UPC_E||p===nt.EAN_13||p===nt.EAN_8||p===nt.CODABAR||p===nt.CODE_39||p===nt.CODE_93||p===nt.CODE_128||p===nt.ITF||p===nt.RSS_14||p===nt.RSS_EXPANDED);f&&!l&&h.push(new Yo(s,this.verbose)),d.includes(nt.QR_CODE)&&h.push(new vs),d.includes(nt.DATA_MATRIX)&&h.push(new Ui),d.includes(nt.AZTEC)&&h.push(new Qr),d.includes(nt.PDF_417)&&h.push(new Bi),f&&l&&h.push(new Yo(s,this.verbose))}0===h.length&&(l||h.push(new Yo(s,this.verbose)),h.push(new vs),h.push(new Ui),h.push(new Qr),h.push(new Bi),l&&h.push(new Yo(s,this.verbose))),this.readers=h}reset(){if(null!==this.readers)for(const s of this.readers)s.reset()}decodeInternal(s){if(null===this.readers)throw new Wo("No readers where selected, nothing can be read.");for(const l of this.readers)try{return l.decode(s,this.hints)}catch(d){if(d instanceof Wo)continue}throw new ve("No MultiFormat Readers were able to detect the code.")}}var So=(()=>{return(Y=So||(So={}))[Y.ERROR_CORRECTION=0]="ERROR_CORRECTION",Y[Y.CHARACTER_SET=1]="CHARACTER_SET",Y[Y.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",Y[Y.MIN_SIZE=3]="MIN_SIZE",Y[Y.MAX_SIZE=4]="MAX_SIZE",Y[Y.MARGIN=5]="MARGIN",Y[Y.PDF417_COMPACT=6]="PDF417_COMPACT",Y[Y.PDF417_COMPACTION=7]="PDF417_COMPACTION",Y[Y.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",Y[Y.AZTEC_LAYERS=9]="AZTEC_LAYERS",Y[Y.QR_VERSION=10]="QR_VERSION",So;var Y})(),jr=So;class Sa{constructor(s){this.field=s,this.cachedGenerators=[],this.cachedGenerators.push(new ln(s,Int32Array.from([1])))}buildGenerator(s){const l=this.cachedGenerators;if(s>=l.length){let d=l[l.length-1];const h=this.field;for(let f=l.length;f<=s;f++){const p=d.multiply(new ln(h,Int32Array.from([1,h.exp(f-1+h.getGeneratorBase())])));l.push(p),d=p}}return l[s]}encode(s,l){if(0===l)throw new R("No error correction bytes");const d=s.length-l;if(d<=0)throw new R("No data bytes provided");const h=this.buildGenerator(l),f=new Int32Array(d);V.arraycopy(s,0,f,0,d);let p=new ln(this.field,f);p=p.multiplyByMonomial(l,1);const M=p.divide(h)[1].getCoefficients(),H=l-M.length;for(let $=0;${class Y{constructor(){}static applyMaskPenaltyRule1(l){return Y.applyMaskPenaltyRule1Internal(l,!0)+Y.applyMaskPenaltyRule1Internal(l,!1)}static applyMaskPenaltyRule2(l){let d=0;const h=l.getArray(),f=l.getWidth(),p=l.getHeight();for(let w=0;w=5&&(h+=Y.N1+(H-5)),H=1,$=_e)}H>=5&&(h+=Y.N1+(H-5))}return h}}return Y.N1=3,Y.N2=3,Y.N3=40,Y.N4=10,Y})();class qo{constructor(s,l){this.width=s,this.height=l;const d=new Array(l);for(let h=0;h!==l;h++)d[h]=new Uint8Array(s);this.bytes=d}getHeight(){return this.height}getWidth(){return this.width}get(s,l){return this.bytes[l][s]}getArray(){return this.bytes}setNumber(s,l,d){this.bytes[l][s]=d}setBoolean(s,l,d){this.bytes[l][s]=d?1:0}clear(s){for(const l of this.bytes)oe.fill(l,s)}equals(s){if(!(s instanceof qo))return!1;const l=s;if(this.width!==l.width||this.height!==l.height)return!1;for(let d=0,h=this.height;d{class Y{constructor(){this.maskPattern=-1}getMode(){return this.mode}getECLevel(){return this.ecLevel}getVersion(){return this.version}getMaskPattern(){return this.maskPattern}getMatrix(){return this.matrix}toString(){const l=new me;return l.append("<<\n"),l.append(" mode: "),l.append(this.mode?this.mode.toString():"null"),l.append("\n ecLevel: "),l.append(this.ecLevel?this.ecLevel.toString():"null"),l.append("\n version: "),l.append(this.version?this.version.toString():"null"),l.append("\n maskPattern: "),l.append(this.maskPattern.toString()),this.matrix?(l.append("\n matrix:\n"),l.append(this.matrix.toString())):l.append("\n matrix: null\n"),l.append(">>\n"),l.toString()}setMode(l){this.mode=l}setECLevel(l){this.ecLevel=l}setVersion(l){this.version=l}setMaskPattern(l){this.maskPattern=l}setMatrix(l){this.matrix=l}static isValidMaskPattern(l){return l>=0&&l{class Y extends N{}return Y.kind="WriterException",Y})();class wi{constructor(){}static clearMatrix(s){s.clear(255)}static buildMatrix(s,l,d,h,f){wi.clearMatrix(f),wi.embedBasicPatterns(d,f),wi.embedTypeInfo(l,h,f),wi.maybeEmbedVersionInfo(d,f),wi.embedDataBits(s,h,f)}static embedBasicPatterns(s,l){wi.embedPositionDetectionPatternsAndSeparators(l),wi.embedDarkDotAtLeftBottomCorner(l),wi.maybeEmbedPositionAdjustmentPatterns(s,l),wi.embedTimingPatterns(l)}static embedTypeInfo(s,l,d){const h=new z;wi.makeTypeInfoBits(s,l,h);for(let f=0,p=h.getSize();f0;){for(6===p&&(p-=1);w>=0&&w=d;)s^=l<=0)for(let M=0;M!==p;M++){const H=h[M];H>=0&&wi.isEmpty(l.get(H,w))&&wi.embedPositionAdjustmentPattern(H-2,w-2,l)}}}}wi.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),wi.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),wi.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),wi.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),wi.VERSION_INFO_POLY=7973,wi.TYPE_INFO_POLY=1335,wi.TYPE_INFO_MASK_PATTERN=21522;class Fe{constructor(s,l){this.dataBytes=s,this.errorCorrectionBytes=l}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class or{constructor(){}static calculateMaskPenalty(s){return ul.applyMaskPenaltyRule1(s)+ul.applyMaskPenaltyRule2(s)+ul.applyMaskPenaltyRule3(s)+ul.applyMaskPenaltyRule4(s)}static encode(s,l,d=null){let h=or.DEFAULT_BYTE_MODE_ENCODING;const f=null!==d&&void 0!==d.get(jr.CHARACTER_SET);f&&(h=d.get(jr.CHARACTER_SET).toString());const p=this.chooseMode(s,h),w=new z;if(p===ki.BYTE&&(f||or.DEFAULT_BYTE_MODE_ENCODING!==h)){const Gt=ie.getCharacterSetECIByName(h);void 0!==Gt&&this.appendECI(Gt,w)}this.appendModeInfo(p,w);const M=new z;let H;if(this.appendBytes(s,p,M,h),null!==d&&void 0!==d.get(jr.QR_VERSION)){const Gt=Number.parseInt(d.get(jr.QR_VERSION).toString(),10);H=ci.getVersionForNumber(Gt);const ct=this.calculateBitsNeeded(p,w,M,H);if(!this.willFit(ct,H,l))throw new En("Data too big for requested version")}else H=this.recommendVersion(l,p,w,M);const $=new z;$.appendBitArray(w);const he=p===ki.BYTE?M.getSizeInBytes():s.length;this.appendLengthInfo(he,H,p,$),$.appendBitArray(M);const _e=H.getECBlocksForLevel(l),ke=H.getTotalCodewords()-_e.getTotalECCodewords();this.terminateBits(ke,$);const Ne=this.interleaveWithECBytes($,H.getTotalCodewords(),ke,_e.getNumBlocks()),ze=new To;ze.setECLevel(l),ze.setMode(p),ze.setVersion(H);const je=H.getDimensionForVersion(),et=new qo(je,je),kt=this.chooseMaskPattern(Ne,l,H,et);return ze.setMaskPattern(kt),wi.buildMatrix(Ne,l,H,kt,et),ze.setMatrix(et),ze}static recommendVersion(s,l,d,h){const f=this.calculateBitsNeeded(l,d,h,ci.getVersionForNumber(1)),p=this.chooseVersion(f,s),w=this.calculateBitsNeeded(l,d,h,p);return this.chooseVersion(w,s)}static calculateBitsNeeded(s,l,d,h){return l.getSize()+s.getCharacterCountBits(h)+d.getSize()}static getAlphanumericCode(s){return s159)&&(f<224||f>235))return!1}return!0}static chooseMaskPattern(s,l,d,h){let f=Number.MAX_SAFE_INTEGER,p=-1;for(let w=0;w=(s+7)/8}static terminateBits(s,l){const d=8*s;if(l.getSize()>d)throw new En("data bits cannot fit in the QR Code"+l.getSize()+" > "+d);for(let p=0;p<4&&l.getSize()0)for(let p=h;p<8;p++)l.appendBit(!1);const f=s-l.getSizeInBytes();for(let p=0;p=d)throw new En("Block ID too large");const w=s%d,M=d-w,H=Math.floor(s/d),$=H+1,he=Math.floor(l/d),_e=he+1,ke=H-he,Ne=$-_e;if(ke!==Ne)throw new En("EC bytes mismatch");if(d!==M+w)throw new En("RS blocks mismatch");if(s!==(he+ke)*M+(_e+Ne)*w)throw new En("Total bytes mismatch");h=1<=0&&l<=9}static appendNumericBytes(s,l){const d=s.length;let h=0;for(;h=33088&&M<=40956?H=M-33088:M>=57408&&M<=60351&&(H=M-49472),-1===H)throw new En("Invalid byte sequence");l.appendBits(192*(H>>8)+(255&H),13)}}static appendECI(s,l){l.appendBits(ki.ECI.getBits(),4),l.appendBits(s.getValue(),8)}}or.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),or.DEFAULT_BYTE_MODE_ENCODING=ie.UTF8.getName();let ii=(()=>{class Y{write(l,d,h,f=null){if(0===l.length)throw new R("Found empty contents");if(d<0||h<0)throw new R("Requested dimensions are too small: "+d+"x"+h);let p=Pt.L,w=Y.QUIET_ZONE_SIZE;null!==f&&(void 0!==f.get(jr.ERROR_CORRECTION)&&(p=Pt.fromString(f.get(jr.ERROR_CORRECTION).toString())),void 0!==f.get(jr.MARGIN)&&(w=Number.parseInt(f.get(jr.MARGIN).toString(),10)));const M=or.encode(l,p,f);return this.renderResult(M,d,h,w)}writeToDom(l,d,h,f,p=null){"string"==typeof l&&(l=document.querySelector(l));const w=this.write(d,h,f,p);l&&l.appendChild(w)}renderResult(l,d,h,f){const p=l.getMatrix();if(null===p)throw new Wt;const w=p.getWidth(),M=p.getHeight(),H=w+2*f,$=M+2*f,he=Math.max(d,H),_e=Math.max(h,$),ke=Math.min(Math.floor(he/H),Math.floor(_e/$)),Ne=Math.floor((he-w*ke)/2),ze=Math.floor((_e-M*ke)/2),je=this.createSVGElement(he,_e);for(let et=0,kt=ze;et{class Y{encode(l,d,h,f,p){if(0===l.length)throw new R("Found empty contents");if(d!==nt.QR_CODE)throw new R("Can only encode QR_CODE, but got "+d);if(h<0||f<0)throw new R(`Requested dimensions are too small: ${h}x${f}`);let w=Pt.L,M=Y.QUIET_ZONE_SIZE;null!==p&&(void 0!==p.get(jr.ERROR_CORRECTION)&&(w=Pt.fromString(p.get(jr.ERROR_CORRECTION).toString())),void 0!==p.get(jr.MARGIN)&&(M=Number.parseInt(p.get(jr.MARGIN).toString(),10)));const H=or.encode(l,w,p);return Y.renderResult(H,h,f,M)}static renderResult(l,d,h,f){const p=l.getMatrix();if(null===p)throw new Wt;const w=p.getWidth(),M=p.getHeight(),H=w+2*f,$=M+2*f,he=Math.max(d,H),_e=Math.max(h,$),ke=Math.min(Math.floor(he/H),Math.floor(_e/$)),Ne=Math.floor((he-w*ke)/2),ze=Math.floor((_e-M*ke)/2),je=new ge(he,_e);for(let et=0,kt=ze;et{class Y extends at{constructor(l,d,h,f,p,w,M,H){if(super(w,M),this.yuvData=l,this.dataWidth=d,this.dataHeight=h,this.left=f,this.top=p,f+w>d||p+M>h)throw new R("Crop rectangle does not fit within image data.");H&&this.reverseHorizontal(w,M)}getRow(l,d){if(l<0||l>=this.getHeight())throw new R("Requested row is outside the image: "+l);const h=this.getWidth();return(null==d||d.length>16&255)+(he>>7&510)+(255&he))/4&255}this.luminances=H}else this.luminances=s;if(void 0===h&&(this.dataWidth=l),void 0===f&&(this.dataHeight=d),void 0===p&&(this.left=0),void 0===w&&(this.top=0),this.left+l>this.dataWidth||this.top+d>this.dataHeight)throw new R("Crop rectangle does not fit within image data.")}getRow(s,l){if(s<0||s>=this.getHeight())throw new R("Requested row is outside the image: "+s);const d=this.getWidth();return(null==l||l.length"}}class xe extends te{constructor(s,l,d){super(s,0,0),this.binaryShiftStart=l,this.binaryShiftByteCount=d}appendTo(s,l){for(let d=0;d62?s.appendBits(this.binaryShiftByteCount-31,16):s.appendBits(0===d?Math.min(this.binaryShiftByteCount,31):this.binaryShiftByteCount-31,5)),s.appendBits(l[this.binaryShiftStart+d],8)}addBinaryShift(s,l){return new xe(this,s,l)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function Me(Y,s,l){return new te(Y,s,l)}const bt=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],Ft=0,Di=1,Ai=2,Mi=3,Xt=4,Xn=new te(null,0,0),qe=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];const xs=function Ko(Y){for(let s of Y)oe.fill(s,-1);return Y[Ft][Xt]=0,Y[Di][Xt]=0,Y[Di][Ft]=28,Y[Mi][Xt]=0,Y[Ai][Xt]=0,Y[Ai][Ft]=15,Y}(oe.createInt32Array(6,6));class Aa{constructor(s,l,d,h){this.token=s,this.mode=l,this.binaryShiftByteCount=d,this.bitCount=h}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(s,l){let d=this.bitCount,h=this.token;if(s!==this.mode){let p=qe[this.mode][s];h=Me(h,65535&p,p>>16),d+=p>>16}let f=s===Ai?4:5;return h=Me(h,l,f),new Aa(h,s,0,d+f)}shiftAndAppend(s,l){let d=this.token,h=this.mode===Ai?4:5;return d=Me(d,xs[this.mode][s],h),d=Me(d,l,5),new Aa(d,this.mode,0,this.bitCount+h+5)}addBinaryShiftChar(s){let l=this.token,d=this.mode,h=this.bitCount;if(this.mode===Xt||this.mode===Ai){let w=qe[d][Ft];l=Me(l,65535&w,w>>16),h+=w>>16,d=Ft}let p=new Aa(l,d,this.binaryShiftByteCount+1,h+(0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8));return 2078===p.binaryShiftByteCount&&(p=p.endBinaryShift(s+1)),p}endBinaryShift(s){if(0===this.binaryShiftByteCount)return this;let l=this.token;return l=function Se(Y,s,l){return new xe(Y,s,l)}(l,s-this.binaryShiftByteCount,this.binaryShiftByteCount),new Aa(l,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(s){let l=this.bitCount+(qe[this.mode][s.mode]>>16);return this.binaryShiftByteCounts.binaryShiftByteCount&&s.binaryShiftByteCount>0&&(l+=10),l<=s.bitCount}toBitArray(s){let l=[];for(let h=this.endBinaryShift(s.length).token;null!==h;h=h.getPrevious())l.unshift(h);let d=new z;for(const h of l)h.appendTo(d,s);return d}toString(){return ae.format("%s bits=%d bytes=%d",bt[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(s){return s.binaryShiftByteCount>62?21:s.binaryShiftByteCount>31?20:s.binaryShiftByteCount>0?10:0}}Aa.INITIAL_STATE=new Aa(Xn,Ft,0,0);const as=function Dt(Y){const s=ae.getCharCode(" "),l=ae.getCharCode("."),d=ae.getCharCode(",");Y[Ft][s]=1;const h=ae.getCharCode("Z"),f=ae.getCharCode("A");for(let _e=f;_e<=h;_e++)Y[Ft][_e]=_e-f+2;Y[Di][s]=1;const p=ae.getCharCode("z"),w=ae.getCharCode("a");for(let _e=w;_e<=p;_e++)Y[Di][_e]=_e-w+2;Y[Ai][s]=1;const M=ae.getCharCode("9"),H=ae.getCharCode("0");for(let _e=H;_e<=M;_e++)Y[Ai][_e]=_e-H+2;Y[Ai][d]=12,Y[Ai][l]=13;const $=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let _e=0;_e<$.length;_e++)Y[Mi][ae.getCharCode($[_e])]=_e;const he=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(let _e=0;_e0&&(Y[Xt][ae.getCharCode(he[_e])]=_e);return Y}(oe.createInt32Array(5,256));class Cs{constructor(s){this.text=s}encode(){const s=ae.getCharCode(" "),l=ae.getCharCode("\n");let d=co.singletonList(Aa.INITIAL_STATE);for(let f=0;f0?(d=Cs.updateStateListForPair(d,f,p),f++):d=this.updateStateListForChar(d,f)}return co.min(d,(f,p)=>f.getBitCount()-p.getBitCount()).toBitArray(this.text)}updateStateListForChar(s,l){const d=[];for(let h of s)this.updateStateForChar(h,l,d);return Cs.simplifyStates(d)}updateStateForChar(s,l,d){let h=255&this.text[l],f=as[s.getMode()][h]>0,p=null;for(let w=0;w<=Xt;w++){let M=as[w][h];if(M>0){if(null==p&&(p=s.endBinaryShift(l)),!f||w===s.getMode()||w===Ai){const H=p.latchAndAppend(w,M);d.push(H)}if(!f&&xs[s.getMode()][w]>=0){const H=p.shiftAndAppend(w,M);d.push(H)}}}if(s.getBinaryShiftByteCount()>0||0===as[s.getMode()][h]){let w=s.addBinaryShiftChar(l);d.push(w)}}static updateStateListForPair(s,l,d){const h=[];for(let f of s)this.updateStateForPair(f,l,d,h);return this.simplifyStates(h)}static updateStateForPair(s,l,d,h){let f=s.endBinaryShift(l);if(h.push(f.latchAndAppend(Xt,d)),s.getMode()!==Xt&&h.push(f.shiftAndAppend(Xt,d)),3===d||4===d){let p=f.latchAndAppend(Ai,16-d).latchAndAppend(Ai,1);h.push(p)}if(s.getBinaryShiftByteCount()>0){let p=s.addBinaryShiftChar(l).addBinaryShiftChar(l+1);h.push(p)}}static simplifyStates(s){let l=[];for(const d of s){let h=!0;for(const f of l){if(f.isBetterThanOrEqualTo(d)){h=!1;break}d.isBetterThanOrEqualTo(f)&&(l=l.filter(p=>p!==f))}h&&l.push(d)}return l}}class Oe{constructor(){}static encodeBytes(s){return Oe.encode(s,Oe.DEFAULT_EC_PERCENT,Oe.DEFAULT_AZTEC_LAYERS)}static encode(s,l,d){let w,M,H,$,he,h=new Cs(s).encode(),f=q.truncDivision(h.getSize()*l,100)+11,p=h.getSize()+f;if(d!==Oe.DEFAULT_AZTEC_LAYERS){if(w=d<0,M=Math.abs(d),M>(w?Oe.MAX_NB_BITS_COMPACT:Oe.MAX_NB_BITS))throw new R(ae.format("Illegal value %s for layers",d));H=Oe.totalBitsInLayer(M,w),$=Oe.WORD_SIZE[M];let ct=H-H%$;if(he=Oe.stuffBits(h,$),he.getSize()+f>ct)throw new R("Data to large for user specified layer");if(w&&he.getSize()>64*$)throw new R("Data to large for user specified layer")}else{$=0,he=null;for(let ct=0;;ct++){if(ct>Oe.MAX_NB_BITS)throw new R("Data too large for an Aztec code");if(w=ct<=3,M=w?ct+1:ct,H=Oe.totalBitsInLayer(M,w),p>H)continue;(null==he||$!==Oe.WORD_SIZE[M])&&($=Oe.WORD_SIZE[M],he=Oe.stuffBits(h,$));let Ii=H-H%$;if(!(w&&he.getSize()>64*$)&&he.getSize()+f<=Ii)break}}let et,_e=Oe.generateCheckWords(he,H,$),ke=he.getSize()/$,Ne=Oe.generateModeMessage(w,M,ke),ze=(w?11:14)+4*M,je=new Int32Array(ze);if(w){et=ze;for(let ct=0;ct=h||s.get(p+M))&&(w|=1<0&&ie.has(this.stack[this.stack.length-1]);){var ue=this.stack.pop();null===(le=(de=this.cbs).onclosetag)||void 0===le||le.call(de,ue,!0)}this.isVoidElement(z)||(this.stack.push(z),V.has(z)?this.foreignContext.push(!0):se.has(z)&&this.foreignContext.push(!1)),null===(W=(J=this.cbs).onopentagname)||void 0===W||W.call(J,z),this.cbs.onopentag&&(this.attribs={})},q.prototype.endOpenTag=function(z){var de,le;this.startIndex=this.openTagStart,this.attribs&&(null===(le=(de=this.cbs).onopentag)||void 0===le||le.call(de,this.tagname,this.attribs,z),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},q.prototype.onopentagend=function(z){this.endIndex=z,this.endOpenTag(!1),this.startIndex=z+1},q.prototype.onclosetag=function(z,de){var le,J,W,ie,ue,re;this.endIndex=de;var ae=this.getSlice(z,de);if(this.lowerCaseTagNames&&(ae=ae.toLowerCase()),(V.has(ae)||se.has(ae))&&this.foreignContext.pop(),this.isVoidElement(ae))!this.options.xmlMode&&"br"===ae&&(null===(J=(le=this.cbs).onopentagname)||void 0===J||J.call(le,"br"),null===(ie=(W=this.cbs).onopentag)||void 0===ie||ie.call(W,"br",{},!0),null===(re=(ue=this.cbs).onclosetag)||void 0===re||re.call(ue,"br",!1));else{var me=this.stack.lastIndexOf(ae);if(-1!==me)if(this.cbs.onclosetag)for(var ge=this.stack.length-me;ge--;)this.cbs.onclosetag(this.stack.pop(),0!==ge);else this.stack.length=me;else!this.options.xmlMode&&"p"===ae&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=de+1},q.prototype.onselfclosingtag=function(z){this.endIndex=z,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=z+1):this.onopentagend(z)},q.prototype.closeCurrentTag=function(z){var de,le,J=this.tagname;this.endOpenTag(z),this.stack[this.stack.length-1]===J&&(null===(le=(de=this.cbs).onclosetag)||void 0===le||le.call(de,J,!z),this.stack.pop())},q.prototype.onattribname=function(z,de){this.startIndex=z;var le=this.getSlice(z,de);this.attribname=this.lowerCaseAttributeNames?le.toLowerCase():le},q.prototype.onattribdata=function(z,de){this.attribvalue+=this.getSlice(z,de)},q.prototype.onattribentity=function(z){this.attribvalue+=(0,C.fromCodePoint)(z)},q.prototype.onattribend=function(z,de){var le,J;this.endIndex=de,null===(J=(le=this.cbs).onattribute)||void 0===J||J.call(le,this.attribname,this.attribvalue,z===b.QuoteType.Double?'"':z===b.QuoteType.Single?"'":z===b.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},q.prototype.getInstructionName=function(z){var de=z.search(G),le=de<0?z:z.substr(0,de);return this.lowerCaseTagNames&&(le=le.toLowerCase()),le},q.prototype.ondeclaration=function(z,de){this.endIndex=de;var le=this.getSlice(z,de);if(this.cbs.onprocessinginstruction){var J=this.getInstructionName(le);this.cbs.onprocessinginstruction("!".concat(J),"!".concat(le))}this.startIndex=de+1},q.prototype.onprocessinginstruction=function(z,de){this.endIndex=de;var le=this.getSlice(z,de);if(this.cbs.onprocessinginstruction){var J=this.getInstructionName(le);this.cbs.onprocessinginstruction("?".concat(J),"?".concat(le))}this.startIndex=de+1},q.prototype.oncomment=function(z,de,le){var J,W,ie,ue;this.endIndex=de,null===(W=(J=this.cbs).oncomment)||void 0===W||W.call(J,this.getSlice(z,de-le)),null===(ue=(ie=this.cbs).oncommentend)||void 0===ue||ue.call(ie),this.startIndex=de+1},q.prototype.oncdata=function(z,de,le){var J,W,ie,ue,re,ae,me,ge,ve,Ye;this.endIndex=de;var Re=this.getSlice(z,de-le);this.options.xmlMode||this.options.recognizeCDATA?(null===(W=(J=this.cbs).oncdatastart)||void 0===W||W.call(J),null===(ue=(ie=this.cbs).ontext)||void 0===ue||ue.call(ie,Re),null===(ae=(re=this.cbs).oncdataend)||void 0===ae||ae.call(re)):(null===(ge=(me=this.cbs).oncomment)||void 0===ge||ge.call(me,"[CDATA[".concat(Re,"]]")),null===(Ye=(ve=this.cbs).oncommentend)||void 0===Ye||Ye.call(ve)),this.startIndex=de+1},q.prototype.onend=function(){var z,de;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var le=this.stack.length;le>0;this.cbs.onclosetag(this.stack[--le],!0));}null===(de=(z=this.cbs).onend)||void 0===de||de.call(z)},q.prototype.reset=function(){var z,de,le,J;null===(de=(z=this.cbs).onreset)||void 0===de||de.call(z),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(J=(le=this.cbs).onparserinit)||void 0===J||J.call(le,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},q.prototype.parseComplete=function(z){this.reset(),this.end(z)},q.prototype.getSlice=function(z,de){for(;z-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var le=this.buffers[0].slice(z-this.bufferOffset,de-this.bufferOffset);de-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),le+=this.buffers[0].slice(0,de-this.bufferOffset);return le},q.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},q.prototype.write=function(z){var de,le;this.ended?null===(le=(de=this.cbs).onerror)||void 0===le||le.call(de,new Error(".write() after done!")):(this.buffers.push(z),this.tokenizer.running&&(this.tokenizer.write(z),this.writeIndex++))},q.prototype.end=function(z){var de,le;this.ended?null===(le=(de=this.cbs).onerror)||void 0===le||le.call(de,Error(".end() after done!")):(z&&this.write(z),this.ended=!0,this.tokenizer.end())},q.prototype.pause=function(){this.tokenizer.pause()},q.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.QuoteType=void 0;var R,j,T=I(6569),g=(()=>{return(j=g||(g={}))[j.Tab=9]="Tab",j[j.NewLine=10]="NewLine",j[j.FormFeed=12]="FormFeed",j[j.CarriageReturn=13]="CarriageReturn",j[j.Space=32]="Space",j[j.ExclamationMark=33]="ExclamationMark",j[j.Num=35]="Num",j[j.Amp=38]="Amp",j[j.SingleQuote=39]="SingleQuote",j[j.DoubleQuote=34]="DoubleQuote",j[j.Dash=45]="Dash",j[j.Slash=47]="Slash",j[j.Zero=48]="Zero",j[j.Nine=57]="Nine",j[j.Semi=59]="Semi",j[j.Lt=60]="Lt",j[j.Eq=61]="Eq",j[j.Gt=62]="Gt",j[j.Questionmark=63]="Questionmark",j[j.UpperA=65]="UpperA",j[j.LowerA=97]="LowerA",j[j.UpperF=70]="UpperF",j[j.LowerF=102]="LowerF",j[j.UpperZ=90]="UpperZ",j[j.LowerZ=122]="LowerZ",j[j.LowerX=120]="LowerX",j[j.OpeningSquareBracket=91]="OpeningSquareBracket",g;var j})(),y=(()=>{return(j=y||(y={}))[j.Text=1]="Text",j[j.BeforeTagName=2]="BeforeTagName",j[j.InTagName=3]="InTagName",j[j.InSelfClosingTag=4]="InSelfClosingTag",j[j.BeforeClosingTagName=5]="BeforeClosingTagName",j[j.InClosingTagName=6]="InClosingTagName",j[j.AfterClosingTagName=7]="AfterClosingTagName",j[j.BeforeAttributeName=8]="BeforeAttributeName",j[j.InAttributeName=9]="InAttributeName",j[j.AfterAttributeName=10]="AfterAttributeName",j[j.BeforeAttributeValue=11]="BeforeAttributeValue",j[j.InAttributeValueDq=12]="InAttributeValueDq",j[j.InAttributeValueSq=13]="InAttributeValueSq",j[j.InAttributeValueNq=14]="InAttributeValueNq",j[j.BeforeDeclaration=15]="BeforeDeclaration",j[j.InDeclaration=16]="InDeclaration",j[j.InProcessingInstruction=17]="InProcessingInstruction",j[j.BeforeComment=18]="BeforeComment",j[j.CDATASequence=19]="CDATASequence",j[j.InSpecialComment=20]="InSpecialComment",j[j.InCommentLike=21]="InCommentLike",j[j.BeforeSpecialS=22]="BeforeSpecialS",j[j.SpecialStartSequence=23]="SpecialStartSequence",j[j.InSpecialTag=24]="InSpecialTag",j[j.BeforeEntity=25]="BeforeEntity",j[j.BeforeNumericEntity=26]="BeforeNumericEntity",j[j.InNamedEntity=27]="InNamedEntity",j[j.InNumericEntity=28]="InNumericEntity",j[j.InHexEntity=29]="InHexEntity",y;var j})();function b(j){return j===g.Space||j===g.NewLine||j===g.Tab||j===g.FormFeed||j===g.CarriageReturn}function C(j){return j===g.Slash||j===g.Gt||b(j)}function D(j){return j>=g.Zero&&j<=g.Nine}(j=R=A.QuoteType||(A.QuoteType={}))[j.NoValue=0]="NoValue",j[j.Unquoted=1]="Unquoted",j[j.Single=2]="Single",j[j.Double=3]="Double";var U={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},Q=function(){function j(V,se){var G=V.xmlMode,oe=void 0!==G&&G,q=V.decodeEntities,z=void 0===q||q;this.cbs=se,this.state=y.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=y.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=oe,this.decodeEntities=z,this.entityTrie=oe?T.xmlDecodeTree:T.htmlDecodeTree}return j.prototype.reset=function(){this.state=y.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=y.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},j.prototype.write=function(V){this.offset+=this.buffer.length,this.buffer=V,this.parse()},j.prototype.end=function(){this.running&&this.finish()},j.prototype.pause=function(){this.running=!1},j.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=y.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&V===g.Amp&&(this.state=y.BeforeEntity)},j.prototype.stateSpecialStartSequence=function(V){var se=this.sequenceIndex===this.currentSequence.length;if(se?C(V):(32|V)===this.currentSequence[this.sequenceIndex]){if(!se)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=y.InTagName,this.stateInTagName(V)},j.prototype.stateInSpecialTag=function(V){if(this.sequenceIndex===this.currentSequence.length){if(V===g.Gt||b(V)){var se=this.index-this.currentSequence.length;if(this.sectionStart=g.LowerA&&j<=g.LowerZ||j>=g.UpperA&&j<=g.UpperZ}(V)},j.prototype.startSpecial=function(V,se){this.isSpecial=!0,this.currentSequence=V,this.sequenceIndex=se,this.state=y.SpecialStartSequence},j.prototype.stateBeforeTagName=function(V){if(V===g.ExclamationMark)this.state=y.BeforeDeclaration,this.sectionStart=this.index+1;else if(V===g.Questionmark)this.state=y.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(V)){var se=32|V;this.sectionStart=this.index,this.xmlMode||se!==U.TitleEnd[2]?this.state=this.xmlMode||se!==U.ScriptEnd[2]?y.InTagName:y.BeforeSpecialS:this.startSpecial(U.TitleEnd,3)}else V===g.Slash?this.state=y.BeforeClosingTagName:(this.state=y.Text,this.stateText(V))},j.prototype.stateInTagName=function(V){C(V)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateBeforeClosingTagName=function(V){b(V)||(V===g.Gt?this.state=y.Text:(this.state=this.isTagStartChar(V)?y.InClosingTagName:y.InSpecialComment,this.sectionStart=this.index))},j.prototype.stateInClosingTagName=function(V){(V===g.Gt||b(V))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.AfterClosingTagName,this.stateAfterClosingTagName(V))},j.prototype.stateAfterClosingTagName=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeAttributeName=function(V){V===g.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=y.InSpecialTag,this.sequenceIndex=0):this.state=y.Text,this.baseState=this.state,this.sectionStart=this.index+1):V===g.Slash?this.state=y.InSelfClosingTag:b(V)||(this.state=y.InAttributeName,this.sectionStart=this.index)},j.prototype.stateInSelfClosingTag=function(V){V===g.Gt?(this.cbs.onselfclosingtag(this.index),this.state=y.Text,this.baseState=y.Text,this.sectionStart=this.index+1,this.isSpecial=!1):b(V)||(this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateInAttributeName=function(V){(V===g.Eq||C(V))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.AfterAttributeName,this.stateAfterAttributeName(V))},j.prototype.stateAfterAttributeName=function(V){V===g.Eq?this.state=y.BeforeAttributeValue:V===g.Slash||V===g.Gt?(this.cbs.onattribend(R.NoValue,this.index),this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V)):b(V)||(this.cbs.onattribend(R.NoValue,this.index),this.state=y.InAttributeName,this.sectionStart=this.index)},j.prototype.stateBeforeAttributeValue=function(V){V===g.DoubleQuote?(this.state=y.InAttributeValueDq,this.sectionStart=this.index+1):V===g.SingleQuote?(this.state=y.InAttributeValueSq,this.sectionStart=this.index+1):b(V)||(this.sectionStart=this.index,this.state=y.InAttributeValueNq,this.stateInAttributeValueNoQuotes(V))},j.prototype.handleInAttributeValue=function(V,se){V===se||!this.decodeEntities&&this.fastForwardTo(se)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(se===g.DoubleQuote?R.Double:R.Single,this.index),this.state=y.BeforeAttributeName):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=y.BeforeEntity)},j.prototype.stateInAttributeValueDoubleQuotes=function(V){this.handleInAttributeValue(V,g.DoubleQuote)},j.prototype.stateInAttributeValueSingleQuotes=function(V){this.handleInAttributeValue(V,g.SingleQuote)},j.prototype.stateInAttributeValueNoQuotes=function(V){b(V)||V===g.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(R.Unquoted,this.index),this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V)):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=y.BeforeEntity)},j.prototype.stateBeforeDeclaration=function(V){V===g.OpeningSquareBracket?(this.state=y.CDATASequence,this.sequenceIndex=0):this.state=V===g.Dash?y.BeforeComment:y.InDeclaration},j.prototype.stateInDeclaration=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateInProcessingInstruction=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeComment=function(V){V===g.Dash?(this.state=y.InCommentLike,this.currentSequence=U.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=y.InDeclaration},j.prototype.stateInSpecialComment=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeSpecialS=function(V){var se=32|V;se===U.ScriptEnd[3]?this.startSpecial(U.ScriptEnd,4):se===U.StyleEnd[3]?this.startSpecial(U.StyleEnd,4):(this.state=y.InTagName,this.stateInTagName(V))},j.prototype.stateBeforeEntity=function(V){this.entityExcess=1,this.entityResult=0,V===g.Num?this.state=y.BeforeNumericEntity:V===g.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=y.InNamedEntity,this.stateInNamedEntity(V))},j.prototype.stateInNamedEntity=function(V){if(this.entityExcess+=1,this.trieIndex=(0,T.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,V),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var se=this.trieCurrent&T.BinTrieFlags.VALUE_LENGTH;if(se){var G=(se>>14)-1;if(this.allowLegacyEntity()||V===g.Semi){var oe=this.index-this.entityExcess+1;oe>this.sectionStart&&this.emitPartial(this.sectionStart,oe),this.entityResult=this.trieIndex,this.trieIndex+=G,this.entityExcess=0,this.sectionStart=this.index+1,0===G&&this.emitNamedEntity()}else this.trieIndex+=G}},j.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&T.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~T.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},j.prototype.stateBeforeNumericEntity=function(V){(32|V)===g.LowerX?(this.entityExcess++,this.state=y.InHexEntity):(this.state=y.InNumericEntity,this.stateInNumericEntity(V))},j.prototype.emitNumericEntity=function(V){var se=this.index-this.entityExcess-1;se+2+Number(this.state===y.InHexEntity)!==this.index&&(se>this.sectionStart&&this.emitPartial(this.sectionStart,se),this.sectionStart=this.index+Number(V),this.emitCodePoint((0,T.replaceCodePoint)(this.entityResult))),this.state=this.baseState},j.prototype.stateInNumericEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):D(V)?(this.entityResult=10*this.entityResult+(V-g.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.stateInHexEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):D(V)?(this.entityResult=16*this.entityResult+(V-g.Zero),this.entityExcess++):function B(j){return j>=g.UpperA&&j<=g.UpperF||j>=g.LowerA&&j<=g.LowerF}(V)?(this.entityResult=16*this.entityResult+((32|V)-g.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===y.Text||this.baseState===y.InSpecialTag)},j.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===y.Text||this.state===y.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===y.InAttributeValueDq||this.state===y.InAttributeValueSq||this.state===y.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},j.prototype.shouldContinue=function(){return this.index{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.attributeNames=A.elementNames=void 0,A.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(I){return[I.toLowerCase(),I]})),A.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(I){return[I.toLowerCase(),I]}))},1175:function(we,A,I){"use strict";var T=this&&this.__assign||function(){return T=Object.assign||function(J){for(var W,ie=1,ue=arguments.length;ie")}(J);case C.Comment:return function le(J){return"\x3c!--".concat(J.data,"--\x3e")}(J);case C.CDATA:return function de(J){return"")}(J);case C.Script:case C.Style:case C.Tag:return function oe(J,W){var ie;"foreign"===W.xmlMode&&(J.name=null!==(ie=N.elementNames.get(J.name))&&void 0!==ie?ie:J.name,J.parent&&se.has(J.parent.name)&&(W=T(T({},W),{xmlMode:!1}))),!W.xmlMode&&G.has(J.name)&&(W=T(T({},W),{xmlMode:"foreign"}));var ue="<".concat(J.name),re=function U(J,W){var ie;if(J){var ue=!1===(null!==(ie=W.encodeEntities)&&void 0!==ie?ie:W.decodeEntities)?R:W.xmlMode||"utf8"!==W.encodeEntities?D.encodeXML:D.escapeAttribute;return Object.keys(J).map(function(re){var ae,me,ge=null!==(ae=J[re])&&void 0!==ae?ae:"";return"foreign"===W.xmlMode&&(re=null!==(me=N.attributeNames.get(re))&&void 0!==me?me:re),W.emptyAttrs||W.xmlMode||""!==ge?"".concat(re,'="').concat(ue(ge),'"'):re}).join(" ")}}(J.attribs,W);return re&&(ue+=" ".concat(re)),0===J.children.length&&(W.xmlMode?!1!==W.selfClosingTags:W.selfClosingTags&&Q.has(J.name))?(W.xmlMode||(ue+=" "),ue+="/>"):(ue+=">",J.children.length>0&&(ue+=j(J.children,W)),(W.xmlMode||!Q.has(J.name))&&(ue+=""))),ue}(J,W);case C.Text:return function z(J,W){var ie,ue=J.data||"";return!1!==(null!==(ie=W.encodeEntities)&&void 0!==ie?ie:W.decodeEntities)&&!(!W.xmlMode&&J.parent&&B.has(J.parent.name))&&(ue=W.xmlMode||"utf8"!==W.encodeEntities?(0,D.encodeXML)(ue):(0,D.escapeText)(ue)),ue}(J,W)}}A.render=j,A.default=j;var se=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),G=new Set(["svg","math"])},3437:function(we,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(N,B,R,U){void 0===U&&(U=R);var Q=Object.getOwnPropertyDescriptor(B,R);(!Q||("get"in Q?!B.__esModule:Q.writable||Q.configurable))&&(Q={enumerable:!0,get:function(){return B[R]}}),Object.defineProperty(N,U,Q)}:function(N,B,R,U){void 0===U&&(U=R),N[U]=B[R]}),g=this&&this.__exportStar||function(N,B){for(var R in N)"default"!==R&&!Object.prototype.hasOwnProperty.call(B,R)&&T(B,N,R)};Object.defineProperty(A,"__esModule",{value:!0}),A.DomHandler=void 0;var y=I(6316),b=I(2105);g(I(2105),A);var C={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},D=function(){function N(B,R,U){this.dom=[],this.root=new b.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof R&&(U=R,R=C),"object"==typeof B&&(R=B,B=void 0),this.callback=B??null,this.options=R??C,this.elementCB=U??null}return N.prototype.onparserinit=function(B){this.parser=B},N.prototype.onreset=function(){this.dom=[],this.root=new b.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},N.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},N.prototype.onerror=function(B){this.handleCallback(B)},N.prototype.onclosetag=function(){this.lastNode=null;var B=this.tagStack.pop();this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(B)},N.prototype.onopentag=function(B,R){var Q=new b.Element(B,R,void 0,this.options.xmlMode?y.ElementType.Tag:void 0);this.addNode(Q),this.tagStack.push(Q)},N.prototype.ontext=function(B){var R=this.lastNode;if(R&&R.type===y.ElementType.Text)R.data+=B,this.options.withEndIndices&&(R.endIndex=this.parser.endIndex);else{var U=new b.Text(B);this.addNode(U),this.lastNode=U}},N.prototype.oncomment=function(B){if(this.lastNode&&this.lastNode.type===y.ElementType.Comment)this.lastNode.data+=B;else{var R=new b.Comment(B);this.addNode(R),this.lastNode=R}},N.prototype.oncommentend=function(){this.lastNode=null},N.prototype.oncdatastart=function(){var B=new b.Text(""),R=new b.CDATA([B]);this.addNode(R),B.parent=R,this.lastNode=B},N.prototype.oncdataend=function(){this.lastNode=null},N.prototype.onprocessinginstruction=function(B,R){var U=new b.ProcessingInstruction(B,R);this.addNode(U)},N.prototype.handleCallback=function(B){if("function"==typeof this.callback)this.callback(B,this.dom);else if(B)throw B},N.prototype.addNode=function(B){var R=this.tagStack[this.tagStack.length-1],U=R.children[R.children.length-1];this.options.withStartIndices&&(B.startIndex=this.parser.startIndex),this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),R.children.push(B),U&&(B.prev=U,U.next=B),B.parent=R,this.lastNode=null},N}();A.DomHandler=D,A.default=D},2105:function(we,A,I){"use strict";var W,T=this&&this.__extends||(W=function(ie,ue){return(W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ae){re.__proto__=ae}||function(re,ae){for(var me in ae)Object.prototype.hasOwnProperty.call(ae,me)&&(re[me]=ae[me])})(ie,ue)},function(ie,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function re(){this.constructor=ie}W(ie,ue),ie.prototype=null===ue?Object.create(ue):(re.prototype=ue.prototype,new re)}),g=this&&this.__assign||function(){return g=Object.assign||function(W){for(var ie,ue=1,re=arguments.length;ue0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"childNodes",{get:function(){return this.children},set:function(ue){this.children=ue},enumerable:!1,configurable:!0}),ie}(b);A.NodeWithChildren=R;var U=function(W){function ie(){var ue=null!==W&&W.apply(this,arguments)||this;return ue.type=y.ElementType.CDATA,ue}return T(ie,W),Object.defineProperty(ie.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),ie}(R);A.CDATA=U;var Q=function(W){function ie(){var ue=null!==W&&W.apply(this,arguments)||this;return ue.type=y.ElementType.Root,ue}return T(ie,W),Object.defineProperty(ie.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),ie}(R);A.Document=Q;var j=function(W){function ie(ue,re,ae,me){void 0===ae&&(ae=[]),void 0===me&&(me="script"===ue?y.ElementType.Script:"style"===ue?y.ElementType.Style:y.ElementType.Tag);var ge=W.call(this,ae)||this;return ge.name=ue,ge.attribs=re,ge.type=me,ge}return T(ie,W),Object.defineProperty(ie.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"tagName",{get:function(){return this.name},set:function(ue){this.name=ue},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"attributes",{get:function(){var ue=this;return Object.keys(this.attribs).map(function(re){var ae,me;return{name:re,value:ue.attribs[re],namespace:null===(ae=ue["x-attribsNamespace"])||void 0===ae?void 0:ae[re],prefix:null===(me=ue["x-attribsPrefix"])||void 0===me?void 0:me[re]}})},enumerable:!1,configurable:!0}),ie}(R);function V(W){return(0,y.isTag)(W)}function se(W){return W.type===y.ElementType.CDATA}function G(W){return W.type===y.ElementType.Text}function oe(W){return W.type===y.ElementType.Comment}function q(W){return W.type===y.ElementType.Directive}function z(W){return W.type===y.ElementType.Root}function le(W,ie){var ue;if(void 0===ie&&(ie=!1),G(W))ue=new D(W.data);else if(oe(W))ue=new N(W.data);else if(V(W)){var re=ie?J(W.children):[],ae=new j(W.name,g({},W.attribs),re);re.forEach(function(Ye){return Ye.parent=ae}),null!=W.namespace&&(ae.namespace=W.namespace),W["x-attribsNamespace"]&&(ae["x-attribsNamespace"]=g({},W["x-attribsNamespace"])),W["x-attribsPrefix"]&&(ae["x-attribsPrefix"]=g({},W["x-attribsPrefix"])),ue=ae}else if(se(W)){re=ie?J(W.children):[];var me=new U(re);re.forEach(function(Re){return Re.parent=me}),ue=me}else if(z(W)){re=ie?J(W.children):[];var ge=new Q(re);re.forEach(function(Re){return Re.parent=ge}),W["x-mode"]&&(ge["x-mode"]=W["x-mode"]),ue=ge}else{if(!q(W))throw new Error("Not implemented yet: ".concat(W.type));var ve=new B(W.name,W.data);null!=W["x-name"]&&(ve["x-name"]=W["x-name"],ve["x-publicId"]=W["x-publicId"],ve["x-systemId"]=W["x-systemId"]),ue=ve}return ue.startIndex=W.startIndex,ue.endIndex=W.endIndex,null!=W.sourceCodeLocation&&(ue.sourceCodeLocation=W.sourceCodeLocation),ue}function J(W){for(var ie=W.map(function(re){return le(re,!0)}),ue=1;ue{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getFeed=void 0;var T=I(8149),g=I(4279);A.getFeed=function y(V){var se=R(j,V);return se?"feed"===se.name?function b(V){var se,G=V.children,oe={type:"atom",items:(0,g.getElementsByTagName)("entry",G).map(function(de){var le,J=de.children,W={media:B(J)};Q(W,"id","id",J),Q(W,"title","title",J);var ie=null===(le=R("link",J))||void 0===le?void 0:le.attribs.href;ie&&(W.link=ie);var ue=U("summary",J)||U("content",J);ue&&(W.description=ue);var re=U("updated",J);return re&&(W.pubDate=new Date(re)),W})};Q(oe,"id","id",G),Q(oe,"title","title",G);var q=null===(se=R("link",G))||void 0===se?void 0:se.attribs.href;q&&(oe.link=q),Q(oe,"description","subtitle",G);var z=U("updated",G);return z&&(oe.updated=new Date(z)),Q(oe,"author","email",G,!0),oe}(se):function C(V){var se,G,oe=null!==(G=null===(se=R("channel",V.children))||void 0===se?void 0:se.children)&&void 0!==G?G:[],q={type:V.name.substr(0,3),id:"",items:(0,g.getElementsByTagName)("item",V.children).map(function(de){var le=de.children,J={media:B(le)};Q(J,"id","guid",le),Q(J,"title","title",le),Q(J,"link","link",le),Q(J,"description","description",le);var W=U("pubDate",le);return W&&(J.pubDate=new Date(W)),J})};Q(q,"title","title",oe),Q(q,"link","link",oe),Q(q,"description","description",oe);var z=U("lastBuildDate",oe);return z&&(q.updated=new Date(z)),Q(q,"author","managingEditor",oe,!0),q}(se):null};var D=["url","type","lang"],N=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function B(V){return(0,g.getElementsByTagName)("media:content",V).map(function(se){for(var G=se.attribs,oe={medium:G.medium,isDefault:!!G.isDefault},q=0,z=D;q{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.uniqueSort=A.compareDocumentPosition=A.DocumentPosition=A.removeSubsets=void 0;var y,D,T=I(3437);function b(D,N){var B=[],R=[];if(D===N)return 0;for(var U=(0,T.hasChildren)(D)?D:D.parent;U;)B.unshift(U),U=U.parent;for(U=(0,T.hasChildren)(N)?N:N.parent;U;)R.unshift(U),U=U.parent;for(var Q=Math.min(B.length,R.length),j=0;jse.indexOf(oe)?V===N?y.FOLLOWING|y.CONTAINED_BY:y.FOLLOWING:V===D?y.PRECEDING|y.CONTAINS:y.PRECEDING}A.removeSubsets=function g(D){for(var N=D.length;--N>=0;){var B=D[N];if(N>0&&D.lastIndexOf(B,N-1)>=0)D.splice(N,1);else for(var R=B.parent;R;R=R.parent)if(D.includes(R)){D.splice(N,1);break}}return D},(D=y=A.DocumentPosition||(A.DocumentPosition={}))[D.DISCONNECTED=1]="DISCONNECTED",D[D.PRECEDING=2]="PRECEDING",D[D.FOLLOWING=4]="FOLLOWING",D[D.CONTAINS=8]="CONTAINS",D[D.CONTAINED_BY=16]="CONTAINED_BY",A.compareDocumentPosition=b,A.uniqueSort=function C(D){return(D=D.filter(function(N,B,R){return!R.includes(N,B+1)})).sort(function(N,B){var R=b(N,B);return R&y.PRECEDING?-1:R&y.FOLLOWING?1:0}),D}},5722:function(we,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(b,C,D,N){void 0===N&&(N=D);var B=Object.getOwnPropertyDescriptor(C,D);(!B||("get"in B?!C.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return C[D]}}),Object.defineProperty(b,N,B)}:function(b,C,D,N){void 0===N&&(N=D),b[N]=C[D]}),g=this&&this.__exportStar||function(b,C){for(var D in b)"default"!==D&&!Object.prototype.hasOwnProperty.call(C,D)&&T(C,b,D)};Object.defineProperty(A,"__esModule",{value:!0}),A.hasChildren=A.isDocument=A.isComment=A.isText=A.isCDATA=A.isTag=void 0,g(I(8149),A),g(I(74),A),g(I(6180),A),g(I(2206),A),g(I(4279),A),g(I(863),A),g(I(4477),A);var y=I(3437);Object.defineProperty(A,"isTag",{enumerable:!0,get:function(){return y.isTag}}),Object.defineProperty(A,"isCDATA",{enumerable:!0,get:function(){return y.isCDATA}}),Object.defineProperty(A,"isText",{enumerable:!0,get:function(){return y.isText}}),Object.defineProperty(A,"isComment",{enumerable:!0,get:function(){return y.isComment}}),Object.defineProperty(A,"isDocument",{enumerable:!0,get:function(){return y.isDocument}}),Object.defineProperty(A,"hasChildren",{enumerable:!0,get:function(){return y.hasChildren}})},4279:(we,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getElementsByTagType=A.getElementsByTagName=A.getElementById=A.getElements=A.testElement=void 0;var T=I(3437),g=I(2206),y={tag_name:function(j){return"function"==typeof j?function(V){return(0,T.isTag)(V)&&j(V.name)}:"*"===j?T.isTag:function(V){return(0,T.isTag)(V)&&V.name===j}},tag_type:function(j){return"function"==typeof j?function(V){return j(V.type)}:function(V){return V.type===j}},tag_contains:function(j){return"function"==typeof j?function(V){return(0,T.isText)(V)&&j(V.data)}:function(V){return(0,T.isText)(V)&&V.data===j}}};function b(j,V){return"function"==typeof V?function(se){return(0,T.isTag)(se)&&V(se.attribs[j])}:function(se){return(0,T.isTag)(se)&&se.attribs[j]===V}}function C(j,V){return function(se){return j(se)||V(se)}}function D(j){var V=Object.keys(j).map(function(se){var G=j[se];return Object.prototype.hasOwnProperty.call(y,se)?y[se](G):b(se,G)});return 0===V.length?null:V.reduce(C)}A.testElement=function N(j,V){var se=D(j);return!se||se(V)},A.getElements=function B(j,V,se,G){void 0===G&&(G=1/0);var oe=D(j);return oe?(0,g.filter)(oe,V,se,G):[]},A.getElementById=function R(j,V,se){return void 0===se&&(se=!0),Array.isArray(V)||(V=[V]),(0,g.findOne)(b("id",j),V,se)},A.getElementsByTagName=function U(j,V,se,G){return void 0===se&&(se=!0),void 0===G&&(G=1/0),(0,g.filter)(y.tag_name(j),V,se,G)},A.getElementsByTagType=function Q(j,V,se,G){return void 0===se&&(se=!0),void 0===G&&(G=1/0),(0,g.filter)(y.tag_type(j),V,se,G)}},6180:(we,A)=>{"use strict";function I(D){if(D.prev&&(D.prev.next=D.next),D.next&&(D.next.prev=D.prev),D.parent){var N=D.parent.children;N.splice(N.lastIndexOf(D),1)}}Object.defineProperty(A,"__esModule",{value:!0}),A.prepend=A.prependChild=A.append=A.appendChild=A.replaceElement=A.removeElement=void 0,A.removeElement=I,A.replaceElement=function T(D,N){var B=N.prev=D.prev;B&&(B.next=N);var R=N.next=D.next;R&&(R.prev=N);var U=N.parent=D.parent;if(U){var Q=U.children;Q[Q.lastIndexOf(D)]=N,D.parent=null}},A.appendChild=function g(D,N){if(I(N),N.next=null,N.parent=D,D.children.push(N)>1){var B=D.children[D.children.length-2];B.next=N,N.prev=B}else N.prev=null},A.append=function y(D,N){I(N);var B=D.parent,R=D.next;if(N.next=R,N.prev=D,D.next=N,N.parent=B,R){if(R.prev=N,B){var U=B.children;U.splice(U.lastIndexOf(R),0,N)}}else B&&B.children.push(N)},A.prependChild=function b(D,N){if(I(N),N.parent=D,N.prev=null,1!==D.children.unshift(N)){var B=D.children[1];B.prev=N,N.next=B}else N.next=null},A.prepend=function C(D,N){I(N);var B=D.parent;if(B){var R=B.children;R.splice(R.indexOf(D),0,N)}D.prev&&(D.prev.next=N),N.parent=B,N.prev=D.prev,N.next=D,D.prev=N}},2206:(we,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.findAll=A.existsOne=A.findOne=A.findOneChild=A.find=A.filter=void 0;var T=I(3437);function y(B,R,U,Q){for(var j=[],V=0,se=R;V0){var oe=y(B,G.children,U,Q);if(j.push.apply(j,oe),(Q-=oe.length)<=0)break}}return j}A.filter=function g(B,R,U,Q){return void 0===U&&(U=!0),void 0===Q&&(Q=1/0),Array.isArray(R)||(R=[R]),y(B,R,U,Q)},A.find=y,A.findOneChild=function b(B,R){return R.find(B)},A.findOne=function C(B,R,U){void 0===U&&(U=!0);for(var Q=null,j=0;j0&&(Q=C(B,V.children,!0)))}return Q},A.existsOne=function D(B,R){return R.some(function(U){return(0,T.isTag)(U)&&(B(U)||U.children.length>0&&D(B,U.children))})},A.findAll=function N(B,R){for(var U,V,Q=[],j=R.filter(T.isTag);V=j.shift();){var se=null===(U=V.children)||void 0===U?void 0:U.filter(T.isTag);se&&se.length>0&&j.unshift.apply(j,se),B(V)&&Q.push(V)}return Q}},8149:function(we,A,I){"use strict";var T=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(A,"__esModule",{value:!0}),A.innerText=A.textContent=A.getText=A.getInnerHTML=A.getOuterHTML=void 0;var g=I(3437),y=T(I(1175)),b=I(6316);function C(U,Q){return(0,y.default)(U,Q)}A.getOuterHTML=C,A.getInnerHTML=function D(U,Q){return(0,g.hasChildren)(U)?U.children.map(function(j){return C(j,Q)}).join(""):""},A.getText=function N(U){return Array.isArray(U)?U.map(N).join(""):(0,g.isTag)(U)?"br"===U.name?"\n":N(U.children):(0,g.isCDATA)(U)?N(U.children):(0,g.isText)(U)?U.data:""},A.textContent=function B(U){return Array.isArray(U)?U.map(B).join(""):(0,g.hasChildren)(U)&&!(0,g.isComment)(U)?B(U.children):(0,g.isText)(U)?U.data:""},A.innerText=function R(U){return Array.isArray(U)?U.map(R).join(""):(0,g.hasChildren)(U)&&(U.type===b.ElementType.Tag||(0,g.isCDATA)(U))?R(U.children):(0,g.isText)(U)?U.data:""}},74:(we,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.prevElementSibling=A.nextElementSibling=A.getName=A.hasAttrib=A.getAttributeValue=A.getSiblings=A.getParent=A.getChildren=void 0;var T=I(3437);function g(U){return(0,T.hasChildren)(U)?U.children:[]}function y(U){return U.parent||null}A.getChildren=g,A.getParent=y,A.getSiblings=function b(U){var V=y(U);if(null!=V)return g(V);for(var se=[U],G=U.prev,oe=U.next;null!=G;)se.unshift(G),G=G.prev;for(;null!=oe;)se.push(oe),oe=oe.next;return se},A.getAttributeValue=function C(U,Q){var j;return null===(j=U.attribs)||void 0===j?void 0:j[Q]},A.hasAttrib=function D(U,Q){return null!=U.attribs&&Object.prototype.hasOwnProperty.call(U.attribs,Q)&&null!=U.attribs[Q]},A.getName=function N(U){return U.name},A.nextElementSibling=function B(U){for(var j=U.next;null!==j&&!(0,T.isTag)(j);)j=j.next;return j},A.prevElementSibling=function R(U){for(var j=U.prev;null!==j&&!(0,T.isTag)(j);)j=j.prev;return j}},6569:function(we,A,I){"use strict";var T=this&&this.__importDefault||function(G){return G&&G.__esModule?G:{default:G}};Object.defineProperty(A,"__esModule",{value:!0}),A.decodeXML=A.decodeHTMLStrict=A.decodeHTML=A.determineBranch=A.BinTrieFlags=A.fromCodePoint=A.replaceCodePoint=A.decodeCodePoint=A.xmlDecodeTree=A.htmlDecodeTree=void 0;var g=T(I(1575));A.htmlDecodeTree=g.default;var y=T(I(9704));A.xmlDecodeTree=y.default;var b=T(I(3906));A.decodeCodePoint=b.default;var C=I(3906);Object.defineProperty(A,"replaceCodePoint",{enumerable:!0,get:function(){return C.replaceCodePoint}}),Object.defineProperty(A,"fromCodePoint",{enumerable:!0,get:function(){return C.fromCodePoint}});var N,G,D=(()=>{return(G=D||(D={}))[G.NUM=35]="NUM",G[G.SEMI=59]="SEMI",G[G.ZERO=48]="ZERO",G[G.NINE=57]="NINE",G[G.LOWER_A=97]="LOWER_A",G[G.LOWER_F=102]="LOWER_F",G[G.LOWER_X=120]="LOWER_X",G[G.To_LOWER_BIT=32]="To_LOWER_BIT",D;var G})();function B(G){return function(q,z){for(var de="",le=0,J=0;(J=q.indexOf("&",J))>=0;)if(de+=q.slice(le,J),le=J,q.charCodeAt(J+=1)!==D.NUM){for(var me=0,ge=1,ve=0,Ye=G[ve];J>14)-1))break;ve+=at}}var at;0!==me&&(de+=1==(at=(G[me]&N.VALUE_LENGTH)>>14)?String.fromCharCode(G[me]&~N.VALUE_LENGTH):2===at?String.fromCharCode(G[me+1]):String.fromCharCode(G[me+1],G[me+2]),le=J-ge+1)}else{var W=J+1,ie=10,ue=q.charCodeAt(W);(ue|D.To_LOWER_BIT)===D.LOWER_X&&(ie=16,J+=1,W+=1);do{ue=q.charCodeAt(++J)}while(ue>=D.ZERO&&ue<=D.NINE||16===ie&&(ue|D.To_LOWER_BIT)>=D.LOWER_A&&(ue|D.To_LOWER_BIT)<=D.LOWER_F);if(W!==J){var re=q.substring(W,J),ae=parseInt(re,ie);if(q.charCodeAt(J)===D.SEMI)J+=1;else if(z)continue;de+=(0,b.default)(ae),le=J}}return de+q.slice(le)}}function R(G,oe,q,z){var de=(oe&N.BRANCH_LENGTH)>>7,le=oe&N.JUMP_TABLE;if(0===de)return 0!==le&&z===le?q:-1;if(le){var J=z-le;return J<0||J>=de?-1:G[q+J]-1}for(var W=q,ie=W+de-1;W<=ie;){var ue=W+ie>>>1,re=G[ue];if(rez))return G[ue+de];ie=ue-1}}return-1}(G=N=A.BinTrieFlags||(A.BinTrieFlags={}))[G.VALUE_LENGTH=49152]="VALUE_LENGTH",G[G.BRANCH_LENGTH=16256]="BRANCH_LENGTH",G[G.JUMP_TABLE=127]="JUMP_TABLE",A.determineBranch=R;var U=B(g.default),Q=B(y.default);A.decodeHTML=function j(G){return U(G,!1)},A.decodeHTMLStrict=function V(G){return U(G,!0)},A.decodeXML=function se(G){return Q(G,!0)}},3906:(we,A)=>{"use strict";var I;Object.defineProperty(A,"__esModule",{value:!0}),A.replaceCodePoint=A.fromCodePoint=void 0;var T=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function g(b){var C;return b>=55296&&b<=57343||b>1114111?65533:null!==(C=T.get(b))&&void 0!==C?C:b}A.fromCodePoint=null!==(I=String.fromCodePoint)&&void 0!==I?I:function(b){var C="";return b>65535&&(b-=65536,C+=String.fromCharCode(b>>>10&1023|55296),b=56320|1023&b),C+String.fromCharCode(b)},A.replaceCodePoint=g,A.default=function y(b){return(0,A.fromCodePoint)(g(b))}},6836:function(we,A,I){"use strict";var T=this&&this.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(A,"__esModule",{value:!0}),A.encodeNonAsciiHTML=A.encodeHTML=void 0;var g=T(I(5754)),y=I(681),b=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function N(B,R){for(var j,U="",Q=0;null!==(j=B.exec(R));){var V=j.index;U+=R.substring(Q,V);var se=R.charCodeAt(V),G=g.default.get(se);if("object"==typeof G){if(V+1{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.escapeText=A.escapeAttribute=A.escapeUTF8=A.escape=A.encodeXML=A.getCodePoint=A.xmlReplacer=void 0,A.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var I=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function T(y){for(var D,b="",C=0;null!==(D=A.xmlReplacer.exec(y));){var N=D.index,B=y.charCodeAt(N),R=I.get(B);void 0!==R?(b+=y.substring(C,N)+R,C=N+1):(b+="".concat(y.substring(C,N),"&#x").concat((0,A.getCodePoint)(y,N).toString(16),";"),C=A.xmlReplacer.lastIndex+=Number(55296==(64512&B)))}return b+y.substr(C)}function g(y,b){return function(D){for(var N,B=0,R="";N=y.exec(D);)B!==N.index&&(R+=D.substring(B,N.index)),R+=b.get(N[0].charCodeAt(0)),B=N.index+1;return R+D.substring(B)}}A.getCodePoint=null!=String.prototype.codePointAt?function(y,b){return y.codePointAt(b)}:function(y,b){return 55296==(64512&y.charCodeAt(b))?1024*(y.charCodeAt(b)-55296)+y.charCodeAt(b+1)-56320+65536:y.charCodeAt(b)},A.encodeXML=T,A.escape=T,A.escapeUTF8=g(/[&<>'"]/g,I),A.escapeAttribute=g(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),A.escapeText=g(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},1575:(we,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(function(I){return I.charCodeAt(0)}))},9704:(we,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(I){return I.charCodeAt(0)}))},5754:(we,A)=>{"use strict";function I(T){for(var g=1;g{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.decodeXMLStrict=A.decodeHTML5Strict=A.decodeHTML4Strict=A.decodeHTML5=A.decodeHTML4=A.decodeHTMLStrict=A.decodeHTML=A.decodeXML=A.encodeHTML5=A.encodeHTML4=A.encodeNonAsciiHTML=A.encodeHTML=A.escapeText=A.escapeAttribute=A.escapeUTF8=A.escape=A.encodeXML=A.encode=A.decodeStrict=A.decode=A.EncodingMode=A.DecodingMode=A.EntityLevel=void 0;var b,V,C,D,T=I(6569),g=I(6836),y=I(681);(V=b=A.EntityLevel||(A.EntityLevel={}))[V.XML=0]="XML",V[V.HTML=1]="HTML",function(V){V[V.Legacy=0]="Legacy",V[V.Strict=1]="Strict"}(C=A.DecodingMode||(A.DecodingMode={})),function(V){V[V.UTF8=0]="UTF8",V[V.ASCII=1]="ASCII",V[V.Extensive=2]="Extensive",V[V.Attribute=3]="Attribute",V[V.Text=4]="Text"}(D=A.EncodingMode||(A.EncodingMode={})),A.decode=function N(V,se){void 0===se&&(se=b.XML);var G="number"==typeof se?{level:se}:se;return G.level===b.HTML?G.mode===C.Strict?(0,T.decodeHTMLStrict)(V):(0,T.decodeHTML)(V):(0,T.decodeXML)(V)},A.decodeStrict=function B(V,se){void 0===se&&(se=b.XML);var G="number"==typeof se?{level:se}:se;return G.level===b.HTML?G.mode===C.Legacy?(0,T.decodeHTML)(V):(0,T.decodeHTMLStrict)(V):(0,T.decodeXML)(V)},A.encode=function R(V,se){void 0===se&&(se=b.XML);var G="number"==typeof se?{level:se}:se;return G.mode===D.UTF8?(0,y.escapeUTF8)(V):G.mode===D.Attribute?(0,y.escapeAttribute)(V):G.mode===D.Text?(0,y.escapeText)(V):G.level===b.HTML?G.mode===D.ASCII?(0,g.encodeNonAsciiHTML)(V):(0,g.encodeHTML)(V):(0,y.encodeXML)(V)};var U=I(681);Object.defineProperty(A,"encodeXML",{enumerable:!0,get:function(){return U.encodeXML}}),Object.defineProperty(A,"escape",{enumerable:!0,get:function(){return U.escape}}),Object.defineProperty(A,"escapeUTF8",{enumerable:!0,get:function(){return U.escapeUTF8}}),Object.defineProperty(A,"escapeAttribute",{enumerable:!0,get:function(){return U.escapeAttribute}}),Object.defineProperty(A,"escapeText",{enumerable:!0,get:function(){return U.escapeText}});var Q=I(6836);Object.defineProperty(A,"encodeHTML",{enumerable:!0,get:function(){return Q.encodeHTML}}),Object.defineProperty(A,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return Q.encodeNonAsciiHTML}}),Object.defineProperty(A,"encodeHTML4",{enumerable:!0,get:function(){return Q.encodeHTML}}),Object.defineProperty(A,"encodeHTML5",{enumerable:!0,get:function(){return Q.encodeHTML}});var j=I(6569);Object.defineProperty(A,"decodeXML",{enumerable:!0,get:function(){return j.decodeXML}}),Object.defineProperty(A,"decodeHTML",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTMLStrict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeHTML4",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTML5",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTML4Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeHTML5Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeXMLStrict",{enumerable:!0,get:function(){return j.decodeXML}})},1188:(we,A,I)=>{const{bech32:T,hex:g,utf8:y}=I(5521),b={bech32:"bc",pubKeyHash:0,scriptHash:5,validWitnessVersions:[0]},C={bech32:"tb",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},D={bech32:"bcrt",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},N={bech32:"sb",pubKeyHash:63,scriptHash:123,validWitnessVersions:[0]},B=["option_data_loss_protect","initial_routing_sync","option_upfront_shutdown_script","gossip_queries","var_onion_optin","gossip_queries_ex","option_static_remotekey","payment_secret","basic_mpp","option_support_large_channel"],R={m:BigInt(1e3),u:BigInt(1e6),n:BigInt(1e9),p:BigInt(1e12)},U=BigInt("2100000000000000000"),Q=BigInt(1e11),j={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27},V={};for(let J=0,W=Object.keys(j);Jg.encode(T.fromWordsUnsafe(J)),16:J=>g.encode(T.fromWordsUnsafe(J)),13:J=>y.encode(T.fromWordsUnsafe(J)),19:J=>g.encode(T.fromWordsUnsafe(J)),23:J=>g.encode(T.fromWordsUnsafe(J)),27:J=>g.encode(T.fromWordsUnsafe(J)),6:oe,24:oe,3:function q(J){const W=[];let ie,ue,re,ae,me,ge=T.fromWordsUnsafe(J);for(;ge.length>0;)ie=g.encode(ge.slice(0,33)),ue=g.encode(ge.slice(33,41)),re=parseInt(g.encode(ge.slice(41,45)),16),ae=parseInt(g.encode(ge.slice(45,49)),16),me=parseInt(g.encode(ge.slice(49,51)),16),ge=ge.slice(51),W.push({pubkey:ie,short_channel_id:ue,fee_base_msat:re,fee_proportional_millionths:ae,cltv_expiry_delta:me});return W},5:function z(J){const W=J.slice().reverse().map(re=>[!!(1&re),!!(2&re),!!(4&re),!!(8&re),!!(16&re)]).reduce((re,ae)=>re.concat(ae),[]);for(;W.length<2*B.length;)W.push(!1);const ie={};B.forEach((re,ae)=>{let me;me=W[2*ae]?"required":W[2*ae+1]?"supported":"unsupported",ie[re]=me});const ue=W.slice(2*B.length);return ie.extra_bits={start_bit:2*B.length,bits:ue,has_required:ue.reduce((re,ae,me)=>me%2!=0?re||!1:re||ae,!1)},ie}};function G(J){return W=>({tagCode:parseInt(J),words:T.encode("unknown",W,Number.MAX_SAFE_INTEGER)})}function oe(J){return J.reverse().reduce((W,ie,ue)=>W+ie*Math.pow(32,ue),0)}function de(J,W){let ie,ue;if(J.slice(-1).match(/^[munp]$/))ie=J.slice(-1),ue=J.slice(0,-1);else{if(J.slice(-1).match(/^[^munp0-9]$/))throw new Error("Not a valid multiplier for the amount");ue=J}if(!ue.match(/^\d+$/))throw new Error("Not a valid human readable amount");const re=BigInt(ue),ae=ie?re*Q/R[ie]:re*Q;if("p"===ie&&re%BigInt(10)!==BigInt(0)||ae>U)throw new Error("Amount is outside of valid range");return W?ae.toString():ae}we.exports={decode:function le(J,W){if("string"!=typeof J)throw new Error("Lightning Payment Request must be string");if("ln"!==J.slice(0,2).toLowerCase())throw new Error("Not a proper lightning payment request");const ie=[],ue=T.decode(J,Number.MAX_SAFE_INTEGER);J=J.toLowerCase();const re=ue.prefix;let ae=ue.words,me=J.slice(re.length+1),ge=ae.slice(-104);ae=ae.slice(0,-104);let ve=re.match(/^ln(\S+?)(\d*)([a-zA-Z]?)$/);if(ve&&!ve[2]&&(ve=re.match(/^ln(\S+)$/)),!ve)throw new Error("Not a proper lightning payment request");ie.push({name:"lightning_network",letters:"ln"});const Ye=ve[1];let Re;if(W){if(void 0===W.bech32||void 0===W.pubKeyHash||void 0===W.scriptHash||!Array.isArray(W.validWitnessVersions))throw new Error("Invalid network");Re=W}else switch(Ye){case b.bech32:Re=b;break;case C.bech32:Re=C;break;case D.bech32:Re=D;break;case N.bech32:Re=N}if(!Re||Re.bech32!==Ye)throw new Error("Unknown coin bech32 prefix");ie.push({name:"coin_network",letters:Ye,value:Re});const at=ve[2];let ht;at?(ht=de(at+ve[3],!0),ie.push({name:"amount",letters:ve[2]+ve[3],value:ht})):ht=null,ie.push({name:"separator",letters:"1"});const Et=oe(ae.slice(0,7));let Zt,ft,Qt,He;for(ae=ae.slice(7),ie.push({name:"timestamp",letters:me.slice(0,7),value:Et}),me=me.slice(7);ae.length>0;){const Yt=ae[0].toString();Zt=V[Yt]||"unknown_tag",ft=se[Yt]||G(Yt),ae=ae.slice(1),Qt=oe(ae.slice(0,2)),ae=ae.slice(2),He=ae.slice(0,Qt),ae=ae.slice(Qt),ie.push({name:Zt,tag:me[0],letters:me.slice(0,3+Qt),value:ft(He)}),me=me.slice(3+Qt)}ie.push({name:"signature",letters:me.slice(0,104),value:g.encode(T.fromWordsUnsafe(ge))}),me=me.slice(104),ie.push({name:"checksum",letters:me});let pi={paymentRequest:J,sections:ie,get expiry(){let Yt=ie.find(jt=>"expiry"===jt.name);if(Yt)return nt("timestamp")+Yt.value},get route_hints(){return ie.filter(Yt=>"route_hint"===Yt.name).map(Yt=>Yt.value)}};for(let Yt in j)"route_hint"!==Yt&&Object.defineProperty(pi,Yt,{get:()=>nt(Yt)});return pi;function nt(Yt){let jt=ie.find(fn=>fn.name===Yt);return jt?jt.value:void 0}},hrpToMillisat:de}},7088:function(we,A,I){!function(T){"use strict";T.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(y){return/^nm$/i.test(y)},meridiem:function(y,b,C){return y<12?C?"vm":"VM":C?"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(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},2502:function(we,A,I){!function(T){"use strict";var g=function(N){return 0===N?0:1===N?1:2===N?2:N%100>=3&&N%100<=10?3:N%100>=11?4:5},y={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"]},b=function(N){return function(B,R,U,Q){var j=g(B),V=y[N][g(B)];return 2===j&&(V=V[R?0:1]),V.replace(/%d/i,B)}},C=["\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"];T.defineLocale("ar-dz",{months:C,monthsShort:C,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(N){return"\u0645"===N},meridiem:function(N,B,R){return N<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:b("s"),ss:b("s"),m:b("m"),mm:b("m"),h:b("h"),hh:b("h"),d:b("d"),dd:b("d"),M:b("M"),MM:b("M"),y:b("y"),yy:b("y")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(I(5439))},128:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},4519:function(we,A,I){!function(T){"use strict";var g={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},y=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},b={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"]},C=function(B){return function(R,U,Q,j){var V=y(R),se=b[B][y(R)];return 2===V&&(se=se[U?0:1]),se.replace(/%d/i,R)}},D=["\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"];T.defineLocale("ar-ly",{months:D,monthsShort:D,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(B){return"\u0645"===B},meridiem:function(B,R,U){return B<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:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(B){return B.replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(R){return g[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},5443:function(we,A,I){!function(T){"use strict";T.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\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:"\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}})}(I(5439))},7642:function(we,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.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(C){return"\u0645"===C},meridiem:function(C,D,N){return C<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(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(D){return y[D]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(I(5439))},8592:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},7038:function(we,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},C={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"]},D=function(R){return function(U,Q,j,V){var se=b(U),G=C[R][b(U)];return 2===se&&(G=G[Q?0:1]),G.replace(/%d/i,U)}},N=["\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"];T.defineLocale("ar",{months:N,monthsShort:N,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(R){return"\u0645"===R},meridiem:function(R,U,Q){return R<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:D("s"),ss:D("s"),m:D("m"),mm:D("m"),h:D("h"),hh:D("h"),d:D("d"),dd:D("d"),M:D("M"),MM:D("M"),y:D("y"),yy:D("y")},preparse:function(R){return R.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(U){return y[U]}).replace(/\u060c/g,",")},postformat:function(R){return R.replace(/\d/g,function(U){return g[U]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},1213:function(we,A,I){!function(T){"use strict";var g={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"};T.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:"bir ne\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(b){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(b)},meridiem:function(b,C,D){return b<4?"gec\u0259":b<12?"s\u0259h\u0259r":b<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(b){if(0===b)return b+"-\u0131nc\u0131";var C=b%10;return b+(g[C]||g[b%100-C]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},9191:function(we,A,I){!function(T){"use strict";function y(C,D,N){return"m"===N?D?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===N?D?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function g(C,D){var N=C.split("_");return D%10==1&&D%100!=11?N[0]:D%10>=2&&D%10<=4&&(D%100<10||D%100>=20)?N[1]:N[2]}({ss:D?"\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:D?"\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:D?"\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"}[N],+C)}T.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:y,mm:y,h:y,hh:y,d:"\u0434\u0437\u0435\u043d\u044c",dd:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,D,N){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,D){switch(D){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(I(5439))},322:function(we,A,I){!function(T){"use strict";T.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\u0443_\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"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\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\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\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(y){var b=y%10,C=y%100;return 0===y?y+"-\u0435\u0432":0===C?y+"-\u0435\u043d":C>10&&C<20?y+"-\u0442\u0438":1===b?y+"-\u0432\u0438":2===b?y+"-\u0440\u0438":7===b||8===b?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},8042:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},5903:function(we,A,I){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===D?C<4?C:C+12:"\u09ad\u09cb\u09b0"===D||"\u09b8\u0995\u09be\u09b2"===D?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===D?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===D||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===D?C+12:void 0},meridiem:function(C,D,N){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9620:function(we,A,I){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===D&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===D&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===D?C+12:C},meridiem:function(C,D,N){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9645:function(we,A,I){!function(T){"use strict";var g={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},y={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.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\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,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_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".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(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},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(C,D){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===D&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===D&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===D?C+12:C},meridiem:function(C,D,N){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(I(5439))},5020:function(we,A,I){!function(T){"use strict";function g(G,oe,q){return G+" "+function C(G,oe){return 2===oe?function D(G){var oe={m:"v",b:"v",d:"z"};return void 0===oe[G.charAt(0)]?G:oe[G.charAt(0)]+G.substring(1)}(G):G}({mm:"munutenn",MM:"miz",dd:"devezh"}[q],G)}function b(G){return G>9?b(G%10):G}var N=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],B=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,V=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:V,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:V,monthsRegex:B,monthsShortRegex:B,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:N,longMonthsParse:N,shortMonthsParse:N,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:g,h:"un eur",hh:"%d eur",d:"un devezh",dd:g,M:"ur miz",MM:g,y:"ur bloaz",yy:function y(G){switch(b(G)){case 1:case 3:case 4:case 5:case 9:return G+" bloaz";default:return G+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(G){return G+(1===G?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(G){return"g.m."===G},meridiem:function(G,oe,q){return G<12?"a.m.":"g.m."}})}(I(5439))},4792:function(we,A,I){!function(T){"use strict";function g(b,C,D){var N=b+" ";switch(D){case"ss":return N+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return N+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return N+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return N+(1===b?"dan":"dana");case"MM":return N+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return N+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}T.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:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7980:function(we,A,I){!function(T){"use strict";T.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(y,b){var C=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===b||"W"===b)&&(C="a"),y+C},week:{dow:1,doy:4}})}(I(5439))},7322:function(we,A,I){!function(T){"use strict";var g={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},y="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),b=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function D(R){return R>1&&R<5&&1!=~~(R/10)}function N(R,U,Q,j){var V=R+" ";switch(Q){case"s":return U||j?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return U||j?V+(D(R)?"sekundy":"sekund"):V+"sekundami";case"m":return U?"minuta":j?"minutu":"minutou";case"mm":return U||j?V+(D(R)?"minuty":"minut"):V+"minutami";case"h":return U?"hodina":j?"hodinu":"hodinou";case"hh":return U||j?V+(D(R)?"hodiny":"hodin"):V+"hodinami";case"d":return U||j?"den":"dnem";case"dd":return U||j?V+(D(R)?"dny":"dn\xed"):V+"dny";case"M":return U||j?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return U||j?V+(D(R)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):V+"m\u011bs\xedci";case"y":return U||j?"rok":"rokem";case"yy":return U||j?V+(D(R)?"roky":"let"):V+"lety"}}T.defineLocale("cs",{months:g,monthsShort:y,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,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:N,ss:N,m:N,mm:N,h:N,hh:N,d:N,dd:N,M:N,MM:N,y:N,yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},365:function(we,A,I){!function(T){"use strict";T.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(y){return y+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(y)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(y)?"\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}})}(I(5439))},2092:function(we,A,I){!function(T){"use strict";T.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(y){var C="";return y>20?C=40===y||50===y||60===y||80===y||100===y?"fed":"ain":y>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][y]),y+C},week:{dow:1,doy:4}})}(I(5439))},7387:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},9459:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.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:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3694:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.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:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},4307:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.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:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9659:function(we,A,I){!function(T){"use strict";var g=["\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"],y=["\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"];T.defineLocale("dv",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,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(C){return"\u0789\u078a"===C},meridiem:function(C,D,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(I(5439))},3460:function(we,A,I){!function(T){"use strict";T.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(b,C){return b?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[b.month()]:this._monthsNominativeEl[b.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(b,C,D){return b>11?D?"\u03bc\u03bc":"\u039c\u039c":D?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(b){return"\u03bc"===(b+"").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(b,C){var D=this._calendarEl[b],N=C&&C.hours();return function g(b){return typeof Function<"u"&&b instanceof Function||"[object Function]"===Object.prototype.toString.call(b)}(D)&&(D=D.apply(C)),D.replace("{}",N%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}})}(I(5439))},4369:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(I(5439))},530:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(5439))},9998:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3391:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},5414:function(we,A,I){!function(T){"use strict";T.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",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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(5439))},9615:function(we,A,I){!function(T){"use strict";T.defineLocale("en-in",{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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(I(5439))},1248:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3767:function(we,A,I){!function(T){"use strict";T.defineLocale("en-sg",{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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},4530:function(we,A,I){!function(T){"use strict";T.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_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:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(y){return"p"===y.charAt(0).toLowerCase()},meridiem:function(y,b,C){return y>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(I(5439))},8944:function(we,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,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:b,longMonthsParse:b,shortMonthsParse:b,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",w:"una semana",ww:"%d semanas",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}})}(I(5439))},9116:function(we,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,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:b,longMonthsParse:b,shortMonthsParse:b,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",w:"una semana",ww:"%d semanas",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:4},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},3609:function(we,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,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:b,longMonthsParse:b,shortMonthsParse:b,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:"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",w:"una semana",ww:"%d semanas",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}})}(I(5439))},6866:function(we,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,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:b,longMonthsParse:b,shortMonthsParse:b,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",w:"una semana",ww:"%d semanas",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},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},6725:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[b+"sekundi",b+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[b+" minuti",b+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[b+" tunni",b+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[b+" kuu",b+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[b+" aasta",b+" aastat"]};return C?B[D][2]?B[D][2]:B[D][1]:N?B[D][0]:B[D][1]}T.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:"%d p\xe4eva",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},7931:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},6417:function(we,A,I){!function(T){"use strict";var g={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},y={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.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(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,D,N){return C<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:"%d \u062b\u0627\u0646\u06cc\u0647",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(C){return C.replace(/[\u06f0-\u06f9]/g,function(D){return y[D]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(I(5439))},944:function(we,A,I){!function(T){"use strict";var g="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),y=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",g[7],g[8],g[9]];function b(N,B,R,U){var Q="";switch(R){case"s":return U?"muutaman sekunnin":"muutama sekunti";case"ss":Q=U?"sekunnin":"sekuntia";break;case"m":return U?"minuutin":"minuutti";case"mm":Q=U?"minuutin":"minuuttia";break;case"h":return U?"tunnin":"tunti";case"hh":Q=U?"tunnin":"tuntia";break;case"d":return U?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Q=U?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return U?"kuukauden":"kuukausi";case"MM":Q=U?"kuukauden":"kuukautta";break;case"y":return U?"vuoden":"vuosi";case"yy":Q=U?"vuoden":"vuotta"}return function C(N,B){return N<10?B?y[N]:g[N]:N}(N,U)+" "+Q}T.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:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1766:function(we,A,I){!function(T){"use strict";T.defineLocale("fil",{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(y){return y},week:{dow:1,doy:4}})}(I(5439))},5867:function(we,A,I){!function(T){"use strict";T.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 minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},6848:function(we,A,I){!function(T){"use strict";T.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(y,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}}})}(I(5439))},7773:function(we,A,I){!function(T){"use strict";T.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(y,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},1636:function(we,A,I){!function(T){"use strict";var b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];T.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("_"),monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,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",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(N,B){switch(B){case"D":return N+(1===N?"er":"");default:case"M":case"Q":case"DDD":case"d":return N+(1===N?"er":"e");case"w":case"W":return N+(1===N?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},4940:function(we,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),y="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,D){return C?/-MMM-/.test(D)?y[C.month()]:g[C.month()]:g},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(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1402:function(we,A,I){!function(T){"use strict";T.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6924:function(we,A,I){!function(T){"use strict";T.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(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6398:function(we,A,I){!function(T){"use strict";T.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(y){return 0===y.indexOf("un")?"n"+y:"en "+y},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}})}(I(5439))},2457:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[b+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",b+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[b+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",b+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[b+" \u0935\u0930\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[b+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",b+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[b+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",b+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[b+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return N?B[D][0]:B[D][1]}T.defineLocale("gom-deva",{months:{standalone:"\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\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\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("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\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:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(b,C){return"D"===C?b+"\u0935\u0947\u0930":b},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(b,C){return 12===b&&(b=0),"\u0930\u093e\u0924\u0940"===C?b<4?b:b+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?b:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?b>12?b:b+12:"\u0938\u093e\u0902\u091c\u0947"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"\u0930\u093e\u0924\u0940":b<12?"\u0938\u0915\u093e\u0933\u0940\u0902":b<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":b<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(I(5439))},2545:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B={s:["thoddea sekondamni","thodde sekond"],ss:[b+" sekondamni",b+" sekond"],m:["eka mintan","ek minut"],mm:[b+" mintamni",b+" mintam"],h:["eka voran","ek vor"],hh:[b+" voramni",b+" voram"],d:["eka disan","ek dis"],dd:[b+" disamni",b+" dis"],M:["eka mhoinean","ek mhoino"],MM:[b+" mhoineamni",b+" mhoine"],y:["eka vorsan","ek voros"],yy:[b+" vorsamni",b+" vorsam"]};return N?B[D][0]:B[D][1]}T.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_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 Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(b,C){return"D"===C?b+"er":b},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(b,C){return 12===b&&(b=0),"rati"===C?b<4?b:b+12:"sokallim"===C?b:"donparam"===C?b>12?b:b+12:"sanje"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"rati":b<12?"sokallim":b<16?"donparam":b<20?"sanje":"rati"}})}(I(5439))},2641:function(we,A,I){!function(T){"use strict";var g={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},y={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.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\u0ab9\u0ac7\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(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===D?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===D?C:"\u0aac\u0aaa\u0acb\u0ab0"===D?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===D?C+12:void 0},meridiem:function(C,D,N){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(I(5439))},7536:function(we,A,I){!function(T){"use strict";T.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(y){return 2===y?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":y+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(y){return 2===y?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":y+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(y){return 2===y?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":y+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(y){return 2===y?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":y%10==0&&10!==y?y+" \u05e9\u05e0\u05d4":y+" \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(y){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(y)},meridiem:function(y,b,C){return y<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":y<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":y<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":y<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(I(5439))},6335:function(we,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},b=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];T.defineLocale("hi",{months:{format:"\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("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\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\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\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("_"),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"},monthsParse:b,longMonthsParse:b,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\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|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\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\.?)/i,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(N){return N.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(B){return y[B]})},postformat:function(N){return N.replace(/\d/g,function(B){return g[B]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(N,B){return 12===N&&(N=0),"\u0930\u093e\u0924"===B?N<4?N:N+12:"\u0938\u0941\u092c\u0939"===B?N:"\u0926\u094b\u092a\u0939\u0930"===B?N>=10?N:N+12:"\u0936\u093e\u092e"===B?N+12:void 0},meridiem:function(N,B,R){return N<4?"\u0930\u093e\u0924":N<10?"\u0938\u0941\u092c\u0939":N<17?"\u0926\u094b\u092a\u0939\u0930":N<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(I(5439))},7458:function(we,A,I){!function(T){"use strict";function g(b,C,D){var N=b+" ";switch(D){case"ss":return N+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return N+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return N+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return N+(1===b?"dan":"dana");case"MM":return N+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return N+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}T.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:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [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:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6540:function(we,A,I){!function(T){"use strict";var g="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function y(D,N,B,R){var U=D;switch(B){case"s":return R||N?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return U+(R||N)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(R||N?" perc":" perce");case"mm":return U+(R||N?" perc":" perce");case"h":return"egy"+(R||N?" \xf3ra":" \xf3r\xe1ja");case"hh":return U+(R||N?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(R||N?" nap":" napja");case"dd":return U+(R||N?" nap":" napja");case"M":return"egy"+(R||N?" h\xf3nap":" h\xf3napja");case"MM":return U+(R||N?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(R||N?" \xe9v":" \xe9ve");case"yy":return U+(R||N?" \xe9v":" \xe9ve")}return""}function b(D){return(D?"":"[m\xfalt] ")+"["+g[this.day()]+"] LT[-kor]"}T.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("_"),monthsParseExact:!0,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(D){return"u"===D.charAt(1).toLowerCase()},meridiem:function(D,N,B){return D<12?!0===B?"de":"DE":!0===B?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},5283:function(we,A,I){!function(T){"use strict";T.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(y){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(y)},meridiem:function(y){return y<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":y<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":y<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(y,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===y?y+"-\u056b\u0576":y+"-\u0580\u0564";default:return y}},week:{dow:1,doy:7}})}(I(5439))},8780:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"pagi"===b?y:"siang"===b?y>=11?y:y+12:"sore"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"siang":y<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:0,doy:6}})}(I(5439))},4205:function(we,A,I){!function(T){"use strict";function g(C){return C%100==11||C%10!=1}function y(C,D,N,B){var R=C+" ";switch(N){case"s":return D||B?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return g(C)?R+(D||B?"sek\xfandur":"sek\xfandum"):R+"sek\xfanda";case"m":return D?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return g(C)?R+(D||B?"m\xedn\xfatur":"m\xedn\xfatum"):D?R+"m\xedn\xfata":R+"m\xedn\xfatu";case"hh":return g(C)?R+(D||B?"klukkustundir":"klukkustundum"):R+"klukkustund";case"d":return D?"dagur":B?"dag":"degi";case"dd":return g(C)?D?R+"dagar":R+(B?"daga":"d\xf6gum"):D?R+"dagur":R+(B?"dag":"degi");case"M":return D?"m\xe1nu\xf0ur":B?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return g(C)?D?R+"m\xe1nu\xf0ir":R+(B?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):D?R+"m\xe1nu\xf0ur":R+(B?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return D||B?"\xe1r":"\xe1ri";case"yy":return g(C)?R+(D||B?"\xe1r":"\xe1rum"):R+(D||B?"\xe1r":"\xe1ri")}}T.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:y,ss:y,m:y,mm:y,h:"klukkustund",hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9985:function(we,A,I){!function(T){"use strict";T.defineLocale("it-ch",{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(y){return(/^[0-9].+$/.test(y)?"tra":"in")+" "+y},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}})}(I(5439))},4211:function(we,A,I){!function(T){"use strict";T.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:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",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",w:"una settimana",ww:"%d settimane",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}})}(I(5439))},1003:function(we,A,I){!function(T){"use strict";T.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(y,b){return"\u5143"===b[1]?1:parseInt(b[1]||y,10)},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(y){return"\u5348\u5f8c"===y},meridiem:function(y,b,C){return y<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(y){return y.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(y){return this.week()!==y.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(y,b){switch(b){case"y":return 1===y?"\u5143\u5e74":y+"\u5e74";case"d":case"D":case"DDD":return y+"\u65e5";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(I(5439))},420:function(we,A,I){!function(T){"use strict";T.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".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:/enjing|siyang|sonten|ndalu/,meridiemHour:function(y,b){return 12===y&&(y=0),"enjing"===b?y:"siyang"===b?y>=11?y:y+12:"sonten"===b||"ndalu"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"enjing":y<15?"siyang":y<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}})}(I(5439))},851:function(we,A,I){!function(T){"use strict";T.defineLocale("ka",{months:"\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("_"),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:"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:"[\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(y){return y.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(b,C,D){return"\u10d8"===D?C+"\u10e8\u10d8":C+D+"\u10e8\u10d8"})},past:function(y){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(y)?y.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(y)?y.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):y},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(y){return 0===y?y:1===y?y+"-\u10da\u10d8":y<20||y<=100&&y%20==0||y%100==0?"\u10db\u10d4-"+y:y+"-\u10d4"},week:{dow:1,doy:7}})}(I(5439))},6074:function(we,A,I){!function(T){"use strict";var g={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"};T.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(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},3343:function(we,A,I){!function(T){"use strict";var g={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},y={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.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(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,D,N){return C<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(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},week:{dow:1,doy:4}})}(I(5439))},4799:function(we,A,I){!function(T){"use strict";var g={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},y={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.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(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},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(C,D){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===D?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===D?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===D?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===D?C+12:void 0},meridiem:function(C,D,N){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(I(5439))},3549:function(we,A,I){!function(T){"use strict";T.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(y,b){switch(b){case"d":case"D":case"DDD":return y+"\uc77c";case"M":return y+"\uc6d4";case"w":case"W":return y+"\uc8fc";default:return y}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(y){return"\uc624\ud6c4"===y},meridiem:function(y,b,C){return y<12?"\uc624\uc804":"\uc624\ud6c4"}})}(I(5439))},1037:function(we,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];T.defineLocale("ku",{months:b,monthsShort:b,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\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:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(D){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(D)},meridiem:function(D,N,B){return D<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(D){return D.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return y[N]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(N){return g[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},3125:function(we,A,I){!function(T){"use strict";var g={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"};T.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\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\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(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},9586:function(we,A,I){!function(T){"use strict";function g(N,B,R,U){var Q={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 B?Q[R][0]:Q[R][1]}function C(N){if(N=parseInt(N,10),isNaN(N))return!1;if(N<0)return!0;if(N<10)return 4<=N&&N<=7;if(N<100){var B=N%10;return C(0===B?N/10:B)}if(N<1e4){for(;N>=10;)N/=10;return C(N)}return C(N/=1e3)}T.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 y(N){return C(N.substr(0,N.indexOf(" ")))?"a "+N:"an "+N},past:function b(N){return C(N.substr(0,N.indexOf(" ")))?"viru "+N:"virun "+N},s:"e puer Sekonnen",ss:"%d Sekonnen",m:g,mm:"%d Minutten",h:g,hh:"%d Stonnen",d:g,dd:"%d Deeg",M:g,MM:"%d M\xe9int",y:g,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2349:function(we,A,I){!function(T){"use strict";T.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(y){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===y},meridiem:function(y,b,C){return y<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(y){return"\u0e97\u0eb5\u0ec8"+y}})}(I(5439))},2400:function(we,A,I){!function(T){"use strict";var g={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 b(R,U,Q,j){return U?D(Q)[0]:j?D(Q)[1]:D(Q)[2]}function C(R){return R%10==0||R>10&&R<20}function D(R){return g[R].split("_")}function N(R,U,Q,j){var V=R+" ";return 1===R?V+b(0,U,Q[0],j):U?V+(C(R)?D(Q)[1]:D(Q)[0]):j?V+D(Q)[1]:V+(C(R)?D(Q)[1]:D(Q)[2])}T.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 y(R,U,Q,j){return U?"kelios sekund\u0117s":j?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:N,m:b,mm:N,h:b,hh:N,d:b,dd:N,M:b,MM:N,y:b,yy:N},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(R){return R+"-oji"},week:{dow:1,doy:4}})}(I(5439))},9991:function(we,A,I){!function(T){"use strict";var g={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 y(B,R,U){return U?R%10==1&&R%100!=11?B[2]:B[3]:R%10==1&&R%100!=11?B[0]:B[1]}function b(B,R,U){return B+" "+y(g[U],B,R)}function C(B,R,U){return y(g[U],B,R)}T.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 D(B,R){return R?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:b,m:C,mm:b,h:C,hh:b,d:C,dd:b,M:C,MM:b,y:C,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8477:function(we,A,I){!function(T){"use strict";var g={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(b,C){return 1===b?C[0]:b>=2&&b<=4?C[1]:C[2]},translate:function(b,C,D){var N=g.words[D];return 1===D.length?C?N[0]:N[1]:b+" "+g.correctGrammaticalCase(b,N)}};T.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:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:"dan",dd:g.translate,M:"mjesec",MM:g.translate,y:"godinu",yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},5118:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},5943:function(we,A,I){!function(T){"use strict";T.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:"\u0437\u0430 %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:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \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(y){var b=y%10,C=y%100;return 0===y?y+"-\u0435\u0432":0===C?y+"-\u0435\u043d":C>10&&C<20?y+"-\u0442\u0438":1===b?y+"-\u0432\u0438":2===b?y+"-\u0440\u0438":7===b||8===b?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},3849:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===b&&y>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===b||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===b?y+12:y},meridiem:function(y,b,C){return y<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":y<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":y<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":y<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(I(5439))},1977:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){switch(D){case"s":return C?"\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 b+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return b+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return b+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return b+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return b+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return b+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return b}}T.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(b){return"\u04ae\u0425"===b},meridiem:function(b,C,D){return b<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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(b,C){switch(C){case"d":case"D":case"DDD":return b+" \u04e9\u0434\u04e9\u0440";default:return b}}})}(I(5439))},6184:function(we,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function b(D,N,B,R){var U="";if(N)switch(B){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":U="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":U="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":U="%d \u0924\u093e\u0938";break;case"d":U="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":U="%d \u0926\u093f\u0935\u0938";break;case"M":U="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":U="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u0947"}else switch(B){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":U="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":U="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":U="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":U="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":U="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":U="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":U="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return U.replace(/%d/i,D)}T.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:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(D){return D.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(N){return y[N]})},postformat:function(D){return D.replace(/\d/g,function(N){return g[N]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(D,N){return 12===D&&(D=0),"\u092a\u0939\u093e\u091f\u0947"===N||"\u0938\u0915\u093e\u0933\u0940"===N?D:"\u0926\u0941\u092a\u093e\u0930\u0940"===N||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===N||"\u0930\u093e\u0924\u094d\u0930\u0940"===N?D>=12?D:D+12:void 0},meridiem:function(D,N,B){return D>=0&&D<6?"\u092a\u0939\u093e\u091f\u0947":D<12?"\u0938\u0915\u093e\u0933\u0940":D<17?"\u0926\u0941\u092a\u093e\u0930\u0940":D<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(I(5439))},4524:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"pagi"===b?y:"tengahari"===b?y>=11?y:y+12:"petang"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"tengahari":y<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}})}(I(5439))},485:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"pagi"===b?y:"tengahari"===b?y>=11?y:y+12:"petang"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"tengahari":y<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}})}(I(5439))},6681:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},2024:function(we,A,I){!function(T){"use strict";var g={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},y={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.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(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},week:{dow:1,doy:4}})}(I(5439))},2688:function(we,A,I){!function(T){"use strict";T.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._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",w:"en uke",ww:"%d uker",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}})}(I(5439))},8914:function(we,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.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(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===D?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===D?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===D?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===D?C+12:void 0},meridiem:function(C,D,N){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<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}})}(I(5439))},2272:function(we,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^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],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,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(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1758:function(we,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^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],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?y[N.month()]:g[N.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,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",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1510:function(we,A,I){!function(T){"use strict";T.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,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",w:"ei veke",ww:"%d veker",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}})}(I(5439))},2797:function(we,A,I){!function(T){"use strict";T.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_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] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(y,b){var C=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===b||"W"===b)&&(C="a"),y+C},week:{dow:1,doy:4}})}(I(5439))},7944:function(we,A,I){!function(T){"use strict";var g={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},y={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.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(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===D?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===D?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===D?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===D?C+12:void 0},meridiem:function(C,D,N){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(I(5439))},1605:function(we,A,I){!function(T){"use strict";var g="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),y="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(B){return B%10<5&&B%10>1&&~~(B/10)%10!=1}function D(B,R,U){var Q=B+" ";switch(U){case"ss":return Q+(C(B)?"sekundy":"sekund");case"m":return R?"minuta":"minut\u0119";case"mm":return Q+(C(B)?"minuty":"minut");case"h":return R?"godzina":"godzin\u0119";case"hh":return Q+(C(B)?"godziny":"godzin");case"ww":return Q+(C(B)?"tygodnie":"tygodni");case"MM":return Q+(C(B)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Q+(C(B)?"lata":"lat")}}T.defineLocale("pl",{months:function(B,R){return B?/D MMMM/.test(R)?y[B.month()]:g[B.month()]:g},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,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:D,m:D,mm:D,h:D,hh:D,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:D,M:"miesi\u0105c",MM:D,y:"rok",yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3840:function(we,A,I){!function(T){"use strict";T.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",invalidDate:"Data inv\xe1lida"})}(I(5439))},4225:function(we,A,I){!function(T){"use strict";T.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",w:"uma semana",ww:"%d semanas",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}})}(I(5439))},5128:function(we,A,I){!function(T){"use strict";function g(b,C,D){var B=" ";return(b%100>=20||b>=100&&b%100==0)&&(B=" de "),b+B+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[D]}T.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._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:g,m:"un minut",mm:g,h:"o or\u0103",hh:g,d:"o zi",dd:g,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:g,M:"o lun\u0103",MM:g,y:"un an",yy:g},week:{dow:1,doy:7}})}(I(5439))},5127:function(we,A,I){!function(T){"use strict";function y(D,N,B){return"m"===B?N?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":D+" "+function g(D,N){var B=D.split("_");return N%10==1&&N%100!=11?B[0]:N%10>=2&&N%10<=4&&(N%100<10||N%100>=20)?B[1]:B[2]}({ss:N?"\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:N?"\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",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",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"}[B],+D)}var b=[/^\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];T.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:b,longMonthsParse:b,shortMonthsParse:b,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(D){if(D.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(D){if(D.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:y,m:y,mm:y,h:"\u0447\u0430\u0441",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(D){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(D)},meridiem:function(D,N,B){return D<4?"\u043d\u043e\u0447\u0438":D<12?"\u0443\u0442\u0440\u0430":D<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(D,N){switch(N){case"M":case"d":case"DDD":return D+"-\u0439";case"D":return D+"-\u0433\u043e";case"w":case"W":return D+"-\u044f";default:return D}},week:{dow:1,doy:4}})}(I(5439))},2525:function(we,A,I){!function(T){"use strict";var g=["\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"],y=["\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"];T.defineLocale("sd",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,weekdaysMin:y,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,D,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},9893:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},3123:function(we,A,I){!function(T){"use strict";T.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(y){return y+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(y){return"\u0db4.\u0dc0."===y||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===y},meridiem:function(y,b,C){return y>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(I(5439))},9635:function(we,A,I){!function(T){"use strict";var g="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),y="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function b(N){return N>1&&N<5}function C(N,B,R,U){var Q=N+" ";switch(R){case"s":return B||U?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return B||U?Q+(b(N)?"sekundy":"sek\xfand"):Q+"sekundami";case"m":return B?"min\xfata":U?"min\xfatu":"min\xfatou";case"mm":return B||U?Q+(b(N)?"min\xfaty":"min\xfat"):Q+"min\xfatami";case"h":return B?"hodina":U?"hodinu":"hodinou";case"hh":return B||U?Q+(b(N)?"hodiny":"hod\xedn"):Q+"hodinami";case"d":return B||U?"de\u0148":"d\u0148om";case"dd":return B||U?Q+(b(N)?"dni":"dn\xed"):Q+"d\u0148ami";case"M":return B||U?"mesiac":"mesiacom";case"MM":return B||U?Q+(b(N)?"mesiace":"mesiacov"):Q+"mesiacmi";case"y":return B||U?"rok":"rokom";case"yy":return B||U?Q+(b(N)?"roky":"rokov"):Q+"rokmi"}}T.defineLocale("sk",{months:g,monthsShort:y,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:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8106:function(we,A,I){!function(T){"use strict";function g(b,C,D,N){var B=b+" ";switch(D){case"s":return C||N?"nekaj sekund":"nekaj sekundami";case"ss":return B+(1===b?C?"sekundo":"sekundi":2===b?C||N?"sekundi":"sekundah":b<5?C||N?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return B+(1===b?C?"minuta":"minuto":2===b?C||N?"minuti":"minutama":b<5?C||N?"minute":"minutami":C||N?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return B+(1===b?C?"ura":"uro":2===b?C||N?"uri":"urama":b<5?C||N?"ure":"urami":C||N?"ur":"urami");case"d":return C||N?"en dan":"enim dnem";case"dd":return B+(1===b?C||N?"dan":"dnem":2===b?C||N?"dni":"dnevoma":C||N?"dni":"dnevi");case"M":return C||N?"en mesec":"enim mesecem";case"MM":return B+(1===b?C||N?"mesec":"mesecem":2===b?C||N?"meseca":"mesecema":b<5?C||N?"mesece":"meseci":C||N?"mesecev":"meseci");case"y":return C||N?"eno leto":"enim letom";case"yy":return B+(1===b?C||N?"leto":"letom":2===b?C||N?"leti":"letoma":b<5?C||N?"leta":"leti":C||N?"let":"leti")}}T.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},8799:function(we,A,I){!function(T){"use strict";T.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(y){return"M"===y.charAt(0)},meridiem:function(y,b,C){return y<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}})}(I(5439))},2872:function(we,A,I){!function(T){"use strict";var g={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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(b,C){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?C[0]:C[1]:C[2]},translate:function(b,C,D,N){var R,B=g.words[D];return 1===D.length?"y"===D&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":N||C?B[0]:B[1]:(R=g.correctGrammaticalCase(b,B),"yy"===D&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===R?b+" \u0433\u043e\u0434\u0438\u043d\u0430":b+" "+R)}};T.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:"D. M. 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:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7949:function(we,A,I){!function(T){"use strict";var g={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(b,C){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?C[0]:C[1]:C[2]},translate:function(b,C,D,N){var R,B=g.words[D];return 1===D.length?"y"===D&&C?"jedna godina":N||C?B[0]:B[1]:(R=g.correctGrammaticalCase(b,B),"yy"===D&&C&&"godinu"===R?b+" godina":b+" "+R)}};T.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:"D. M. 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:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6167:function(we,A,I){!function(T){"use strict";T.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(y,b,C){return y<11?"ekuseni":y<15?"emini":y<19?"entsambama":"ebusuku"},meridiemHour:function(y,b){return 12===y&&(y=0),"ekuseni"===b?y:"emini"===b?y>=11?y:y+12:"entsambama"===b||"ebusuku"===b?0===y?0:y+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(I(5439))},9713:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(I(5439))},1982:function(we,A,I){!function(T){"use strict";T.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 A",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:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(I(5439))},2732:function(we,A,I){!function(T){"use strict";var g={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},y={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.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(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},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(C,D,N){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,D){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===D?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===D||"\u0b95\u0bbe\u0bb2\u0bc8"===D||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===D&&C>=10?C:C+12},week:{dow:0,doy:6}})}(I(5439))},3636:function(we,A,I){!function(T){"use strict";T.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\u0c41\u0c32\u0c48_\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\u0c41\u0c32\u0c48_\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(y,b){return 12===y&&(y=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===b?y<4?y:y+12:"\u0c09\u0c26\u0c2f\u0c02"===b?y:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===b?y>=10?y:y+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===b?y+12:void 0},meridiem:function(y,b,C){return y<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":y<10?"\u0c09\u0c26\u0c2f\u0c02":y<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":y<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(I(5439))},2115:function(we,A,I){!function(T){"use strict";T.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:"segundu balun",ss:"segundu %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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9801:function(we,A,I){!function(T){"use strict";var g={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"};T.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\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:"[\u0424\u0430\u0440\u0434\u043e \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(b,C){return 12===b&&(b=0),"\u0448\u0430\u0431"===C?b<4?b:b+12:"\u0441\u0443\u0431\u04b3"===C?b:"\u0440\u04ef\u0437"===C?b>=11?b:b+12:"\u0431\u0435\u0433\u043e\u04b3"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"\u0448\u0430\u0431":b<11?"\u0441\u0443\u0431\u04b3":b<16?"\u0440\u04ef\u0437":b<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},4486:function(we,A,I){!function(T){"use strict";T.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(y){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===y},meridiem:function(y,b,C){return y<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",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(I(5439))},1310:function(we,A,I){!function(T){"use strict";var g={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};T.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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 sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(b,C){switch(C){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'unjy";var D=b%10;return b+(g[D]||g[b%100-D]||g[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(5439))},2360:function(we,A,I){!function(T){"use strict";T.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(y){return y},week:{dow:1,doy:4}})}(I(5439))},6645:function(we,A,I){!function(T){"use strict";var g="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(B,R,U,Q){var j=function D(B){var R=Math.floor(B%1e3/100),U=Math.floor(B%100/10),Q=B%10,j="";return R>0&&(j+=g[R]+"vatlh"),U>0&&(j+=(""!==j?" ":"")+g[U]+"maH"),Q>0&&(j+=(""!==j?" ":"")+g[Q]),""===j?"pagh":j}(B);switch(U){case"ss":return j+" lup";case"mm":return j+" tup";case"hh":return j+" rep";case"dd":return j+" jaj";case"MM":return j+" jar";case"yy":return j+" DIS"}}T.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 y(B){var R=B;return-1!==B.indexOf("jaj")?R.slice(0,-3)+"leS":-1!==B.indexOf("jar")?R.slice(0,-3)+"waQ":-1!==B.indexOf("DIS")?R.slice(0,-3)+"nem":R+" pIq"},past:function b(B){var R=B;return-1!==B.indexOf("jaj")?R.slice(0,-3)+"Hu\u2019":-1!==B.indexOf("jar")?R.slice(0,-3)+"wen":-1!==B.indexOf("DIS")?R.slice(0,-3)+"ben":R+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8374:function(we,A,I){!function(T){"use strict";var g={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"};T.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(b,C,D){return b<12?D?"\xf6\xf6":"\xd6\xd6":D?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(b){return"\xf6s"===b||"\xd6S"===b},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",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(b,C){switch(C){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'\u0131nc\u0131";var D=b%10;return b+(g[D]||g[b%100-D]||g[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(5439))},256:function(we,A,I){!function(T){"use strict";function y(b,C,D,N){var B={s:["viensas secunds","'iensas secunds"],ss:[b+" secunds",b+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[b+" m\xeduts",b+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[b+" \xfeoras",b+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[b+" ziuas",b+" ziuas"],M:["'n mes","'iens mes"],MM:[b+" mesen",b+" mesen"],y:["'n ar","'iens ar"],yy:[b+" ars",b+" ars"]};return N||C?B[D][0]:B[D][1]}T.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(b){return"d'o"===b.toLowerCase()},meridiem:function(b,C,D){return b>11?D?"d'o":"D'O":D?"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:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1631:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},1595:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},6050:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===b||"\u0633\u06d5\u06be\u06d5\u0631"===b||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===b?y:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===b||"\u0643\u06d5\u0686"===b?y+12:y>=11?y:y+12},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":D<900?"\u0633\u06d5\u06be\u06d5\u0631":D<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":D<1230?"\u0686\u06c8\u0634":D<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(y,b){switch(b){case"d":case"D":case"DDD":return y+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return y+"-\u06be\u06d5\u067e\u062a\u06d5";default:return y}},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(I(5439))},5610:function(we,A,I){!function(T){"use strict";function y(N,B,R){return"m"===R?B?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===R?B?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":N+" "+function g(N,B){var R=N.split("_");return B%10==1&&B%100!=11?R[0]:B%10>=2&&B%10<=4&&(B%100<10||B%100>=20)?R[1]:R[2]}({ss:B?"\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:B?"\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:B?"\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"}[R],+N)}function C(N){return function(){return N+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.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 b(N,B){var R={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!0===N?R.nominative.slice(1,7).concat(R.nominative.slice(0,1)):N?R[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(B)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(B)?"genitive":"nominative"][N.day()]:R.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:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\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:y,m:y,mm:y,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:y,y:"\u0440\u0456\u043a",yy:y},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(N){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(N)},meridiem:function(N,B,R){return N<4?"\u043d\u043e\u0447\u0456":N<12?"\u0440\u0430\u043d\u043a\u0443":N<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(N,B){switch(B){case"M":case"d":case"DDD":case"w":case"W":return N+"-\u0439";case"D":return N+"-\u0433\u043e";default:return N}},week:{dow:1,doy:7}})}(I(5439))},6077:function(we,A,I){!function(T){"use strict";var g=["\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"],y=["\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"];T.defineLocale("ur",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,weekdaysMin:y,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,D,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},2207:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},2862:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},8093:function(we,A,I){!function(T){"use strict";T.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:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".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(y){return/^ch$/i.test(y)},meridiem:function(y,b,C){return y<12?C?"sa":"SA":C?"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 tr\u01b0\u1edbc 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",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},5590:function(we,A,I){!function(T){"use strict";T.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(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9058:function(we,A,I){!function(T){"use strict";T.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}})}(I(5439))},7908:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:y>=11?y:y+12},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(y){return y.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(y){return this.week()!==y.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u5468";default:return y}},relativeTime:{future:"%s\u540e",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",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(I(5439))},8867:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1200?"\u4e0a\u5348":1200===D?"\u4e2d\u5348":D<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(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",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"}})}(I(5439))},1133:function(we,A,I){!function(T){"use strict";T.defineLocale("zh-mo",{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:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",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(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<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(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},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"}})}(I(5439))},3291:function(we,A,I){!function(T){"use strict";T.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(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<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(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",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"}})}(I(5439))},5439:function(we,A,I){(we=I.nmd(we)).exports=function(){"use strict";var T,oe;function g(){return T.apply(null,arguments)}function b(F){return F instanceof Array||"[object Array]"===Object.prototype.toString.call(F)}function C(F){return null!=F&&"[object Object]"===Object.prototype.toString.call(F)}function D(F,O){return Object.prototype.hasOwnProperty.call(F,O)}function N(F){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(F).length;var O;for(O in F)if(D(F,O))return!1;return!0}function B(F){return void 0===F}function R(F){return"number"==typeof F||"[object Number]"===Object.prototype.toString.call(F)}function U(F){return F instanceof Date||"[object Date]"===Object.prototype.toString.call(F)}function Q(F,O){var ce,X=[],be=F.length;for(ce=0;ce>>0;for(ce=0;ce0)for(X=0;X=0?X?"+":"":"-")+Math.pow(10,Math.max(0,O-ce.length)).toString().substr(1)+ce}var ft=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Qt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,He={},pi={};function nt(F,O,X,ce){var be=ce;"string"==typeof ce&&(be=function(){return this[ce]()}),F&&(pi[F]=be),O&&(pi[O[0]]=function(){return Zt(be.apply(this,arguments),O[1],O[2])}),X&&(pi[X]=function(){return this.localeData().ordinal(be.apply(this,arguments),F)})}function Yt(F){return F.match(/\[[\s\S]/)?F.replace(/^\[|\]$/g,""):F.replace(/\\/g,"")}function fn(F,O){return F.isValid()?(O=_t(O,F.localeData()),He[O]=He[O]||function jt(F){var X,ce,O=F.match(ft);for(X=0,ce=O.length;X=0&&Qt.test(F);)F=F.replace(Qt,ce),Qt.lastIndex=0,X-=1;return F}var wt={};function mn(F,O){var X=F.toLowerCase();wt[X]=wt[X+"s"]=wt[O]=F}function Ni(F){return"string"==typeof F?wt[F]||wt[F.toLowerCase()]:void 0}function Vi(F){var X,ce,O={};for(ce in F)D(F,ce)&&(X=Ni(ce))&&(O[X]=F[ce]);return O}var pa={};function $i(F,O){pa[F]=O}function Oi(F){return F%4==0&&F%100!=0||F%400==0}function en(F){return F<0?Math.ceil(F)||0:Math.floor(F)}function Ri(F){var O=+F,X=0;return 0!==O&&isFinite(O)&&(X=en(O)),X}function Qr(F,O){return function(X){return null!=X?(hr(this,F,X),g.updateOffset(this,O),this):Hr(this,F)}}function Hr(F,O){return F.isValid()?F._d["get"+(F._isUTC?"UTC":"")+O]():NaN}function hr(F,O,X){F.isValid()&&!isNaN(X)&&("FullYear"===O&&Oi(F.year())&&1===F.month()&&29===F.date()?(X=Ri(X),F._d["set"+(F._isUTC?"UTC":"")+O](X,F.month(),gt(X,F.month()))):F._d["set"+(F._isUTC?"UTC":"")+O](X))}var Va,Ue=/\d/,We=/\d\d/,gn=/\d{3}/,In=/\d{4}/,nr=/[+-]?\d{6}/,Tt=/\d\d?/,ga=/\d\d\d\d?/,Ha=/\d\d\d\d\d\d?/,Vr=/\d{1,3}/,xr=/\d{1,4}/,vo=/[+-]?\d{1,6}/,Xr=/\d+/,Ir=/[+-]?\d+/,_s=/Z|[+-]\d\d:?\d\d/gi,aa=/Z|[+-]\d\d(?::?\d\d)?/gi,cn=/[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;function zt(F,O,X){Va[F]=ge(O)?O:function(ce,be){return ce&&X?X:O}}function Ma(F,O){return D(Va,F)?Va[F](O._strict,O._locale):new RegExp(function Ya(F){return Ut(F.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(O,X,ce,be,Ve){return X||ce||be||Ve}))}(F))}function Ut(F){return F.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Va={};var wo={};function Cn(F,O){var X,be,ce=O;for("string"==typeof F&&(F=[F]),R(O)&&(ce=function(Ve,dt){dt[O]=Ri(Ve)}),be=F.length,X=0;X68?1900:2e3)};var hi=Qr("FullYear",!0);function Lr(F,O,X,ce,be,Ve,dt){var Ti;return F<100&&F>=0?(Ti=new Date(F+400,O,X,ce,be,Ve,dt),isFinite(Ti.getFullYear())&&Ti.setFullYear(F)):Ti=new Date(F,O,X,ce,be,Ve,dt),Ti}function $e(F){var O,X;return F<100&&F>=0?((X=Array.prototype.slice.call(arguments))[0]=F+400,O=new Date(Date.UTC.apply(null,X)),isFinite(O.getUTCFullYear())&&O.setUTCFullYear(F)):O=new Date(Date.UTC.apply(null,arguments)),O}function De(F,O,X){var ce=7+O-X;return-(7+$e(F,0,ce).getUTCDay()-O)%7+ce-1}function ci(F,O,X,ce,be){var vn,Cr,Ti=1+7*(O-1)+(7+X-ce)%7+De(F,ce,be);return Ti<=0?Cr=ao(vn=F-1)+Ti:Ti>ao(F)?(vn=F+1,Cr=Ti-ao(F)):(vn=F,Cr=Ti),{year:vn,dayOfYear:Cr}}function tt(F,O,X){var Ve,dt,ce=De(F.year(),O,X),be=Math.floor((F.dayOfYear()-ce-1)/7)+1;return be<1?Ve=be+pr(dt=F.year()-1,O,X):be>pr(F.year(),O,X)?(Ve=be-pr(F.year(),O,X),dt=F.year()+1):(dt=F.year(),Ve=be),{week:Ve,year:dt}}function pr(F,O,X){var ce=De(F,O,X),be=De(F+1,O,X);return(ao(F)-ce+be)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),mn("week","w"),mn("isoWeek","W"),$i("week",5),$i("isoWeek",5),zt("w",Tt),zt("ww",Tt,We),zt("W",Tt),zt("WW",Tt,We),rr(["w","ww","W","WW"],function(F,O,X,ce){O[ce.substr(0,1)]=Ri(F)});function ys(F,O){return F.slice(O,7).concat(F.slice(0,O))}nt("d",0,"do","day"),nt("dd",0,0,function(F){return this.localeData().weekdaysMin(this,F)}),nt("ddd",0,0,function(F){return this.localeData().weekdaysShort(this,F)}),nt("dddd",0,0,function(F){return this.localeData().weekdays(this,F)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),mn("day","d"),mn("weekday","e"),mn("isoWeekday","E"),$i("day",11),$i("weekday",11),$i("isoWeekday",11),zt("d",Tt),zt("e",Tt),zt("E",Tt),zt("dd",function(F,O){return O.weekdaysMinRegex(F)}),zt("ddd",function(F,O){return O.weekdaysShortRegex(F)}),zt("dddd",function(F,O){return O.weekdaysRegex(F)}),rr(["dd","ddd","dddd"],function(F,O,X,ce){var be=X._locale.weekdaysParse(F,ce,X._strict);null!=be?O.d=be:G(X).invalidWeekday=F}),rr(["d","e","E"],function(F,O,X,ce){O[ce]=Ri(F)});var cd="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ph="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),fc=cn,vs=cn,Ei=cn;function hu(F,O,X){var ce,be,Ve,dt=F.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ce=0;ce<7;++ce)Ve=V([2e3,1]).day(ce),this._minWeekdaysParse[ce]=this.weekdaysMin(Ve,"").toLocaleLowerCase(),this._shortWeekdaysParse[ce]=this.weekdaysShort(Ve,"").toLocaleLowerCase(),this._weekdaysParse[ce]=this.weekdays(Ve,"").toLocaleLowerCase();return X?"dddd"===O?-1!==(be=mr.call(this._weekdaysParse,dt))?be:null:"ddd"===O?-1!==(be=mr.call(this._shortWeekdaysParse,dt))?be:null:-1!==(be=mr.call(this._minWeekdaysParse,dt))?be:null:"dddd"===O?-1!==(be=mr.call(this._weekdaysParse,dt))||-1!==(be=mr.call(this._shortWeekdaysParse,dt))||-1!==(be=mr.call(this._minWeekdaysParse,dt))?be:null:"ddd"===O?-1!==(be=mr.call(this._shortWeekdaysParse,dt))||-1!==(be=mr.call(this._weekdaysParse,dt))||-1!==(be=mr.call(this._minWeekdaysParse,dt))?be:null:-1!==(be=mr.call(this._minWeekdaysParse,dt))||-1!==(be=mr.call(this._weekdaysParse,dt))||-1!==(be=mr.call(this._shortWeekdaysParse,dt))?be:null}function St(){function F(Gr,zl){return zl.length-Gr.length}var Ve,dt,Ti,vn,Cr,O=[],X=[],ce=[],be=[];for(Ve=0;Ve<7;Ve++)dt=V([2e3,1]).day(Ve),Ti=Ut(this.weekdaysMin(dt,"")),vn=Ut(this.weekdaysShort(dt,"")),Cr=Ut(this.weekdays(dt,"")),O.push(Ti),X.push(vn),ce.push(Cr),be.push(Ti),be.push(vn),be.push(Cr);O.sort(F),X.sort(F),ce.sort(F),be.sort(F),this._weekdaysRegex=new RegExp("^("+be.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ce.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+X.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+O.join("|")+")","i")}function zo(){return this.hours()%12||12}function Nr(F,O){nt(F,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),O)})}function _c(F,O){return O._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,zo),nt("k",["kk",2],0,function _h(){return this.hours()||24}),nt("hmm",0,0,function(){return""+zo.apply(this)+Zt(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+zo.apply(this)+Zt(this.minutes(),2)+Zt(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Zt(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Zt(this.minutes(),2)+Zt(this.seconds(),2)}),Nr("a",!0),Nr("A",!1),mn("hour","h"),$i("hour",13),zt("a",_c),zt("A",_c),zt("H",Tt),zt("h",Tt),zt("k",Tt),zt("HH",Tt,We),zt("hh",Tt,We),zt("kk",Tt,We),zt("hmm",ga),zt("hmmss",Ha),zt("Hmm",ga),zt("Hmmss",Ha),Cn(["H","HH"],_n),Cn(["k","kk"],function(F,O,X){var ce=Ri(F);O[_n]=24===ce?0:ce}),Cn(["a","A"],function(F,O,X){X._isPm=X._locale.isPM(F),X._meridiem=F}),Cn(["h","hh"],function(F,O,X){O[_n]=Ri(F),G(X).bigHour=!0}),Cn("hmm",function(F,O,X){var ce=F.length-2;O[_n]=Ri(F.substr(0,ce)),O[Yr]=Ri(F.substr(ce)),G(X).bigHour=!0}),Cn("hmmss",function(F,O,X){var ce=F.length-4,be=F.length-2;O[_n]=Ri(F.substr(0,ce)),O[Yr]=Ri(F.substr(ce,2)),O[Jr]=Ri(F.substr(be)),G(X).bigHour=!0}),Cn("Hmm",function(F,O,X){var ce=F.length-2;O[_n]=Ri(F.substr(0,ce)),O[Yr]=Ri(F.substr(ce))}),Cn("Hmmss",function(F,O,X){var ce=F.length-4,be=F.length-2;O[_n]=Ri(F.substr(0,ce)),O[Yr]=Ri(F.substr(ce,2)),O[Jr]=Ri(F.substr(be))});var Uo=Qr("Hours",!0);var Or,ws={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Rl,monthsShort:fr,week:{dow:0,doy:6},weekdays:cd,weekdaysMin:ph,weekdaysShort:jo,meridiemParse:/[ap]\.?m?\.?/i},Si={},di={};function Fs(F,O){var X,ce=Math.min(F.length,O.length);for(X=0;X0;){if(be=Bi(Ve.slice(0,X).join("-")))return be;if(ce&&ce.length>=X&&Fs(Ve,ce)>=X-1)break;X--}O++}return Or}(F)}function So(F){var O,X=F._a;return X&&-2===G(F).overflow&&(O=X[_r]<0||X[_r]>11?_r:X[dn]<1||X[dn]>gt(X[vi],X[_r])?dn:X[_n]<0||X[_n]>24||24===X[_n]&&(0!==X[Yr]||0!==X[Jr]||0!==X[oa])?_n:X[Yr]<0||X[Yr]>59?Yr:X[Jr]<0||X[Jr]>59?Jr:X[oa]<0||X[oa]>999?oa:-1,G(F)._overflowDayOfYear&&(Odn)&&(O=dn),G(F)._overflowWeeks&&-1===O&&(O=io),G(F)._overflowWeekday&&-1===O&&(O=Fo),G(F).overflow=O),F}var jr=/^\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)?)?$/,Sa=/^\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)?)?$/,ul=/Z|[+-]\d\d(?::?\d\d)?/,qo=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],To=[["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/]],En=/^\/?Date\((-?\d+)/i,wi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Fe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function or(F){var O,X,Ve,dt,Ti,vn,ce=F._i,be=jr.exec(ce)||Sa.exec(ce),Cr=qo.length,Gr=To.length;if(be){for(G(F).iso=!0,O=0,X=Cr;O7)&&(vn=!0)):(Ve=F._locale._week.dow,dt=F._locale._week.doy,Cr=tt(Xt(),Ve,dt),X=Ta(O.gg,F._a[vi],Cr.year),ce=Ta(O.w,Cr.week),null!=O.d?((be=O.d)<0||be>6)&&(vn=!0):null!=O.e?(be=O.e+Ve,(O.e<0||O.e>6)&&(vn=!0)):be=Ve),ce<1||ce>pr(X,Ve,dt)?G(F)._overflowWeeks=!0:null!=vn?G(F)._overflowWeekday=!0:(Ti=ci(X,ce,be,Ve,dt),F._a[vi]=Ti.year,F._dayOfYear=Ti.dayOfYear)}(F),null!=F._dayOfYear&&(dt=Ta(F._a[vi],be[vi]),(F._dayOfYear>ao(dt)||0===F._dayOfYear)&&(G(F)._overflowDayOfYear=!0),X=$e(dt,0,F._dayOfYear),F._a[_r]=X.getUTCMonth(),F._a[dn]=X.getUTCDate()),O=0;O<3&&null==F._a[O];++O)F._a[O]=ce[O]=be[O];for(;O<7;O++)F._a[O]=ce[O]=null==F._a[O]?2===O?1:0:F._a[O];24===F._a[_n]&&0===F._a[Yr]&&0===F._a[Jr]&&0===F._a[oa]&&(F._nextDay=!0,F._a[_n]=0),F._d=(F._useUTC?$e:Lr).apply(null,ce),Ve=F._useUTC?F._d.getUTCDay():F._d.getDay(),null!=F._tzm&&F._d.setUTCMinutes(F._d.getUTCMinutes()-F._tzm),F._nextDay&&(F._a[_n]=24),F._w&&typeof F._w.d<"u"&&F._w.d!==Ve&&(G(F).weekdayMismatch=!0)}}function xe(F){if(F._f!==g.ISO_8601)if(F._f!==g.RFC_2822){F._a=[],G(F).empty=!0;var X,ce,be,Ve,dt,Cr,Gr,O=""+F._i,Ti=O.length,vn=0;for(Gr=(be=_t(F._f,F._locale).match(ft)||[]).length,X=0;X0&&G(F).unusedInput.push(dt),O=O.slice(O.indexOf(ce)+ce.length),vn+=ce.length),pi[Ve]?(ce?G(F).empty=!1:G(F).unusedTokens.push(Ve),bs(Ve,ce,F)):F._strict&&!ce&&G(F).unusedTokens.push(Ve);G(F).charsLeftOver=Ti-vn,O.length>0&&G(F).unusedInput.push(O),F._a[_n]<=12&&!0===G(F).bigHour&&F._a[_n]>0&&(G(F).bigHour=void 0),G(F).parsedDateParts=F._a.slice(0),G(F).meridiem=F._meridiem,F._a[_n]=function Se(F,O,X){var ce;return null==X?O:null!=F.meridiemHour?F.meridiemHour(O,X):(null!=F.isPM&&((ce=F.isPM(X))&&O<12&&(O+=12),!ce&&12===O&&(O=0)),O)}(F._locale,F._a[_n],F._meridiem),null!==(Cr=G(F).era)&&(F._a[vi]=F._locale.erasConvertYear(Cr,F._a[vi])),yc(F),So(F)}else Hl(F);else or(F)}function Di(F){var O=F._i,X=F._f;return F._locale=F._locale||za(F._l),null===O||void 0===X&&""===O?z({nullInput:!0}):("string"==typeof O&&(F._i=O=F._locale.preparse(O)),ie(O)?new W(So(O)):(U(O)?F._d=O:b(X)?function Me(F){var O,X,ce,be,Ve,dt,Ti=!1,vn=F._f.length;if(0===vn)return G(F).invalidFormat=!0,void(F._d=new Date(NaN));for(be=0;bethis?this:F:z()});function Ko(F,O){var X,ce;if(1===O.length&&b(O[0])&&(O=O[0]),!O.length)return Xt();for(X=O[0],ce=1;ce=0?new Date(F+400,O,X)-o2:new Date(F,O,X).valueOf()}function vc(F,O,X){return F<100&&F>=0?Date.UTC(F+400,O,X)-o2:Date.UTC(F,O,X)}function _u(F,O){return O.erasAbbrRegex(F)}function wh(){var be,Ve,F=[],O=[],X=[],ce=[],dt=this.eras();for(be=0,Ve=dt.length;be(Ve=pr(F,ce,be))&&(O=Ve),v2.call(this,F,O,X,ce,be))}function v2(F,O,X,ce,be){var Ve=ci(F,O,X,ce,be),dt=$e(Ve.year,0,Ve.dayOfYear);return this.year(dt.getUTCFullYear()),this.month(dt.getUTCMonth()),this.date(dt.getUTCDate()),this}nt("N",0,0,"eraAbbr"),nt("NN",0,0,"eraAbbr"),nt("NNN",0,0,"eraAbbr"),nt("NNNN",0,0,"eraName"),nt("NNNNN",0,0,"eraNarrow"),nt("y",["y",1],"yo","eraYear"),nt("y",["yy",2],0,"eraYear"),nt("y",["yyy",3],0,"eraYear"),nt("y",["yyyy",4],0,"eraYear"),zt("N",_u),zt("NN",_u),zt("NNN",_u),zt("NNNN",function g2(F,O){return O.erasNameRegex(F)}),zt("NNNNN",function wc(F,O){return O.erasNarrowRegex(F)}),Cn(["N","NN","NNN","NNNN","NNNNN"],function(F,O,X,ce){var be=X._locale.erasParse(F,ce,X._strict);be?G(X).era=be:G(X).invalidEra=F}),zt("y",Xr),zt("yy",Xr),zt("yyy",Xr),zt("yyyy",Xr),zt("yo",function D1(F,O){return O._eraYearOrdinalRegex||Xr}),Cn(["y","yy","yyy","yyyy"],vi),Cn(["yo"],function(F,O,X,ce){var be;X._locale._eraYearOrdinalRegex&&(be=F.match(X._locale._eraYearOrdinalRegex)),O[vi]=X._locale.eraYearOrdinalParse?X._locale.eraYearOrdinalParse(F,be):parseInt(F,10)}),nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ki("gggg","weekYear"),Ki("ggggg","weekYear"),Ki("GGGG","isoWeekYear"),Ki("GGGGG","isoWeekYear"),mn("weekYear","gg"),mn("isoWeekYear","GG"),$i("weekYear",1),$i("isoWeekYear",1),zt("G",Ir),zt("g",Ir),zt("GG",Tt,We),zt("gg",Tt,We),zt("GGGG",xr,In),zt("gggg",xr,In),zt("GGGGG",vo,nr),zt("ggggg",vo,nr),rr(["gggg","ggggg","GGGG","GGGGG"],function(F,O,X,ce){O[ce.substr(0,2)]=Ri(F)}),rr(["gg","GG"],function(F,O,X,ce){O[ce]=g.parseTwoDigitYear(F)}),nt("Q",0,"Qo","quarter"),mn("quarter","Q"),$i("quarter",7),zt("Q",Ue),Cn("Q",function(F,O){O[_r]=3*(Ri(F)-1)}),nt("D",["DD",2],"Do","date"),mn("date","D"),$i("date",9),zt("D",Tt),zt("DD",Tt,We),zt("Do",function(F,O){return F?O._dayOfMonthOrdinalParse||O._ordinalParse:O._dayOfMonthOrdinalParseLenient}),Cn(["D","DD"],dn),Cn("Do",function(F,O){O[dn]=Ri(F.match(Tt)[0])});var Un=Qr("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),mn("dayOfYear","DDD"),$i("dayOfYear",4),zt("DDD",Vr),zt("DDDD",gn),Cn(["DDD","DDDD"],function(F,O,X){X._dayOfYear=Ri(F)}),nt("m",["mm",2],0,"minute"),mn("minute","m"),$i("minute",14),zt("m",Tt),zt("mm",Tt,We),Cn(["m","mm"],Yr);var Ae=Qr("Minutes",!1);nt("s",["ss",2],0,"second"),mn("second","s"),$i("second",15),zt("s",Tt),zt("ss",Tt,We),Cn(["s","ss"],Jr);var Yl,bu,ho=Qr("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),mn("millisecond","ms"),$i("millisecond",16),zt("S",Vr,Ue),zt("SS",Vr,We),zt("SSS",Vr,gn),Yl="SSSS";Yl.length<=9;Yl+="S")zt(Yl,Xr);function fl(F,O){O[oa]=Ri(1e3*("0."+F))}for(Yl="S";Yl.length<=9;Yl+="S")Cn(Yl,fl);bu=Qr("Milliseconds",!1),nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var Bt=W.prototype;function Co(F){return F}Bt.add=Zo,Bt.calendar=function os(F,O){1===arguments.length&&(arguments[0]?mu(arguments[0])?(F=arguments[0],O=void 0):function Ao(F){var be,O=C(F)&&!N(F),X=!1,ce=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(be=0;beX.valueOf():X.valueOf()9999?fn(X,O?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?O?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",fn(X,"Z")):fn(X,O?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Bt.inspect=function C3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var X,ce,F="moment",O="";return this.isLocal()||(F=0===this.utcOffset()?"moment.utc":"moment.parseZone",O="Z"),X="["+F+'("]',ce=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(X+ce+"-MM-DD[T]HH:mm:ss.SSS"+O+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Bt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Bt.toJSON=function u2(){return this.isValid()?this.toISOString():null},Bt.toString=function F3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Bt.unix=function c2(){return Math.floor(this.valueOf()/1e3)},Bt.valueOf=function v1(){return this._d.valueOf()-6e4*(this._offset||0)},Bt.creationData=function x1(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Bt.eraName=function Pm(){var F,O,X,ce=this.localeData().eras();for(F=0,O=ce.length;Fthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Bt.isLocal=function et(){return!!this.isValid()&&!this._isUTC},Bt.isUtcOffset=function kt(){return!!this.isValid()&&this._isUTC},Bt.isUtc=Gt,Bt.isUTC=Gt,Bt.zoneAbbr=function tg(){return this._isUTC?"UTC":""},Bt.zoneName=function ig(){return this._isUTC?"Coordinated Universal Time":""},Bt.dates=re("dates accessor is deprecated. Use date instead.",Un),Bt.months=re("months accessor is deprecated. Use month instead",Ln),Bt.years=re("years accessor is deprecated. Use year instead",hi),Bt.zone=re("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $(F,O){return null!=F?("string"!=typeof F&&(F=-F),this.utcOffset(F,O),this):-this.utcOffset()}),Bt.isDSTShifted=re("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function je(){if(!B(this._isDSTShifted))return this._isDSTShifted;var O,F={};return J(F,this),(F=Di(F))._a?(O=F._isUTC?V(F._a):Xt(F._a),this._isDSTShifted=this.isValid()&&function d(F,O,X){var dt,ce=Math.min(F.length,O.length),be=Math.abs(F.length-O.length),Ve=0;for(dt=0;dt0):this._isDSTShifted=!1,this._isDSTShifted});var kn=Re.prototype;function Fh(F,O,X,ce){var be=za(),Ve=V().set(ce,O);return be[X](Ve,F)}function ud(F,O,X){if(R(F)&&(O=F,F=void 0),F=F||"",null!=O)return Fh(F,O,X,"month");var ce,be=[];for(ce=0;ce<12;ce++)be[ce]=Fh(F,ce,X,"month");return be}function Ps(F,O,X,ce){"boolean"==typeof F?(R(O)&&(X=O,O=void 0),O=O||""):(X=O=F,F=!1,R(O)&&(X=O,O=void 0),O=O||"");var dt,be=za(),Ve=F?be._week.dow:0,Ti=[];if(null!=X)return Fh(O,(X+Ve)%7,ce,"day");for(dt=0;dt<7;dt++)Ti[dt]=Fh(O,(dt+Ve)%7,ce,"day");return Ti}kn.calendar=function Et(F,O,X){var ce=this._calendar[F]||this._calendar.sameElse;return ge(ce)?ce.call(O,X):ce},kn.longDateFormat=function An(F){var O=this._longDateFormat[F],X=this._longDateFormat[F.toUpperCase()];return O||!X?O:(this._longDateFormat[F]=X.match(ft).map(function(ce){return"MMMM"===ce||"MM"===ce||"DD"===ce||"dddd"===ce?ce.slice(1):ce}).join(""),this._longDateFormat[F])},kn.invalidDate=function mt(){return this._invalidDate},kn.ordinal=function ot(F){return this._ordinal.replace("%d",F)},kn.preparse=Co,kn.postformat=Co,kn.relativeTime=function Kt(F,O,X,ce){var be=this._relativeTime[X];return ge(be)?be(F,O,X,ce):be.replace(/%d/i,F)},kn.pastFuture=function si(F,O){var X=this._relativeTime[F>0?"future":"past"];return ge(X)?X(O):X.replace(/%s/i,O)},kn.set=function ve(F){var O,X;for(X in F)D(F,X)&&(ge(O=F[X])?this[X]=O:this["_"+X]=O);this._config=F,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.eras=function C1(F,O){var X,ce,be,Ve=this._eras||za("en")._eras;for(X=0,ce=Ve.length;X=0)return Ve[ce]},kn.erasConvertYear=function m2(F,O){var X=F.since<=F.until?1:-1;return void 0===O?g(F.since).year():g(F.since).year()+(O-F.offset)*X},kn.erasAbbrRegex=function ls(F){return D(this,"_erasAbbrRegex")||wh.call(this),F?this._erasAbbrRegex:this._erasRegex},kn.erasNameRegex=function gu(F){return D(this,"_erasNameRegex")||wh.call(this),F?this._erasNameRegex:this._erasRegex},kn.erasNarrowRegex=function p2(F){return D(this,"_erasNarrowRegex")||wh.call(this),F?this._erasNarrowRegex:this._erasRegex},kn.months=function Pn(F,O){return F?b(this._months)?this._months[F.month()]:this._months[(this._months.isFormat||Yo).test(O)?"format":"standalone"][F.month()]:b(this._months)?this._months:this._months.standalone},kn.monthsShort=function an(F,O){return F?b(this._monthsShort)?this._monthsShort[F.month()]:this._monthsShort[Yo.test(O)?"format":"standalone"][F.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function Bn(F,O,X){var ce,be,Ve;if(this._monthsParseExact)return ar.call(this,F,O,X);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ce=0;ce<12;ce++){if(be=V([2e3,ce]),X&&!this._longMonthsParse[ce]&&(this._longMonthsParse[ce]=new RegExp("^"+this.months(be,"").replace(".","")+"$","i"),this._shortMonthsParse[ce]=new RegExp("^"+this.monthsShort(be,"").replace(".","")+"$","i")),!X&&!this._monthsParse[ce]&&(Ve="^"+this.months(be,"")+"|^"+this.monthsShort(be,""),this._monthsParse[ce]=new RegExp(Ve.replace(".",""),"i")),X&&"MMMM"===O&&this._longMonthsParse[ce].test(F))return ce;if(X&&"MMM"===O&&this._shortMonthsParse[ce].test(F))return ce;if(!X&&this._monthsParse[ce].test(F))return ce}},kn.monthsRegex=function Yi(F){return this._monthsParseExact?(D(this,"_monthsRegex")||Ui.call(this),F?this._monthsStrictRegex:this._monthsRegex):(D(this,"_monthsRegex")||(this._monthsRegex=un),this._monthsStrictRegex&&F?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function hc(F){return this._monthsParseExact?(D(this,"_monthsRegex")||Ui.call(this),F?this._monthsShortStrictRegex:this._monthsShortRegex):(D(this,"_monthsShortRegex")||(this._monthsShortRegex=sd),this._monthsShortStrictRegex&&F?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function ji(F){return tt(F,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function ki(){return this._week.doy},kn.firstDayOfWeek=function oo(){return this._week.dow},kn.weekdays=function gh(F,O){var X=b(this._weekdays)?this._weekdays:this._weekdays[F&&!0!==F&&this._weekdays.isFormat.test(O)?"format":"standalone"];return!0===F?ys(X,this._week.dow):F?X[F.day()]:X},kn.weekdaysMin=function Wr(F){return!0===F?ys(this._weekdaysMin,this._week.dow):F?this._weekdaysMin[F.day()]:this._weekdaysMin},kn.weekdaysShort=function Wi(F){return!0===F?ys(this._weekdaysShort,this._week.dow):F?this._weekdaysShort[F.day()]:this._weekdaysShort},kn.weekdaysParse=function Ea(F,O,X){var ce,be,Ve;if(this._weekdaysParseExact)return hu.call(this,F,O,X);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ce=0;ce<7;ce++){if(be=V([2e3,1]).day(ce),X&&!this._fullWeekdaysParse[ce]&&(this._fullWeekdaysParse[ce]=new RegExp("^"+this.weekdays(be,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ce]=new RegExp("^"+this.weekdaysShort(be,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ce]=new RegExp("^"+this.weekdaysMin(be,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ce]||(Ve="^"+this.weekdays(be,"")+"|^"+this.weekdaysShort(be,"")+"|^"+this.weekdaysMin(be,""),this._weekdaysParse[ce]=new RegExp(Ve.replace(".",""),"i")),X&&"dddd"===O&&this._fullWeekdaysParse[ce].test(F))return ce;if(X&&"ddd"===O&&this._shortWeekdaysParse[ce].test(F))return ce;if(X&&"dd"===O&&this._minWeekdaysParse[ce].test(F))return ce;if(!X&&this._weekdaysParse[ce].test(F))return ce}},kn.weekdaysRegex=function pc(F){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),F?this._weekdaysStrictRegex:this._weekdaysRegex):(D(this,"_weekdaysRegex")||(this._weekdaysRegex=fc),this._weekdaysStrictRegex&&F?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function Ke(F){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),F?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(D(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=vs),this._weekdaysShortStrictRegex&&F?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function gc(F){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),F?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(D(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ei),this._weekdaysMinStrictRegex&&F?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function rs(F){return"p"===(F+"").toLowerCase().charAt(0)},kn.meridiem=function Pl(F,O,X){return F>11?X?"pm":"PM":X?"am":"AM"},Wo("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(F){var O=F%10;return F+(1===Ri(F%100/10)?"th":1===O?"st":2===O?"nd":3===O?"rd":"th")}}),g.lang=re("moment.lang is deprecated. Use moment.locale instead.",Wo),g.langData=re("moment.langData is deprecated. Use moment.localeData instead.",za);var Bs=Math.abs;function Bm(F,O,X,ce){var be=Fi(O,X);return F._milliseconds+=ce*be._milliseconds,F._days+=ce*be._days,F._months+=ce*be._months,F._bubble()}function Hm(F){return F<0?Math.floor(F):Math.ceil(F)}function rg(F){return 4800*F/146097}function Vm(F){return 146097*F/4800}function jl(F){return function(){return this.as(F)}}var k2=jl("ms"),Io=jl("s"),hd=jl("m"),ta=jl("h"),mo=jl("d"),D2=jl("w"),pl=jl("M"),M2=jl("Q"),E2=jl("y");function gl(F){return function(){return this.isValid()?this._data[F]:NaN}}var jm=gl("milliseconds"),og=gl("seconds"),R1=gl("minutes"),T2=gl("hours"),yu=gl("days"),xh=gl("months"),A2=gl("years");var Hs=Math.round,Ch={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function I2(F,O,X,ce,be){return be.relativeTime(O||1,!!X,F,ce)}var zm=Math.abs;function md(F){return(F>0)-(F<0)||+F}function Fc(){if(!this.isValid())return this.localeData().invalidDate();var ce,be,Ve,dt,vn,Cr,Gr,zl,F=zm(this._milliseconds)/1e3,O=zm(this._days),X=zm(this._months),Ti=this.asSeconds();return Ti?(ce=en(F/60),be=en(ce/60),F%=60,ce%=60,Ve=en(X/12),X%=12,dt=F?F.toFixed(3).replace(/\.?0+$/,""):"",vn=Ti<0?"-":"",Cr=md(this._months)!==md(Ti)?"-":"",Gr=md(this._days)!==md(Ti)?"-":"",zl=md(this._milliseconds)!==md(Ti)?"-":"",vn+"P"+(Ve?Cr+Ve+"Y":"")+(X?Cr+X+"M":"")+(O?Gr+O+"D":"")+(be||ce||F?"T":"")+(be?zl+be+"H":"")+(ce?zl+ce+"M":"")+(F?zl+dt+"S":"")):"P0D"}var Wn=Y.prototype;return Wn.isValid=function Oe(){return this._isValid},Wn.abs=function I1(){var F=this._data;return this._milliseconds=Bs(this._milliseconds),this._days=Bs(this._days),this._months=Bs(this._months),F.milliseconds=Bs(F.milliseconds),F.seconds=Bs(F.seconds),F.minutes=Bs(F.minutes),F.hours=Bs(F.hours),F.months=Bs(F.months),F.years=Bs(F.years),this},Wn.add=function C2(F,O){return Bm(this,F,O,1)},Wn.subtract=function L1(F,O){return Bm(this,F,O,-1)},Wn.as=function O1(F){if(!this.isValid())return NaN;var O,X,ce=this._milliseconds;if("month"===(F=Ni(F))||"quarter"===F||"year"===F)switch(O=this._days+ce/864e5,X=this._months+rg(O),F){case"month":return X;case"quarter":return X/3;case"year":return X/12}else switch(O=this._days+Math.round(Vm(this._months)),F){case"week":return O/7+ce/6048e5;case"day":return O+ce/864e5;case"hour":return 24*O+ce/36e5;case"minute":return 1440*O+ce/6e4;case"second":return 86400*O+ce/1e3;case"millisecond":return Math.floor(864e5*O)+ce;default:throw new Error("Unknown unit "+F)}},Wn.asMilliseconds=k2,Wn.asSeconds=Io,Wn.asMinutes=hd,Wn.asHours=ta,Wn.asDays=mo,Wn.asWeeks=D2,Wn.asMonths=pl,Wn.asQuarters=M2,Wn.asYears=E2,Wn.valueOf=function ag(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ri(this._months/12):NaN},Wn._bubble=function N1(){var be,Ve,dt,Ti,vn,F=this._milliseconds,O=this._days,X=this._months,ce=this._data;return F>=0&&O>=0&&X>=0||F<=0&&O<=0&&X<=0||(F+=864e5*Hm(Vm(X)+O),O=0,X=0),ce.milliseconds=F%1e3,be=en(F/1e3),ce.seconds=be%60,Ve=en(be/60),ce.minutes=Ve%60,dt=en(Ve/60),ce.hours=dt%24,O+=en(dt/24),X+=vn=en(rg(O)),O-=Hm(Vm(vn)),Ti=en(X/12),X%=12,ce.days=O,ce.months=X,ce.years=Ti,this},Wn.clone=function S2(){return Fi(this)},Wn.get=function Ym(F){return F=Ni(F),this.isValid()?this[F+"s"]():NaN},Wn.milliseconds=jm,Wn.seconds=og,Wn.minutes=R1,Wn.hours=T2,Wn.days=yu,Wn.weeks=function I3(){return en(this.days()/7)},Wn.months=xh,Wn.years=A2,Wn.humanize=function sg(F,O){if(!this.isValid())return this.localeData().invalidDate();var be,Ve,X=!1,ce=Ch;return"object"==typeof F&&(O=F,F=!1),"boolean"==typeof F&&(X=F),"object"==typeof O&&(ce=Object.assign({},Ch,O),null!=O.s&&null==O.ss&&(ce.ss=O.s-1)),Ve=function L2(F,O,X,ce){var be=Fi(F).abs(),Ve=Hs(be.as("s")),dt=Hs(be.as("m")),Ti=Hs(be.as("h")),vn=Hs(be.as("d")),Cr=Hs(be.as("M")),Gr=Hs(be.as("w")),zl=Hs(be.as("y")),Vs=Ve<=X.ss&&["s",Ve]||Ve0,Vs[4]=ce,I2.apply(null,Vs)}(this,!X,ce,be=this.localeData()),X&&(Ve=be.pastFuture(+this,Ve)),be.postformat(Ve)},Wn.toISOString=Fc,Wn.toString=Fc,Wn.toJSON=Fc,Wn.locale=n2,Wn.localeData=a2,Wn.toIsoString=re("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fc),Wn.lang=r2,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),zt("x",Ir),zt("X",/[+-]?\d+(\.\d{1,3})?/),Cn("X",function(F,O,X){X._d=new Date(1e3*parseFloat(F))}),Cn("x",function(F,O,X){X._d=new Date(Ri(F))}),g.version="2.29.4",function y(F){T=F}(Xt),g.fn=Bt,g.min=function xs(){return Ko("isBefore",[].slice.call(arguments,0))},g.max=function Aa(){return Ko("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=V,g.unix=function A3(F){return Xt(1e3*F)},g.months=function w2(F,O){return ud(F,O,"months")},g.isDate=U,g.locale=Wo,g.invalid=z,g.duration=Fi,g.isMoment=ie,g.weekdays=function F2(F,O,X){return Ps(F,O,X,"weekdays")},g.parseZone=function T1(){return Xt.apply(null,arguments).parseZone()},g.localeData=za,g.isDuration=s,g.monthsShort=function A1(F,O){return ud(F,O,"monthsShort")},g.weekdaysMin=function ng(F,O,X){return Ps(F,O,X,"weekdaysMin")},g.defineLocale=bc,g.updateLocale=function dl(F,O){if(null!=O){var X,ce,be=ws;null!=Si[F]&&null!=Si[F].parentLocale?Si[F].set(Ye(Si[F]._config,O)):(null!=(ce=Bi(F))&&(be=ce._config),O=Ye(be,O),null==ce&&(O.abbr=F),(X=new Re(O)).parentLocale=Si[F],Si[F]=X),Wo(F)}else null!=Si[F]&&(null!=Si[F].parentLocale?(Si[F]=Si[F].parentLocale,F===Wo()&&Wo(F)):null!=Si[F]&&delete Si[F]);return Si[F]},g.locales=function Go(){return at(Si)},g.weekdaysShort=function x2(F,O,X){return Ps(F,O,X,"weekdaysShort")},g.normalizeUnits=Ni,g.relativeTimeRounding=function L3(F){return void 0===F?Hs:"function"==typeof F&&(Hs=F,!0)},g.relativeTimeThreshold=function N3(F,O){return void 0!==Ch[F]&&(void 0===O?Ch[F]:(Ch[F]=O,"s"===F&&(Ch.ss=O-1),!0))},g.calendarFormat=function v3(F,O){var X=F.diff(O,"days",!0);return X<-6?"sameElse":X<-1?"lastWeek":X<0?"lastDay":X<1?"sameDay":X<2?"nextDay":X<7?"nextWeek":"sameElse"},g.prototype=Bt,g.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:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}()},7024:(we,A,I)=>{var T="function"==typeof Map&&Map.prototype,g=Object.getOwnPropertyDescriptor&&T?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,y=T&&g&&"function"==typeof g.get?g.get:null,b=T&&Map.prototype.forEach,C="function"==typeof Set&&Set.prototype,D=Object.getOwnPropertyDescriptor&&C?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,N=C&&D&&"function"==typeof D.get?D.get:null,B=C&&Set.prototype.forEach,U="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,j="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,se="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,G=Boolean.prototype.valueOf,oe=Object.prototype.toString,q=Function.prototype.toString,z=String.prototype.match,de=String.prototype.slice,le=String.prototype.replace,J=String.prototype.toUpperCase,W=String.prototype.toLowerCase,ie=RegExp.prototype.test,ue=Array.prototype.concat,re=Array.prototype.join,ae=Array.prototype.slice,me=Math.floor,ge="function"==typeof BigInt?BigInt.prototype.valueOf:null,ve=Object.getOwnPropertySymbols,Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,at="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ht=Object.prototype.propertyIsEnumerable,Et=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ue){return Ue.__proto__}:null);function Zt(Ue,We){if(Ue===1/0||Ue===-1/0||Ue!=Ue||Ue&&Ue>-1e3&&Ue<1e3||ie.call(/e/,We))return We;var gn=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Ue){var In=Ue<0?-me(-Ue):me(Ue);if(In!==Ue){var nr=String(In),Tt=de.call(We,nr.length+1);return le.call(nr,gn,"$&_")+"."+le.call(le.call(Tt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return le.call(We,gn,"$&_")}var ft=I(4654),Qt=ft.custom,He=mt(Qt)?Qt:null;function pi(Ue,We,gn){var In="double"===(gn.quoteStyle||We)?'"':"'";return In+Ue+In}function nt(Ue){return le.call(String(Ue),/"/g,""")}function Yt(Ue){return!("[object Array]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}function fn(Ue){return!("[object RegExp]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}function mt(Ue){if(Re)return Ue&&"object"==typeof Ue&&Ue instanceof Symbol;if("symbol"==typeof Ue)return!0;if(!Ue||"object"!=typeof Ue||!Ye)return!1;try{return Ye.call(Ue),!0}catch{}return!1}we.exports=function Ue(We,gn,In,nr){var Tt=gn||{};if(ot(Tt,"quoteStyle")&&"single"!==Tt.quoteStyle&&"double"!==Tt.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ot(Tt,"maxStringLength")&&("number"==typeof Tt.maxStringLength?Tt.maxStringLength<0&&Tt.maxStringLength!==1/0:null!==Tt.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ga=!ot(Tt,"customInspect")||Tt.customInspect;if("boolean"!=typeof ga&&"symbol"!==ga)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ot(Tt,"indent")&&null!==Tt.indent&&"\t"!==Tt.indent&&!(parseInt(Tt.indent,10)===Tt.indent&&Tt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ot(Tt,"numericSeparator")&&"boolean"!=typeof Tt.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Ha=Tt.numericSeparator;if(typeof We>"u")return"undefined";if(null===We)return"null";if("boolean"==typeof We)return We?"true":"false";if("string"==typeof We)return pn(We,Tt);if("number"==typeof We){if(0===We)return 1/0/We>0?"0":"-0";var Vr=String(We);return Ha?Zt(We,Vr):Vr}if("bigint"==typeof We){var xr=String(We)+"n";return Ha?Zt(We,xr):xr}var vo=typeof Tt.depth>"u"?5:Tt.depth;if(typeof In>"u"&&(In=0),In>=vo&&vo>0&&"object"==typeof We)return Yt(We)?"[Array]":"[Object]";var Xr=function hr(Ue,We){var gn;if("\t"===Ue.indent)gn="\t";else{if(!("number"==typeof Ue.indent&&Ue.indent>0))return null;gn=re.call(Array(Ue.indent+1)," ")}return{base:gn,prev:re.call(Array(We+1),gn)}}(Tt,In);if(typeof nr>"u")nr=[];else if(si(nr,We)>=0)return"[Circular]";function Ir(_n,Yr,Jr){if(Yr&&(nr=ae.call(nr)).push(Yr),Jr){var oa={depth:Tt.depth};return ot(Tt,"quoteStyle")&&(oa.quoteStyle=Tt.quoteStyle),Ue(_n,oa,In+1,nr)}return Ue(_n,Tt,In+1,nr)}if("function"==typeof We&&!fn(We)){var _s=function Kt(Ue){if(Ue.name)return Ue.name;var We=z.call(q.call(Ue),/^function\s*([\w$]+)/);return We?We[1]:null}(We),aa=Vo(We,Ir);return"[Function"+(_s?": "+_s:" (anonymous)")+"]"+(aa.length>0?" { "+re.call(aa,", ")+" }":"")}if(mt(We)){var la=Re?le.call(String(We),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ye.call(We);return"object"!=typeof We||Re?la:en(la)}if(function $i(Ue){return!(!Ue||"object"!=typeof Ue)&&(typeof HTMLElement<"u"&&Ue instanceof HTMLElement||"string"==typeof Ue.nodeName&&"function"==typeof Ue.getAttribute)}(We)){for(var cn="<"+W.call(String(We.nodeName)),Va=We.attributes||[],zt=0;zt"}if(Yt(We)){if(0===We.length)return"[]";var Ma=Vo(We,Ir);return Xr&&!function Hr(Ue){for(var We=0;We=0)return!1;return!0}(Ma)?"["+Ot(Ma,Xr)+"]":"[ "+re.call(Ma,", ")+" ]"}if(function _t(Ue){return!("[object Error]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}(We)){var Ya=Vo(We,Ir);return"cause"in Error.prototype||!("cause"in We)||ht.call(We,"cause")?0===Ya.length?"["+String(We)+"]":"{ ["+String(We)+"] "+re.call(Ya,", ")+" }":"{ ["+String(We)+"] "+re.call(ue.call("[cause]: "+Ir(We.cause),Ya),", ")+" }"}if("object"==typeof We&&ga){if(He&&"function"==typeof We[He]&&ft)return ft(We,{depth:vo-In});if("symbol"!==ga&&"function"==typeof We.inspect)return We.inspect()}if(function wt(Ue){if(!y||!Ue||"object"!=typeof Ue)return!1;try{y.call(Ue);try{N.call(Ue)}catch{return!0}return Ue instanceof Map}catch{}return!1}(We)){var Ut=[];return b.call(We,function(_n,Yr){Ut.push(Ir(Yr,We,!0)+" => "+Ir(_n,We))}),Qr("Map",y.call(We),Ut,Xr)}if(function Vi(Ue){if(!N||!Ue||"object"!=typeof Ue)return!1;try{N.call(Ue);try{y.call(Ue)}catch{return!0}return Ue instanceof Set}catch{}return!1}(We)){var wo=[];return B.call(We,function(_n){wo.push(Ir(_n,We))}),Qr("Set",N.call(We),wo,Xr)}if(function mn(Ue){if(!U||!Ue||"object"!=typeof Ue)return!1;try{U.call(Ue,U);try{j.call(Ue,j)}catch{return!0}return Ue instanceof WeakMap}catch{}return!1}(We))return Ri("WeakMap");if(function pa(Ue){if(!j||!Ue||"object"!=typeof Ue)return!1;try{j.call(Ue,j);try{U.call(Ue,U)}catch{return!0}return Ue instanceof WeakSet}catch{}return!1}(We))return Ri("WeakSet");if(function Ni(Ue){if(!se||!Ue||"object"!=typeof Ue)return!1;try{return se.call(Ue),!0}catch{}return!1}(We))return Ri("WeakRef");if(function An(Ue){return!("[object Number]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}(We))return en(Ir(Number(We)));if(function Wt(Ue){if(!Ue||"object"!=typeof Ue||!ge)return!1;try{return ge.call(Ue),!0}catch{}return!1}(We))return en(Ir(ge.call(We)));if(function Ci(Ue){return!("[object Boolean]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}(We))return en(G.call(We));if(function ln(Ue){return!("[object String]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}(We))return en(Ir(String(We)));if(!function jt(Ue){return!("[object Date]"!==mi(Ue)||at&&"object"==typeof Ue&&at in Ue)}(We)&&!fn(We)){var Cn=Vo(We,Ir),rr=Et?Et(We)===Object.prototype:We instanceof Object||We.constructor===Object,bs=We instanceof Object?"":"null prototype",vi=!rr&&at&&Object(We)===We&&at in We?de.call(mi(We),8,-1):bs?"Object":"",dn=(rr||"function"!=typeof We.constructor?"":We.constructor.name?We.constructor.name+" ":"")+(vi||bs?"["+re.call(ue.call([],vi||[],bs||[]),": ")+"] ":"");return 0===Cn.length?dn+"{}":Xr?dn+"{"+Ot(Cn,Xr)+"}":dn+"{ "+re.call(Cn,", ")+" }"}return String(We)};var Ge=Object.prototype.hasOwnProperty||function(Ue){return Ue in this};function ot(Ue,We){return Ge.call(Ue,We)}function mi(Ue){return oe.call(Ue)}function si(Ue,We){if(Ue.indexOf)return Ue.indexOf(We);for(var gn=0,In=Ue.length;gnWe.maxStringLength){var gn=Ue.length-We.maxStringLength,In="... "+gn+" more character"+(gn>1?"s":"");return pn(de.call(Ue,0,We.maxStringLength),We)+In}return pi(le.call(le.call(Ue,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Oi),"single",We)}function Oi(Ue){var We=Ue.charCodeAt(0),gn={8:"b",9:"t",10:"n",12:"f",13:"r"}[We];return gn?"\\"+gn:"\\x"+(We<16?"0":"")+J.call(We.toString(16))}function en(Ue){return"Object("+Ue+")"}function Ri(Ue){return Ue+" { ? }"}function Qr(Ue,We,gn,In){return Ue+" ("+We+") {"+(In?Ot(gn,In):re.call(gn,", "))+"}"}function Ot(Ue,We){if(0===Ue.length)return"";var gn="\n"+We.prev+We.base;return gn+re.call(Ue,","+gn)+"\n"+We.prev}function Vo(Ue,We){var gn=Yt(Ue),In=[];if(gn){In.length=Ue.length;for(var nr=0;nr=D)return de;V=C(R),se=[],","===V.slice(-1)?(V=V.replace(U,""),J()):le()}function le(){for(C(N),G="",oe="in descriptor";;){if(q=y.charAt(z),"in descriptor"===oe)if(b(q))G&&(se.push(G),G="",oe="after descriptor");else{if(","===q)return z+=1,G&&se.push(G),void J();if("("===q)G+=q,oe="in parens";else{if(""===q)return G&&se.push(G),void J();G+=q}}else if("in parens"===oe)if(")"===q)G+=q,oe="in descriptor";else{if(""===q)return se.push(G),void J();G+=q}else if("after descriptor"===oe&&!b(q)){if(""===q)return void J();oe="in descriptor",z-=1}z+=1}}function J(){var ie,ue,re,ae,ge,ve,Ye,Re,at,W=!1,me={};for(ae=0;ae-1&&(mi.onTap(),si=!0);si&&(Ge.stopPropagation&&Ge.stopPropagation(),ae=!0,setTimeout(function(){ae=!1},C.features.isOldAndroid?600:30))},Ye=function(Ge,ot,mi){C[(mi?"add":"remove")+"Class"](Ge,"pswp__"+ot)},Re=function(){var Ge=1===ue.getNumItemsFn();Ge!==ie&&(Ye(U,"ui--one-slide",Ge),ie=Ge)},at=function(){Ye(G,"share-modal--hidden",oe)},ht=function(){return(oe=!oe)?(C.removeClass(G,"pswp__share-modal--fade-in"),setTimeout(function(){oe&&at()},300)):(at(),setTimeout(function(){oe||C.addClass(G,"pswp__share-modal--fade-in")},30)),oe||Zt(),!1},Et=function(Ge){var ot=(Ge=Ge||window.event).target||Ge.srcElement;return b.shout("shareLinkClick",Ge,ot),!(!ot.href||!ot.hasAttribute("download")&&(window.open(ot.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),oe||ht(),1))},Zt=function(){for(var ot,Kt,si,wt,Ge="",mn=0;mn