diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/PC_9800.8a864a7e573a143f.woff2 b/PC_9800.8a864a7e573a143f.woff2 deleted file mode 100644 index 4e20666..0000000 Binary files a/PC_9800.8a864a7e573a143f.woff2 and /dev/null differ diff --git a/PC_9800.991eb4f8311297a3.woff b/PC_9800.991eb4f8311297a3.woff deleted file mode 100644 index 56e81e3..0000000 Binary files a/PC_9800.991eb4f8311297a3.woff and /dev/null differ diff --git a/PxPlus_IBM_VGA8.4c8d5aeba5d418be.woff b/PxPlus_IBM_VGA8.4c8d5aeba5d418be.woff deleted file mode 100644 index 7c76ac8..0000000 Binary files a/PxPlus_IBM_VGA8.4c8d5aeba5d418be.woff and /dev/null differ diff --git a/PxPlus_IBM_VGA8.7a1f0cae01819672.ttf b/PxPlus_IBM_VGA8.7a1f0cae01819672.ttf deleted file mode 100644 index 0368d2b..0000000 Binary files a/PxPlus_IBM_VGA8.7a1f0cae01819672.ttf and /dev/null differ diff --git a/assets/social/facebook.png b/assets/social/facebook.png deleted file mode 100644 index 8155bae..0000000 Binary files a/assets/social/facebook.png and /dev/null differ diff --git a/assets/social/instagram.png b/assets/social/instagram.png old mode 100644 new mode 100755 diff --git a/assets/social/linkedin.png b/assets/social/linkedin.png deleted file mode 100644 index 334da4c..0000000 Binary files a/assets/social/linkedin.png and /dev/null differ diff --git a/assets/social/mastodon.png b/assets/social/mastodon.png old mode 100644 new mode 100755 diff --git a/assets/social/twitter.png b/assets/social/twitter.png old mode 100644 new mode 100755 diff --git a/assets/social/youtube.png b/assets/social/youtube.png old mode 100644 new mode 100755 diff --git a/index.html b/index.html index a5120b6..7eb1819 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,14 @@ - ... + Mutual Exclusion - + - + \ No newline at end of file diff --git a/main.b2adc02a31bb8bed.js b/main.d8de6c43d71cebd5.js similarity index 66% rename from main.b2adc02a31bb8bed.js rename to main.d8de6c43d71cebd5.js index c1a0aca..c4ad48f 100644 --- a/main.b2adc02a31bb8bed.js +++ b/main.d8de6c43d71cebd5.js @@ -1 +1 @@ -(self.webpackChunkngx_retroblog=self.webpackChunkngx_retroblog||[]).push([[179],{11:(Er,bi,Ns)=>{"use strict";function me(e){return"function"==typeof e}function pn(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Di=pn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function m(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(s){t=s instanceof Di?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{Mr(s)}catch(o){t=null!=t?t:[],o instanceof Di?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Di(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Mr(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&m(n,t)}remove(t){const{_finalizers:n}=this;n&&m(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Ht=et.EMPTY;function Bt(e){return e instanceof et||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Mr(e){me(e)?e():e.unsubscribe()}const pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gn={setTimeout(e,t,...n){const{delegate:r}=gn;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=gn;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ci(e){gn.setTimeout(()=>{const{onUnhandledError:t}=pt;if(!t)throw e;t(e)})}function Ei(){}const Sa=Mi("C",void 0,void 0);function Mi(e,t,n){return{kind:e,value:t,error:n}}let mn=null;function Fn(e){if(pt.useDeprecatedSynchronousErrorHandling){const t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=mn;if(mn=null,n)throw r}}else e()}class Fs extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Bt(t)&&t.add(this)):this.destination=E}static create(t,n,r){return new v(t,n,r)}next(t){this.isStopped?w(function Ta(e){return Mi("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?w(function Ia(e){return Mi("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?w(Sa,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 c=Function.prototype.bind;function h(e,t){return c.call(e,t)}class f{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){b(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){b(r)}else b(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){b(n)}}}class v extends Fs{constructor(t,n,r){let i;if(super(),me(t)||!t)i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let s;this&&pt.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&h(t.next,s),error:t.error&&h(t.error,s),complete:t.complete&&h(t.complete,s)}):i=t}this.destination=new f(i)}}function b(e){pt.useDeprecatedSynchronousErrorHandling?function Os(e){pt.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=e)}(e):Ci(e)}function w(e,t){const{onStoppedNotification:n}=pt;n&&gn.setTimeout(()=>n(e,t))}const E={closed:!0,next:Ei,error:function C(e){throw e},complete:Ei},O="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(e){return e}let _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const s=function U(e){return e&&e instanceof Fs||function L(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Bt(e)}(n)?n:new v(n,r,i);return Fn(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=A(r))((i,s)=>{const o=new v({next:a=>{try{n(a)}catch(u){s(u),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[O](){return this}pipe(...n){return function N(e){return 0===e.length?k:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=A(n))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return e.create=t=>new e(t),e})();function A(e){var t;return null!==(t=null!=e?e:pt.Promise)&&void 0!==t?t:Promise}const de=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let j=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new je(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new de}next(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:s}=this;return r||i?Ht:(this.currentObservers=null,s.push(n),new et(()=>{this.currentObservers=null,m(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){const n=new _;return n.source=this,n}}return e.create=(t,n)=>new je(t,n),e})();class je extends j{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ht}}function We(e){return me(null==e?void 0:e.lift)}function ye(e){return t=>{if(We(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function le(e,t,n,r,i){return new Qe(e,t,n,r,i)}class Qe extends Fs{constructor(t,n,r,i,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function G(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>{r.next(e.call(t,s,i++))}))})}function tr(e){return this instanceof tr?(this.v=e,this):new tr(e)}function D_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(g){r[g]&&(i[g]=function(y){return new Promise(function(D,S){s.push([g,y,D,S])>1||a(g,y)})})}function a(g,y){try{!function u(g){g.value instanceof tr?Promise.resolve(g.value.v).then(l,d):p(s[0][2],g)}(r[g](y))}catch(D){p(s[0][3],D)}}function l(g){a("next",g)}function d(g){a("throw",g)}function p(g,y){g(y),s.shift(),s.length&&a(s[0][0],s[0][1])}}function C_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ed(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(o){return new Promise(function(a,u){!function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}(a,u,(o=e[s](o)).done,o.value)})}}}const Md=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Sd(e){return me(null==e?void 0:e.then)}function Id(e){return me(e[O])}function Td(e){return Symbol.asyncIterator&&me(null==e?void 0:e[Symbol.asyncIterator])}function Ad(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Pd=function M_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function kd(e){return me(null==e?void 0:e[Pd])}function Rd(e){return D_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield tr(n.read());if(i)return yield tr(void 0);yield yield tr(r)}}finally{n.releaseLock()}})}function Nd(e){return me(null==e?void 0:e.getReader)}function yn(e){if(e instanceof _)return e;if(null!=e){if(Id(e))return function S_(e){return new _(t=>{const n=e[O]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Md(e))return function I_(e){return new _(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ci)})}(e);if(Td(e))return Od(e);if(kd(e))return function A_(e){return new _(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Nd(e))return function P_(e){return Od(Rd(e))}(e)}throw Ad(e)}function Od(e){return new _(t=>{(function k_(e,t){var n,r,i,s;return function w_(e,t,n,r){return new(n||(n=Promise))(function(s,o){function a(d){try{l(r.next(d))}catch(p){o(p)}}function u(d){try{l(r.throw(d))}catch(p){o(p)}}function l(d){d.done?s(d.value):function i(s){return s instanceof n?s:new n(function(o){o(s)})}(d.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=C_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function vn(e,t,n,r=0,i=!1){const s=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!i)return s}function qe(e,t,n=1/0){return me(t)?qe((r,i)=>G((s,o)=>t(r,s,i,o))(yn(e(r,i))),n):("number"==typeof t&&(n=t),ye((r,i)=>function R_(e,t,n,r,i,s,o,a){const u=[];let l=0,d=0,p=!1;const g=()=>{p&&!u.length&&!l&&t.complete()},y=S=>l{s&&t.next(S),l++;let P=!1;yn(n(S,d++)).subscribe(le(t,T=>{null==i||i(T),s?y(T):t.next(T)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;u.length&&lD(T)):D(T)}g()}catch(T){t.error(T)}}))};return e.subscribe(le(t,y,()=>{p=!0,g()})),()=>{null==a||a()}}(r,i,e,n)))}function Si(e=1/0){return qe(k,e)}const _n=new _(e=>e.complete());function ka(e){return e[e.length-1]}function Ii(e){return function O_(e){return e&&me(e.schedule)}(ka(e))?e.pop():void 0}function Fd(e,t=0){return ye((n,r)=>{n.subscribe(le(r,i=>vn(r,e,()=>r.next(i),t),()=>vn(r,e,()=>r.complete(),t),i=>vn(r,e,()=>r.error(i),t)))})}function xd(e,t=0){return ye((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{vn(n,t,()=>{const r=e[Symbol.asyncIterator]();vn(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ke(e,t){return t?function U_(e,t){if(null!=e){if(Id(e))return function L_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Md(e))return function H_(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Sd(e))return function j_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Td(e))return Ld(e,t);if(kd(e))return function B_(e,t){return new _(n=>{let r;return vn(n,t,()=>{r=e[Pd](),vn(n,t,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void n.error(o)}s?n.complete():n.next(i)},0,!0)}),()=>me(null==r?void 0:r.return)&&r.return()})}(e,t);if(Nd(e))return function V_(e,t){return Ld(Rd(e),t)}(e,t)}throw Ad(e)}(e,t):yn(e)}function js(e){return e<=0?()=>_n:ye((t,n)=>{let r=0;t.subscribe(le(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ra(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(js(1)).subscribe(()=>e())}function we(e){for(let t in e)if(e[t]===we)return t;throw Error("Could not find renamed property on target object.")}function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Oa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const q_=we({__forward_ref__:we});function Fa(e){return e.__forward_ref__=Fa,e.toString=function(){return ve(this())},e}function ee(e){return function jd(e){return"function"==typeof e&&e.hasOwnProperty(q_)&&e.__forward_ref__===Fa}(e)?e():e}class pe extends Error{constructor(t,n){super(function xa(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Je(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}function Hs(e,t){const n=t?` in ${t}`:"";throw new pe(-201,`No provider for ${Je(e)} found${n}`)}function bt(e,t){null==e&&function be(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function La(e){return Hd(e,Bs)||Hd(e,Vd)}function Hd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bd(e){return e&&(e.hasOwnProperty(ja)||e.hasOwnProperty(Y_))?e[ja]:null}const Bs=we({\u0275prov:we}),ja=we({\u0275inj:we}),Vd=we({ngInjectableDef:we}),Y_=we({ngInjectorDef:we});var q=(()=>((q=q||{})[q.Default=0]="Default",q[q.Host=1]="Host",q[q.Self=2]="Self",q[q.SkipSelf=4]="SkipSelf",q[q.Optional=8]="Optional",q))();let Ha;function xn(e){const t=Ha;return Ha=e,t}function Ud(e,t,n){const r=La(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&q.Optional?null:void 0!==t?t:void Hs(ve(e),"Injector")}function Ln(e){return{toString:e}.toString()}var Vt=(()=>((Vt=Vt||{})[Vt.OnPush=0]="OnPush",Vt[Vt.Default=1]="Default",Vt))(),tn=(()=>{return(e=tn||(tn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",tn;var e})();const ew="undefined"!=typeof globalThis&&globalThis,tw="undefined"!=typeof window&&window,nw="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,_e=ew||"undefined"!=typeof global&&global||tw||nw,Ir={},De=[],Vs=we({\u0275cmp:we}),Ba=we({\u0275dir:we}),Va=we({\u0275pipe:we}),$d=we({\u0275mod:we}),bn=we({\u0275fac:we}),Ti=we({__NG_ELEMENT_ID__:we});let rw=0;function jn(e){return Ln(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,id:"c",styles:e.styles||De,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return r.id+=rw++,r.inputs=Wd(e.inputs,n),r.outputs=Wd(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(zd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(qd):null,r})}function zd(e){return nt(e)||function Hn(e){return e[Ba]||null}(e)}function qd(e){return function nr(e){return e[Va]||null}(e)}const Gd={};function Dn(e){return Ln(()=>{const t={type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Gd[e.id]=e.type),t})}function Wd(e,t){if(null==e)return Ir;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const tt=jn;function nt(e){return e[Vs]||null}function At(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return n}function nn(e){return Array.isArray(e)&&"object"==typeof e[1]}function $t(e){return Array.isArray(e)&&!0===e[1]}function za(e){return 0!=(8&e.flags)}function qs(e){return 2==(2&e.flags)}function Gs(e){return 1==(1&e.flags)}function zt(e){return null!==e.template}function cw(e){return 0!=(512&e[2])}function or(e,t){return e.hasOwnProperty(bn)?e[bn]:null}class fw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zd(e){return e.type.prototype.ngOnChanges&&(e.setInput=pw),hw}function hw(){const e=Jd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ir)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pw(e,t,n,r){const i=Jd(e)||function gw(e,t){return e[Kd]=t}(e,{previous:Ir,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],u=o[a];s[a]=new fw(u&&u.currentValue,t,o===Ir),e[r]=t}const Kd="__ngSimpleChanges__";function Jd(e){return e[Kd]||null}let Za;function Ka(){return void 0!==Za?Za:"undefined"!=typeof document?document:void 0}function Ie(e){return!!e.listen}const Yd={createRenderer:(e,t)=>Ka()};function Ne(e){for(;Array.isArray(e);)e=e[0];return e}function Ws(e,t){return Ne(t[e])}function Rt(e,t){return Ne(t[e.index])}function Ja(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return nn(n)?n:n[0]}function Ya(e){return 128==(128&e[2])}function Bn(e,t){return null==t?null:e[t]}function ef(e){e[18]=0}function Xa(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Q={lFrame:df(null),bindingsEnabled:!0};function nf(){return Q.bindingsEnabled}function I(){return Q.lFrame.lView}function fe(){return Q.lFrame.tView}function He(){let e=sf();for(;null!==e&&64===e.type;)e=e.parent;return e}function sf(){return Q.lFrame.currentTNode}function rn(e,t){const n=Q.lFrame;n.currentTNode=e,n.isParent=t}function eu(){return Q.lFrame.isParent}function tu(){Q.lFrame.isParent=!1}function Nr(){return Q.lFrame.bindingIndex++}function Rw(e,t){const n=Q.lFrame;n.bindingIndex=n.bindingRootIndex=e,nu(t)}function nu(e){Q.lFrame.currentDirectiveIndex=e}function iu(e){Q.lFrame.currentQueryIndex=e}function Ow(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function cf(e,t,n){if(n&q.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&q.Host||(i=Ow(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Q.lFrame=lf();return r.currentTNode=t,r.lView=e,!0}function Zs(e){const t=lf(),n=e[1];Q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lf(){const e=Q.lFrame,t=null===e?null:e.child;return null===t?df(e):t}function df(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ff(){const e=Q.lFrame;return Q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hf=ff;function Ks(){const e=ff();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function at(){return Q.lFrame.selectedIndex}function Vn(e){Q.lFrame.selectedIndex=e}function Te(){const e=Q.lFrame;return Ja(e.tView,e.selectedIndex)}function Js(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ni{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function eo(e,t,n){const r=Ie(e);let i=0;for(;it){o=s-1;break}}}for(;s>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let uu=!0;function no(e){const t=uu;return uu=e,t}let Zw=0;function Fi(e,t){const n=lu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,cu(r.data,e),cu(t,null),cu(r.blueprint,null));const i=ro(e,t),s=e.injectorIndex;if(yf(i)){const o=Or(i),a=Fr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[s+l]=a[o+l]|u[o+l]}return t[s+8]=i,s}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ro(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function io(e,t,n){!function Kw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(r=n[Ti]),null==r&&(r=n[Ti]=Zw++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:Yw:t}(n);if("function"==typeof s){if(!cf(t,e,r))return r&q.Host?wf(i,n,r):bf(t,n,r,i);try{const o=s(r);if(null!=o||r&q.Optional)return o;Hs(n)}finally{hf()}}else if("number"==typeof s){let o=null,a=lu(e,t),u=-1,l=r&q.Host?t[16][6]:null;for((-1===a||r&q.SkipSelf)&&(u=-1===a?ro(e,t):t[a+8],-1!==u&&Mf(r,!1)?(o=t[1],a=Or(u),t=Fr(u,t)):a=-1);-1!==a;){const d=t[1];if(Ef(s,a,d.data)){const p=Xw(a,t,n,o,r,l);if(p!==Cf)return p}u=t[a+8],-1!==u&&Mf(r,t[1].data[a+8]===l)&&Ef(s,a,t)?(o=d,a=Or(u),t=Fr(u,t)):a=-1}}}return bf(t,n,r,i)}const Cf={};function Yw(){return new xr(He(),I())}function Xw(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],d=function so(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,u=e.directiveStart,d=s>>20,g=i?a+d:e.directiveEnd;for(let y=r?a:a+d;y=u&&D.type===n)return y}if(i){const y=o[u];if(y&&zt(y)&&y.type===n)return u}return null}(a,o,n,null==r?qs(a)&&uu:r!=o&&0!=(3&a.type),i&q.Host&&s===a);return null!==d?xi(t,o,d,a):Cf}function xi(e,t,n,r){let i=e[n];const s=t.data;if(function zw(e){return e instanceof Ni}(i)){const o=i;o.resolving&&function G_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new pe(-200,`Circular dependency in DI detected for ${e}${n}`)}(Je(s[n]));const a=no(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?xn(o.injectImpl):null;cf(e,r,q.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Uw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Zd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==u&&xn(u),no(a),o.resolving=!1,hf()}}return i}function Ef(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function fu(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(u,l,d){const p=u.hasOwnProperty(jr)?u[jr]:Object.defineProperty(u,jr,{value:[]})[jr];for(;p.length<=d;)p.push(null);return(p[d]=p[d]||[]).push(o),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class ue{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rb=new ue("AnalyzeForEntryComponents");function sn(e,t){e.forEach(n=>Array.isArray(n)?sn(n,t):t(n))}function If(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Et(e,t,n){let r=Vr(e,t);return r>=0?e[1|r]=n:(r=~r,function ob(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function pu(e,t){const n=Vr(e,t);if(n>=0)return e[1|n]}function Vr(e,t){return function Pf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<({token:e})),-1),$n=$i(Br("Optional"),8),zi=$i(Br("SkipSelf"),4);let fo,ho;function $r(e){var t;return(null===(t=function _u(){if(void 0===fo&&(fo=null,_e.trustedTypes))try{fo=_e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fo}())||void 0===t?void 0:t.createHTML(e))||e}function Hf(e){var t;return(null===(t=function wu(){if(void 0===ho&&(ho=null,_e.trustedTypes))try{ho=_e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ho}())||void 0===t?void 0:t.createHTML(e))||e}class Uf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function zn(e){return e instanceof Uf?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function xb(e){return e instanceof Uf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class Lb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString($r(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class jb{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=$r(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=$r(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0po(t.trim())).join(", ")),this.buf.push(" ",o,'="',Zf(u),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();bu.hasOwnProperty(n)&&!qf.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Zf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const zb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qb=/([^\#-~ |!])/g;function Zf(e){return e.replace(/&/g,"&").replace(zb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let go;function Eu(e){return"content"in e&&function Wb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Oe=(()=>((Oe=Oe||{})[Oe.NONE=0]="NONE",Oe[Oe.HTML=1]="HTML",Oe[Oe.STYLE=2]="STYLE",Oe[Oe.SCRIPT=3]="SCRIPT",Oe[Oe.URL=4]="URL",Oe[Oe.RESOURCE_URL=5]="RESOURCE_URL",Oe))();function Mu(e){const t=Qi();return t?Hf(t.sanitize(Oe.HTML,e)||""):Gi(e,"HTML")?Hf(zn(e)):function Gb(e,t){let n=null;try{go=go||function $f(e){const t=new jb(e);return function Hb(){try{return!!(new window.DOMParser).parseFromString($r(""),"text/html")}catch(e){return!1}}()?new Lb(t):t}(e);let r=t?String(t):"";n=go.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=go.getInertBodyElement(r)}while(r!==s);return $r((new $b).sanitizeChildren(Eu(n)||n))}finally{if(n){const r=Eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Ka(),W(e))}function Ot(e){const t=Qi();return t?t.sanitize(Oe.URL,e)||"":Gi(e,"URL")?zn(e):po(W(e))}function Qi(){const e=I();return e&&e[12]}const Yf="__ngContext__";function it(e,t){e[Yf]=t}function Iu(e){const t=function Zi(e){return e[Yf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Au(e){return e.ngOriginalError}function cD(e,...t){e.error(...t)}class Ki{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function uD(e){return e&&e.ngErrorLogger||cD}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Au(t);for(;n&&Au(n);)n=Au(n);return n||null}}const _D=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(_e))();function an(e){return e instanceof Function?e():e}var Mt=(()=>((Mt=Mt||{})[Mt.Important=1]="Important",Mt[Mt.DashCase=2]="DashCase",Mt))();function ku(e,t){return undefined(e,t)}function Ji(e){const t=e[3];return $t(t)?t[3]:t}function Ru(e){return ah(e[13])}function Nu(e){return ah(e[4])}function ah(e){for(;null!==e&&!$t(e);)e=e[4];return e}function qr(e,t,n,r,i){if(null!=r){let s,o=!1;$t(r)?s=r:nn(r)&&(o=!0,r=r[0]);const a=Ne(r);0===e&&null!==n?null==i?hh(t,n,a):ur(t,n,a,i||null,!0):1===e&&null!==n?ur(t,n,a,i||null,!0):2===e?function wh(e,t,n){const r=mo(e,t);r&&function ND(e,t,n,r){Ie(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function xD(e,t,n,r,i){const s=n[7];s!==Ne(n)&&qr(t,e,r,s,i);for(let a=10;a0&&(e[n-1][4]=r[4]);const s=oo(e,10+t);!function MD(e,t){Yi(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function lh(e,t){if(!(256&t[2])){const n=t[11];Ie(n)&&n.destroyNode&&Yi(e,t,n,3,null,null),function TD(e){let t=e[13];if(!t)return Lu(e[1],e);for(;t;){let n=null;if(nn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)nn(t)&&Lu(t[1],t),t=t[3];null===t&&(t=e),nn(t)&&Lu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Lu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function RD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;ss?"":i[p+1].toLowerCase();const y=8&r?g:null;if(y&&-1!==Ch(y,l,0)||2&r&&l!==g){if(qt(r))return!1;o=!0}}}}else{if(!o&&!qt(r)&&!qt(u))return!1;if(o&&qt(u))continue;o=!1,r=u|1&r}}return qt(r)||o}function qt(e){return 0==(1&e)}function VD(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!qt(o)&&(t+=Ih(s,i),i=""),r=o,s=s||!qt(r);n++}return""!==i&&(t+=Ih(s,i)),t}const Z={};function se(e){Th(fe(),I(),at()+e,!1)}function Th(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ys(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Xs(t,s,0,n)}Vn(n)}function _o(e,t){return e<<17|t<<2}function Gt(e){return e>>17&32767}function Uu(e){return 2|e}function Mn(e){return(131068&e)>>2}function $u(e,t){return-131069&e|t<<2}function zu(e){return 1|e}function Hh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&Th(e,t,20,!1),n(r,i)}finally{Vn(s)}}function Vh(e,t,n){if(za(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,o)}}function Zh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function bC(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&ic(n)}}function ic(e){for(let r=Ru(e);null!==r;r=Nu(r))for(let i=10;i0&&ic(s)}const n=e[1].components;if(null!==n)for(let r=0;r0&&ic(i)}}function TC(e,t){const n=Ct(t,e),r=n[1];(function AC(e,t){for(let n=t.length;nPromise.resolve(null))();function tp(e){return e[7]||(e[7]=[])}function np(e){return e.cleanup||(e.cleanup=[])}function ip(e,t){const n=e[9],r=n?n.get(Ki,null):null;r&&r.handleError(t)}function sp(e,t,n,r,i){for(let s=0;sthis.processProvider(a,t,n)),sn([t],a=>this.processInjectorType(a,[],s)),this.records.set(cc,Zr(void 0,this));const o=this.records.get(lc);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:ve(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Vi,r=q.Default){this.assertNotDestroyed();const i=Nf(this),s=xn(void 0);try{if(!(r&q.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function $C(e){return"function"==typeof e||"object"==typeof e&&e instanceof ue}(t)&&La(t);a=u&&this.injectableDefInScope(u)?Zr(fc(t),ts):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&q.Self?ap():this.parent).get(t,n=r&q.Optional&&n===Vi?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[uo]=o[uo]||[]).unshift(ve(t)),i)throw o;return function _b(e,t,n,r){const i=e[uo];throw t[Rf]&&i.unshift(t[Rf]),e.message=function wb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ve(t);if(Array.isArray(t))i=t.map(ve).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):ve(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(hb,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[uo]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{xn(s),Nf(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(ve(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processInjectorType(t,n,r){if(!(t=ee(t)))return!1;let i=Bd(t);const s=null==i&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=Bd(s)),null==i)return!1;if(null!=i.imports&&!a){let d;r.push(o);try{sn(i.imports,p=>{this.processInjectorType(p,n,r)&&(void 0===d&&(d=[]),d.push(p))})}finally{}if(void 0!==d)for(let p=0;pthis.processProvider(D,g,y||De))}}this.injectorDefTypes.add(o);const u=or(o)||(()=>new o);this.records.set(o,Zr(u,ts));const l=i.providers;if(null!=l&&!a){const d=t;sn(l,p=>this.processProvider(p,d,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=Kr(t=ee(t))?t:ee(t&&t.provide);const s=function LC(e,t,n){return dp(e)?Zr(void 0,e.useValue):Zr(function lp(e,t,n){let r;if(Kr(e)){const i=ee(e);return or(i)||fc(i)}if(dp(e))r=()=>ee(e.useValue);else if(function HC(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...yu(e.deps||[]));else if(function jC(e){return!(!e||!e.useExisting)}(e))r=()=>V(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function VC(e){return!!e.deps}(e))return or(i)||fc(i);r=()=>new i(...yu(e.deps))}return r}(e),ts)}(t);if(Kr(t)||!0!==t.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Zr(void 0,ts,!0),o.factory=()=>yu(o.multi),this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===ts&&(n.value=OC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function UC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ee(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function fc(e){const t=La(e),n=null!==t?t.factory:or(e);if(null!==n)return n;if(e instanceof ue)throw new pe(204,!1);if(e instanceof Function)return function xC(e){const t=e.length;if(t>0)throw function Bi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new pe(204,!1)}function Zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dp(e){return null!==e&&"object"==typeof e&&gb in e}function Kr(e){return"function"==typeof e}let yt=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return up({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return up({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Vi,e.NULL=new op,e.\u0275prov=Y({token:e,providedIn:"any",factory:()=>V(cc)}),e.__NG_ELEMENT_ID__=-1,e})();function JC(e,t){Js(Iu(e)[1],He())}let Mo=null;function Jr(){if(!Mo){const e=_e.Symbol;if(e&&e.iterator)Mo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(Ne(J[r.index])):r.index;if(Ie(n)){let J=null;if(!a&&u&&(J=function N0(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;su?a[u]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==J)(J.__ngLastListenerFn__||J).__ngNextListenerFn__=s,J.__ngLastListenerFn__=s,y=!1;else{s=Ec(r,t,p,s,!1);const he=n.listen(T,i,s);g.push(s,he),d&&d.push(i,B,M,M+1)}}else s=Ec(r,t,p,s,!0),T.addEventListener(i,s,o),g.push(s),d&&d.push(i,B,M,o)}else s=Ec(r,t,p,s,!1);const D=r.outputs;let S;if(y&&null!==D&&(S=D[i])){const P=S.length;if(P)for(let T=0;T0;)t=t[15],e--;return t}(e,Q.lFrame.contextLView))[8]}(e)}function dr(e,t,n){return fr(e,"",t,"",n),dr}function fr(e,t,n,r,i){const s=I(),o=Xr(s,t,n,r);return o!==Z&&St(fe(),Te(),s,e,o,s[11],i,!1),fr}function sg(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?Gt(s):Mn(s),u=!1;for(;0!==a&&(!1===u||o);){const d=e[a+1];H0(e[a],t)&&(u=!0,e[a+1]=r?zu(d):Uu(d)),a=r?Gt(d):Mn(d)}u&&(e[n+1]=r?Uu(s):zu(s))}function H0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vr(e,t)>=0}function ko(e,t){return function Qt(e,t,n,r){const i=I(),s=fe(),o=function En(e){const t=Q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function pg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[at()],o=function hg(e,t){return t>=e.expandoStartIndex}(e,n);(function vg(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function Q0(e,t,n,r){const i=function ru(e){const t=Q.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=is(n=Mc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Mc(i,e,t,n,r),null===s){let u=function Z0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mn(r))return e[Gt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Mc(null,e,t,u[1],r),u=is(u,t.attrs,r),function K0(e,t,n,r){e[Gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else s=function J0(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(l=!0)}else d=n;if(i)if(0!==u){const g=Gt(e[a+1]);e[r+1]=_o(g,a),0!==g&&(e[g+1]=$u(e[g+1],r)),e[a+1]=function ZD(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_o(a,0),0!==a&&(e[a+1]=$u(e[a+1],r)),a=r;else e[r+1]=_o(u,0),0===a?a=r:e[u+1]=$u(e[u+1],r),u=r;l&&(e[r+1]=Uu(e[r+1])),sg(e,d,r,!0),sg(e,d,r,!1),function j0(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Vr(s,t)>=0&&(n[r+1]=zu(n[r+1]))}(t,d,e,r,s),o=_o(a,u),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}(s,e,o,r),t!==Z&&st(i,o,t)&&function mg(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Ro(function kh(e){return 1==(1&e)}(l)?yg(u,t,n,i,Mn(l),o):void 0)||(Ro(s)||function Ph(e){return 2==(2&e)}(l)&&(s=yg(u,null,n,i,a,o)),function LD(e,t,n,r,i){const s=Ie(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Mt.DashCase;if(null==i)s?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),o|=Mt.Important),s?e.setStyle(n,r,i,o):n.style.setProperty(r,i,a?"important":"")}}}(r,o,Ws(at(),n),i,s))}(s,s.data[at()],i,i[11],e,i[o+1]=function eE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(zn(e)))),e}(t,n),r,o)}(e,t,null,!0),ko}function Mc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[i],l=Array.isArray(u),d=l?u[1]:u,p=null===d;let g=n[i+1];g===Z&&(g=p?De:void 0);let y=p?pu(g,r):d===r?g:void 0;if(l&&!Ro(y)&&(y=pu(u,r)),Ro(y)&&(a=y,o))return a;const D=e[i+1];i=o?Gt(D):Mn(D)}if(null!==t){let u=s?t.residualClasses:t.residualStyles;null!=u&&(a=pu(u,r))}return a}function Ro(e){return void 0!==e}function ge(e,t=""){const n=I(),r=fe(),i=e+20,s=r.firstCreatePass?Gr(r,i,1,t,null):r.data[i],o=n[i]=function Ou(e,t){return Ie(e)?e.createText(t):e.createTextNode(t)}(n[11],t);yo(r,n,o,s),rn(s,!1)}function In(e){return Wn("",e,""),In}function Wn(e,t,n){const r=I(),i=Xr(r,e,t,n);return i!==Z&&Sn(r,at(),i),Wn}const No="en-US";let Bg=No;class dm{}class CM{resolveComponentFactory(t){throw function DM(e){const t=Error(`No component factory found for ${ve(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let cs=(()=>{class e{}return e.NULL=new CM,e})();function EM(){return di(He(),I())}function di(e,t){return new Qn(Rt(e,t))}let Qn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=EM,e})();class hm{}let TM=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null}),e})();class Ho{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const AM=new Ho("13.3.11"),Rc={};function Bo(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Ne(s)),$t(s))for(let a=10;a-1&&(xu(t,r),oo(n,r))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){!function qh(e,t,n,r){const i=tp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&np(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function ac(e,t,n){const r=t[10];r.begin&&r.begin();try{Qr(e,t,e.template,n)}catch(i){throw ip(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ID(e,t){Yi(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new pe(902,"");this._appRef=t}}class PM extends ls{constructor(t){super(t),this._view=t}detectChanges(){ep(this._view)}checkNoChanges(){}get context(){return null}}class pm extends cs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nt(t);return new Nc(n,this.ngModule)}}function gm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Nc extends dm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function WD(e){return e.map(GD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function RM(e,t){return{get:(n,r,i)=>{const s=e.get(n,Rc,i);return s!==Rc||r===Rc?s:t.get(n,r,i)}}}(t,i.injector):t,o=s.get(hm,Yd),a=s.get(TM,null),u=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=r?function zh(e,t,n){if(Ie(e))return e.selectRootElement(t,n===tn.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Fu(o.createRenderer(null,this.componentDef),l,function kM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),p=this.componentDef.onPush?576:528,g=function Dp(e,t){return{components:[],scheduler:e||_D,clean:kC,playerHandler:t||null,flags:0}}(),y=Do(0,null,null,1,0,null,null,null,null,null),D=Xi(null,y,g,p,null,null,o,u,a,s);let S,P;Zs(D);try{const T=function wp(e,t,n,r,i,s){const o=n[1];n[20]=e;const u=Gr(o,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Eo(u,l,!0),null!==e&&(eo(i,e,l),null!==u.classes&&Vu(i,e,u.classes),null!==u.styles&&Dh(i,e,u.styles)));const d=r.createRenderer(e,t),p=Xi(n,Uh(t),null,t.onPush?64:16,n[20],u,r,d,s||null,null);return o.firstCreatePass&&(io(Fi(u,n),o,t.type),Kh(o,u),Jh(u,n.length,1)),Co(n,p),n[20]=p}(d,this.componentDef,D,o,u);if(d)if(r)eo(u,d,["ng-version",AM.full]);else{const{attrs:M,classes:B}=function QD(e){const t=[],n=[];let r=1,i=2;for(;r0&&Vu(u,d,B.join(" "))}if(P=Ja(y,20),void 0!==n){const M=P.projection=[];for(let B=0;Bu(o,t)),t.contentQueries){const u=He();t.contentQueries(1,o,u.directiveStart)}const a=He();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Vn(a.index),Qh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Zh(t,o)),o}(T,this.componentDef,D,g,[JC]),es(y,D,null)}finally{Ks()}return new OM(this.componentType,S,di(P,D),D,P)}}class OM extends class bM{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new PM(i),this.componentType=t}get injector(){return new xr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Tn{}class mm{}const fi=new Map;class _m extends Tn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pm(this);const r=At(t);this._bootstrapComponents=an(r.bootstrap),this._r3Injector=cp(t,n,[{provide:Tn,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],ve(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=yt.THROW_IF_NOT_FOUND,r=q.Default){return t===yt||t===Tn||t===cc?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Oc extends mm{constructor(t){super(),this.moduleType=t,null!==At(t)&&function xM(e){const t=new Set;!function n(r){const i=At(r,!0),s=i.id;null!==s&&(function ym(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ve(t)} vs ${ve(t.name)}`)}(s,fi.get(s),r),fi.set(s,r));const o=an(i.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new _m(this.moduleType,t)}}function Fc(e){return t=>{setTimeout(e,void 0,t)}}const lt=class eS extends j{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,s,o;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const p=t;a=null===(i=p.next)||void 0===i?void 0:i.bind(p),u=null===(s=p.error)||void 0===s?void 0:s.bind(p),l=null===(o=p.complete)||void 0===o?void 0:o.bind(p)}this.__isAsync&&(u=Fc(u),a&&(a=Fc(a)),l&&(l=Fc(l)));const d=super.subscribe({next:a,error:u,complete:l});return t instanceof et&&t.add(d),d}};Symbol;let An=(()=>{class e{}return e.__NG_ELEMENT_ID__=iS,e})();const nS=An,rS=class extends nS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Xi(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),es(n,r,t),new ls(r)}};function iS(){return function Vo(e,t){return 4&e.type?new rS(t,e,di(e,t)):null}(He(),I())}let Kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=sS,e})();function sS(){return function Im(e,t){let n;const r=t[e.index];if($t(r))n=r;else{let i;if(8&e.type)i=Ne(r);else{const s=t[11];i=s.createComment("");const o=Rt(e,t);ur(s,mo(s,o),i,function OD(e,t){return Ie(e)?e.nextSibling(t):t.nextSibling}(s,o),!1)}t[e.index]=n=Xh(r,t,i,e),Co(t,n)}return new Mm(n,e,t)}(He(),I())}const oS=Kt,Mm=class extends oS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ro(this._hostTNode,this._hostLView);if(yf(t)){const n=Fr(t,this._hostLView),r=Or(t);return new xr(n[1].data[r+8],n)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const o=t&&!function Hi(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const p=n||{};a=p.index,r=p.injector,i=p.projectableNodes,s=p.ngModuleRef}const u=o?t:new Nc(nt(t)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const g=(o?l:this.parentInjector).get(Tn,null);g&&(s=g)}const d=u.create(l,i,void 0,s);return this.insert(d.hostView,a),d}insert(t,n){const r=t._lView,i=r[1];if(function Ew(e){return $t(e[3])}(r)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const p=r[3],g=new Mm(p,p[6],p[3]);g.detach(g.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function AD(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r{class e{constructor(n){this.appInits=n,this.resolve=zo,this.reject=zo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{s.subscribe({complete:a,error:u})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(Jc,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ps=new ue("AppId",{providedIn:"root",factory:function Zm(){return`${Xc()}${Xc()}${Xc()}`}});function Xc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Km=new ue("Platform Initializer"),el=new ue("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jm=new ue("appBootstrapListener");let NS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Zn=new ue("LocaleId",{providedIn:"root",factory:()=>yb(Zn,q.Optional|q.SkipSelf)||function OS(){return"undefined"!=typeof $localize&&$localize.locale||No}()});class xS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Ym=(()=>{class e{compileModuleSync(n){return new Oc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=an(At(n).declarations).reduce((o,a)=>{const u=nt(a);return u&&o.push(new Nc(u)),o},[]);return new xS(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jS=(()=>Promise.resolve(0))();function tl(e){"undefined"==typeof Zone?jS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!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),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function HS(){let e=_e.requestAnimationFrame,t=_e.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function US(e){const t=()=>{!function VS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,rl(e),e.isCheckStableRunning=!0,nl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),rl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Xm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),ey(e)}},onInvoke:(n,r,i,s,o,a,u)=>{try{return Xm(e),n.invoke(i,s,o,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ey(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,rl(e),nl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ye.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ye.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,BS,zo,zo);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const BS={};function nl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ey(e){e._nesting--,nl(e)}class $S{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,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let il=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ye.assertNotInAngularZone(),tl(()=>{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())tl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(Ye))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),zS=(()=>{class e{constructor(){this._applications=new Map,sl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class qS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let sl=new qS,pr=null;const ty=new ue("AllowMultipleToken"),ny=new ue("PlatformOnDestroy");class ry{constructor(t,n){this.name=t,this.token=n}}function iy(e,t,n=[]){const r=`Platform: ${t}`,i=new ue(r);return(s=[])=>{let o=ol();if(!o||o.injector.get(ty,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function ZS(e){if(pr&&!pr.get(ty,!1))throw new pe(400,"");pr=e;const t=e.get(sy),n=e.get(Km,null);n&&n.forEach(r=>r())}(function JS(e=[],t){return yt.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:ny,useValue:()=>pr=null},...e]})}(a,r))}return function KS(e){const t=ol();if(!t)throw new pe(401,"");return t}()}}function ol(){var e;return null!==(e=null==pr?void 0:pr.get(sy))&&void 0!==e?e:null}let sy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function YS(e,t){let n;return n="noop"===e?new $S:("zone.js"===e?void 0:e)||new Ye({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ye,useValue:a}];return a.run(()=>{const l=yt.create({providers:u,parent:this.injector,name:n.moduleType.name}),d=n.create(l),p=d.injector.get(Ki,null);if(!p)throw new pe(402,"");return a.runOutsideAngular(()=>{const g=a.onError.subscribe({next:y=>{p.handleError(y)}});d.onDestroy(()=>{ul(this._modules,d),g.unsubscribe()})}),function XS(e,t,n){try{const r=n();return Po(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(p,a,()=>{const g=d.injector.get(Yc);return g.runInitializers(),g.donePromise.then(()=>(function ME(e){bt(e,"Expected localeId to be defined"),"string"==typeof e&&(Bg=e.toLowerCase().replace(/_/g,"-"))}(d.injector.get(Zn,No)||No),this._moduleDoBootstrap(d),d))})})}bootstrapModule(n,r=[]){const i=oy({},r);return function WS(e,t,n){const r=new Oc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(al);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new pe(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new pe(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ny,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function oy(e,t){return Array.isArray(t)?t.reduce(oy,e):Object.assign(Object.assign({},e),t)}let al=(()=>{class e{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new _(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ye.assertNotInAngularZone(),tl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ye.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});this.isStable=function $_(...e){const t=Ii(e),n=function x_(e,t){return"number"==typeof ka(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yn(r[0]):Si(n)(Ke(r,t)):_n}(o,a.pipe(function z_(e={}){const{connector:t=(()=>new j),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let o=null,a=null,u=null,l=0,d=!1,p=!1;const g=()=>{null==a||a.unsubscribe(),a=null},y=()=>{g(),o=u=null,d=p=!1},D=()=>{const S=o;y(),null==S||S.unsubscribe()};return ye((S,P)=>{l++,!p&&!d&&g();const T=u=null!=u?u:t();P.add(()=>{l--,0===l&&!p&&!d&&(a=Ra(D,i))}),T.subscribe(P),o||(o=new v({next:M=>T.next(M),error:M=>{p=!0,g(),a=Ra(y,n,M),T.error(M)},complete:()=>{d=!0,g(),a=Ra(y,r),T.complete()}}),Ke(S).subscribe(o))})(s)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new pe(405,"");let i;i=n instanceof dm?n:this._injector.get(cs).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function QS(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Tn),a=i.create(yt.NULL,[],r||i.selector,s),u=a.location.nativeElement,l=a.injector.get(il,null),d=l&&a.injector.get(zS);return l&&d&&d.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),ul(this.components,a),d&&d.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new pe(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ul(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(V(Ye),V(yt),V(Ki),V(Yc))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let uy=!0,cl=(()=>{class e{}return e.__NG_ELEMENT_ID__=nI,e})();function nI(e){return function rI(e,t,n){if(qs(e)&&!n){const r=Ct(e.index,t);return new ls(r,r)}return 47&e.type?new ls(t[16],t):null}(He(),I(),16==(16&e))}class hy{constructor(){}supports(t){return ns(t)}create(t){return new cI(t)}}const uI=(e,t)=>t;class cI{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||uI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new lI(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new py),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new py),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lI{constructor(t,n){this.item=t,this.trackById=n,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 dI{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class py{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new dI,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gy(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||yy()),deps:[[e,new zi,new $n]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new pe(901,"")}}return e.\u0275prov=Y({token:e,providedIn:"root",factory:yy}),e})();const mI=iy(null,"core",[]);let yI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(al))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})(),Qo=null;function Kn(){return Qo}const ft=new ue("DocumentToken");let mr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function bI(){return V(_y)}()},providedIn:"platform"}),e})();const DI=new ue("Location Initialized");let _y=(()=>{class e extends mr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kn().getBaseHref(this._doc)}onPopState(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,i){wy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){wy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(){return function CI(){return new _y(V(ft))}()},providedIn:"platform"}),e})();function wy(){return!!window.history.pushState}function pl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function by(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Pn(e){return e&&"?"!==e[0]?"?"+e:e}let pi=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function EI(e){const t=V(ft).location;return new Dy(V(mr),t&&t.origin||"")}()},providedIn:"root"}),e})();const gl=new ue("appBaseHref");let Dy=(()=>{class e extends pi{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return pl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Pn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),MI=(()=>{class e extends pi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=pl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ml=(()=>{class e{constructor(n,r){this._subject=new lt,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=by(Cy(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pn(r))}normalize(n){return e.stripTrailingSlash(function II(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Cy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=Pn,e.joinWithSlash=pl,e.stripTrailingSlash=by,e.\u0275fac=function(n){return new(n||e)(V(pi),V(mr))},e.\u0275prov=Y({token:e,factory:function(){return function SI(){return new ml(V(pi),V(mr))}()},providedIn:"root"}),e})();function Cy(e){return e.replace(/\/index.html$/,"")}function Ry(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}class fT{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Sl=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,s,o)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fT(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,o),Ny(a,i)}});for(let i=0,s=r.length;i{Ny(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An),H(Wo))},e.\u0275dir=tt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function Ny(e,t){e.context.$implicit=t.item}let vs=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new hT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Oy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Oy("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An))},e.\u0275dir=tt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class hT{constructor(){this.$implicit=null,this.ngIf=null}}function Oy(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}let BT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})();let zT=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new qT(V(ft),window)}),e})();class qT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function GT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=jy(this.window.history)||jy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function jy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Hy{}class kl extends class WT extends class wI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function _I(e){Qo||(Qo=e)}(new kl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function QT(){return _s=_s||document.querySelector("base"),_s?_s.getAttribute("href"):null}();return null==n?null:function ZT(e){ia=ia||document.createElement("a"),ia.setAttribute("href",e);const t=ia.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){_s=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ry(document.cookie,t)}}let ia,_s=null;const By=new ue("TRANSITION_ID"),JT=[{provide:Jc,useFactory:function KT(e,t,n){return()=>{n.get(Yc).donePromise.then(()=>{const r=Kn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let s=0;s{const s=t.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements(),_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r=>{const i=_e.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(u){o=o||u,s--,0==s&&r(o)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?Kn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let YT=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const sa=new ue("EventManagerPlugins");let oa=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let s=0;s{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ws=(()=>{class e extends Uy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach($y),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach($y))}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function $y(e){Kn().remove(e)}const Nl={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/"},Ol=/%COMP%/g;function aa(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Fl=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new xl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case tn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new i3(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case tn.ShadowDom:return new s3(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=aa(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(oa),V(ws),V(ps))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class xl{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Nl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const s=Nl[i];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Nl[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Mt.DashCase|Mt.Important)?t.style.setProperty(n,r,i&Mt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Mt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Gy(r)):this.eventManager.addEventListener(t,n,Gy(r))}}class i3 extends xl{constructor(t,n,r,i){super(t),this.component=r;const s=aa(i+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function t3(e){return"_ngcontent-%COMP%".replace(Ol,e)}(i+"-"+r.id),this.hostAttr=function n3(e){return"_nghost-%COMP%".replace(Ol,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class s3 extends xl{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=aa(i.id,i.styles,[]);for(let o=0;o{class e extends Vy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Qy=["alt","control","meta","shift"],u3={"\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"},Zy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l3=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const s=e.parseEventName(r),o=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kn().onAndCancel(n,s.domEventName,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=e._normalizeKey(r.pop());let o="";if(Qy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(n){let r="",i=function d3(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Zy.hasOwnProperty(t)&&(t=Zy[t]))}return u3[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Qy.forEach(s=>{s!=i&&c3[s](n)&&(r+=s+".")}),r+=i,r}static eventCallback(n,r,i){return s=>{e.getEventFullKey(s)===n&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const g3=iy(mI,"browser",[{provide:el,useValue:"browser"},{provide:Km,useValue:function f3(){kl.makeCurrent(),Rl.init()},multi:!0},{provide:ft,useFactory:function p3(){return function ww(e){Za=e}(document),document},deps:[]}]),m3=[{provide:lc,useValue:"root"},{provide:Ki,useFactory:function h3(){return new Ki},deps:[]},{provide:sa,useClass:o3,multi:!0,deps:[ft,Ye,el]},{provide:sa,useClass:l3,multi:!0,deps:[ft]},{provide:Fl,useClass:Fl,deps:[oa,ws,ps]},{provide:hm,useExisting:Fl},{provide:Uy,useExisting:ws},{provide:ws,useClass:ws,deps:[ft]},{provide:il,useClass:il,deps:[Ye]},{provide:oa,useClass:oa,deps:[sa,Ye]},{provide:Hy,useClass:YT,deps:[]}];let y3=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:ps,useValue:n.appId},{provide:By,useExisting:ps},JT]}}}return e.\u0275fac=function(n){return new(n||e)(V(e,12))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:m3,imports:[BT,yI]}),e})(),Ll=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(n){let r=null;return r=n?new n:function _3(){return new Ll(V(ft))}(),r},providedIn:"root"}),e})();function X(...e){return Ke(e,Ii(e))}"undefined"!=typeof window&&window;class Xt extends j{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:T3}=Array,{getPrototypeOf:A3,prototype:P3,keys:k3}=Object;const{isArray:O3}=Array;function j3(...e){const t=Ii(e),n=function F_(e){return me(ka(e))?e.pop():void 0}(e),{args:r,keys:i}=function R3(e){if(1===e.length){const t=e[0];if(T3(t))return{args:t,keys:null};if(function N3(e){return e&&"object"==typeof e&&A3(e)===P3}(t)){const n=k3(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ke([],t);const s=new _(function H3(e,t,n=k){return r=>{Yy(t,()=>{const{length:i}=e,s=new Array(i);let o=i,a=i;for(let u=0;u{const l=Ke(e[u],t);let d=!1;l.subscribe(le(r,p=>{s[u]=p,d||(d=!0,a--),a||r.next(n(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,t,i?o=>function L3(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,o):k));return n?s.pipe(function x3(e){return G(t=>function F3(e,t){return O3(t)?e(...t):e(t)}(e,t))}(n)):s}function Yy(e,t,n){e?vn(n,e,t):t()}function ua(e,t){const n=me(e)?e:()=>e,r=i=>i.error(n());return new _(t?i=>t.schedule(r,0,i):r)}const ca=pn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hl(...e){return function B3(){return Si(1)}()(Ke(e,Ii(e)))}function Xy(e){return new _(t=>{yn(e()).subscribe(t)})}function ev(){return ye((e,t)=>{let n=null;e._refCount++;const r=le(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class V3 extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,We(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,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const n=this.getSubject();t.add(this.source.subscribe(le(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return ev()(this)}}function yr(e,t){return ye((n,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();n.subscribe(le(r,u=>{null==i||i.unsubscribe();let l=0;const d=s++;yn(e(u,d)).subscribe(i=le(r,p=>r.next(t?t(u,p,d,l++):p),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function $3(e,t,n,r,i){return(s,o)=>{let a=n,u=t,l=0;s.subscribe(le(o,d=>{const p=l++;u=a?e(u,d,p):(a=!0,d),r&&o.next(u)},i&&(()=>{a&&o.next(u),o.complete()})))}}function tv(e,t){return ye($3(e,t,arguments.length>=2,!0))}function vr(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>e.call(t,s,i++)&&r.next(s)))})}function Yn(e){return ye((t,n)=>{let s,r=null,i=!1;r=t.subscribe(le(n,void 0,void 0,o=>{s=yn(e(o,Yn(e)(t))),r?(r.unsubscribe(),r=null,s.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(n))})}function gi(e,t){return me(t)?qe(e,t,1):qe(e,1)}function Bl(e){return e<=0?()=>_n:ye((t,n)=>{let r=[];t.subscribe(le(n,i=>{r.push(i),e{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function nv(e=z3){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function z3(){return new ca}function rv(e){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function mi(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,js(1),n?rv(t):nv(()=>new ca))}function It(e,t,n){const r=me(e)||t||n?{next:e,error:t,complete:n}:e;return r?ye((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(le(s,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),s.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),s.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),s.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):k}class Rn{constructor(t,n){this.id=t,this.url=n}}class Vl extends Rn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bs extends Rn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class iv extends Rn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W3 extends Rn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Q3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K3 extends Rn{constructor(t,n,r,i,s){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class J3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ov{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class X3{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eA{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tA{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nA{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class av{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ie="primary";class rA{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function yi(e){return new rA(e)}const uv="ngNavigationCancelingError";function Ul(e){const t=Error("NavigationCancelingError: "+e);return t[uv]=!0,t}function sA(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[s]===i)}return e===t}function lv(e){return Array.prototype.concat.apply([],e)}function dv(e){return e.length>0?e[e.length-1]:null}function Xe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function hn(e){return Wp(e)?e:Po(e)?Ke(Promise.resolve(e)):X(e)}const uA={exact:function pv(e,t,n){if(!wr(e.segments,t.segments)||!la(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!pv(e.children[r],t.children[r],n))return!1;return!0},subset:gv},fv={exact:function cA(e,t){return fn(e,t)},subset:function lA(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>cv(e[n],t[n]))},ignored:()=>!0};function hv(e,t,n){return uA[n.paths](e.root,t.root,n.matrixParams)&&fv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function gv(e,t,n){return mv(e,t,t.segments,n)}function mv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!wr(i,n)||t.hasChildren()||!la(i,n,r))}if(e.segments.length===n.length){if(!wr(e.segments,n)||!la(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!gv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!(wr(e.segments,i)&&la(e.segments,i,r)&&e.children[ie])&&mv(e.children[ie],t,s,r)}}function la(e,t,n){return t.every((r,i)=>fv[n](e[i].parameters,r.parameters))}class _r{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return hA.serialize(this)}}class ce{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Xe(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return da(this)}}class Ds{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=yi(this.parameters)),this._parameterMap}toString(){return bv(this)}}function wr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class yv{}class vv{parse(t){const n=new DA(t);return new _r(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Cs(t.root,!0)}`,r=function mA(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${fa(n)}=${fa(i)}`).join("&"):`${fa(n)}=${fa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function pA(e){return encodeURI(e)}(t.fragment)}`:""}`}}const hA=new vv;function da(e){return e.segments.map(t=>bv(t)).join("/")}function Cs(e,t){if(!e.hasChildren())return da(e);if(t){const n=e.children[ie]?Cs(e.children[ie],!1):"",r=[];return Xe(e.children,(i,s)=>{s!==ie&&r.push(`${s}:${Cs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function fA(e,t){let n=[];return Xe(e.children,(r,i)=>{i===ie&&(n=n.concat(t(r,i)))}),Xe(e.children,(r,i)=>{i!==ie&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===ie?[Cs(e.children[ie],!1)]:[`${i}:${Cs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ie]?`${da(e)}/${n[0]}`:`${da(e)}/(${n.join("//")})`}}function _v(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fa(e){return _v(e).replace(/%3B/gi,";")}function $l(e){return _v(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ha(e){return decodeURIComponent(e)}function wv(e){return ha(e.replace(/\+/g,"%20"))}function bv(e){return`${$l(e.path)}${function gA(e){return Object.keys(e).map(t=>`;${$l(t)}=${$l(e[t])}`).join("")}(e.parameters)}`}const yA=/^[^\/()?;=#]+/;function pa(e){const t=e.match(yA);return t?t[0]:""}const vA=/^[^=?&#]+/,wA=/^[^&#]+/;class DA{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[ie]=new ce(t,n)),r}parseSegment(){const t=pa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Ds(ha(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=pa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=pa(this.remaining);i&&(r=i,this.capture(r))}t[ha(n)]=ha(r)}parseQueryParam(t){const n=function _A(e){const t=e.match(vA);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=function bA(e){const t=e.match(wA);return t?t[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=wv(n),s=wv(r);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=pa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;r.indexOf(":")>-1?(s=r.substr(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ie);const o=this.parseChildren();n[s]=1===Object.keys(o).length?o[ie]:new ce([],o),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Dv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=zl(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=zl(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ql(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ql(t,this._root).map(n=>n.value)}}function zl(e,t){if(e===t.value)return t;for(const n of t.children){const r=zl(e,n);if(r)return r}return null}function ql(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ql(e,n);if(r.length)return r.unshift(t),r}return[]}class Nn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function vi(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Cv extends Dv{constructor(t,n){super(t),this.snapshot=n,Gl(this,t)}toString(){return this.snapshot.toString()}}function Ev(e,t){const n=function CA(e,t){const o=new ga([],{},{},"",{},ie,t,null,e.root,-1,{});return new Sv("",new Nn(o,[]))}(e,t),r=new Xt([new Ds("",{})]),i=new Xt({}),s=new Xt({}),o=new Xt({}),a=new Xt(""),u=new _i(r,i,o,a,s,ie,t,n.root);return u.snapshot=n.root,new Cv(new Nn(u,[]),n)}class _i{constructor(t,n,r,i,s,o,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,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(G(t=>yi(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(t=>yi(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mv(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function EA(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ga{constructor(t,n,r,i,s,o,a,u,l,d,p){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=d,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=yi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sv extends Dv{constructor(t,n){super(n),this.url=t,Gl(this,n)}toString(){return Iv(this._root)}}function Gl(e,t){t.value._routerState=e,t.children.forEach(n=>Gl(e,n))}function Iv(e){const t=e.children.length>0?` { ${e.children.map(Iv).join(", ")} } `:"";return`${e.value}${t}`}function Wl(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,fn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),fn(t.params,n.params)||e.params.next(n.params),function oA(e,t){if(e.length!==t.length)return!1;for(let n=0;nfn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Ql(e.parent,t.parent))}function Es(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function SA(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Es(e,r,i);return Es(e,r)})}(e,t,n);return new Nn(r,i)}{if(e.shouldAttach(t.value)){const s=e.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Es(e,a)),o}}const r=function IA(e){return new _i(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(s=>Es(e,s));return new Nn(r,i)}}function ma(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ms(e){return"object"==typeof e&&null!=e&&e.outlets}function Zl(e,t,n,r,i){let s={};if(r&&Xe(r,(a,u)=>{s[u]=Array.isArray(a)?a.map(l=>`${l}`):`${a}`}),e===t)return new _r(n,s,i);const o=Tv(e,t,n);return new _r(o,s,i)}function Tv(e,t,n){const r={};return Xe(e.children,(i,s)=>{r[s]=i===t?n:Tv(i,t,n)}),new ce(e.segments,r)}class Av{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ma(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(Ms);if(i&&i!==dv(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kl{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Pv(e,t,n){if(e||(e=new ce([],{})),0===e.segments.length&&e.hasChildren())return ya(e,t,n);const r=function NA(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return s;const o=e.segments[i],a=n[r];if(Ms(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Rv(u,l,o))return s;r+=2}else{if(!Rv(u,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Pv(e.children[o],t,s))}),Xe(e.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new ce(e.segments,i)}}function Jl(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Jl(new ce([],{}),0,n))}),t}function kv(e){const t={};return Xe(e,(n,r)=>t[r]=`${n}`),t}function Rv(e,t,n){return e==n.path&&fn(t,n.parameters)}class xA{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Wl(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Xe(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(t,n,o.children)}else this.deactivateChildRoutes(t,n,r);else s&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);if(r&&r.outlet){const o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new nA(s.value.snapshot))}),t.children.length&&this.forwardEvent(new eA(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(Wl(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,o.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Wl(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function LA(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,r)}}class Yl{constructor(t,n){this.routes=t,this.module=n}}function Xn(e){return"function"==typeof e}function br(e){return e instanceof _r}const Ss=Symbol("INITIAL_VALUE");function Is(){return yr(e=>j3(e.map(t=>t.pipe(js(1),function U3(...e){const t=Ii(e);return ye((n,r)=>{(t?Hl(e,n,t):Hl(e,n)).subscribe(r)})}(Ss)))).pipe(tv((t,n)=>{let r=!1;return n.reduce((i,s,o)=>i!==Ss?i:(s===Ss&&(r=!0),r||!1!==s&&o!==n.length-1&&!br(s)?i:s),t)},Ss),vr(t=>t!==Ss),G(t=>br(t)?t:!0===t),js(1)))}class $A{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ts,this.attachRef=null}}class Ts{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new $A,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Xl=(()=>{class e{constructor(n,r,i,s,o){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.name=s||ie,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const o=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new zA(n,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(H(Ts),H(Kt),H(cs),function Li(e){return function Jw(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jn({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&vt(0,"router-outlet")},directives:[Xl],encapsulation:2}),e})();function Ov(e,t=""){for(let n=0;njt(r)===t);return n.push(...e.filter(r=>jt(r)!==t)),n}const xv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function va(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xv):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const s=(t.matcher||sA)(n,e,t);if(!s)return Object.assign({},xv);const o={};Xe(s.posParams,(u,l)=>{o[l]=u.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:n.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function _a(e,t,n,r,i="corrected"){if(n.length>0&&function ZA(e,t,n){return n.some(r=>wa(e,t,r)&&jt(r)!==ie)}(e,n,r)){const o=new ce(t,function QA(e,t,n,r){const i={};i[ie]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&jt(s)!==ie){const o=new ce([],{});o._sourceSegment=e,o._segmentIndexShift=t.length,i[jt(s)]=o}return i}(e,t,r,new ce(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function KA(e,t,n){return n.some(r=>wa(e,t,r))}(e,n,r)){const o=new ce(e.segments,function WA(e,t,n,r,i,s){const o={};for(const a of r)if(wa(e,n,a)&&!i[jt(a)]){const u=new ce([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[jt(a)]=u}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const s=new ce(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function wa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Lv(e,t,n,r){return!!(jt(e)===r||r!==ie&&wa(t,n,e))&&("**"===e.path||va(t,e,n).matched)}function jv(e,t,n){return 0===t.length&&!e.children[n]}class ba{constructor(t){this.segmentGroup=t||null}}class Hv{constructor(t){this.urlTree=t}}function As(e){return ua(new ba(e))}function Bv(e){return ua(new Hv(e))}class e1{constructor(t,n,r,i,s){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Tn)}apply(){const t=_a(this.urlTree.root,[],[],this.config).segmentGroup,n=new ce(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ie).pipe(G(s=>this.createUrlTree(td(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Yn(s=>{if(s instanceof Hv)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof ba?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ie).pipe(G(i=>this.createUrlTree(td(i),t.queryParams,t.fragment))).pipe(Yn(i=>{throw i instanceof ba?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new ce([],{[ie]:t}):t;return new _r(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(G(s=>new ce([],s))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return Ke(i).pipe(gi(s=>{const o=r.children[s],a=Fv(n,s);return this.expandSegmentGroup(t,a,o,s).pipe(G(u=>({segment:u,outlet:s})))}),tv((s,o)=>(s[o.outlet]=o.segment,s),{}),function q3(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,Bl(1),n?rv(t):nv(()=>new ca))}())}expandSegment(t,n,r,i,s,o){return Ke(r).pipe(gi(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,s,o).pipe(Yn(l=>{if(l instanceof ba)return X(null);throw l}))),mi(a=>!!a),Yn((a,u)=>{if(a instanceof ca||"EmptyError"===a.name)return jv(n,i,s)?X(new ce([],{})):As(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,s,o,a){return Lv(i,n,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o):As(n):As(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Bv(s):this.lineralizeSegments(r,s).pipe(qe(o=>{const a=new ce(o,{});return this.expandSegment(t,a,n,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:d}=va(n,i,s);if(!a)return As(n);const p=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?Bv(p):this.lineralizeSegments(i,p).pipe(qe(g=>this.expandSegment(t,n,r,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,n,r,i,s){if("**"===r.path)return r.loadChildren?(r._loadedConfig?X(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(G(p=>(r._loadedConfig=p,new ce(i,{})))):X(new ce(i,{}));const{matched:o,consumedSegments:a,remainingSegments:u}=va(n,r,i);return o?this.getChildConfig(t,r,i).pipe(qe(d=>{const p=d.module,g=d.routes,{segmentGroup:y,slicedSegments:D}=_a(n,a,u,g),S=new ce(y.segments,y.children);if(0===D.length&&S.hasChildren())return this.expandChildren(p,g,S).pipe(G(B=>new ce(a,B)));if(0===g.length&&0===D.length)return X(new ce(a,{}));const P=jt(r)===s;return this.expandSegment(p,S,g,D,P?ie:s,!0).pipe(G(M=>new ce(a.concat(M.segments),M.children)))})):As(n)}getChildConfig(t,n,r){return n.children?X(new Yl(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?X(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(qe(i=>i?this.configLoader.load(t.injector,n).pipe(G(s=>(n._loadedConfig=s,s))):function YA(e){return ua(Ul(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):X(new Yl([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?X(i.map(o=>{const a=t.get(o);let u;if(function HA(e){return e&&Xn(e.canLoad)}(a))u=a.canLoad(n,r);else{if(!Xn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}return hn(u)})).pipe(Is(),It(o=>{if(!br(o))return;const a=Ul(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),G(o=>!0===o)):X(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return X(r);if(i.numberOfChildren>1||!i.children[ie])return ua(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));i=i.children[ie]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const s=this.createSegmentGroup(t,n.root,r,i);return new _r(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Xe(t,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=n[a]}else r[s]=i}),r}createSegmentGroup(t,n,r,i){const s=this.createSegments(t,n.segments,r,i);let o={};return Xe(n.children,(a,u)=>{o[u]=this.createSegmentGroup(t,a,r,i)}),new ce(s,o)}createSegments(t,n,r,i){return n.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function td(e){const t={};for(const r of Object.keys(e.children)){const s=td(e.children[r]);(s.segments.length>0||s.hasChildren())&&(t[r]=s)}return function t1(e){if(1===e.numberOfChildren&&e.children[ie]){const t=e.children[ie];return new ce(e.segments.concat(t.segments),t.children)}return e}(new ce(e.segments,t))}class Vv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Da{constructor(t,n){this.component=t,this.route=n}}function r1(e,t,n){const r=e._root;return Ps(r,t?t._root:null,n,[r.value])}function Ca(e,t,n){const r=function s1(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ps(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=vi(t);return e.children.forEach(o=>{(function o1(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const u=function a1(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!wr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,t.url)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ql(e,t)||!fn(e.queryParams,t.queryParams);default:return!Ql(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Vv(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Ps(e,t,s.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Da(a.outlet.component,o))}else o&&ks(t,a,i),i.canActivateChecks.push(new Vv(r)),Ps(e,null,s.component?a?a.children:null:n,r,i)})(o,s[o.value.outlet],n,r.concat([o.value]),i),delete s[o.value.outlet]}),Xe(s,(o,a)=>ks(o,n.getContext(a),i)),i}function ks(e,t,n){const r=vi(e),i=e.value;Xe(r,(s,o)=>{ks(s,i.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new Da(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class m1{}function Uv(e){return new _(t=>t.error(e))}class v1{constructor(t,n,r,i,s,o){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=_a(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,ie);if(null===n)return null;const r=new ga([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ie,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Nn(r,n),s=new Sv(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const n=t.value,r=Mv(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const s of Object.keys(n.children)){const o=n.children[s],a=Fv(t,s),u=this.processSegmentGroup(a,o,s);if(null===u)return null;r.push(...u)}const i=$v(r);return function _1(e){e.sort((t,n)=>t.value.outlet===ie?-1:n.value.outlet===ie?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(t,n,r,i){for(const s of t){const o=this.processSegmentAgainstRoute(s,n,r,i);if(null!==o)return o}return jv(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Lv(t,n,r,i))return null;let s,o=[],a=[];if("**"===t.path){const y=r.length>0?dv(r).parameters:{};s=new ga(r,y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+r.length,Wv(t))}else{const y=va(n,t,r);if(!y.matched)return null;o=y.consumedSegments,a=y.remainingSegments,s=new ga(o,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+o.length,Wv(t))}const u=function w1(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:d}=_a(n,o,a,u.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===d.length&&l.hasChildren()){const y=this.processChildren(u,l);return null===y?null:[new Nn(s,y)]}if(0===u.length&&0===d.length)return[new Nn(s,[])];const p=jt(t)===i,g=this.processSegment(u,l,d,p?ie:i);return null===g?null:[new Nn(s,g)]}}function b1(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $v(e){const t=[],n=new Set;for(const r of e){if(!b1(r)){t.push(r);continue}const i=t.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=$v(r.children);t.push(new Nn(r.value,i))}return t.filter(r=>!n.has(r))}function zv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function qv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Gv(e){return e.data||{}}function Wv(e){return e.resolve||{}}function Qv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function nd(e){return yr(t=>{const n=e(t);return n?Ke(n).pipe(G(()=>t)):X(t)})}class A1 extends class T1{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const rd=new ue("ROUTES");class Zv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(G(s=>{this.onLoadEndListener&&this.onLoadEndListener(n);const o=s.create(t);return new Yl(lv(o.injector.get(rd,void 0,q.Self|q.Optional)).map(ed),o)}),Yn(s=>{throw n._loader$=void 0,s}));return n._loader$=new V3(i,()=>new j).pipe(ev()),n._loader$}loadModuleFactory(t){return hn(t()).pipe(qe(n=>n instanceof mm?X(n):Ke(this.compiler.compileModuleAsync(n))))}}class k1{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function R1(e){throw e}function N1(e,t,n){return t.parse("/")}function Kv(e,t){return X(null)}const O1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ht=(()=>{class e{constructor(n,r,i,s,o,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=s,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=R1,this.malformedUriErrorHandler=N1,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kv,afterPreactivation:Kv},this.urlHandlingStrategy=new k1,this.routeReuseStrategy=new A1,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Tn),this.console=o.get(NS);const p=o.get(Ye);this.isNgZoneEnabled=p instanceof Ye&&Ye.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function aA(){return new _r(new ce([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Zv(o,a,g=>this.triggerEvent(new sv(g)),g=>this.triggerEvent(new ov(g))),this.routerState=Ev(this.currentUrlTree,this.rootComponentType),this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(vr(i=>0!==i.id),G(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),yr(i=>{let s=!1,o=!1;return X(i).pipe(It(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),yr(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Jv(a.source)&&(this.browserUrlTree=a.extractedUrl),X(a).pipe(yr(p=>{const g=this.transitions.getValue();return r.next(new Vl(p.id,this.serializeUrl(p.extractedUrl),p.source,p.restoredState)),g!==this.transitions.getValue()?_n:Promise.resolve(p)}),function n1(e,t,n,r){return yr(i=>function XA(e,t,n,r,i){return new e1(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(G(s=>Object.assign(Object.assign({},i),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),It(p=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:p.urlAfterRedirects})}),function D1(e,t,n,r,i){return qe(s=>function y1(e,t,n,r,i="emptyOnly",s="legacy"){try{const o=new v1(e,t,n,r,i,s).recognize();return null===o?Uv(new m1):X(o)}catch(o){return Uv(o)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(G(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,p=>this.serializeUrl(p),this.paramsInheritanceStrategy,this.relativeLinkResolution),It(p=>{if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}const g=new Q3(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(p.urlAfterRedirects),p.targetSnapshot);r.next(g)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:y,source:D,restoredState:S,extras:P}=a,T=new Vl(g,this.serializeUrl(y),D,S);r.next(T);const M=Ev(y,this.rootComponentType).snapshot;return X(Object.assign(Object.assign({},a),{targetSnapshot:M,urlAfterRedirects:y,extras:Object.assign(Object.assign({},P),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),_n}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),It(a=>{const u=new Z3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),G(a=>Object.assign(Object.assign({},a),{guards:r1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function u1(e,t){return qe(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?X(Object.assign(Object.assign({},n),{guardsResult:!0})):function c1(e,t,n,r){return Ke(e).pipe(qe(i=>function g1(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?X(s.map(a=>{const u=Ca(a,t,i);let l;if(function UA(e){return e&&Xn(e.canDeactivate)}(u))l=hn(u.canDeactivate(e,t,n,r));else{if(!Xn(u))throw new Error("Invalid CanDeactivate guard");l=hn(u(e,t,n,r))}return l.pipe(mi())})).pipe(Is()):X(!0)}(i.component,i.route,n,t,r)),mi(i=>!0!==i,!0))}(o,r,i,e).pipe(qe(a=>a&&function jA(e){return"boolean"==typeof e}(a)?function l1(e,t,n,r){return Ke(t).pipe(gi(i=>Hl(function f1(e,t){return null!==e&&t&&t(new X3(e)),X(!0)}(i.route.parent,r),function d1(e,t){return null!==e&&t&&t(new tA(e)),X(!0)}(i.route,r),function p1(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function i1(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Xy(()=>X(o.guards.map(u=>{const l=Ca(u,o.node,n);let d;if(function VA(e){return e&&Xn(e.canActivateChild)}(l))d=hn(l.canActivateChild(r,e));else{if(!Xn(l))throw new Error("Invalid CanActivateChild guard");d=hn(l(r,e))}return d.pipe(mi())})).pipe(Is())));return X(s).pipe(Is())}(e,i.path,n),function h1(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return X(!0);const i=r.map(s=>Xy(()=>{const o=Ca(s,t,n);let a;if(function BA(e){return e&&Xn(e.canActivate)}(o))a=hn(o.canActivate(t,e));else{if(!Xn(o))throw new Error("Invalid CanActivate guard");a=hn(o(t,e))}return a.pipe(mi())}));return X(i).pipe(Is())}(e,i.route,n))),mi(i=>!0!==i,!0))}(r,s,e,t):X(a)),G(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),It(a=>{if(br(a.guardsResult)){const l=Ul(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new K3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),vr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),nd(a=>{if(a.guards.canActivateChecks.length)return X(a).pipe(It(u=>{const l=new J3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),yr(u=>{let l=!1;return X(u).pipe(function C1(e,t){return qe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return X(n);let s=0;return Ke(i).pipe(gi(o=>function E1(e,t,n,r){return function M1(e,t,n,r){const i=Qv(e);if(0===i.length)return X({});const s={};return Ke(i).pipe(qe(o=>function S1(e,t,n,r){const i=Ca(e,t,r);return hn(i.resolve?i.resolve(t,n):i(t,n))}(e[o],t,n,r).pipe(It(a=>{s[o]=a}))),Bl(1),qe(()=>Qv(s).length===i.length?X(s):_n))}(e._resolve,e,t,r).pipe(G(s=>(e._resolvedData=s,e.data=Object.assign(Object.assign({},e.data),Mv(e,n).resolve),null)))}(o.route,r,e,t)),It(()=>s++),Bl(1),qe(o=>s===i.length?X(n):_n))})}(this.paramsInheritanceStrategy,this.ngModule.injector),It({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),It(u=>{const l=new Y3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),G(a=>{const u=function MA(e,t,n){const r=Es(e,t._root,n?n._root:void 0);return new Cv(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),It(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>G(r=>(new xA(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),It({next(){s=!0},complete(){s=!0}}),function G3(e){return ye((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;s||o||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Yn(a=>{if(o=!0,function iA(e){return e&&e[uv]}(a)){const u=br(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new iv(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Jv(i.source)};this.scheduleNavigation(d,"imperative",null,p,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new W3(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return _n}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const s={replaceUrl:!0},o=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(o){const u=Object.assign({},o);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){Ov(n),this.config=n.map(ed),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,d=u?this.currentUrlTree.fragment:o;let p=null;switch(a){case"merge":p=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}return null!==p&&(p=this.removeEmptyProps(p)),function TA(e,t,n,r,i){if(0===n.length)return Zl(t.root,t.root,t.root,r,i);const s=function AA(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Av(!0,0,e);let t=0,n=!1;const r=e.reduce((i,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return Xe(s.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===o?(s.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new Av(n,t,r)}(n);if(s.toRoot())return Zl(t.root,t.root,new ce([],{}),r,i);const o=function PA(e,t,n){if(e.isAbsolute)return new Kl(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const s=n.snapshot._urlSegment;return new Kl(s,s===t.root,0)}const r=ma(e.commands[0])?0:1;return function kA(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Kl(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?ya(o.segmentGroup,o.index,s.commands):Pv(o.segmentGroup,o.index,s.commands);return Zl(t.root,o.segmentGroup,a,r,i)}(l,this.currentUrlTree,n,p,null!=d?d:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=br(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function x1(e){for(let t=0;t{const s=n[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new bs(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,s,o){var a,u;if(this.disposed)return Promise.resolve(!1);let l,d,p;o?(l=o.resolve,d=o.reject,p=o.promise):p=new Promise((D,S)=>{l=D,d=S});const g=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):y=0,this.setTransition({id:g,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(D=>Promise.reject(D))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(n,r=!1){var i,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new iv(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Dc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Jv(e){return"imperative"!==e}class Yv{}class Xv{preload(t,n){return X(null)}}let e_=(()=>{class e{constructor(n,r,i,s){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=new Zv(i,r,u=>n.triggerEvent(new sv(u)),u=>n.triggerEvent(new ov(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(vr(n=>n instanceof bs),gi(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Tn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const s of r)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(n,s)):s.children&&i.push(this.processRoutes(n,s.children));return Ke(i).pipe(Si(),G(s=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?X(r._loadedConfig):this.loader.load(n.injector,r)).pipe(qe(s=>(r._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(V(ht),V(Ym),V(yt),V(Yv))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Vl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof bs&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof av&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new av(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Dc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Dr=new ue("ROUTER_CONFIGURATION"),t_=new ue("ROUTER_FORROOT_GUARD"),B1=[ml,{provide:yv,useClass:vv},{provide:ht,useFactory:function q1(e,t,n,r,i,s,o={},a,u){const l=new ht(null,e,t,n,r,i,lv(s));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function G1(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(o,l),o.enableTracing&&l.events.subscribe(d=>{var p,g;null===(p=console.group)||void 0===p||p.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(g=console.groupEnd)||void 0===g||g.call(console)}),l},deps:[yv,Ts,ml,yt,Ym,rd,Dr,[class P1{},new $n],[class I1{},new $n]]},Ts,{provide:_i,useFactory:function W1(e){return e.routerState.root},deps:[ht]},e_,Xv,class H1{preload(t,n){return n().pipe(Yn(()=>X(null)))}},{provide:Dr,useValue:{enableTracing:!1}}];function V1(){return new ry("Router",ht)}let n_=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[B1,r_(n),{provide:t_,useFactory:z1,deps:[[ht,new $n,new zi]]},{provide:Dr,useValue:r||{}},{provide:pi,useFactory:$1,deps:[mr,[new co(gl),new $n],Dr]},{provide:od,useFactory:U1,deps:[ht,zT,Dr]},{provide:Yv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Xv},{provide:ry,multi:!0,useFactory:V1},[ad,{provide:Jc,multi:!0,useFactory:Q1,deps:[ad]},{provide:i_,useFactory:Z1,deps:[ad]},{provide:Jm,multi:!0,useExisting:i_}]]}}static forChild(n){return{ngModule:e,providers:[r_(n)]}}}return e.\u0275fac=function(n){return new(n||e)(V(t_,8),V(ht,8))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})();function U1(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new od(e,t,n)}function $1(e,t,n={}){return n.useHash?new MI(e,t):new Dy(e,t)}function z1(e){return"guarded"}function r_(e){return[{provide:rb,multi:!0,useValue:e},{provide:rd,multi:!0,useValue:e}]}let ad=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new j}appInitializer(){return this.injector.get(DI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),s=this.injector.get(ht),o=this.injector.get(Dr);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),r(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?X(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),s.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(Dr),i=this.injector.get(e_),s=this.injector.get(od),o=this.injector.get(ht),a=this.injector.get(al);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&o.initialNavigation(),i.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Q1(e){return e.appInitializer.bind(e)}function Z1(e){return e.bootstrapListener.bind(e)}const i_=new ue("Router Initializer");class s_{constructor(){this.postTitle="",this.timestamp="",this.editedTimestamp="",this.postContent="",this.filename="",this.draft=!1}}var o_=Ns(767);class a_{}class u_{}class On{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof On?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(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new On;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof On?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const s=t.value;if(s){let o=this.headers.get(n);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class J1{encodeKey(t){return c_(t)}encodeValue(t){return c_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const X1=/%(\d[a-f0-9])/gi,e8={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function c_(e){return encodeURIComponent(e).replace(X1,(t,n)=>{var r;return null!==(r=e8[n])&&void 0!==r?r:t})}function l_(e){return`${e}`}class er{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new J1,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Y1(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,a]=-1==s?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,s)),t.decodeValue(i.slice(s+1))],u=n.get(o)||[];u.push(a),n.set(o,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new er({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(l_(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(l_(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class t8{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),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 d_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function f_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function h_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Rs{constructor(t,n,r,i){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function n8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new On),this.context||(this.context=new t8),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ag.set(y,t.setHeaders[y]),l)),t.setParams&&(d=Object.keys(t.setParams).reduce((g,y)=>g.set(y,t.setParams[y]),d)),new Rs(r,i,o,{params:d,headers:l,context:p,reportProgress:u,responseType:s,withCredentials:a})}}var Le=(()=>((Le=Le||{})[Le.Sent=0]="Sent",Le[Le.UploadProgress=1]="UploadProgress",Le[Le.ResponseHeader=2]="ResponseHeader",Le[Le.DownloadProgress=3]="DownloadProgress",Le[Le.Response=4]="Response",Le[Le.User=5]="User",Le))();class ud{constructor(t,n=200,r="OK"){this.headers=t.headers||new On,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cd extends ud{constructor(t={}){super(t),this.type=Le.ResponseHeader}clone(t={}){return new cd({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 Ea extends ud{constructor(t={}){super(t),this.type=Le.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ea({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 p_ extends ud{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 ld(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let g_=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let s;if(n instanceof Rs)s=n;else{let u,l;u=i.headers instanceof On?i.headers:new On(i.headers),i.params&&(l=i.params instanceof er?i.params:new er({fromObject:i.params})),s=new Rs(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=X(s).pipe(gi(u=>this.handler.handle(u)));if(n instanceof Rs||"events"===i.observe)return o;const a=o.pipe(vr(u=>u instanceof Ea));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(G(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(G(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new er).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,ld(i,r))}post(n,r,i={}){return this.request("POST",n,ld(i,r))}put(n,r,i={}){return this.request("PUT",n,ld(i,r))}}return e.\u0275fac=function(n){return new(n||e)(V(a_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class m_{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const y_=new ue("HTTP_INTERCEPTORS");let i8=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const s8=/^\)\]\}',?\n/;let v_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((y,D)=>i.setRequestHeader(y,D.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const y=n.detectContentTypeHeader();null!==y&&i.setRequestHeader("Content-Type",y)}if(n.responseType){const y=n.responseType.toLowerCase();i.responseType="json"!==y?y:"text"}const s=n.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const y=i.statusText||"OK",D=new On(i.getAllResponseHeaders()),S=function o8(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return o=new cd({headers:D,status:i.status,statusText:y,url:S}),o},u=()=>{let{headers:y,status:D,statusText:S,url:P}=a(),T=null;204!==D&&(T=void 0===i.response?i.responseText:i.response),0===D&&(D=T?200:0);let M=D>=200&&D<300;if("json"===n.responseType&&"string"==typeof T){const B=T;T=T.replace(s8,"");try{T=""!==T?JSON.parse(T):null}catch(J){T=B,M&&(M=!1,T={error:J,text:T})}}M?(r.next(new Ea({body:T,headers:y,status:D,statusText:S,url:P||void 0})),r.complete()):r.error(new p_({error:T,headers:y,status:D,statusText:S,url:P||void 0}))},l=y=>{const{url:D}=a(),S=new p_({error:y,status:i.status||0,statusText:i.statusText||"Unknown Error",url:D||void 0});r.error(S)};let d=!1;const p=y=>{d||(r.next(a()),d=!0);let D={type:Le.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),"text"===n.responseType&&!!i.responseText&&(D.partialText=i.responseText),r.next(D)},g=y=>{let D={type:Le.UploadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),r.next(D)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",p),null!==s&&i.upload&&i.upload.addEventListener("progress",g)),i.send(s),r.next({type:Le.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",p),null!==s&&i.upload&&i.upload.removeEventListener("progress",g)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Hy))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const dd=new ue("XSRF_COOKIE_NAME"),fd=new ue("XSRF_HEADER_NAME");class __{}let a8=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ry(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(ft),V(el),V(dd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),hd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(__),V(fd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),u8=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(y_,[]);this.chain=r.reduceRight((i,s)=>new m_(i,s),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(u_),V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),c8=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:hd,useClass:i8}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:dd,useValue:n.cookieName}:[],n.headerName?{provide:fd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:[hd,{provide:y_,useExisting:hd,multi:!0},{provide:__,useClass:a8},{provide:dd,useValue:"XSRF-TOKEN"},{provide:fd,useValue:"X-XSRF-TOKEN"}]}),e})(),l8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:[g_,{provide:a_,useClass:u8},v_,{provide:u_,useExisting:v_}],imports:[[c8.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Ma=(()=>{class e{constructor(n){this.httpClient=n}getSettings(){return this.httpClient.get("./assets/settings.json?latest="+this.generateTimestamp())}getArchive(){return this.httpClient.get("./assets/posts/archive.json?latest="+this.generateTimestamp())}getPost(n){return this.httpClient.get(n+"?latest="+this.generateTimestamp())}generateTimestamp(){return Math.round((new Date).getTime()/1e3).toString()}parseTimestamp(n){return new Date(1e3*Number(n)).toUTCString()}}return e.\u0275fac=function(n){return new(n||e)(V(g_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function d8(e,t){if(1&e&&(oe(0,"div",10)(1,"strong"),ge(2,"Posted on"),K(),ge(3),K()),2&e){const n=Ue().$implicit,r=Ue();se(3),Wn("\xa0",r.helperService.parseTimestamp(n.timestamp)," ")}}function f8(e,t){if(1&e&&(oe(0,"div",10)(1,"strong"),ge(2,"Edited on"),K(),ge(3),K()),2&e){const n=Ue().$implicit,r=Ue();se(3),Wn("\xa0",r.helperService.parseTimestamp(n.editedTimestamp)," ")}}function h8(e,t){if(1&e&&(oe(0,"div",4)(1,"div",5)(2,"a",6),ge(3),K(),Ve(4,d8,4,1,"div",7),Ve(5,f8,4,1,"div",7),K(),oe(6,"div",8),vt(7,"p",9),K()()),2&e){const n=t.$implicit,r=Ue();se(2),fr("href","./?post=",n.filename,"",Ot),se(1),In(n.postTitle),se(1),Ae("ngIf",!!n.timestamp),se(1),Ae("ngIf",!!n.editedTimestamp),se(2),Ae("innerHTML",r.generateHTML(n.postContent),Mu)}}function g8(e,t){if(1&e&&(oe(0,"div",13),ge(1),K()),2&e){const n=Ue().$implicit,r=Ue(2);se(1),In(r.parseTimestamp(n.timestamp))}}function m8(e,t){if(1&e&&(To(0),oe(1,"a",10)(2,"div",11),ge(3),Ve(4,g8,2,1,"div",12),K()(),Ao()),2&e){const n=t.$implicit;se(1),fr("href","./?post=",n.filename,"",Ot),se(2),Wn(" ",n.postTitle," "),se(1),Ae("ngIf",!!n.timestamp)}}function y8(e,t){if(1&e&&(oe(0,"div",8),Ve(1,m8,5,3,"ng-container",9),K()),2&e){const n=Ue();se(1),Ae("ngForOf",n.filteredArchives)}}function v8(e,t){1&e&&(oe(0,"div",14)(1,"a",15)(2,"button",16),ge(3,".HOME."),K()()())}function w8(e,t){1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Draft: Post not published."),K()())}function b8(e,t){if(1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Posted on"),K(),ge(3),K()),2&e){const n=Ue();se(3),Wn("\xa0",n.content.timestamp," ")}}function D8(e,t){if(1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Edited on"),K(),ge(3),K()),2&e){const n=Ue();se(3),Wn("\xa0",n.content.editedTimestamp," ")}}function C8(e,t){1&e&&vt(0,"img",17),2&e&&fr("src","./assets/",Ue(2).settings.avatar,"",Ot)}function E8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",19),K()),2&e&&dr("href",Ue(2).settings.twitter,Ot)}function M8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",20),K()),2&e&&dr("href",Ue(2).settings.mastodon,Ot)}function S8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",21),K()),2&e&&dr("href",Ue(2).settings.instagram,Ot)}function I8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",22),K()),2&e&&dr("href",Ue(2).settings.youtube,Ot)}function T8(e,t){if(1&e&&(oe(0,"div",9)(1,"div",10),Ve(2,C8,1,1,"img",11),vt(3,"br"),K(),oe(4,"div",12)(5,"div",13),ge(6),K(),oe(7,"div",14),ge(8),K(),oe(9,"div",15),Ve(10,E8,2,1,"a",16),Ve(11,M8,2,1,"a",16),Ve(12,S8,2,1,"a",16),Ve(13,I8,2,1,"a",16),K()()()),2&e){const n=Ue();se(2),Ae("ngIf",!!n.settings.avatar),se(4),In(n.settings.username),se(2),In(n.settings.bio),se(2),Ae("ngIf",!!n.settings.twitter),se(1),Ae("ngIf",!!n.settings.mastodon),se(1),Ae("ngIf",!!n.settings.instagram),se(1),Ae("ngIf",!!n.settings.youtube)}}function A8(e,t){1&e&&(oe(0,"div",23)(1,"a",24)(2,"button",25),ge(3,".HOME."),K()(),vt(4,"br"),oe(5,"a",26)(6,"button",27),ge(7," .ARCHIVES. "),K()()())}const P8=[{path:"",component:(()=>{class e{constructor(n){this.helperService=n,this.contents=[],this.archives=[],this.settings={},this.postsLoaded=0}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe({next:n=>{this.archives=n,this.settings.maxPosts=this.archives.length{this.loadPosts()}})}loadPosts(){this.postsLoaded{this.contents.push(n)},complete:()=>{this.continue()},error:n=>{this.continue(n)}})}continue(n){if(n){const r=new s_;r.postTitle="Aw shucks!",r.postContent="We couldn't load this post! Sorry! ("+n.status+" "+n.statusText+")",r.filename="not-found",this.contents.push(r)}this.postsLoaded+=1,this.loadPosts()}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-home"]],decls:5,vars:1,consts:[["class","card margins",4,"ngFor","ngForOf"],[1,"text-center"],["href","./?page=archives"],["type","button",1,"btn-fat","btn-primary","margins-sides","margin-y"],[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],[1,"timestamp"]],template:function(n,r){1&n&&(Ve(0,h8,8,5,"div",0),oe(1,"div",1)(2,"a",2)(3,"button",3),ge(4,".ARCHIVES."),K()()()),2&n&&Ae("ngForOf",r.contents)},directives:[Sl,vs],styles:[""]}),e})()},{path:"archives",component:(()=>{class e{constructor(n){this.helperService=n,this.urlParams=new URLSearchParams(window.location.search),this.archives=[],this.filteredArchives=[],this.settings={}}ngOnInit(){this.loadSettings()}loadSettings(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe(n=>{this.archives=n,this.filteredArchives=n})}parseTimestamp(n){return n?"("+this.helperService.parseTimestamp(n)+")":""}searchArchive(n,r){this.filteredArchives=n?this.archives.filter(i=>i.postTitle.toLowerCase().includes(n.toLowerCase())):this.archives,r&&(document.getElementById("search").value="")}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-archives"]],decls:12,vars:2,consts:[[1,"placard"],[1,"placard-title"],[1,"placard-text"],[1,"text-center"],["type","text","placeholder","Search by title",3,"keyup"],["type","button",1,"btn-action",3,"click"],["class","list-group",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"list-group"],[4,"ngFor","ngForOf"],[3,"href"],[1,"list-item","mouse-hover","title"],["class","timestamp",4,"ngIf"],[1,"timestamp"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn-secondary","btn-fat"]],template:function(n,r){1&n&&(oe(0,"div",0)(1,"div",1),ge(2,"Archives"),K(),oe(3,"div",2),ge(4,"Here you can find all the blog posts."),K()(),oe(5,"div",3)(6,"input",4),lr("keyup",function(s){return r.searchArchive(s.target.value)}),K(),ge(7," \xa0 "),oe(8,"button",5),lr("click",function(){return r.searchArchive("",!0)}),ge(9,"Clear"),K()(),Ve(10,y8,2,1,"div",6),Ve(11,v8,4,0,"div",7)),2&n&&(se(10),Ae("ngIf",r.filteredArchives.length>0),se(1),Ae("ngIf",!!r.settings.username))},directives:[vs,Sl],styles:["input[type=text][_ngcontent-%COMP%]{width:30%}@media only screen and (hover: none){input[type=text][_ngcontent-%COMP%]{width:55%}}"]}),e})()},{path:"posts",component:(()=>{class e{constructor(n,r){this.titleService=n,this.helperService=r,this.urlParams=new URLSearchParams(window.location.search),this.content=new s_,this.settings={}}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.urlParams.get("post")&&this.loadPost()}})}loadPost(){this.helperService.getPost("./assets/posts/"+this.urlParams.get("post")+".json").subscribe({next:n=>{this.content=n,this.content.timestamp=this.content.timestamp?this.helperService.parseTimestamp(n.timestamp):"",this.content.editedTimestamp=this.content.editedTimestamp?this.helperService.parseTimestamp(n.editedTimestamp):"",this.titleService.setTitle(this.content.postTitle+" ~ "+this.settings.blogTitle)},error:n=>{this.content.postTitle="Whoops!",this.content.postContent="We couldn't load this post! ("+n.status+")"}})}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ll),H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-posts"]],decls:11,vars:8,consts:[[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],["class","profile-box",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"timestamp"],[1,"profile-box"],[1,"avatar"],[3,"src",4,"ngIf"],[1,"bio-container"],[1,"bio-username"],[1,"bio-text"],[1,"social-networks"],["target","_blank",3,"href",4,"ngIf"],[3,"src"],["target","_blank",3,"href"],["src","./assets/social/twitter.png"],["src","./assets/social/mastodon.png"],["src","./assets/social/instagram.png"],["src","./assets/social/youtube.png"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn-secondary","btn-fat"],["href","./?page=archives"],["type","button",1,"margin-top","margins-sides","btn-primary","btn-fat"]],template:function(n,r){1&n&&(oe(0,"div",0)(1,"h4",1)(2,"a",2),ge(3),K(),Ve(4,w8,3,0,"div",3),Ve(5,b8,4,1,"div",3),Ve(6,D8,4,1,"div",3),K(),oe(7,"div",4),vt(8,"p",5),K()(),Ve(9,T8,14,7,"div",6),Ve(10,A8,8,0,"div",7)),2&n&&(se(2),fr("href","./?post=",r.content.filename,"",Ot),se(1),In(r.content.postTitle),se(1),Ae("ngIf",r.content.draft),se(1),Ae("ngIf",!!r.content.timestamp),se(1),Ae("ngIf",!!r.content.editedTimestamp),se(2),Ae("innerHTML",r.generateHTML(r.content.postContent),Mu),se(1),Ae("ngIf",!!r.settings.username),se(1),Ae("ngIf",r.settings.username))},directives:[vs],styles:[".profile-box[_ngcontent-%COMP%]{display:flex!important;padding:1rem;margin-top:5rem!important;margin:0 auto;background-color:#383838;box-shadow:#000a 4px 4px;width:50%}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0 1rem;display:inline-block;max-width:200px;max-height:150px}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border:1px solid black;max-width:200px;max-height:150px;display:block}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%]{padding-left:1rem}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-username[_ngcontent-%COMP%]{color:#fff;text-shadow:0px 0px 10px #00bc97;font-size:larger}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-text[_ngcontent-%COMP%]{color:#bbb}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .social-networks[_ngcontent-%COMP%]{padding-top:1rem}@media only screen and (hover: none){.margins[_ngcontent-%COMP%]{margin:unset}.profile-box[_ngcontent-%COMP%]{width:90%;margin:0 auto}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0}}"]}),e})()}];let k8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({imports:[[n_.forRoot(P8)],n_]}),e})();function R8(e,t){if(1&e){const n=function qp(){return I()}();oe(0,"div",1)(1,"a",2),ge(2),K(),oe(3,"a",3),ge(4,"Home"),K(),oe(5,"a",4),ge(6,"Archives"),K(),oe(7,"a",5),ge(8),K(),oe(9,"a",6),lr("click",function(){return function rf(e){return Q.lFrame.contextLView=e,e[8]}(n),Ue().openMenu()}),ge(10," \u2630\ufe0e "),K(),oe(11,"a",7),ge(12," Powered by"),vt(13,"br"),ge(14,"ngx-dumblog "),K()()}if(2&e){const n=Ue();se(2),In(n.settings.blogTitle),se(1),ko("active",n.isCurrentPage("/")),se(2),ko("active",n.isCurrentPage("/archives")),se(2),dr("href",n.settings.customUrl.url,Ot),se(1),In(n.settings.customUrl.title)}}let N8=(()=>{class e{constructor(n,r,i){this.router=n,this.helperService=r,this.titleService=i,this.settings={}}ngOnInit(){this.initialize()}initialize(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.titleService.setTitle(this.settings.blogTitle)}})}openMenu(){const n=document.getElementsByClassName("topnav")[0];"topnav"===n.className?n.className+=" responsive":n.className="topnav"}isCurrentPage(n){return this.router.url===n}}return e.\u0275fac=function(n){return new(n||e)(H(ht),H(Ma),H(Ll))},e.\u0275cmp=jn({type:e,selectors:[["app-navigation"]],decls:1,vars:1,consts:[["class","topnav",4,"ngIf"],[1,"topnav"],["href","./",1,"no-focus"],["href","./"],["href","./?page=archives"],["target","_blank",3,"href"],["href","javascript:void(0);",1,"icon",3,"click"],["href","http://github.com/pedroCX486/ngx-dumblog","target","_blank","rel","noopener",1,"right-align","no-focus"]],template:function(n,r){1&n&&Ve(0,R8,15,7,"div",0),2&n&&Ae("ngIf",!!r.settings.username)},directives:[vs],styles:[".topnav[_ngcontent-%COMP%]{min-height:48px;overflow:hidden;background-color:#333;position:relative;top:0;left:0;right:0;z-index:2;box-shadow:#000a 4px 4px}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left;display:block;color:#f2f2f2;text-align:center;padding:15px 16px;text-decoration:none;font-size:17px;border-right:#9f9f9f 1px solid}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{border-right:unset}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:not(.no-focus){background-color:#ddd;color:#000}.topnav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{background-color:#6100a2;color:#fff}.topnav[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 600px){.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:first-child){display:none}.topnav[_ngcontent-%COMP%] a.icon[_ngcontent-%COMP%]{float:right;display:block}.topnav.responsive[_ngcontent-%COMP%]{position:relative;top:0;left:0;right:0}.topnav.responsive[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:none;display:block;text-align:left}.topnav.responsive[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;right:0;top:0}}.right-align[_ngcontent-%COMP%]{float:right!important;font-size:8px!important;font-family:pc98}"]}),e})(),O8=(()=>{class e{constructor(n){this.router=n,this.urlParams=new URLSearchParams(window.location.search)}ngOnInit(){this.navigate()}navigate(){this.urlParams.get("post")?this.router.navigate(["/posts"],{queryParams:{post:this.urlParams.get("post")},skipLocationChange:!0}):"archives"===this.urlParams.get("page")?this.router.navigate(["/archives"],{skipLocationChange:!0}):this.router.navigate(["/"],{skipLocationChange:!0})}}return e.\u0275fac=function(n){return new(n||e)(H(ht))},e.\u0275cmp=jn({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(n,r){1&n&&vt(0,"app-navigation")(1,"router-outlet")},directives:[N8,Xl],styles:[""]}),e})(),F8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e,bootstrap:[O8]}),e.\u0275inj=en({providers:[],imports:[[y3,k8,l8]]}),e})();(function tI(){uy=!1})(),g3().bootstrapModule(F8).catch(e=>console.error(e))},767:function(Er,bi,Ns){var me;(function(){function pn(c){"use strict";var h={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===c)return JSON.parse(JSON.stringify(h));var f={};for(var v in h)h.hasOwnProperty(v)&&(f[v]=h[v].defaultValue);return f}var m={},et={},Ht={},Bt=pn(!0),Mr="vanilla",pt={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:pn(!0),allOn:function Di(){"use strict";var c=pn(!0),h={};for(var f in c)c.hasOwnProperty(f)&&(h[f]=!0);return h}()};function gn(c,h){"use strict";var f=h?"Error in "+h+" extension->":"Error in unnamed extension",v={valid:!0,error:""};m.helper.isArray(c)||(c=[c]);for(var b=0;b").replace(/&/g,"&")};var Ei=function(c,h,f,v){"use strict";var k,R,N,_,A,b=v||"",C=b.indexOf("g")>-1,w=new RegExp(h+"|"+f,"g"+b.replace(/g/g,"")),E=new RegExp(h,b.replace(/g/g,"")),O=[];do{for(k=0;N=w.exec(c);)if(E.test(N[0]))k++||(_=(R=w.lastIndex)-N[0].length);else if(k&&!--k&&(O.push({left:{start:_,end:R},match:{start:R,end:N.index},right:{start:N.index,end:A=N.index+N[0].length},wholeMatch:{start:_,end:A}}),!C))return O}while(k&&(w.lastIndex=R));return O};m.helper.matchRecursiveRegExp=function(c,h,f,v){"use strict";for(var b=Ei(c,h,f,v),C=[],w=0;w0){var k=[];0!==w[0].wholeMatch.start&&k.push(c.slice(0,w[0].wholeMatch.start));for(var R=0;R=0?v+(f||0):v},m.helper.splitAtIndex=function(c,h){"use strict";if(!m.helper.isString(c))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[c.substring(0,h),c.substring(h)]},m.helper.encodeEmailAddress=function(c){"use strict";var h=[function(f){return"&#"+f.charCodeAt(0)+";"},function(f){return"&#x"+f.charCodeAt(0).toString(16)+";"},function(f){return f}];return c.replace(/./g,function(f){if("@"===f)f=h[Math.floor(2*Math.random())](f);else{var v=Math.random();f=v>.9?h[2](f):v>.45?h[1](f):h[0](f)}return f})},m.helper.padEnd=function(h,f,v){"use strict";return f>>=0,v=String(v||" "),h.length>f?String(h):((f-=h.length)>v.length&&(v+=v.repeat(f/v.length)),String(h)+v.slice(0,f))},"undefined"==typeof console&&(console={warn:function(c){"use strict";alert(c)},log:function(c){"use strict";alert(c)},error:function(c){"use strict";throw c}}),m.helper.regexes={asteriskDashAndColon:/([*_:~])/g},m.helper.emojis={"+1":"\u{1f44d}","-1":"\u{1f44e}",100:"\u{1f4af}",1234:"\u{1f522}","1st_place_medal":"\u{1f947}","2nd_place_medal":"\u{1f948}","3rd_place_medal":"\u{1f949}","8ball":"\u{1f3b1}",a:"\u{1f170}\ufe0f",ab:"\u{1f18e}",abc:"\u{1f524}",abcd:"\u{1f521}",accept:"\u{1f251}",aerial_tramway:"\u{1f6a1}",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\u{1f47d}",ambulance:"\u{1f691}",amphora:"\u{1f3fa}",anchor:"\u2693\ufe0f",angel:"\u{1f47c}",anger:"\u{1f4a2}",angry:"\u{1f620}",anguished:"\u{1f627}",ant:"\u{1f41c}",apple:"\u{1f34e}",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\u{1f53d}",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\u{1f53c}",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\u{1f503}",arrows_counterclockwise:"\u{1f504}",art:"\u{1f3a8}",articulated_lorry:"\u{1f69b}",artificial_satellite:"\u{1f6f0}",astonished:"\u{1f632}",athletic_shoe:"\u{1f45f}",atm:"\u{1f3e7}",atom_symbol:"\u269b\ufe0f",avocado:"\u{1f951}",b:"\u{1f171}\ufe0f",baby:"\u{1f476}",baby_bottle:"\u{1f37c}",baby_chick:"\u{1f424}",baby_symbol:"\u{1f6bc}",back:"\u{1f519}",bacon:"\u{1f953}",badminton:"\u{1f3f8}",baggage_claim:"\u{1f6c4}",baguette_bread:"\u{1f956}",balance_scale:"\u2696\ufe0f",balloon:"\u{1f388}",ballot_box:"\u{1f5f3}",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\u{1f38d}",banana:"\u{1f34c}",bangbang:"\u203c\ufe0f",bank:"\u{1f3e6}",bar_chart:"\u{1f4ca}",barber:"\u{1f488}",baseball:"\u26be\ufe0f",basketball:"\u{1f3c0}",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\u{1f987}",bath:"\u{1f6c0}",bathtub:"\u{1f6c1}",battery:"\u{1f50b}",beach_umbrella:"\u{1f3d6}",bear:"\u{1f43b}",bed:"\u{1f6cf}",bee:"\u{1f41d}",beer:"\u{1f37a}",beers:"\u{1f37b}",beetle:"\u{1f41e}",beginner:"\u{1f530}",bell:"\u{1f514}",bellhop_bell:"\u{1f6ce}",bento:"\u{1f371}",biking_man:"\u{1f6b4}",bike:"\u{1f6b2}",biking_woman:"\u{1f6b4}‍\u2640\ufe0f",bikini:"\u{1f459}",biohazard:"\u2623\ufe0f",bird:"\u{1f426}",birthday:"\u{1f382}",black_circle:"\u26ab\ufe0f",black_flag:"\u{1f3f4}",black_heart:"\u{1f5a4}",black_joker:"\u{1f0cf}",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\u{1f532}",blonde_man:"\u{1f471}",blonde_woman:"\u{1f471}‍\u2640\ufe0f",blossom:"\u{1f33c}",blowfish:"\u{1f421}",blue_book:"\u{1f4d8}",blue_car:"\u{1f699}",blue_heart:"\u{1f499}",blush:"\u{1f60a}",boar:"\u{1f417}",boat:"\u26f5\ufe0f",bomb:"\u{1f4a3}",book:"\u{1f4d6}",bookmark:"\u{1f516}",bookmark_tabs:"\u{1f4d1}",books:"\u{1f4da}",boom:"\u{1f4a5}",boot:"\u{1f462}",bouquet:"\u{1f490}",bowing_man:"\u{1f647}",bow_and_arrow:"\u{1f3f9}",bowing_woman:"\u{1f647}‍\u2640\ufe0f",bowling:"\u{1f3b3}",boxing_glove:"\u{1f94a}",boy:"\u{1f466}",bread:"\u{1f35e}",bride_with_veil:"\u{1f470}",bridge_at_night:"\u{1f309}",briefcase:"\u{1f4bc}",broken_heart:"\u{1f494}",bug:"\u{1f41b}",building_construction:"\u{1f3d7}",bulb:"\u{1f4a1}",bullettrain_front:"\u{1f685}",bullettrain_side:"\u{1f684}",burrito:"\u{1f32f}",bus:"\u{1f68c}",business_suit_levitating:"\u{1f574}",busstop:"\u{1f68f}",bust_in_silhouette:"\u{1f464}",busts_in_silhouette:"\u{1f465}",butterfly:"\u{1f98b}",cactus:"\u{1f335}",cake:"\u{1f370}",calendar:"\u{1f4c6}",call_me_hand:"\u{1f919}",calling:"\u{1f4f2}",camel:"\u{1f42b}",camera:"\u{1f4f7}",camera_flash:"\u{1f4f8}",camping:"\u{1f3d5}",cancer:"\u264b\ufe0f",candle:"\u{1f56f}",candy:"\u{1f36c}",canoe:"\u{1f6f6}",capital_abcd:"\u{1f520}",capricorn:"\u2651\ufe0f",car:"\u{1f697}",card_file_box:"\u{1f5c3}",card_index:"\u{1f4c7}",card_index_dividers:"\u{1f5c2}",carousel_horse:"\u{1f3a0}",carrot:"\u{1f955}",cat:"\u{1f431}",cat2:"\u{1f408}",cd:"\u{1f4bf}",chains:"\u26d3",champagne:"\u{1f37e}",chart:"\u{1f4b9}",chart_with_downwards_trend:"\u{1f4c9}",chart_with_upwards_trend:"\u{1f4c8}",checkered_flag:"\u{1f3c1}",cheese:"\u{1f9c0}",cherries:"\u{1f352}",cherry_blossom:"\u{1f338}",chestnut:"\u{1f330}",chicken:"\u{1f414}",children_crossing:"\u{1f6b8}",chipmunk:"\u{1f43f}",chocolate_bar:"\u{1f36b}",christmas_tree:"\u{1f384}",church:"\u26ea\ufe0f",cinema:"\u{1f3a6}",circus_tent:"\u{1f3aa}",city_sunrise:"\u{1f307}",city_sunset:"\u{1f306}",cityscape:"\u{1f3d9}",cl:"\u{1f191}",clamp:"\u{1f5dc}",clap:"\u{1f44f}",clapper:"\u{1f3ac}",classical_building:"\u{1f3db}",clinking_glasses:"\u{1f942}",clipboard:"\u{1f4cb}",clock1:"\u{1f550}",clock10:"\u{1f559}",clock1030:"\u{1f565}",clock11:"\u{1f55a}",clock1130:"\u{1f566}",clock12:"\u{1f55b}",clock1230:"\u{1f567}",clock130:"\u{1f55c}",clock2:"\u{1f551}",clock230:"\u{1f55d}",clock3:"\u{1f552}",clock330:"\u{1f55e}",clock4:"\u{1f553}",clock430:"\u{1f55f}",clock5:"\u{1f554}",clock530:"\u{1f560}",clock6:"\u{1f555}",clock630:"\u{1f561}",clock7:"\u{1f556}",clock730:"\u{1f562}",clock8:"\u{1f557}",clock830:"\u{1f563}",clock9:"\u{1f558}",clock930:"\u{1f564}",closed_book:"\u{1f4d5}",closed_lock_with_key:"\u{1f510}",closed_umbrella:"\u{1f302}",cloud:"\u2601\ufe0f",cloud_with_lightning:"\u{1f329}",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\u{1f327}",cloud_with_snow:"\u{1f328}",clown_face:"\u{1f921}",clubs:"\u2663\ufe0f",cocktail:"\u{1f378}",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\u{1f630}",comet:"\u2604\ufe0f",computer:"\u{1f4bb}",computer_mouse:"\u{1f5b1}",confetti_ball:"\u{1f38a}",confounded:"\u{1f616}",confused:"\u{1f615}",congratulations:"\u3297\ufe0f",construction:"\u{1f6a7}",construction_worker_man:"\u{1f477}",construction_worker_woman:"\u{1f477}‍\u2640\ufe0f",control_knobs:"\u{1f39b}",convenience_store:"\u{1f3ea}",cookie:"\u{1f36a}",cool:"\u{1f192}",policeman:"\u{1f46e}",copyright:"\xa9\ufe0f",corn:"\u{1f33d}",couch_and_lamp:"\u{1f6cb}",couple:"\u{1f46b}",couple_with_heart_woman_man:"\u{1f491}",couple_with_heart_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f468}",couple_with_heart_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f469}",couplekiss_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f468}",couplekiss_man_woman:"\u{1f48f}",couplekiss_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f469}",cow:"\u{1f42e}",cow2:"\u{1f404}",cowboy_hat_face:"\u{1f920}",crab:"\u{1f980}",crayon:"\u{1f58d}",credit_card:"\u{1f4b3}",crescent_moon:"\u{1f319}",cricket:"\u{1f3cf}",crocodile:"\u{1f40a}",croissant:"\u{1f950}",crossed_fingers:"\u{1f91e}",crossed_flags:"\u{1f38c}",crossed_swords:"\u2694\ufe0f",crown:"\u{1f451}",cry:"\u{1f622}",crying_cat_face:"\u{1f63f}",crystal_ball:"\u{1f52e}",cucumber:"\u{1f952}",cupid:"\u{1f498}",curly_loop:"\u27b0",currency_exchange:"\u{1f4b1}",curry:"\u{1f35b}",custard:"\u{1f36e}",customs:"\u{1f6c3}",cyclone:"\u{1f300}",dagger:"\u{1f5e1}",dancer:"\u{1f483}",dancing_women:"\u{1f46f}",dancing_men:"\u{1f46f}‍\u2642\ufe0f",dango:"\u{1f361}",dark_sunglasses:"\u{1f576}",dart:"\u{1f3af}",dash:"\u{1f4a8}",date:"\u{1f4c5}",deciduous_tree:"\u{1f333}",deer:"\u{1f98c}",department_store:"\u{1f3ec}",derelict_house:"\u{1f3da}",desert:"\u{1f3dc}",desert_island:"\u{1f3dd}",desktop_computer:"\u{1f5a5}",male_detective:"\u{1f575}\ufe0f",diamond_shape_with_a_dot_inside:"\u{1f4a0}",diamonds:"\u2666\ufe0f",disappointed:"\u{1f61e}",disappointed_relieved:"\u{1f625}",dizzy:"\u{1f4ab}",dizzy_face:"\u{1f635}",do_not_litter:"\u{1f6af}",dog:"\u{1f436}",dog2:"\u{1f415}",dollar:"\u{1f4b5}",dolls:"\u{1f38e}",dolphin:"\u{1f42c}",door:"\u{1f6aa}",doughnut:"\u{1f369}",dove:"\u{1f54a}",dragon:"\u{1f409}",dragon_face:"\u{1f432}",dress:"\u{1f457}",dromedary_camel:"\u{1f42a}",drooling_face:"\u{1f924}",droplet:"\u{1f4a7}",drum:"\u{1f941}",duck:"\u{1f986}",dvd:"\u{1f4c0}","e-mail":"\u{1f4e7}",eagle:"\u{1f985}",ear:"\u{1f442}",ear_of_rice:"\u{1f33e}",earth_africa:"\u{1f30d}",earth_americas:"\u{1f30e}",earth_asia:"\u{1f30f}",egg:"\u{1f95a}",eggplant:"\u{1f346}",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\u{1f50c}",elephant:"\u{1f418}",email:"\u2709\ufe0f",end:"\u{1f51a}",envelope_with_arrow:"\u{1f4e9}",euro:"\u{1f4b6}",european_castle:"\u{1f3f0}",european_post_office:"\u{1f3e4}",evergreen_tree:"\u{1f332}",exclamation:"\u2757\ufe0f",expressionless:"\u{1f611}",eye:"\u{1f441}",eye_speech_bubble:"\u{1f441}‍\u{1f5e8}",eyeglasses:"\u{1f453}",eyes:"\u{1f440}",face_with_head_bandage:"\u{1f915}",face_with_thermometer:"\u{1f912}",fist_oncoming:"\u{1f44a}",factory:"\u{1f3ed}",fallen_leaf:"\u{1f342}",family_man_woman_boy:"\u{1f46a}",family_man_boy:"\u{1f468}‍\u{1f466}",family_man_boy_boy:"\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_girl:"\u{1f468}‍\u{1f467}",family_man_girl_boy:"\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_girl_girl:"\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_man_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}",family_man_man_boy_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_man_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}",family_man_man_girl_boy:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_man_girl_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_woman_boy_boy:"\u{1f468}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_man_woman_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}",family_man_woman_girl_boy:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_man_woman_girl_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_boy:"\u{1f469}‍\u{1f466}",family_woman_boy_boy:"\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_girl:"\u{1f469}‍\u{1f467}",family_woman_girl_boy:"\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_girl_girl:"\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_woman_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}",family_woman_woman_boy_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_woman_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}",family_woman_woman_girl_boy:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_woman_girl_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f467}",fast_forward:"\u23e9",fax:"\u{1f4e0}",fearful:"\u{1f628}",feet:"\u{1f43e}",female_detective:"\u{1f575}\ufe0f‍\u2640\ufe0f",ferris_wheel:"\u{1f3a1}",ferry:"\u26f4",field_hockey:"\u{1f3d1}",file_cabinet:"\u{1f5c4}",file_folder:"\u{1f4c1}",film_projector:"\u{1f4fd}",film_strip:"\u{1f39e}",fire:"\u{1f525}",fire_engine:"\u{1f692}",fireworks:"\u{1f386}",first_quarter_moon:"\u{1f313}",first_quarter_moon_with_face:"\u{1f31b}",fish:"\u{1f41f}",fish_cake:"\u{1f365}",fishing_pole_and_fish:"\u{1f3a3}",fist_raised:"\u270a",fist_left:"\u{1f91b}",fist_right:"\u{1f91c}",flags:"\u{1f38f}",flashlight:"\u{1f526}",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\u{1f6ec}",flight_departure:"\u{1f6eb}",floppy_disk:"\u{1f4be}",flower_playing_cards:"\u{1f3b4}",flushed:"\u{1f633}",fog:"\u{1f32b}",foggy:"\u{1f301}",football:"\u{1f3c8}",footprints:"\u{1f463}",fork_and_knife:"\u{1f374}",fountain:"\u26f2\ufe0f",fountain_pen:"\u{1f58b}",four_leaf_clover:"\u{1f340}",fox_face:"\u{1f98a}",framed_picture:"\u{1f5bc}",free:"\u{1f193}",fried_egg:"\u{1f373}",fried_shrimp:"\u{1f364}",fries:"\u{1f35f}",frog:"\u{1f438}",frowning:"\u{1f626}",frowning_face:"\u2639\ufe0f",frowning_man:"\u{1f64d}‍\u2642\ufe0f",frowning_woman:"\u{1f64d}",middle_finger:"\u{1f595}",fuelpump:"\u26fd\ufe0f",full_moon:"\u{1f315}",full_moon_with_face:"\u{1f31d}",funeral_urn:"\u26b1\ufe0f",game_die:"\u{1f3b2}",gear:"\u2699\ufe0f",gem:"\u{1f48e}",gemini:"\u264a\ufe0f",ghost:"\u{1f47b}",gift:"\u{1f381}",gift_heart:"\u{1f49d}",girl:"\u{1f467}",globe_with_meridians:"\u{1f310}",goal_net:"\u{1f945}",goat:"\u{1f410}",golf:"\u26f3\ufe0f",golfing_man:"\u{1f3cc}\ufe0f",golfing_woman:"\u{1f3cc}\ufe0f‍\u2640\ufe0f",gorilla:"\u{1f98d}",grapes:"\u{1f347}",green_apple:"\u{1f34f}",green_book:"\u{1f4d7}",green_heart:"\u{1f49a}",green_salad:"\u{1f957}",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\u{1f62c}",grin:"\u{1f601}",grinning:"\u{1f600}",guardsman:"\u{1f482}",guardswoman:"\u{1f482}‍\u2640\ufe0f",guitar:"\u{1f3b8}",gun:"\u{1f52b}",haircut_woman:"\u{1f487}",haircut_man:"\u{1f487}‍\u2642\ufe0f",hamburger:"\u{1f354}",hammer:"\u{1f528}",hammer_and_pick:"\u2692",hammer_and_wrench:"\u{1f6e0}",hamster:"\u{1f439}",hand:"\u270b",handbag:"\u{1f45c}",handshake:"\u{1f91d}",hankey:"\u{1f4a9}",hatched_chick:"\u{1f425}",hatching_chick:"\u{1f423}",headphones:"\u{1f3a7}",hear_no_evil:"\u{1f649}",heart:"\u2764\ufe0f",heart_decoration:"\u{1f49f}",heart_eyes:"\u{1f60d}",heart_eyes_cat:"\u{1f63b}",heartbeat:"\u{1f493}",heartpulse:"\u{1f497}",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\u{1f4b2}",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\u{1f681}",herb:"\u{1f33f}",hibiscus:"\u{1f33a}",high_brightness:"\u{1f506}",high_heel:"\u{1f460}",hocho:"\u{1f52a}",hole:"\u{1f573}",honey_pot:"\u{1f36f}",horse:"\u{1f434}",horse_racing:"\u{1f3c7}",hospital:"\u{1f3e5}",hot_pepper:"\u{1f336}",hotdog:"\u{1f32d}",hotel:"\u{1f3e8}",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\u{1f3e0}",house_with_garden:"\u{1f3e1}",houses:"\u{1f3d8}",hugs:"\u{1f917}",hushed:"\u{1f62f}",ice_cream:"\u{1f368}",ice_hockey:"\u{1f3d2}",ice_skate:"\u26f8",icecream:"\u{1f366}",id:"\u{1f194}",ideograph_advantage:"\u{1f250}",imp:"\u{1f47f}",inbox_tray:"\u{1f4e5}",incoming_envelope:"\u{1f4e8}",tipping_hand_woman:"\u{1f481}",information_source:"\u2139\ufe0f",innocent:"\u{1f607}",interrobang:"\u2049\ufe0f",iphone:"\u{1f4f1}",izakaya_lantern:"\u{1f3ee}",jack_o_lantern:"\u{1f383}",japan:"\u{1f5fe}",japanese_castle:"\u{1f3ef}",japanese_goblin:"\u{1f47a}",japanese_ogre:"\u{1f479}",jeans:"\u{1f456}",joy:"\u{1f602}",joy_cat:"\u{1f639}",joystick:"\u{1f579}",kaaba:"\u{1f54b}",key:"\u{1f511}",keyboard:"\u2328\ufe0f",keycap_ten:"\u{1f51f}",kick_scooter:"\u{1f6f4}",kimono:"\u{1f458}",kiss:"\u{1f48b}",kissing:"\u{1f617}",kissing_cat:"\u{1f63d}",kissing_closed_eyes:"\u{1f61a}",kissing_heart:"\u{1f618}",kissing_smiling_eyes:"\u{1f619}",kiwi_fruit:"\u{1f95d}",koala:"\u{1f428}",koko:"\u{1f201}",label:"\u{1f3f7}",large_blue_circle:"\u{1f535}",large_blue_diamond:"\u{1f537}",large_orange_diamond:"\u{1f536}",last_quarter_moon:"\u{1f317}",last_quarter_moon_with_face:"\u{1f31c}",latin_cross:"\u271d\ufe0f",laughing:"\u{1f606}",leaves:"\u{1f343}",ledger:"\u{1f4d2}",left_luggage:"\u{1f6c5}",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\u{1f34b}",leo:"\u264c\ufe0f",leopard:"\u{1f406}",level_slider:"\u{1f39a}",libra:"\u264e\ufe0f",light_rail:"\u{1f688}",link:"\u{1f517}",lion:"\u{1f981}",lips:"\u{1f444}",lipstick:"\u{1f484}",lizard:"\u{1f98e}",lock:"\u{1f512}",lock_with_ink_pen:"\u{1f50f}",lollipop:"\u{1f36d}",loop:"\u27bf",loud_sound:"\u{1f50a}",loudspeaker:"\u{1f4e2}",love_hotel:"\u{1f3e9}",love_letter:"\u{1f48c}",low_brightness:"\u{1f505}",lying_face:"\u{1f925}",m:"\u24c2\ufe0f",mag:"\u{1f50d}",mag_right:"\u{1f50e}",mahjong:"\u{1f004}\ufe0f",mailbox:"\u{1f4eb}",mailbox_closed:"\u{1f4ea}",mailbox_with_mail:"\u{1f4ec}",mailbox_with_no_mail:"\u{1f4ed}",man:"\u{1f468}",man_artist:"\u{1f468}‍\u{1f3a8}",man_astronaut:"\u{1f468}‍\u{1f680}",man_cartwheeling:"\u{1f938}‍\u2642\ufe0f",man_cook:"\u{1f468}‍\u{1f373}",man_dancing:"\u{1f57a}",man_facepalming:"\u{1f926}‍\u2642\ufe0f",man_factory_worker:"\u{1f468}‍\u{1f3ed}",man_farmer:"\u{1f468}‍\u{1f33e}",man_firefighter:"\u{1f468}‍\u{1f692}",man_health_worker:"\u{1f468}‍\u2695\ufe0f",man_in_tuxedo:"\u{1f935}",man_judge:"\u{1f468}‍\u2696\ufe0f",man_juggling:"\u{1f939}‍\u2642\ufe0f",man_mechanic:"\u{1f468}‍\u{1f527}",man_office_worker:"\u{1f468}‍\u{1f4bc}",man_pilot:"\u{1f468}‍\u2708\ufe0f",man_playing_handball:"\u{1f93e}‍\u2642\ufe0f",man_playing_water_polo:"\u{1f93d}‍\u2642\ufe0f",man_scientist:"\u{1f468}‍\u{1f52c}",man_shrugging:"\u{1f937}‍\u2642\ufe0f",man_singer:"\u{1f468}‍\u{1f3a4}",man_student:"\u{1f468}‍\u{1f393}",man_teacher:"\u{1f468}‍\u{1f3eb}",man_technologist:"\u{1f468}‍\u{1f4bb}",man_with_gua_pi_mao:"\u{1f472}",man_with_turban:"\u{1f473}",tangerine:"\u{1f34a}",mans_shoe:"\u{1f45e}",mantelpiece_clock:"\u{1f570}",maple_leaf:"\u{1f341}",martial_arts_uniform:"\u{1f94b}",mask:"\u{1f637}",massage_woman:"\u{1f486}",massage_man:"\u{1f486}‍\u2642\ufe0f",meat_on_bone:"\u{1f356}",medal_military:"\u{1f396}",medal_sports:"\u{1f3c5}",mega:"\u{1f4e3}",melon:"\u{1f348}",memo:"\u{1f4dd}",men_wrestling:"\u{1f93c}‍\u2642\ufe0f",menorah:"\u{1f54e}",mens:"\u{1f6b9}",metal:"\u{1f918}",metro:"\u{1f687}",microphone:"\u{1f3a4}",microscope:"\u{1f52c}",milk_glass:"\u{1f95b}",milky_way:"\u{1f30c}",minibus:"\u{1f690}",minidisc:"\u{1f4bd}",mobile_phone_off:"\u{1f4f4}",money_mouth_face:"\u{1f911}",money_with_wings:"\u{1f4b8}",moneybag:"\u{1f4b0}",monkey:"\u{1f412}",monkey_face:"\u{1f435}",monorail:"\u{1f69d}",moon:"\u{1f314}",mortar_board:"\u{1f393}",mosque:"\u{1f54c}",motor_boat:"\u{1f6e5}",motor_scooter:"\u{1f6f5}",motorcycle:"\u{1f3cd}",motorway:"\u{1f6e3}",mount_fuji:"\u{1f5fb}",mountain:"\u26f0",mountain_biking_man:"\u{1f6b5}",mountain_biking_woman:"\u{1f6b5}‍\u2640\ufe0f",mountain_cableway:"\u{1f6a0}",mountain_railway:"\u{1f69e}",mountain_snow:"\u{1f3d4}",mouse:"\u{1f42d}",mouse2:"\u{1f401}",movie_camera:"\u{1f3a5}",moyai:"\u{1f5ff}",mrs_claus:"\u{1f936}",muscle:"\u{1f4aa}",mushroom:"\u{1f344}",musical_keyboard:"\u{1f3b9}",musical_note:"\u{1f3b5}",musical_score:"\u{1f3bc}",mute:"\u{1f507}",nail_care:"\u{1f485}",name_badge:"\u{1f4db}",national_park:"\u{1f3de}",nauseated_face:"\u{1f922}",necktie:"\u{1f454}",negative_squared_cross_mark:"\u274e",nerd_face:"\u{1f913}",neutral_face:"\u{1f610}",new:"\u{1f195}",new_moon:"\u{1f311}",new_moon_with_face:"\u{1f31a}",newspaper:"\u{1f4f0}",newspaper_roll:"\u{1f5de}",next_track_button:"\u23ed",ng:"\u{1f196}",no_good_man:"\u{1f645}‍\u2642\ufe0f",no_good_woman:"\u{1f645}",night_with_stars:"\u{1f303}",no_bell:"\u{1f515}",no_bicycles:"\u{1f6b3}",no_entry:"\u26d4\ufe0f",no_entry_sign:"\u{1f6ab}",no_mobile_phones:"\u{1f4f5}",no_mouth:"\u{1f636}",no_pedestrians:"\u{1f6b7}",no_smoking:"\u{1f6ad}","non-potable_water":"\u{1f6b1}",nose:"\u{1f443}",notebook:"\u{1f4d3}",notebook_with_decorative_cover:"\u{1f4d4}",notes:"\u{1f3b6}",nut_and_bolt:"\u{1f529}",o:"\u2b55\ufe0f",o2:"\u{1f17e}\ufe0f",ocean:"\u{1f30a}",octopus:"\u{1f419}",oden:"\u{1f362}",office:"\u{1f3e2}",oil_drum:"\u{1f6e2}",ok:"\u{1f197}",ok_hand:"\u{1f44c}",ok_man:"\u{1f646}‍\u2642\ufe0f",ok_woman:"\u{1f646}",old_key:"\u{1f5dd}",older_man:"\u{1f474}",older_woman:"\u{1f475}",om:"\u{1f549}",on:"\u{1f51b}",oncoming_automobile:"\u{1f698}",oncoming_bus:"\u{1f68d}",oncoming_police_car:"\u{1f694}",oncoming_taxi:"\u{1f696}",open_file_folder:"\u{1f4c2}",open_hands:"\u{1f450}",open_mouth:"\u{1f62e}",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\u{1f4d9}",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\u{1f4e4}",owl:"\u{1f989}",ox:"\u{1f402}",package:"\u{1f4e6}",page_facing_up:"\u{1f4c4}",page_with_curl:"\u{1f4c3}",pager:"\u{1f4df}",paintbrush:"\u{1f58c}",palm_tree:"\u{1f334}",pancakes:"\u{1f95e}",panda_face:"\u{1f43c}",paperclip:"\u{1f4ce}",paperclips:"\u{1f587}",parasol_on_ground:"\u26f1",parking:"\u{1f17f}\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\u{1f6f3}",passport_control:"\u{1f6c2}",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\u{1f351}",peanuts:"\u{1f95c}",pear:"\u{1f350}",pen:"\u{1f58a}",pencil2:"\u270f\ufe0f",penguin:"\u{1f427}",pensive:"\u{1f614}",performing_arts:"\u{1f3ad}",persevere:"\u{1f623}",person_fencing:"\u{1f93a}",pouting_woman:"\u{1f64e}",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\u{1f437}",pig2:"\u{1f416}",pig_nose:"\u{1f43d}",pill:"\u{1f48a}",pineapple:"\u{1f34d}",ping_pong:"\u{1f3d3}",pisces:"\u2653\ufe0f",pizza:"\u{1f355}",place_of_worship:"\u{1f6d0}",plate_with_cutlery:"\u{1f37d}",play_or_pause_button:"\u23ef",point_down:"\u{1f447}",point_left:"\u{1f448}",point_right:"\u{1f449}",point_up:"\u261d\ufe0f",point_up_2:"\u{1f446}",police_car:"\u{1f693}",policewoman:"\u{1f46e}‍\u2640\ufe0f",poodle:"\u{1f429}",popcorn:"\u{1f37f}",post_office:"\u{1f3e3}",postal_horn:"\u{1f4ef}",postbox:"\u{1f4ee}",potable_water:"\u{1f6b0}",potato:"\u{1f954}",pouch:"\u{1f45d}",poultry_leg:"\u{1f357}",pound:"\u{1f4b7}",rage:"\u{1f621}",pouting_cat:"\u{1f63e}",pouting_man:"\u{1f64e}‍\u2642\ufe0f",pray:"\u{1f64f}",prayer_beads:"\u{1f4ff}",pregnant_woman:"\u{1f930}",previous_track_button:"\u23ee",prince:"\u{1f934}",princess:"\u{1f478}",printer:"\u{1f5a8}",purple_heart:"\u{1f49c}",purse:"\u{1f45b}",pushpin:"\u{1f4cc}",put_litter_in_its_place:"\u{1f6ae}",question:"\u2753",rabbit:"\u{1f430}",rabbit2:"\u{1f407}",racehorse:"\u{1f40e}",racing_car:"\u{1f3ce}",radio:"\u{1f4fb}",radio_button:"\u{1f518}",radioactive:"\u2622\ufe0f",railway_car:"\u{1f683}",railway_track:"\u{1f6e4}",rainbow:"\u{1f308}",rainbow_flag:"\u{1f3f3}\ufe0f‍\u{1f308}",raised_back_of_hand:"\u{1f91a}",raised_hand_with_fingers_splayed:"\u{1f590}",raised_hands:"\u{1f64c}",raising_hand_woman:"\u{1f64b}",raising_hand_man:"\u{1f64b}‍\u2642\ufe0f",ram:"\u{1f40f}",ramen:"\u{1f35c}",rat:"\u{1f400}",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\u{1f534}",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\u{1f60c}",reminder_ribbon:"\u{1f397}",repeat:"\u{1f501}",repeat_one:"\u{1f502}",rescue_worker_helmet:"\u26d1",restroom:"\u{1f6bb}",revolving_hearts:"\u{1f49e}",rewind:"\u23ea",rhinoceros:"\u{1f98f}",ribbon:"\u{1f380}",rice:"\u{1f35a}",rice_ball:"\u{1f359}",rice_cracker:"\u{1f358}",rice_scene:"\u{1f391}",right_anger_bubble:"\u{1f5ef}",ring:"\u{1f48d}",robot:"\u{1f916}",rocket:"\u{1f680}",rofl:"\u{1f923}",roll_eyes:"\u{1f644}",roller_coaster:"\u{1f3a2}",rooster:"\u{1f413}",rose:"\u{1f339}",rosette:"\u{1f3f5}",rotating_light:"\u{1f6a8}",round_pushpin:"\u{1f4cd}",rowing_man:"\u{1f6a3}",rowing_woman:"\u{1f6a3}‍\u2640\ufe0f",rugby_football:"\u{1f3c9}",running_man:"\u{1f3c3}",running_shirt_with_sash:"\u{1f3bd}",running_woman:"\u{1f3c3}‍\u2640\ufe0f",sa:"\u{1f202}\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\u{1f376}",sandal:"\u{1f461}",santa:"\u{1f385}",satellite:"\u{1f4e1}",saxophone:"\u{1f3b7}",school:"\u{1f3eb}",school_satchel:"\u{1f392}",scissors:"\u2702\ufe0f",scorpion:"\u{1f982}",scorpius:"\u264f\ufe0f",scream:"\u{1f631}",scream_cat:"\u{1f640}",scroll:"\u{1f4dc}",seat:"\u{1f4ba}",secret:"\u3299\ufe0f",see_no_evil:"\u{1f648}",seedling:"\u{1f331}",selfie:"\u{1f933}",shallow_pan_of_food:"\u{1f958}",shamrock:"\u2618\ufe0f",shark:"\u{1f988}",shaved_ice:"\u{1f367}",sheep:"\u{1f411}",shell:"\u{1f41a}",shield:"\u{1f6e1}",shinto_shrine:"\u26e9",ship:"\u{1f6a2}",shirt:"\u{1f455}",shopping:"\u{1f6cd}",shopping_cart:"\u{1f6d2}",shower:"\u{1f6bf}",shrimp:"\u{1f990}",signal_strength:"\u{1f4f6}",six_pointed_star:"\u{1f52f}",ski:"\u{1f3bf}",skier:"\u26f7",skull:"\u{1f480}",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\u{1f634}",sleeping_bed:"\u{1f6cc}",sleepy:"\u{1f62a}",slightly_frowning_face:"\u{1f641}",slightly_smiling_face:"\u{1f642}",slot_machine:"\u{1f3b0}",small_airplane:"\u{1f6e9}",small_blue_diamond:"\u{1f539}",small_orange_diamond:"\u{1f538}",small_red_triangle:"\u{1f53a}",small_red_triangle_down:"\u{1f53b}",smile:"\u{1f604}",smile_cat:"\u{1f638}",smiley:"\u{1f603}",smiley_cat:"\u{1f63a}",smiling_imp:"\u{1f608}",smirk:"\u{1f60f}",smirk_cat:"\u{1f63c}",smoking:"\u{1f6ac}",snail:"\u{1f40c}",snake:"\u{1f40d}",sneezing_face:"\u{1f927}",snowboarder:"\u{1f3c2}",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\u{1f62d}",soccer:"\u26bd\ufe0f",soon:"\u{1f51c}",sos:"\u{1f198}",sound:"\u{1f509}",space_invader:"\u{1f47e}",spades:"\u2660\ufe0f",spaghetti:"\u{1f35d}",sparkle:"\u2747\ufe0f",sparkler:"\u{1f387}",sparkles:"\u2728",sparkling_heart:"\u{1f496}",speak_no_evil:"\u{1f64a}",speaker:"\u{1f508}",speaking_head:"\u{1f5e3}",speech_balloon:"\u{1f4ac}",speedboat:"\u{1f6a4}",spider:"\u{1f577}",spider_web:"\u{1f578}",spiral_calendar:"\u{1f5d3}",spiral_notepad:"\u{1f5d2}",spoon:"\u{1f944}",squid:"\u{1f991}",stadium:"\u{1f3df}",star:"\u2b50\ufe0f",star2:"\u{1f31f}",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\u{1f320}",station:"\u{1f689}",statue_of_liberty:"\u{1f5fd}",steam_locomotive:"\u{1f682}",stew:"\u{1f372}",stop_button:"\u23f9",stop_sign:"\u{1f6d1}",stopwatch:"\u23f1",straight_ruler:"\u{1f4cf}",strawberry:"\u{1f353}",stuck_out_tongue:"\u{1f61b}",stuck_out_tongue_closed_eyes:"\u{1f61d}",stuck_out_tongue_winking_eye:"\u{1f61c}",studio_microphone:"\u{1f399}",stuffed_flatbread:"\u{1f959}",sun_behind_large_cloud:"\u{1f325}",sun_behind_rain_cloud:"\u{1f326}",sun_behind_small_cloud:"\u{1f324}",sun_with_face:"\u{1f31e}",sunflower:"\u{1f33b}",sunglasses:"\u{1f60e}",sunny:"\u2600\ufe0f",sunrise:"\u{1f305}",sunrise_over_mountains:"\u{1f304}",surfing_man:"\u{1f3c4}",surfing_woman:"\u{1f3c4}‍\u2640\ufe0f",sushi:"\u{1f363}",suspension_railway:"\u{1f69f}",sweat:"\u{1f613}",sweat_drops:"\u{1f4a6}",sweat_smile:"\u{1f605}",sweet_potato:"\u{1f360}",swimming_man:"\u{1f3ca}",swimming_woman:"\u{1f3ca}‍\u2640\ufe0f",symbols:"\u{1f523}",synagogue:"\u{1f54d}",syringe:"\u{1f489}",taco:"\u{1f32e}",tada:"\u{1f389}",tanabata_tree:"\u{1f38b}",taurus:"\u2649\ufe0f",taxi:"\u{1f695}",tea:"\u{1f375}",telephone_receiver:"\u{1f4de}",telescope:"\u{1f52d}",tennis:"\u{1f3be}",tent:"\u26fa\ufe0f",thermometer:"\u{1f321}",thinking:"\u{1f914}",thought_balloon:"\u{1f4ad}",ticket:"\u{1f3ab}",tickets:"\u{1f39f}",tiger:"\u{1f42f}",tiger2:"\u{1f405}",timer_clock:"\u23f2",tipping_hand_man:"\u{1f481}‍\u2642\ufe0f",tired_face:"\u{1f62b}",tm:"\u2122\ufe0f",toilet:"\u{1f6bd}",tokyo_tower:"\u{1f5fc}",tomato:"\u{1f345}",tongue:"\u{1f445}",top:"\u{1f51d}",tophat:"\u{1f3a9}",tornado:"\u{1f32a}",trackball:"\u{1f5b2}",tractor:"\u{1f69c}",traffic_light:"\u{1f6a5}",train:"\u{1f68b}",train2:"\u{1f686}",tram:"\u{1f68a}",triangular_flag_on_post:"\u{1f6a9}",triangular_ruler:"\u{1f4d0}",trident:"\u{1f531}",triumph:"\u{1f624}",trolleybus:"\u{1f68e}",trophy:"\u{1f3c6}",tropical_drink:"\u{1f379}",tropical_fish:"\u{1f420}",truck:"\u{1f69a}",trumpet:"\u{1f3ba}",tulip:"\u{1f337}",tumbler_glass:"\u{1f943}",turkey:"\u{1f983}",turtle:"\u{1f422}",tv:"\u{1f4fa}",twisted_rightwards_arrows:"\u{1f500}",two_hearts:"\u{1f495}",two_men_holding_hands:"\u{1f46c}",two_women_holding_hands:"\u{1f46d}",u5272:"\u{1f239}",u5408:"\u{1f234}",u55b6:"\u{1f23a}",u6307:"\u{1f22f}\ufe0f",u6708:"\u{1f237}\ufe0f",u6709:"\u{1f236}",u6e80:"\u{1f235}",u7121:"\u{1f21a}\ufe0f",u7533:"\u{1f238}",u7981:"\u{1f232}",u7a7a:"\u{1f233}",umbrella:"\u2614\ufe0f",unamused:"\u{1f612}",underage:"\u{1f51e}",unicorn:"\u{1f984}",unlock:"\u{1f513}",up:"\u{1f199}",upside_down_face:"\u{1f643}",v:"\u270c\ufe0f",vertical_traffic_light:"\u{1f6a6}",vhs:"\u{1f4fc}",vibration_mode:"\u{1f4f3}",video_camera:"\u{1f4f9}",video_game:"\u{1f3ae}",violin:"\u{1f3bb}",virgo:"\u264d\ufe0f",volcano:"\u{1f30b}",volleyball:"\u{1f3d0}",vs:"\u{1f19a}",vulcan_salute:"\u{1f596}",walking_man:"\u{1f6b6}",walking_woman:"\u{1f6b6}‍\u2640\ufe0f",waning_crescent_moon:"\u{1f318}",waning_gibbous_moon:"\u{1f316}",warning:"\u26a0\ufe0f",wastebasket:"\u{1f5d1}",watch:"\u231a\ufe0f",water_buffalo:"\u{1f403}",watermelon:"\u{1f349}",wave:"\u{1f44b}",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\u{1f312}",wc:"\u{1f6be}",weary:"\u{1f629}",wedding:"\u{1f492}",weight_lifting_man:"\u{1f3cb}\ufe0f",weight_lifting_woman:"\u{1f3cb}\ufe0f‍\u2640\ufe0f",whale:"\u{1f433}",whale2:"\u{1f40b}",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\u{1f3f3}\ufe0f",white_flower:"\u{1f4ae}",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\u{1f533}",wilted_flower:"\u{1f940}",wind_chime:"\u{1f390}",wind_face:"\u{1f32c}",wine_glass:"\u{1f377}",wink:"\u{1f609}",wolf:"\u{1f43a}",woman:"\u{1f469}",woman_artist:"\u{1f469}‍\u{1f3a8}",woman_astronaut:"\u{1f469}‍\u{1f680}",woman_cartwheeling:"\u{1f938}‍\u2640\ufe0f",woman_cook:"\u{1f469}‍\u{1f373}",woman_facepalming:"\u{1f926}‍\u2640\ufe0f",woman_factory_worker:"\u{1f469}‍\u{1f3ed}",woman_farmer:"\u{1f469}‍\u{1f33e}",woman_firefighter:"\u{1f469}‍\u{1f692}",woman_health_worker:"\u{1f469}‍\u2695\ufe0f",woman_judge:"\u{1f469}‍\u2696\ufe0f",woman_juggling:"\u{1f939}‍\u2640\ufe0f",woman_mechanic:"\u{1f469}‍\u{1f527}",woman_office_worker:"\u{1f469}‍\u{1f4bc}",woman_pilot:"\u{1f469}‍\u2708\ufe0f",woman_playing_handball:"\u{1f93e}‍\u2640\ufe0f",woman_playing_water_polo:"\u{1f93d}‍\u2640\ufe0f",woman_scientist:"\u{1f469}‍\u{1f52c}",woman_shrugging:"\u{1f937}‍\u2640\ufe0f",woman_singer:"\u{1f469}‍\u{1f3a4}",woman_student:"\u{1f469}‍\u{1f393}",woman_teacher:"\u{1f469}‍\u{1f3eb}",woman_technologist:"\u{1f469}‍\u{1f4bb}",woman_with_turban:"\u{1f473}‍\u2640\ufe0f",womans_clothes:"\u{1f45a}",womans_hat:"\u{1f452}",women_wrestling:"\u{1f93c}‍\u2640\ufe0f",womens:"\u{1f6ba}",world_map:"\u{1f5fa}",worried:"\u{1f61f}",wrench:"\u{1f527}",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\u{1f49b}",yen:"\u{1f4b4}",yin_yang:"\u262f\ufe0f",yum:"\u{1f60b}",zap:"\u26a1\ufe0f",zipper_mouth_face:"\u{1f910}",zzz:"\u{1f4a4}",octocat:':octocat:',showdown:"S"},m.Converter=function(c){"use strict";var h={},f=[],v=[],b={},C=Mr,w={parsed:{},raw:"",format:""};function O(_,A){if(A=A||null,m.helper.isString(_)){if(A=_=m.helper.stdExtName(_),m.extensions[_])return console.warn("DEPRECATION WARNING: "+_+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function k(_,A){"function"==typeof _&&(_=_(new m.Converter)),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U)switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(m.extensions[_],_);if(m.helper.isUndefined(Ht[_]))throw Error('Extension "'+_+'" could not be loaded. It was either not found or is not a valid extension.');_=Ht[_]}"function"==typeof _&&(_=_()),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U){switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U])}if(_[U].hasOwnProperty("listeners"))for(var de in _[U].listeners)_[U].listeners.hasOwnProperty(de)&&R(de,_[U].listeners[de])}}function R(_,A){if(!m.helper.isString(_))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof _+" given");if("function"!=typeof A)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof A+" given");b.hasOwnProperty(_)||(b[_]=[]),b[_].push(A)}!function E(){for(var _ in c=c||{},Bt)Bt.hasOwnProperty(_)&&(h[_]=Bt[_]);if("object"!=typeof c)throw Error("Converter expects the passed parameter to be an object, but "+typeof c+" was passed instead.");for(var A in c)c.hasOwnProperty(A)&&(h[A]=c[A]);h.extensions&&m.helper.forEach(h.extensions,O)}(),this._dispatch=function(A,L,U,de){if(b.hasOwnProperty(A))for(var j=0;j[ \t]+\xa8NBSP;<"),!A){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");A=window.document}var L=A.createElement("div");L.innerHTML=_;var U={preList:function ye(le){for(var Qe=le.querySelectorAll("pre"),G=[],Ze=0;Ze'}else G.push(Qe[Ze].innerHTML),Qe[Ze].innerHTML="",Qe[Ze].setAttribute("prenum",Ze.toString());return G}(L)};!function We(le){for(var Qe=0;Qe? ?(['"].*['"])?\)$/m)>-1)E="";else if(!E){if(w||(w=C.toLowerCase().replace(/ ?\n/g," ")),E="#"+w,m.helper.isUndefined(f.gUrls[w]))return b;E=f.gUrls[w],m.helper.isUndefined(f.gTitles[w])||(R=f.gTitles[w])}var N='"+C+""};return c=(c=(c=(c=(c=f.converter._dispatch("anchors.before",c,h,f)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[([^\[\]]+)]()()()()()/g,v),h.ghMentions&&(c=c.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(b,C,w,E,O){if("\\"===w)return C+E;if(!m.helper.isString(h.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var k=h.ghMentionsLink.replace(/\{u}/g,O),R="";return h.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),C+'"+E+""})),f.converter._dispatch("anchors.after",c,h,f)});var Sa=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,Ia=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,Ta=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,Mi=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,mn=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,Fn=function(c){"use strict";return function(h,f,v,b,C,w,E){var O=v=v.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback),k="",R="",N=f||"",_=E||"";return/^www\./i.test(v)&&(v=v.replace(/^www\./i,"http://www.")),c.excludeTrailingPunctuationFromURLs&&w&&(k=w),c.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),N+'"+O+""+k+_}},Os=function(c,h){"use strict";return function(f,v,b){var C="mailto:";return v=v||"",b=m.subParser("unescapeSpecialChars")(b,c,h),c.encodeEmails?(C=m.helper.encodeEmailAddress(C+b),b=m.helper.encodeEmailAddress(b)):C+=b,v+''+b+""}};m.subParser("autoLinks",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("autoLinks.before",c,h,f)).replace(Ta,Fn(h))).replace(mn,Os(h,f)),f.converter._dispatch("autoLinks.after",c,h,f)}),m.subParser("simplifiedAutoLinks",function(c,h,f){"use strict";return h.simplifiedAutoLink&&(c=(c=(c=f.converter._dispatch("simplifiedAutoLinks.before",c,h,f)).replace(h.excludeTrailingPunctuationFromURLs?Ia:Sa,Fn(h))).replace(Mi,Os(h,f)),c=f.converter._dispatch("simplifiedAutoLinks.after",c,h,f)),c}),m.subParser("blockGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("blockGamut.before",c,h,f),c=m.subParser("blockQuotes")(c,h,f),c=m.subParser("headers")(c,h,f),c=m.subParser("horizontalRule")(c,h,f),c=m.subParser("lists")(c,h,f),c=m.subParser("codeBlocks")(c,h,f),c=m.subParser("tables")(c,h,f),c=m.subParser("hashHTMLBlocks")(c,h,f),c=m.subParser("paragraphs")(c,h,f),f.converter._dispatch("blockGamut.after",c,h,f)}),m.subParser("blockQuotes",function(c,h,f){"use strict";c=f.converter._dispatch("blockQuotes.before",c,h,f);var v=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return h.splitAdjacentBlockquotes&&(v=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),c=(c+="\n\n").replace(v,function(b){return b=(b=(b=b.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/\xa80/g,"")).replace(/^[ \t]+$/gm,""),b=m.subParser("githubCodeBlocks")(b,h,f),b=(b=(b=m.subParser("blockGamut")(b,h,f)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(C,w){var E=w;return(E=E.replace(/^  /gm,"\xa80")).replace(/\xa80/g,"")}),m.subParser("hashBlock")("
\n"+b+"\n
",h,f)}),f.converter._dispatch("blockQuotes.after",c,h,f)}),m.subParser("codeBlocks",function(c,h,f){"use strict";return c=f.converter._dispatch("codeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(b,C,w){var E=C,O=w,k="\n";return E=m.subParser("outdent")(E,h,f),E=m.subParser("encodeCode")(E,h,f),E=(E=(E=m.subParser("detab")(E,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""),h.omitExtraWLInCodeBlocks&&(k=""),E="
"+E+k+"
",m.subParser("hashBlock")(E,h,f)+O})).replace(/\xa80/,""),f.converter._dispatch("codeBlocks.after",c,h,f)}),m.subParser("codeSpans",function(c,h,f){"use strict";return void 0===(c=f.converter._dispatch("codeSpans.before",c,h,f))&&(c=""),c=c.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(v,b,C,w){var E=w;return E=(E=E.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),E=b+""+(E=m.subParser("encodeCode")(E,h,f))+"",m.subParser("hashHTMLSpans")(E,h,f)}),f.converter._dispatch("codeSpans.after",c,h,f)}),m.subParser("completeHTMLDocument",function(c,h,f){"use strict";if(!h.completeHTMLDocument)return c;c=f.converter._dispatch("completeHTMLDocument.before",c,h,f);var v="html",b="\n",C="",w='\n',E="",O="";for(var k in void 0!==f.metadata.parsed.doctype&&(b="\n",("html"===(v=f.metadata.parsed.doctype.toString().toLowerCase())||"html5"===v)&&(w='')),f.metadata.parsed)if(f.metadata.parsed.hasOwnProperty(k))switch(k.toLowerCase()){case"doctype":break;case"title":C=""+f.metadata.parsed.title+"\n";break;case"charset":w="html"===v||"html5"===v?'\n':'\n';break;case"language":case"lang":E=' lang="'+f.metadata.parsed[k]+'"',O+='\n';break;default:O+='\n'}return c=b+"\n\n"+C+w+O+"\n\n"+c.trim()+"\n\n",f.converter._dispatch("completeHTMLDocument.after",c,h,f)}),m.subParser("detab",function(c,h,f){"use strict";return c=(c=(c=(c=(c=(c=f.converter._dispatch("detab.before",c,h,f)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"\xa8A\xa8B")).replace(/\xa8B(.+?)\xa8A/g,function(v,b){for(var C=b,w=4-C.length%4,E=0;E/g,">"),f.converter._dispatch("encodeAmpsAndAngles.after",c,h,f)}),m.subParser("encodeBackslashEscapes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("encodeBackslashEscapes.before",c,h,f)).replace(/\\(\\)/g,m.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeBackslashEscapes.after",c,h,f)}),m.subParser("encodeCode",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("encodeCode.before",c,h,f)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeCode.after",c,h,f)}),m.subParser("escapeSpecialCharsWithinTagAttributes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",c,h,f)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(C){return C.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(C){return C.replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)}),f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",c,h,f)}),m.subParser("githubCodeBlocks",function(c,h,f){"use strict";return h.ghCodeBlocks?(c=f.converter._dispatch("githubCodeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(v,b,C,w){var E=h.omitExtraWLInCodeBlocks?"":"\n";return w=m.subParser("encodeCode")(w,h,f),w="
"+(w=(w=(w=m.subParser("detab")(w,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+E+"
",w=m.subParser("hashBlock")(w,h,f),"\n\n\xa8G"+(f.ghCodeBlocks.push({text:v,codeblock:w})-1)+"G\n\n"})).replace(/\xa80/,""),f.converter._dispatch("githubCodeBlocks.after",c,h,f)):c}),m.subParser("hashBlock",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("hashBlock.before",c,h,f)).replace(/(^\n+|\n+$)/g,""),c="\n\n\xa8K"+(f.gHtmlBlocks.push(c)-1)+"K\n\n",f.converter._dispatch("hashBlock.after",c,h,f)}),m.subParser("hashCodeTags",function(c,h,f){"use strict";return c=f.converter._dispatch("hashCodeTags.before",c,h,f),c=m.helper.replaceRecursiveRegExp(c,function(b,C,w,E){var O=w+m.subParser("encodeCode")(C,h,f)+E;return"\xa8C"+(f.gHtmlSpans.push(O)-1)+"C"},"]*>","","gim"),f.converter._dispatch("hashCodeTags.after",c,h,f)}),m.subParser("hashElement",function(c,h,f){"use strict";return function(v,b){var C=b;return C=(C=(C=C.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n\xa8K"+(f.gHtmlBlocks.push(C)-1)+"K\n\n"}}),m.subParser("hashHTMLBlocks",function(c,h,f){"use strict";c=f.converter._dispatch("hashHTMLBlocks.before",c,h,f);var v=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],b=function(_,A,L,U){var de=_;return-1!==L.search(/\bmarkdown\b/)&&(de=L+f.converter.makeHtml(A)+U),"\n\n\xa8K"+(f.gHtmlBlocks.push(de)-1)+"K\n\n"};h.backslashEscapesHTMLTags&&(c=c.replace(/\\<(\/?[^>]+?)>/g,function(_,A){return"<"+A+">"}));for(var C=0;C]*>)","im"),O="<"+v[C]+"\\b[^>]*>",k="";-1!==(w=m.helper.regexIndexOf(c,E));){var R=m.helper.splitAtIndex(c,w),N=m.helper.replaceRecursiveRegExp(R[1],b,O,k,"im");if(N===R[1])break;c=R[0].concat(N)}return c=c.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),c=(c=m.helper.replaceRecursiveRegExp(c,function(_){return"\n\n\xa8K"+(f.gHtmlBlocks.push(_)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),f.converter._dispatch("hashHTMLBlocks.after",c,h,f)}),m.subParser("hashHTMLSpans",function(c,h,f){"use strict";function v(b){return"\xa8C"+(f.gHtmlSpans.push(b)-1)+"C"}return c=(c=(c=(c=(c=f.converter._dispatch("hashHTMLSpans.before",c,h,f)).replace(/<[^>]+?\/>/gi,function(b){return v(b)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(b){return v(b)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(b){return v(b)})).replace(/<[^>]+?>/gi,function(b){return v(b)}),f.converter._dispatch("hashHTMLSpans.after",c,h,f)}),m.subParser("unhashHTMLSpans",function(c,h,f){"use strict";c=f.converter._dispatch("unhashHTMLSpans.before",c,h,f);for(var v=0;v]*>\\s*]*>","^ {0,3}\\s*
","gim"),f.converter._dispatch("hashPreCodeTags.after",c,h,f)}),m.subParser("headers",function(c,h,f){"use strict";c=f.converter._dispatch("headers.before",c,h,f);var v=isNaN(parseInt(h.headerLevelStart))?1:parseInt(h.headerLevelStart),C=h.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function E(O){var k,R;if(h.customizedHeaderId){var N=O.match(/\{([^{]+?)}\s*$/);N&&N[1]&&(O=N[1])}return k=O,R=m.helper.isString(h.prefixHeaderId)?h.prefixHeaderId:!0===h.prefixHeaderId?"section-":"",h.rawPrefixHeaderId||(k=R+k),k=h.ghCompatibleHeaderId?k.replace(/ /g,"-").replace(/&/g,"").replace(/\xa8T/g,"").replace(/\xa8D/g,"").replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():h.rawHeaderId?k.replace(/ /g,"-").replace(/&/g,"&").replace(/\xa8T/g,"\xa8").replace(/\xa8D/g,"$").replace(/["']/g,"-").toLowerCase():k.replace(/[^\w]/g,"").toLowerCase(),h.rawPrefixHeaderId&&(k=R+k),f.hashLinkCounts[k]?k=k+"-"+f.hashLinkCounts[k]++:f.hashLinkCounts[k]=1,k}return c=(c=(c=c.replace(h.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',A=""+R+"";return m.subParser("hashBlock")(A,h,f)})).replace(C,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',_=v+1,A=""+R+"";return m.subParser("hashBlock")(A,h,f)})).replace(h.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(O,k,R){var N=R;h.customizedHeaderId&&(N=R.replace(/\s?\{([^{]+?)}\s*$/,""));var _=m.subParser("spanGamut")(N,h,f),A=h.noHeaderId?"":' id="'+E(R)+'"',L=v-1+k.length,U=""+_+"";return m.subParser("hashBlock")(U,h,f)}),f.converter._dispatch("headers.after",c,h,f)}),m.subParser("horizontalRule",function(c,h,f){"use strict";c=f.converter._dispatch("horizontalRule.before",c,h,f);var v=m.subParser("hashBlock")("
",h,f);return c=(c=(c=c.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,v),f.converter._dispatch("horizontalRule.after",c,h,f)}),m.subParser("images",function(c,h,f){"use strict";function k(R,N,_,A,L,U,de,j){var je=f.gUrls,We=f.gTitles,ye=f.gDimensions;if(_=_.toLowerCase(),j||(j=""),R.search(/\(? ?(['"].*['"])?\)$/m)>-1)A="";else if(""===A||null===A){if((""===_||null===_)&&(_=N.toLowerCase().replace(/ ?\n/g," ")),A="#"+_,m.helper.isUndefined(je[_]))return R;A=je[_],m.helper.isUndefined(We[_])||(j=We[_]),m.helper.isUndefined(ye[_])||(L=ye[_].width,U=ye[_].height)}N=N.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback);var le=''+N+'"}return c=(c=(c=(c=(c=(c=f.converter._dispatch("images.before",c,h,f)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function O(R,N,_,A,L,U,de,j){return k(R,N,_,A=A.replace(/\s/g,""),L,U,0,j)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,k)).replace(/!\[([^\[\]]+)]()()()()()/g,k),f.converter._dispatch("images.after",c,h,f)}),m.subParser("italicsAndBold",function(c,h,f){"use strict";function v(b,C,w){return C+b+w}return c=f.converter._dispatch("italicsAndBold.before",c,h,f),c=h.literalMidWordUnderscores?(c=(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(b,C){return v(C,"","")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(b,C){return v(C,"","")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(b,C){return v(C,"","")}):(c=(c=c.replace(/___(\S[\s\S]*?)___/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/__(\S[\s\S]*?)__/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/_([^\s_][\s\S]*?)_/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b}),c=h.literalMidWordAsterisks?(c=(c=c.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")}):(c=(c=c.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/\*([^\s*][\s\S]*?)\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b}),f.converter._dispatch("italicsAndBold.after",c,h,f)}),m.subParser("lists",function(c,h,f){"use strict";function v(w,E){f.gListLevel++,w=w.replace(/\n{2,}$/,"\n");var O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,k=/\n[ \t]*\n(?!\xa80)/.test(w+="\xa80");return h.disableForced4SpacesIndentedSublists&&(O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),w=(w=w.replace(O,function(R,N,_,A,L,U,de){de=de&&""!==de.trim();var j=m.subParser("outdent")(L,h,f),je="";return U&&h.tasklists&&(je=' class="task-list-item" style="list-style-type: none;"',j=j.replace(/^[ \t]*\[(x|X| )?]/m,function(){var We='"})),j=j.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(We){return"\xa8A"+We}),N||j.search(/\n{2,}/)>-1?(j=m.subParser("githubCodeBlocks")(j,h,f),j=m.subParser("blockGamut")(j,h,f)):(j=(j=m.subParser("lists")(j,h,f)).replace(/\n$/,""),j=(j=m.subParser("hashHTMLBlocks")(j,h,f)).replace(/\n\n+/g,"\n\n"),j=k?m.subParser("paragraphs")(j,h,f):m.subParser("spanGamut")(j,h,f)),""+(j=j.replace("\xa8A",""))+"\n"})).replace(/\xa80/g,""),f.gListLevel--,E&&(w=w.replace(/\s+$/,"")),w}function b(w,E){if("ol"===E){var O=w.match(/^ *(\d+)\./);if(O&&"1"!==O[1])return' start="'+O[1]+'"'}return""}function C(w,E,O){var k=h.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,R=h.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,N="ul"===E?k:R,_="";if(-1!==w.search(N))!function L(U){var de=U.search(N),j=b(w,E);-1!==de?(_+="\n\n<"+E+j+">\n"+v(U.slice(0,de),!!O)+"\n",N="ul"==(E="ul"===E?"ol":"ul")?k:R,L(U.slice(de))):_+="\n\n<"+E+j+">\n"+v(U,!!O)+"\n"}(w);else{var A=b(w,E);_="\n\n<"+E+A+">\n"+v(w,!!O)+"\n"}return _}return c=f.converter._dispatch("lists.before",c,h,f),c+="\xa80",c=(c=f.gListLevel?c.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O){return C(E,O.search(/[*+-]/g)>-1?"ul":"ol",!0)}):c.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O,k){return C(O,k.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/\xa80/,""),f.converter._dispatch("lists.after",c,h,f)}),m.subParser("metadata",function(c,h,f){"use strict";if(!h.metadata)return c;function v(b){f.metadata.raw=b,(b=(b=b.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(C,w,E){return f.metadata.parsed[w]=E,""})}return c=(c=(c=(c=f.converter._dispatch("metadata.before",c,h,f)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(b,C,w){return v(w),"\xa8M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(b,C,w){return C&&(f.metadata.format=C),v(w),"\xa8M"})).replace(/\xa8M/g,""),f.converter._dispatch("metadata.after",c,h,f)}),m.subParser("outdent",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("outdent.before",c,h,f)).replace(/^(\t|[ ]{1,4})/gm,"\xa80")).replace(/\xa80/g,""),f.converter._dispatch("outdent.after",c,h,f)}),m.subParser("paragraphs",function(c,h,f){"use strict";for(var v=(c=(c=(c=f.converter._dispatch("paragraphs.before",c,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),b=[],C=v.length,w=0;w=0?b.push(E):E.search(/\S/)>=0&&(E=(E=m.subParser("spanGamut")(E,h,f)).replace(/^([ \t]*)/g,"

"),b.push(E+="

"))}for(C=b.length,w=0;w]*>\s*]*>/.test(k)&&(R=!0)}b[w]=k}return c=(c=(c=b.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),f.converter._dispatch("paragraphs.after",c,h,f)}),m.subParser("runExtension",function(c,h,f,v){"use strict";if(c.filter)h=c.filter(h,v.converter,f);else if(c.regex){var b=c.regex;b instanceof RegExp||(b=new RegExp(b,"g")),h=h.replace(b,c.replace)}return h}),m.subParser("spanGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("spanGamut.before",c,h,f),c=m.subParser("codeSpans")(c,h,f),c=m.subParser("escapeSpecialCharsWithinTagAttributes")(c,h,f),c=m.subParser("encodeBackslashEscapes")(c,h,f),c=m.subParser("images")(c,h,f),c=m.subParser("anchors")(c,h,f),c=m.subParser("autoLinks")(c,h,f),c=m.subParser("simplifiedAutoLinks")(c,h,f),c=m.subParser("emoji")(c,h,f),c=m.subParser("underline")(c,h,f),c=m.subParser("italicsAndBold")(c,h,f),c=m.subParser("strikethrough")(c,h,f),c=m.subParser("ellipsis")(c,h,f),c=m.subParser("hashHTMLSpans")(c,h,f),c=m.subParser("encodeAmpsAndAngles")(c,h,f),h.simpleLineBreaks?/\n\n\xa8K/.test(c)||(c=c.replace(/\n+/g,"
\n")):c=c.replace(/ +\n/g,"
\n"),f.converter._dispatch("spanGamut.after",c,h,f)}),m.subParser("strikethrough",function(c,h,f){"use strict";return h.strikethrough&&(c=(c=f.converter._dispatch("strikethrough.before",c,h,f)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(b,C){return function v(b){return h.simplifiedAutoLink&&(b=m.subParser("simplifiedAutoLinks")(b,h,f)),""+b+""}(C)}),c=f.converter._dispatch("strikethrough.after",c,h,f)),c}),m.subParser("stripLinkDefinitions",function(c,h,f){"use strict";var C=function(w,E,O,k,R,N,_){return E=E.toLowerCase(),c.toLowerCase().split(E).length-1<2?w:(f.gUrls[E]=O.match(/^data:.+?\/.+?;base64,/)?O.replace(/\s/g,""):m.subParser("encodeAmpsAndAngles")(O,h,f),N?N+_:(_&&(f.gTitles[E]=_.replace(/"|'/g,""")),h.parseImgDimensions&&k&&R&&(f.gDimensions[E]={width:k,height:R}),""))};return c=(c=(c=(c+="\xa80").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,C)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,C)).replace(/\xa80/,"")}),m.subParser("tables",function(c,h,f){"use strict";if(!h.tables)return c;function C(R){return/^:[ \t]*--*$/.test(R)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(R)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(R)?' style="text-align:center;"':""}function w(R,N){var _="";return R=R.trim(),(h.tablesHeaderId||h.tableHeaderId)&&(_=' id="'+R.replace(/ /g,"_").toLowerCase()+'"'),""+(R=m.subParser("spanGamut")(R,h,f))+"\n"}function E(R,N){return""+m.subParser("spanGamut")(R,h,f)+"\n"}function k(R){var N,_=R.split("\n");for(N=0;N<_.length;++N)/^ {0,3}\|/.test(_[N])&&(_[N]=_[N].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(_[N])&&(_[N]=_[N].replace(/\|[ \t]*$/,"")),_[N]=m.subParser("codeSpans")(_[N],h,f);var A=_[0].split("|").map(function(le){return le.trim()}),L=_[1].split("|").map(function(le){return le.trim()}),U=[],de=[],j=[],je=[];for(_.shift(),_.shift(),N=0;N<_.length;++N)""!==_[N].trim()&&U.push(_[N].split("|").map(function(le){return le.trim()}));if(A.length\n\n\n",L=0;L\n";for(var U=0;U\n"}return _+"\n\n"}(de,je)}return c=(c=(c=(c=f.converter._dispatch("tables.before",c,h,f)).replace(/\\(\|)/g,m.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|\xa80)/gm,k)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|\xa80)/gm,k),f.converter._dispatch("tables.after",c,h,f)}),m.subParser("underline",function(c,h,f){"use strict";return h.underline&&(c=f.converter._dispatch("underline.before",c,h,f),c=(c=h.literalMidWordUnderscores?(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(v,b){return""+b+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(v,b){return""+b+""}):(c=c.replace(/___(\S[\s\S]*?)___/g,function(v,b){return/\S$/.test(b)?""+b+"":v})).replace(/__(\S[\s\S]*?)__/g,function(v,b){return/\S$/.test(b)?""+b+"":v})).replace(/(_)/g,m.helper.escapeCharactersCallback),c=f.converter._dispatch("underline.after",c,h,f)),c}),m.subParser("unescapeSpecialChars",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("unescapeSpecialChars.before",c,h,f)).replace(/\xa8E(\d+)E/g,function(v,b){var C=parseInt(b);return String.fromCharCode(C)}),f.converter._dispatch("unescapeSpecialChars.after",c,h,f)}),m.subParser("makeMarkdown.blockquote",function(c,h){"use strict";var f="";if(c.hasChildNodes())for(var v=c.childNodes,b=v.length,C=0;C "+(f=f.trim()).split("\n").join("\n> ")}),m.subParser("makeMarkdown.codeBlock",function(c,h){"use strict";var f=c.getAttribute("language"),v=c.getAttribute("precodenum");return"```"+f+"\n"+h.preList[v]+"\n```"}),m.subParser("makeMarkdown.codeSpan",function(c){"use strict";return"`"+c.innerHTML+"`"}),m.subParser("makeMarkdown.emphasis",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="*";for(var v=c.childNodes,b=v.length,C=0;C",c.hasAttribute("width")&&c.hasAttribute("height")&&(h+=" ="+c.getAttribute("width")+"x"+c.getAttribute("height")),c.hasAttribute("title")&&(h+=' "'+c.getAttribute("title")+'"'),h+=")"),h}),m.subParser("makeMarkdown.links",function(c,h){"use strict";var f="";if(c.hasChildNodes()&&c.hasAttribute("href")){var v=c.childNodes,b=v.length;f="[";for(var C=0;C",c.hasAttribute("title")&&(f+=' "'+c.getAttribute("title")+'"'),f+=")"}return f}),m.subParser("makeMarkdown.list",function(c,h,f){"use strict";var v="";if(!c.hasChildNodes())return"";for(var b=c.childNodes,C=b.length,w=c.getAttribute("start")||1,E=0;E"+h.preList[f]+""}),m.subParser("makeMarkdown.strikethrough",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="~~";for(var v=c.childNodes,b=v.length,C=0;Ctr>th"),C=c.querySelectorAll("tbody>tr");for(w=0;wL&&(L=U)}for(w=0;w/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}),void 0!==(me=function(){"use strict";return m}.call(bi,Ns,bi,Er))&&(Er.exports=me)}).call(this)}},Er=>{Er(Er.s=11)}]); \ No newline at end of file +(self.webpackChunkngx_retroblog=self.webpackChunkngx_retroblog||[]).push([[179],{11:(Er,bi,Ns)=>{"use strict";function me(e){return"function"==typeof e}function pn(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Di=pn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function m(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(s){t=s instanceof Di?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{Mr(s)}catch(o){t=null!=t?t:[],o instanceof Di?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Di(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Mr(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&m(n,t)}remove(t){const{_finalizers:n}=this;n&&m(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Ht=et.EMPTY;function Bt(e){return e instanceof et||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Mr(e){me(e)?e():e.unsubscribe()}const pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gn={setTimeout(e,t,...n){const{delegate:r}=gn;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=gn;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ci(e){gn.setTimeout(()=>{const{onUnhandledError:t}=pt;if(!t)throw e;t(e)})}function Ei(){}const Sa=Mi("C",void 0,void 0);function Mi(e,t,n){return{kind:e,value:t,error:n}}let mn=null;function Fn(e){if(pt.useDeprecatedSynchronousErrorHandling){const t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=mn;if(mn=null,n)throw r}}else e()}class Fs extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Bt(t)&&t.add(this)):this.destination=E}static create(t,n,r){return new v(t,n,r)}next(t){this.isStopped?w(function Ta(e){return Mi("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?w(function Ia(e){return Mi("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?w(Sa,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 c=Function.prototype.bind;function h(e,t){return c.call(e,t)}class f{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){b(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){b(r)}else b(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){b(n)}}}class v extends Fs{constructor(t,n,r){let i;if(super(),me(t)||!t)i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let s;this&&pt.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&h(t.next,s),error:t.error&&h(t.error,s),complete:t.complete&&h(t.complete,s)}):i=t}this.destination=new f(i)}}function b(e){pt.useDeprecatedSynchronousErrorHandling?function Os(e){pt.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=e)}(e):Ci(e)}function w(e,t){const{onStoppedNotification:n}=pt;n&&gn.setTimeout(()=>n(e,t))}const E={closed:!0,next:Ei,error:function C(e){throw e},complete:Ei},O="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(e){return e}let _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const s=function U(e){return e&&e instanceof Fs||function L(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Bt(e)}(n)?n:new v(n,r,i);return Fn(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=A(r))((i,s)=>{const o=new v({next:a=>{try{n(a)}catch(u){s(u),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[O](){return this}pipe(...n){return function N(e){return 0===e.length?k:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=A(n))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return e.create=t=>new e(t),e})();function A(e){var t;return null!==(t=null!=e?e:pt.Promise)&&void 0!==t?t:Promise}const de=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let j=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Be(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new de}next(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:s}=this;return r||i?Ht:(this.currentObservers=null,s.push(n),new et(()=>{this.currentObservers=null,m(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){const n=new _;return n.source=this,n}}return e.create=(t,n)=>new Be(t,n),e})();class Be extends j{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ht}}function We(e){return me(null==e?void 0:e.lift)}function ye(e){return t=>{if(We(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function le(e,t,n,r,i){return new Qe(e,t,n,r,i)}class Qe extends Fs{constructor(t,n,r,i,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function G(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>{r.next(e.call(t,s,i++))}))})}function tr(e){return this instanceof tr?(this.v=e,this):new tr(e)}function D_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(g){r[g]&&(i[g]=function(y){return new Promise(function(D,S){s.push([g,y,D,S])>1||a(g,y)})})}function a(g,y){try{!function u(g){g.value instanceof tr?Promise.resolve(g.value.v).then(l,d):p(s[0][2],g)}(r[g](y))}catch(D){p(s[0][3],D)}}function l(g){a("next",g)}function d(g){a("throw",g)}function p(g,y){g(y),s.shift(),s.length&&a(s[0][0],s[0][1])}}function C_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ed(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(o){return new Promise(function(a,u){!function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}(a,u,(o=e[s](o)).done,o.value)})}}}const Md=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Sd(e){return me(null==e?void 0:e.then)}function Id(e){return me(e[O])}function Td(e){return Symbol.asyncIterator&&me(null==e?void 0:e[Symbol.asyncIterator])}function Ad(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Pd=function M_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function kd(e){return me(null==e?void 0:e[Pd])}function Rd(e){return D_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield tr(n.read());if(i)return yield tr(void 0);yield yield tr(r)}}finally{n.releaseLock()}})}function Nd(e){return me(null==e?void 0:e.getReader)}function yn(e){if(e instanceof _)return e;if(null!=e){if(Id(e))return function S_(e){return new _(t=>{const n=e[O]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Md(e))return function I_(e){return new _(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ci)})}(e);if(Td(e))return Od(e);if(kd(e))return function A_(e){return new _(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Nd(e))return function P_(e){return Od(Rd(e))}(e)}throw Ad(e)}function Od(e){return new _(t=>{(function k_(e,t){var n,r,i,s;return function w_(e,t,n,r){return new(n||(n=Promise))(function(s,o){function a(d){try{l(r.next(d))}catch(p){o(p)}}function u(d){try{l(r.throw(d))}catch(p){o(p)}}function l(d){d.done?s(d.value):function i(s){return s instanceof n?s:new n(function(o){o(s)})}(d.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=C_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function vn(e,t,n,r=0,i=!1){const s=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!i)return s}function qe(e,t,n=1/0){return me(t)?qe((r,i)=>G((s,o)=>t(r,s,i,o))(yn(e(r,i))),n):("number"==typeof t&&(n=t),ye((r,i)=>function R_(e,t,n,r,i,s,o,a){const u=[];let l=0,d=0,p=!1;const g=()=>{p&&!u.length&&!l&&t.complete()},y=S=>l{s&&t.next(S),l++;let P=!1;yn(n(S,d++)).subscribe(le(t,T=>{null==i||i(T),s?y(T):t.next(T)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;u.length&&lD(T)):D(T)}g()}catch(T){t.error(T)}}))};return e.subscribe(le(t,y,()=>{p=!0,g()})),()=>{null==a||a()}}(r,i,e,n)))}function Si(e=1/0){return qe(k,e)}const _n=new _(e=>e.complete());function ka(e){return e[e.length-1]}function Ii(e){return function O_(e){return e&&me(e.schedule)}(ka(e))?e.pop():void 0}function Fd(e,t=0){return ye((n,r)=>{n.subscribe(le(r,i=>vn(r,e,()=>r.next(i),t),()=>vn(r,e,()=>r.complete(),t),i=>vn(r,e,()=>r.error(i),t)))})}function xd(e,t=0){return ye((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{vn(n,t,()=>{const r=e[Symbol.asyncIterator]();vn(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ke(e,t){return t?function U_(e,t){if(null!=e){if(Id(e))return function L_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Md(e))return function H_(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Sd(e))return function j_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Td(e))return Ld(e,t);if(kd(e))return function B_(e,t){return new _(n=>{let r;return vn(n,t,()=>{r=e[Pd](),vn(n,t,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void n.error(o)}s?n.complete():n.next(i)},0,!0)}),()=>me(null==r?void 0:r.return)&&r.return()})}(e,t);if(Nd(e))return function V_(e,t){return Ld(Rd(e),t)}(e,t)}throw Ad(e)}(e,t):yn(e)}function js(e){return e<=0?()=>_n:ye((t,n)=>{let r=0;t.subscribe(le(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ra(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(js(1)).subscribe(()=>e())}function we(e){for(let t in e)if(e[t]===we)return t;throw Error("Could not find renamed property on target object.")}function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Oa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const q_=we({__forward_ref__:we});function Fa(e){return e.__forward_ref__=Fa,e.toString=function(){return ve(this())},e}function ee(e){return function jd(e){return"function"==typeof e&&e.hasOwnProperty(q_)&&e.__forward_ref__===Fa}(e)?e():e}class pe extends Error{constructor(t,n){super(function xa(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Je(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}function Hs(e,t){const n=t?` in ${t}`:"";throw new pe(-201,`No provider for ${Je(e)} found${n}`)}function bt(e,t){null==e&&function be(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function La(e){return Hd(e,Bs)||Hd(e,Vd)}function Hd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bd(e){return e&&(e.hasOwnProperty(ja)||e.hasOwnProperty(Y_))?e[ja]:null}const Bs=we({\u0275prov:we}),ja=we({\u0275inj:we}),Vd=we({ngInjectableDef:we}),Y_=we({ngInjectorDef:we});var q=(()=>((q=q||{})[q.Default=0]="Default",q[q.Host=1]="Host",q[q.Self=2]="Self",q[q.SkipSelf=4]="SkipSelf",q[q.Optional=8]="Optional",q))();let Ha;function xn(e){const t=Ha;return Ha=e,t}function Ud(e,t,n){const r=La(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&q.Optional?null:void 0!==t?t:void Hs(ve(e),"Injector")}function Ln(e){return{toString:e}.toString()}var Vt=(()=>((Vt=Vt||{})[Vt.OnPush=0]="OnPush",Vt[Vt.Default=1]="Default",Vt))(),tn=(()=>{return(e=tn||(tn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",tn;var e})();const ew="undefined"!=typeof globalThis&&globalThis,tw="undefined"!=typeof window&&window,nw="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,_e=ew||"undefined"!=typeof global&&global||tw||nw,Ir={},De=[],Vs=we({\u0275cmp:we}),Ba=we({\u0275dir:we}),Va=we({\u0275pipe:we}),$d=we({\u0275mod:we}),bn=we({\u0275fac:we}),Ti=we({__NG_ELEMENT_ID__:we});let rw=0;function jn(e){return Ln(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,id:"c",styles:e.styles||De,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return r.id+=rw++,r.inputs=Wd(e.inputs,n),r.outputs=Wd(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(zd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(qd):null,r})}function zd(e){return nt(e)||function Hn(e){return e[Ba]||null}(e)}function qd(e){return function nr(e){return e[Va]||null}(e)}const Gd={};function Dn(e){return Ln(()=>{const t={type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Gd[e.id]=e.type),t})}function Wd(e,t){if(null==e)return Ir;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const tt=jn;function nt(e){return e[Vs]||null}function At(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return n}function nn(e){return Array.isArray(e)&&"object"==typeof e[1]}function $t(e){return Array.isArray(e)&&!0===e[1]}function za(e){return 0!=(8&e.flags)}function qs(e){return 2==(2&e.flags)}function Gs(e){return 1==(1&e.flags)}function zt(e){return null!==e.template}function cw(e){return 0!=(512&e[2])}function or(e,t){return e.hasOwnProperty(bn)?e[bn]:null}class fw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zd(e){return e.type.prototype.ngOnChanges&&(e.setInput=pw),hw}function hw(){const e=Jd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ir)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pw(e,t,n,r){const i=Jd(e)||function gw(e,t){return e[Kd]=t}(e,{previous:Ir,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],u=o[a];s[a]=new fw(u&&u.currentValue,t,o===Ir),e[r]=t}const Kd="__ngSimpleChanges__";function Jd(e){return e[Kd]||null}let Za;function Ka(){return void 0!==Za?Za:"undefined"!=typeof document?document:void 0}function Te(e){return!!e.listen}const Yd={createRenderer:(e,t)=>Ka()};function Ne(e){for(;Array.isArray(e);)e=e[0];return e}function Ws(e,t){return Ne(t[e])}function Rt(e,t){return Ne(t[e.index])}function Ja(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return nn(n)?n:n[0]}function Ya(e){return 128==(128&e[2])}function Bn(e,t){return null==t?null:e[t]}function ef(e){e[18]=0}function Xa(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Q={lFrame:df(null),bindingsEnabled:!0};function nf(){return Q.bindingsEnabled}function I(){return Q.lFrame.lView}function fe(){return Q.lFrame.tView}function Ve(){let e=sf();for(;null!==e&&64===e.type;)e=e.parent;return e}function sf(){return Q.lFrame.currentTNode}function rn(e,t){const n=Q.lFrame;n.currentTNode=e,n.isParent=t}function eu(){return Q.lFrame.isParent}function tu(){Q.lFrame.isParent=!1}function Nr(){return Q.lFrame.bindingIndex++}function Rw(e,t){const n=Q.lFrame;n.bindingIndex=n.bindingRootIndex=e,nu(t)}function nu(e){Q.lFrame.currentDirectiveIndex=e}function iu(e){Q.lFrame.currentQueryIndex=e}function Ow(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function cf(e,t,n){if(n&q.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&q.Host||(i=Ow(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Q.lFrame=lf();return r.currentTNode=t,r.lView=e,!0}function Zs(e){const t=lf(),n=e[1];Q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lf(){const e=Q.lFrame,t=null===e?null:e.child;return null===t?df(e):t}function df(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ff(){const e=Q.lFrame;return Q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hf=ff;function Ks(){const e=ff();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function at(){return Q.lFrame.selectedIndex}function Vn(e){Q.lFrame.selectedIndex=e}function Ae(){const e=Q.lFrame;return Ja(e.tView,e.selectedIndex)}function Js(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ni{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function eo(e,t,n){const r=Te(e);let i=0;for(;it){o=s-1;break}}}for(;s>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let uu=!0;function no(e){const t=uu;return uu=e,t}let Zw=0;function Fi(e,t){const n=lu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,cu(r.data,e),cu(t,null),cu(r.blueprint,null));const i=ro(e,t),s=e.injectorIndex;if(yf(i)){const o=Or(i),a=Fr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[s+l]=a[o+l]|u[o+l]}return t[s+8]=i,s}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ro(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function io(e,t,n){!function Kw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(r=n[Ti]),null==r&&(r=n[Ti]=Zw++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:Yw:t}(n);if("function"==typeof s){if(!cf(t,e,r))return r&q.Host?wf(i,n,r):bf(t,n,r,i);try{const o=s(r);if(null!=o||r&q.Optional)return o;Hs(n)}finally{hf()}}else if("number"==typeof s){let o=null,a=lu(e,t),u=-1,l=r&q.Host?t[16][6]:null;for((-1===a||r&q.SkipSelf)&&(u=-1===a?ro(e,t):t[a+8],-1!==u&&Mf(r,!1)?(o=t[1],a=Or(u),t=Fr(u,t)):a=-1);-1!==a;){const d=t[1];if(Ef(s,a,d.data)){const p=Xw(a,t,n,o,r,l);if(p!==Cf)return p}u=t[a+8],-1!==u&&Mf(r,t[1].data[a+8]===l)&&Ef(s,a,t)?(o=d,a=Or(u),t=Fr(u,t)):a=-1}}}return bf(t,n,r,i)}const Cf={};function Yw(){return new xr(Ve(),I())}function Xw(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],d=function so(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,u=e.directiveStart,d=s>>20,g=i?a+d:e.directiveEnd;for(let y=r?a:a+d;y=u&&D.type===n)return y}if(i){const y=o[u];if(y&&zt(y)&&y.type===n)return u}return null}(a,o,n,null==r?qs(a)&&uu:r!=o&&0!=(3&a.type),i&q.Host&&s===a);return null!==d?xi(t,o,d,a):Cf}function xi(e,t,n,r){let i=e[n];const s=t.data;if(function zw(e){return e instanceof Ni}(i)){const o=i;o.resolving&&function G_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new pe(-200,`Circular dependency in DI detected for ${e}${n}`)}(Je(s[n]));const a=no(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?xn(o.injectImpl):null;cf(e,r,q.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Uw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Zd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==u&&xn(u),no(a),o.resolving=!1,hf()}}return i}function Ef(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function fu(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(u,l,d){const p=u.hasOwnProperty(jr)?u[jr]:Object.defineProperty(u,jr,{value:[]})[jr];for(;p.length<=d;)p.push(null);return(p[d]=p[d]||[]).push(o),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class ue{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rb=new ue("AnalyzeForEntryComponents");function sn(e,t){e.forEach(n=>Array.isArray(n)?sn(n,t):t(n))}function If(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Et(e,t,n){let r=Vr(e,t);return r>=0?e[1|r]=n:(r=~r,function ob(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function pu(e,t){const n=Vr(e,t);if(n>=0)return e[1|n]}function Vr(e,t){return function Pf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<({token:e})),-1),$n=$i(Br("Optional"),8),zi=$i(Br("SkipSelf"),4);let fo,ho;function $r(e){var t;return(null===(t=function _u(){if(void 0===fo&&(fo=null,_e.trustedTypes))try{fo=_e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fo}())||void 0===t?void 0:t.createHTML(e))||e}function Hf(e){var t;return(null===(t=function wu(){if(void 0===ho&&(ho=null,_e.trustedTypes))try{ho=_e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ho}())||void 0===t?void 0:t.createHTML(e))||e}class Uf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function zn(e){return e instanceof Uf?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function xb(e){return e instanceof Uf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class Lb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString($r(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class jb{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=$r(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=$r(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0po(t.trim())).join(", ")),this.buf.push(" ",o,'="',Zf(u),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();bu.hasOwnProperty(n)&&!qf.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Zf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const zb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qb=/([^\#-~ |!])/g;function Zf(e){return e.replace(/&/g,"&").replace(zb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let go;function Eu(e){return"content"in e&&function Wb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Oe=(()=>((Oe=Oe||{})[Oe.NONE=0]="NONE",Oe[Oe.HTML=1]="HTML",Oe[Oe.STYLE=2]="STYLE",Oe[Oe.SCRIPT=3]="SCRIPT",Oe[Oe.URL=4]="URL",Oe[Oe.RESOURCE_URL=5]="RESOURCE_URL",Oe))();function Mu(e){const t=Qi();return t?Hf(t.sanitize(Oe.HTML,e)||""):Gi(e,"HTML")?Hf(zn(e)):function Gb(e,t){let n=null;try{go=go||function $f(e){const t=new jb(e);return function Hb(){try{return!!(new window.DOMParser).parseFromString($r(""),"text/html")}catch(e){return!1}}()?new Lb(t):t}(e);let r=t?String(t):"";n=go.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=go.getInertBodyElement(r)}while(r!==s);return $r((new $b).sanitizeChildren(Eu(n)||n))}finally{if(n){const r=Eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Ka(),W(e))}function Ot(e){const t=Qi();return t?t.sanitize(Oe.URL,e)||"":Gi(e,"URL")?zn(e):po(W(e))}function Qi(){const e=I();return e&&e[12]}const Yf="__ngContext__";function it(e,t){e[Yf]=t}function Iu(e){const t=function Zi(e){return e[Yf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Au(e){return e.ngOriginalError}function cD(e,...t){e.error(...t)}class Ki{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function uD(e){return e&&e.ngErrorLogger||cD}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Au(t);for(;n&&Au(n);)n=Au(n);return n||null}}const _D=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(_e))();function an(e){return e instanceof Function?e():e}var Mt=(()=>((Mt=Mt||{})[Mt.Important=1]="Important",Mt[Mt.DashCase=2]="DashCase",Mt))();function ku(e,t){return undefined(e,t)}function Ji(e){const t=e[3];return $t(t)?t[3]:t}function Ru(e){return ah(e[13])}function Nu(e){return ah(e[4])}function ah(e){for(;null!==e&&!$t(e);)e=e[4];return e}function qr(e,t,n,r,i){if(null!=r){let s,o=!1;$t(r)?s=r:nn(r)&&(o=!0,r=r[0]);const a=Ne(r);0===e&&null!==n?null==i?hh(t,n,a):ur(t,n,a,i||null,!0):1===e&&null!==n?ur(t,n,a,i||null,!0):2===e?function wh(e,t,n){const r=mo(e,t);r&&function ND(e,t,n,r){Te(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function xD(e,t,n,r,i){const s=n[7];s!==Ne(n)&&qr(t,e,r,s,i);for(let a=10;a0&&(e[n-1][4]=r[4]);const s=oo(e,10+t);!function MD(e,t){Yi(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function lh(e,t){if(!(256&t[2])){const n=t[11];Te(n)&&n.destroyNode&&Yi(e,t,n,3,null,null),function TD(e){let t=e[13];if(!t)return Lu(e[1],e);for(;t;){let n=null;if(nn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)nn(t)&&Lu(t[1],t),t=t[3];null===t&&(t=e),nn(t)&&Lu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Lu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function RD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;ss?"":i[p+1].toLowerCase();const y=8&r?g:null;if(y&&-1!==Ch(y,l,0)||2&r&&l!==g){if(qt(r))return!1;o=!0}}}}else{if(!o&&!qt(r)&&!qt(u))return!1;if(o&&qt(u))continue;o=!1,r=u|1&r}}return qt(r)||o}function qt(e){return 0==(1&e)}function VD(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!qt(o)&&(t+=Ih(s,i),i=""),r=o,s=s||!qt(r);n++}return""!==i&&(t+=Ih(s,i)),t}const Z={};function se(e){Th(fe(),I(),at()+e,!1)}function Th(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ys(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Xs(t,s,0,n)}Vn(n)}function _o(e,t){return e<<17|t<<2}function Gt(e){return e>>17&32767}function Uu(e){return 2|e}function Mn(e){return(131068&e)>>2}function $u(e,t){return-131069&e|t<<2}function zu(e){return 1|e}function Hh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&Th(e,t,20,!1),n(r,i)}finally{Vn(s)}}function Vh(e,t,n){if(za(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,o)}}function Zh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function D0(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&ic(n)}}function ic(e){for(let r=Ru(e);null!==r;r=Nu(r))for(let i=10;i0&&ic(s)}const n=e[1].components;if(null!==n)for(let r=0;r0&&ic(i)}}function A0(e,t){const n=Ct(t,e),r=n[1];(function P0(e,t){for(let n=t.length;nPromise.resolve(null))();function tp(e){return e[7]||(e[7]=[])}function np(e){return e.cleanup||(e.cleanup=[])}function ip(e,t){const n=e[9],r=n?n.get(Ki,null):null;r&&r.handleError(t)}function sp(e,t,n,r,i){for(let s=0;sthis.processProvider(a,t,n)),sn([t],a=>this.processInjectorType(a,[],s)),this.records.set(cc,Zr(void 0,this));const o=this.records.get(lc);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:ve(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Vi,r=q.Default){this.assertNotDestroyed();const i=Nf(this),s=xn(void 0);try{if(!(r&q.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function z0(e){return"function"==typeof e||"object"==typeof e&&e instanceof ue}(t)&&La(t);a=u&&this.injectableDefInScope(u)?Zr(fc(t),ts):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&q.Self?ap():this.parent).get(t,n=r&q.Optional&&n===Vi?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[uo]=o[uo]||[]).unshift(ve(t)),i)throw o;return function _b(e,t,n,r){const i=e[uo];throw t[Rf]&&i.unshift(t[Rf]),e.message=function wb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ve(t);if(Array.isArray(t))i=t.map(ve).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):ve(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(hb,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[uo]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{xn(s),Nf(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(ve(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processInjectorType(t,n,r){if(!(t=ee(t)))return!1;let i=Bd(t);const s=null==i&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=Bd(s)),null==i)return!1;if(null!=i.imports&&!a){let d;r.push(o);try{sn(i.imports,p=>{this.processInjectorType(p,n,r)&&(void 0===d&&(d=[]),d.push(p))})}finally{}if(void 0!==d)for(let p=0;pthis.processProvider(D,g,y||De))}}this.injectorDefTypes.add(o);const u=or(o)||(()=>new o);this.records.set(o,Zr(u,ts));const l=i.providers;if(null!=l&&!a){const d=t;sn(l,p=>this.processProvider(p,d,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=Kr(t=ee(t))?t:ee(t&&t.provide);const s=function j0(e,t,n){return dp(e)?Zr(void 0,e.useValue):Zr(function lp(e,t,n){let r;if(Kr(e)){const i=ee(e);return or(i)||fc(i)}if(dp(e))r=()=>ee(e.useValue);else if(function B0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...yu(e.deps||[]));else if(function H0(e){return!(!e||!e.useExisting)}(e))r=()=>V(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function U0(e){return!!e.deps}(e))return or(i)||fc(i);r=()=>new i(...yu(e.deps))}return r}(e),ts)}(t);if(Kr(t)||!0!==t.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Zr(void 0,ts,!0),o.factory=()=>yu(o.multi),this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===ts&&(n.value=F0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function $0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ee(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function fc(e){const t=La(e),n=null!==t?t.factory:or(e);if(null!==n)return n;if(e instanceof ue)throw new pe(204,!1);if(e instanceof Function)return function L0(e){const t=e.length;if(t>0)throw function Bi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new pe(204,!1)}function Zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dp(e){return null!==e&&"object"==typeof e&&gb in e}function Kr(e){return"function"==typeof e}let yt=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return up({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return up({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Vi,e.NULL=new op,e.\u0275prov=Y({token:e,providedIn:"any",factory:()=>V(cc)}),e.__NG_ELEMENT_ID__=-1,e})();function Y0(e,t){Js(Iu(e)[1],Ve())}let Mo=null;function Jr(){if(!Mo){const e=_e.Symbol;if(e&&e.iterator)Mo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(Ne(J[r.index])):r.index;if(Te(n)){let J=null;if(!a&&u&&(J=function NC(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;su?a[u]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==J)(J.__ngLastListenerFn__||J).__ngNextListenerFn__=s,J.__ngLastListenerFn__=s,y=!1;else{s=Ec(r,t,p,s,!1);const he=n.listen(T,i,s);g.push(s,he),d&&d.push(i,B,M,M+1)}}else s=Ec(r,t,p,s,!0),T.addEventListener(i,s,o),g.push(s),d&&d.push(i,B,M,o)}else s=Ec(r,t,p,s,!1);const D=r.outputs;let S;if(y&&null!==D&&(S=D[i])){const P=S.length;if(P)for(let T=0;T0;)t=t[15],e--;return t}(e,Q.lFrame.contextLView))[8]}(e)}function dr(e,t,n){return fr(e,"",t,"",n),dr}function fr(e,t,n,r,i){const s=I(),o=Xr(s,t,n,r);return o!==Z&&St(fe(),Ae(),s,e,o,s[11],i,!1),fr}function sg(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?Gt(s):Mn(s),u=!1;for(;0!==a&&(!1===u||o);){const d=e[a+1];HC(e[a],t)&&(u=!0,e[a+1]=r?zu(d):Uu(d)),a=r?Gt(d):Mn(d)}u&&(e[n+1]=r?Uu(s):zu(s))}function HC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vr(e,t)>=0}function ko(e,t){return function Qt(e,t,n,r){const i=I(),s=fe(),o=function En(e){const t=Q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function pg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[at()],o=function hg(e,t){return t>=e.expandoStartIndex}(e,n);(function vg(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function QC(e,t,n,r){const i=function ru(e){const t=Q.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=is(n=Mc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Mc(i,e,t,n,r),null===s){let u=function ZC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mn(r))return e[Gt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Mc(null,e,t,u[1],r),u=is(u,t.attrs,r),function KC(e,t,n,r){e[Gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else s=function JC(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(l=!0)}else d=n;if(i)if(0!==u){const g=Gt(e[a+1]);e[r+1]=_o(g,a),0!==g&&(e[g+1]=$u(e[g+1],r)),e[a+1]=function ZD(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_o(a,0),0!==a&&(e[a+1]=$u(e[a+1],r)),a=r;else e[r+1]=_o(u,0),0===a?a=r:e[u+1]=$u(e[u+1],r),u=r;l&&(e[r+1]=Uu(e[r+1])),sg(e,d,r,!0),sg(e,d,r,!1),function jC(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Vr(s,t)>=0&&(n[r+1]=zu(n[r+1]))}(t,d,e,r,s),o=_o(a,u),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}(s,e,o,r),t!==Z&&st(i,o,t)&&function mg(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Ro(function kh(e){return 1==(1&e)}(l)?yg(u,t,n,i,Mn(l),o):void 0)||(Ro(s)||function Ph(e){return 2==(2&e)}(l)&&(s=yg(u,null,n,i,a,o)),function LD(e,t,n,r,i){const s=Te(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Mt.DashCase;if(null==i)s?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),o|=Mt.Important),s?e.setStyle(n,r,i,o):n.style.setProperty(r,i,a?"important":"")}}}(r,o,Ws(at(),n),i,s))}(s,s.data[at()],i,i[11],e,i[o+1]=function eE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(zn(e)))),e}(t,n),r,o)}(e,t,null,!0),ko}function Mc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[i],l=Array.isArray(u),d=l?u[1]:u,p=null===d;let g=n[i+1];g===Z&&(g=p?De:void 0);let y=p?pu(g,r):d===r?g:void 0;if(l&&!Ro(y)&&(y=pu(u,r)),Ro(y)&&(a=y,o))return a;const D=e[i+1];i=o?Gt(D):Mn(D)}if(null!==t){let u=s?t.residualClasses:t.residualStyles;null!=u&&(a=pu(u,r))}return a}function Ro(e){return void 0!==e}function ge(e,t=""){const n=I(),r=fe(),i=e+20,s=r.firstCreatePass?Gr(r,i,1,t,null):r.data[i],o=n[i]=function Ou(e,t){return Te(e)?e.createText(t):e.createTextNode(t)}(n[11],t);yo(r,n,o,s),rn(s,!1)}function In(e){return Wn("",e,""),In}function Wn(e,t,n){const r=I(),i=Xr(r,e,t,n);return i!==Z&&Sn(r,at(),i),Wn}const No="en-US";let Bg=No;class dm{}class CM{resolveComponentFactory(t){throw function DM(e){const t=Error(`No component factory found for ${ve(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let cs=(()=>{class e{}return e.NULL=new CM,e})();function EM(){return di(Ve(),I())}function di(e,t){return new Qn(Rt(e,t))}let Qn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=EM,e})();class hm{}let TM=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null}),e})();class Ho{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const AM=new Ho("13.3.11"),Rc={};function Bo(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Ne(s)),$t(s))for(let a=10;a-1&&(xu(t,r),oo(n,r))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){!function qh(e,t,n,r){const i=tp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&np(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function ac(e,t,n){const r=t[10];r.begin&&r.begin();try{Qr(e,t,e.template,n)}catch(i){throw ip(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ID(e,t){Yi(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new pe(902,"");this._appRef=t}}class PM extends ls{constructor(t){super(t),this._view=t}detectChanges(){ep(this._view)}checkNoChanges(){}get context(){return null}}class pm extends cs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nt(t);return new Nc(n,this.ngModule)}}function gm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Nc extends dm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function WD(e){return e.map(GD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function RM(e,t){return{get:(n,r,i)=>{const s=e.get(n,Rc,i);return s!==Rc||r===Rc?s:t.get(n,r,i)}}}(t,i.injector):t,o=s.get(hm,Yd),a=s.get(TM,null),u=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=r?function zh(e,t,n){if(Te(e))return e.selectRootElement(t,n===tn.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Fu(o.createRenderer(null,this.componentDef),l,function kM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),p=this.componentDef.onPush?576:528,g=function Dp(e,t){return{components:[],scheduler:e||_D,clean:R0,playerHandler:t||null,flags:0}}(),y=Do(0,null,null,1,0,null,null,null,null,null),D=Xi(null,y,g,p,null,null,o,u,a,s);let S,P;Zs(D);try{const T=function wp(e,t,n,r,i,s){const o=n[1];n[20]=e;const u=Gr(o,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Eo(u,l,!0),null!==e&&(eo(i,e,l),null!==u.classes&&Vu(i,e,u.classes),null!==u.styles&&Dh(i,e,u.styles)));const d=r.createRenderer(e,t),p=Xi(n,Uh(t),null,t.onPush?64:16,n[20],u,r,d,s||null,null);return o.firstCreatePass&&(io(Fi(u,n),o,t.type),Kh(o,u),Jh(u,n.length,1)),Co(n,p),n[20]=p}(d,this.componentDef,D,o,u);if(d)if(r)eo(u,d,["ng-version",AM.full]);else{const{attrs:M,classes:B}=function QD(e){const t=[],n=[];let r=1,i=2;for(;r0&&Vu(u,d,B.join(" "))}if(P=Ja(y,20),void 0!==n){const M=P.projection=[];for(let B=0;Bu(o,t)),t.contentQueries){const u=Ve();t.contentQueries(1,o,u.directiveStart)}const a=Ve();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Vn(a.index),Qh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Zh(t,o)),o}(T,this.componentDef,D,g,[Y0]),es(y,D,null)}finally{Ks()}return new OM(this.componentType,S,di(P,D),D,P)}}class OM extends class bM{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new PM(i),this.componentType=t}get injector(){return new xr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Tn{}class mm{}const fi=new Map;class _m extends Tn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pm(this);const r=At(t);this._bootstrapComponents=an(r.bootstrap),this._r3Injector=cp(t,n,[{provide:Tn,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],ve(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=yt.THROW_IF_NOT_FOUND,r=q.Default){return t===yt||t===Tn||t===cc?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Oc extends mm{constructor(t){super(),this.moduleType=t,null!==At(t)&&function xM(e){const t=new Set;!function n(r){const i=At(r,!0),s=i.id;null!==s&&(function ym(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ve(t)} vs ${ve(t.name)}`)}(s,fi.get(s),r),fi.set(s,r));const o=an(i.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new _m(this.moduleType,t)}}function Fc(e){return t=>{setTimeout(e,void 0,t)}}const lt=class eS extends j{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,s,o;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const p=t;a=null===(i=p.next)||void 0===i?void 0:i.bind(p),u=null===(s=p.error)||void 0===s?void 0:s.bind(p),l=null===(o=p.complete)||void 0===o?void 0:o.bind(p)}this.__isAsync&&(u=Fc(u),a&&(a=Fc(a)),l&&(l=Fc(l)));const d=super.subscribe({next:a,error:u,complete:l});return t instanceof et&&t.add(d),d}};Symbol;let An=(()=>{class e{}return e.__NG_ELEMENT_ID__=iS,e})();const nS=An,rS=class extends nS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Xi(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),es(n,r,t),new ls(r)}};function iS(){return function Vo(e,t){return 4&e.type?new rS(t,e,di(e,t)):null}(Ve(),I())}let Kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=sS,e})();function sS(){return function Im(e,t){let n;const r=t[e.index];if($t(r))n=r;else{let i;if(8&e.type)i=Ne(r);else{const s=t[11];i=s.createComment("");const o=Rt(e,t);ur(s,mo(s,o),i,function OD(e,t){return Te(e)?e.nextSibling(t):t.nextSibling}(s,o),!1)}t[e.index]=n=Xh(r,t,i,e),Co(t,n)}return new Mm(n,e,t)}(Ve(),I())}const oS=Kt,Mm=class extends oS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ro(this._hostTNode,this._hostLView);if(yf(t)){const n=Fr(t,this._hostLView),r=Or(t);return new xr(n[1].data[r+8],n)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const o=t&&!function Hi(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const p=n||{};a=p.index,r=p.injector,i=p.projectableNodes,s=p.ngModuleRef}const u=o?t:new Nc(nt(t)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const g=(o?l:this.parentInjector).get(Tn,null);g&&(s=g)}const d=u.create(l,i,void 0,s);return this.insert(d.hostView,a),d}insert(t,n){const r=t._lView,i=r[1];if(function Ew(e){return $t(e[3])}(r)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const p=r[3],g=new Mm(p,p[6],p[3]);g.detach(g.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function AD(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r{class e{constructor(n){this.appInits=n,this.resolve=zo,this.reject=zo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{s.subscribe({complete:a,error:u})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(Jc,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ps=new ue("AppId",{providedIn:"root",factory:function Zm(){return`${Xc()}${Xc()}${Xc()}`}});function Xc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Km=new ue("Platform Initializer"),el=new ue("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jm=new ue("appBootstrapListener");let NS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Zn=new ue("LocaleId",{providedIn:"root",factory:()=>yb(Zn,q.Optional|q.SkipSelf)||function OS(){return"undefined"!=typeof $localize&&$localize.locale||No}()});class xS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Ym=(()=>{class e{compileModuleSync(n){return new Oc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=an(At(n).declarations).reduce((o,a)=>{const u=nt(a);return u&&o.push(new Nc(u)),o},[]);return new xS(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jS=(()=>Promise.resolve(0))();function tl(e){"undefined"==typeof Zone?jS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!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),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function HS(){let e=_e.requestAnimationFrame,t=_e.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function US(e){const t=()=>{!function VS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,rl(e),e.isCheckStableRunning=!0,nl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),rl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Xm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),ey(e)}},onInvoke:(n,r,i,s,o,a,u)=>{try{return Xm(e),n.invoke(i,s,o,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ey(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,rl(e),nl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ye.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ye.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,BS,zo,zo);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const BS={};function nl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ey(e){e._nesting--,nl(e)}class $S{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,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let il=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ye.assertNotInAngularZone(),tl(()=>{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())tl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(Ye))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),zS=(()=>{class e{constructor(){this._applications=new Map,sl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class qS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let sl=new qS,pr=null;const ty=new ue("AllowMultipleToken"),ny=new ue("PlatformOnDestroy");class ry{constructor(t,n){this.name=t,this.token=n}}function iy(e,t,n=[]){const r=`Platform: ${t}`,i=new ue(r);return(s=[])=>{let o=ol();if(!o||o.injector.get(ty,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function ZS(e){if(pr&&!pr.get(ty,!1))throw new pe(400,"");pr=e;const t=e.get(sy),n=e.get(Km,null);n&&n.forEach(r=>r())}(function JS(e=[],t){return yt.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:ny,useValue:()=>pr=null},...e]})}(a,r))}return function KS(e){const t=ol();if(!t)throw new pe(401,"");return t}()}}function ol(){var e;return null!==(e=null==pr?void 0:pr.get(sy))&&void 0!==e?e:null}let sy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function YS(e,t){let n;return n="noop"===e?new $S:("zone.js"===e?void 0:e)||new Ye({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ye,useValue:a}];return a.run(()=>{const l=yt.create({providers:u,parent:this.injector,name:n.moduleType.name}),d=n.create(l),p=d.injector.get(Ki,null);if(!p)throw new pe(402,"");return a.runOutsideAngular(()=>{const g=a.onError.subscribe({next:y=>{p.handleError(y)}});d.onDestroy(()=>{ul(this._modules,d),g.unsubscribe()})}),function XS(e,t,n){try{const r=n();return Po(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(p,a,()=>{const g=d.injector.get(Yc);return g.runInitializers(),g.donePromise.then(()=>(function ME(e){bt(e,"Expected localeId to be defined"),"string"==typeof e&&(Bg=e.toLowerCase().replace(/_/g,"-"))}(d.injector.get(Zn,No)||No),this._moduleDoBootstrap(d),d))})})}bootstrapModule(n,r=[]){const i=oy({},r);return function WS(e,t,n){const r=new Oc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(al);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new pe(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new pe(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ny,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function oy(e,t){return Array.isArray(t)?t.reduce(oy,e):Object.assign(Object.assign({},e),t)}let al=(()=>{class e{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new _(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ye.assertNotInAngularZone(),tl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ye.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});this.isStable=function $_(...e){const t=Ii(e),n=function x_(e,t){return"number"==typeof ka(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yn(r[0]):Si(n)(Ke(r,t)):_n}(o,a.pipe(function z_(e={}){const{connector:t=(()=>new j),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let o=null,a=null,u=null,l=0,d=!1,p=!1;const g=()=>{null==a||a.unsubscribe(),a=null},y=()=>{g(),o=u=null,d=p=!1},D=()=>{const S=o;y(),null==S||S.unsubscribe()};return ye((S,P)=>{l++,!p&&!d&&g();const T=u=null!=u?u:t();P.add(()=>{l--,0===l&&!p&&!d&&(a=Ra(D,i))}),T.subscribe(P),o||(o=new v({next:M=>T.next(M),error:M=>{p=!0,g(),a=Ra(y,n,M),T.error(M)},complete:()=>{d=!0,g(),a=Ra(y,r),T.complete()}}),Ke(S).subscribe(o))})(s)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new pe(405,"");let i;i=n instanceof dm?n:this._injector.get(cs).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function QS(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Tn),a=i.create(yt.NULL,[],r||i.selector,s),u=a.location.nativeElement,l=a.injector.get(il,null),d=l&&a.injector.get(zS);return l&&d&&d.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),ul(this.components,a),d&&d.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new pe(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ul(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(V(Ye),V(yt),V(Ki),V(Yc))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let uy=!0,cl=(()=>{class e{}return e.__NG_ELEMENT_ID__=nI,e})();function nI(e){return function rI(e,t,n){if(qs(e)&&!n){const r=Ct(e.index,t);return new ls(r,r)}return 47&e.type?new ls(t[16],t):null}(Ve(),I(),16==(16&e))}class hy{constructor(){}supports(t){return ns(t)}create(t){return new cI(t)}}const uI=(e,t)=>t;class cI{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||uI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new lI(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new py),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new py),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lI{constructor(t,n){this.item=t,this.trackById=n,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 dI{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class py{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new dI,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gy(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||yy()),deps:[[e,new zi,new $n]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new pe(901,"")}}return e.\u0275prov=Y({token:e,providedIn:"root",factory:yy}),e})();const mI=iy(null,"core",[]);let yI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(al))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})(),Qo=null;function Kn(){return Qo}const ft=new ue("DocumentToken");let mr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function bI(){return V(_y)}()},providedIn:"platform"}),e})();const DI=new ue("Location Initialized");let _y=(()=>{class e extends mr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kn().getBaseHref(this._doc)}onPopState(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,i){wy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){wy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(){return function CI(){return new _y(V(ft))}()},providedIn:"platform"}),e})();function wy(){return!!window.history.pushState}function pl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function by(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Pn(e){return e&&"?"!==e[0]?"?"+e:e}let pi=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function EI(e){const t=V(ft).location;return new Dy(V(mr),t&&t.origin||"")}()},providedIn:"root"}),e})();const gl=new ue("appBaseHref");let Dy=(()=>{class e extends pi{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return pl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Pn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),MI=(()=>{class e extends pi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=pl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ml=(()=>{class e{constructor(n,r){this._subject=new lt,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=by(Cy(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pn(r))}normalize(n){return e.stripTrailingSlash(function II(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Cy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=Pn,e.joinWithSlash=pl,e.stripTrailingSlash=by,e.\u0275fac=function(n){return new(n||e)(V(pi),V(mr))},e.\u0275prov=Y({token:e,factory:function(){return function SI(){return new ml(V(pi),V(mr))}()},providedIn:"root"}),e})();function Cy(e){return e.replace(/\/index.html$/,"")}function Ry(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}class fT{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Sl=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,s,o)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fT(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,o),Ny(a,i)}});for(let i=0,s=r.length;i{Ny(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An),H(Wo))},e.\u0275dir=tt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function Ny(e,t){e.context.$implicit=t.item}let vs=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new hT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Oy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Oy("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An))},e.\u0275dir=tt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class hT{constructor(){this.$implicit=null,this.ngIf=null}}function Oy(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}let BT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})();let zT=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new qT(V(ft),window)}),e})();class qT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function GT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=jy(this.window.history)||jy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function jy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Hy{}class kl extends class WT extends class wI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function _I(e){Qo||(Qo=e)}(new kl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function QT(){return _s=_s||document.querySelector("base"),_s?_s.getAttribute("href"):null}();return null==n?null:function ZT(e){ia=ia||document.createElement("a"),ia.setAttribute("href",e);const t=ia.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){_s=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ry(document.cookie,t)}}let ia,_s=null;const By=new ue("TRANSITION_ID"),JT=[{provide:Jc,useFactory:function KT(e,t,n){return()=>{n.get(Yc).donePromise.then(()=>{const r=Kn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let s=0;s{const s=t.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements(),_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r=>{const i=_e.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(u){o=o||u,s--,0==s&&r(o)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?Kn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let YT=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const sa=new ue("EventManagerPlugins");let oa=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let s=0;s{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ws=(()=>{class e extends Uy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach($y),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach($y))}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function $y(e){Kn().remove(e)}const Nl={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/"},Ol=/%COMP%/g;function aa(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Fl=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new xl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case tn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new i3(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case tn.ShadowDom:return new s3(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=aa(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(oa),V(ws),V(ps))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class xl{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Nl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const s=Nl[i];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Nl[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Mt.DashCase|Mt.Important)?t.style.setProperty(n,r,i&Mt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Mt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Gy(r)):this.eventManager.addEventListener(t,n,Gy(r))}}class i3 extends xl{constructor(t,n,r,i){super(t),this.component=r;const s=aa(i+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function t3(e){return"_ngcontent-%COMP%".replace(Ol,e)}(i+"-"+r.id),this.hostAttr=function n3(e){return"_nghost-%COMP%".replace(Ol,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class s3 extends xl{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=aa(i.id,i.styles,[]);for(let o=0;o{class e extends Vy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Qy=["alt","control","meta","shift"],u3={"\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"},Zy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l3=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const s=e.parseEventName(r),o=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kn().onAndCancel(n,s.domEventName,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=e._normalizeKey(r.pop());let o="";if(Qy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(n){let r="",i=function d3(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Zy.hasOwnProperty(t)&&(t=Zy[t]))}return u3[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Qy.forEach(s=>{s!=i&&c3[s](n)&&(r+=s+".")}),r+=i,r}static eventCallback(n,r,i){return s=>{e.getEventFullKey(s)===n&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const g3=iy(mI,"browser",[{provide:el,useValue:"browser"},{provide:Km,useValue:function f3(){kl.makeCurrent(),Rl.init()},multi:!0},{provide:ft,useFactory:function p3(){return function ww(e){Za=e}(document),document},deps:[]}]),m3=[{provide:lc,useValue:"root"},{provide:Ki,useFactory:function h3(){return new Ki},deps:[]},{provide:sa,useClass:o3,multi:!0,deps:[ft,Ye,el]},{provide:sa,useClass:l3,multi:!0,deps:[ft]},{provide:Fl,useClass:Fl,deps:[oa,ws,ps]},{provide:hm,useExisting:Fl},{provide:Uy,useExisting:ws},{provide:ws,useClass:ws,deps:[ft]},{provide:il,useClass:il,deps:[Ye]},{provide:oa,useClass:oa,deps:[sa,Ye]},{provide:Hy,useClass:YT,deps:[]}];let y3=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:ps,useValue:n.appId},{provide:By,useExisting:ps},JT]}}}return e.\u0275fac=function(n){return new(n||e)(V(e,12))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:m3,imports:[BT,yI]}),e})(),Ll=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(n){let r=null;return r=n?new n:function _3(){return new Ll(V(ft))}(),r},providedIn:"root"}),e})();function X(...e){return Ke(e,Ii(e))}"undefined"!=typeof window&&window;class Xt extends j{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:T3}=Array,{getPrototypeOf:A3,prototype:P3,keys:k3}=Object;const{isArray:O3}=Array;function j3(...e){const t=Ii(e),n=function F_(e){return me(ka(e))?e.pop():void 0}(e),{args:r,keys:i}=function R3(e){if(1===e.length){const t=e[0];if(T3(t))return{args:t,keys:null};if(function N3(e){return e&&"object"==typeof e&&A3(e)===P3}(t)){const n=k3(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ke([],t);const s=new _(function H3(e,t,n=k){return r=>{Yy(t,()=>{const{length:i}=e,s=new Array(i);let o=i,a=i;for(let u=0;u{const l=Ke(e[u],t);let d=!1;l.subscribe(le(r,p=>{s[u]=p,d||(d=!0,a--),a||r.next(n(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,t,i?o=>function L3(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,o):k));return n?s.pipe(function x3(e){return G(t=>function F3(e,t){return O3(t)?e(...t):e(t)}(e,t))}(n)):s}function Yy(e,t,n){e?vn(n,e,t):t()}function ua(e,t){const n=me(e)?e:()=>e,r=i=>i.error(n());return new _(t?i=>t.schedule(r,0,i):r)}const ca=pn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hl(...e){return function B3(){return Si(1)}()(Ke(e,Ii(e)))}function Xy(e){return new _(t=>{yn(e()).subscribe(t)})}function ev(){return ye((e,t)=>{let n=null;e._refCount++;const r=le(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class V3 extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,We(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,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const n=this.getSubject();t.add(this.source.subscribe(le(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return ev()(this)}}function yr(e,t){return ye((n,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();n.subscribe(le(r,u=>{null==i||i.unsubscribe();let l=0;const d=s++;yn(e(u,d)).subscribe(i=le(r,p=>r.next(t?t(u,p,d,l++):p),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function $3(e,t,n,r,i){return(s,o)=>{let a=n,u=t,l=0;s.subscribe(le(o,d=>{const p=l++;u=a?e(u,d,p):(a=!0,d),r&&o.next(u)},i&&(()=>{a&&o.next(u),o.complete()})))}}function tv(e,t){return ye($3(e,t,arguments.length>=2,!0))}function vr(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>e.call(t,s,i++)&&r.next(s)))})}function Yn(e){return ye((t,n)=>{let s,r=null,i=!1;r=t.subscribe(le(n,void 0,void 0,o=>{s=yn(e(o,Yn(e)(t))),r?(r.unsubscribe(),r=null,s.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(n))})}function gi(e,t){return me(t)?qe(e,t,1):qe(e,1)}function Bl(e){return e<=0?()=>_n:ye((t,n)=>{let r=[];t.subscribe(le(n,i=>{r.push(i),e{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function nv(e=z3){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function z3(){return new ca}function rv(e){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function mi(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,js(1),n?rv(t):nv(()=>new ca))}function It(e,t,n){const r=me(e)||t||n?{next:e,error:t,complete:n}:e;return r?ye((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(le(s,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),s.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),s.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),s.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):k}class Rn{constructor(t,n){this.id=t,this.url=n}}class Vl extends Rn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bs extends Rn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class iv extends Rn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W3 extends Rn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Q3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K3 extends Rn{constructor(t,n,r,i,s){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class J3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ov{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class X3{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eA{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tA{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nA{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class av{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ie="primary";class rA{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function yi(e){return new rA(e)}const uv="ngNavigationCancelingError";function Ul(e){const t=Error("NavigationCancelingError: "+e);return t[uv]=!0,t}function sA(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[s]===i)}return e===t}function lv(e){return Array.prototype.concat.apply([],e)}function dv(e){return e.length>0?e[e.length-1]:null}function Xe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function hn(e){return Wp(e)?e:Po(e)?Ke(Promise.resolve(e)):X(e)}const uA={exact:function pv(e,t,n){if(!wr(e.segments,t.segments)||!la(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!pv(e.children[r],t.children[r],n))return!1;return!0},subset:gv},fv={exact:function cA(e,t){return fn(e,t)},subset:function lA(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>cv(e[n],t[n]))},ignored:()=>!0};function hv(e,t,n){return uA[n.paths](e.root,t.root,n.matrixParams)&&fv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function gv(e,t,n){return mv(e,t,t.segments,n)}function mv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!wr(i,n)||t.hasChildren()||!la(i,n,r))}if(e.segments.length===n.length){if(!wr(e.segments,n)||!la(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!gv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!(wr(e.segments,i)&&la(e.segments,i,r)&&e.children[ie])&&mv(e.children[ie],t,s,r)}}function la(e,t,n){return t.every((r,i)=>fv[n](e[i].parameters,r.parameters))}class _r{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return hA.serialize(this)}}class ce{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Xe(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return da(this)}}class Ds{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=yi(this.parameters)),this._parameterMap}toString(){return bv(this)}}function wr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class yv{}class vv{parse(t){const n=new DA(t);return new _r(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Cs(t.root,!0)}`,r=function mA(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${fa(n)}=${fa(i)}`).join("&"):`${fa(n)}=${fa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function pA(e){return encodeURI(e)}(t.fragment)}`:""}`}}const hA=new vv;function da(e){return e.segments.map(t=>bv(t)).join("/")}function Cs(e,t){if(!e.hasChildren())return da(e);if(t){const n=e.children[ie]?Cs(e.children[ie],!1):"",r=[];return Xe(e.children,(i,s)=>{s!==ie&&r.push(`${s}:${Cs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function fA(e,t){let n=[];return Xe(e.children,(r,i)=>{i===ie&&(n=n.concat(t(r,i)))}),Xe(e.children,(r,i)=>{i!==ie&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===ie?[Cs(e.children[ie],!1)]:[`${i}:${Cs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ie]?`${da(e)}/${n[0]}`:`${da(e)}/(${n.join("//")})`}}function _v(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fa(e){return _v(e).replace(/%3B/gi,";")}function $l(e){return _v(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ha(e){return decodeURIComponent(e)}function wv(e){return ha(e.replace(/\+/g,"%20"))}function bv(e){return`${$l(e.path)}${function gA(e){return Object.keys(e).map(t=>`;${$l(t)}=${$l(e[t])}`).join("")}(e.parameters)}`}const yA=/^[^\/()?;=#]+/;function pa(e){const t=e.match(yA);return t?t[0]:""}const vA=/^[^=?&#]+/,wA=/^[^&#]+/;class DA{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[ie]=new ce(t,n)),r}parseSegment(){const t=pa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Ds(ha(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=pa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=pa(this.remaining);i&&(r=i,this.capture(r))}t[ha(n)]=ha(r)}parseQueryParam(t){const n=function _A(e){const t=e.match(vA);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=function bA(e){const t=e.match(wA);return t?t[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=wv(n),s=wv(r);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=pa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;r.indexOf(":")>-1?(s=r.substr(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ie);const o=this.parseChildren();n[s]=1===Object.keys(o).length?o[ie]:new ce([],o),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Dv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=zl(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=zl(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ql(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ql(t,this._root).map(n=>n.value)}}function zl(e,t){if(e===t.value)return t;for(const n of t.children){const r=zl(e,n);if(r)return r}return null}function ql(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ql(e,n);if(r.length)return r.unshift(t),r}return[]}class Nn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function vi(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Cv extends Dv{constructor(t,n){super(t),this.snapshot=n,Gl(this,t)}toString(){return this.snapshot.toString()}}function Ev(e,t){const n=function CA(e,t){const o=new ga([],{},{},"",{},ie,t,null,e.root,-1,{});return new Sv("",new Nn(o,[]))}(e,t),r=new Xt([new Ds("",{})]),i=new Xt({}),s=new Xt({}),o=new Xt({}),a=new Xt(""),u=new _i(r,i,o,a,s,ie,t,n.root);return u.snapshot=n.root,new Cv(new Nn(u,[]),n)}class _i{constructor(t,n,r,i,s,o,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,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(G(t=>yi(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(t=>yi(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mv(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function EA(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ga{constructor(t,n,r,i,s,o,a,u,l,d,p){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=d,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=yi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sv extends Dv{constructor(t,n){super(n),this.url=t,Gl(this,n)}toString(){return Iv(this._root)}}function Gl(e,t){t.value._routerState=e,t.children.forEach(n=>Gl(e,n))}function Iv(e){const t=e.children.length>0?` { ${e.children.map(Iv).join(", ")} } `:"";return`${e.value}${t}`}function Wl(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,fn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),fn(t.params,n.params)||e.params.next(n.params),function oA(e,t){if(e.length!==t.length)return!1;for(let n=0;nfn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Ql(e.parent,t.parent))}function Es(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function SA(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Es(e,r,i);return Es(e,r)})}(e,t,n);return new Nn(r,i)}{if(e.shouldAttach(t.value)){const s=e.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Es(e,a)),o}}const r=function IA(e){return new _i(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(s=>Es(e,s));return new Nn(r,i)}}function ma(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ms(e){return"object"==typeof e&&null!=e&&e.outlets}function Zl(e,t,n,r,i){let s={};if(r&&Xe(r,(a,u)=>{s[u]=Array.isArray(a)?a.map(l=>`${l}`):`${a}`}),e===t)return new _r(n,s,i);const o=Tv(e,t,n);return new _r(o,s,i)}function Tv(e,t,n){const r={};return Xe(e.children,(i,s)=>{r[s]=i===t?n:Tv(i,t,n)}),new ce(e.segments,r)}class Av{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ma(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(Ms);if(i&&i!==dv(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kl{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Pv(e,t,n){if(e||(e=new ce([],{})),0===e.segments.length&&e.hasChildren())return ya(e,t,n);const r=function NA(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return s;const o=e.segments[i],a=n[r];if(Ms(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Rv(u,l,o))return s;r+=2}else{if(!Rv(u,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Pv(e.children[o],t,s))}),Xe(e.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new ce(e.segments,i)}}function Jl(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Jl(new ce([],{}),0,n))}),t}function kv(e){const t={};return Xe(e,(n,r)=>t[r]=`${n}`),t}function Rv(e,t,n){return e==n.path&&fn(t,n.parameters)}class xA{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Wl(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Xe(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(t,n,o.children)}else this.deactivateChildRoutes(t,n,r);else s&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);if(r&&r.outlet){const o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new nA(s.value.snapshot))}),t.children.length&&this.forwardEvent(new eA(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(Wl(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,o.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Wl(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function LA(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,r)}}class Yl{constructor(t,n){this.routes=t,this.module=n}}function Xn(e){return"function"==typeof e}function br(e){return e instanceof _r}const Ss=Symbol("INITIAL_VALUE");function Is(){return yr(e=>j3(e.map(t=>t.pipe(js(1),function U3(...e){const t=Ii(e);return ye((n,r)=>{(t?Hl(e,n,t):Hl(e,n)).subscribe(r)})}(Ss)))).pipe(tv((t,n)=>{let r=!1;return n.reduce((i,s,o)=>i!==Ss?i:(s===Ss&&(r=!0),r||!1!==s&&o!==n.length-1&&!br(s)?i:s),t)},Ss),vr(t=>t!==Ss),G(t=>br(t)?t:!0===t),js(1)))}class $A{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ts,this.attachRef=null}}class Ts{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new $A,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Xl=(()=>{class e{constructor(n,r,i,s,o){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.name=s||ie,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const o=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new zA(n,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(H(Ts),H(Kt),H(cs),function Li(e){return function Jw(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jn({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&vt(0,"router-outlet")},directives:[Xl],encapsulation:2}),e})();function Ov(e,t=""){for(let n=0;njt(r)===t);return n.push(...e.filter(r=>jt(r)!==t)),n}const xv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function va(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xv):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const s=(t.matcher||sA)(n,e,t);if(!s)return Object.assign({},xv);const o={};Xe(s.posParams,(u,l)=>{o[l]=u.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:n.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function _a(e,t,n,r,i="corrected"){if(n.length>0&&function ZA(e,t,n){return n.some(r=>wa(e,t,r)&&jt(r)!==ie)}(e,n,r)){const o=new ce(t,function QA(e,t,n,r){const i={};i[ie]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&jt(s)!==ie){const o=new ce([],{});o._sourceSegment=e,o._segmentIndexShift=t.length,i[jt(s)]=o}return i}(e,t,r,new ce(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function KA(e,t,n){return n.some(r=>wa(e,t,r))}(e,n,r)){const o=new ce(e.segments,function WA(e,t,n,r,i,s){const o={};for(const a of r)if(wa(e,n,a)&&!i[jt(a)]){const u=new ce([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[jt(a)]=u}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const s=new ce(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function wa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Lv(e,t,n,r){return!!(jt(e)===r||r!==ie&&wa(t,n,e))&&("**"===e.path||va(t,e,n).matched)}function jv(e,t,n){return 0===t.length&&!e.children[n]}class ba{constructor(t){this.segmentGroup=t||null}}class Hv{constructor(t){this.urlTree=t}}function As(e){return ua(new ba(e))}function Bv(e){return ua(new Hv(e))}class e1{constructor(t,n,r,i,s){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Tn)}apply(){const t=_a(this.urlTree.root,[],[],this.config).segmentGroup,n=new ce(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ie).pipe(G(s=>this.createUrlTree(td(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Yn(s=>{if(s instanceof Hv)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof ba?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ie).pipe(G(i=>this.createUrlTree(td(i),t.queryParams,t.fragment))).pipe(Yn(i=>{throw i instanceof ba?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new ce([],{[ie]:t}):t;return new _r(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(G(s=>new ce([],s))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return Ke(i).pipe(gi(s=>{const o=r.children[s],a=Fv(n,s);return this.expandSegmentGroup(t,a,o,s).pipe(G(u=>({segment:u,outlet:s})))}),tv((s,o)=>(s[o.outlet]=o.segment,s),{}),function q3(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,Bl(1),n?rv(t):nv(()=>new ca))}())}expandSegment(t,n,r,i,s,o){return Ke(r).pipe(gi(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,s,o).pipe(Yn(l=>{if(l instanceof ba)return X(null);throw l}))),mi(a=>!!a),Yn((a,u)=>{if(a instanceof ca||"EmptyError"===a.name)return jv(n,i,s)?X(new ce([],{})):As(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,s,o,a){return Lv(i,n,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o):As(n):As(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Bv(s):this.lineralizeSegments(r,s).pipe(qe(o=>{const a=new ce(o,{});return this.expandSegment(t,a,n,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:d}=va(n,i,s);if(!a)return As(n);const p=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?Bv(p):this.lineralizeSegments(i,p).pipe(qe(g=>this.expandSegment(t,n,r,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,n,r,i,s){if("**"===r.path)return r.loadChildren?(r._loadedConfig?X(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(G(p=>(r._loadedConfig=p,new ce(i,{})))):X(new ce(i,{}));const{matched:o,consumedSegments:a,remainingSegments:u}=va(n,r,i);return o?this.getChildConfig(t,r,i).pipe(qe(d=>{const p=d.module,g=d.routes,{segmentGroup:y,slicedSegments:D}=_a(n,a,u,g),S=new ce(y.segments,y.children);if(0===D.length&&S.hasChildren())return this.expandChildren(p,g,S).pipe(G(B=>new ce(a,B)));if(0===g.length&&0===D.length)return X(new ce(a,{}));const P=jt(r)===s;return this.expandSegment(p,S,g,D,P?ie:s,!0).pipe(G(M=>new ce(a.concat(M.segments),M.children)))})):As(n)}getChildConfig(t,n,r){return n.children?X(new Yl(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?X(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(qe(i=>i?this.configLoader.load(t.injector,n).pipe(G(s=>(n._loadedConfig=s,s))):function YA(e){return ua(Ul(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):X(new Yl([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?X(i.map(o=>{const a=t.get(o);let u;if(function HA(e){return e&&Xn(e.canLoad)}(a))u=a.canLoad(n,r);else{if(!Xn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}return hn(u)})).pipe(Is(),It(o=>{if(!br(o))return;const a=Ul(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),G(o=>!0===o)):X(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return X(r);if(i.numberOfChildren>1||!i.children[ie])return ua(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));i=i.children[ie]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const s=this.createSegmentGroup(t,n.root,r,i);return new _r(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Xe(t,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=n[a]}else r[s]=i}),r}createSegmentGroup(t,n,r,i){const s=this.createSegments(t,n.segments,r,i);let o={};return Xe(n.children,(a,u)=>{o[u]=this.createSegmentGroup(t,a,r,i)}),new ce(s,o)}createSegments(t,n,r,i){return n.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function td(e){const t={};for(const r of Object.keys(e.children)){const s=td(e.children[r]);(s.segments.length>0||s.hasChildren())&&(t[r]=s)}return function t1(e){if(1===e.numberOfChildren&&e.children[ie]){const t=e.children[ie];return new ce(e.segments.concat(t.segments),t.children)}return e}(new ce(e.segments,t))}class Vv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Da{constructor(t,n){this.component=t,this.route=n}}function r1(e,t,n){const r=e._root;return Ps(r,t?t._root:null,n,[r.value])}function Ca(e,t,n){const r=function s1(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ps(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=vi(t);return e.children.forEach(o=>{(function o1(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const u=function a1(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!wr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,t.url)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ql(e,t)||!fn(e.queryParams,t.queryParams);default:return!Ql(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Vv(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Ps(e,t,s.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Da(a.outlet.component,o))}else o&&ks(t,a,i),i.canActivateChecks.push(new Vv(r)),Ps(e,null,s.component?a?a.children:null:n,r,i)})(o,s[o.value.outlet],n,r.concat([o.value]),i),delete s[o.value.outlet]}),Xe(s,(o,a)=>ks(o,n.getContext(a),i)),i}function ks(e,t,n){const r=vi(e),i=e.value;Xe(r,(s,o)=>{ks(s,i.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new Da(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class m1{}function Uv(e){return new _(t=>t.error(e))}class v1{constructor(t,n,r,i,s,o){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=_a(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,ie);if(null===n)return null;const r=new ga([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ie,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Nn(r,n),s=new Sv(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const n=t.value,r=Mv(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const s of Object.keys(n.children)){const o=n.children[s],a=Fv(t,s),u=this.processSegmentGroup(a,o,s);if(null===u)return null;r.push(...u)}const i=$v(r);return function _1(e){e.sort((t,n)=>t.value.outlet===ie?-1:n.value.outlet===ie?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(t,n,r,i){for(const s of t){const o=this.processSegmentAgainstRoute(s,n,r,i);if(null!==o)return o}return jv(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Lv(t,n,r,i))return null;let s,o=[],a=[];if("**"===t.path){const y=r.length>0?dv(r).parameters:{};s=new ga(r,y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+r.length,Wv(t))}else{const y=va(n,t,r);if(!y.matched)return null;o=y.consumedSegments,a=y.remainingSegments,s=new ga(o,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+o.length,Wv(t))}const u=function w1(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:d}=_a(n,o,a,u.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===d.length&&l.hasChildren()){const y=this.processChildren(u,l);return null===y?null:[new Nn(s,y)]}if(0===u.length&&0===d.length)return[new Nn(s,[])];const p=jt(t)===i,g=this.processSegment(u,l,d,p?ie:i);return null===g?null:[new Nn(s,g)]}}function b1(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $v(e){const t=[],n=new Set;for(const r of e){if(!b1(r)){t.push(r);continue}const i=t.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=$v(r.children);t.push(new Nn(r.value,i))}return t.filter(r=>!n.has(r))}function zv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function qv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Gv(e){return e.data||{}}function Wv(e){return e.resolve||{}}function Qv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function nd(e){return yr(t=>{const n=e(t);return n?Ke(n).pipe(G(()=>t)):X(t)})}class A1 extends class T1{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const rd=new ue("ROUTES");class Zv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(G(s=>{this.onLoadEndListener&&this.onLoadEndListener(n);const o=s.create(t);return new Yl(lv(o.injector.get(rd,void 0,q.Self|q.Optional)).map(ed),o)}),Yn(s=>{throw n._loader$=void 0,s}));return n._loader$=new V3(i,()=>new j).pipe(ev()),n._loader$}loadModuleFactory(t){return hn(t()).pipe(qe(n=>n instanceof mm?X(n):Ke(this.compiler.compileModuleAsync(n))))}}class k1{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function R1(e){throw e}function N1(e,t,n){return t.parse("/")}function Kv(e,t){return X(null)}const O1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ht=(()=>{class e{constructor(n,r,i,s,o,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=s,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=R1,this.malformedUriErrorHandler=N1,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kv,afterPreactivation:Kv},this.urlHandlingStrategy=new k1,this.routeReuseStrategy=new A1,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Tn),this.console=o.get(NS);const p=o.get(Ye);this.isNgZoneEnabled=p instanceof Ye&&Ye.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function aA(){return new _r(new ce([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Zv(o,a,g=>this.triggerEvent(new sv(g)),g=>this.triggerEvent(new ov(g))),this.routerState=Ev(this.currentUrlTree,this.rootComponentType),this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(vr(i=>0!==i.id),G(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),yr(i=>{let s=!1,o=!1;return X(i).pipe(It(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),yr(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Jv(a.source)&&(this.browserUrlTree=a.extractedUrl),X(a).pipe(yr(p=>{const g=this.transitions.getValue();return r.next(new Vl(p.id,this.serializeUrl(p.extractedUrl),p.source,p.restoredState)),g!==this.transitions.getValue()?_n:Promise.resolve(p)}),function n1(e,t,n,r){return yr(i=>function XA(e,t,n,r,i){return new e1(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(G(s=>Object.assign(Object.assign({},i),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),It(p=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:p.urlAfterRedirects})}),function D1(e,t,n,r,i){return qe(s=>function y1(e,t,n,r,i="emptyOnly",s="legacy"){try{const o=new v1(e,t,n,r,i,s).recognize();return null===o?Uv(new m1):X(o)}catch(o){return Uv(o)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(G(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,p=>this.serializeUrl(p),this.paramsInheritanceStrategy,this.relativeLinkResolution),It(p=>{if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}const g=new Q3(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(p.urlAfterRedirects),p.targetSnapshot);r.next(g)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:y,source:D,restoredState:S,extras:P}=a,T=new Vl(g,this.serializeUrl(y),D,S);r.next(T);const M=Ev(y,this.rootComponentType).snapshot;return X(Object.assign(Object.assign({},a),{targetSnapshot:M,urlAfterRedirects:y,extras:Object.assign(Object.assign({},P),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),_n}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),It(a=>{const u=new Z3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),G(a=>Object.assign(Object.assign({},a),{guards:r1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function u1(e,t){return qe(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?X(Object.assign(Object.assign({},n),{guardsResult:!0})):function c1(e,t,n,r){return Ke(e).pipe(qe(i=>function g1(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?X(s.map(a=>{const u=Ca(a,t,i);let l;if(function UA(e){return e&&Xn(e.canDeactivate)}(u))l=hn(u.canDeactivate(e,t,n,r));else{if(!Xn(u))throw new Error("Invalid CanDeactivate guard");l=hn(u(e,t,n,r))}return l.pipe(mi())})).pipe(Is()):X(!0)}(i.component,i.route,n,t,r)),mi(i=>!0!==i,!0))}(o,r,i,e).pipe(qe(a=>a&&function jA(e){return"boolean"==typeof e}(a)?function l1(e,t,n,r){return Ke(t).pipe(gi(i=>Hl(function f1(e,t){return null!==e&&t&&t(new X3(e)),X(!0)}(i.route.parent,r),function d1(e,t){return null!==e&&t&&t(new tA(e)),X(!0)}(i.route,r),function p1(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function i1(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Xy(()=>X(o.guards.map(u=>{const l=Ca(u,o.node,n);let d;if(function VA(e){return e&&Xn(e.canActivateChild)}(l))d=hn(l.canActivateChild(r,e));else{if(!Xn(l))throw new Error("Invalid CanActivateChild guard");d=hn(l(r,e))}return d.pipe(mi())})).pipe(Is())));return X(s).pipe(Is())}(e,i.path,n),function h1(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return X(!0);const i=r.map(s=>Xy(()=>{const o=Ca(s,t,n);let a;if(function BA(e){return e&&Xn(e.canActivate)}(o))a=hn(o.canActivate(t,e));else{if(!Xn(o))throw new Error("Invalid CanActivate guard");a=hn(o(t,e))}return a.pipe(mi())}));return X(i).pipe(Is())}(e,i.route,n))),mi(i=>!0!==i,!0))}(r,s,e,t):X(a)),G(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),It(a=>{if(br(a.guardsResult)){const l=Ul(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new K3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),vr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),nd(a=>{if(a.guards.canActivateChecks.length)return X(a).pipe(It(u=>{const l=new J3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),yr(u=>{let l=!1;return X(u).pipe(function C1(e,t){return qe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return X(n);let s=0;return Ke(i).pipe(gi(o=>function E1(e,t,n,r){return function M1(e,t,n,r){const i=Qv(e);if(0===i.length)return X({});const s={};return Ke(i).pipe(qe(o=>function S1(e,t,n,r){const i=Ca(e,t,r);return hn(i.resolve?i.resolve(t,n):i(t,n))}(e[o],t,n,r).pipe(It(a=>{s[o]=a}))),Bl(1),qe(()=>Qv(s).length===i.length?X(s):_n))}(e._resolve,e,t,r).pipe(G(s=>(e._resolvedData=s,e.data=Object.assign(Object.assign({},e.data),Mv(e,n).resolve),null)))}(o.route,r,e,t)),It(()=>s++),Bl(1),qe(o=>s===i.length?X(n):_n))})}(this.paramsInheritanceStrategy,this.ngModule.injector),It({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),It(u=>{const l=new Y3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),G(a=>{const u=function MA(e,t,n){const r=Es(e,t._root,n?n._root:void 0);return new Cv(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),It(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>G(r=>(new xA(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),It({next(){s=!0},complete(){s=!0}}),function G3(e){return ye((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;s||o||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Yn(a=>{if(o=!0,function iA(e){return e&&e[uv]}(a)){const u=br(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new iv(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Jv(i.source)};this.scheduleNavigation(d,"imperative",null,p,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new W3(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return _n}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const s={replaceUrl:!0},o=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(o){const u=Object.assign({},o);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){Ov(n),this.config=n.map(ed),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,d=u?this.currentUrlTree.fragment:o;let p=null;switch(a){case"merge":p=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}return null!==p&&(p=this.removeEmptyProps(p)),function TA(e,t,n,r,i){if(0===n.length)return Zl(t.root,t.root,t.root,r,i);const s=function AA(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Av(!0,0,e);let t=0,n=!1;const r=e.reduce((i,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return Xe(s.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===o?(s.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new Av(n,t,r)}(n);if(s.toRoot())return Zl(t.root,t.root,new ce([],{}),r,i);const o=function PA(e,t,n){if(e.isAbsolute)return new Kl(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const s=n.snapshot._urlSegment;return new Kl(s,s===t.root,0)}const r=ma(e.commands[0])?0:1;return function kA(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Kl(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?ya(o.segmentGroup,o.index,s.commands):Pv(o.segmentGroup,o.index,s.commands);return Zl(t.root,o.segmentGroup,a,r,i)}(l,this.currentUrlTree,n,p,null!=d?d:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=br(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function x1(e){for(let t=0;t{const s=n[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new bs(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,s,o){var a,u;if(this.disposed)return Promise.resolve(!1);let l,d,p;o?(l=o.resolve,d=o.reject,p=o.promise):p=new Promise((D,S)=>{l=D,d=S});const g=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):y=0,this.setTransition({id:g,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(D=>Promise.reject(D))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(n,r=!1){var i,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new iv(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Dc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Jv(e){return"imperative"!==e}class Yv{}class Xv{preload(t,n){return X(null)}}let e_=(()=>{class e{constructor(n,r,i,s){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=new Zv(i,r,u=>n.triggerEvent(new sv(u)),u=>n.triggerEvent(new ov(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(vr(n=>n instanceof bs),gi(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Tn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const s of r)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(n,s)):s.children&&i.push(this.processRoutes(n,s.children));return Ke(i).pipe(Si(),G(s=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?X(r._loadedConfig):this.loader.load(n.injector,r)).pipe(qe(s=>(r._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(V(ht),V(Ym),V(yt),V(Yv))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Vl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof bs&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof av&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new av(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Dc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Dr=new ue("ROUTER_CONFIGURATION"),t_=new ue("ROUTER_FORROOT_GUARD"),B1=[ml,{provide:yv,useClass:vv},{provide:ht,useFactory:function q1(e,t,n,r,i,s,o={},a,u){const l=new ht(null,e,t,n,r,i,lv(s));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function G1(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(o,l),o.enableTracing&&l.events.subscribe(d=>{var p,g;null===(p=console.group)||void 0===p||p.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(g=console.groupEnd)||void 0===g||g.call(console)}),l},deps:[yv,Ts,ml,yt,Ym,rd,Dr,[class P1{},new $n],[class I1{},new $n]]},Ts,{provide:_i,useFactory:function W1(e){return e.routerState.root},deps:[ht]},e_,Xv,class H1{preload(t,n){return n().pipe(Yn(()=>X(null)))}},{provide:Dr,useValue:{enableTracing:!1}}];function V1(){return new ry("Router",ht)}let n_=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[B1,r_(n),{provide:t_,useFactory:z1,deps:[[ht,new $n,new zi]]},{provide:Dr,useValue:r||{}},{provide:pi,useFactory:$1,deps:[mr,[new co(gl),new $n],Dr]},{provide:od,useFactory:U1,deps:[ht,zT,Dr]},{provide:Yv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Xv},{provide:ry,multi:!0,useFactory:V1},[ad,{provide:Jc,multi:!0,useFactory:Q1,deps:[ad]},{provide:i_,useFactory:Z1,deps:[ad]},{provide:Jm,multi:!0,useExisting:i_}]]}}static forChild(n){return{ngModule:e,providers:[r_(n)]}}}return e.\u0275fac=function(n){return new(n||e)(V(t_,8),V(ht,8))},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({}),e})();function U1(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new od(e,t,n)}function $1(e,t,n={}){return n.useHash?new MI(e,t):new Dy(e,t)}function z1(e){return"guarded"}function r_(e){return[{provide:rb,multi:!0,useValue:e},{provide:rd,multi:!0,useValue:e}]}let ad=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new j}appInitializer(){return this.injector.get(DI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),s=this.injector.get(ht),o=this.injector.get(Dr);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),r(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?X(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),s.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(Dr),i=this.injector.get(e_),s=this.injector.get(od),o=this.injector.get(ht),a=this.injector.get(al);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&o.initialNavigation(),i.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Q1(e){return e.appInitializer.bind(e)}function Z1(e){return e.bootstrapListener.bind(e)}const i_=new ue("Router Initializer");class s_{constructor(){this.postTitle="",this.timestamp="",this.editedTimestamp="",this.postContent="",this.filename="",this.draft=!1}}var o_=Ns(767);class a_{}class u_{}class On{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof On?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(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new On;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof On?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const s=t.value;if(s){let o=this.headers.get(n);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class J1{encodeKey(t){return c_(t)}encodeValue(t){return c_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const X1=/%(\d[a-f0-9])/gi,e8={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function c_(e){return encodeURIComponent(e).replace(X1,(t,n)=>{var r;return null!==(r=e8[n])&&void 0!==r?r:t})}function l_(e){return`${e}`}class er{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new J1,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Y1(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,a]=-1==s?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,s)),t.decodeValue(i.slice(s+1))],u=n.get(o)||[];u.push(a),n.set(o,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new er({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(l_(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(l_(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class t8{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),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 d_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function f_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function h_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Rs{constructor(t,n,r,i){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function n8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new On),this.context||(this.context=new t8),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ag.set(y,t.setHeaders[y]),l)),t.setParams&&(d=Object.keys(t.setParams).reduce((g,y)=>g.set(y,t.setParams[y]),d)),new Rs(r,i,o,{params:d,headers:l,context:p,reportProgress:u,responseType:s,withCredentials:a})}}var He=(()=>((He=He||{})[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He))();class ud{constructor(t,n=200,r="OK"){this.headers=t.headers||new On,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cd extends ud{constructor(t={}){super(t),this.type=He.ResponseHeader}clone(t={}){return new cd({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 Ea extends ud{constructor(t={}){super(t),this.type=He.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ea({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 p_ extends ud{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 ld(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let g_=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let s;if(n instanceof Rs)s=n;else{let u,l;u=i.headers instanceof On?i.headers:new On(i.headers),i.params&&(l=i.params instanceof er?i.params:new er({fromObject:i.params})),s=new Rs(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=X(s).pipe(gi(u=>this.handler.handle(u)));if(n instanceof Rs||"events"===i.observe)return o;const a=o.pipe(vr(u=>u instanceof Ea));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(G(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(G(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new er).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,ld(i,r))}post(n,r,i={}){return this.request("POST",n,ld(i,r))}put(n,r,i={}){return this.request("PUT",n,ld(i,r))}}return e.\u0275fac=function(n){return new(n||e)(V(a_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class m_{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const y_=new ue("HTTP_INTERCEPTORS");let i8=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const s8=/^\)\]\}',?\n/;let v_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((y,D)=>i.setRequestHeader(y,D.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const y=n.detectContentTypeHeader();null!==y&&i.setRequestHeader("Content-Type",y)}if(n.responseType){const y=n.responseType.toLowerCase();i.responseType="json"!==y?y:"text"}const s=n.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const y=i.statusText||"OK",D=new On(i.getAllResponseHeaders()),S=function o8(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return o=new cd({headers:D,status:i.status,statusText:y,url:S}),o},u=()=>{let{headers:y,status:D,statusText:S,url:P}=a(),T=null;204!==D&&(T=void 0===i.response?i.responseText:i.response),0===D&&(D=T?200:0);let M=D>=200&&D<300;if("json"===n.responseType&&"string"==typeof T){const B=T;T=T.replace(s8,"");try{T=""!==T?JSON.parse(T):null}catch(J){T=B,M&&(M=!1,T={error:J,text:T})}}M?(r.next(new Ea({body:T,headers:y,status:D,statusText:S,url:P||void 0})),r.complete()):r.error(new p_({error:T,headers:y,status:D,statusText:S,url:P||void 0}))},l=y=>{const{url:D}=a(),S=new p_({error:y,status:i.status||0,statusText:i.statusText||"Unknown Error",url:D||void 0});r.error(S)};let d=!1;const p=y=>{d||(r.next(a()),d=!0);let D={type:He.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),"text"===n.responseType&&!!i.responseText&&(D.partialText=i.responseText),r.next(D)},g=y=>{let D={type:He.UploadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),r.next(D)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",p),null!==s&&i.upload&&i.upload.addEventListener("progress",g)),i.send(s),r.next({type:He.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",p),null!==s&&i.upload&&i.upload.removeEventListener("progress",g)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Hy))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const dd=new ue("XSRF_COOKIE_NAME"),fd=new ue("XSRF_HEADER_NAME");class __{}let a8=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ry(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(ft),V(el),V(dd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),hd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(__),V(fd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),u8=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(y_,[]);this.chain=r.reduceRight((i,s)=>new m_(i,s),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(u_),V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),c8=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:hd,useClass:i8}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:dd,useValue:n.cookieName}:[],n.headerName?{provide:fd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:[hd,{provide:y_,useExisting:hd,multi:!0},{provide:__,useClass:a8},{provide:dd,useValue:"XSRF-TOKEN"},{provide:fd,useValue:"X-XSRF-TOKEN"}]}),e})(),l8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({providers:[g_,{provide:a_,useClass:u8},v_,{provide:u_,useExisting:v_}],imports:[[c8.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Ma=(()=>{class e{constructor(n){this.httpClient=n}getSettings(){return this.httpClient.get("./assets/settings.json?latest="+this.generateTimestamp())}getArchive(){return this.httpClient.get("./assets/posts/archive.json?latest="+this.generateTimestamp())}getPost(n){return this.httpClient.get(n+"?latest="+this.generateTimestamp())}generateTimestamp(){return Math.round((new Date).getTime()/1e3).toString()}parseTimestamp(n){return new Date(1e3*Number(n)).toUTCString()}}return e.\u0275fac=function(n){return new(n||e)(V(g_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function d8(e,t){if(1&e&&(oe(0,"div",10)(1,"strong"),ge(2,"Posted on"),K(),ge(3),K()),2&e){const n=xe().$implicit,r=xe();se(3),Wn("\xa0",r.helperService.parseTimestamp(n.timestamp)," ")}}function f8(e,t){if(1&e&&(oe(0,"div",10)(1,"strong"),ge(2,"Edited on"),K(),ge(3),K()),2&e){const n=xe().$implicit,r=xe();se(3),Wn("\xa0",r.helperService.parseTimestamp(n.editedTimestamp)," ")}}function h8(e,t){if(1&e&&(oe(0,"div",4)(1,"div",5)(2,"a",6),ge(3),K(),Fe(4,d8,4,1,"div",7),Fe(5,f8,4,1,"div",7),K(),oe(6,"div",8),vt(7,"p",9),K()()),2&e){const n=t.$implicit,r=xe();se(2),fr("href","./?post=",n.filename,"",Ot),se(1),In(n.postTitle),se(1),Se("ngIf",!!n.timestamp),se(1),Se("ngIf",!!n.editedTimestamp),se(2),Se("innerHTML",r.generateHTML(n.postContent),Mu)}}function g8(e,t){if(1&e&&(oe(0,"div",13),ge(1),K()),2&e){const n=xe().$implicit,r=xe(2);se(1),In(r.parseTimestamp(n.timestamp))}}function m8(e,t){if(1&e&&(To(0),oe(1,"a",10)(2,"div",11),ge(3),Fe(4,g8,2,1,"div",12),K()(),Ao()),2&e){const n=t.$implicit;se(1),fr("href","./?post=",n.filename,"",Ot),se(2),Wn(" ",n.postTitle," "),se(1),Se("ngIf",!!n.timestamp)}}function y8(e,t){if(1&e&&(oe(0,"div",8),Fe(1,m8,5,3,"ng-container",9),K()),2&e){const n=xe();se(1),Se("ngForOf",n.filteredArchives)}}function v8(e,t){1&e&&(oe(0,"div",14)(1,"a",15)(2,"button",16),ge(3,"\xab HOME \xbb"),K()()())}function w8(e,t){1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Draft: Post not published."),K()())}function b8(e,t){if(1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Posted on"),K(),ge(3),K()),2&e){const n=xe();se(3),Wn("\xa0",n.content.timestamp," ")}}function D8(e,t){if(1&e&&(oe(0,"div",8)(1,"strong"),ge(2,"Edited on"),K(),ge(3),K()),2&e){const n=xe();se(3),Wn("\xa0",n.content.editedTimestamp," ")}}function C8(e,t){1&e&&vt(0,"img",17),2&e&&fr("src","./assets/",xe(2).settings.avatar,"",Ot)}function E8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",19),K()),2&e&&dr("href",xe(2).settings.twitter,Ot)}function M8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",20),K()),2&e&&dr("href",xe(2).settings.mastodon,Ot)}function S8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",21),K()),2&e&&dr("href",xe(2).settings.instagram,Ot)}function I8(e,t){1&e&&(oe(0,"a",18),vt(1,"img",22),K()),2&e&&dr("href",xe(2).settings.youtube,Ot)}function T8(e,t){if(1&e&&(oe(0,"div",9)(1,"div",10),Fe(2,C8,1,1,"img",11),vt(3,"br"),K(),oe(4,"div",12)(5,"div",13),ge(6),K(),oe(7,"div",14),ge(8),K(),oe(9,"div",15),Fe(10,E8,2,1,"a",16),Fe(11,M8,2,1,"a",16),Fe(12,S8,2,1,"a",16),Fe(13,I8,2,1,"a",16),K()()()),2&e){const n=xe();se(2),Se("ngIf",!!n.settings.avatar),se(4),In(n.settings.username),se(2),In(n.settings.bio),se(2),Se("ngIf",!!n.settings.twitter),se(1),Se("ngIf",!!n.settings.mastodon),se(1),Se("ngIf",!!n.settings.instagram),se(1),Se("ngIf",!!n.settings.youtube)}}function A8(e,t){1&e&&(oe(0,"div",23)(1,"a",24)(2,"button",25),ge(3,"\xab HOME \xbb"),K()(),vt(4,"br"),oe(5,"a",26)(6,"button",27),ge(7," \xab ARCHIVES \xbb "),K()()())}const P8=[{path:"",component:(()=>{class e{constructor(n){this.helperService=n,this.contents=[],this.archives=[],this.settings={},this.postsLoaded=0}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe({next:n=>{this.archives=n,this.settings.maxPosts=this.archives.length{this.loadPosts()}})}loadPosts(){this.postsLoaded{this.contents.push(n)},complete:()=>{this.continue()},error:n=>{this.continue(n)}})}continue(n){if(n){const r=new s_;r.postTitle="Aw shucks!",r.postContent="We couldn't load this post! Sorry! ("+n.status+" "+n.statusText+")",r.filename="not-found",this.contents.push(r)}this.postsLoaded+=1,this.loadPosts()}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-home"]],decls:5,vars:1,consts:[["class","card margins",4,"ngFor","ngForOf"],[1,"text-center"],["href","./?page=archives"],["type","button",1,"btn-fat","btn-primary","margins-sides","margin-y"],[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],[1,"timestamp"]],template:function(n,r){1&n&&(Fe(0,h8,8,5,"div",0),oe(1,"div",1)(2,"a",2)(3,"button",3),ge(4,"\xab ARCHIVES \xbb"),K()()()),2&n&&Se("ngForOf",r.contents)},directives:[Sl,vs],styles:[""]}),e})()},{path:"archives",component:(()=>{class e{constructor(n){this.helperService=n,this.urlParams=new URLSearchParams(window.location.search),this.archives=[],this.filteredArchives=[],this.settings={}}ngOnInit(){this.loadSettings()}loadSettings(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe(n=>{this.archives=n,this.filteredArchives=n})}parseTimestamp(n){return n?"("+this.helperService.parseTimestamp(n)+")":""}searchArchive(n,r){this.filteredArchives=n?this.archives.filter(i=>i.postTitle.toLowerCase().includes(n.toLowerCase())):this.archives,r&&(document.getElementById("search").value="")}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-archives"]],decls:12,vars:2,consts:[[1,"placard"],[1,"placard-title"],[1,"placard-text"],[1,"text-center"],["type","text","placeholder","Search by Title",3,"keyup"],["type","button",1,"btn-bad-action",3,"click"],["class","list-group",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"list-group"],[4,"ngFor","ngForOf"],[3,"href"],[1,"list-item","mouse-hover","title"],["class","timestamp",4,"ngIf"],[1,"timestamp"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn-secondary","btn-fat"]],template:function(n,r){1&n&&(oe(0,"div",0)(1,"div",1),ge(2,"Archives"),K(),oe(3,"div",2),ge(4,"All blog posts, one place."),K()(),oe(5,"div",3)(6,"input",4),lr("keyup",function(s){return r.searchArchive(s.target.value)}),K(),ge(7," \xa0 "),oe(8,"button",5),lr("click",function(){return r.searchArchive("",!0)}),ge(9,"\xd7 CLEAR"),K()(),Fe(10,y8,2,1,"div",6),Fe(11,v8,4,0,"div",7)),2&n&&(se(10),Se("ngIf",r.filteredArchives.length>0),se(1),Se("ngIf",!!r.settings.username))},directives:[vs,Sl],styles:["input[type=text][_ngcontent-%COMP%]{width:30%}@media only screen and (hover: none){input[type=text][_ngcontent-%COMP%]{width:55%}}"]}),e})()},{path:"posts",component:(()=>{class e{constructor(n,r){this.titleService=n,this.helperService=r,this.urlParams=new URLSearchParams(window.location.search),this.content=new s_,this.settings={}}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.urlParams.get("post")&&this.loadPost()}})}loadPost(){this.helperService.getPost("./assets/posts/"+this.urlParams.get("post")+".json").subscribe({next:n=>{this.content=n,this.content.timestamp=this.content.timestamp?this.helperService.parseTimestamp(n.timestamp):"",this.content.editedTimestamp=this.content.editedTimestamp?this.helperService.parseTimestamp(n.editedTimestamp):"",this.titleService.setTitle(this.content.postTitle+" ~ "+this.settings.blogTitle)},error:n=>{this.content.postTitle="Whoops!",this.content.postContent="We couldn't load this post! ("+n.status+")"}})}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ll),H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-posts"]],decls:11,vars:8,consts:[[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],["class","profile-box",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"timestamp"],[1,"profile-box"],[1,"avatar"],["alt","Profile Avatar",3,"src",4,"ngIf"],[1,"bio-container"],[1,"bio-username"],[1,"bio-text"],[1,"social-networks"],["target","_blank",3,"href",4,"ngIf"],["alt","Profile Avatar",3,"src"],["target","_blank",3,"href"],["alt","Twitter","src","./assets/social/twitter.png"],["alt","Mastodon","src","./assets/social/mastodon.png"],["alt","Instagram","src","./assets/social/instagram.png"],["alt","YouTube","src","./assets/social/youtube.png"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn-secondary","btn-fat"],["href","./?page=archives"],["type","button",1,"margin-top","margins-sides","btn-primary","btn-fat"]],template:function(n,r){1&n&&(oe(0,"div",0)(1,"h4",1)(2,"a",2),ge(3),K(),Fe(4,w8,3,0,"div",3),Fe(5,b8,4,1,"div",3),Fe(6,D8,4,1,"div",3),K(),oe(7,"div",4),vt(8,"p",5),K()(),Fe(9,T8,14,7,"div",6),Fe(10,A8,8,0,"div",7)),2&n&&(se(2),fr("href","./?post=",r.content.filename,"",Ot),se(1),In(r.content.postTitle),se(1),Se("ngIf",r.content.draft),se(1),Se("ngIf",!!r.content.timestamp),se(1),Se("ngIf",!!r.content.editedTimestamp),se(2),Se("innerHTML",r.generateHTML(r.content.postContent),Mu),se(1),Se("ngIf",!!r.settings.username),se(1),Se("ngIf",r.settings.username))},directives:[vs],styles:[".profile-box[_ngcontent-%COMP%]{display:flex!important;padding:1rem;margin-top:5rem!important;margin:0 auto;background-color:#383838;box-shadow:#000a 4px 4px;width:50%}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0 1rem;display:inline-block;max-width:200px;max-height:150px}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border:3px solid #6100a2;border-radius:5px;max-width:200px;max-height:150px;display:block}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%]{padding-left:1rem}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-username[_ngcontent-%COMP%]{color:#fff;text-shadow:0px 0px 10px #00bc97;font-size:larger}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-text[_ngcontent-%COMP%]{color:#bbb}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .social-networks[_ngcontent-%COMP%]{padding-top:1rem}@media only screen and (hover: none){.margins[_ngcontent-%COMP%]{margin:unset}.profile-box[_ngcontent-%COMP%]{width:90%;margin:0 auto}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0}}"]}),e})()}];let k8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=en({imports:[[n_.forRoot(P8)],n_]}),e})();function R8(e,t){if(1&e&&(oe(0,"a",8),ge(1),K()),2&e){const n=xe(2);dr("href",null==n.settings||null==n.settings.customUrl?null:n.settings.customUrl.url,Ot),se(1),In(null==n.settings||null==n.settings.customUrl?null:n.settings.customUrl.title)}}function N8(e,t){if(1&e){const n=function qp(){return I()}();oe(0,"div",1)(1,"a",2),ge(2),K(),oe(3,"a",3),ge(4,"Home"),K(),oe(5,"a",4),ge(6,"Archives"),K(),Fe(7,R8,2,2,"a",5),oe(8,"a",6),lr("click",function(){return function rf(e){return Q.lFrame.contextLView=e,e[8]}(n),xe().openMenu()}),ge(9," \u2630\ufe0e "),K(),oe(10,"a",7),ge(11," Powered by"),vt(12,"br"),ge(13,"ngx-dumblog "),K()()}if(2&e){const n=xe();se(2),In(n.settings.blogTitle),se(1),ko("active",n.isCurrentPage("/")),se(2),ko("active",n.isCurrentPage("/archives")),se(2),Se("ngIf",!(null==n.settings||null==n.settings.customUrl||!n.settings.customUrl.url))}}let O8=(()=>{class e{constructor(n,r,i){this.router=n,this.helperService=r,this.titleService=i,this.settings={}}ngOnInit(){this.initialize()}initialize(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.titleService.setTitle(this.settings.blogTitle)}})}openMenu(){const n=document.getElementsByClassName("topnav")[0];"topnav"===n.className?n.className+=" responsive":n.className="topnav"}isCurrentPage(n){return this.router.url===n}}return e.\u0275fac=function(n){return new(n||e)(H(ht),H(Ma),H(Ll))},e.\u0275cmp=jn({type:e,selectors:[["app-navigation"]],decls:1,vars:1,consts:[["class","topnav",4,"ngIf"],[1,"topnav"],["href","./",1,"no-focus"],["href","./"],["href","./?page=archives"],["target","_blank",3,"href",4,"ngIf"],["href","javascript:void(0);",1,"icon",3,"click"],["href","http://github.com/pedroCX486/ngx-dumblog","target","_blank","rel","noopener",1,"right-align","no-focus"],["target","_blank",3,"href"]],template:function(n,r){1&n&&Fe(0,N8,14,6,"div",0),2&n&&Se("ngIf",!!r.settings.username)},directives:[vs],styles:[".topnav[_ngcontent-%COMP%]{min-height:48px;overflow:hidden;background-color:#333;position:relative;top:0;left:0;right:0;z-index:2;box-shadow:#000a 4px 4px}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left;display:block;color:#f2f2f2;text-align:center;padding:15px 16px;text-decoration:none;font-size:17px;border-right:#9f9f9f 1px solid}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{border-right:unset}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:not(.no-focus){background-color:#ddd;color:#000}.topnav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{background-color:#6100a2;color:#fff}.topnav[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 600px){.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:first-child){display:none}.topnav[_ngcontent-%COMP%] a.icon[_ngcontent-%COMP%]{float:right;display:block}.topnav.responsive[_ngcontent-%COMP%]{position:relative;top:0;left:0;right:0}.topnav.responsive[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:none;display:block;text-align:left}.topnav.responsive[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;right:0;top:0}}.right-align[_ngcontent-%COMP%]{float:right!important;font-size:8px!important}"]}),e})(),F8=(()=>{class e{constructor(n){this.router=n,this.urlParams=new URLSearchParams(window.location.search)}ngOnInit(){this.navigate()}navigate(){this.urlParams.get("post")?this.router.navigate(["/posts"],{queryParams:{post:this.urlParams.get("post")},skipLocationChange:!0}):"archives"===this.urlParams.get("page")?this.router.navigate(["/archives"],{skipLocationChange:!0}):this.router.navigate(["/"],{skipLocationChange:!0})}}return e.\u0275fac=function(n){return new(n||e)(H(ht))},e.\u0275cmp=jn({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(n,r){1&n&&vt(0,"app-navigation")(1,"router-outlet")},directives:[O8,Xl],styles:[""]}),e})(),x8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e,bootstrap:[F8]}),e.\u0275inj=en({providers:[],imports:[[y3,k8,l8]]}),e})();(function tI(){uy=!1})(),g3().bootstrapModule(x8).catch(e=>console.error(e))},767:function(Er,bi,Ns){var me;(function(){function pn(c){"use strict";var h={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===c)return JSON.parse(JSON.stringify(h));var f={};for(var v in h)h.hasOwnProperty(v)&&(f[v]=h[v].defaultValue);return f}var m={},et={},Ht={},Bt=pn(!0),Mr="vanilla",pt={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:pn(!0),allOn:function Di(){"use strict";var c=pn(!0),h={};for(var f in c)c.hasOwnProperty(f)&&(h[f]=!0);return h}()};function gn(c,h){"use strict";var f=h?"Error in "+h+" extension->":"Error in unnamed extension",v={valid:!0,error:""};m.helper.isArray(c)||(c=[c]);for(var b=0;b").replace(/&/g,"&")};var Ei=function(c,h,f,v){"use strict";var k,R,N,_,A,b=v||"",C=b.indexOf("g")>-1,w=new RegExp(h+"|"+f,"g"+b.replace(/g/g,"")),E=new RegExp(h,b.replace(/g/g,"")),O=[];do{for(k=0;N=w.exec(c);)if(E.test(N[0]))k++||(_=(R=w.lastIndex)-N[0].length);else if(k&&!--k&&(O.push({left:{start:_,end:R},match:{start:R,end:N.index},right:{start:N.index,end:A=N.index+N[0].length},wholeMatch:{start:_,end:A}}),!C))return O}while(k&&(w.lastIndex=R));return O};m.helper.matchRecursiveRegExp=function(c,h,f,v){"use strict";for(var b=Ei(c,h,f,v),C=[],w=0;w0){var k=[];0!==w[0].wholeMatch.start&&k.push(c.slice(0,w[0].wholeMatch.start));for(var R=0;R=0?v+(f||0):v},m.helper.splitAtIndex=function(c,h){"use strict";if(!m.helper.isString(c))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[c.substring(0,h),c.substring(h)]},m.helper.encodeEmailAddress=function(c){"use strict";var h=[function(f){return"&#"+f.charCodeAt(0)+";"},function(f){return"&#x"+f.charCodeAt(0).toString(16)+";"},function(f){return f}];return c.replace(/./g,function(f){if("@"===f)f=h[Math.floor(2*Math.random())](f);else{var v=Math.random();f=v>.9?h[2](f):v>.45?h[1](f):h[0](f)}return f})},m.helper.padEnd=function(h,f,v){"use strict";return f>>=0,v=String(v||" "),h.length>f?String(h):((f-=h.length)>v.length&&(v+=v.repeat(f/v.length)),String(h)+v.slice(0,f))},"undefined"==typeof console&&(console={warn:function(c){"use strict";alert(c)},log:function(c){"use strict";alert(c)},error:function(c){"use strict";throw c}}),m.helper.regexes={asteriskDashAndColon:/([*_:~])/g},m.helper.emojis={"+1":"\u{1f44d}","-1":"\u{1f44e}",100:"\u{1f4af}",1234:"\u{1f522}","1st_place_medal":"\u{1f947}","2nd_place_medal":"\u{1f948}","3rd_place_medal":"\u{1f949}","8ball":"\u{1f3b1}",a:"\u{1f170}\ufe0f",ab:"\u{1f18e}",abc:"\u{1f524}",abcd:"\u{1f521}",accept:"\u{1f251}",aerial_tramway:"\u{1f6a1}",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\u{1f47d}",ambulance:"\u{1f691}",amphora:"\u{1f3fa}",anchor:"\u2693\ufe0f",angel:"\u{1f47c}",anger:"\u{1f4a2}",angry:"\u{1f620}",anguished:"\u{1f627}",ant:"\u{1f41c}",apple:"\u{1f34e}",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\u{1f53d}",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\u{1f53c}",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\u{1f503}",arrows_counterclockwise:"\u{1f504}",art:"\u{1f3a8}",articulated_lorry:"\u{1f69b}",artificial_satellite:"\u{1f6f0}",astonished:"\u{1f632}",athletic_shoe:"\u{1f45f}",atm:"\u{1f3e7}",atom_symbol:"\u269b\ufe0f",avocado:"\u{1f951}",b:"\u{1f171}\ufe0f",baby:"\u{1f476}",baby_bottle:"\u{1f37c}",baby_chick:"\u{1f424}",baby_symbol:"\u{1f6bc}",back:"\u{1f519}",bacon:"\u{1f953}",badminton:"\u{1f3f8}",baggage_claim:"\u{1f6c4}",baguette_bread:"\u{1f956}",balance_scale:"\u2696\ufe0f",balloon:"\u{1f388}",ballot_box:"\u{1f5f3}",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\u{1f38d}",banana:"\u{1f34c}",bangbang:"\u203c\ufe0f",bank:"\u{1f3e6}",bar_chart:"\u{1f4ca}",barber:"\u{1f488}",baseball:"\u26be\ufe0f",basketball:"\u{1f3c0}",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\u{1f987}",bath:"\u{1f6c0}",bathtub:"\u{1f6c1}",battery:"\u{1f50b}",beach_umbrella:"\u{1f3d6}",bear:"\u{1f43b}",bed:"\u{1f6cf}",bee:"\u{1f41d}",beer:"\u{1f37a}",beers:"\u{1f37b}",beetle:"\u{1f41e}",beginner:"\u{1f530}",bell:"\u{1f514}",bellhop_bell:"\u{1f6ce}",bento:"\u{1f371}",biking_man:"\u{1f6b4}",bike:"\u{1f6b2}",biking_woman:"\u{1f6b4}‍\u2640\ufe0f",bikini:"\u{1f459}",biohazard:"\u2623\ufe0f",bird:"\u{1f426}",birthday:"\u{1f382}",black_circle:"\u26ab\ufe0f",black_flag:"\u{1f3f4}",black_heart:"\u{1f5a4}",black_joker:"\u{1f0cf}",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\u{1f532}",blonde_man:"\u{1f471}",blonde_woman:"\u{1f471}‍\u2640\ufe0f",blossom:"\u{1f33c}",blowfish:"\u{1f421}",blue_book:"\u{1f4d8}",blue_car:"\u{1f699}",blue_heart:"\u{1f499}",blush:"\u{1f60a}",boar:"\u{1f417}",boat:"\u26f5\ufe0f",bomb:"\u{1f4a3}",book:"\u{1f4d6}",bookmark:"\u{1f516}",bookmark_tabs:"\u{1f4d1}",books:"\u{1f4da}",boom:"\u{1f4a5}",boot:"\u{1f462}",bouquet:"\u{1f490}",bowing_man:"\u{1f647}",bow_and_arrow:"\u{1f3f9}",bowing_woman:"\u{1f647}‍\u2640\ufe0f",bowling:"\u{1f3b3}",boxing_glove:"\u{1f94a}",boy:"\u{1f466}",bread:"\u{1f35e}",bride_with_veil:"\u{1f470}",bridge_at_night:"\u{1f309}",briefcase:"\u{1f4bc}",broken_heart:"\u{1f494}",bug:"\u{1f41b}",building_construction:"\u{1f3d7}",bulb:"\u{1f4a1}",bullettrain_front:"\u{1f685}",bullettrain_side:"\u{1f684}",burrito:"\u{1f32f}",bus:"\u{1f68c}",business_suit_levitating:"\u{1f574}",busstop:"\u{1f68f}",bust_in_silhouette:"\u{1f464}",busts_in_silhouette:"\u{1f465}",butterfly:"\u{1f98b}",cactus:"\u{1f335}",cake:"\u{1f370}",calendar:"\u{1f4c6}",call_me_hand:"\u{1f919}",calling:"\u{1f4f2}",camel:"\u{1f42b}",camera:"\u{1f4f7}",camera_flash:"\u{1f4f8}",camping:"\u{1f3d5}",cancer:"\u264b\ufe0f",candle:"\u{1f56f}",candy:"\u{1f36c}",canoe:"\u{1f6f6}",capital_abcd:"\u{1f520}",capricorn:"\u2651\ufe0f",car:"\u{1f697}",card_file_box:"\u{1f5c3}",card_index:"\u{1f4c7}",card_index_dividers:"\u{1f5c2}",carousel_horse:"\u{1f3a0}",carrot:"\u{1f955}",cat:"\u{1f431}",cat2:"\u{1f408}",cd:"\u{1f4bf}",chains:"\u26d3",champagne:"\u{1f37e}",chart:"\u{1f4b9}",chart_with_downwards_trend:"\u{1f4c9}",chart_with_upwards_trend:"\u{1f4c8}",checkered_flag:"\u{1f3c1}",cheese:"\u{1f9c0}",cherries:"\u{1f352}",cherry_blossom:"\u{1f338}",chestnut:"\u{1f330}",chicken:"\u{1f414}",children_crossing:"\u{1f6b8}",chipmunk:"\u{1f43f}",chocolate_bar:"\u{1f36b}",christmas_tree:"\u{1f384}",church:"\u26ea\ufe0f",cinema:"\u{1f3a6}",circus_tent:"\u{1f3aa}",city_sunrise:"\u{1f307}",city_sunset:"\u{1f306}",cityscape:"\u{1f3d9}",cl:"\u{1f191}",clamp:"\u{1f5dc}",clap:"\u{1f44f}",clapper:"\u{1f3ac}",classical_building:"\u{1f3db}",clinking_glasses:"\u{1f942}",clipboard:"\u{1f4cb}",clock1:"\u{1f550}",clock10:"\u{1f559}",clock1030:"\u{1f565}",clock11:"\u{1f55a}",clock1130:"\u{1f566}",clock12:"\u{1f55b}",clock1230:"\u{1f567}",clock130:"\u{1f55c}",clock2:"\u{1f551}",clock230:"\u{1f55d}",clock3:"\u{1f552}",clock330:"\u{1f55e}",clock4:"\u{1f553}",clock430:"\u{1f55f}",clock5:"\u{1f554}",clock530:"\u{1f560}",clock6:"\u{1f555}",clock630:"\u{1f561}",clock7:"\u{1f556}",clock730:"\u{1f562}",clock8:"\u{1f557}",clock830:"\u{1f563}",clock9:"\u{1f558}",clock930:"\u{1f564}",closed_book:"\u{1f4d5}",closed_lock_with_key:"\u{1f510}",closed_umbrella:"\u{1f302}",cloud:"\u2601\ufe0f",cloud_with_lightning:"\u{1f329}",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\u{1f327}",cloud_with_snow:"\u{1f328}",clown_face:"\u{1f921}",clubs:"\u2663\ufe0f",cocktail:"\u{1f378}",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\u{1f630}",comet:"\u2604\ufe0f",computer:"\u{1f4bb}",computer_mouse:"\u{1f5b1}",confetti_ball:"\u{1f38a}",confounded:"\u{1f616}",confused:"\u{1f615}",congratulations:"\u3297\ufe0f",construction:"\u{1f6a7}",construction_worker_man:"\u{1f477}",construction_worker_woman:"\u{1f477}‍\u2640\ufe0f",control_knobs:"\u{1f39b}",convenience_store:"\u{1f3ea}",cookie:"\u{1f36a}",cool:"\u{1f192}",policeman:"\u{1f46e}",copyright:"\xa9\ufe0f",corn:"\u{1f33d}",couch_and_lamp:"\u{1f6cb}",couple:"\u{1f46b}",couple_with_heart_woman_man:"\u{1f491}",couple_with_heart_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f468}",couple_with_heart_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f469}",couplekiss_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f468}",couplekiss_man_woman:"\u{1f48f}",couplekiss_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f469}",cow:"\u{1f42e}",cow2:"\u{1f404}",cowboy_hat_face:"\u{1f920}",crab:"\u{1f980}",crayon:"\u{1f58d}",credit_card:"\u{1f4b3}",crescent_moon:"\u{1f319}",cricket:"\u{1f3cf}",crocodile:"\u{1f40a}",croissant:"\u{1f950}",crossed_fingers:"\u{1f91e}",crossed_flags:"\u{1f38c}",crossed_swords:"\u2694\ufe0f",crown:"\u{1f451}",cry:"\u{1f622}",crying_cat_face:"\u{1f63f}",crystal_ball:"\u{1f52e}",cucumber:"\u{1f952}",cupid:"\u{1f498}",curly_loop:"\u27b0",currency_exchange:"\u{1f4b1}",curry:"\u{1f35b}",custard:"\u{1f36e}",customs:"\u{1f6c3}",cyclone:"\u{1f300}",dagger:"\u{1f5e1}",dancer:"\u{1f483}",dancing_women:"\u{1f46f}",dancing_men:"\u{1f46f}‍\u2642\ufe0f",dango:"\u{1f361}",dark_sunglasses:"\u{1f576}",dart:"\u{1f3af}",dash:"\u{1f4a8}",date:"\u{1f4c5}",deciduous_tree:"\u{1f333}",deer:"\u{1f98c}",department_store:"\u{1f3ec}",derelict_house:"\u{1f3da}",desert:"\u{1f3dc}",desert_island:"\u{1f3dd}",desktop_computer:"\u{1f5a5}",male_detective:"\u{1f575}\ufe0f",diamond_shape_with_a_dot_inside:"\u{1f4a0}",diamonds:"\u2666\ufe0f",disappointed:"\u{1f61e}",disappointed_relieved:"\u{1f625}",dizzy:"\u{1f4ab}",dizzy_face:"\u{1f635}",do_not_litter:"\u{1f6af}",dog:"\u{1f436}",dog2:"\u{1f415}",dollar:"\u{1f4b5}",dolls:"\u{1f38e}",dolphin:"\u{1f42c}",door:"\u{1f6aa}",doughnut:"\u{1f369}",dove:"\u{1f54a}",dragon:"\u{1f409}",dragon_face:"\u{1f432}",dress:"\u{1f457}",dromedary_camel:"\u{1f42a}",drooling_face:"\u{1f924}",droplet:"\u{1f4a7}",drum:"\u{1f941}",duck:"\u{1f986}",dvd:"\u{1f4c0}","e-mail":"\u{1f4e7}",eagle:"\u{1f985}",ear:"\u{1f442}",ear_of_rice:"\u{1f33e}",earth_africa:"\u{1f30d}",earth_americas:"\u{1f30e}",earth_asia:"\u{1f30f}",egg:"\u{1f95a}",eggplant:"\u{1f346}",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\u{1f50c}",elephant:"\u{1f418}",email:"\u2709\ufe0f",end:"\u{1f51a}",envelope_with_arrow:"\u{1f4e9}",euro:"\u{1f4b6}",european_castle:"\u{1f3f0}",european_post_office:"\u{1f3e4}",evergreen_tree:"\u{1f332}",exclamation:"\u2757\ufe0f",expressionless:"\u{1f611}",eye:"\u{1f441}",eye_speech_bubble:"\u{1f441}‍\u{1f5e8}",eyeglasses:"\u{1f453}",eyes:"\u{1f440}",face_with_head_bandage:"\u{1f915}",face_with_thermometer:"\u{1f912}",fist_oncoming:"\u{1f44a}",factory:"\u{1f3ed}",fallen_leaf:"\u{1f342}",family_man_woman_boy:"\u{1f46a}",family_man_boy:"\u{1f468}‍\u{1f466}",family_man_boy_boy:"\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_girl:"\u{1f468}‍\u{1f467}",family_man_girl_boy:"\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_girl_girl:"\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_man_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}",family_man_man_boy_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_man_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}",family_man_man_girl_boy:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_man_girl_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_woman_boy_boy:"\u{1f468}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_man_woman_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}",family_man_woman_girl_boy:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_man_woman_girl_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_boy:"\u{1f469}‍\u{1f466}",family_woman_boy_boy:"\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_girl:"\u{1f469}‍\u{1f467}",family_woman_girl_boy:"\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_girl_girl:"\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_woman_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}",family_woman_woman_boy_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_woman_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}",family_woman_woman_girl_boy:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_woman_girl_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f467}",fast_forward:"\u23e9",fax:"\u{1f4e0}",fearful:"\u{1f628}",feet:"\u{1f43e}",female_detective:"\u{1f575}\ufe0f‍\u2640\ufe0f",ferris_wheel:"\u{1f3a1}",ferry:"\u26f4",field_hockey:"\u{1f3d1}",file_cabinet:"\u{1f5c4}",file_folder:"\u{1f4c1}",film_projector:"\u{1f4fd}",film_strip:"\u{1f39e}",fire:"\u{1f525}",fire_engine:"\u{1f692}",fireworks:"\u{1f386}",first_quarter_moon:"\u{1f313}",first_quarter_moon_with_face:"\u{1f31b}",fish:"\u{1f41f}",fish_cake:"\u{1f365}",fishing_pole_and_fish:"\u{1f3a3}",fist_raised:"\u270a",fist_left:"\u{1f91b}",fist_right:"\u{1f91c}",flags:"\u{1f38f}",flashlight:"\u{1f526}",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\u{1f6ec}",flight_departure:"\u{1f6eb}",floppy_disk:"\u{1f4be}",flower_playing_cards:"\u{1f3b4}",flushed:"\u{1f633}",fog:"\u{1f32b}",foggy:"\u{1f301}",football:"\u{1f3c8}",footprints:"\u{1f463}",fork_and_knife:"\u{1f374}",fountain:"\u26f2\ufe0f",fountain_pen:"\u{1f58b}",four_leaf_clover:"\u{1f340}",fox_face:"\u{1f98a}",framed_picture:"\u{1f5bc}",free:"\u{1f193}",fried_egg:"\u{1f373}",fried_shrimp:"\u{1f364}",fries:"\u{1f35f}",frog:"\u{1f438}",frowning:"\u{1f626}",frowning_face:"\u2639\ufe0f",frowning_man:"\u{1f64d}‍\u2642\ufe0f",frowning_woman:"\u{1f64d}",middle_finger:"\u{1f595}",fuelpump:"\u26fd\ufe0f",full_moon:"\u{1f315}",full_moon_with_face:"\u{1f31d}",funeral_urn:"\u26b1\ufe0f",game_die:"\u{1f3b2}",gear:"\u2699\ufe0f",gem:"\u{1f48e}",gemini:"\u264a\ufe0f",ghost:"\u{1f47b}",gift:"\u{1f381}",gift_heart:"\u{1f49d}",girl:"\u{1f467}",globe_with_meridians:"\u{1f310}",goal_net:"\u{1f945}",goat:"\u{1f410}",golf:"\u26f3\ufe0f",golfing_man:"\u{1f3cc}\ufe0f",golfing_woman:"\u{1f3cc}\ufe0f‍\u2640\ufe0f",gorilla:"\u{1f98d}",grapes:"\u{1f347}",green_apple:"\u{1f34f}",green_book:"\u{1f4d7}",green_heart:"\u{1f49a}",green_salad:"\u{1f957}",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\u{1f62c}",grin:"\u{1f601}",grinning:"\u{1f600}",guardsman:"\u{1f482}",guardswoman:"\u{1f482}‍\u2640\ufe0f",guitar:"\u{1f3b8}",gun:"\u{1f52b}",haircut_woman:"\u{1f487}",haircut_man:"\u{1f487}‍\u2642\ufe0f",hamburger:"\u{1f354}",hammer:"\u{1f528}",hammer_and_pick:"\u2692",hammer_and_wrench:"\u{1f6e0}",hamster:"\u{1f439}",hand:"\u270b",handbag:"\u{1f45c}",handshake:"\u{1f91d}",hankey:"\u{1f4a9}",hatched_chick:"\u{1f425}",hatching_chick:"\u{1f423}",headphones:"\u{1f3a7}",hear_no_evil:"\u{1f649}",heart:"\u2764\ufe0f",heart_decoration:"\u{1f49f}",heart_eyes:"\u{1f60d}",heart_eyes_cat:"\u{1f63b}",heartbeat:"\u{1f493}",heartpulse:"\u{1f497}",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\u{1f4b2}",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\u{1f681}",herb:"\u{1f33f}",hibiscus:"\u{1f33a}",high_brightness:"\u{1f506}",high_heel:"\u{1f460}",hocho:"\u{1f52a}",hole:"\u{1f573}",honey_pot:"\u{1f36f}",horse:"\u{1f434}",horse_racing:"\u{1f3c7}",hospital:"\u{1f3e5}",hot_pepper:"\u{1f336}",hotdog:"\u{1f32d}",hotel:"\u{1f3e8}",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\u{1f3e0}",house_with_garden:"\u{1f3e1}",houses:"\u{1f3d8}",hugs:"\u{1f917}",hushed:"\u{1f62f}",ice_cream:"\u{1f368}",ice_hockey:"\u{1f3d2}",ice_skate:"\u26f8",icecream:"\u{1f366}",id:"\u{1f194}",ideograph_advantage:"\u{1f250}",imp:"\u{1f47f}",inbox_tray:"\u{1f4e5}",incoming_envelope:"\u{1f4e8}",tipping_hand_woman:"\u{1f481}",information_source:"\u2139\ufe0f",innocent:"\u{1f607}",interrobang:"\u2049\ufe0f",iphone:"\u{1f4f1}",izakaya_lantern:"\u{1f3ee}",jack_o_lantern:"\u{1f383}",japan:"\u{1f5fe}",japanese_castle:"\u{1f3ef}",japanese_goblin:"\u{1f47a}",japanese_ogre:"\u{1f479}",jeans:"\u{1f456}",joy:"\u{1f602}",joy_cat:"\u{1f639}",joystick:"\u{1f579}",kaaba:"\u{1f54b}",key:"\u{1f511}",keyboard:"\u2328\ufe0f",keycap_ten:"\u{1f51f}",kick_scooter:"\u{1f6f4}",kimono:"\u{1f458}",kiss:"\u{1f48b}",kissing:"\u{1f617}",kissing_cat:"\u{1f63d}",kissing_closed_eyes:"\u{1f61a}",kissing_heart:"\u{1f618}",kissing_smiling_eyes:"\u{1f619}",kiwi_fruit:"\u{1f95d}",koala:"\u{1f428}",koko:"\u{1f201}",label:"\u{1f3f7}",large_blue_circle:"\u{1f535}",large_blue_diamond:"\u{1f537}",large_orange_diamond:"\u{1f536}",last_quarter_moon:"\u{1f317}",last_quarter_moon_with_face:"\u{1f31c}",latin_cross:"\u271d\ufe0f",laughing:"\u{1f606}",leaves:"\u{1f343}",ledger:"\u{1f4d2}",left_luggage:"\u{1f6c5}",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\u{1f34b}",leo:"\u264c\ufe0f",leopard:"\u{1f406}",level_slider:"\u{1f39a}",libra:"\u264e\ufe0f",light_rail:"\u{1f688}",link:"\u{1f517}",lion:"\u{1f981}",lips:"\u{1f444}",lipstick:"\u{1f484}",lizard:"\u{1f98e}",lock:"\u{1f512}",lock_with_ink_pen:"\u{1f50f}",lollipop:"\u{1f36d}",loop:"\u27bf",loud_sound:"\u{1f50a}",loudspeaker:"\u{1f4e2}",love_hotel:"\u{1f3e9}",love_letter:"\u{1f48c}",low_brightness:"\u{1f505}",lying_face:"\u{1f925}",m:"\u24c2\ufe0f",mag:"\u{1f50d}",mag_right:"\u{1f50e}",mahjong:"\u{1f004}\ufe0f",mailbox:"\u{1f4eb}",mailbox_closed:"\u{1f4ea}",mailbox_with_mail:"\u{1f4ec}",mailbox_with_no_mail:"\u{1f4ed}",man:"\u{1f468}",man_artist:"\u{1f468}‍\u{1f3a8}",man_astronaut:"\u{1f468}‍\u{1f680}",man_cartwheeling:"\u{1f938}‍\u2642\ufe0f",man_cook:"\u{1f468}‍\u{1f373}",man_dancing:"\u{1f57a}",man_facepalming:"\u{1f926}‍\u2642\ufe0f",man_factory_worker:"\u{1f468}‍\u{1f3ed}",man_farmer:"\u{1f468}‍\u{1f33e}",man_firefighter:"\u{1f468}‍\u{1f692}",man_health_worker:"\u{1f468}‍\u2695\ufe0f",man_in_tuxedo:"\u{1f935}",man_judge:"\u{1f468}‍\u2696\ufe0f",man_juggling:"\u{1f939}‍\u2642\ufe0f",man_mechanic:"\u{1f468}‍\u{1f527}",man_office_worker:"\u{1f468}‍\u{1f4bc}",man_pilot:"\u{1f468}‍\u2708\ufe0f",man_playing_handball:"\u{1f93e}‍\u2642\ufe0f",man_playing_water_polo:"\u{1f93d}‍\u2642\ufe0f",man_scientist:"\u{1f468}‍\u{1f52c}",man_shrugging:"\u{1f937}‍\u2642\ufe0f",man_singer:"\u{1f468}‍\u{1f3a4}",man_student:"\u{1f468}‍\u{1f393}",man_teacher:"\u{1f468}‍\u{1f3eb}",man_technologist:"\u{1f468}‍\u{1f4bb}",man_with_gua_pi_mao:"\u{1f472}",man_with_turban:"\u{1f473}",tangerine:"\u{1f34a}",mans_shoe:"\u{1f45e}",mantelpiece_clock:"\u{1f570}",maple_leaf:"\u{1f341}",martial_arts_uniform:"\u{1f94b}",mask:"\u{1f637}",massage_woman:"\u{1f486}",massage_man:"\u{1f486}‍\u2642\ufe0f",meat_on_bone:"\u{1f356}",medal_military:"\u{1f396}",medal_sports:"\u{1f3c5}",mega:"\u{1f4e3}",melon:"\u{1f348}",memo:"\u{1f4dd}",men_wrestling:"\u{1f93c}‍\u2642\ufe0f",menorah:"\u{1f54e}",mens:"\u{1f6b9}",metal:"\u{1f918}",metro:"\u{1f687}",microphone:"\u{1f3a4}",microscope:"\u{1f52c}",milk_glass:"\u{1f95b}",milky_way:"\u{1f30c}",minibus:"\u{1f690}",minidisc:"\u{1f4bd}",mobile_phone_off:"\u{1f4f4}",money_mouth_face:"\u{1f911}",money_with_wings:"\u{1f4b8}",moneybag:"\u{1f4b0}",monkey:"\u{1f412}",monkey_face:"\u{1f435}",monorail:"\u{1f69d}",moon:"\u{1f314}",mortar_board:"\u{1f393}",mosque:"\u{1f54c}",motor_boat:"\u{1f6e5}",motor_scooter:"\u{1f6f5}",motorcycle:"\u{1f3cd}",motorway:"\u{1f6e3}",mount_fuji:"\u{1f5fb}",mountain:"\u26f0",mountain_biking_man:"\u{1f6b5}",mountain_biking_woman:"\u{1f6b5}‍\u2640\ufe0f",mountain_cableway:"\u{1f6a0}",mountain_railway:"\u{1f69e}",mountain_snow:"\u{1f3d4}",mouse:"\u{1f42d}",mouse2:"\u{1f401}",movie_camera:"\u{1f3a5}",moyai:"\u{1f5ff}",mrs_claus:"\u{1f936}",muscle:"\u{1f4aa}",mushroom:"\u{1f344}",musical_keyboard:"\u{1f3b9}",musical_note:"\u{1f3b5}",musical_score:"\u{1f3bc}",mute:"\u{1f507}",nail_care:"\u{1f485}",name_badge:"\u{1f4db}",national_park:"\u{1f3de}",nauseated_face:"\u{1f922}",necktie:"\u{1f454}",negative_squared_cross_mark:"\u274e",nerd_face:"\u{1f913}",neutral_face:"\u{1f610}",new:"\u{1f195}",new_moon:"\u{1f311}",new_moon_with_face:"\u{1f31a}",newspaper:"\u{1f4f0}",newspaper_roll:"\u{1f5de}",next_track_button:"\u23ed",ng:"\u{1f196}",no_good_man:"\u{1f645}‍\u2642\ufe0f",no_good_woman:"\u{1f645}",night_with_stars:"\u{1f303}",no_bell:"\u{1f515}",no_bicycles:"\u{1f6b3}",no_entry:"\u26d4\ufe0f",no_entry_sign:"\u{1f6ab}",no_mobile_phones:"\u{1f4f5}",no_mouth:"\u{1f636}",no_pedestrians:"\u{1f6b7}",no_smoking:"\u{1f6ad}","non-potable_water":"\u{1f6b1}",nose:"\u{1f443}",notebook:"\u{1f4d3}",notebook_with_decorative_cover:"\u{1f4d4}",notes:"\u{1f3b6}",nut_and_bolt:"\u{1f529}",o:"\u2b55\ufe0f",o2:"\u{1f17e}\ufe0f",ocean:"\u{1f30a}",octopus:"\u{1f419}",oden:"\u{1f362}",office:"\u{1f3e2}",oil_drum:"\u{1f6e2}",ok:"\u{1f197}",ok_hand:"\u{1f44c}",ok_man:"\u{1f646}‍\u2642\ufe0f",ok_woman:"\u{1f646}",old_key:"\u{1f5dd}",older_man:"\u{1f474}",older_woman:"\u{1f475}",om:"\u{1f549}",on:"\u{1f51b}",oncoming_automobile:"\u{1f698}",oncoming_bus:"\u{1f68d}",oncoming_police_car:"\u{1f694}",oncoming_taxi:"\u{1f696}",open_file_folder:"\u{1f4c2}",open_hands:"\u{1f450}",open_mouth:"\u{1f62e}",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\u{1f4d9}",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\u{1f4e4}",owl:"\u{1f989}",ox:"\u{1f402}",package:"\u{1f4e6}",page_facing_up:"\u{1f4c4}",page_with_curl:"\u{1f4c3}",pager:"\u{1f4df}",paintbrush:"\u{1f58c}",palm_tree:"\u{1f334}",pancakes:"\u{1f95e}",panda_face:"\u{1f43c}",paperclip:"\u{1f4ce}",paperclips:"\u{1f587}",parasol_on_ground:"\u26f1",parking:"\u{1f17f}\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\u{1f6f3}",passport_control:"\u{1f6c2}",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\u{1f351}",peanuts:"\u{1f95c}",pear:"\u{1f350}",pen:"\u{1f58a}",pencil2:"\u270f\ufe0f",penguin:"\u{1f427}",pensive:"\u{1f614}",performing_arts:"\u{1f3ad}",persevere:"\u{1f623}",person_fencing:"\u{1f93a}",pouting_woman:"\u{1f64e}",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\u{1f437}",pig2:"\u{1f416}",pig_nose:"\u{1f43d}",pill:"\u{1f48a}",pineapple:"\u{1f34d}",ping_pong:"\u{1f3d3}",pisces:"\u2653\ufe0f",pizza:"\u{1f355}",place_of_worship:"\u{1f6d0}",plate_with_cutlery:"\u{1f37d}",play_or_pause_button:"\u23ef",point_down:"\u{1f447}",point_left:"\u{1f448}",point_right:"\u{1f449}",point_up:"\u261d\ufe0f",point_up_2:"\u{1f446}",police_car:"\u{1f693}",policewoman:"\u{1f46e}‍\u2640\ufe0f",poodle:"\u{1f429}",popcorn:"\u{1f37f}",post_office:"\u{1f3e3}",postal_horn:"\u{1f4ef}",postbox:"\u{1f4ee}",potable_water:"\u{1f6b0}",potato:"\u{1f954}",pouch:"\u{1f45d}",poultry_leg:"\u{1f357}",pound:"\u{1f4b7}",rage:"\u{1f621}",pouting_cat:"\u{1f63e}",pouting_man:"\u{1f64e}‍\u2642\ufe0f",pray:"\u{1f64f}",prayer_beads:"\u{1f4ff}",pregnant_woman:"\u{1f930}",previous_track_button:"\u23ee",prince:"\u{1f934}",princess:"\u{1f478}",printer:"\u{1f5a8}",purple_heart:"\u{1f49c}",purse:"\u{1f45b}",pushpin:"\u{1f4cc}",put_litter_in_its_place:"\u{1f6ae}",question:"\u2753",rabbit:"\u{1f430}",rabbit2:"\u{1f407}",racehorse:"\u{1f40e}",racing_car:"\u{1f3ce}",radio:"\u{1f4fb}",radio_button:"\u{1f518}",radioactive:"\u2622\ufe0f",railway_car:"\u{1f683}",railway_track:"\u{1f6e4}",rainbow:"\u{1f308}",rainbow_flag:"\u{1f3f3}\ufe0f‍\u{1f308}",raised_back_of_hand:"\u{1f91a}",raised_hand_with_fingers_splayed:"\u{1f590}",raised_hands:"\u{1f64c}",raising_hand_woman:"\u{1f64b}",raising_hand_man:"\u{1f64b}‍\u2642\ufe0f",ram:"\u{1f40f}",ramen:"\u{1f35c}",rat:"\u{1f400}",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\u{1f534}",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\u{1f60c}",reminder_ribbon:"\u{1f397}",repeat:"\u{1f501}",repeat_one:"\u{1f502}",rescue_worker_helmet:"\u26d1",restroom:"\u{1f6bb}",revolving_hearts:"\u{1f49e}",rewind:"\u23ea",rhinoceros:"\u{1f98f}",ribbon:"\u{1f380}",rice:"\u{1f35a}",rice_ball:"\u{1f359}",rice_cracker:"\u{1f358}",rice_scene:"\u{1f391}",right_anger_bubble:"\u{1f5ef}",ring:"\u{1f48d}",robot:"\u{1f916}",rocket:"\u{1f680}",rofl:"\u{1f923}",roll_eyes:"\u{1f644}",roller_coaster:"\u{1f3a2}",rooster:"\u{1f413}",rose:"\u{1f339}",rosette:"\u{1f3f5}",rotating_light:"\u{1f6a8}",round_pushpin:"\u{1f4cd}",rowing_man:"\u{1f6a3}",rowing_woman:"\u{1f6a3}‍\u2640\ufe0f",rugby_football:"\u{1f3c9}",running_man:"\u{1f3c3}",running_shirt_with_sash:"\u{1f3bd}",running_woman:"\u{1f3c3}‍\u2640\ufe0f",sa:"\u{1f202}\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\u{1f376}",sandal:"\u{1f461}",santa:"\u{1f385}",satellite:"\u{1f4e1}",saxophone:"\u{1f3b7}",school:"\u{1f3eb}",school_satchel:"\u{1f392}",scissors:"\u2702\ufe0f",scorpion:"\u{1f982}",scorpius:"\u264f\ufe0f",scream:"\u{1f631}",scream_cat:"\u{1f640}",scroll:"\u{1f4dc}",seat:"\u{1f4ba}",secret:"\u3299\ufe0f",see_no_evil:"\u{1f648}",seedling:"\u{1f331}",selfie:"\u{1f933}",shallow_pan_of_food:"\u{1f958}",shamrock:"\u2618\ufe0f",shark:"\u{1f988}",shaved_ice:"\u{1f367}",sheep:"\u{1f411}",shell:"\u{1f41a}",shield:"\u{1f6e1}",shinto_shrine:"\u26e9",ship:"\u{1f6a2}",shirt:"\u{1f455}",shopping:"\u{1f6cd}",shopping_cart:"\u{1f6d2}",shower:"\u{1f6bf}",shrimp:"\u{1f990}",signal_strength:"\u{1f4f6}",six_pointed_star:"\u{1f52f}",ski:"\u{1f3bf}",skier:"\u26f7",skull:"\u{1f480}",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\u{1f634}",sleeping_bed:"\u{1f6cc}",sleepy:"\u{1f62a}",slightly_frowning_face:"\u{1f641}",slightly_smiling_face:"\u{1f642}",slot_machine:"\u{1f3b0}",small_airplane:"\u{1f6e9}",small_blue_diamond:"\u{1f539}",small_orange_diamond:"\u{1f538}",small_red_triangle:"\u{1f53a}",small_red_triangle_down:"\u{1f53b}",smile:"\u{1f604}",smile_cat:"\u{1f638}",smiley:"\u{1f603}",smiley_cat:"\u{1f63a}",smiling_imp:"\u{1f608}",smirk:"\u{1f60f}",smirk_cat:"\u{1f63c}",smoking:"\u{1f6ac}",snail:"\u{1f40c}",snake:"\u{1f40d}",sneezing_face:"\u{1f927}",snowboarder:"\u{1f3c2}",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\u{1f62d}",soccer:"\u26bd\ufe0f",soon:"\u{1f51c}",sos:"\u{1f198}",sound:"\u{1f509}",space_invader:"\u{1f47e}",spades:"\u2660\ufe0f",spaghetti:"\u{1f35d}",sparkle:"\u2747\ufe0f",sparkler:"\u{1f387}",sparkles:"\u2728",sparkling_heart:"\u{1f496}",speak_no_evil:"\u{1f64a}",speaker:"\u{1f508}",speaking_head:"\u{1f5e3}",speech_balloon:"\u{1f4ac}",speedboat:"\u{1f6a4}",spider:"\u{1f577}",spider_web:"\u{1f578}",spiral_calendar:"\u{1f5d3}",spiral_notepad:"\u{1f5d2}",spoon:"\u{1f944}",squid:"\u{1f991}",stadium:"\u{1f3df}",star:"\u2b50\ufe0f",star2:"\u{1f31f}",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\u{1f320}",station:"\u{1f689}",statue_of_liberty:"\u{1f5fd}",steam_locomotive:"\u{1f682}",stew:"\u{1f372}",stop_button:"\u23f9",stop_sign:"\u{1f6d1}",stopwatch:"\u23f1",straight_ruler:"\u{1f4cf}",strawberry:"\u{1f353}",stuck_out_tongue:"\u{1f61b}",stuck_out_tongue_closed_eyes:"\u{1f61d}",stuck_out_tongue_winking_eye:"\u{1f61c}",studio_microphone:"\u{1f399}",stuffed_flatbread:"\u{1f959}",sun_behind_large_cloud:"\u{1f325}",sun_behind_rain_cloud:"\u{1f326}",sun_behind_small_cloud:"\u{1f324}",sun_with_face:"\u{1f31e}",sunflower:"\u{1f33b}",sunglasses:"\u{1f60e}",sunny:"\u2600\ufe0f",sunrise:"\u{1f305}",sunrise_over_mountains:"\u{1f304}",surfing_man:"\u{1f3c4}",surfing_woman:"\u{1f3c4}‍\u2640\ufe0f",sushi:"\u{1f363}",suspension_railway:"\u{1f69f}",sweat:"\u{1f613}",sweat_drops:"\u{1f4a6}",sweat_smile:"\u{1f605}",sweet_potato:"\u{1f360}",swimming_man:"\u{1f3ca}",swimming_woman:"\u{1f3ca}‍\u2640\ufe0f",symbols:"\u{1f523}",synagogue:"\u{1f54d}",syringe:"\u{1f489}",taco:"\u{1f32e}",tada:"\u{1f389}",tanabata_tree:"\u{1f38b}",taurus:"\u2649\ufe0f",taxi:"\u{1f695}",tea:"\u{1f375}",telephone_receiver:"\u{1f4de}",telescope:"\u{1f52d}",tennis:"\u{1f3be}",tent:"\u26fa\ufe0f",thermometer:"\u{1f321}",thinking:"\u{1f914}",thought_balloon:"\u{1f4ad}",ticket:"\u{1f3ab}",tickets:"\u{1f39f}",tiger:"\u{1f42f}",tiger2:"\u{1f405}",timer_clock:"\u23f2",tipping_hand_man:"\u{1f481}‍\u2642\ufe0f",tired_face:"\u{1f62b}",tm:"\u2122\ufe0f",toilet:"\u{1f6bd}",tokyo_tower:"\u{1f5fc}",tomato:"\u{1f345}",tongue:"\u{1f445}",top:"\u{1f51d}",tophat:"\u{1f3a9}",tornado:"\u{1f32a}",trackball:"\u{1f5b2}",tractor:"\u{1f69c}",traffic_light:"\u{1f6a5}",train:"\u{1f68b}",train2:"\u{1f686}",tram:"\u{1f68a}",triangular_flag_on_post:"\u{1f6a9}",triangular_ruler:"\u{1f4d0}",trident:"\u{1f531}",triumph:"\u{1f624}",trolleybus:"\u{1f68e}",trophy:"\u{1f3c6}",tropical_drink:"\u{1f379}",tropical_fish:"\u{1f420}",truck:"\u{1f69a}",trumpet:"\u{1f3ba}",tulip:"\u{1f337}",tumbler_glass:"\u{1f943}",turkey:"\u{1f983}",turtle:"\u{1f422}",tv:"\u{1f4fa}",twisted_rightwards_arrows:"\u{1f500}",two_hearts:"\u{1f495}",two_men_holding_hands:"\u{1f46c}",two_women_holding_hands:"\u{1f46d}",u5272:"\u{1f239}",u5408:"\u{1f234}",u55b6:"\u{1f23a}",u6307:"\u{1f22f}\ufe0f",u6708:"\u{1f237}\ufe0f",u6709:"\u{1f236}",u6e80:"\u{1f235}",u7121:"\u{1f21a}\ufe0f",u7533:"\u{1f238}",u7981:"\u{1f232}",u7a7a:"\u{1f233}",umbrella:"\u2614\ufe0f",unamused:"\u{1f612}",underage:"\u{1f51e}",unicorn:"\u{1f984}",unlock:"\u{1f513}",up:"\u{1f199}",upside_down_face:"\u{1f643}",v:"\u270c\ufe0f",vertical_traffic_light:"\u{1f6a6}",vhs:"\u{1f4fc}",vibration_mode:"\u{1f4f3}",video_camera:"\u{1f4f9}",video_game:"\u{1f3ae}",violin:"\u{1f3bb}",virgo:"\u264d\ufe0f",volcano:"\u{1f30b}",volleyball:"\u{1f3d0}",vs:"\u{1f19a}",vulcan_salute:"\u{1f596}",walking_man:"\u{1f6b6}",walking_woman:"\u{1f6b6}‍\u2640\ufe0f",waning_crescent_moon:"\u{1f318}",waning_gibbous_moon:"\u{1f316}",warning:"\u26a0\ufe0f",wastebasket:"\u{1f5d1}",watch:"\u231a\ufe0f",water_buffalo:"\u{1f403}",watermelon:"\u{1f349}",wave:"\u{1f44b}",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\u{1f312}",wc:"\u{1f6be}",weary:"\u{1f629}",wedding:"\u{1f492}",weight_lifting_man:"\u{1f3cb}\ufe0f",weight_lifting_woman:"\u{1f3cb}\ufe0f‍\u2640\ufe0f",whale:"\u{1f433}",whale2:"\u{1f40b}",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\u{1f3f3}\ufe0f",white_flower:"\u{1f4ae}",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\u{1f533}",wilted_flower:"\u{1f940}",wind_chime:"\u{1f390}",wind_face:"\u{1f32c}",wine_glass:"\u{1f377}",wink:"\u{1f609}",wolf:"\u{1f43a}",woman:"\u{1f469}",woman_artist:"\u{1f469}‍\u{1f3a8}",woman_astronaut:"\u{1f469}‍\u{1f680}",woman_cartwheeling:"\u{1f938}‍\u2640\ufe0f",woman_cook:"\u{1f469}‍\u{1f373}",woman_facepalming:"\u{1f926}‍\u2640\ufe0f",woman_factory_worker:"\u{1f469}‍\u{1f3ed}",woman_farmer:"\u{1f469}‍\u{1f33e}",woman_firefighter:"\u{1f469}‍\u{1f692}",woman_health_worker:"\u{1f469}‍\u2695\ufe0f",woman_judge:"\u{1f469}‍\u2696\ufe0f",woman_juggling:"\u{1f939}‍\u2640\ufe0f",woman_mechanic:"\u{1f469}‍\u{1f527}",woman_office_worker:"\u{1f469}‍\u{1f4bc}",woman_pilot:"\u{1f469}‍\u2708\ufe0f",woman_playing_handball:"\u{1f93e}‍\u2640\ufe0f",woman_playing_water_polo:"\u{1f93d}‍\u2640\ufe0f",woman_scientist:"\u{1f469}‍\u{1f52c}",woman_shrugging:"\u{1f937}‍\u2640\ufe0f",woman_singer:"\u{1f469}‍\u{1f3a4}",woman_student:"\u{1f469}‍\u{1f393}",woman_teacher:"\u{1f469}‍\u{1f3eb}",woman_technologist:"\u{1f469}‍\u{1f4bb}",woman_with_turban:"\u{1f473}‍\u2640\ufe0f",womans_clothes:"\u{1f45a}",womans_hat:"\u{1f452}",women_wrestling:"\u{1f93c}‍\u2640\ufe0f",womens:"\u{1f6ba}",world_map:"\u{1f5fa}",worried:"\u{1f61f}",wrench:"\u{1f527}",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\u{1f49b}",yen:"\u{1f4b4}",yin_yang:"\u262f\ufe0f",yum:"\u{1f60b}",zap:"\u26a1\ufe0f",zipper_mouth_face:"\u{1f910}",zzz:"\u{1f4a4}",octocat:':octocat:',showdown:"S"},m.Converter=function(c){"use strict";var h={},f=[],v=[],b={},C=Mr,w={parsed:{},raw:"",format:""};function O(_,A){if(A=A||null,m.helper.isString(_)){if(A=_=m.helper.stdExtName(_),m.extensions[_])return console.warn("DEPRECATION WARNING: "+_+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function k(_,A){"function"==typeof _&&(_=_(new m.Converter)),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U)switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(m.extensions[_],_);if(m.helper.isUndefined(Ht[_]))throw Error('Extension "'+_+'" could not be loaded. It was either not found or is not a valid extension.');_=Ht[_]}"function"==typeof _&&(_=_()),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U){switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U])}if(_[U].hasOwnProperty("listeners"))for(var de in _[U].listeners)_[U].listeners.hasOwnProperty(de)&&R(de,_[U].listeners[de])}}function R(_,A){if(!m.helper.isString(_))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof _+" given");if("function"!=typeof A)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof A+" given");b.hasOwnProperty(_)||(b[_]=[]),b[_].push(A)}!function E(){for(var _ in c=c||{},Bt)Bt.hasOwnProperty(_)&&(h[_]=Bt[_]);if("object"!=typeof c)throw Error("Converter expects the passed parameter to be an object, but "+typeof c+" was passed instead.");for(var A in c)c.hasOwnProperty(A)&&(h[A]=c[A]);h.extensions&&m.helper.forEach(h.extensions,O)}(),this._dispatch=function(A,L,U,de){if(b.hasOwnProperty(A))for(var j=0;j[ \t]+\xa8NBSP;<"),!A){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");A=window.document}var L=A.createElement("div");L.innerHTML=_;var U={preList:function ye(le){for(var Qe=le.querySelectorAll("pre"),G=[],Ze=0;Ze'}else G.push(Qe[Ze].innerHTML),Qe[Ze].innerHTML="",Qe[Ze].setAttribute("prenum",Ze.toString());return G}(L)};!function We(le){for(var Qe=0;Qe? ?(['"].*['"])?\)$/m)>-1)E="";else if(!E){if(w||(w=C.toLowerCase().replace(/ ?\n/g," ")),E="#"+w,m.helper.isUndefined(f.gUrls[w]))return b;E=f.gUrls[w],m.helper.isUndefined(f.gTitles[w])||(R=f.gTitles[w])}var N='"+C+""};return c=(c=(c=(c=(c=f.converter._dispatch("anchors.before",c,h,f)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[([^\[\]]+)]()()()()()/g,v),h.ghMentions&&(c=c.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(b,C,w,E,O){if("\\"===w)return C+E;if(!m.helper.isString(h.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var k=h.ghMentionsLink.replace(/\{u}/g,O),R="";return h.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),C+'"+E+""})),f.converter._dispatch("anchors.after",c,h,f)});var Sa=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,Ia=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,Ta=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,Mi=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,mn=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,Fn=function(c){"use strict";return function(h,f,v,b,C,w,E){var O=v=v.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback),k="",R="",N=f||"",_=E||"";return/^www\./i.test(v)&&(v=v.replace(/^www\./i,"http://www.")),c.excludeTrailingPunctuationFromURLs&&w&&(k=w),c.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),N+'"+O+""+k+_}},Os=function(c,h){"use strict";return function(f,v,b){var C="mailto:";return v=v||"",b=m.subParser("unescapeSpecialChars")(b,c,h),c.encodeEmails?(C=m.helper.encodeEmailAddress(C+b),b=m.helper.encodeEmailAddress(b)):C+=b,v+''+b+""}};m.subParser("autoLinks",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("autoLinks.before",c,h,f)).replace(Ta,Fn(h))).replace(mn,Os(h,f)),f.converter._dispatch("autoLinks.after",c,h,f)}),m.subParser("simplifiedAutoLinks",function(c,h,f){"use strict";return h.simplifiedAutoLink&&(c=(c=(c=f.converter._dispatch("simplifiedAutoLinks.before",c,h,f)).replace(h.excludeTrailingPunctuationFromURLs?Ia:Sa,Fn(h))).replace(Mi,Os(h,f)),c=f.converter._dispatch("simplifiedAutoLinks.after",c,h,f)),c}),m.subParser("blockGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("blockGamut.before",c,h,f),c=m.subParser("blockQuotes")(c,h,f),c=m.subParser("headers")(c,h,f),c=m.subParser("horizontalRule")(c,h,f),c=m.subParser("lists")(c,h,f),c=m.subParser("codeBlocks")(c,h,f),c=m.subParser("tables")(c,h,f),c=m.subParser("hashHTMLBlocks")(c,h,f),c=m.subParser("paragraphs")(c,h,f),f.converter._dispatch("blockGamut.after",c,h,f)}),m.subParser("blockQuotes",function(c,h,f){"use strict";c=f.converter._dispatch("blockQuotes.before",c,h,f);var v=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return h.splitAdjacentBlockquotes&&(v=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),c=(c+="\n\n").replace(v,function(b){return b=(b=(b=b.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/\xa80/g,"")).replace(/^[ \t]+$/gm,""),b=m.subParser("githubCodeBlocks")(b,h,f),b=(b=(b=m.subParser("blockGamut")(b,h,f)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(C,w){var E=w;return(E=E.replace(/^  /gm,"\xa80")).replace(/\xa80/g,"")}),m.subParser("hashBlock")("
\n"+b+"\n
",h,f)}),f.converter._dispatch("blockQuotes.after",c,h,f)}),m.subParser("codeBlocks",function(c,h,f){"use strict";return c=f.converter._dispatch("codeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(b,C,w){var E=C,O=w,k="\n";return E=m.subParser("outdent")(E,h,f),E=m.subParser("encodeCode")(E,h,f),E=(E=(E=m.subParser("detab")(E,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""),h.omitExtraWLInCodeBlocks&&(k=""),E="
"+E+k+"
",m.subParser("hashBlock")(E,h,f)+O})).replace(/\xa80/,""),f.converter._dispatch("codeBlocks.after",c,h,f)}),m.subParser("codeSpans",function(c,h,f){"use strict";return void 0===(c=f.converter._dispatch("codeSpans.before",c,h,f))&&(c=""),c=c.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(v,b,C,w){var E=w;return E=(E=E.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),E=b+""+(E=m.subParser("encodeCode")(E,h,f))+"",m.subParser("hashHTMLSpans")(E,h,f)}),f.converter._dispatch("codeSpans.after",c,h,f)}),m.subParser("completeHTMLDocument",function(c,h,f){"use strict";if(!h.completeHTMLDocument)return c;c=f.converter._dispatch("completeHTMLDocument.before",c,h,f);var v="html",b="\n",C="",w='\n',E="",O="";for(var k in void 0!==f.metadata.parsed.doctype&&(b="\n",("html"===(v=f.metadata.parsed.doctype.toString().toLowerCase())||"html5"===v)&&(w='')),f.metadata.parsed)if(f.metadata.parsed.hasOwnProperty(k))switch(k.toLowerCase()){case"doctype":break;case"title":C=""+f.metadata.parsed.title+"\n";break;case"charset":w="html"===v||"html5"===v?'\n':'\n';break;case"language":case"lang":E=' lang="'+f.metadata.parsed[k]+'"',O+='\n';break;default:O+='\n'}return c=b+"\n\n"+C+w+O+"\n\n"+c.trim()+"\n\n",f.converter._dispatch("completeHTMLDocument.after",c,h,f)}),m.subParser("detab",function(c,h,f){"use strict";return c=(c=(c=(c=(c=(c=f.converter._dispatch("detab.before",c,h,f)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"\xa8A\xa8B")).replace(/\xa8B(.+?)\xa8A/g,function(v,b){for(var C=b,w=4-C.length%4,E=0;E/g,">"),f.converter._dispatch("encodeAmpsAndAngles.after",c,h,f)}),m.subParser("encodeBackslashEscapes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("encodeBackslashEscapes.before",c,h,f)).replace(/\\(\\)/g,m.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeBackslashEscapes.after",c,h,f)}),m.subParser("encodeCode",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("encodeCode.before",c,h,f)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeCode.after",c,h,f)}),m.subParser("escapeSpecialCharsWithinTagAttributes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",c,h,f)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(C){return C.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(C){return C.replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)}),f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",c,h,f)}),m.subParser("githubCodeBlocks",function(c,h,f){"use strict";return h.ghCodeBlocks?(c=f.converter._dispatch("githubCodeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(v,b,C,w){var E=h.omitExtraWLInCodeBlocks?"":"\n";return w=m.subParser("encodeCode")(w,h,f),w="
"+(w=(w=(w=m.subParser("detab")(w,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+E+"
",w=m.subParser("hashBlock")(w,h,f),"\n\n\xa8G"+(f.ghCodeBlocks.push({text:v,codeblock:w})-1)+"G\n\n"})).replace(/\xa80/,""),f.converter._dispatch("githubCodeBlocks.after",c,h,f)):c}),m.subParser("hashBlock",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("hashBlock.before",c,h,f)).replace(/(^\n+|\n+$)/g,""),c="\n\n\xa8K"+(f.gHtmlBlocks.push(c)-1)+"K\n\n",f.converter._dispatch("hashBlock.after",c,h,f)}),m.subParser("hashCodeTags",function(c,h,f){"use strict";return c=f.converter._dispatch("hashCodeTags.before",c,h,f),c=m.helper.replaceRecursiveRegExp(c,function(b,C,w,E){var O=w+m.subParser("encodeCode")(C,h,f)+E;return"\xa8C"+(f.gHtmlSpans.push(O)-1)+"C"},"]*>","","gim"),f.converter._dispatch("hashCodeTags.after",c,h,f)}),m.subParser("hashElement",function(c,h,f){"use strict";return function(v,b){var C=b;return C=(C=(C=C.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n\xa8K"+(f.gHtmlBlocks.push(C)-1)+"K\n\n"}}),m.subParser("hashHTMLBlocks",function(c,h,f){"use strict";c=f.converter._dispatch("hashHTMLBlocks.before",c,h,f);var v=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],b=function(_,A,L,U){var de=_;return-1!==L.search(/\bmarkdown\b/)&&(de=L+f.converter.makeHtml(A)+U),"\n\n\xa8K"+(f.gHtmlBlocks.push(de)-1)+"K\n\n"};h.backslashEscapesHTMLTags&&(c=c.replace(/\\<(\/?[^>]+?)>/g,function(_,A){return"<"+A+">"}));for(var C=0;C]*>)","im"),O="<"+v[C]+"\\b[^>]*>",k="";-1!==(w=m.helper.regexIndexOf(c,E));){var R=m.helper.splitAtIndex(c,w),N=m.helper.replaceRecursiveRegExp(R[1],b,O,k,"im");if(N===R[1])break;c=R[0].concat(N)}return c=c.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),c=(c=m.helper.replaceRecursiveRegExp(c,function(_){return"\n\n\xa8K"+(f.gHtmlBlocks.push(_)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),f.converter._dispatch("hashHTMLBlocks.after",c,h,f)}),m.subParser("hashHTMLSpans",function(c,h,f){"use strict";function v(b){return"\xa8C"+(f.gHtmlSpans.push(b)-1)+"C"}return c=(c=(c=(c=(c=f.converter._dispatch("hashHTMLSpans.before",c,h,f)).replace(/<[^>]+?\/>/gi,function(b){return v(b)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(b){return v(b)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(b){return v(b)})).replace(/<[^>]+?>/gi,function(b){return v(b)}),f.converter._dispatch("hashHTMLSpans.after",c,h,f)}),m.subParser("unhashHTMLSpans",function(c,h,f){"use strict";c=f.converter._dispatch("unhashHTMLSpans.before",c,h,f);for(var v=0;v]*>\\s*]*>","^ {0,3}\\s*
","gim"),f.converter._dispatch("hashPreCodeTags.after",c,h,f)}),m.subParser("headers",function(c,h,f){"use strict";c=f.converter._dispatch("headers.before",c,h,f);var v=isNaN(parseInt(h.headerLevelStart))?1:parseInt(h.headerLevelStart),C=h.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function E(O){var k,R;if(h.customizedHeaderId){var N=O.match(/\{([^{]+?)}\s*$/);N&&N[1]&&(O=N[1])}return k=O,R=m.helper.isString(h.prefixHeaderId)?h.prefixHeaderId:!0===h.prefixHeaderId?"section-":"",h.rawPrefixHeaderId||(k=R+k),k=h.ghCompatibleHeaderId?k.replace(/ /g,"-").replace(/&/g,"").replace(/\xa8T/g,"").replace(/\xa8D/g,"").replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():h.rawHeaderId?k.replace(/ /g,"-").replace(/&/g,"&").replace(/\xa8T/g,"\xa8").replace(/\xa8D/g,"$").replace(/["']/g,"-").toLowerCase():k.replace(/[^\w]/g,"").toLowerCase(),h.rawPrefixHeaderId&&(k=R+k),f.hashLinkCounts[k]?k=k+"-"+f.hashLinkCounts[k]++:f.hashLinkCounts[k]=1,k}return c=(c=(c=c.replace(h.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',A=""+R+"";return m.subParser("hashBlock")(A,h,f)})).replace(C,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',_=v+1,A=""+R+"";return m.subParser("hashBlock")(A,h,f)})).replace(h.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(O,k,R){var N=R;h.customizedHeaderId&&(N=R.replace(/\s?\{([^{]+?)}\s*$/,""));var _=m.subParser("spanGamut")(N,h,f),A=h.noHeaderId?"":' id="'+E(R)+'"',L=v-1+k.length,U=""+_+"";return m.subParser("hashBlock")(U,h,f)}),f.converter._dispatch("headers.after",c,h,f)}),m.subParser("horizontalRule",function(c,h,f){"use strict";c=f.converter._dispatch("horizontalRule.before",c,h,f);var v=m.subParser("hashBlock")("
",h,f);return c=(c=(c=c.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,v),f.converter._dispatch("horizontalRule.after",c,h,f)}),m.subParser("images",function(c,h,f){"use strict";function k(R,N,_,A,L,U,de,j){var Be=f.gUrls,We=f.gTitles,ye=f.gDimensions;if(_=_.toLowerCase(),j||(j=""),R.search(/\(? ?(['"].*['"])?\)$/m)>-1)A="";else if(""===A||null===A){if((""===_||null===_)&&(_=N.toLowerCase().replace(/ ?\n/g," ")),A="#"+_,m.helper.isUndefined(Be[_]))return R;A=Be[_],m.helper.isUndefined(We[_])||(j=We[_]),m.helper.isUndefined(ye[_])||(L=ye[_].width,U=ye[_].height)}N=N.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback);var le=''+N+'"}return c=(c=(c=(c=(c=(c=f.converter._dispatch("images.before",c,h,f)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function O(R,N,_,A,L,U,de,j){return k(R,N,_,A=A.replace(/\s/g,""),L,U,0,j)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,k)).replace(/!\[([^\[\]]+)]()()()()()/g,k),f.converter._dispatch("images.after",c,h,f)}),m.subParser("italicsAndBold",function(c,h,f){"use strict";function v(b,C,w){return C+b+w}return c=f.converter._dispatch("italicsAndBold.before",c,h,f),c=h.literalMidWordUnderscores?(c=(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(b,C){return v(C,"","")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(b,C){return v(C,"","")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(b,C){return v(C,"","")}):(c=(c=c.replace(/___(\S[\s\S]*?)___/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/__(\S[\s\S]*?)__/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/_([^\s_][\s\S]*?)_/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b}),c=h.literalMidWordAsterisks?(c=(c=c.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(b,C,w){return v(w,C+"","")}):(c=(c=c.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b})).replace(/\*([^\s*][\s\S]*?)\*/g,function(b,C){return/\S$/.test(C)?v(C,"",""):b}),f.converter._dispatch("italicsAndBold.after",c,h,f)}),m.subParser("lists",function(c,h,f){"use strict";function v(w,E){f.gListLevel++,w=w.replace(/\n{2,}$/,"\n");var O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,k=/\n[ \t]*\n(?!\xa80)/.test(w+="\xa80");return h.disableForced4SpacesIndentedSublists&&(O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),w=(w=w.replace(O,function(R,N,_,A,L,U,de){de=de&&""!==de.trim();var j=m.subParser("outdent")(L,h,f),Be="";return U&&h.tasklists&&(Be=' class="task-list-item" style="list-style-type: none;"',j=j.replace(/^[ \t]*\[(x|X| )?]/m,function(){var We='"})),j=j.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(We){return"\xa8A"+We}),N||j.search(/\n{2,}/)>-1?(j=m.subParser("githubCodeBlocks")(j,h,f),j=m.subParser("blockGamut")(j,h,f)):(j=(j=m.subParser("lists")(j,h,f)).replace(/\n$/,""),j=(j=m.subParser("hashHTMLBlocks")(j,h,f)).replace(/\n\n+/g,"\n\n"),j=k?m.subParser("paragraphs")(j,h,f):m.subParser("spanGamut")(j,h,f)),""+(j=j.replace("\xa8A",""))+"\n"})).replace(/\xa80/g,""),f.gListLevel--,E&&(w=w.replace(/\s+$/,"")),w}function b(w,E){if("ol"===E){var O=w.match(/^ *(\d+)\./);if(O&&"1"!==O[1])return' start="'+O[1]+'"'}return""}function C(w,E,O){var k=h.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,R=h.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,N="ul"===E?k:R,_="";if(-1!==w.search(N))!function L(U){var de=U.search(N),j=b(w,E);-1!==de?(_+="\n\n<"+E+j+">\n"+v(U.slice(0,de),!!O)+"\n",N="ul"==(E="ul"===E?"ol":"ul")?k:R,L(U.slice(de))):_+="\n\n<"+E+j+">\n"+v(U,!!O)+"\n"}(w);else{var A=b(w,E);_="\n\n<"+E+A+">\n"+v(w,!!O)+"\n"}return _}return c=f.converter._dispatch("lists.before",c,h,f),c+="\xa80",c=(c=f.gListLevel?c.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O){return C(E,O.search(/[*+-]/g)>-1?"ul":"ol",!0)}):c.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O,k){return C(O,k.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/\xa80/,""),f.converter._dispatch("lists.after",c,h,f)}),m.subParser("metadata",function(c,h,f){"use strict";if(!h.metadata)return c;function v(b){f.metadata.raw=b,(b=(b=b.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(C,w,E){return f.metadata.parsed[w]=E,""})}return c=(c=(c=(c=f.converter._dispatch("metadata.before",c,h,f)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(b,C,w){return v(w),"\xa8M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(b,C,w){return C&&(f.metadata.format=C),v(w),"\xa8M"})).replace(/\xa8M/g,""),f.converter._dispatch("metadata.after",c,h,f)}),m.subParser("outdent",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("outdent.before",c,h,f)).replace(/^(\t|[ ]{1,4})/gm,"\xa80")).replace(/\xa80/g,""),f.converter._dispatch("outdent.after",c,h,f)}),m.subParser("paragraphs",function(c,h,f){"use strict";for(var v=(c=(c=(c=f.converter._dispatch("paragraphs.before",c,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),b=[],C=v.length,w=0;w=0?b.push(E):E.search(/\S/)>=0&&(E=(E=m.subParser("spanGamut")(E,h,f)).replace(/^([ \t]*)/g,"

"),b.push(E+="

"))}for(C=b.length,w=0;w]*>\s*]*>/.test(k)&&(R=!0)}b[w]=k}return c=(c=(c=b.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),f.converter._dispatch("paragraphs.after",c,h,f)}),m.subParser("runExtension",function(c,h,f,v){"use strict";if(c.filter)h=c.filter(h,v.converter,f);else if(c.regex){var b=c.regex;b instanceof RegExp||(b=new RegExp(b,"g")),h=h.replace(b,c.replace)}return h}),m.subParser("spanGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("spanGamut.before",c,h,f),c=m.subParser("codeSpans")(c,h,f),c=m.subParser("escapeSpecialCharsWithinTagAttributes")(c,h,f),c=m.subParser("encodeBackslashEscapes")(c,h,f),c=m.subParser("images")(c,h,f),c=m.subParser("anchors")(c,h,f),c=m.subParser("autoLinks")(c,h,f),c=m.subParser("simplifiedAutoLinks")(c,h,f),c=m.subParser("emoji")(c,h,f),c=m.subParser("underline")(c,h,f),c=m.subParser("italicsAndBold")(c,h,f),c=m.subParser("strikethrough")(c,h,f),c=m.subParser("ellipsis")(c,h,f),c=m.subParser("hashHTMLSpans")(c,h,f),c=m.subParser("encodeAmpsAndAngles")(c,h,f),h.simpleLineBreaks?/\n\n\xa8K/.test(c)||(c=c.replace(/\n+/g,"
\n")):c=c.replace(/ +\n/g,"
\n"),f.converter._dispatch("spanGamut.after",c,h,f)}),m.subParser("strikethrough",function(c,h,f){"use strict";return h.strikethrough&&(c=(c=f.converter._dispatch("strikethrough.before",c,h,f)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(b,C){return function v(b){return h.simplifiedAutoLink&&(b=m.subParser("simplifiedAutoLinks")(b,h,f)),""+b+""}(C)}),c=f.converter._dispatch("strikethrough.after",c,h,f)),c}),m.subParser("stripLinkDefinitions",function(c,h,f){"use strict";var C=function(w,E,O,k,R,N,_){return E=E.toLowerCase(),c.toLowerCase().split(E).length-1<2?w:(f.gUrls[E]=O.match(/^data:.+?\/.+?;base64,/)?O.replace(/\s/g,""):m.subParser("encodeAmpsAndAngles")(O,h,f),N?N+_:(_&&(f.gTitles[E]=_.replace(/"|'/g,""")),h.parseImgDimensions&&k&&R&&(f.gDimensions[E]={width:k,height:R}),""))};return c=(c=(c=(c+="\xa80").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,C)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,C)).replace(/\xa80/,"")}),m.subParser("tables",function(c,h,f){"use strict";if(!h.tables)return c;function C(R){return/^:[ \t]*--*$/.test(R)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(R)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(R)?' style="text-align:center;"':""}function w(R,N){var _="";return R=R.trim(),(h.tablesHeaderId||h.tableHeaderId)&&(_=' id="'+R.replace(/ /g,"_").toLowerCase()+'"'),""+(R=m.subParser("spanGamut")(R,h,f))+"\n"}function E(R,N){return""+m.subParser("spanGamut")(R,h,f)+"\n"}function k(R){var N,_=R.split("\n");for(N=0;N<_.length;++N)/^ {0,3}\|/.test(_[N])&&(_[N]=_[N].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(_[N])&&(_[N]=_[N].replace(/\|[ \t]*$/,"")),_[N]=m.subParser("codeSpans")(_[N],h,f);var A=_[0].split("|").map(function(le){return le.trim()}),L=_[1].split("|").map(function(le){return le.trim()}),U=[],de=[],j=[],Be=[];for(_.shift(),_.shift(),N=0;N<_.length;++N)""!==_[N].trim()&&U.push(_[N].split("|").map(function(le){return le.trim()}));if(A.length\n\n\n",L=0;L\n";for(var U=0;U\n"}return _+"\n\n"}(de,Be)}return c=(c=(c=(c=f.converter._dispatch("tables.before",c,h,f)).replace(/\\(\|)/g,m.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|\xa80)/gm,k)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|\xa80)/gm,k),f.converter._dispatch("tables.after",c,h,f)}),m.subParser("underline",function(c,h,f){"use strict";return h.underline&&(c=f.converter._dispatch("underline.before",c,h,f),c=(c=h.literalMidWordUnderscores?(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(v,b){return""+b+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(v,b){return""+b+""}):(c=c.replace(/___(\S[\s\S]*?)___/g,function(v,b){return/\S$/.test(b)?""+b+"":v})).replace(/__(\S[\s\S]*?)__/g,function(v,b){return/\S$/.test(b)?""+b+"":v})).replace(/(_)/g,m.helper.escapeCharactersCallback),c=f.converter._dispatch("underline.after",c,h,f)),c}),m.subParser("unescapeSpecialChars",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("unescapeSpecialChars.before",c,h,f)).replace(/\xa8E(\d+)E/g,function(v,b){var C=parseInt(b);return String.fromCharCode(C)}),f.converter._dispatch("unescapeSpecialChars.after",c,h,f)}),m.subParser("makeMarkdown.blockquote",function(c,h){"use strict";var f="";if(c.hasChildNodes())for(var v=c.childNodes,b=v.length,C=0;C "+(f=f.trim()).split("\n").join("\n> ")}),m.subParser("makeMarkdown.codeBlock",function(c,h){"use strict";var f=c.getAttribute("language"),v=c.getAttribute("precodenum");return"```"+f+"\n"+h.preList[v]+"\n```"}),m.subParser("makeMarkdown.codeSpan",function(c){"use strict";return"`"+c.innerHTML+"`"}),m.subParser("makeMarkdown.emphasis",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="*";for(var v=c.childNodes,b=v.length,C=0;C",c.hasAttribute("width")&&c.hasAttribute("height")&&(h+=" ="+c.getAttribute("width")+"x"+c.getAttribute("height")),c.hasAttribute("title")&&(h+=' "'+c.getAttribute("title")+'"'),h+=")"),h}),m.subParser("makeMarkdown.links",function(c,h){"use strict";var f="";if(c.hasChildNodes()&&c.hasAttribute("href")){var v=c.childNodes,b=v.length;f="[";for(var C=0;C",c.hasAttribute("title")&&(f+=' "'+c.getAttribute("title")+'"'),f+=")"}return f}),m.subParser("makeMarkdown.list",function(c,h,f){"use strict";var v="";if(!c.hasChildNodes())return"";for(var b=c.childNodes,C=b.length,w=c.getAttribute("start")||1,E=0;E"+h.preList[f]+""}),m.subParser("makeMarkdown.strikethrough",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="~~";for(var v=c.childNodes,b=v.length,C=0;Ctr>th"),C=c.querySelectorAll("tbody>tr");for(w=0;wL&&(L=U)}for(w=0;w/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}),void 0!==(me=function(){"use strict";return m}.call(bi,Ns,bi,Er))&&(Er.exports=me)}).call(this)}},Er=>{Er(Er.s=11)}]); \ No newline at end of file diff --git a/pc-9800.d296e1227a71a911.ttf b/pc-9800.d296e1227a71a911.ttf deleted file mode 100644 index a74b1e2..0000000 Binary files a/pc-9800.d296e1227a71a911.ttf and /dev/null differ diff --git a/styles.9c7393dd55e2b0af.css b/styles.9c7393dd55e2b0af.css deleted file mode 100644 index 0bd2cab..0000000 --- a/styles.9c7393dd55e2b0af.css +++ /dev/null @@ -1 +0,0 @@ -button{cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.6rem;border:none;box-shadow:#000a 4px 4px;font-family:pxplus_ibm_vga8regular}.btn-fat{padding:.7rem!important}.btn-primary{background-color:#6100a2;color:#fff;font-size:1rem}.btn-primary:hover{box-shadow:0 0 7px #6100a2}.btn-secondary{background-color:#00d199;color:#444;font-size:1rem}.btn-secondary:hover{box-shadow:0 0 7px #00d199}.btn-tertiary{background-color:#17a2b8;color:#fff;font-size:1rem}.btn-tertiary:hover{box-shadow:0 0 7px #17a2b8}.btn-action{background-color:#00905e;color:#fff;font-size:1rem}.btn-action:hover{box-shadow:0 0 7px #00905e}.card{border:none;box-shadow:#000a 4px 4px}.card-header{border-bottom:none;background-color:#6100a2;padding:1rem;margin-bottom:0}.title{color:#00ffea!important;text-decoration:none;font-size:1.5rem;font-weight:500;font-family:pc98}.timestamp{color:#b5b5b5;font-size:12px;font-family:pc98}.card-body{padding:1rem;background-color:#2e2e2e;margin-top:-10px;color:#bbb}::placeholder{color:#d0d0d0;opacity:1}input[type=text]{padding:10px;border:1px solid #8a8a8a;resize:vertical;min-width:5%;background-color:transparent;color:#fff;font-size:15px;box-shadow:#000a 4px 4px;font-family:pxplus_ibm_vga8regular}.list-group{padding:2rem}.list-item{padding:1rem;border:#585858 solid 1px;background-color:#2e2e2e;margin-top:.5rem;box-shadow:#000a 4px 4px}.list-item:hover{background-color:#34273e;cursor:pointer}.placard{background-color:#6100a2;text-align:center;padding:2rem;margin:2rem;font-weight:200;font-size:1.25rem;color:#fff;box-shadow:#000a 4px 4px}.placard-title{font-weight:200;font-size:3.5rem}.margins{margin:1rem}.margins-sides{width:40%;margin:0 auto}.margin-top{margin-top:.5rem!important}.margin-y{margin-top:2rem;margin-bottom:3rem}.text-center{text-align:center}@font-face{font-family:pxplus_ibm_vga8regular;src:url(PxPlus_IBM_VGA8.4c8d5aeba5d418be.woff) format("woff"),url(PxPlus_IBM_VGA8.7a1f0cae01819672.ttf) format("truetype");font-weight:400}@font-face{font-family:pc98;src:url(PC_9800.8a864a7e573a143f.woff2) format("woff2"),url(PC_9800.991eb4f8311297a3.woff) format("woff"),url(pc-9800.d296e1227a71a911.ttf) format("truetype");font-weight:400;font-style:normal}body{line-height:1.2;font-family:pxplus_ibm_vga8regular;margin-left:.5em;margin-right:.5em;background-color:#444}a{color:#00ffea;text-decoration:none}a:visited{color:#00905e;text-decoration:none} diff --git a/styles.dba2495ca3077834.css b/styles.dba2495ca3077834.css new file mode 100644 index 0000000..68c6a58 --- /dev/null +++ b/styles.dba2495ca3077834.css @@ -0,0 +1 @@ +button{cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.6rem;border:none;box-shadow:#000a 4px 4px;font-size:.8rem}.btn-fat{padding:.7rem!important}.btn-primary{background-color:#6100a2;color:#fff}.btn-primary:hover{box-shadow:0 0 7px #6100a2}.btn-secondary{background-color:#00d199;color:#444}.btn-secondary:hover{box-shadow:0 0 7px #00d199}.btn-tertiary{background-color:#17a2b8;color:#fff}.btn-tertiary:hover{box-shadow:0 0 7px #17a2b8}.btn-action{background-color:#00905e;color:#fff}.btn-action:hover{box-shadow:0 0 7px #00905e}.btn-bad-action{background-color:#cf2200;color:#fff}.btn-bad-action:hover{box-shadow:0 0 7px #cf2200}.card{border:none;box-shadow:#000a 4px 4px}.card-header{border-bottom:none;background-color:#6100a2;padding:1rem;margin-bottom:0}.title{color:#00ffea!important;text-decoration:none;font-size:1.5rem;font-weight:500}.timestamp{color:#b5b5b5;font-size:12px}.card-body{padding:1rem;background-color:#2e2e2e;margin-top:-10px;color:#bbb}::placeholder{color:#d0d0d0;opacity:1}input[type=text]{padding:10px;border:1px solid #8a8a8a;resize:vertical;min-width:5%;background-color:transparent;color:#fff;font-size:15px;box-shadow:#000a 4px 4px}.list-group{padding:2rem}.list-item{padding:1rem;border:#585858 solid 1px;background-color:#2e2e2e;margin-top:.5rem;box-shadow:#000a 4px 4px}.list-item:hover{background-color:#34273e;cursor:pointer}.placard{background-color:#6100a2;text-align:center;padding:2rem;margin:2rem;font-weight:200;font-size:1.25rem;color:#fff;box-shadow:#000a 4px 4px}.placard-title{font-weight:200;font-size:3.5rem}.margins{margin:1rem}.margins-sides{width:40%;margin:0 auto}.margin-top{margin-top:.5rem!important}.margin-y{margin-top:2rem;margin-bottom:3rem}.text-center{text-align:center}body{line-height:1.2;font-family:monospace;margin-left:.5em;margin-right:.5em;background-color:#444}a{color:#00ffea;text-decoration:none}a:visited{color:#00905e;text-decoration:none}