{"version":3,"sources":["polyfills.js","runtime.js","main.js"],"names":[],"mappings":"AAAA;ACAA;ACAA","file":"employeeListApp.module.min.js","sourcesContent":["\"use strict\";(self.webpackChunkEmployeeListApp=self.webpackChunkEmployeeListApp||[]).push([[429],{321:(pe,we,Re)=>{Re(242)},242:function(pe,we,Re){var de,De,Ie=this&&this.__assign||function(){return Ie=Object.assign||function(se){for(var Ee,ye=1,Be=arguments.length;ye\",this._properties=n&&n.properties||{},this._zoneDelegate=new m(this,this._parent&&this._parent._zoneDelegate,n)}return h.assertZonePatched=function(){if(e.Promise!==X.ZoneAwarePromise)throw new Error(\"Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)\")},Object.defineProperty(h,\"root\",{get:function(){for(var r=t.current;r.parent;)r=r.parent;return r},enumerable:!1,configurable:!0}),Object.defineProperty(h,\"current\",{get:function(){return K.zone},enumerable:!1,configurable:!0}),Object.defineProperty(h,\"currentTask\",{get:function(){return ne},enumerable:!1,configurable:!0}),h.__load_patch=function(r,n,o){if(void 0===o&&(o=!1),X.hasOwnProperty(r)){if(!o&&E)throw Error(\"Already loaded patch: \"+r)}else if(!e[\"__Zone_disable_\"+r]){var p=\"Zone:\"+r;a(p),X[r]=n(e,t,ae),s(p,p)}},Object.defineProperty(h.prototype,\"parent\",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,\"name\",{get:function(){return this._name},enumerable:!1,configurable:!0}),h.prototype.get=function(r){var n=this.getZoneWith(r);if(n)return n._properties[r]},h.prototype.getZoneWith=function(r){for(var n=this;n;){if(n._properties.hasOwnProperty(r))return n;n=n._parent}return null},h.prototype.fork=function(r){if(!r)throw new Error(\"ZoneSpec required!\");return this._zoneDelegate.fork(this,r)},h.prototype.wrap=function(r,n){if(\"function\"!=typeof r)throw new Error(\"Expecting function got: \"+r);var o=this._zoneDelegate.intercept(this,r,n),p=this;return function(){return p.runGuarded(o,this,arguments,n)}},h.prototype.run=function(r,n,o,p){K={parent:K,zone:this};try{return this._zoneDelegate.invoke(this,r,n,o,p)}finally{K=K.parent}},h.prototype.runGuarded=function(r,n,o,p){void 0===n&&(n=null),K={parent:K,zone:this};try{try{return this._zoneDelegate.invoke(this,r,n,o,p)}catch(z){if(this._zoneDelegate.handleError(this,z))throw z}}finally{K=K.parent}},h.prototype.runTask=function(r,n,o){if(r.zone!=this)throw new Error(\"A task can only be run in the zone of creation! (Creation: \"+(r.zone||re).name+\"; Execution: \"+this.name+\")\");if(r.state!==F||r.type!==O&&r.type!==L){var p=r.state!=y;p&&r._transitionTo(y,B),r.runCount++;var z=ne;ne=r,K={parent:K,zone:this};try{r.type==L&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,n,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{r.state!==F&&r.state!==D&&(r.type==O||r.data&&r.data.isPeriodic?p&&r._transitionTo(B,y):(r.runCount=0,this._updateTaskCount(r,-1),p&&r._transitionTo(F,y,F))),K=K.parent,ne=z}}},h.prototype.scheduleTask=function(r){if(r.zone&&r.zone!==this)for(var n=this;n;){if(n===r.zone)throw Error(\"can not reschedule task to \".concat(this.name,\" which is descendants of the original zone \").concat(r.zone.name));n=n.parent}r._transitionTo(x,F);var o=[];r._zoneDelegates=o,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(p){throw r._transitionTo(D,x,F),this._zoneDelegate.handleError(this,p),p}return r._zoneDelegates===o&&this._updateTaskCount(r,1),r.state==x&&r._transitionTo(B,x),r},h.prototype.scheduleMicroTask=function(r,n,o,p){return this.scheduleTask(new P(R,r,n,o,p,void 0))},h.prototype.scheduleMacroTask=function(r,n,o,p,z){return this.scheduleTask(new P(L,r,n,o,p,z))},h.prototype.scheduleEventTask=function(r,n,o,p,z){return this.scheduleTask(new P(O,r,n,o,p,z))},h.prototype.cancelTask=function(r){if(r.zone!=this)throw new Error(\"A task can only be cancelled in the zone of creation! (Creation: \"+(r.zone||re).name+\"; Execution: \"+this.name+\")\");if(r.state===B||r.state===y){r._transitionTo(W,B,y);try{this._zoneDelegate.cancelTask(this,r)}catch(n){throw r._transitionTo(D,W),this._zoneDelegate.handleError(this,n),n}return this._updateTaskCount(r,-1),r._transitionTo(F,W),r.runCount=0,r}},h.prototype._updateTaskCount=function(r,n){var o=r._zoneDelegates;-1==n&&(r._zoneDelegates=null);for(var p=0;p0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:r})},h}(),P=function(){function h(r,n,o,p,z,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state=\"notScheduled\",this.type=r,this.source=n,this.data=p,this.scheduleFn=z,this.cancelFn=u,!o)throw new Error(\"callback is not defined\");this.callback=o;var v=this;this.invoke=r===O&&p&&p.useG?h.invokeTask:function(){return h.invokeTask.call(e,v,this,arguments)}}return h.invokeTask=function(r,n,o){r||(r=this),ce++;try{return r.runCount++,r.zone.runTask(r,n,o)}finally{1==ce&&T(),ce--}},Object.defineProperty(h.prototype,\"zone\",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,\"state\",{get:function(){return this._state},enumerable:!1,configurable:!0}),h.prototype.cancelScheduleRequest=function(){this._transitionTo(F,x)},h.prototype._transitionTo=function(r,n,o){if(this._state!==n&&this._state!==o)throw new Error(\"\".concat(this.type,\" '\").concat(this.source,\"': can not transition to '\").concat(r,\"', expecting state '\").concat(n,\"'\").concat(o?\" or '\"+o+\"'\":\"\",\", was '\").concat(this._state,\"'.\"));this._state=r,r==F&&(this._zoneDelegates=null)},h.prototype.toString=function(){return this.data&&typeof this.data.handleId<\"u\"?this.data.handleId.toString():Object.prototype.toString.call(this)},h.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},h}(),S=_(\"setTimeout\"),M=_(\"Promise\"),G=_(\"then\"),j=[],ie=!1;function Y(h){if(V||e[M]&&(V=e[M].resolve(0)),V){var r=V[G];r||(r=V.then),r.call(V,h)}else e[S](h,0)}function A(h){0===ce&&0===j.length&&Y(T),h&&j.push(h)}function T(){if(!ie){for(ie=!0;j.length;){var h=j;j=[];for(var r=0;r=0;i--)\"function\"==typeof e[i]&&(e[i]=xe(e[i],t+\"_\"+i));return e}function Je(e){return!e||!1!==e.writable&&!(\"function\"==typeof e.get&&typeof e.set>\"u\")}var Qe=typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope,Ne=!(\"nw\"in $)&&typeof $.process<\"u\"&&\"[object process]\"==={}.toString.call($.process),Xe=!Ne&&!Qe&&!(!Me||!ge.HTMLElement),$e=typeof $.process<\"u\"&&\"[object process]\"==={}.toString.call($.process)&&!Qe&&!(!Me||!ge.HTMLElement),Le={},er=function(e){if(e=e||$.event){var t=Le[e.type];t||(t=Le[e.type]=H(\"ON_PROPERTY\"+e.type));var s,i=this||e.target||$,a=i[t];return Xe&&i===ge&&\"error\"===e.type?!0===(s=a&&a.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(s=a&&a.apply(this,arguments))&&!s&&e.preventDefault(),s}};function rr(e,t,i){var a=se(e,t);if(!a&&i&&se(i,t)&&(a={enumerable:!0,configurable:!0}),a&&a.configurable){var f=H(\"on\"+t+\"patched\");if(!e.hasOwnProperty(f)||!e[f]){delete a.writable,delete a.value;var _=a.get,E=a.set,b=t.slice(2),g=Le[b];g||(g=Le[b]=H(\"ON_PROPERTY\"+b)),a.set=function(m){var P=this;!P&&e===$&&(P=$),P&&(\"function\"==typeof P[g]&&P.removeEventListener(b,er),E&&E.call(P,null),P[g]=m,\"function\"==typeof m&&P.addEventListener(b,er,!1))},a.get=function(){var m=this;if(!m&&e===$&&(m=$),!m)return null;var P=m[g];if(P)return P;if(_){var S=_.call(this);if(S)return a.set.call(this,S),\"function\"==typeof m[dr]&&m.removeAttribute(t),S}return null},Ee(e,t,a),e[f]=!0}}}function tr(e,t,i){if(t)for(var a=0;a=0&&\"function\"==typeof E[b.cbIdx]?ze(b.name,E[b.cbIdx],b,s):f.apply(_,E)}})}function ve(e,t){e[H(\"OriginalDelegate\")]=t}var nr=!1,Ye=!1;function pr(){if(nr)return Ye;nr=!0;try{var e=ge.navigator.userAgent;(-1!==e.indexOf(\"MSIE \")||-1!==e.indexOf(\"Trident/\")||-1!==e.indexOf(\"Edge/\"))&&(Ye=!0)}catch{}return Ye}Zone.__load_patch(\"ZoneAwarePromise\",function(e,t,i){var a=Object.getOwnPropertyDescriptor,s=Object.defineProperty;var _=i.symbol,E=[],b=!0===e[_(\"DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION\")],g=_(\"Promise\"),m=_(\"then\"),P=\"__creationTrace__\";i.onUnhandledError=function(u){if(i.showUncaughtError()){var v=u&&u.rejection;v?console.error(\"Unhandled Promise rejection:\",v instanceof Error?v.message:v,\"; Zone:\",u.zone.name,\"; Task:\",u.task&&u.task.source,\"; Value:\",v,v instanceof Error?v.stack:void 0):console.error(u)}},i.microtaskDrainDone=function(){for(var u=function(){var v=E.shift();try{v.zone.runGuarded(function(){throw v.throwOriginal?v.rejection:v})}catch(l){!function M(u){i.onUnhandledError(u);try{var v=t[S];\"function\"==typeof v&&v.call(this,u)}catch{}}(l)}};E.length;)u()};var S=_(\"unhandledPromiseRejectionHandler\");function G(u){return u&&u.then}function j(u){return u}function ie(u){return r.reject(u)}var V=_(\"state\"),Y=_(\"value\"),A=_(\"finally\"),T=_(\"parentPromiseValue\"),re=_(\"parentPromiseState\"),F=\"Promise.then\",x=null,B=!0,y=!1,W=0;function D(u,v){return function(l){try{X(u,v,l)}catch(c){X(u,!1,c)}}}var R=function(){var u=!1;return function(l){return function(){u||(u=!0,l.apply(null,arguments))}}},L=\"Promise resolved with itself\",O=_(\"currentTaskTrace\");function X(u,v,l){var c=R();if(u===l)throw new TypeError(L);if(u[V]===x){var d=null;try{(\"object\"==typeof l||\"function\"==typeof l)&&(d=l&&l.then)}catch(I){return c(function(){X(u,!1,I)})(),u}if(v!==y&&l instanceof r&&l.hasOwnProperty(V)&&l.hasOwnProperty(Y)&&l[V]!==x)K(l),X(u,l[V],l[Y]);else if(v!==y&&\"function\"==typeof d)try{d.call(l,c(D(u,v)),c(D(u,!1)))}catch(I){c(function(){X(u,!1,I)})()}else{u[V]=v;var w=u[Y];if(u[Y]=l,u[A]===A&&v===B&&(u[V]=u[re],u[Y]=u[T]),v===y&&l instanceof Error){var k=t.currentTask&&t.currentTask.data&&t.currentTask.data[P];k&&s(l,O,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(var Z=0;Z2}).map(function(t){return t.substring(2)})}function Pr(e,t){if((!Ne||$e)&&!Zone[e.symbol(\"patchEvents\")]){var i=t.__Zone_ignore_on_properties,a=[];if(Xe){var s=window;a=a.concat([\"Document\",\"SVGElement\",\"Element\",\"HTMLElement\",\"HTMLBodyElement\",\"HTMLMediaElement\",\"HTMLFrameSetElement\",\"HTMLFrameElement\",\"HTMLIFrameElement\",\"HTMLMarqueeElement\",\"Worker\"]);var f=function yr(){try{var e=ge.navigator.userAgent;if(-1!==e.indexOf(\"MSIE \")||-1!==e.indexOf(\"Trident/\"))return!0}catch{}return!1}()?[{target:s,ignoreProperties:[\"error\"]}]:[];fr(s,qe(s),i&&i.concat(f),ye(s))}a=a.concat([\"XMLHttpRequest\",\"XMLHttpRequestEventTarget\",\"IDBIndex\",\"IDBRequest\",\"IDBOpenDBRequest\",\"IDBDatabase\",\"IDBTransaction\",\"IDBCursor\",\"WebSocket\"]);for(var _=0;_0){var ce=R.invoke;R.invoke=function(){for(var q=O[t.__symbol__(\"loadfalse\")],h=0;h{pe(pe.s=321)}]);","(()=>{\"use strict\";var e,i={},v={};function a(e){var n=v[e];if(void 0!==n)return n.exports;var r=v[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,e=[],a.O=(n,r,s,l)=>{if(!r){var o=1/0;for(t=0;t=l)&&Object.keys(a.O).every(_=>a.O[_](r[f]))?r.splice(f--,1):(p=!1,l0&&e[t-1][2]>l;t--)e[t]=e[t-1];e[t]=[r,s,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};a.O.j=s=>0===e[s];var n=(s,l)=>{var f,c,[t,o,p]=l,u=0;if(t.some(h=>0!==e[h])){for(f in o)a.o(o,f)&&(a.m[f]=o[f]);if(p)var d=p(a)}for(s&&s(l);u{\"use strict\";function Ne(e){return\"function\"==typeof e}function w(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Fl=w(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(\"\\n \")}`:\"\",this.name=\"UnsubscriptionError\",this.errors=t});function As(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class mn{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(Ne(r))try{r()}catch(o){n=o instanceof Fl?o.errors:[o]}const{_teardowns:i}=this;if(i){this._teardowns=null;for(const o of i)try{ka(o)}catch(a){n=n??[],a instanceof Fl?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Fl(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ka(n);else{if(n instanceof mn){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&As(t,n)}remove(n){const{_teardowns:t}=this;t&&As(t,n),n instanceof mn&&n._removeParent(this)}}mn.EMPTY=(()=>{const e=new mn;return e.closed=!0,e})();const vn=mn.EMPTY;function Vf(e){return e instanceof mn||e&&\"closed\"in e&&Ne(e.remove)&&Ne(e.add)&&Ne(e.unsubscribe)}function ka(e){Ne(e)?e():e.unsubscribe()}const Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bi={setTimeout(...e){const{delegate:n}=Bi;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=Bi;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Fr(e){Bi.setTimeout(()=>{const{onUnhandledError:n}=Vi;if(!n)throw e;n(e)})}function So(){}const Mo=Jt(\"C\",void 0,void 0);function Jt(e,n,t){return{kind:e,value:n,error:t}}let yn=null;function Ts(e){if(Vi.useDeprecatedSynchronousErrorHandling){const n=!yn;if(n&&(yn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=yn;if(yn=null,t)throw r}}else e()}class ri extends mn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Vf(n)&&n.add(this)):this.destination=Pl}static create(n,t,r){return new _n(n,t,r)}next(n){this.isStopped?Hi(function Va(e){return Jt(\"N\",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Hi(function Ao(e){return Jt(\"E\",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Hi(Mo,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class _n extends ri{constructor(n,t,r){let i;if(super(),Ne(n))i=n;else if(n){let o;({next:i,error:t,complete:r}=n),this&&Vi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,i=i?.bind(o),t=t?.bind(o),r=r?.bind(o)}this.destination={next:i?ii(i):So,error:ii(t??mr),complete:r?ii(r):So}}}function ii(e,n){return(...t)=>{try{e(...t)}catch(r){Vi.useDeprecatedSynchronousErrorHandling?function gr(e){Vi.useDeprecatedSynchronousErrorHandling&&yn&&(yn.errorThrown=!0,yn.error=e)}(r):Fr(r)}}}function mr(e){throw e}function Hi(e,n){const{onStoppedNotification:t}=Vi;t&&Bi.setTimeout(()=>t(e,n))}const Pl={closed:!0,next:So,error:mr,complete:So},Ll=\"function\"==typeof Symbol&&Symbol.observable||\"@@observable\";function oi(e){return e}function Bf(e){return 0===e.length?oi:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let tt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Ui(e){return e&&e instanceof ri||function Fm(e){return e&&Ne(e.next)&&Ne(e.error)&&Ne(e.complete)}(e)&&Vf(e)}(t)?t:new _n(t,r,i);return Ts(()=>{const{operator:a,source:l}=this;o.add(a?a.call(o,l):l?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Hf(r))((i,o)=>{const a=new _n({next:l=>{try{t(l)}catch(c){o(c),a.unsubscribe()}},error:o,complete:i});this.subscribe(a)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Ll](){return this}pipe(...t){return Bf(t)(this)}toPromise(t){return new(t=Hf(t))((r,i)=>{let o;this.subscribe(a=>o=a,a=>i(a),()=>r(o))})}}return e.create=n=>new e(n),e})();function Hf(e){var n;return null!==(n=e??Vi.Promise)&&void 0!==n?n:Promise}const si=w(e=>function(){e(this),this.name=\"ObjectUnsubscribedError\",this.message=\"object unsubscribed\"});let xn=(()=>{class e extends tt{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Rs(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new si}next(t){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(t)}})}error(t){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?vn:(o.push(t),new mn(()=>As(o,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new tt;return t.source=this,t}}return e.create=(n,t)=>new Rs(n,t),e})();class Rs extends xn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:vn}}function Zn(e){return Ne(e?.lift)}function gt(e){return n=>{if(Zn(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError(\"Unable to lift unknown Observable type\")}}class ut extends ri{constructor(n,t,r,i,o){super(n),this.onFinalize=o,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function Ie(e,n){return gt((t,r)=>{let i=0;t.subscribe(new ut(r,o=>{r.next(e.call(n,o,i++))}))})}function Fn(e){return this instanceof Fn?(this.v=e,this):new Fn(e)}function $i(e){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function ji(e){var n=\"function\"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}(e),t={},r(\"next\"),r(\"throw\"),r(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(a){return new Promise(function(l,c){!function i(o,a,l,c){Promise.resolve(c).then(function(f){o({value:f,done:l})},a)}(l,c,(a=e[o](a)).done,a.value)})}}}\"function\"==typeof SuppressedError&&SuppressedError;const $f=e=>e&&\"number\"==typeof e.length&&\"function\"!=typeof e;function Yl(e){return Ne(e?.then)}function Ql(e){return Ne(e[Ll])}function Gf(e){return Symbol.asyncIterator&&Ne(e?.[Symbol.asyncIterator])}function zf(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 Wf=function Hm(){return\"function\"==typeof Symbol&&Symbol.iterator?Symbol.iterator:\"@@iterator\"}();function Kl(e){return Ne(e?.[Wf])}function qf(e){return function jf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var i,r=t.apply(e,n||[]),o=[];return i={},a(\"next\"),a(\"throw\"),a(\"return\"),i[Symbol.asyncIterator]=function(){return this},i;function a(_){r[_]&&(i[_]=function(C){return new Promise(function(I,M){o.push([_,C,I,M])>1||l(_,C)})})}function l(_,C){try{!function c(_){_.value instanceof Fn?Promise.resolve(_.value.v).then(f,p):m(o[0][2],_)}(r[_](C))}catch(I){m(o[0][3],I)}}function f(_){l(\"next\",_)}function p(_){l(\"throw\",_)}function m(_,C){_(C),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield Fn(t.read());if(i)return yield Fn(void 0);yield yield Fn(r)}}finally{t.releaseLock()}})}function Zf(e){return Ne(e?.getReader)}function Yn(e){if(e instanceof tt)return e;if(null!=e){if(Ql(e))return function Xl(e){return new tt(n=>{const t=e[Ll]();if(Ne(t.subscribe))return t.subscribe(n);throw new TypeError(\"Provided object does not correctly implement Symbol.observable\")})}(e);if($f(e))return function Um(e){return new tt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Fr)})}(e);if(Gf(e))return Yf(e);if(Kl(e))return function jm(e){return new tt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Zf(e))return function $m(e){return Yf(qf(e))}(e)}throw zf(e)}function Yf(e){return new tt(n=>{(function Gm(e,n){var t,r,i,o;return function Uf(e,n,t,r){return new(t||(t=Promise))(function(o,a){function l(p){try{f(r.next(p))}catch(m){a(m)}}function c(p){try{f(r.throw(p))}catch(m){a(m)}}function f(p){p.done?o(p.value):function i(o){return o instanceof t?o:new t(function(a){a(o)})}(p.value).then(l,c)}f((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=$i(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(a){i={error:a}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Lr(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Et(e,n,t=1/0){return Ne(n)?Et((r,i)=>Ie((o,a)=>n(r,o,i,a))(Yn(e(r,i))),t):(\"number\"==typeof n&&(t=n),gt((r,i)=>function zm(e,n,t,r,i,o,a,l){const c=[];let f=0,p=0,m=!1;const _=()=>{m&&!c.length&&!f&&n.complete()},C=M=>f{o&&n.next(M),f++;let R=!1;Yn(t(M,p++)).subscribe(new ut(n,V=>{i?.(V),o?C(V):n.next(V)},()=>{R=!0},void 0,()=>{if(R)try{for(f--;c.length&&fI(V)):I(V)}_()}catch(V){n.error(V)}}))};return e.subscribe(new ut(n,C,()=>{m=!0,_()})),()=>{l?.()}}(r,i,e,t)))}function To(e=1/0){return Et(oi,e)}const Qn=new tt(e=>e.complete());function ec(e){return e[e.length-1]}function Ls(e){return function qm(e){return e&&Ne(e.schedule)}(ec(e))?e.pop():void 0}function Kf(e,n=0){return gt((t,r)=>{t.subscribe(new ut(r,i=>Lr(r,e,()=>r.next(i),n),()=>Lr(r,e,()=>r.complete(),n),i=>Lr(r,e,()=>r.error(i),n)))})}function ks(e,n=0){return gt((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function tc(e,n){if(!e)throw new Error(\"Iterable cannot be null\");return new tt(t=>{Lr(t,n,()=>{const r=e[Symbol.asyncIterator]();Lr(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function lt(e,n){return n?function Km(e,n){if(null!=e){if(Ql(e))return function Zm(e,n){return Yn(e).pipe(ks(n),Kf(n))}(e,n);if($f(e))return function Qm(e,n){return new tt(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(Yl(e))return function Ym(e,n){return Yn(e).pipe(ks(n),Kf(n))}(e,n);if(Gf(e))return tc(e,n);if(Kl(e))return function Xf(e,n){return new tt(t=>{let r;return Lr(t,n,()=>{r=e[Wf](),Lr(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(a){return void t.error(a)}o?t.complete():t.next(i)},0,!0)}),()=>Ne(r?.return)&&r.return()})}(e,n);if(Zf(e))return function Jf(e,n){return tc(qf(e),n)}(e,n)}throw zf(e)}(e,n):Yn(e)}class Pn extends xn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function X(...e){return lt(e,Ls(e))}function ui(e){return e<=0?()=>Qn:gt((n,t)=>{let r=0;n.subscribe(new ut(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function nc(e={}){const{connector:n=(()=>new xn),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let a=null,l=null,c=null,f=0,p=!1,m=!1;const _=()=>{l?.unsubscribe(),l=null},C=()=>{_(),a=c=null,p=m=!1},I=()=>{const M=a;C(),M?.unsubscribe()};return gt((M,R)=>{f++,!m&&!p&&_();const V=c=c??n();R.add(()=>{f--,0===f&&!m&&!p&&(l=Vs(I,i))}),V.subscribe(R),a||(a=new _n({next:T=>V.next(T),error:T=>{m=!0,_(),l=Vs(C,t,T),V.error(T)},complete:()=>{p=!0,_(),l=Vs(C,r),V.complete()}}),lt(M).subscribe(a))})(o)}}function Vs(e,n,...t){return!0===n?(e(),null):!1===n?null:n(...t).pipe(ui(1)).subscribe(()=>e())}function Kn(e,n){return gt((t,r)=>{let i=null,o=0,a=!1;const l=()=>a&&!i&&r.complete();t.subscribe(new ut(r,c=>{i?.unsubscribe();let f=0;const p=o++;Yn(e(c,p)).subscribe(i=new ut(r,m=>r.next(n?n(c,m,p,f++):m),()=>{i=null,l()}))},()=>{a=!0,l()}))})}function $a(e,n){return e===n}function Te(e){for(let n in e)if(e[n]===Te)return n;throw Error(\"Could not find renamed property on target object.\")}function ct(e){if(\"string\"==typeof e)return e;if(Array.isArray(e))return\"[\"+e.map(ct).join(\", \")+\"]\";if(null==e)return\"\"+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return\"\"+n;const t=n.indexOf(\"\\n\");return-1===t?n:n.substring(0,t)}function za(e,n){return null==e||\"\"===e?null===n?\"\":n:null==n||\"\"===n?e:e+\" \"+n}const rc=Te({__forward_ref__:Te});function Ve(e){return e.__forward_ref__=Ve,e.toString=function(){return ct(this())},e}function ee(e){return Bs(e)?e():e}function Bs(e){return\"function\"==typeof e&&e.hasOwnProperty(rc)&&e.__forward_ref__===Ve}function Hs(e){return e&&!!e.\\u0275providers}const ic=\"https://g.co/ng/security#xss\";class L extends Error{constructor(n,t){super(function Wa(e,n){return`NG0${Math.abs(e)}${n?\": \"+n:\"\"}`}(n,t)),this.code=n}}function oe(e){return\"string\"==typeof e?e:null==e?\"\":String(e)}function oc(e,n){throw new L(-201,!1)}function ye(e,n){null==e&&function te(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?\"\":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,\"!=\")}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function qa(e){return sc(e,Ro)||sc(e,ac)}function sc(e,n){return e.hasOwnProperty(n)?e[n]:null}function $s(e){return e&&(e.hasOwnProperty(en)||e.hasOwnProperty(rh))?e[en]:null}const Ro=Te({\\u0275prov:Te}),en=Te({\\u0275inj:Te}),ac=Te({ngInjectableDef:Te}),rh=Te({ngInjectorDef:Te});var ge=function(e){return e[e.Default=0]=\"Default\",e[e.Host=1]=\"Host\",e[e.Self=2]=\"Self\",e[e.SkipSelf=4]=\"SkipSelf\",e[e.Optional=8]=\"Optional\",e}(ge||{});let Za;function jt(e){const n=Za;return Za=e,n}function tn(e,n,t){const r=qa(e);return r&&\"root\"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&ge.Optional?null:void 0!==n?n:void oc(ct(e))}const _e=globalThis,xo={},Oo=\"__NG_DI_FLAG__\",kr=\"ngTempTokenPath\",oh=/\\n/gm,Qa=\"__source\";let ci;function di(e){const n=ci;return ci=e,n}function lc(e,n=ge.Default){if(void 0===ci)throw new L(-203,!1);return null===ci?tn(e,void 0,n):ci.get(e,n&ge.Optional?null:void 0,n)}function z(e,n=ge.Default){return(function uc(){return Za}()||lc)(ee(e),n)}function U(e,n=ge.Default){return z(e,Nt(n))}function Nt(e){return typeof e>\"u\"||\"number\"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zs(e){const n=[];for(let t=0;tn){a=o-1;break}}}for(;oo?\"\":i[m+1].toLowerCase();const C=8&r?_:null;if(C&&-1!==fh(C,f,0)||2&r&&f!==_){if(b(r))return!1;a=!0}}}}else{if(!a&&!b(r)&&!b(c))return!1;if(a&&b(c))continue;a=!1,r=c|1&r}}return b(r)||a}function b(e){return 0==(1&e)}function N(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'=\"'+l+'\"':\"\")+\"]\"}else 8&r?i+=\".\"+a:4&r&&(i+=\" \"+a);else\"\"!==i&&!b(a)&&(n+=Pe(o,i),i=\"\"),r=a,o=o||!b(r);t++}return\"\"!==i&&(n+=Pe(o,i)),n}function Bn(e){return Br(()=>{const n=qs(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ka.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Xn.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:\"\"};pc(t);const r=e.dependencies;return t.directiveDefs=Wi(r,!1),t.pipeDefs=Wi(r,!0),t.id=function yh(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join(\"|\");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,\"c\"+n}(t),t})}function Po(e){return be(e)||St(e)}function eu(e){return null!==e}function Cn(e){return Br(()=>({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}))}function mh(e,n){if(null==e)return _r;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function ne(e){return Br(()=>{const n=qs(e);return pc(n),n})}function be(e){return e[Xa]||null}function St(e){return e[cc]||null}function $t(e){return e[Ws]||null}function dt(e,n){const t=e[dc]||null;if(!t&&!0===n)throw new Error(`Type ${ct(e)} does not have '\\u0275mod' property.`);return t}function qs(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||_r,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mh(e.inputs,n),outputs:mh(e.outputs)}}function pc(e){e.features?.forEach(n=>n(e))}function Wi(e,n){if(!e)return null;const t=n?$t:Po;return()=>(\"function\"==typeof e?e():e).map(r=>t(r)).filter(eu)}const Ue=0,B=1,ie=2,Re=3,nn=4,Zs=5,Ot=6,Lo=7,We=8,Jn=9,hi=10,se=11,ko=12,_h=13,Vo=14,pe=15,ft=16,Bo=17,Dr=18,Ho=19,Dh=20,Cr=21,wn=22,qi=23,wr=24,ce=25,Uo=1,Zi=2,Er=7,jo=9,Mt=11;function Dt(e){return Array.isArray(e)&&\"object\"==typeof e[Uo]}function Ft(e){return Array.isArray(e)&&!0===e[Uo]}function v(e){return 0!=(4&e.flags)}function Hn(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function nt(e){return!!e.template}function me(e){return 0!=(512&e[ie])}function Ki(e,n){return e.hasOwnProperty(xt)?e[xt]:null}let At=null,ru=!1;function Un(e){const n=At;return At=e,n}const Eh={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function vc(e){if(!Ji(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ih(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function iu(e){e.dirty=!0,function bh(e){if(void 0===e.liveConsumerNode)return;const n=ru;ru=!0;try{for(const t of e.liveConsumerNode)t.dirty||iu(t)}finally{ru=n}}(e),e.consumerMarkedDirty?.(e)}function Xi(e){return e&&(e.nextProducerIndex=0),Un(e)}function Go(e,n){if(Un(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ji(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ih(e){$n(e);for(let n=0;n0}function $n(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Mh=null;const Nh=()=>{},_v=(()=>({...Eh,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Nh}))();class Cc{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Gn(){return Wo}function Wo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dv),xh}function xh(){const e=qo(this),n=e?.current;if(n){const t=e.previous;if(t===_r)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Dv(e,n,t,r){const i=this.declaredInputs[t],o=qo(e)||function Cv(e,n){return e[Oh]=n}(e,{previous:_r,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[i];a[i]=new Cc(c&&c.currentValue,n,l===_r),e[r]=n}Gn.ngInherit=!0;const Oh=\"__ngSimpleChanges__\";function qo(e){return e[Oh]||null}const tr=function(e,n,t){};function He(e){for(;Array.isArray(e);)e=e[Ue];return e}function rn(e,n){return He(n[e.index])}function Ic(e,n){return e.data[n]}function on(e,n){const t=n[e];return Dt(t)?t:t[Ue]}function Ur(e,n){return null==n?null:e[n]}function kh(e){e[Bo]=0}function Vh(e){1024&e[ie]||(e[ie]|=1024,cu(e,1))}function Bh(e){1024&e[ie]&&(e[ie]&=-1025,cu(e,-1))}function cu(e,n){let t=e[Re];if(null===t)return;t[Zs]+=n;let r=t;for(t=t[Re];null!==t&&(1===n&&1===r[Zs]||-1===n&&0===r[Zs]);)t[Zs]+=n,r=t,t=t[Re]}const re={lFrame:Js(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ac(){return re.bindingsEnabled}function F(){return re.lFrame.lView}function we(){return re.lFrame.tView}function vt(){let e=Rc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rc(){return re.lFrame.currentTNode}function nr(e,n){const t=re.lFrame;t.currentTNode=e,t.isParent=n}function Xs(){return re.lFrame.isParent}function no(){return re.lFrame.bindingIndex++}function Av(e,n){const t=re.lFrame;t.bindingIndex=t.bindingRootIndex=e,pu(n)}function pu(e){re.lFrame.currentDirectiveIndex=e}function Fc(){return re.lFrame.currentQueryIndex}function gu(e){re.lFrame.currentQueryIndex=e}function an(e){const n=e[B];return 2===n.type?n.declTNode:1===n.type?e[Ot]:null}function ir(e,n,t){if(t&ge.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&ge.Host||(i=an(o),null===i||(o=o[Vo],10&i.type))););if(null===i)return!1;n=i,e=o}const r=re.lFrame=$h();return r.currentTNode=n,r.lView=e,!0}function Pc(e){const n=$h(),t=e[B];re.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function $h(){const e=re.lFrame,n=null===e?null:e.child;return null===n?Js(e):n}function Js(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function ro(){const e=re.lFrame;return re.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lc=ro;function mu(){const e=ro();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 ht(){return re.lFrame.selectedIndex}function or(e){re.lFrame.selectedIndex=e}function Xe(){const e=re.lFrame;return Ic(e.tView,e.selectedIndex)}let yu=!0;function io(){return yu}function _i(e){yu=e}function oo(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[Bo]+=65536),(l>13>16&&(3&e[ie])===n&&(e[ie]+=8192,Ir(l,o)):Ir(l,o)}const so=-1;class na{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Ci(e){return e!==so}function Z(e){return 32767&e}function ao(e,n){let t=function _u(e){return e>>16}(e),r=n;for(;t>0;)r=r[Vo],t--;return r}let Gr=!0;function Du(e){const n=Gr;return Gr=e,n}const Gc=255,Tt=5;let Rv=0;const Sr={};function Cu(e,n){const t=Jh(e,n);if(-1!==t)return t;const r=n[B];r.firstCreatePass&&(e.injectorIndex=n.length,wu(r.data,e),wu(n,null),wu(r.blueprint,null));const i=Eu(e,n),o=e.injectorIndex;if(Ci(i)){const a=Z(i),l=ao(i,n),c=l[B].data;for(let f=0;f<8;f++)n[o+f]=l[a+f]|c[a+f]}return n[o+8]=i,o}function wu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Jh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Eu(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=Yc(i),null===r)return so;if(t++,i=i[Vo],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return so}function zc(e,n,t){!function Xh(e,n,t){let r;\"string\"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(fi)&&(r=t[fi]),null==r&&(r=t[fi]=Rv++);const i=r&Gc;n.data[e+(i>>Tt)]|=1<=0?n&Gc:rp:n}(t);if(\"function\"==typeof o){if(!ir(n,e,r))return r&ge.Host?Vt(i,0,r):bu(n,t,r,i);try{let a;if(a=o(r),null!=a||r&ge.Optional)return a;oc()}finally{Lc()}}else if(\"number\"==typeof o){let a=null,l=Jh(e,n),c=so,f=r&ge.Host?n[pe][Ot]:null;for((-1===l||r&ge.SkipSelf)&&(c=-1===l?Eu(e,n):n[l+8],c!==so&&np(r,!1)?(a=n[B],l=Z(c),n=ao(c,n)):l=-1);-1!==l;){const p=n[B];if(Wc(o,l,p.data)){const m=Nv(l,n,t,a,r,f);if(m!==Sr)return m}c=n[l+8],c!==so&&np(r,n[B].data[l+8]===f)&&Wc(o,l,n)?(a=p,l=Z(c),n=ao(c,n)):l=-1}}return i}function Nv(e,n,t,r,i,o){const a=n[B],l=a.data[e+8],p=Su(l,a,t,null==r?Hn(l)&&Gr:r!=a&&0!=(3&l.type),i&ge.Host&&o===l);return null!==p?sr(n,a,p,l):Sr}function Su(e,n,t,r,i){const o=e.providerIndexes,a=n.data,l=1048575&o,c=e.directiveStart,p=o>>20,_=i?l+p:e.directiveEnd;for(let C=r?l:l+p;C<_;C++){const I=a[C];if(C=c&&I.type===t)return C}if(i){const C=a[c];if(C&&nt(C)&&C.type===t)return c}return null}function sr(e,n,t,r){let i=e[t];const o=n.data;if(function Yh(e){return e instanceof na}(i)){const a=i;a.resolving&&function th(e,n){const t=n?`. Dependency path: ${n.join(\" > \")} > ${e}`:\"\";throw new L(-200,`Circular dependency in DI detected for ${e}${t}`)}(function Se(e){return\"function\"==typeof e?e.name||e.toString():\"object\"==typeof e&&null!=e&&\"function\"==typeof e.type?e.type.name||e.type.toString():oe(e)}(o[t]));const l=Du(a.canSeeViewProviders);a.resolving=!0;const f=a.injectImpl?jt(a.injectImpl):null;ir(e,r,ge.Default);try{i=e[t]=a.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function qh(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const a=Wo(n);(t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==f&&jt(f),Du(l),a.resolving=!1,Lc()}}return i}function Wc(e,n,t){return!!(t[n+(e>>Tt)]&1<{const n=qc(ee(e));return n&&n()}:Ki(e)}function Yc(e){const n=e[B],t=n.type;return 2===t?n.declTNode:1===t?e[Ot]:null}const uo=\"__parameters__\";function Wt(e,n,t){return Br(()=>{const r=function Mu(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const a=new i(...o);return l.annotation=a,l;function l(c,f,p){const m=c.hasOwnProperty(uo)?c[uo]:Object.defineProperty(c,uo,{value:[]})[uo];for(;m.length<=p;)m.push(null);return(m[p]=m[p]||[]).push(a),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function co(e,n){e.forEach(t=>Array.isArray(t)?co(t,n):n(t))}function op(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Au(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}const Tu=Vr(Wt(\"Optional\"),8),Ru=Vr(Wt(\"SkipSelf\"),4);function Pu(e){return 128==(128&e.flags)}var Wr=function(e){return e[e.Important=1]=\"Important\",e[e.DashCase=2]=\"DashCase\",e}(Wr||{});const rs=new Map;let sy=0;const rd=\"__ngContext__\";function Bt(e,n){Dt(n)?(e[rd]=n[Ho],function uy(e){rs.set(e[Ho],e)}(n)):e[rd]=n}let ad;function is(e,n){return ad(e,n)}function ca(e){const n=e[Re];return Ft(n)?n[Re]:n}function ld(e){return Ap(e[ko])}function Mp(e){return Ap(e[nn])}function Ap(e){for(;null!==e&&!Ft(e);)e=e[nn];return e}function os(e,n,t,r,i){if(null!=r){let o,a=!1;Ft(r)?o=r:Dt(r)&&(a=!0,r=r[Ue]);const l=He(r);0===e&&null!==t?null==i?xp(n,t,l):cn(n,t,l,i||null,!0):1===e&&null!==t?cn(n,t,l,i||null,!0):2===e?function ju(e,n,t){const r=Uu(e,n);r&&function Dy(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,l,a):3===e&&n.destroyNode(l),null!=o&&function gd(e,n,t,r,i){const o=t[Er];o!==He(t)&&os(n,e,r,o,i);for(let l=Mt;l0&&(e[t-1][nn]=r[nn]);const o=Au(e,Mt+n);!function py(e,n){da(e,n,n[se],2,null,null),n[Ue]=null,n[Ot]=null}(r[B],r);const a=o[Dr];null!==a&&a.detachView(o[B]),r[Re]=null,r[nn]=null,r[ie]&=-129}return r}function qr(e,n){if(!(256&n[ie])){const t=n[se];n[qi]&&_c(n[qi]),n[wr]&&_c(n[wr]),t.destroyNode&&da(e,n,t,3,null,null),function vy(e){let n=e[ko];if(!n)return ae(e[B],e);for(;n;){let t=null;if(Dt(n))t=n[ko];else{const r=n[Mt];r&&(t=r)}if(!t){for(;n&&!n[nn]&&n!==e;)Dt(n)&&ae(n[B],n),n=n[Re];null===n&&(n=e),Dt(n)&&ae(n[B],n),t=n&&n[nn]}n=t}}(n)}}function ae(e,n){if(!(256&n[ie])){n[ie]&=-129,n[ie]|=256,function ln(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[a]():r[-a].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Lo]=null);const i=n[Cr];if(null!==i){n[Cr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Xn.None||o===Xn.Emulated)return null}return rn(r,t)}}(e,n.parent,t)}function cn(e,n,t,r,i){e.insertBefore(n,t,r,i)}function xp(e,n,t){e.appendChild(n,t)}function Op(e,n,t,r,i){null!==r?cn(e,n,t,r,i):xp(e,n,t)}function Uu(e,n){return e.parentNode(n)}let ss,Zr,lr,qt,fd=function Mr(e,n,t){return 40&e.type?rn(e,t):null};function je(e,n,t,r){const i=Je(e,r,n),o=n[se],l=function Fp(e,n,t){return fd(e,n,t)}(r.parent||n[Ot],r,n);if(null!=i)if(Array.isArray(t))for(let c=0;ce,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zr}()?.createHTML(e)||e}function fo(){if(void 0!==lr)return lr;if(typeof document<\"u\")return document;throw new L(210,!1)}function Hp(e){return function $u(){if(void 0===qt&&(qt=null,_e.trustedTypes))try{qt=_e.trustedTypes.createPolicy(\"angular#unsafe-bypass\",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qt}()?.createHTML(e)||e}class vd{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ic})`}}function Ii(e){return e instanceof vd?e.changingThisBreaksApplicationSecurity:e}function ha(e,n){const t=function Ay(e){return e instanceof vd&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if(\"ResourceURL\"===t&&\"URL\"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ic})`)}return t===n}class yd{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=\"\"+n;try{const t=(new window.DOMParser).parseFromString(ls(n),\"text/html\").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class Ty{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(\"sanitization-inert\")}getInertBodyElement(n){const t=this.inertDocument.createElement(\"template\");return t.innerHTML=ls(n),t}}const Ry=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\\/?#]*(?:[\\/?#]|$))/i;function Dd(e){return(e=String(e)).match(Ry)?e:\"unsafe:\"+e}function Yr(e){const n={};for(const t of e.split(\",\"))n[t]=!0;return n}function rt(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const Zt=Yr(\"area,br,col,hr,img,wbr\"),$p=Yr(\"colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr\"),Gp=Yr(\"rp,rt\"),Cd=rt(Zt,rt($p,Yr(\"address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul\")),rt(Gp,Yr(\"a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video\")),rt(Gp,$p)),wd=Yr(\"background,cite,href,itemtype,longdesc,poster,src,xlink:href\"),zp=rt(wd,Yr(\"abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width\"),Yr(\"aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext\")),Oy=Yr(\"script,style,template\");class Wp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join(\"\")}startElement(n){const t=n.nodeName.toLowerCase();if(!Cd.hasOwnProperty(t))return this.sanitizedSomething=!0,!Oy.hasOwnProperty(t);this.buf.push(\"<\"),this.buf.push(t);const r=n.attributes;for(let i=0;i\"),!0}endElement(n){const t=n.nodeName.toLowerCase();Cd.hasOwnProperty(t)&&!Zt.hasOwnProperty(t)&&(this.buf.push(\"\"))}chars(n){this.buf.push(Zp(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const qp=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,Fy=/([^\\#-~ |!])/g;function Zp(e){return e.replace(/&/g,\"&\").replace(qp,function(n){return\"&#\"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+\";\"}).replace(Fy,function(n){return\"&#\"+n.charCodeAt(0)+\";\"}).replace(//g,\">\")}let zu;function Si(e){return\"content\"in e&&function Ly(e){return e.nodeType===Node.ELEMENT_NODE&&\"TEMPLATE\"===e.nodeName}(e)?e.content:null}var cs=function(e){return e[e.NONE=0]=\"NONE\",e[e.HTML=1]=\"HTML\",e[e.STYLE=2]=\"STYLE\",e[e.SCRIPT=3]=\"SCRIPT\",e[e.URL=4]=\"URL\",e[e.RESOURCE_URL=5]=\"RESOURCE_URL\",e}(cs||{});function Ed(e){const n=pa();return n?Hp(n.sanitize(cs.HTML,e)||\"\"):ha(e,\"HTML\")?Hp(Ii(e)):function Py(e,n){let t=null;try{zu=zu||function jp(e){const n=new Ty(e);return function _d(){try{return!!(new window.DOMParser).parseFromString(ls(\"\"),\"text/html\")}catch{return!1}}()?new yd(n):n}(e);let r=n?String(n):\"\";t=zu.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error(\"Failed to sanitize html because the input is unstable\");i--,r=o,o=t.innerHTML,t=zu.getInertBodyElement(r)}while(r!==o);return ls((new Wp).sanitizeChildren(Si(t)||t))}finally{if(t){const r=Si(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(fo(),oe(e))}function bd(e){const n=pa();return n?n.sanitize(cs.URL,e)||\"\":ha(e,\"URL\")?Ii(e):Dd(oe(e))}function pa(){const e=F();return e&&e[hi].sanitizer}class ${constructor(n,t){this._desc=n,this.ngMetadataName=\"InjectionToken\",this.\\u0275prov=void 0,\"number\"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\\u0275prov=q({token:this,providedIn:t.providedIn||\"root\",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ga=new $(\"ENVIRONMENT_INITIALIZER\"),Kp=new $(\"INJECTOR\",-1),Xp=new $(\"INJECTOR_DEF_TYPES\");class Sd{get(n,t=xo){if(t===xo){const r=new Error(`NullInjectorError: No provider for ${ct(n)}!`);throw r.name=\"NullInjectorError\",r}return t}}function Uy(...e){return{\\u0275providers:Jp(0,e),\\u0275fromNgModule:!0}}function Jp(e,...n){const t=[],r=new Set;let i;const o=a=>{t.push(a)};return co(n,a=>{const l=a;Wu(l,o,[],r)&&(i||=[],i.push(l))}),void 0!==i&&eg(i,o),t}function eg(e,n){for(let t=0;t{n(o,r)})}}function Wu(e,n,t,r){if(!(e=ee(e)))return!1;let i=null,o=$s(e);const a=!o&&be(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const c=e.ngModule;if(o=$s(c),!o)return!1;i=c}const l=r.has(i);if(a){if(l)return!1;if(r.add(i),a.dependencies){const c=\"function\"==typeof a.dependencies?a.dependencies():a.dependencies;for(const f of c)Wu(f,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!l){let f;r.add(i);try{co(o.imports,p=>{Wu(p,n,t,r)&&(f||=[],f.push(p))})}finally{}void 0!==f&&eg(f,n)}if(!l){const f=Ki(i)||(()=>new i);n({provide:i,useFactory:f,deps:De},i),n({provide:Xp,useValue:i,multi:!0},i),n({provide:ga,useValue:()=>z(i),multi:!0},i)}const c=o.providers;if(null!=c&&!l){const f=e;Ad(c,p=>{n(p,f)})}}}return i!==e&&void 0!==e.providers}function Ad(e,n){for(let t of e)Hs(t)&&(t=t.\\u0275providers),Array.isArray(t)?Ad(t,n):n(t)}const jy=Te({provide:String,useValue:Te});function Td(e){return null!==e&&\"object\"==typeof e&&jy in e}function ho(e){return\"function\"==typeof e}const ma=new $(\"Set Injector scope.\"),va={},rg={};let Rd;function qu(){return void 0===Rd&&(Rd=new Sd),Rd}class Sn{}class ds extends Sn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xd(n,a=>this.processProvider(a)),this.records.set(Kp,Mi(void 0,this)),i.has(\"environment\")&&this.records.set(Sn,Mi(void 0,this));const o=this.records.get(ma);null!=o&&\"string\"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Xp.multi,De,ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=di(this),r=jt(void 0);try{return n()}finally{di(t),jt(r)}}get(n,t=xo,r=ge.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(dh))return n[dh](this);r=Nt(r);const o=di(this),a=jt(void 0);try{if(!(r&ge.SkipSelf)){let c=this.records.get(n);if(void 0===c){const f=function Zy(e){return\"function\"==typeof e||\"object\"==typeof e&&e instanceof $}(n)&&qa(n);c=f&&this.injectableDefInScope(f)?Mi(Nd(n),va):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&ge.Self?qu():this.parent).get(n,t=r&ge.Optional&&t===xo?null:t)}catch(l){if(\"NullInjectorError\"===l.name){if((l[kr]=l[kr]||[]).unshift(ct(n)),o)throw l;return function ch(e,n,t,r){const i=e[kr];throw n[Qa]&&i.unshift(n[Qa]),e.message=function av(e,n,t,r=null){e=e&&\"\\n\"===e.charAt(0)&&\"\\u0275\"==e.charAt(1)?e.slice(2):e;let i=ct(n);if(Array.isArray(n))i=n.map(ct).join(\" -> \");else if(\"object\"==typeof n){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];o.push(a+\":\"+(\"string\"==typeof l?JSON.stringify(l):ct(l)))}i=`{${o.join(\", \")}}`}return`${t}${r?\"(\"+r+\")\":\"\"}[${i}]: ${e.replace(oh,\"\\n \")}`}(\"\\n\"+e.message,i,t,r),e.ngTokenPath=i,e[kr]=null,e}(l,n,\"R3InjectorError\",this.source)}throw l}finally{jt(a),di(o)}}resolveInjectorInitializers(){const n=di(this),t=jt(void 0);try{const i=this.get(ga.multi,De,ge.Self);for(const o of i)o()}finally{di(n),jt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ct(r));return`R3Injector[${n.join(\", \")}]`}assertNotDestroyed(){if(this._destroyed)throw new L(205,!1)}processProvider(n){let t=ho(n=ee(n))?n:ee(n&&n.provide);const r=function zy(e){return Td(e)?Mi(void 0,e.useValue):Mi(function Yt(e,n,t){let r;if(ho(e)){const i=ee(e);return Ki(i)||Nd(i)}if(Td(e))r=()=>ee(e.useValue);else if(function ng(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zs(e.deps||[]));else if(function tg(e){return!(!e||!e.useExisting)}(e))r=()=>z(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function Wy(e){return!!e.deps}(e))return Ki(i)||Nd(i);r=()=>new i(...zs(e.deps))}return r}(e),va)}(n);if(ho(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Mi(void 0,va,!0),i.factory=()=>zs(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===va&&(t.value=rg,t.value=t.factory()),\"object\"==typeof t.value&&t.value&&function qy(e){return null!==e&&\"object\"==typeof e&&\"function\"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ee(n.providedIn);return\"string\"==typeof t?\"any\"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Nd(e){const n=qa(e),t=null!==n?n.factory:Ki(e);if(null!==t)return t;if(e instanceof $)throw new L(204,!1);if(e instanceof Function)return function Gy(e){const n=e.length;if(n>0)throw function sa(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new L(204,!1)}function Mi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function xd(e,n){for(const t of e)Array.isArray(t)?xd(t,n):t&&Hs(t)?xd(t.\\u0275providers,n):n(t)}const fs=new $(\"AppId\",{providedIn:\"root\",factory:()=>Yy}),Yy=\"ng\",Zu=new $(\"Platform Initializer\"),po=new $(\"Platform ID\",{providedIn:\"platform\",factory:()=>\"unknown\"}),ig=new $(\"CSP nonce\",{providedIn:\"root\",factory:()=>fo().body?.querySelector(\"[ngCspNonce]\")?.getAttribute(\"ngCspNonce\")||null});let sg=(e,n,t)=>null;function Hd(e,n,t=!1){return sg(e,n,t)}class S{}class x{}class W{resolveComponentFactory(n){throw function O(e){const n=Error(`No component factory found for ${ct(e)}.`);return n.ngComponent=e,n}(n)}}let Q=(()=>{class e{static#e=this.NULL=new W}return e})();function fe(){return Y(vt(),F())}function Y(e,n){return new J(rn(e,n))}let J=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=fe}return e})();function Ee(e){return e instanceof J?e.nativeElement:e}class fn{}let et=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Mn(){const e=F(),t=on(vt().index,e);return(Dt(t)?t:e)[se]}()}return e})(),st=(()=>{class e{static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:()=>null})}return e})();class Qt{constructor(n){this.full=n,this.major=n.split(\".\")[0],this.minor=n.split(\".\")[1],this.patch=n.split(\".\").slice(2).join(\".\")}}const Qr=new Qt(\"16.2.9\"),Xu={};function cE(e,n=null,t=null,r){const i=dE(e,n,t,r);return i.resolveInjectorInitializers(),i}function dE(e,n=null,t=null,r,i=new Set){const o=[t||De,Uy(e)];return r=r||(\"object\"==typeof e?void 0:ct(e)),new ds(o,n||qu(),r||null,i)}let cr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=xo;static#t=this.NULL=new Sd;static create(t,r){if(Array.isArray(t))return cE({name:\"\"},r,t,\"\");{const i=t.name??\"\";return cE({name:i},t.parent,t.providers,i)}}static#n=this.\\u0275prov=q({token:e,providedIn:\"any\",factory:()=>z(Kp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function n_(e){return e.ngOriginalError}class go{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error(\"ERROR\",n),t&&this._console.error(\"ORIGINAL ERROR\",t)}_findOriginalError(n){let t=n&&n_(n);for(;t&&n_(t);)t=n_(t);return t||null}}function i_(e){return n=>{setTimeout(e,void 0,n)}}const at=class eR extends xn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),a=r;if(n&&\"object\"==typeof n){const c=n;i=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=i_(o),i&&(i=i_(i)),a&&(a=i_(a)));const l=super.subscribe({next:i,error:o,complete:a});return n instanceof mn&&n.add(l),l}};function hE(...e){}class Ze{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new at(!1),this.onMicrotaskEmpty=new at(!1),this.onStable=new at(!1),this.onError=new at(!1),typeof Zone>\"u\")throw new L(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function tR(){const e=\"function\"==typeof _e.requestAnimationFrame;let n=_e[e?\"requestAnimationFrame\":\"setTimeout\"],t=_e[e?\"cancelAnimationFrame\":\"clearTimeout\"];if(typeof Zone<\"u\"&&n&&t){const r=n[Zone.__symbol__(\"OriginalDelegate\")];r&&(n=r);const i=t[Zone.__symbol__(\"OriginalDelegate\")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function iR(e){const n=()=>{!function rR(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask(\"fakeTopEventTask\",()=>{e.lastRequestAnimationFrameId=-1,s_(e),e.isCheckStableRunning=!0,o_(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),s_(e))}(e)};e._inner=e._inner.fork({name:\"angular\",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,a,l)=>{if(function sR(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(l))return t.invokeTask(i,o,a,l);try{return pE(e),t.invokeTask(i,o,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&\"eventTask\"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),gE(e)}},onInvoke:(t,r,i,o,a,l,c)=>{try{return pE(e),t.invoke(i,o,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),gE(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&(\"microTask\"==o.change?(e._hasPendingMicrotasks=o.microTask,s_(e),o_(e)):\"macroTask\"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<\"u\"&&!0===Zone.current.get(\"isAngularZone\")}static assertInAngularZone(){if(!Ze.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(Ze.isInAngularZone())throw new L(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,a=o.scheduleEventTask(\"NgZoneEvent: \"+i,n,nR,hE,hE);try{return o.runTask(a,t,r)}finally{o.cancelTask(a)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const nR={};function o_(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 s_(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function pE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gE(e){e._nesting--,o_(e)}class oR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new at,this.onMicrotaskEmpty=new at,this.onStable=new at,this.onError=new at}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const mE=new $(\"\",{providedIn:\"root\",factory:vE});function vE(){const e=U(Ze);let n=!0;return function Xm(...e){const n=Ls(e),t=function ja(e,n){return\"number\"==typeof ec(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Yn(r[0]):To(t)(lt(r,n)):Qn}(new tt(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new tt(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ze.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Ze.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}}).pipe(nc()))}function yE(e){return e.ownerDocument.defaultView}function _E(e){return e.ownerDocument}function mo(e){return e instanceof Function?e():e}let a_=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:()=>new e})}return e})();function Ud(e){for(;e;){e[ie]|=64;const n=ca(e);if(me(e)&&!n)return e;e=n}return null}const bE=new $(\"\",{providedIn:\"root\",factory:()=>!1});let lg=null;function AE(e,n){return e[n]??NE()}function TE(e,n){const t=NE();t.producerNode?.length&&(e[n]=lg,t.lView=e,lg=RE())}const pR={...Eh,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ud(e.lView)},lView:null};function RE(){return Object.create(pR)}function NE(){return lg??=RE(),lg}const le={};function it(e){xE(we(),F(),ht()+e,!1)}function xE(e,n,t,r){if(!r)if(3==(3&n[ie])){const o=e.preOrderCheckHooks;null!==o&&ta(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Qo(n,o,0,t)}or(t)}function k(e,n=ge.Default){const t=F();return null===t?z(e,n):ep(vt(),t,ee(e),n)}function cg(e,n,t,r,i,o,a,l,c,f,p){const m=n.blueprint.slice();return m[Ue]=i,m[ie]=140|r,(null!==f||e&&2048&e[ie])&&(m[ie]|=2048),kh(m),m[Re]=m[Vo]=e,m[We]=t,m[hi]=a||e&&e[hi],m[se]=l||e&&e[se],m[Jn]=c||e&&e[Jn]||null,m[Ot]=o,m[Ho]=function ay(){return sy++}(),m[wn]=p,m[Dh]=f,m[pe]=2==n.type?e[pe]:m,m}function tl(e,n,t,r,i){let o=e.data[n];if(null===o)o=function u_(e,n,t,r,i){const o=Rc(),a=Xs(),c=e.data[n]=function wR(e,n,t,r,i,o){let a=n?n.injectorIndex:-1,l=0;return function Yo(){return null!==re.skipHydrationRootTNode}()&&(l|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(a?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,n,t,r,i),function Mv(){return re.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const a=function yi(){const e=re.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return nr(o,!0),o}function jd(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;oce&&xE(e,n,ce,!1),tr(l?2:0,i);const f=l?o:null,p=Xi(f);try{null!==f&&(f.dirty=!1),t(r,i)}finally{Go(f,p)}}finally{l&&null===n[qi]&&TE(n,qi),or(a),tr(l?3:1,i)}}function l_(e,n,t){if(v(n)){const r=Un(null);try{const o=n.directiveEnd;for(let a=n.directiveStart;anull;function kE(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?VE(t,n,i,o):r.hasOwnProperty(i)&&VE(t,n,r[i],o)}return t}function VE(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function dr(e,n,t,r,i,o,a,l){const c=rn(n,t);let p,f=n.inputs;!l&&null!=f&&(p=f[r])?(v_(e,t,p,r,i),Hn(n)&&function IR(e,n){const t=on(n,e);16&t[ie]||(t[ie]|=64)}(t,n.index)):3&n.type&&(r=function bR(e){return\"class\"===e?\"className\":\"for\"===e?\"htmlFor\":\"formaction\"===e?\"formAction\":\"innerHtml\"===e?\"innerHTML\":\"readonly\"===e?\"readOnly\":\"tabindex\"===e?\"tabIndex\":e}(r),i=null!=a?a(i,n.value||\"\",r):i,o.setProperty(c,r,i))}function h_(e,n,t,r){if(Ac()){const i=null===r?null:{\"\":-1},o=function NR(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if(\"number\"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(t,r,o)}}(e,n,r,jd(e,t,i.hostVars,le),i)}function Ai(e,n,t,r,i,o){const a=rn(e,n);!function g_(e,n,t,r,i,o,a){if(null==o)e.removeAttribute(n,i,t);else{const l=null==a?oe(o):a(o,r||\"\",i);e.setAttribute(n,i,l,t)}}(n[se],a,o,e.value,t,r,i)}function kR(e,n,t,r,i,o){const a=o[n];if(null!==a)for(let l=0;l{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>\"u\"?null:Zone.current,a=function Dc(e,n,t){const r=Object.create(_v);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>iu(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ih(r))return;r.hasRun=!0;const a=Xi(r);try{r.cleanupFn(),r.cleanupFn=Nh,r.fn(i)}finally{Go(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(t,f=>{this.all.has(f)&&this.queue.set(f,o)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=r?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:()=>new e})}return e})();function fg(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let a=0;a0){KE(e,1);const i=t.components;null!==i&&JE(e,i,1)}}function JE(e,n,t){for(let r=0;r-1&&(Hu(n,r),Au(t,r))}this._attachedToViewContainer=!1}qr(this._lView[B],this._lView)}onDestroy(n){!function Sc(e,n){if(256==(256&e[ie]))throw new L(911,!1);null===e[Cr]&&(e[Cr]=[]),e[Cr].push(n)}(this._lView,n)}markForCheck(){Ud(this._cdRefInjectingView||this._lView)}detach(){this._lView[ie]&=-129}reattach(){this._lView[ie]|=128}detectChanges(){hg(this._lView[B],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function my(e,n){da(e,n,n[se],2,null,null)}(this._lView[B],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=n}}class WR extends Gd{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;hg(n[B],n,n[We],!1)}checkNoChanges(){}get context(){return null}}class e0 extends Q{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=be(n);return new zd(t,this.ngModule)}}function t0(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class ZR{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Nt(r);const i=this.injector.get(n,Xu,r);return i!==Xu||t===Xu?i:this.parentInjector.get(n,t,r)}}class zd extends x{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=t0(n.inputs);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return t0(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function cv(e){return e.map(hc).join(\",\")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof Sn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new ZR(n,o):n,l=a.get(fn,null);if(null===l)throw new L(407,!1);const m={rendererFactory:l,sanitizer:a.get(st,null),effectManager:a.get(ZE,null),afterRenderEventManager:a.get(a_,null)},_=l.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||\"div\",I=r?function vR(e,n,t,r){const o=r.get(bE,!1)||t===Xn.ShadowDom,a=e.selectRootElement(n,o);return function yR(e){LE(e)}(a),a}(_,r,this.componentDef.encapsulation,a):Bu(_,C,function qR(e){const n=e.toLowerCase();return\"svg\"===n?\"svg\":\"math\"===n?\"math\":null}(C)),V=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let T=null;null!==I&&(T=Hd(I,a,!0));const j=f_(0,null,null,1,0,null,null,null,null,null,null),K=cg(null,j,null,V,null,null,m,_,a,null,T);let Ce,Ut;Pc(K);try{const ki=this.componentDef;let La,zC=null;ki.findHostDirectiveDefs?(La=[],zC=new Map,ki.findHostDirectiveDefs(ki,La,zC),La.push(ki)):La=[ki];const rU=function QR(e,n){const t=e[B],r=ce;return e[r]=n,tl(t,r,2,\"#host\",null)}(K,I),iU=function KR(e,n,t,r,i,o,a){const l=i[B];!function XR(e,n,t,r){for(const i of e)n.mergedAttrs=Fo(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(fg(n,n.mergedAttrs,!0),null!==t&&dn(r,t,n))}(r,e,n,a);let c=null;null!==n&&(c=Hd(n,i[Jn]));const f=o.rendererFactory.createRenderer(n,t);let p=16;t.signals?p=4096:t.onPush&&(p=64);const m=cg(i,PE(t),null,p,i[e.index],e,o,f,null,null,c);return l.firstCreatePass&&p_(l,e,r.length-1),dg(i,m),i[e.index]=m}(rU,I,ki,La,K,m,_);Ut=Ic(j,ce),I&&function eN(e,n,t,r){if(r)fc(e,t,[\"ng-version\",Qr.full]);else{const{attrs:i,classes:o}=function Vn(e){const n=[],t=[];let r=1,i=2;for(;r0&&fa(e,t,o.join(\" \"))}}(_,ki,I,r),void 0!==t&&function tN(e,n,t){const r=e.projection=[];for(let i=0;i(_i(!0),Bu(r,i,function ea(){return re.lFrame.currentNamespace}()));function Qd(e){return!!e&&\"function\"==typeof e.then}function S0(e){return!!e&&\"function\"==typeof e.subscribe}function Xt(e,n,t,r){const i=F(),o=we(),a=vt();return function A0(e,n,t,r,i,o,a){const l=Yi(r),f=e.firstCreatePass&&zE(e),p=n[We],m=GE(n);let _=!0;if(3&r.type||a){const M=rn(r,n),R=a?a(M):M,V=m.length,T=a?K=>a(He(K[r.index])):r.index;let j=null;if(!a&&l&&(j=function jN(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;oc?l[c]:null}\"string\"==typeof a&&(o+=2)}return null}(e,n,i,r.index)),null!==j)(j.__ngLastListenerFn__||j).__ngNextListenerFn__=o,j.__ngLastListenerFn__=o,_=!1;else{o=R0(r,n,p,o,!1);const K=t.listen(R,i,o);m.push(o,K),f&&f.push(i,T,V,V+1)}}else o=R0(r,n,p,o,!1);const C=r.outputs;let I;if(_&&null!==C&&(I=C[i])){const M=I.length;if(M)for(let R=0;R-1?on(e.index,n):n);let c=T0(n,t,r,a),f=o.__ngNextListenerFn__;for(;f;)c=T0(n,t,f,a)&&c,f=f.__ngNextListenerFn__;return i&&!1===c&&a.preventDefault(),c}}function dl(e=1){return function Tv(e){return(re.lFrame.contextLView=function Gh(e,n){for(;e>0;)n=n[Vo],e--;return n}(e,re.lFrame.contextLView))[We]}(e)}function Dg(e,n,t){return A_(e,\"\",n,\"\",t),Dg}function A_(e,n,t,r,i){const o=F(),a=rl(o,n,t,r);return a!==le&&dr(we(),Xe(),o,e,a,o[se],i,!1),A_}function Ea(e,n=\"\"){const t=F(),r=we(),i=e+ce,o=r.firstCreatePass?tl(r,i,1,n,null):r.data[i],a=J0(r,t,o,n,e);t[i]=a,io()&&je(r,t,a,o),nr(o,!1)}let J0=(e,n,t,r,i)=>(_i(!0),function Vu(e,n){return e.createText(n)}(n[se],r));function O_(e){return vs(\"\",e,\"\"),O_}function vs(e,n,t){const r=F(),i=rl(r,e,n,t);return i!==le&&vo(r,ht(),i),vs}const ba=void 0;var Px=[\"en\",[[\"a\",\"p\"],[\"AM\",\"PM\"],ba],[[\"AM\",\"PM\"],ba,ba],[[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"],[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]],ba,[[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"],[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]],ba,[[\"B\",\"A\"],[\"BC\",\"AD\"],[\"Before Christ\",\"Anno Domini\"]],0,[6,0],[\"M/d/yy\",\"MMM d, y\",\"MMMM d, y\",\"EEEE, MMMM d, y\"],[\"h:mm a\",\"h:mm:ss a\",\"h:mm:ss a z\",\"h:mm:ss a zzzz\"],[\"{1}, {0}\",ba,\"{1} 'at' {0}\",ba],[\".\",\",\",\";\",\"%\",\"+\",\"-\",\"E\",\"\\xd7\",\"\\u2030\",\"\\u221e\",\"NaN\",\":\"],[\"#,##0.###\",\"#,##0%\",\"\\xa4#,##0.00\",\"#E0\"],\"USD\",\"$\",\"US Dollar\",{},\"ltr\",function Fx(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\\.?/,\"\").length;return 1===t&&0===r?1:5}];let hl={};function An(e){const n=function Lx(e){return e.toLowerCase().replace(/_/g,\"-\")}(e);let t=Db(n);if(t)return t;const r=n.split(\"-\")[0];if(t=Db(r),t)return t;if(\"en\"===r)return Px;throw new L(701,!1)}function Db(e){return e in hl||(hl[e]=_e.ng&&_e.ng.common&&_e.ng.common.locales&&_e.ng.common.locales[e]),hl[e]}var Qe=function(e){return e[e.LocaleId=0]=\"LocaleId\",e[e.DayPeriodsFormat=1]=\"DayPeriodsFormat\",e[e.DayPeriodsStandalone=2]=\"DayPeriodsStandalone\",e[e.DaysFormat=3]=\"DaysFormat\",e[e.DaysStandalone=4]=\"DaysStandalone\",e[e.MonthsFormat=5]=\"MonthsFormat\",e[e.MonthsStandalone=6]=\"MonthsStandalone\",e[e.Eras=7]=\"Eras\",e[e.FirstDayOfWeek=8]=\"FirstDayOfWeek\",e[e.WeekendRange=9]=\"WeekendRange\",e[e.DateFormat=10]=\"DateFormat\",e[e.TimeFormat=11]=\"TimeFormat\",e[e.DateTimeFormat=12]=\"DateTimeFormat\",e[e.NumberSymbols=13]=\"NumberSymbols\",e[e.NumberFormats=14]=\"NumberFormats\",e[e.CurrencyCode=15]=\"CurrencyCode\",e[e.CurrencySymbol=16]=\"CurrencySymbol\",e[e.CurrencyName=17]=\"CurrencyName\",e[e.Currencies=18]=\"Currencies\",e[e.Directionality=19]=\"Directionality\",e[e.PluralCase=20]=\"PluralCase\",e[e.ExtraData=21]=\"ExtraData\",e}(Qe||{});const pl=\"en-US\";let Cb=pl;class Ia{}class qb{}class H_ extends Ia{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new e0(this);const i=dt(n);this._bootstrapComponents=mo(i.bootstrap),this._r3Injector=dE(n,t,[{provide:Ia,useValue:this},{provide:Q,useValue:this.componentFactoryResolver},...r],ct(n),new Set([\"environment\"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class U_ extends qb{constructor(n){super(),this.moduleType=n}create(n){return new H_(this.moduleType,n,[])}}class Zb extends Ia{constructor(n){super(),this.componentFactoryResolver=new e0(this),this.instance=null;const t=new ds([...n.providers,{provide:Ia,useValue:this},{provide:Q,useValue:this.componentFactoryResolver}],n.parent||qu(),n.debugName,new Set([\"environment\"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function j_(e,n,t=null){return new Zb({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let k1=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Jp(0,t.type),i=r.length>0?j_([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\\u0275prov=q({token:e,providedIn:\"environment\",factory:()=>new e(z(Sn))})}return e})();function Yb(e){e.getStandaloneInjector=n=>n.get(k1).getOrCreateStandaloneInjector(e)}function nI(e,n,t,r){return function rI(e,n,t,r,i,o){const a=n+t;return hn(e,a,i)?function Ti(e,n,t){return e[n]=t}(e,a+1,o?r.call(o,i):r(i)):function rf(e,n){const t=e[n];return t===le?void 0:t}(e,a+1)}(F(),function Gt(){const e=re.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),e,n,t,r)}function uO(){return this._results[Symbol.iterator]()}class G_{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new at)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=G_.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=uO)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=function bn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function ip(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r0&&(t[i-1][nn]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=hO}return e})();const dO=yo,fO=class extends dO{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=function lO(e,n,t,r){const i=n.tView,l=cg(e,i,t,4096&e[ie]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);l[ft]=e[n.index];const f=e[Dr];return null!==f&&(l[Dr]=f.createEmbeddedView(i)),y_(i,l,t),l}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:r});return new Gd(i)}};function hO(){return Ag(vt(),F())}function Ag(e,n){return 4&e.type?new fO(n,e,Y(e,n)):null}let Jr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_O}return e})();function _O(){return pI(vt(),F())}const DO=Jr,fI=class extends DO{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Y(this._hostTNode,this._hostLView)}get injector(){return new zt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Eu(this._hostTNode,this._hostLView);if(Ci(n)){const t=ao(n,this._hostLView),r=Z(n);return new zt(t[B].data[r+8],t)}return new zt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=hI(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Mt}createEmbeddedView(n,t,r){let i,o;\"number\"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const l=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(l,i,false),l}createComponent(n,t,r,i,o){const a=n&&!function oa(e){return\"function\"==typeof e}(n);let l;if(a)l=t;else{const M=t||{};l=M.index,r=M.injector,i=M.projectableNodes,o=M.environmentInjector||M.ngModuleRef}const c=a?n:new zd(be(n)),f=r||this.parentInjector;if(!o&&null==c.ngModule){const R=(a?f:this.parentInjector).get(Sn,null);R&&(o=R)}be(c.componentType??{});const C=c.create(f,i,null,o);return this.insertImpl(C.hostView,l,false),C}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView;if(function Lh(e){return Ft(e[Re])}(i)){const c=this.indexOf(n);if(-1!==c)this.detach(c);else{const f=i[Re],p=new fI(f,f[Ot],f[Re]);p.detach(p.indexOf(n))}}const a=this._adjustIndex(t),l=this._lContainer;return cO(l,i,a,!r),n.attachToViewContainerRef(),op(z_(l),a,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=hI(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Hu(this._lContainer,t);r&&(Au(z_(this._lContainer),t),qr(r[B],r))}detach(n){const t=this._adjustIndex(n,-1),r=Hu(this._lContainer,t);return r&&null!=Au(z_(this._lContainer),t)?new Gd(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function hI(e){return e[8]}function z_(e){return e[8]||(e[8]=[])}function pI(e,n){let t;const r=n[e.index];return Ft(r)?t=r:(t=jE(r,n,null,e),n[e.index]=t,dg(n,t)),gI(t,n,e,r),new fI(t,e,n)}let gI=function mI(e,n,t,r){if(e[Er])return;let i;i=8&t.type?He(r):function CO(e,n){const t=e[se],r=t.createComment(\"\"),i=rn(n,e);return cn(t,Uu(t,i),r,function dd(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[Er]=i};class W_{constructor(n){this.queryList=n,this.matches=null}clone(){return new W_(this.queryList)}setDirty(){this.queryList.setDirty()}}class q_{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o0)r.push(a[l/2]);else{const f=o[l+1],p=n[-c];for(let m=Mt;m{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=U(iD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(Qd(o))t.push(o);else if(S0(o)){const a=new Promise((l,c)=>{o.subscribe({complete:l,error:c})});t.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),HI=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})();const xi=new $(\"LocaleId\",{providedIn:\"root\",factory:()=>U(xi,ge.Optional|ge.SkipSelf)||function KO(){return typeof $localize<\"u\"&&$localize.locale||pl}()});let Ng=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pn(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();class eF{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let UI=(()=>{class e{compileModuleSync(t){return new U_(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=mo(dt(t).declarations).reduce((a,l)=>{const c=be(l);return c&&a.push(new zd(c)),a},[]);return new eF(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const zI=new $(\"\"),Og=new $(\"\");let cD,uD=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,cD||(function DF(e){cD=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>\"u\"?null:Zone.current.get(\"TaskTrackingZone\")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ze.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\\u0275fac=function(r){return new(r||e)(z(Ze),z(lD),z(Og))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})(),lD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return cD?.findTestabilityInTree(this,t,r)??null}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})(),ys=null;const WI=new $(\"AllowMultipleToken\"),dD=new $(\"PlatformDestroyListeners\"),fD=new $(\"appBootstrapListener\");class ZI{constructor(n,t){this.name=n,this.token=t}}function QI(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let a=hD();if(!a||a.injector.get(WI,!1)){const l=[...t,...o,{provide:i,useValue:!0}];e?e(l):function EF(e){if(ys&&!ys.get(WI,!1))throw new L(400,!1);(function qI(){!function yv(e){Mh=e}(()=>{throw new L(600,!1)})})(),ys=e;const n=e.get(XI);(function YI(e){e.get(Zu,null)?.forEach(t=>t())})(e)}(function KI(e=[],n){return cr.create({name:n,providers:[{provide:ma,useValue:\"platform\"},{provide:dD,useValue:new Set([()=>ys=null])},...e]})}(l,r))}return function IF(e){const n=hD();if(!n)throw new L(401,!1);return n}()}}function hD(){return ys?.get(XI)??null}let XI=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function SF(e=\"zone.js\",n){return\"noop\"===e?new oR:\"zone.js\"===e?new Ze(n):e}(r?.ngZone,function JI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function L1(e,n,t){return new H_(e,n,t)}(t.moduleType,this.injector,function iS(e){return[{provide:Ze,useFactory:e},{provide:ga,multi:!0,useFactory:()=>{const n=U(AF,{optional:!0});return()=>n.initialize()}},{provide:rS,useFactory:MF},{provide:mE,useFactory:vE}]}(()=>i)),a=o.injector.get(go,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});o.onDestroy(()=>{Fg(this._modules,o),l.unsubscribe()})}),function eS(e,n,t){try{const r=t();return Qd(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=o.injector.get(oD);return l.runInitializers(),l.donePromise.then(()=>(function wb(e){ye(e,\"Expected localeId to be defined\"),\"string\"==typeof e&&(Cb=e.toLowerCase().replace(/_/g,\"-\"))}(o.injector.get(xi,pl)||pl),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=tS({},r);return function CF(e,n,t){const r=new U_(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(vl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new L(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new L(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(dD,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\\u0275fac=function(r){return new(r||e)(z(cr))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})();function tS(e,n){return Array.isArray(n)?n.reduce(tS,e):{...e,...n}}let vl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(rS),this.zoneIsStable=U(mE),this.componentTypes=[],this.components=[],this.isStable=U(Ng).hasPendingTasks.pipe(Kn(t=>t?X(!1):this.zoneIsStable),function eh(e,n=oi){return e=e??$a,gt((t,r)=>{let i,o=!0;t.subscribe(new ut(r,a=>{const l=n(a);(o||!e(i,l))&&(o=!1,i=l,r.next(a))}))})}(),nc()),this._injector=U(Sn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof x;if(!this._injector.get(oD).done)throw!i&&function Hr(e){const n=be(e)||St(e)||$t(e);return null!==n&&n.standalone}(t),new L(405,!1);let a;a=i?t:this._injector.get(Q).resolveComponentFactory(t),this.componentTypes.push(a.componentType);const l=function wF(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Ia),f=a.create(cr.NULL,[],r||a.selector,l),p=f.location.nativeElement,m=f.injector.get(zI,null);return m?.registerApplication(p),f.onDestroy(()=>{this.detachView(f.hostView),Fg(this.components,f),m?.unregisterApplication(p)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new L(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Fg(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(fD,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Fg(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new L(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function Fg(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const rS=new $(\"\",{providedIn:\"root\",factory:()=>U(go).handleError.bind(void 0)});function MF(){const e=U(Ze),n=U(go);return t=>e.runOutsideAngular(()=>n.handleError(t))}let AF=(()=>{class e{constructor(){this.zone=U(Ze),this.applicationRef=U(vl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();let Pg=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RF}return e})();function RF(e){return function NF(e,n,t){if(Hn(e)&&!t){const r=on(e.index,n);return new Gd(r,r)}return 47&e.type?new Gd(n[pe],n):null}(vt(),F(),16==(16&e))}class uS{constructor(){}supports(n){return gg(n)}create(n){return new kF(n)}}const LF=(e,n)=>n;class kF{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||LF}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const a=!r||t&&t.currentIndex{a=this._trackByFn(i,l),null!==t&&Object.is(t.trackById,a)?(r&&(t=this._verifyReinsertion(t,l,a,i)),Object.is(t.item,l)||this._addIdentityChange(t,l)):(t=this._mismatch(t,l,a,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new VF(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new lS),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class VF{constructor(n,t){this.item=n,this.trackById=t,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 BF{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class lS{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new BF,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cS(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,t);const o=i._prev,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new UF(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class UF{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function fS(){return new Vg([new uS])}let Vg=(()=>{class e{static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:fS});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||fS()),deps:[[e,new Ru,new Tu]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new L(901,!1)}}return e})();function hS(){return new lf([new dS])}let lf=(()=>{class e{static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:hS});constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||hS()),deps:[[e,new Ru,new Tu]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new L(901,!1)}}return e})();const GF=QI(null,\"core\",[]);let zF=(()=>{class e{constructor(t){}static#e=this.\\u0275fac=function(r){return new(r||e)(z(vl))};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({})}return e})(),_D=null;function _s(){return _D}class oP{}const fr=new $(\"DocumentToken\");let DD=(()=>{class e{historyGo(t){throw new Error(\"Not implemented\")}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return U(aP)},providedIn:\"platform\"})}return e})();const sP=new $(\"Location Initialized\");let aP=(()=>{class e extends DD{constructor(){super(),this._doc=U(fr),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _s().getBaseHref(this._doc)}onPopState(t){const r=_s().getGlobalEventTarget(this._doc,\"window\");return r.addEventListener(\"popstate\",t,!1),()=>r.removeEventListener(\"popstate\",t)}onHashChange(t){const r=_s().getGlobalEventTarget(this._doc,\"window\");return r.addEventListener(\"hashchange\",t,!1),()=>r.removeEventListener(\"hashchange\",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return new e},providedIn:\"platform\"})}return e})();function CD(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith(\"/\")&&t++,n.startsWith(\"/\")&&t++,2==t?e+n.substring(1):1==t?e+n:e+\"/\"+n}function wS(e){const n=e.match(/#|\\?|$/),t=n&&n.index||e.length;return e.slice(0,t-(\"/\"===e[t-1]?1:0))+e.slice(t)}function _o(e){return e&&\"?\"!==e[0]?\"?\"+e:e}let Ma=(()=>{class e{historyGo(t){throw new Error(\"Not implemented\")}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return U(bS)},providedIn:\"root\"})}return e})();const ES=new $(\"appBaseHref\");let bS=(()=>{class e extends Ma{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??U(fr).location?.origin??\"\"}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return CD(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+_o(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const a=this.prepareExternalUrl(i+_o(o));this._platformLocation.pushState(t,r,a)}replaceState(t,r,i,o){const a=this.prepareExternalUrl(i+_o(o));this._platformLocation.replaceState(t,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(DD),z(ES,8))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),uP=(()=>{class e extends Ma{constructor(t,r){super(),this._platformLocation=t,this._baseHref=\"\",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r=\"#\"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=CD(this._baseHref,t);return r.length>0?\"#\"+r:r}pushState(t,r,i,o){let a=this.prepareExternalUrl(i+_o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,r,a)}replaceState(t,r,i,o){let a=this.prepareExternalUrl(i+_o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(DD),z(ES,8))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})(),wD=(()=>{class e{constructor(t){this._subject=new at,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function dP(e){if(new RegExp(\"^(https?:)?//\").test(e)){const[,t]=e.split(/\\/\\/[^\\/]+/);return t}return e}(wS(IS(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=\"\"){return this.path()==this.normalize(t+_o(r))}normalize(t){return e.stripTrailingSlash(function cP(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return\"\"===t||[\"/\",\";\",\"?\",\"#\"].includes(t[0])?t:n}(this._basePath,IS(t)))}prepareExternalUrl(t){return t&&\"/\"!==t[0]&&(t=\"/\"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r=\"\",i=null){this._locationStrategy.pushState(i,\"\",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_o(r)),i)}replaceState(t,r=\"\",i=null){this._locationStrategy.replaceState(i,\"\",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_o(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t=\"\",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=_o;static#t=this.joinWithSlash=CD;static#n=this.stripTrailingSlash=wS;static#r=this.\\u0275fac=function(r){return new(r||e)(z(Ma))};static#i=this.\\u0275prov=q({token:e,factory:function(){return function lP(){return new wD(z(Ma))}()},providedIn:\"root\"})}return e})();function IS(e){return e.replace(/\\/index.html$/,\"\")}var Rn=function(e){return e[e.Format=0]=\"Format\",e[e.Standalone=1]=\"Standalone\",e}(Rn||{}),Ge=function(e){return e[e.Narrow=0]=\"Narrow\",e[e.Abbreviated=1]=\"Abbreviated\",e[e.Wide=2]=\"Wide\",e[e.Short=3]=\"Short\",e}(Ge||{}),hr=function(e){return e[e.Short=0]=\"Short\",e[e.Medium=1]=\"Medium\",e[e.Long=2]=\"Long\",e[e.Full=3]=\"Full\",e}(hr||{}),_t=function(e){return e[e.Decimal=0]=\"Decimal\",e[e.Group=1]=\"Group\",e[e.List=2]=\"List\",e[e.PercentSign=3]=\"PercentSign\",e[e.PlusSign=4]=\"PlusSign\",e[e.MinusSign=5]=\"MinusSign\",e[e.Exponential=6]=\"Exponential\",e[e.SuperscriptingExponent=7]=\"SuperscriptingExponent\",e[e.PerMille=8]=\"PerMille\",e[e.Infinity=9]=\"Infinity\",e[e.NaN=10]=\"NaN\",e[e.TimeSeparator=11]=\"TimeSeparator\",e[e.CurrencyDecimal=12]=\"CurrencyDecimal\",e[e.CurrencyGroup=13]=\"CurrencyGroup\",e}(_t||{});function Ug(e,n){return Nr(An(e)[Qe.DateFormat],n)}function jg(e,n){return Nr(An(e)[Qe.TimeFormat],n)}function $g(e,n){return Nr(An(e)[Qe.DateTimeFormat],n)}function Rr(e,n){const t=An(e),r=t[Qe.NumberSymbols][n];if(typeof r>\"u\"){if(n===_t.CurrencyDecimal)return t[Qe.NumberSymbols][_t.Decimal];if(n===_t.CurrencyGroup)return t[Qe.NumberSymbols][_t.Group]}return r}function MS(e){if(!e[Qe.ExtraData])throw new Error(`Missing extra locale data for the locale \"${e[Qe.LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`)}function Nr(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<\"u\")return e[t];throw new Error(\"Locale data API: locale data undefined\")}function bD(e){const[n,t]=e.split(\":\");return{hours:+n,minutes:+t}}const IP=/^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/,cf={},SP=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;var Do=function(e){return e[e.Short=0]=\"Short\",e[e.ShortGMT=1]=\"ShortGMT\",e[e.Long=2]=\"Long\",e[e.Extended=3]=\"Extended\",e}(Do||{}),Oe=function(e){return e[e.FullYear=0]=\"FullYear\",e[e.Month=1]=\"Month\",e[e.Date=2]=\"Date\",e[e.Hours=3]=\"Hours\",e[e.Minutes=4]=\"Minutes\",e[e.Seconds=5]=\"Seconds\",e[e.FractionalSeconds=6]=\"FractionalSeconds\",e[e.Day=7]=\"Day\",e}(Oe||{}),Fe=function(e){return e[e.DayPeriods=0]=\"DayPeriods\",e[e.Days=1]=\"Days\",e[e.Months=2]=\"Months\",e[e.Eras=3]=\"Eras\",e}(Fe||{});function AS(e,n,t,r){let i=function PP(e){if(NS(e))return e;if(\"number\"==typeof e&&!isNaN(e))return new Date(e);if(\"string\"==typeof e){if(e=e.trim(),/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(e)){const[i,o=1,a=1]=e.split(\"-\").map(l=>+l);return Gg(i,o-1,a)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(IP))return function LP(e){const n=new Date(0);let t=0,r=0;const i=e[8]?n.setUTCFullYear:n.setFullYear,o=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-t,l=Number(e[5]||0)-r,c=Number(e[6]||0),f=Math.floor(1e3*parseFloat(\"0.\"+(e[7]||0)));return o.call(n,a,l,c,f),n}(r)}const n=new Date(e);if(!NS(n))throw new Error(`Unable to convert \"${e}\" into a date`);return n}(e);n=Co(t,n)||n;let l,a=[];for(;n;){if(l=SP.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const p=a.pop();if(!p)break;n=p}}let c=i.getTimezoneOffset();r&&(c=RS(r,c),i=function FP(e,n,t){const r=t?-1:1,i=e.getTimezoneOffset();return function OP(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,r*(RS(n,i)-i))}(i,r,!0));let f=\"\";return a.forEach(p=>{const m=function xP(e){if(SD[e])return SD[e];let n;switch(e){case\"G\":case\"GG\":case\"GGG\":n=Ke(Fe.Eras,Ge.Abbreviated);break;case\"GGGG\":n=Ke(Fe.Eras,Ge.Wide);break;case\"GGGGG\":n=Ke(Fe.Eras,Ge.Narrow);break;case\"y\":n=wt(Oe.FullYear,1,0,!1,!0);break;case\"yy\":n=wt(Oe.FullYear,2,0,!0,!0);break;case\"yyy\":n=wt(Oe.FullYear,3,0,!1,!0);break;case\"yyyy\":n=wt(Oe.FullYear,4,0,!1,!0);break;case\"Y\":n=Zg(1);break;case\"YY\":n=Zg(2,!0);break;case\"YYY\":n=Zg(3);break;case\"YYYY\":n=Zg(4);break;case\"M\":case\"L\":n=wt(Oe.Month,1,1);break;case\"MM\":case\"LL\":n=wt(Oe.Month,2,1);break;case\"MMM\":n=Ke(Fe.Months,Ge.Abbreviated);break;case\"MMMM\":n=Ke(Fe.Months,Ge.Wide);break;case\"MMMMM\":n=Ke(Fe.Months,Ge.Narrow);break;case\"LLL\":n=Ke(Fe.Months,Ge.Abbreviated,Rn.Standalone);break;case\"LLLL\":n=Ke(Fe.Months,Ge.Wide,Rn.Standalone);break;case\"LLLLL\":n=Ke(Fe.Months,Ge.Narrow,Rn.Standalone);break;case\"w\":n=ID(1);break;case\"ww\":n=ID(2);break;case\"W\":n=ID(1,!0);break;case\"d\":n=wt(Oe.Date,1);break;case\"dd\":n=wt(Oe.Date,2);break;case\"c\":case\"cc\":n=wt(Oe.Day,1);break;case\"ccc\":n=Ke(Fe.Days,Ge.Abbreviated,Rn.Standalone);break;case\"cccc\":n=Ke(Fe.Days,Ge.Wide,Rn.Standalone);break;case\"ccccc\":n=Ke(Fe.Days,Ge.Narrow,Rn.Standalone);break;case\"cccccc\":n=Ke(Fe.Days,Ge.Short,Rn.Standalone);break;case\"E\":case\"EE\":case\"EEE\":n=Ke(Fe.Days,Ge.Abbreviated);break;case\"EEEE\":n=Ke(Fe.Days,Ge.Wide);break;case\"EEEEE\":n=Ke(Fe.Days,Ge.Narrow);break;case\"EEEEEE\":n=Ke(Fe.Days,Ge.Short);break;case\"a\":case\"aa\":case\"aaa\":n=Ke(Fe.DayPeriods,Ge.Abbreviated);break;case\"aaaa\":n=Ke(Fe.DayPeriods,Ge.Wide);break;case\"aaaaa\":n=Ke(Fe.DayPeriods,Ge.Narrow);break;case\"b\":case\"bb\":case\"bbb\":n=Ke(Fe.DayPeriods,Ge.Abbreviated,Rn.Standalone,!0);break;case\"bbbb\":n=Ke(Fe.DayPeriods,Ge.Wide,Rn.Standalone,!0);break;case\"bbbbb\":n=Ke(Fe.DayPeriods,Ge.Narrow,Rn.Standalone,!0);break;case\"B\":case\"BB\":case\"BBB\":n=Ke(Fe.DayPeriods,Ge.Abbreviated,Rn.Format,!0);break;case\"BBBB\":n=Ke(Fe.DayPeriods,Ge.Wide,Rn.Format,!0);break;case\"BBBBB\":n=Ke(Fe.DayPeriods,Ge.Narrow,Rn.Format,!0);break;case\"h\":n=wt(Oe.Hours,1,-12);break;case\"hh\":n=wt(Oe.Hours,2,-12);break;case\"H\":n=wt(Oe.Hours,1);break;case\"HH\":n=wt(Oe.Hours,2);break;case\"m\":n=wt(Oe.Minutes,1);break;case\"mm\":n=wt(Oe.Minutes,2);break;case\"s\":n=wt(Oe.Seconds,1);break;case\"ss\":n=wt(Oe.Seconds,2);break;case\"S\":n=wt(Oe.FractionalSeconds,1);break;case\"SS\":n=wt(Oe.FractionalSeconds,2);break;case\"SSS\":n=wt(Oe.FractionalSeconds,3);break;case\"Z\":case\"ZZ\":case\"ZZZ\":n=Wg(Do.Short);break;case\"ZZZZZ\":n=Wg(Do.Extended);break;case\"O\":case\"OO\":case\"OOO\":case\"z\":case\"zz\":case\"zzz\":n=Wg(Do.ShortGMT);break;case\"OOOO\":case\"ZZZZ\":case\"zzzz\":n=Wg(Do.Long);break;default:return null}return SD[e]=n,n}(p);f+=m?m(i,t,c):\"''\"===p?\"'\":p.replace(/(^'|'$)/g,\"\").replace(/''/g,\"'\")}),f}function Gg(e,n,t){const r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function Co(e,n){const t=function hP(e){return An(e)[Qe.LocaleId]}(e);if(cf[t]=cf[t]||{},cf[t][n])return cf[t][n];let r=\"\";switch(n){case\"shortDate\":r=Ug(e,hr.Short);break;case\"mediumDate\":r=Ug(e,hr.Medium);break;case\"longDate\":r=Ug(e,hr.Long);break;case\"fullDate\":r=Ug(e,hr.Full);break;case\"shortTime\":r=jg(e,hr.Short);break;case\"mediumTime\":r=jg(e,hr.Medium);break;case\"longTime\":r=jg(e,hr.Long);break;case\"fullTime\":r=jg(e,hr.Full);break;case\"short\":const i=Co(e,\"shortTime\"),o=Co(e,\"shortDate\");r=zg($g(e,hr.Short),[i,o]);break;case\"medium\":const a=Co(e,\"mediumTime\"),l=Co(e,\"mediumDate\");r=zg($g(e,hr.Medium),[a,l]);break;case\"long\":const c=Co(e,\"longTime\"),f=Co(e,\"longDate\");r=zg($g(e,hr.Long),[c,f]);break;case\"full\":const p=Co(e,\"fullTime\"),m=Co(e,\"fullDate\");r=zg($g(e,hr.Full),[p,m])}return r&&(cf[t][n]=r),r}function zg(e,n){return n&&(e=e.replace(/\\{([^}]+)}/g,function(t,r){return null!=n&&r in n?n[r]:t})),e}function ei(e,n,t=\"-\",r,i){let o=\"\";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=t));let a=String(e);for(;a.length0||l>-t)&&(l+=t),e===Oe.Hours)0===l&&-12===t&&(l=12);else if(e===Oe.FractionalSeconds)return function MP(e,n){return ei(e,3).substring(0,n)}(l,n);const c=Rr(a,_t.MinusSign);return ei(l,n,c,r,i)}}function Ke(e,n,t=Rn.Format,r=!1){return function(i,o){return function TP(e,n,t,r,i,o){switch(t){case Fe.Months:return function mP(e,n,t){const r=An(e),o=Nr([r[Qe.MonthsFormat],r[Qe.MonthsStandalone]],n);return Nr(o,t)}(n,i,r)[e.getMonth()];case Fe.Days:return function gP(e,n,t){const r=An(e),o=Nr([r[Qe.DaysFormat],r[Qe.DaysStandalone]],n);return Nr(o,t)}(n,i,r)[e.getDay()];case Fe.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(o){const f=function DP(e){const n=An(e);return MS(n),(n[Qe.ExtraData][2]||[]).map(r=>\"string\"==typeof r?bD(r):[bD(r[0]),bD(r[1])])}(n),p=function CP(e,n,t){const r=An(e);MS(r);const o=Nr([r[Qe.ExtraData][0],r[Qe.ExtraData][1]],n)||[];return Nr(o,t)||[]}(n,i,r),m=f.findIndex(_=>{if(Array.isArray(_)){const[C,I]=_,M=a>=C.hours&&l>=C.minutes,R=a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case Do.Short:return(i>=0?\"+\":\"\")+ei(a,2,o)+ei(Math.abs(i%60),2,o);case Do.ShortGMT:return\"GMT\"+(i>=0?\"+\":\"\")+ei(a,1,o);case Do.Long:return\"GMT\"+(i>=0?\"+\":\"\")+ei(a,2,o)+\":\"+ei(Math.abs(i%60),2,o);case Do.Extended:return 0===r?\"Z\":(i>=0?\"+\":\"\")+ei(a,2,o)+\":\"+ei(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width \"${e}\"`)}}}const RP=0,qg=4;function TS(e){return Gg(e.getFullYear(),e.getMonth(),e.getDate()+(qg-e.getDay()))}function ID(e,n=!1){return function(t,r){let i;if(n){const o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,a=t.getDate();i=1+Math.floor((a+o)/7)}else{const o=TS(t),a=function NP(e){const n=Gg(e,RP,1).getDay();return Gg(e,0,1+(n<=qg?qg:qg+7)-n)}(o.getFullYear()),l=o.getTime()-a.getTime();i=1+Math.round(l/6048e5)}return ei(i,e,Rr(r,_t.MinusSign))}}function Zg(e,n=!1){return function(t,r){return ei(TS(t).getFullYear(),e,Rr(r,_t.MinusSign),n)}}const SD={};function RS(e,n){e=e.replace(/:/g,\"\");const t=Date.parse(\"Jan 01, 1970 00:00:00 \"+e)/6e4;return isNaN(t)?n:t}function NS(e){return e instanceof Date&&!isNaN(e.valueOf())}function PS(e,n){n=encodeURIComponent(n);for(const t of e.split(\";\")){const r=t.indexOf(\"=\"),[i,o]=-1==r?[t,\"\"]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const xD=/\\s+/,LS=[];let kS=(()=>{class e{constructor(t,r,i,o){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this.initialClasses=LS,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(xD):LS}set ngClass(t){this.rawClass=\"string\"==typeof t?t.trim().split(xD):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(xD).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\\u0275fac=function(r){return new(r||e)(k(Vg),k(lf),k(J),k(et))};static#t=this.\\u0275dir=ne({type:e,selectors:[[\"\",\"ngClass\",\"\"]],inputs:{klass:[\"class\",\"klass\"],ngClass:\"ngClass\"},standalone:!0})}return e})();class YP{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,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 Qg=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,a)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new YP(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)r.remove(null===o?void 0:o);else if(null!==o){const l=r.get(o);r.move(l,a),BS(l,i)}});for(let i=0,o=r.length;i{BS(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\\u0275fac=function(r){return new(r||e)(k(Jr),k(yo),k(Vg))};static#t=this.\\u0275dir=ne({type:e,selectors:[[\"\",\"ngFor\",\"\",\"ngForOf\",\"\"]],inputs:{ngForOf:\"ngForOf\",ngForTrackBy:\"ngForTrackBy\",ngForTemplate:\"ngForTemplate\"},standalone:!0})}return e})();function BS(e,n){e.context.$implicit=n.item}let Kg=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new QP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){HS(\"ngIfThen\",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){HS(\"ngIfElse\",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\\u0275fac=function(r){return new(r||e)(k(Jr),k(yo))};static#t=this.\\u0275dir=ne({type:e,selectors:[[\"\",\"ngIf\",\"\"]],inputs:{ngIf:\"ngIf\",ngIfThen:\"ngIfThen\",ngIfElse:\"ngIfElse\"},standalone:!0})}return e})();class QP{constructor(){this.$implicit=null,this.ngIf=null}}function HS(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ct(n)}'.`)}let CL=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({})}return e})();function GS(e){return\"server\"===e}let IL=(()=>{class e{static#e=this.\\u0275prov=q({token:e,providedIn:\"root\",factory:()=>new SL(z(fr),window)})}return e})();class SL{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function ML(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(\"function\"==typeof e.createTreeWalker&&e.body&&\"function\"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const a=o.getElementById(n)||o.querySelector(`[name=\"${n}\"]`);if(a)return a}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&\"pageXOffset\"in this.window}catch{return!1}}}class zS{}class QL extends oP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class BD extends QL{static makeCurrent(){!function iP(e){_D||(_D=e)}(new BD)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument(\"fakeTitle\")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return\"window\"===t?window:\"document\"===t?n:\"body\"===t?n.body:null}getBaseHref(n){const t=function KL(){return hf=hf||document.querySelector(\"base\"),hf?hf.getAttribute(\"href\"):null}();return null==t?null:function XL(e){em=em||document.createElement(\"a\"),em.setAttribute(\"href\",e);const n=em.pathname;return\"/\"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){hf=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return PS(document.cookie,n)}}let em,hf=null,ek=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const HD=new $(\"EventManagerPlugins\");let QS=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new L(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\\u0275fac=function(r){return new(r||e)(z(HD),z(Ze))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();class KS{constructor(n){this._doc=n}}const UD=\"ng-app-id\";let XS=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=GS(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${UD}=\"${this.appId}\"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(UD),o;{const a=this.doc.createElement(\"style\");return this.nonce&&a.setAttribute(\"nonce\",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(UD,this.appId),a}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,a=o.get(r)?.elements;a?a.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(fr),z(fs),z(ig,8),z(po))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const jD={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/\"},$D=/%COMP%/g,ik=new $(\"RemoveStylesOnCompDestroy\",{providedIn:\"root\",factory:()=>!1});function eM(e,n){return n.map(t=>t.replace($D,e))}let tM=(()=>{class e{constructor(t,r,i,o,a,l,c,f=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=GS(l),this.defaultRenderer=new GD(t,a,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Xn.ShadowDom&&(r={...r,encapsulation:Xn.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof rM?i.applyToHost(t):i instanceof zD&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const a=this.doc,l=this.ngZone,c=this.eventManager,f=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case Xn.Emulated:o=new rM(c,f,r,this.appId,p,a,l,m);break;case Xn.ShadowDom:return new uk(c,f,t,r,a,l,this.nonce,m);default:o=new zD(c,f,r,p,a,l,m)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\\u0275fac=function(r){return new(r||e)(z(QS),z(XS),z(fs),z(ik),z(fr),z(po),z(Ze),z(ig))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();class GD{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(jD[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(nM(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(nM(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r=\"string\"==typeof n?this.doc.querySelector(n):n;if(!r)throw new L(-5104,!1);return t||(r.textContent=\"\"),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+\":\"+t;const o=jD[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=jD[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Wr.DashCase|Wr.Important)?n.style.setProperty(t,r,i&Wr.Important?\"important\":\"\"):n.style[t]=r}removeStyle(n,t,r){r&Wr.DashCase?n.style.removeProperty(t):n.style[t]=\"\"}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if(\"string\"==typeof n&&!(n=_s().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if(\"__ngUnwrap__\"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function nM(e){return\"TEMPLATE\"===e.tagName&&void 0!==e.content}class uk extends GD{constructor(n,t,r,i,o,a,l,c){super(n,o,a,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:\"open\"}),this.sharedStylesHost.addHost(this.shadowRoot);const f=eM(i.id,i.styles);for(const p of f){const m=document.createElement(\"style\");l&&m.setAttribute(\"nonce\",l),m.textContent=p,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class zD extends GD{constructor(n,t,r,i,o,a,l,c){super(n,o,a,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=c?eM(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class rM extends zD{constructor(n,t,r,i,o,a,l,c){const f=i+\"-\"+r.id;super(n,t,r,o,a,l,c,f),this.contentAttr=function ok(e){return\"_ngcontent-%COMP%\".replace($D,e)}(f),this.hostAttr=function sk(e){return\"_nghost-%COMP%\".replace($D,e)}(f)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,\"\")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,\"\"),r}}let lk=(()=>{class e extends KS{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(fr))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const iM=[\"alt\",\"control\",\"meta\",\"shift\"],ck={\"\\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\"},dk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let fk=(()=>{class e extends KS{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),a=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_s().onAndCancel(t,o.domEventName,a))}static parseEventName(t){const r=t.toLowerCase().split(\".\"),i=r.shift();if(0===r.length||\"keydown\"!==i&&\"keyup\"!==i)return null;const o=e._normalizeKey(r.pop());let a=\"\",l=r.indexOf(\"code\");if(l>-1&&(r.splice(l,1),a=\"code.\"),iM.forEach(f=>{const p=r.indexOf(f);p>-1&&(r.splice(p,1),a+=f+\".\")}),a+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(t,r){let i=ck[t.key]||t.key,o=\"\";return r.indexOf(\"code.\")>-1&&(i=t.code,o=\"code.\"),!(null==i||!i)&&(i=i.toLowerCase(),\" \"===i?i=\"space\":\".\"===i&&(i=\"dot\"),iM.forEach(a=>{a!==i&&(0,dk[a])(t)&&(o+=a+\".\")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return\"esc\"===t?\"escape\":t}static#e=this.\\u0275fac=function(r){return new(r||e)(z(fr))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const mk=QI(GF,\"browser\",[{provide:po,useValue:\"browser\"},{provide:Zu,useValue:function hk(){BD.makeCurrent()},multi:!0},{provide:fr,useFactory:function gk(){return function de(e){lr=e}(document),document},deps:[]}]),vk=new $(\"\"),aM=[{provide:Og,useClass:class JL{addToWindow(n){_e.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new L(5103,!1);return o},_e.getAllAngularTestabilities=()=>n.getAllTestabilities(),_e.getAllAngularRootElements=()=>n.getAllRootElements(),_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r=>{const i=_e.getAllAngularTestabilities();let o=i.length,a=!1;const l=function(c){a=a||c,o--,0==o&&r(a)};i.forEach(c=>{c.whenStable(l)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?_s().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:zI,useClass:uD,deps:[Ze,lD,Og]},{provide:uD,useClass:uD,deps:[Ze,lD,Og]}],uM=[{provide:ma,useValue:\"root\"},{provide:go,useFactory:function pk(){return new go},deps:[]},{provide:HD,useClass:lk,multi:!0,deps:[fr,Ze,po]},{provide:HD,useClass:fk,multi:!0,deps:[fr]},tM,XS,QS,{provide:fn,useExisting:tM},{provide:zS,useClass:ek,deps:[]},[]];let yk=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:fs,useValue:t.appId}]}}static#e=this.\\u0275fac=function(r){return new(r||e)(z(vk,12))};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({providers:[...uM,...aM],imports:[CL,zF]})}return e})(),lM=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||\"\"}static#e=this.\\u0275fac=function(r){return new(r||e)(z(fr))};static#t=this.\\u0275prov=q({token:e,factory:function(r){let i=null;return i=r?new r:function Dk(){return new lM(z(fr))}(),i},providedIn:\"root\"})}return e})();typeof window<\"u\"&&window;const{isArray:Ik}=Array,{getPrototypeOf:Sk,prototype:Mk,keys:Ak}=Object;const{isArray:Rk}=Array;const Cl=new $(\"CallSetDisabledState\",{providedIn:\"root\",factory:()=>sm}),sm=\"always\";let nA=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({})}return e})(),TV=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({imports:[nA]})}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Cl,useValue:t.callSetDisabledState??sm}]}}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({imports:[TV]})}return e})();function hC(...e){const n=Ls(e),t=function Qf(e){return Ne(ec(e))?e.pop():void 0}(e),{args:r,keys:i}=function hM(e){if(1===e.length){const n=e[0];if(Ik(n))return{args:n,keys:null};if(function Tk(e){return e&&\"object\"==typeof e&&Sk(e)===Mk}(n)){const t=Ak(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e);if(0===r.length)return lt([],n);const o=new tt(function OV(e,n,t=oi){return r=>{DA(n,()=>{const{length:i}=e,o=new Array(i);let a=i,l=i;for(let c=0;c{const f=lt(e[c],n);let p=!1;f.subscribe(new ut(r,m=>{o[c]=m,p||(p=!0,l--),l||r.next(t(o.slice()))},()=>{--a||r.complete()}))},r)},r)}}(r,n,i?a=>function gM(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}(i,a):oi));return t?o.pipe(function pM(e){return Ie(n=>function Nk(e,n){return Rk(n)?e(...n):e(n)}(e,n))}(t)):o}function DA(e,n,t){e?Lr(t,e,n):n()}const dm=w(e=>function(){e(this),this.name=\"EmptyError\",this.message=\"no elements in sequence\"});function pC(...e){return function FV(){return To(1)}()(lt(e,Ls(e)))}function CA(e){return new tt(n=>{Yn(e()).subscribe(n)})}function yf(e,n){const t=Ne(e)?e:()=>e,r=i=>i.error(t());return new tt(n?i=>n.schedule(r,0,i):r)}function gC(){return gt((e,n)=>{let t=null;e._refCount++;const r=new ut(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class wA extends tt{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Zn(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new mn;const t=this.getSubject();n.add(this.source.subscribe(new ut(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=mn.EMPTY)}return n}refCount(){return gC()(this)}}function wo(e,n){return gt((t,r)=>{let i=0;t.subscribe(new ut(r,o=>e.call(n,o,i++)&&r.next(o)))})}function fm(e){return gt((n,t)=>{let r=!1;n.subscribe(new ut(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function EA(e=LV){return gt((n,t)=>{let r=!1;n.subscribe(new ut(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function LV(){return new dm}function Ra(e,n){const t=arguments.length>=2;return r=>r.pipe(e?wo((i,o)=>e(i,o,r)):oi,ui(1),t?fm(n):EA(()=>new dm))}function wl(e,n){return Ne(n)?Et(e,n,1):Et(e,1)}function gn(e,n,t){const r=Ne(e)||n||t?{next:e,error:n,complete:t}:e;return r?gt((i,o)=>{var a;null===(a=r.subscribe)||void 0===a||a.call(r);let l=!0;i.subscribe(new ut(o,c=>{var f;null===(f=r.next)||void 0===f||f.call(r,c),o.next(c)},()=>{var c;l=!1,null===(c=r.complete)||void 0===c||c.call(r),o.complete()},c=>{var f;l=!1,null===(f=r.error)||void 0===f||f.call(r,c),o.error(c)},()=>{var c,f;l&&(null===(c=r.unsubscribe)||void 0===c||c.call(r)),null===(f=r.finalize)||void 0===f||f.call(r)}))}):oi}function Na(e){return gt((n,t)=>{let o,r=null,i=!1;r=n.subscribe(new ut(t,void 0,void 0,a=>{o=Yn(e(a,Na(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function mC(e){return e<=0?()=>Qn:gt((n,t)=>{let r=[];n.subscribe(new ut(t,i=>{r.push(i),e{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function _f(e){return gt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const he=\"primary\",Df=Symbol(\"RouteTitle\");class jV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function El(e){return new jV(e)}function $V(e,n,t){const r=t.path.split(\"/\");if(r.length>e.length||\"full\"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function IA(e){return e.length>0?e[e.length-1]:null}function bs(e){return function xV(e){return!!e&&(e instanceof tt||Ne(e.lift)&&Ne(e.subscribe))}(e)?e:Qd(e)?lt(Promise.resolve(e)):X(e)}const zV={exact:function AA(e,n,t){if(!xa(e.segments,n.segments)||!hm(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!AA(e.children[r],n.children[r],t))return!1;return!0},subset:TA},SA={exact:function WV(e,n){return Fi(e,n)},subset:function qV(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>bA(e[t],n[t]))},ignored:()=>!0};function MA(e,n,t){return zV[t.paths](e.root,n.root,t.matrixParams)&&SA[t.queryParams](e.queryParams,n.queryParams)&&!(\"exact\"===t.fragment&&e.fragment!==n.fragment)}function TA(e,n,t){return RA(e,n,n.segments,t)}function RA(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!xa(i,t)||n.hasChildren()||!hm(i,t,r))}if(e.segments.length===t.length){if(!xa(e.segments,t)||!hm(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!TA(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(xa(e.segments,i)&&hm(e.segments,i,r)&&e.children[he])&&RA(e.children[he],n,o,r)}}function hm(e,n,t){return n.every((r,i)=>SA[t](e[i].parameters,r.parameters))}class bl{constructor(n=new ke([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=El(this.queryParams)),this._queryParamMap}toString(){return QV.serialize(this)}}class ke{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pm(this)}}class Cf{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=El(this.parameters)),this._parameterMap}toString(){return OA(this)}}function xa(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let wf=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return new vC},providedIn:\"root\"})}return e})();class vC{parse(n){const t=new a2(n);return new bl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ef(n.root,!0)}`,r=function JV(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${gm(t)}=${gm(i)}`).join(\"&\"):`${gm(t)}=${gm(r)}`}).filter(t=>!!t);return n.length?`?${n.join(\"&\")}`:\"\"}(n.queryParams);return`${t}${r}${\"string\"==typeof n.fragment?`#${function KV(e){return encodeURI(e)}(n.fragment)}`:\"\"}`}}const QV=new vC;function pm(e){return e.segments.map(n=>OA(n)).join(\"/\")}function Ef(e,n){if(!e.hasChildren())return pm(e);if(n){const t=e.children[he]?Ef(e.children[he],!1):\"\",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==he&&r.push(`${i}:${Ef(o,!1)}`)}),r.length>0?`${t}(${r.join(\"//\")})`:t}{const t=function YV(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===he&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==he&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===he?[Ef(e.children[he],!1)]:[`${i}:${Ef(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[he]?`${pm(e)}/${t[0]}`:`${pm(e)}/(${t.join(\"//\")})`}}function NA(e){return encodeURIComponent(e).replace(/%40/g,\"@\").replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\")}function gm(e){return NA(e).replace(/%3B/gi,\";\")}function yC(e){return NA(e).replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/%26/gi,\"&\")}function mm(e){return decodeURIComponent(e)}function xA(e){return mm(e.replace(/\\+/g,\"%20\"))}function OA(e){return`${yC(e.path)}${function XV(e){return Object.keys(e).map(n=>`;${yC(n)}=${yC(e[n])}`).join(\"\")}(e.parameters)}`}const e2=/^[^\\/()?;#]+/;function _C(e){const n=e.match(e2);return n?n[0]:\"\"}const t2=/^[^\\/()?;=#]+/,r2=/^[^=?&#]+/,o2=/^[^&#]+/;class a2{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional(\"/\"),\"\"===this.remaining||this.peekStartsWith(\"?\")||this.peekStartsWith(\"#\")?new ke([],{}):new ke([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional(\"?\"))do{this.parseQueryParam(n)}while(this.consumeOptional(\"&\"));return n}parseFragment(){return this.consumeOptional(\"#\")?decodeURIComponent(this.remaining):null}parseChildren(){if(\"\"===this.remaining)return{};this.consumeOptional(\"/\");const n=[];for(this.peekStartsWith(\"(\")||n.push(this.parseSegment());this.peekStartsWith(\"/\")&&!this.peekStartsWith(\"//\")&&!this.peekStartsWith(\"/(\");)this.capture(\"/\"),n.push(this.parseSegment());let t={};this.peekStartsWith(\"/(\")&&(this.capture(\"/\"),t=this.parseParens(!0));let r={};return this.peekStartsWith(\"(\")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[he]=new ke(n,t)),r}parseSegment(){const n=_C(this.remaining);if(\"\"===n&&this.peekStartsWith(\";\"))throw new L(4009,!1);return this.capture(n),new Cf(mm(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(\";\");)this.parseParam(n);return n}parseParam(n){const t=function n2(e){const n=e.match(t2);return n?n[0]:\"\"}(this.remaining);if(!t)return;this.capture(t);let r=\"\";if(this.consumeOptional(\"=\")){const i=_C(this.remaining);i&&(r=i,this.capture(r))}n[mm(t)]=mm(r)}parseQueryParam(n){const t=function i2(e){const n=e.match(r2);return n?n[0]:\"\"}(this.remaining);if(!t)return;this.capture(t);let r=\"\";if(this.consumeOptional(\"=\")){const a=function s2(e){const n=e.match(o2);return n?n[0]:\"\"}(this.remaining);a&&(r=a,this.capture(r))}const i=xA(t),o=xA(r);if(n.hasOwnProperty(i)){let a=n[i];Array.isArray(a)||(a=[a],n[i]=a),a.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture(\"(\");!this.consumeOptional(\")\")&&this.remaining.length>0;){const r=_C(this.remaining),i=this.remaining[r.length];if(\"/\"!==i&&\")\"!==i&&\";\"!==i)throw new L(4010,!1);let o;r.indexOf(\":\")>-1?(o=r.slice(0,r.indexOf(\":\")),this.capture(o),this.capture(\":\")):n&&(o=he);const a=this.parseChildren();t[o]=1===Object.keys(a).length?a[he]:new ke([],a),this.consumeOptional(\"//\")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new L(4011,!1)}}function FA(e){return e.segments.length>0?new ke([],{[he]:e}):e}function PA(e){const n={};for(const r of Object.keys(e.children)){const o=PA(e.children[r]);if(r===he&&0===o.segments.length&&o.hasChildren())for(const[a,l]of Object.entries(o.children))n[a]=l;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function u2(e){if(1===e.numberOfChildren&&e.children[he]){const n=e.children[he];return new ke(e.segments.concat(n.segments),n.children)}return e}(new ke(e.segments,n))}function Oa(e){return e instanceof bl}function LA(e){let n;const i=FA(function t(o){const a={};for(const c of o.children){const f=t(c);a[c.outlet]=f}const l=new ke(o.url,a);return o===e&&(n=l),l}(e.root));return n??i}function kA(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return DC(i,i,i,t,r);const o=function c2(e){if(\"string\"==typeof e[0]&&1===e.length&&\"/\"===e[0])return new BA(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,a)=>{if(\"object\"==typeof o&&null!=o){if(o.outlets){const l={};return Object.entries(o.outlets).forEach(([c,f])=>{l[c]=\"string\"==typeof f?f.split(\"/\"):f}),[...i,{outlets:l}]}if(o.segmentPath)return[...i,o.segmentPath]}return\"string\"!=typeof o?[...i,o]:0===a?(o.split(\"/\").forEach((l,c)=>{0==c&&\".\"===l||(0==c&&\"\"===l?t=!0:\"..\"===l?n++:\"\"!=l&&i.push(l))}),i):[...i,o]},[]);return new BA(t,n,r)}(n);if(o.toRoot())return DC(i,i,new ke([],{}),t,r);const a=function d2(e,n,t){if(e.isAbsolute)return new ym(n,!0,0);if(!t)return new ym(n,!1,NaN);if(null===t.parent)return new ym(t,!0,0);const r=vm(e.commands[0])?0:1;return function f2(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new L(4005,!1);i=r.segments.length}return new ym(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),l=a.processChildren?If(a.segmentGroup,a.index,o.commands):HA(a.segmentGroup,a.index,o.commands);return DC(i,a.segmentGroup,l,t,r)}function vm(e){return\"object\"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function bf(e){return\"object\"==typeof e&&null!=e&&e.outlets}function DC(e,n,t,r,i){let a,o={};r&&Object.entries(r).forEach(([c,f])=>{o[c]=Array.isArray(f)?f.map(p=>`${p}`):`${f}`}),a=e===n?t:VA(e,n,t);const l=FA(PA(a));return new bl(l,o,i)}function VA(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:VA(o,n,t)}),new ke(e.segments,r)}class BA{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&vm(r[0]))throw new L(4003,!1);const i=r.find(bf);if(i&&i!==IA(r))throw new L(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&\"/\"==this.commands[0]}}class ym{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function HA(e,n,t){if(e||(e=new ke([],{})),0===e.segments.length&&e.hasChildren())return If(e,n,t);const r=function p2(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const a=e.segments[i],l=t[r];if(bf(l))break;const c=`${l}`,f=r0&&void 0===c)break;if(c&&f&&\"object\"==typeof f&&void 0===f.outlets){if(!jA(c,f,a))return o;r+=2}else{if(!jA(c,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==he)&&e.children[he]&&1===e.numberOfChildren&&0===e.children[he].segments.length){const o=If(e.children[he],n,t);return new ke(e.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{\"string\"==typeof a&&(a=[a]),null!==a&&(i[o]=HA(e.children[o],n,a))}),Object.entries(e.children).forEach(([o,a])=>{void 0===r[o]&&(i[o]=a)}),new ke(e.segments,i)}}function CC(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{\"string\"==typeof r&&(r=[r]),null!==r&&(n[t]=CC(new ke([],{}),0,r))}),n}function UA(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function jA(e,n,t){return e==t.path&&Fi(n,t.parameters)}const Sf=\"imperative\";class Pi{constructor(n,t){this.id=n,this.url=t}}class _m extends Pi{constructor(n,t,r=\"imperative\",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Is extends Pi{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Mf extends Pi{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Il extends Pi{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Dm extends Pi{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $A extends Pi{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class m2 extends Pi{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class v2 extends Pi{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class y2 extends Pi{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _2 extends Pi{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class D2{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class C2{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class w2{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class E2{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class b2{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class GA{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class zA{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class wC{}class EC{constructor(n){this.url=n}}class I2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Af,this.attachRef=null}}let Af=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new I2,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();class WA{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=bC(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=bC(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=IC(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return IC(n,this._root).map(t=>t.value)}}function bC(e,n){if(e===n.value)return n;for(const t of n.children){const r=bC(e,t);if(r)return r}return null}function IC(e,n){if(e===n.value)return[n];for(const t of n.children){const r=IC(e,t);if(r.length)return r.unshift(n),r}return[]}class Eo{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Sl(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class qA extends WA{constructor(n,t){super(n),this.snapshot=t,SC(this,n)}toString(){return this.snapshot.toString()}}function ZA(e,n){const t=function S2(e,n){const a=new Cm([],{},{},\"\",{},he,n,null,{});return new QA(\"\",new Eo(a,[]))}(0,n),r=new Pn([new Cf(\"\",{})]),i=new Pn({}),o=new Pn({}),a=new Pn({}),l=new Pn(\"\"),c=new Fa(r,i,a,l,o,he,n,t.root);return c.snapshot=t.root,new qA(new Eo(c,[]),t)}class Fa{constructor(n,t,r,i,o,a,l,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=l,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Ie(f=>f[Df]))??X(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}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(Ie(n=>El(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ie(n=>El(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function YA(e,n=\"emptyOnly\"){const t=e.pathFromRoot;let r=0;if(\"always\"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&\"\"===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function M2(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class Cm{get title(){return this.data?.[Df]}constructor(n,t,r,i,o,a,l,c,f){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=l,this.routeConfig=c,this._resolve=f}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=El(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=El(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(\"/\")}', path:'${this.routeConfig?this.routeConfig.path:\"\"}')`}}class QA extends WA{constructor(n,t){super(t),this.url=n,SC(this,t)}toString(){return KA(this._root)}}function SC(e,n){n.value._routerState=e,n.children.forEach(t=>SC(e,t))}function KA(e){const n=e.children.length>0?` { ${e.children.map(KA).join(\", \")} } `:\"\";return`${e.value}${n}`}function MC(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Fi(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Fi(n.params,t.params)||e.paramsSubject.next(t.params),function GV(e,n){if(e.length!==n.length)return!1;for(let t=0;tFi(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||AC(e.parent,n.parent))}let TC=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new at,this.deactivateEvents=new at,this.attachEvents=new at,this.detachEvents=new at,this.parentContexts=U(Af),this.location=U(Jr),this.changeDetector=U(Pg),this.environmentInjector=U(Sn),this.inputBinder=U(wm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new L(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new L(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new L(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new L(4013,!1);this._activatedRoute=t;const i=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new A2(t,l,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275dir=ne({type:e,selectors:[[\"router-outlet\"]],inputs:{name:\"name\"},outputs:{activateEvents:\"activate\",deactivateEvents:\"deactivate\",attachEvents:\"attach\",detachEvents:\"detach\"},exportAs:[\"outlet\"],standalone:!0,features:[Gn]})}return e})();class A2{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Fa?this.route:n===Af?this.childContexts:this.parent.get(n,t)}}const wm=new $(\"\");let XA=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=hC([r.queryParams,r.params,r.data]).pipe(Kn(([o,a,l],c)=>(l={...o,...a,...l},0===c?X(l):Promise.resolve(l)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const a=function rP(e){const n=be(e);if(!n)return null;const t=new zd(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(a)for(const{templateName:l}of a.inputs)t.activatedComponentRef.setInput(l,o[l]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();function Tf(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function R2(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Tf(e,r,i);return Tf(e,r)})}(e,n,t);return new Eo(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>Tf(e,l)),a}}const r=function N2(e){return new Fa(new Pn(e.url),new Pn(e.params),new Pn(e.queryParams),new Pn(e.fragment),new Pn(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Tf(e,o));return new Eo(r,i)}}const RC=\"ngNavigationCancelingError\";function JA(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Oa(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=eT(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function eT(e,n,t){const r=new Error(\"NavigationCancelingError: \"+(e||\"\"));return r[RC]=!0,r.cancellationCode=n,t&&(r.url=t),r}function tT(e){return e&&e[RC]}let nT=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"ng-component\"]],standalone:!0,features:[Yb],decls:1,vars:0,template:function(r,i){1&r&&Kt(0,\"router-outlet\")},dependencies:[TC],encapsulation:2})}return e})();function NC(e){const n=e.children&&e.children.map(NC),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==he&&(t.component=nT),t}function ni(e){return e.outlet||he}function Rf(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class B2{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),MC(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=Sl(t);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(n,t,a.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Sl(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);if(r&&r.outlet){const a=r.outlet.detach(),l=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Sl(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=Sl(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new GA(o.value.snapshot))}),n.children.length&&this.forwardEvent(new E2(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(MC(i),i===o)if(i.component){const a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,a.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const l=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),MC(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=Rf(i.snapshot);a.attachRef=null,a.route=i,a.injector=l,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,r)}}class rT{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Em{constructor(n,t){this.component=n,this.route=t}}function H2(e,n,t){const r=e._root;return Nf(r,n?n._root:null,t,[r.value])}function Ml(e,n){const t=Symbol(),r=n.get(e,t);return r===t?\"function\"!=typeof e||function bt(e){return null!==qa(e)}(e)?n.get(e):e:r}function Nf(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Sl(n);return e.children.forEach(a=>{(function j2(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=t?t.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function $2(e,n,t){if(\"function\"==typeof t)return t(e,n);switch(t){case\"pathParamsChange\":return!xa(e.url,n.url);case\"pathParamsOrQueryParamsChange\":return!xa(e.url,n.url)||!Fi(e.queryParams,n.queryParams);case\"always\":return!0;case\"paramsOrQueryParamsChange\":return!AC(e,n)||!Fi(e.queryParams,n.queryParams);default:return!AC(e,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new rT(r)):(o.data=a.data,o._resolvedData=a._resolvedData),Nf(e,n,o.component?l?l.children:null:t,r,i),c&&l&&l.outlet&&l.outlet.isActivated&&i.canDeactivateChecks.push(new Em(l.outlet.component,a))}else a&&xf(n,l,i),i.canActivateChecks.push(new rT(r)),Nf(e,null,o.component?l?l.children:null:t,r,i)})(a,o[a.value.outlet],t,r.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,l])=>xf(l,t.getContext(a),i)),i}function xf(e,n,t){const r=Sl(e),i=e.value;Object.entries(r).forEach(([o,a])=>{xf(a,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Em(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Of(e){return\"function\"==typeof e}function iT(e){return e instanceof dm||\"EmptyError\"===e?.name}const bm=Symbol(\"INITIAL_VALUE\");function Al(){return Kn(e=>hC(e.map(n=>n.pipe(ui(1),function PV(...e){const n=Ls(e);return gt((t,r)=>{(n?pC(e,t,n):pC(e,t)).subscribe(r)})}(bm)))).pipe(Ie(n=>{for(const t of n)if(!0!==t){if(t===bm)return bm;if(!1===t||t instanceof bl)return t}return!0}),wo(n=>n!==bm),ui(1)))}function oT(e){return function Om(...e){return Bf(e)}(gn(n=>{if(Oa(n))throw JA(0,n)}),Ie(n=>!0===n))}class Im{constructor(n){this.segmentGroup=n||null}}class sT{constructor(n){this.urlTree=n}}function Tl(e){return yf(new Im(e))}function aT(e){return yf(new sT(e))}class lB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new L(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return X(r);if(i.numberOfChildren>1||!i.children[he])return yf(new L(4e3,!1));i=i.children[he]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new bl(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if(\"string\"==typeof o&&o.startsWith(\":\")){const l=o.substring(1);r[i]=t[l]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let a={};return Object.entries(t.children).forEach(([l,c])=>{a[l]=this.createSegmentGroup(n,c,r,i)}),new ke(o,a)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(\":\")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new L(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const xC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function cB(e,n,t,r,i){const o=OC(e,n,t);return o.matched?(r=function O2(e,n){return e.providers&&!e._injector&&(e._injector=j_(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function sB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?X(i.map(a=>{const l=Ml(a,e);return bs(function Y2(e){return e&&Of(e.canMatch)}(l)?l.canMatch(n,t):e.runInContext(()=>l(n,t)))})).pipe(Al(),oT()):X(!0)}(r,n,t).pipe(Ie(a=>!0===a?o:{...xC}))):X(o)}function OC(e,n,t){if(\"\"===n.path)return\"full\"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...xC}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||$V)(t,e,n);if(!i)return{...xC};const o={};Object.entries(i.posParams??{}).forEach(([l,c])=>{o[l]=c.path});const a=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function uT(e,n,t,r){return t.length>0&&function hB(e,n,t){return t.some(r=>Sm(e,n,r)&&ni(r)!==he)}(e,t,r)?{segmentGroup:new ke(n,fB(r,new ke(t,e.children))),slicedSegments:[]}:0===t.length&&function pB(e,n,t){return t.some(r=>Sm(e,n,r))}(e,t,r)?{segmentGroup:new ke(e.segments,dB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ke(e.segments,e.children),slicedSegments:t}}function dB(e,n,t,r,i){const o={};for(const a of r)if(Sm(e,t,a)&&!i[ni(a)]){const l=new ke([],{});o[ni(a)]=l}return{...i,...o}}function fB(e,n){const t={};t[he]=n;for(const r of e)if(\"\"===r.path&&ni(r)!==he){const i=new ke([],{});t[ni(r)]=i}return t}function Sm(e,n,t){return(!(e.hasChildren()||n.length>0)||\"full\"!==t.pathMatch)&&\"\"===t.path}class yB{constructor(n,t,r,i,o,a,l){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=l,this.allowRedirects=!0,this.applyRedirects=new lB(this.urlSerializer,this.urlTree)}noMatchError(n){return new L(4002,!1)}recognize(){const n=uT(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,he).pipe(Na(t=>{if(t instanceof sT)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Im?this.noMatchError(t):t}),Ie(t=>{const r=new Cm([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),i=new Eo(r,t),o=new QA(\"\",i),a=function l2(e,n,t=null,r=null){return kA(LA(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root),{state:o,tree:a}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,he).pipe(Na(r=>{throw r instanceof Im?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=YA(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))\"primary\"===o?i.unshift(o):i.push(o);return lt(i).pipe(wl(o=>{const a=r.children[o],l=function k2(e,n){const t=e.filter(r=>ni(r)===n);return t.push(...e.filter(r=>ni(r)!==n)),t}(t,o);return this.processSegmentGroup(n,l,a,o)}),function VV(e,n){return gt(function kV(e,n,t,r,i){return(o,a)=>{let l=t,c=n,f=0;o.subscribe(new ut(a,p=>{const m=f++;c=l?e(c,p,m):(l=!0,p),r&&a.next(c)},i&&(()=>{l&&a.next(c),a.complete()})))}}(e,n,arguments.length>=2,!0))}((o,a)=>(o.push(...a),o)),fm(null),function BV(e,n){const t=arguments.length>=2;return r=>r.pipe(e?wo((i,o)=>e(i,o,r)):oi,mC(1),t?fm(n):EA(()=>new dm))}(),Et(o=>{if(null===o)return Tl(r);const a=lT(o);return function _B(e){e.sort((n,t)=>n.value.outlet===he?-1:t.value.outlet===he?1:n.value.outlet.localeCompare(t.value.outlet))}(a),X(a)}))}processSegment(n,t,r,i,o,a){return lt(t).pipe(wl(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,r,i,o,a).pipe(Na(c=>{if(c instanceof Im)return X(null);throw c}))),Ra(l=>!!l),Na(l=>{if(iT(l))return function mB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?X([]):Tl(r);throw l}))}processSegmentAgainstRoute(n,t,r,i,o,a,l){return function gB(e,n,t,r){return!!(ni(e)===r||r!==he&&Sm(n,t,e))&&(\"**\"===e.path||OC(n,e,t).matched)}(r,i,o,a)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,a,l):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,a):Tl(i):Tl(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,a){return\"**\"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith(\"/\")?aT(o):this.applyRedirects.lineralizeSegments(r,o).pipe(Et(a=>{const l=new ke(a,{});return this.processSegment(n,t,l,a,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,a){const{matched:l,consumedSegments:c,remainingSegments:f,positionalParamSegments:p}=OC(t,i,o);if(!l)return Tl(t);const m=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,p);return i.redirectTo.startsWith(\"/\")?aT(m):this.applyRedirects.lineralizeSegments(i,m).pipe(Et(_=>this.processSegment(n,r,t,_.concat(f),a,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,a){let l;if(\"**\"===r.path){const c=i.length>0?IA(i).parameters:{};l=X({snapshot:new Cm(i,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,cT(r),ni(r),r.component??r._loadedComponent??null,r,dT(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else l=cB(t,r,i,n).pipe(Ie(({matched:c,consumedSegments:f,remainingSegments:p,parameters:m})=>c?{snapshot:new Cm(f,m,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,cT(r),ni(r),r.component??r._loadedComponent??null,r,dT(r)),consumedSegments:f,remainingSegments:p}:null));return l.pipe(Kn(c=>null===c?Tl(t):this.getChildConfig(n=r._injector??n,r,i).pipe(Kn(({routes:f})=>{const p=r._loadedInjector??n,{snapshot:m,consumedSegments:_,remainingSegments:C}=c,{segmentGroup:I,slicedSegments:M}=uT(t,_,C,f);if(0===M.length&&I.hasChildren())return this.processChildren(p,f,I).pipe(Ie(V=>null===V?null:[new Eo(m,V)]));if(0===f.length&&0===M.length)return X([new Eo(m,[])]);const R=ni(r)===o;return this.processSegment(p,f,I,M,R?he:o,!0).pipe(Ie(V=>[new Eo(m,V)]))}))))}getChildConfig(n,t,r){return t.children?X({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?X({routes:t._loadedRoutes,injector:t._loadedInjector}):function oB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?X(!0):X(i.map(a=>{const l=Ml(a,e);return bs(function z2(e){return e&&Of(e.canLoad)}(l)?l.canLoad(n,t):e.runInContext(()=>l(n,t)))})).pipe(Al(),oT())}(n,t,r).pipe(Et(i=>i?this.configLoader.loadChildren(n,t).pipe(gn(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function uB(e){return yf(eT(!1,3))}())):X({routes:[],injector:n})}}function DB(e){const n=e.value.routeConfig;return n&&\"\"===n.path}function lT(e){const n=[],t=new Set;for(const r of e){if(!DB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=lT(r.children);n.push(new Eo(r.value,i))}return n.filter(r=>!t.has(r))}function cT(e){return e.data||{}}function dT(e){return e.resolve||{}}function fT(e){return\"string\"==typeof e.title||null===e.title}function FC(e){return Kn(n=>{const t=e(n);return t?lt(t).pipe(Ie(()=>n)):X(n)})}const Rl=new $(\"ROUTES\");let PC=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=U(UI)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return X(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=bs(t.loadComponent()).pipe(Ie(hT),gn(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),_f(()=>{this.componentLoaders.delete(t)})),i=new wA(r,()=>new xn).pipe(gC());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return X({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function MB(e,n,t,r){return bs(e.loadChildren()).pipe(Ie(hT),Et(i=>i instanceof qb||Array.isArray(i)?X(i):lt(n.compileModuleAsync(i))),Ie(i=>{r&&r(e);let o,a,l=!1;return Array.isArray(i)?(a=i,!0):(o=i.create(t).injector,a=o.get(Rl,[],{optional:!0,self:!0}).flat()),{routes:a.map(NC),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(_f(()=>{this.childrenLoaders.delete(r)})),a=new wA(o,()=>new xn).pipe(gC());return this.childrenLoaders.set(r,a),a}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function hT(e){return function AB(e){return e&&\"object\"==typeof e&&\"default\"in e}(e)?e.default:e}let Mm=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new xn,this.transitionAbortSubject=new xn,this.configLoader=U(PC),this.environmentInjector=U(Sn),this.urlSerializer=U(wf),this.rootContexts=U(Af),this.inputBindingEnabled=null!==U(wm,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>X(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new C2(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new D2(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new Pn({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:t.urlHandlingStrategy.extract(r),urlAfterRedirects:t.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Sf,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(wo(o=>0!==o.id),Ie(o=>({...o,extractedUrl:t.urlHandlingStrategy.extract(o.rawUrl)})),Kn(o=>{this.currentTransition=o;let a=!1,l=!1;return X(o).pipe(gn(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Kn(c=>{const f=c.currentBrowserUrl.toString(),p=!t.navigated||c.extractedUrl.toString()!==f||f!==c.currentUrlTree.toString();if(!p&&\"reload\"!==(c.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const _=\"\";return this.events.next(new Il(c.id,this.urlSerializer.serialize(c.rawUrl),_,0)),c.resolve(null),Qn}if(t.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return X(c).pipe(Kn(_=>{const C=this.transitions?.getValue();return this.events.next(new _m(_.id,this.urlSerializer.serialize(_.extractedUrl),_.source,_.restoredState)),C!==this.transitions?.getValue()?Qn:Promise.resolve(_)}),function CB(e,n,t,r,i,o){return Et(a=>function vB(e,n,t,r,i,o,a=\"emptyOnly\"){return new yB(e,n,t,r,i,a,o).recognize()}(e,n,t,r,a.extractedUrl,i,o).pipe(Ie(({state:l,tree:c})=>({...a,targetSnapshot:l,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),gn(_=>{o.targetSnapshot=_.targetSnapshot,o.urlAfterRedirects=_.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:_.urlAfterRedirects};const C=new $A(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects),_.targetSnapshot);this.events.next(C)}));if(p&&t.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:_,extractedUrl:C,source:I,restoredState:M,extras:R}=c,V=new _m(_,this.urlSerializer.serialize(C),I,M);this.events.next(V);const T=ZA(0,this.rootComponentType).snapshot;return this.currentTransition=o={...c,targetSnapshot:T,urlAfterRedirects:C,extras:{...R,skipLocationChange:!1,replaceUrl:!1}},X(o)}{const _=\"\";return this.events.next(new Il(c.id,this.urlSerializer.serialize(c.extractedUrl),_,1)),c.resolve(null),Qn}}),gn(c=>{const f=new m2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)}),Ie(c=>(this.currentTransition=o={...c,guards:H2(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},o)),function K2(e,n){return Et(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=t;return 0===a.length&&0===o.length?X({...t,guardsResult:!0}):function X2(e,n,t,r){return lt(e).pipe(Et(i=>function iB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?X(o.map(l=>{const c=Rf(n)??i,f=Ml(l,c);return bs(function Z2(e){return e&&Of(e.canDeactivate)}(f)?f.canDeactivate(e,n,t,r):c.runInContext(()=>f(e,n,t,r))).pipe(Ra())})).pipe(Al()):X(!0)}(i.component,i.route,t,n,r)),Ra(i=>!0!==i,!0))}(a,r,i,e).pipe(Et(l=>l&&function G2(e){return\"boolean\"==typeof e}(l)?function J2(e,n,t,r){return lt(n).pipe(wl(i=>pC(function tB(e,n){return null!==e&&n&&n(new w2(e)),X(!0)}(i.route.parent,r),function eB(e,n){return null!==e&&n&&n(new b2(e)),X(!0)}(i.route,r),function rB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function U2(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(a)).filter(a=>null!==a).map(a=>CA(()=>X(a.guards.map(c=>{const f=Rf(a.node)??t,p=Ml(c,f);return bs(function q2(e){return e&&Of(e.canActivateChild)}(p)?p.canActivateChild(r,e):f.runInContext(()=>p(r,e))).pipe(Ra())})).pipe(Al())));return X(o).pipe(Al())}(e,i.path,t),function nB(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return X(!0);const i=r.map(o=>CA(()=>{const a=Rf(n)??t,l=Ml(o,a);return bs(function W2(e){return e&&Of(e.canActivate)}(l)?l.canActivate(n,e):a.runInContext(()=>l(n,e))).pipe(Ra())}));return X(i).pipe(Al())}(e,i.route,t))),Ra(i=>!0!==i,!0))}(r,o,e,n):X(l)),Ie(l=>({...t,guardsResult:l})))})}(this.environmentInjector,c=>this.events.next(c)),gn(c=>{if(o.guardsResult=c.guardsResult,Oa(c.guardsResult))throw JA(0,c.guardsResult);const f=new v2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(f)}),wo(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,\"\",3),!1)),FC(c=>{if(c.guards.canActivateChecks.length)return X(c).pipe(gn(f=>{const p=new y2(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}),Kn(f=>{let p=!1;return X(f).pipe(function wB(e,n){return Et(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return X(t);let o=0;return lt(i).pipe(wl(a=>function EB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!fT(i)&&(o[Df]=i.title),function bB(e,n,t,r){const i=function IB(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return X({});const o={};return lt(i).pipe(Et(a=>function SB(e,n,t,r){const i=Rf(n)??r,o=Ml(e,i);return bs(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[a],n,t,r).pipe(Ra(),gn(l=>{o[a]=l}))),mC(1),function HV(e){return Ie(()=>e)}(o),Na(a=>iT(a)?Qn:yf(a)))}(o,e,n,r).pipe(Ie(a=>(e._resolvedData=a,e.data=YA(e,t).resolve,i&&fT(i)&&(e.data[Df]=i.title),null)))}(a.route,r,e,n)),gn(()=>o++),mC(1),Et(a=>o===i.length?X(t):Qn))})}(t.paramsInheritanceStrategy,this.environmentInjector),gn({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(f,\"\",2)}}))}),gn(f=>{const p=new _2(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}))}),FC(c=>{const f=p=>{const m=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(p.routeConfig).pipe(gn(_=>{p.component=_}),Ie(()=>{})));for(const _ of p.children)m.push(...f(_));return m};return hC(f(c.targetSnapshot.root)).pipe(fm(),ui(1))}),FC(()=>this.afterPreactivation()),Ie(c=>{const f=function T2(e,n,t){const r=Tf(e,n._root,t?t._root:void 0);return new qA(r,n)}(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o={...c,targetRouterState:f},o}),gn(()=>{this.events.next(new wC)}),((e,n,t,r)=>Ie(i=>(new B2(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ui(1),gn({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Is(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),t.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),function UV(e){return gt((n,t)=>{Yn(e).subscribe(new ut(t,()=>t.complete(),So)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(gn(c=>{throw c}))),_f(()=>{a||l||this.cancelNavigationTransition(o,\"\",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Na(c=>{if(l=!0,tT(c))this.events.next(new Mf(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),function x2(e){return tT(e)&&Oa(e.url)}(c)?this.events.next(new EC(c.url)):o.resolve(!1);else{this.events.next(new Dm(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(c))}catch(f){o.reject(f)}}return Qn}))}))}cancelNavigationTransition(t,r,i){const o=new Mf(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function pT(e){return e!==Sf}let gT=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===he);return r}getResolvedTitleForRoute(t){return t.data[Df]}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return U(TB)},providedIn:\"root\"})}return e})(),TB=(()=>{class e extends gT{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(lM))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),RB=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return U(xB)},providedIn:\"root\"})}return e})();class NB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let xB=(()=>{class e extends NB{static#e=this.\\u0275fac=function(){let t;return function(i){return(t||(t=function Ct(e){return Br(()=>{const n=e.prototype.constructor,t=n[xt]||qc(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[xt]||qc(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(e)))(i||e)}}();static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const Am=new $(\"\",{providedIn:\"root\",factory:()=>({})});let OB=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:function(){return U(FB)},providedIn:\"root\"})}return e})(),FB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();var Ff=function(e){return e[e.COMPLETE=0]=\"COMPLETE\",e[e.FAILED=1]=\"FAILED\",e[e.REDIRECTING=2]=\"REDIRECTING\",e}(Ff||{});function mT(e,n){e.events.pipe(wo(t=>t instanceof Is||t instanceof Mf||t instanceof Dm||t instanceof Il),Ie(t=>t instanceof Is||t instanceof Il?Ff.COMPLETE:t instanceof Mf&&(0===t.code||1===t.code)?Ff.REDIRECTING:Ff.FAILED),wo(t=>t!==Ff.REDIRECTING),ui(1)).subscribe(()=>{n()})}function PB(e){throw e}function LB(e,n,t){return n.parse(\"/\")}const kB={paths:\"exact\",fragment:\"ignored\",matrixParams:\"ignored\",queryParams:\"exact\"},VB={paths:\"subset\",fragment:\"ignored\",matrixParams:\"ignored\",queryParams:\"subset\"};let pr=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return\"computed\"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=U(HI),this.isNgZoneEnabled=!1,this._events=new xn,this.options=U(Am,{optional:!0})||{},this.pendingTasks=U(Ng),this.errorHandler=this.options.errorHandler||PB,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||LB,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=U(OB),this.routeReuseStrategy=U(RB),this.titleStrategy=U(gT),this.onSameUrlNavigation=this.options.onSameUrlNavigation||\"ignore\",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||\"emptyOnly\",this.urlUpdateStrategy=this.options.urlUpdateStrategy||\"deferred\",this.canceledNavigationResolution=this.options.canceledNavigationResolution||\"replace\",this.config=U(Rl,{optional:!0})?.flat()??[],this.navigationTransitions=U(Mm),this.urlSerializer=U(wf),this.location=U(wD),this.componentInputBindingEnabled=!!U(wm,{optional:!0}),this.eventsSubscription=new mn,this.isNgZoneEnabled=U(Ze)instanceof Ze&&Ze.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new bl,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ZA(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:i}=this.navigationTransitions;if(null===i)return void(vT(r)&&this._events.next(r));if(r instanceof _m)pT(i.source)&&(this.browserUrlTree=i.extractedUrl);else if(r instanceof Il)this.rawUrlTree=i.rawUrl;else if(r instanceof $A){if(\"eager\"===this.urlUpdateStrategy){if(!i.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl);this.setBrowserUrl(o,i)}this.browserUrlTree=i.urlAfterRedirects}}else if(r instanceof wC)this.currentUrlTree=i.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl),this.routerState=i.targetRouterState,\"deferred\"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i),this.browserUrlTree=i.urlAfterRedirects);else if(r instanceof Mf)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(i);else if(r instanceof EC){const o=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:\"eager\"===this.urlUpdateStrategy||pT(i.source)};this.scheduleNavigation(o,Sf,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}r instanceof Dm&&this.restoreHistory(i,!0),r instanceof Is&&(this.navigated=!0),vT(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Sf,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r=\"popstate\"===t.type?\"popstate\":\"hashchange\";\"popstate\"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},a=i?.navigationId?i:null;if(i){const c={...i};delete c.navigationId,delete c.\\u0275routerPageId,0!==Object.keys(c).length&&(o.state=c)}const l=this.parseUrl(t);this.scheduleNavigation(l,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(NC),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,f=c?this.currentUrlTree.fragment:a;let m,p=null;switch(l){case\"merge\":p={...this.currentUrlTree.queryParams,...o};break;case\"preserve\":p=this.currentUrlTree.queryParams;break;default:p=o||null}null!==p&&(p=this.removeEmptyProps(p));try{m=LA(i?i.snapshot:this.routerState.snapshot.root)}catch{(\"string\"!=typeof t[0]||!t[0].startsWith(\"/\"))&&(t=[]),m=this.currentUrlTree.root}return kA(m,t,p,f??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Oa(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Sf,null,r)}navigate(t,r={skipLocationChange:!1}){return function BB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,a){if(this.disposed)return Promise.resolve(!1);let l,c,f;a?(l=a.resolve,c=a.reject,f=a.promise):f=new Promise((m,_)=>{l=m,c=_});const p=this.pendingTasks.add();return mT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:o,resolve:l,reject:c,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(m=>Promise.reject(m))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const a={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,\"\",a)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,\"\",o)}}restoreHistory(t,r=!1){if(\"computed\"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else\"replace\"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),\"\",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return\"computed\"===this.canceledNavigationResolution?{navigationId:t,\\u0275routerPageId:r}:{navigationId:t}}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function vT(e){return!(e instanceof wC||e instanceof EC)}class yT{}let jB=(()=>{class e{constructor(t,r,i,o,a){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(wo(t=>t instanceof Is),wl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=j_(o.providers,t,`Route: ${o.path}`));const a=o._injector??t,l=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(l,o.children??o._loadedRoutes))}return lt(i).pipe(To())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):X(null);const o=i.pipe(Et(a=>null===a?X(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));return r.loadComponent&&!r._loadedComponent?lt([o,this.loader.loadComponent(r)]).pipe(To()):o})}static#e=this.\\u0275fac=function(r){return new(r||e)(z(pr),z(UI),z(Sn),z(yT),z(PC))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const kC=new $(\"\");let _T=(()=>{class e{constructor(t,r,i,o,a={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=a,this.lastId=0,this.lastSource=\"imperative\",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||\"disabled\",a.anchorScrolling=a.anchorScrolling||\"disabled\"}init(){\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration(\"manual\"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof _m?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Is?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Il&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof zA&&(t.position?\"top\"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):\"enabled\"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&\"enabled\"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zA(t,\"popstate\"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\\u0275fac=function(r){!function OE(){throw new Error(\"invalid\")}()};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();function bo(e,n){return{\\u0275kind:e,\\u0275providers:n}}function CT(){const e=U(cr);return n=>{const t=e.get(vl);if(n!==t.components[0])return;const r=e.get(pr),i=e.get(wT);1===e.get(VC)&&r.initialNavigation(),e.get(ET,null,ge.Optional)?.setUpPreloading(),e.get(kC,null,ge.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const wT=new $(\"\",{factory:()=>new xn}),VC=new $(\"\",{providedIn:\"root\",factory:()=>1}),ET=new $(\"\");function WB(e){return bo(0,[{provide:ET,useExisting:jB},{provide:yT,useExisting:e}])}const bT=new $(\"ROUTER_FORROOT_GUARD\"),ZB=[wD,{provide:wf,useClass:vC},pr,Af,{provide:Fa,useFactory:function DT(e){return e.routerState.root},deps:[pr]},PC,[]];function YB(){return new ZI(\"Router\",pr)}let QB=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[ZB,[],{provide:Rl,multi:!0,useValue:t},{provide:bT,useFactory:eH,deps:[[pr,new Tu,new Ru]]},{provide:Am,useValue:r||{}},r?.useHash?{provide:Ma,useClass:uP}:{provide:Ma,useClass:bS},{provide:kC,useFactory:()=>{const e=U(IL),n=U(Ze),t=U(Am),r=U(Mm),i=U(wf);return t.scrollOffset&&e.setOffset(t.scrollOffset),new _T(i,r,e,n,t)}},r?.preloadingStrategy?WB(r.preloadingStrategy).\\u0275providers:[],{provide:ZI,multi:!0,useFactory:YB},r?.initialNavigation?tH(r):[],r?.bindToComponentInputs?bo(8,[XA,{provide:wm,useExisting:XA}]).\\u0275providers:[],[{provide:IT,useFactory:CT},{provide:fD,multi:!0,useExisting:IT}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Rl,multi:!0,useValue:t}]}}static#e=this.\\u0275fac=function(r){return new(r||e)(z(bT,8))};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({})}return e})();function eH(e){return\"guarded\"}function tH(e){return[\"disabled\"===e.initialNavigation?bo(3,[{provide:iD,multi:!0,useFactory:()=>{const n=U(pr);return()=>{n.setUpLocationChangeListener()}}},{provide:VC,useValue:2}]).\\u0275providers:[],\"enabledBlocking\"===e.initialNavigation?bo(2,[{provide:VC,useValue:0},{provide:iD,multi:!0,deps:[cr],useFactory:n=>{const t=n.get(sP,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(pr),o=n.get(wT);mT(i,()=>{r(!0)}),n.get(Mm).afterPreactivation=()=>(r(!0),o.closed?X(void 0):o),i.initialNavigation()}))}}]).\\u0275providers:[]]}const IT=new $(\"\");class Tm{}class Rm{}class Li{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?\"string\"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split(\"\\n\").forEach(t=>{const r=t.indexOf(\":\");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),a=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<\"u\"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:\"a\"})}set(n,t){return this.clone({name:n,value:t,op:\"s\"})}delete(n,t){return this.clone({name:n,value:t,op:\"d\"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Li?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Li;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Li?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case\"a\":case\"s\":let r=n.value;if(\"string\"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=(\"a\"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case\"d\":const o=n.value;if(o){let a=this.headers.get(t);if(!a)return;a=a.filter(l=>-1===o.indexOf(l)),0===a.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class rH{encodeKey(n){return ST(n)}encodeValue(n){return ST(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const oH=/%(\\d[a-f0-9])/gi,sH={40:\"@\",\"3A\":\":\",24:\"$\",\"2C\":\",\",\"3B\":\";\",\"3D\":\"=\",\"3F\":\"?\",\"2F\":\"/\"};function ST(e){return encodeURIComponent(e).replace(oH,(n,t)=>sH[t]??n)}function Nm(e){return`${e}`}class Ss{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new rH,n.fromString){if(n.fromObject)throw new Error(\"Cannot specify both fromString and fromObject.\");this.map=function iH(e,n){const t=new Map;return e.length>0&&e.replace(/^\\?/,\"\").split(\"&\").forEach(i=>{const o=i.indexOf(\"=\"),[a,l]=-1==o?[n.decodeKey(i),\"\"]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(a)||[];c.push(l),t.set(a,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Nm):[Nm(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:\"a\"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:\"a\"})}):t.push({param:r,value:i,op:\"a\"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:\"s\"})}delete(n,t){return this.clone({param:n,value:t,op:\"d\"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+\"=\"+this.encoder.encodeValue(r)).join(\"&\")}).filter(n=>\"\"!==n).join(\"&\")}clone(n){const t=new Ss({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case\"a\":case\"s\":const t=(\"a\"===n.op?this.map.get(n.param):void 0)||[];t.push(Nm(n.value)),this.map.set(n.param,t);break;case\"d\":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Nm(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class aH{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function MT(e){return typeof ArrayBuffer<\"u\"&&e instanceof ArrayBuffer}function AT(e){return typeof Blob<\"u\"&&e instanceof Blob}function TT(e){return typeof FormData<\"u\"&&e instanceof FormData}class Pf{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType=\"json\",this.method=n.toUpperCase(),function uH(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,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Li),this.context||(this.context=new aH),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=t;else{const l=t.indexOf(\"?\");this.urlWithParams=t+(-1===l?\"?\":lm.set(_,n.setHeaders[_]),c)),n.setParams&&(f=Object.keys(n.setParams).reduce((m,_)=>m.set(_,n.setParams[_]),f)),new Pf(t,r,o,{params:f,headers:c,context:p,reportProgress:l,responseType:i,withCredentials:a})}}var Nl=function(e){return e[e.Sent=0]=\"Sent\",e[e.UploadProgress=1]=\"UploadProgress\",e[e.ResponseHeader=2]=\"ResponseHeader\",e[e.DownloadProgress=3]=\"DownloadProgress\",e[e.Response=4]=\"Response\",e[e.User=5]=\"User\",e}(Nl||{});class BC{constructor(n,t=200,r=\"OK\"){this.headers=n.headers||new Li,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class HC extends BC{constructor(n={}){super(n),this.type=Nl.ResponseHeader}clone(n={}){return new HC({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class xl extends BC{constructor(n={}){super(n),this.type=Nl.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new xl({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class RT extends BC{constructor(n){super(n,0,\"Unknown Error\"),this.name=\"HttpErrorResponse\",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||\"(unknown url)\"}`:`Http failure response for ${n.url||\"(unknown url)\"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function UC(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let NT=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Pf)o=t;else{let c,f;c=i.headers instanceof Li?i.headers:new Li(i.headers),i.params&&(f=i.params instanceof Ss?i.params:new Ss({fromObject:i.params})),o=new Pf(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:f,reportProgress:i.reportProgress,responseType:i.responseType||\"json\",withCredentials:i.withCredentials})}const a=X(o).pipe(wl(c=>this.handler.handle(c)));if(t instanceof Pf||\"events\"===i.observe)return a;const l=a.pipe(wo(c=>c instanceof xl));switch(i.observe||\"body\"){case\"body\":switch(o.responseType){case\"arraybuffer\":return l.pipe(Ie(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error(\"Response is not an ArrayBuffer.\");return c.body}));case\"blob\":return l.pipe(Ie(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error(\"Response is not a Blob.\");return c.body}));case\"text\":return l.pipe(Ie(c=>{if(null!==c.body&&\"string\"!=typeof c.body)throw new Error(\"Response is not a string.\");return c.body}));default:return l.pipe(Ie(c=>c.body))}case\"response\":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request(\"DELETE\",t,r)}get(t,r={}){return this.request(\"GET\",t,r)}head(t,r={}){return this.request(\"HEAD\",t,r)}jsonp(t,r){return this.request(\"JSONP\",t,{params:(new Ss).append(r,\"JSONP_CALLBACK\"),observe:\"body\",responseType:\"json\"})}options(t,r={}){return this.request(\"OPTIONS\",t,r)}patch(t,r,i={}){return this.request(\"PATCH\",t,UC(i,r))}post(t,r,i={}){return this.request(\"POST\",t,UC(i,r))}put(t,r,i={}){return this.request(\"PUT\",t,UC(i,r))}static#e=this.\\u0275fac=function(r){return new(r||e)(z(Tm))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();function FT(e,n){return n(e)}function dH(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const hH=new $(\"\"),Lf=new $(\"\"),PT=new $(\"\");function pH(){let e=null;return(n,t)=>{null===e&&(e=(U(hH,{optional:!0})??[]).reduceRight(dH,FT));const r=U(Ng),i=r.add();return e(n,t).pipe(_f(()=>r.remove(i)))}}let LT=(()=>{class e extends Tm{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=U(Ng)}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Lf),...this.injector.get(PT,[])]));this.chain=i.reduceRight((o,a)=>function fH(e,n,t){return(r,i)=>t.runInContext(()=>n(r,o=>e(o,i)))}(o,a,this.injector),FT)}const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(_f(()=>this.pendingTasks.remove(r)))}static#e=this.\\u0275fac=function(r){return new(r||e)(z(Rm),z(Sn))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const yH=/^\\)\\]\\}',?\\n/;let VT=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if(\"JSONP\"===t.method)throw new L(-2800,!1);const r=this.xhrFactory;return(r.\\u0275loadImpl?lt(r.\\u0275loadImpl()):X(null)).pipe(Kn(()=>new tt(o=>{const a=r.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((M,R)=>a.setRequestHeader(M,R.join(\",\"))),t.headers.has(\"Accept\")||a.setRequestHeader(\"Accept\",\"application/json, text/plain, */*\"),!t.headers.has(\"Content-Type\")){const M=t.detectContentTypeHeader();null!==M&&a.setRequestHeader(\"Content-Type\",M)}if(t.responseType){const M=t.responseType.toLowerCase();a.responseType=\"json\"!==M?M:\"text\"}const l=t.serializeBody();let c=null;const f=()=>{if(null!==c)return c;const M=a.statusText||\"OK\",R=new Li(a.getAllResponseHeaders()),V=function _H(e){return\"responseURL\"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader(\"X-Request-URL\"):null}(a)||t.url;return c=new HC({headers:R,status:a.status,statusText:M,url:V}),c},p=()=>{let{headers:M,status:R,statusText:V,url:T}=f(),j=null;204!==R&&(j=typeof a.response>\"u\"?a.responseText:a.response),0===R&&(R=j?200:0);let K=R>=200&&R<300;if(\"json\"===t.responseType&&\"string\"==typeof j){const Ce=j;j=j.replace(yH,\"\");try{j=\"\"!==j?JSON.parse(j):null}catch(Ut){j=Ce,K&&(K=!1,j={error:Ut,text:j})}}K?(o.next(new xl({body:j,headers:M,status:R,statusText:V,url:T||void 0})),o.complete()):o.error(new RT({error:j,headers:M,status:R,statusText:V,url:T||void 0}))},m=M=>{const{url:R}=f(),V=new RT({error:M,status:a.status||0,statusText:a.statusText||\"Unknown Error\",url:R||void 0});o.error(V)};let _=!1;const C=M=>{_||(o.next(f()),_=!0);let R={type:Nl.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(R.total=M.total),\"text\"===t.responseType&&a.responseText&&(R.partialText=a.responseText),o.next(R)},I=M=>{let R={type:Nl.UploadProgress,loaded:M.loaded};M.lengthComputable&&(R.total=M.total),o.next(R)};return a.addEventListener(\"load\",p),a.addEventListener(\"error\",m),a.addEventListener(\"timeout\",m),a.addEventListener(\"abort\",m),t.reportProgress&&(a.addEventListener(\"progress\",C),null!==l&&a.upload&&a.upload.addEventListener(\"progress\",I)),a.send(l),o.next({type:Nl.Sent}),()=>{a.removeEventListener(\"error\",m),a.removeEventListener(\"abort\",m),a.removeEventListener(\"load\",p),a.removeEventListener(\"timeout\",m),t.reportProgress&&(a.removeEventListener(\"progress\",C),null!==l&&a.upload&&a.upload.removeEventListener(\"progress\",I)),a.readyState!==a.DONE&&a.abort()}})))}static#e=this.\\u0275fac=function(r){return new(r||e)(z(zS))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();const jC=new $(\"XSRF_ENABLED\"),BT=new $(\"XSRF_COOKIE_NAME\",{providedIn:\"root\",factory:()=>\"XSRF-TOKEN\"}),HT=new $(\"XSRF_HEADER_NAME\",{providedIn:\"root\",factory:()=>\"X-XSRF-TOKEN\"});class UT{}let wH=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString=\"\",this.lastToken=null,this.parseCount=0}getToken(){if(\"server\"===this.platform)return null;const t=this.doc.cookie||\"\";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=PS(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\\u0275fac=function(r){return new(r||e)(z(fr),z(po),z(BT))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})();function EH(e,n){const t=e.url.toLowerCase();if(!U(jC)||\"GET\"===e.method||\"HEAD\"===e.method||t.startsWith(\"http://\")||t.startsWith(\"https://\"))return n(e);const r=U(UT).getToken(),i=U(HT);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var Ms=function(e){return e[e.Interceptors=0]=\"Interceptors\",e[e.LegacyInterceptors=1]=\"LegacyInterceptors\",e[e.CustomXsrfConfiguration=2]=\"CustomXsrfConfiguration\",e[e.NoXsrfProtection=3]=\"NoXsrfProtection\",e[e.JsonpSupport=4]=\"JsonpSupport\",e[e.RequestsMadeViaParent=5]=\"RequestsMadeViaParent\",e[e.Fetch=6]=\"Fetch\",e}(Ms||{});function bH(...e){const n=[NT,VT,LT,{provide:Tm,useExisting:LT},{provide:Rm,useExisting:VT},{provide:Lf,useValue:EH,multi:!0},{provide:jC,useValue:!0},{provide:UT,useClass:wH}];for(const t of e)n.push(...t.\\u0275providers);return function Md(e){return{\\u0275providers:e}}(n)}const jT=new $(\"LEGACY_INTERCEPTOR_FN\");function IH(){return function Pa(e,n){return{\\u0275kind:e,\\u0275providers:n}}(Ms.LegacyInterceptors,[{provide:jT,useFactory:pH},{provide:Lf,useExisting:jT,multi:!0}])}let SH=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e});static#n=this.\\u0275inj=Ln({providers:[bH(IH())]})}return e})(),xH=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-root\"]],decls:1,vars:0,template:function(r,i){1&r&&Kt(0,\"router-outlet\")},dependencies:[TC],encapsulation:2})}return e})();var xr=Ol(990);let kf=(()=>{class e{constructor(t){this.locale=t,this.epiImport=window.employeeListAppInput,Object.keys(this.epiImport).forEach(r=>{this.epiImport[r]=this.decodeHTML(this.epiImport[r])})}isMobile(){return document.documentElement.clientWidth<992}formatDate(t,r){return AS(t,r,this.locale)}isEqualDate(t,r){return t.getFullYear()===r.getFullYear()&&t.getMonth()===r.getMonth()&&t.getDate()===r.getDate()}decodeHTML(t){const r=document.createElement(\"div\");return r.innerHTML=t,r.innerText}sanitarize(t){const i={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\",\"`\":\"&grave\"};return(t||\"\").replace(/[&<>\"'/]/gi,a=>i[a])}static#e=this.\\u0275fac=function(r){return new(r||e)(z(xi))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})(),GC=(()=>{class e{constructor(t){this.utilityService=t,this.selectedFilters=[],this.availableFilters=[],this.onSelectedFiltersChanged=new xn}removeAll(){this.selectedFilters=(0,xr.remove)(this.selectedFilters,()=>!0),this.onSelectedFiltersChanged.next(this.selectedFilters)}filterAdded(t,r){this.selectedFilters.push(t),r.Hidden=!0,this.onSelectedFiltersChanged.next(this.selectedFilters)}filterRemoved(t){const r=(0,xr.remove)(this.selectedFilters,i=>i.Id===t.Id);(0,xr.find)(this.availableFilters,i=>i.Id===t.FilterGroupId).Hidden=!1,r.length>0&&this.onSelectedFiltersChanged.next(this.selectedFilters)}filterGroupRemoved(t,r=!1){const i=(0,xr.remove)(this.selectedFilters,o=>o.FilterGroupId===t.Id);(0,xr.find)(this.availableFilters,o=>o.Id===t.Id).Hidden=!1,i.length>0&&!r&&this.onSelectedFiltersChanged.next(this.selectedFilters)}updateFilterGroupVisibility(){(0,xr.forEach)(this.selectedFilters,t=>{(0,xr.find)(this.availableFilters,r=>r.Id===t.FilterGroupId).Hidden=!0})}filtersReadable2(){if(0===this.selectedFilters.length)return null;const t=this.utilityService.epiImport.andWord,r=[];let i=null;return(0,xr.forEach)(this.selectedFilters,o=>{r.push(\"'\"+o.Name.toLowerCase()+\"'\")}),1===r.length?i=r[0]:r.length>1&&(i=r.splice(0,r.length-1).join(\", \").toString(),i+=\", \"+t+\" \"+r[r.length-1]),i}setSelectedFilters(t){this.selectedFilters=t,this.onSelectedFiltersChanged.next(this.selectedFilters)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(kf))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})(),zT=(()=>{class e{constructor(t){this.http=t}search(t){return this.http.get(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(z(NT))};static#t=this.\\u0275prov=q({token:e,factory:e.\\u0275fac})}return e})(),WT=(()=>{class e{ngOnInit(){this.radius=this.diameter/2}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-circle\"]],inputs:{diameter:\"diameter\",color:\"color\"},decls:2,vars:6,template:function(r,i){1&r&&(function kc(){re.lFrame.currentNamespace=\"svg\"}(),Ye(0,\"svg\"),Kt(1,\"circle\"),$e()),2&r&&(Tr(\"width\",i.diameter)(\"height\",i.diameter),it(1),Tr(\"cx\",i.radius)(\"cy\",i.radius)(\"r\",i.radius)(\"fill\",i.color))},encapsulation:2})}return e})();function LH(e,n){1&e&&(Ye(0,\"div\",3)(1,\"div\",4),Kt(2,\"app-circle\",5),$e(),Ye(3,\"div\",6),Kt(4,\"app-circle\",7),$e(),Ye(5,\"div\",8),Kt(6,\"app-circle\",9),$e()())}let kH=(()=>{class e{constructor(){this.filterSelected=new at,this.isBlocking=!1}filterAdded(){this.isBlocking||this.filterSelected.emit(this.item)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-filter-item\"]],inputs:{item:\"item\",isActive:\"isActive\",isBlocking:\"isBlocking\"},outputs:{filterSelected:\"filterSelected\"},decls:6,vars:4,consts:[[\"class\",\"search-filter__active-filter-icon\",4,\"ngIf\"],[3,\"title\",\"click\"],[1,\"search-filter__item--count\"],[1,\"search-filter__active-filter-icon\"],[1,\"d-none\",\"d-sm-none\",\"d-md-none\",\"d-lg-block\"],[\"diameter\",\"12\",\"color\",\"#4E4E4E\"],[1,\"d-none\",\"d-sm-none\",\"d-md-block\",\"d-lg-none\"],[\"diameter\",\"20\",\"color\",\"#4E4E4E\"],[1,\"d-block\",\"d-sm-block\",\"d-md-none\",\"d-lg-none\"],[\"diameter\",\"14\",\"color\",\"#4E4E4E\"]],template:function(r,i){1&r&&(gs(0,LH,7,0,\"div\",0),Ye(1,\"button\",1),Xt(\"click\",function(){return i.filterAdded()}),Ye(2,\"span\"),Ea(3),$e(),Ye(4,\"span\",2),Ea(5),$e()()),2&r&&(Ht(\"ngIf\",i.isActive),it(1),Dg(\"title\",i.item.Name),it(2),vs(\"\",i.item.Name,\" \"),it(2),vs(\"(\",i.item.Count,\")\"))},dependencies:[Kg,WT],encapsulation:2})}return e})();function VH(e,n){if(1&e&&(Ye(0,\"span\",12),Ea(1),$e()),2&e){const t=dl();it(1),vs(\" (\",t.activeFilter.Name,\") \")}}function BH(e,n){if(1&e){const t=function I0(){return F()}();Ye(0,\"li\",13)(1,\"app-filter-item\",14),Xt(\"filterSelected\",function(i){return function sn(e){return re.lFrame.contextLView=e,e[We]}(t),function jr(e){return re.lFrame.contextLView=null,e}(dl().onFilterSelected(i))}),$e()()}if(2&e){const t=n.$implicit,r=dl();it(1),Ht(\"item\",t)(\"isActive\",r.activeFilter&&r.activeFilter.Name===t.Name)(\"isBlocking\",r.isBlocking)}}const HH=function(e){return{\"show-by-height\":e}};let $H=(()=>{class e{get hasActiveFilter(){return this.activeFilter&&this.activeFilter.Name!==this.allText}constructor(t,r){this.utilityService=t,this.filterService=r,this.isBlocking=!1,this.hidingSublist=!0}ngOnInit(){this.allText=this.utilityService.epiImport.allText,this.updateActiveFilter(),this.selectedFilterChangedSub=this.filterService.onSelectedFiltersChanged.subscribe(()=>{this.updateActiveFilter()}),this.hideFilterSubList()}ngOnDestroy(){this.selectedFilterChangedSub&&this.selectedFilterChangedSub.unsubscribe()}toggleSubList(){this.utilityService.isMobile()&&(this.hidingSublist=!this.hidingSublist)}getFilterHeaderColor(){return this.hasActiveFilter?\"#4E4E4E\":\"#6FE9FF\"}searchAllGroupItems(){this.isBlocking||(this.hideFilterSubList(),this.filterGroup.Items.forEach(t=>this.filterService.filterRemoved(t)),this.activeFilter=null)}onFilterSelected(t){this.hideFilterSubList(),t.Name===this.allText?this.searchAllGroupItems():(this.filterService.filterGroupRemoved(this.filterGroup,!0),this.filterService.filterAdded(t,this.filterGroup))}hideFilterSubList(){this.hidingSublist=!!this.utilityService.isMobile()}updateActiveFilter(){if(this.activeFilter=this.filterService.selectedFilters.filter(t=>t.FilterGroupId===this.filterGroup.Id)[0],!this.activeFilter&&this.filterGroup.Items&&this.filterGroup.Items.length){const t=this.filterGroup.Items[0];t.Name===this.allText&&(this.activeFilter=t)}}onResize(){this.hideFilterSubList()}static#e=this.\\u0275fac=function(r){return new(r||e)(k(kf),k(GC))};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-filter-group\"]],hostBindings:function(r,i){1&r&&Xt(\"resize\",function(){return i.onResize()},0,yE)},inputs:{filterGroup:\"filterGroup\",isBlocking:\"isBlocking\",totalHit:\"totalHit\"},decls:14,vars:9,consts:[[1,\"search-filter__filter-types__item-header\",3,\"click\"],[1,\"search-filter__filter-group-icon\"],[1,\"d-block\",\"d-sm-block\",\"d-md-none\",\"d-lg-none\"],[\"diameter\",\"14\",3,\"color\"],[1,\"d-none\",\"d-sm-none\",\"d-md-block\",\"d-lg-none\"],[\"diameter\",\"20\",3,\"color\"],[3,\"title\"],[\"class\",\"d-inline d-sm-inline d-md-inline d-lg-none\",4,\"ngIf\"],[1,\"d-none\",\"d-sm-none\",\"d-md-none\",\"d-lg-block\",\"divider__btm-border__cyan\"],[1,\"d-block\",\"d-sm-block\",\"d-md-block\",\"d-lg-none\",\"divider__btm-border__light-gray\"],[1,\"search-filter__filter-types__item-sublist\",3,\"ngClass\"],[\"class\",\"search-filter__filter-types__item-sublist--item divider__btm-border__light-gray\",4,\"ngFor\",\"ngForOf\"],[1,\"d-inline\",\"d-sm-inline\",\"d-md-inline\",\"d-lg-none\"],[1,\"search-filter__filter-types__item-sublist--item\",\"divider__btm-border__light-gray\"],[3,\"item\",\"isActive\",\"isBlocking\",\"filterSelected\"]],template:function(r,i){1&r&&(Ye(0,\"div\",0),Xt(\"click\",function(){return i.toggleSubList()}),Ye(1,\"div\",1)(2,\"div\",2),Kt(3,\"app-circle\",3),$e(),Ye(4,\"div\",4),Kt(5,\"app-circle\",5),$e()(),Ye(6,\"h4\",6)(7,\"span\"),Ea(8),$e(),gs(9,VH,2,1,\"span\",7),$e()(),Kt(10,\"div\",8)(11,\"div\",9),Ye(12,\"ul\",10),gs(13,BH,2,3,\"li\",11),$e()),2&r&&(it(3),Ht(\"color\",i.getFilterHeaderColor()),it(2),Ht(\"color\",i.getFilterHeaderColor()),it(1),Dg(\"title\",i.filterGroup.Name),it(2),O_(i.filterGroup.Name),it(1),Ht(\"ngIf\",i.hasActiveFilter),it(3),Ht(\"ngClass\",nI(7,HH,!i.hidingSublist)),it(1),Ht(\"ngForOf\",i.filterGroup.Items))},dependencies:[kS,Qg,Kg,kH,WT],encapsulation:2})}return e})();function GH(e,n){if(1&e&&(Ye(0,\"li\",3),Kt(1,\"app-filter-group\",4),$e()),2&e){const t=n.$implicit,r=dl();it(1),Ht(\"filterGroup\",t)(\"totalHit\",r.totalHit)(\"isBlocking\",r.isBlocking)}}let zH=(()=>{class e{constructor(){this.filters=[],this.isBlocking=!1}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-employee-filter\"]],inputs:{filters:\"filters\",isBlocking:\"isBlocking\",totalHit:\"totalHit\"},decls:3,vars:1,consts:[[1,\"search-filter\"],[1,\"search-filter__filter-types\"],[\"class\",\"search-filter__filter-types__item\",4,\"ngFor\",\"ngForOf\"],[1,\"search-filter__filter-types__item\"],[3,\"filterGroup\",\"totalHit\",\"isBlocking\"]],template:function(r,i){1&r&&(Ye(0,\"div\",0)(1,\"ul\",1),gs(2,GH,2,3,\"li\",2),$e()()),2&r&&(it(2),Ht(\"ngForOf\",i.filters))},dependencies:[Qg,$H],encapsulation:2})}return e})(),WH=(()=>{class e{constructor(t){this.utilityService=t}ngOnInit(){this.emailText=this.utilityService.epiImport.emailText}static#e=this.\\u0275fac=function(r){return new(r||e)(k(kf))};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-employee-item\"]],inputs:{hit:\"hit\"},decls:10,vars:4,consts:[[1,\"resultlist__list-item\",\"divider__btm-border__light-gray\"],[1,\"resultlist__list-item__non-image\"],[1,\"resultlist__list-item__title\"],[1,\"resultlist__list-item__title__container\",\"resultlist__list-item__title__container--employee\"],[1,\"resultlist__list-item__title--main-header\"],[3,\"innerHtml\"],[1,\"resultlist__list-item__title--sub-header\"],[3,\"href\",\"innerHtml\"]],template:function(r,i){1&r&&(Ye(0,\"div\",0)(1,\"div\",1)(2,\"div\",2)(3,\"div\",3)(4,\"h3\",4),Kt(5,\"span\",5),$e(),Ye(6,\"div\",6)(7,\"span\"),Ea(8),$e(),Kt(9,\"a\",7),$e()()()()()),2&r&&(it(5),Ht(\"innerHtml\",i.hit.Name,Ed),it(3),vs(\"\",i.emailText,\": \"),it(1),Ht(\"href\",\"mailto:\"+i.hit.Email,bd)(\"innerHtml\",i.hit.Email,Ed))},encapsulation:2})}return e})();const qH=[\"resultList\"];function ZH(e,n){if(1&e&&Kt(0,\"app-employee-filter\",12),2&e){const t=dl();Ht(\"filters\",t.availableFilters)(\"totalHit\",t.allFilterCount)(\"isBlocking\",t.isSearching)}}function YH(e,n){if(1&e&&(Ye(0,\"li\"),Kt(1,\"app-employee-item\",13),$e()),2&e){const t=n.$implicit;it(1),Ht(\"hit\",t)}}function QH(e,n){1&e&&(Ye(0,\"div\",14),Kt(1,\"img\",15),$e())}const qT=\"filterText\",tU=[{path:\"**\",component:(()=>{class e{constructor(t,r,i,o,a){this.utilityService=t,this.employeeService=r,this.filterService=i,this.route=o,this.router=a,this.totalMatching=0,this.isInitialLoadingFilter=!0,this.page=1,this.pageCount=0,this.loadingMoreResults=!1,this.searchResults={TotalCount:0,Employees:[]},this.availableFilters=[],this.isSearching=!1}ngOnInit(){const t=this.utilityService.epiImport;this.actionUrl=t.actionUrl,this.listHeaderText=t.listHeaderText;const r=t.pageSize;this.pageCount=void 0===r||r<=0?25:r,this.hitstoretrive=this.pageCount,this.selectedFilterChangedSub=this.filterService.onSelectedFiltersChanged.subscribe(()=>{const i={};this.filterService.selectedFilters.forEach(a=>{i[a.FilterGroupId]=a.Id});const o=this.route.snapshot.queryParams;o.hitstoretrive&&(i.hitstoretrive=o.hitstoretrive),this.isInitialLoadingFilter||this.updateQueryParams(i)}),this.router.events.subscribe(i=>{i instanceof GA&&(this.search(),this.triggerLoadMore())})}ngAfterViewInit(){this.updateQueryParams({hitstoretrive:`${this.hitstoretrive}`},!0),this.search()}ngOnDestroy(){this.selectedFilterChangedSub&&this.selectedFilterChangedSub.unsubscribe()}search(){this.isSearching=!0;const t=this.actionUrl+window.location.search;this.employeeService.search(t).subscribe({next:r=>this.onSearchResultComplete(r),error:this.onError})}updateQueryParams(t,r=!1){this.router.navigate([],{queryParams:t,queryParamsHandling:r?\"merge\":\"\"})}loadMoreHits(){this.loadingMoreResults=!0,this.page++,this.hitstoretrive=this.page*this.pageCount,this.updateQueryParams({hitstoretrive:`${this.hitstoretrive}`},!0)}onScroll(){this.triggerLoadMore()}triggerLoadMore(){if(this.resultList&&this.searchResults&&this.hitstoretrive=t.top+.75*t.height&&this.loadMoreHits()}}onSearchResultComplete(t){const i=this.utilityService.epiImport.allText;this.searchResults=t,this.totalMatching=t.TotalCount;const o=t.Filters;let a=[];o.length>0&&a.push({...o[0],Name:\"Filter\"}),o.length>1&&(a=a.concat(o.splice(1,o.length))),(0,xr.each)(a,(l,c)=>{let f;if(\"classfilter\"===l.Id){const p=l.Items;(0,xr.each)(p,I=>{I[qT]=this.normalizeMixedDataValue(I.Name)}),f=(0,xr.sortBy)(p,qT);let m=null;const _=f.filter(I=>I.Name===i);_&&_.length&&(m=_[0]);const C=f.indexOf(m);-1!==C&&(f=[m,...f.slice(0,C),...f.slice(C+1,f.length-1)])}else f=(0,xr.sortBy)(l.Items,\"Name\");a[c].Items=f}),this.filterService.availableFilters=a,this.availableFilters=a,this.isInitialLoadingFilter&&(this.updateFilterService(a),this.isInitialLoadingFilter=!1),this.loadingMoreResults=!1,this.isSearching=!1}onError(t){console.log(\"error:\"+t),console.log(\"Could not fetch the data\")}updateFilterService(t){const r=this.route.snapshot.queryParams,i=[];t.forEach(o=>{const a=r[o.Id];if(a){const l=o.Items.filter(c=>c.Id===a)[0];l&&i.push(l)}}),this.filterService.setSelectedFilters(i)}normalizeMixedDataValue(t){const r=\"000000000000000\";return t.replace(/(\\d+)((\\.\\d+)+)?/g,(i,o,a,l)=>a!==l?r.slice(o.length)+o+a:(a=a||\".0\",r.slice(o.length)+o+a+r.slice(a.length)))}static#e=this.\\u0275fac=function(r){return new(r||e)(k(kf),k(zT),k(GC),k(Fa),k(pr))};static#t=this.\\u0275cmp=Bn({type:e,selectors:[[\"app-employee-list\"]],viewQuery:function(r,i){if(1&r&&_I(qH,5),2&r){let o;K_(o=function X_(){return function AO(e,n){return e[Dr].queries[n].queryList}(F(),Fc())}())&&(i.resultList=o.first)}},hostBindings:function(r,i){1&r&&Xt(\"scroll\",function(){return i.onScroll()},0,_E)},decls:14,vars:4,consts:[[1,\"searchMain\",\"employee-list-app\"],[1,\"search__content--wrapper\"],[1,\"row\",\"no-gutters\"],[1,\"col-12\",\"col-md-12\",\"col-lg-8\",\"order-lg-1\"],[1,\"employee-list-app__header\",\"divider__btm-border__cyan\"],[\"id\",\"search__zone--filter\",1,\"col-12\",\"col-md-12\",\"col-lg-4\",\"order-lg-3\"],[3,\"filters\",\"totalHit\",\"isBlocking\",4,\"ngIf\"],[\"id\",\"search__zone--result\",1,\"col-12\",\"col-md-12\",\"col-lg-8\",\"order-lg-2\"],[1,\"resultlist\"],[\"resultList\",\"\"],[4,\"ngFor\",\"ngForOf\"],[\"class\",\"result__loading__icon-wrapper\",4,\"ngIf\"],[3,\"filters\",\"totalHit\",\"isBlocking\"],[3,\"hit\"],[1,\"result__loading__icon-wrapper\"],[\"src\",\"/Static/img/Spinner-1s-200px.svg\",\"alt\",\"Ikon - laster inn\"]],template:function(r,i){1&r&&(Ye(0,\"div\",0)(1,\"div\",1)(2,\"div\",2)(3,\"header\",3)(4,\"div\",4),Ea(5),$e()(),Ye(6,\"div\",5),gs(7,ZH,1,3,\"app-employee-filter\",6),$e(),Ye(8,\"div\",7)(9,\"div\",8,9)(11,\"ul\"),gs(12,YH,2,1,\"li\",10),$e()()()(),gs(13,QH,2,0,\"div\",11),$e()()),2&r&&(it(5),vs(\" \",i.listHeaderText,\" \"),it(2),Ht(\"ngIf\",!i.isInitialLoadingFilter),it(5),Ht(\"ngForOf\",i.searchResults.Employees),it(1),Ht(\"ngIf\",i.loadingMoreResults||i.isInitialLoadingFilter))},dependencies:[Qg,Kg,zH,WH],encapsulation:2})}return e})()}];let nU=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=Cn({type:e,bootstrap:[xH]});static#n=this.\\u0275inj=Ln({providers:[kf,GC,zT],imports:[yk,NV,QB.forRoot(tU),SH]})}return e})();mk().bootstrapModule(nU).catch(e=>console.error(e))},990:function(Or,Io,Ol){var Ne;Or=Ol.nmd(Or),function(){var w,vn=\"Expected a function\",ka=\"__lodash_hash_undefined__\",Bi=\"__lodash_placeholder__\",Ui=1/0,si=9007199254740991,Zn=4294967295,Ie=[[\"ary\",128],[\"bind\",1],[\"bindKey\",2],[\"curry\",8],[\"curryRight\",16],[\"flip\",512],[\"partial\",32],[\"partialRight\",64],[\"rearg\",256]],ai=\"[object Arguments]\",Ba=\"[object Array]\",Ns=\"[object Boolean]\",xs=\"[object Date]\",Vl=\"[object Error]\",Bl=\"[object Function]\",Lm=\"[object GeneratorFunction]\",vr=\"[object Map]\",Os=\"[object Number]\",Pr=\"[object Object]\",Ha=\"[object Promise]\",ji=\"[object RegExp]\",On=\"[object Set]\",Fs=\"[object String]\",Ua=\"[object Symbol]\",Fn=\"[object WeakMap]\",Ps=\"[object ArrayBuffer]\",$i=\"[object DataView]\",Hl=\"[object Float32Array]\",Ul=\"[object Float64Array]\",jl=\"[object Int8Array]\",$l=\"[object Int16Array]\",Gl=\"[object Int32Array]\",zl=\"[object Uint8Array]\",Wl=\"[object Uint8ClampedArray]\",ql=\"[object Uint16Array]\",Zl=\"[object Uint32Array]\",Bm=/\\b__p \\+= '';/g,WC=/\\b(__p \\+=) '' \\+/g,$f=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,Yl=/&(?:amp|lt|gt|quot|#39);/g,Ql=/[&<>\"']/g,Gf=RegExp(Yl.source),zf=RegExp(Ql.source),Hm=/<%-([\\s\\S]+?)%>/g,Wf=/<%([\\s\\S]+?)%>/g,Kl=/<%=([\\s\\S]+?)%>/g,qf=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Zf=/^\\w*$/,Yn=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Xl=/[\\\\^$.*+?()[\\]{}|]/g,Um=RegExp(Xl.source),Jl=/^\\s+/,jm=/\\s/,Yf=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,$m=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,Gm=/,? & /,Lr=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,zm=/[()=,{}\\[\\]\\/\\s]/,Et=/\\\\(\\\\)?/g,To=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Qn=/\\w*$/,qC=/^[-+]0x[0-9a-f]+$/i,Wm=/^0b[01]+$/i,qm=/^\\[object .+?Constructor\\]$/,ec=/^0o[0-7]+$/i,Qf=/^(?:0|[1-9]\\d*)$/,Ls=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,ja=/($^)/,Kf=/['\\n\\r\\u2028\\u2029\\\\]/g,ks=\"\\\\ud800-\\\\udfff\",Xf=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\",tc=\"\\\\u2700-\\\\u27bf\",Jf=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",X=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",ui=\"\\\\ufe0e\\\\ufe0f\",nc=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\\\\u2000-\\\\u206f \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Kn=\"[\"+ks+\"]\",eh=\"[\"+nc+\"]\",$a=\"[\"+Xf+\"]\",Te=\"\\\\d+\",Ga=\"[\"+tc+\"]\",ct=\"[\"+Jf+\"]\",za=\"[^\"+ks+nc+Te+tc+Jf+X+\"]\",rc=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",ee=\"[^\"+ks+\"]\",Bs=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Hs=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Us=\"[\"+X+\"]\",L=\"(?:\"+ct+\"|\"+za+\")\",Wa=\"(?:\"+Us+\"|\"+za+\")\",oe=\"(?:['\\u2019](?:d|ll|m|re|s|t|ve))?\",Se=\"(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?\",th=\"(?:\"+$a+\"|\"+rc+\")?\",Jm=\"[\"+ui+\"]?\",tv=Jm+th+\"(?:\\\\u200d(?:\"+[ee,Bs,Hs].join(\"|\")+\")\"+Jm+th+\")*\",nv=\"(?:\"+[Ga,Bs,Hs].join(\"|\")+\")\"+tv,ZC=\"(?:\"+[ee+$a+\"?\",$a,Bs,Hs,Kn].join(\"|\")+\")\",Gi=RegExp(\"['\\u2019]\",\"g\"),YC=RegExp($a,\"g\"),nh=RegExp(rc+\"(?=\"+rc+\")|\"+ZC+tv,\"g\"),QC=RegExp([Us+\"?\"+ct+\"+\"+oe+\"(?=\"+[eh,Us,\"$\"].join(\"|\")+\")\",Wa+\"+\"+Se+\"(?=\"+[eh,Us+L,\"$\"].join(\"|\")+\")\",Us+\"?\"+L+\"+\"+oe,Us+\"+\"+Se,\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",Te,nv].join(\"|\"),\"g\"),KC=RegExp(\"[\\\\u200d\"+ks+Xf+ui+\"]\"),rv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,XC=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],iv=-1,ze={};ze[Hl]=ze[Ul]=ze[jl]=ze[$l]=ze[Gl]=ze[zl]=ze[Wl]=ze[ql]=ze[Zl]=!0,ze[ai]=ze[Ba]=ze[Ps]=ze[Ns]=ze[$i]=ze[xs]=ze[Vl]=ze[Bl]=ze[vr]=ze[Os]=ze[Pr]=ze[ji]=ze[On]=ze[Fs]=ze[Fn]=!1;var ye={};ye[ai]=ye[Ba]=ye[Ps]=ye[$i]=ye[Ns]=ye[xs]=ye[Hl]=ye[Ul]=ye[jl]=ye[$l]=ye[Gl]=ye[vr]=ye[Os]=ye[Pr]=ye[ji]=ye[On]=ye[Fs]=ye[Ua]=ye[zl]=ye[Wl]=ye[ql]=ye[Zl]=!0,ye[Vl]=ye[Bl]=ye[Fn]=!1;var tw={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},q=parseFloat,nw=parseInt,Ln=\"object\"==typeof global&&global&&global.Object===Object&&global,qa=\"object\"==typeof self&&self&&self.Object===Object&&self,bt=Ln||qa||Function(\"return this\")(),sc=Io&&!Io.nodeType&&Io,js=sc&&Or&&!Or.nodeType&&Or,$s=js&&js.exports===sc,Ro=$s&&Ln.process,en=function(){try{return js&&js.require&&js.require(\"util\").types||Ro&&Ro.binding&&Ro.binding(\"util\")}catch{}}(),ac=en&&en.isArrayBuffer,rh=en&&en.isDate,ge=en&&en.isMap,Za=en&&en.isRegExp,uc=en&&en.isSet,jt=en&&en.isTypedArray;function tn(b,N,A){switch(A.length){case 0:return b.call(N);case 1:return b.call(N,A[0]);case 2:return b.call(N,A[0],A[1]);case 3:return b.call(N,A[0],A[1],A[2])}return b.apply(N,A)}function rw(b,N,A,G){for(var ue=-1,Me=null==b?0:b.length;++ue-1}function Ya(b,N,A){for(var G=-1,ue=null==b?0:b.length;++G-1;);return A}function ch(b,N){for(var A=b.length;A--&&kr(N,b[A],0)>-1;);return A}var Br=ci({\\u00c0:\"A\",\\u00c1:\"A\",\\u00c2:\"A\",\\u00c3:\"A\",\\u00c4:\"A\",\\u00c5:\"A\",\\u00e0:\"a\",\\u00e1:\"a\",\\u00e2:\"a\",\\u00e3:\"a\",\\u00e4:\"a\",\\u00e5:\"a\",\\u00c7:\"C\",\\u00e7:\"c\",\\u00d0:\"D\",\\u00f0:\"d\",\\u00c8:\"E\",\\u00c9:\"E\",\\u00ca:\"E\",\\u00cb:\"E\",\\u00e8:\"e\",\\u00e9:\"e\",\\u00ea:\"e\",\\u00eb:\"e\",\\u00cc:\"I\",\\u00cd:\"I\",\\u00ce:\"I\",\\u00cf:\"I\",\\u00ec:\"i\",\\u00ed:\"i\",\\u00ee:\"i\",\\u00ef:\"i\",\\u00d1:\"N\",\\u00f1:\"n\",\\u00d2:\"O\",\\u00d3:\"O\",\\u00d4:\"O\",\\u00d5:\"O\",\\u00d6:\"O\",\\u00d8:\"O\",\\u00f2:\"o\",\\u00f3:\"o\",\\u00f4:\"o\",\\u00f5:\"o\",\\u00f6:\"o\",\\u00f8:\"o\",\\u00d9:\"U\",\\u00da:\"U\",\\u00db:\"U\",\\u00dc:\"U\",\\u00f9:\"u\",\\u00fa:\"u\",\\u00fb:\"u\",\\u00fc:\"u\",\\u00dd:\"Y\",\\u00fd:\"y\",\\u00ff:\"y\",\\u00c6:\"Ae\",\\u00e6:\"ae\",\\u00de:\"Th\",\\u00fe:\"th\",\\u00df:\"ss\",\\u0100:\"A\",\\u0102:\"A\",\\u0104:\"A\",\\u0101:\"a\",\\u0103:\"a\",\\u0105:\"a\",\\u0106:\"C\",\\u0108:\"C\",\\u010a:\"C\",\\u010c:\"C\",\\u0107:\"c\",\\u0109:\"c\",\\u010b:\"c\",\\u010d:\"c\",\\u010e:\"D\",\\u0110:\"D\",\\u010f:\"d\",\\u0111:\"d\",\\u0112:\"E\",\\u0114:\"E\",\\u0116:\"E\",\\u0118:\"E\",\\u011a:\"E\",\\u0113:\"e\",\\u0115:\"e\",\\u0117:\"e\",\\u0119:\"e\",\\u011b:\"e\",\\u011c:\"G\",\\u011e:\"G\",\\u0120:\"G\",\\u0122:\"G\",\\u011d:\"g\",\\u011f:\"g\",\\u0121:\"g\",\\u0123:\"g\",\\u0124:\"H\",\\u0126:\"H\",\\u0125:\"h\",\\u0127:\"h\",\\u0128:\"I\",\\u012a:\"I\",\\u012c:\"I\",\\u012e:\"I\",\\u0130:\"I\",\\u0129:\"i\",\\u012b:\"i\",\\u012d:\"i\",\\u012f:\"i\",\\u0131:\"i\",\\u0134:\"J\",\\u0135:\"j\",\\u0136:\"K\",\\u0137:\"k\",\\u0138:\"k\",\\u0139:\"L\",\\u013b:\"L\",\\u013d:\"L\",\\u013f:\"L\",\\u0141:\"L\",\\u013a:\"l\",\\u013c:\"l\",\\u013e:\"l\",\\u0140:\"l\",\\u0142:\"l\",\\u0143:\"N\",\\u0145:\"N\",\\u0147:\"N\",\\u014a:\"N\",\\u0144:\"n\",\\u0146:\"n\",\\u0148:\"n\",\\u014b:\"n\",\\u014c:\"O\",\\u014e:\"O\",\\u0150:\"O\",\\u014d:\"o\",\\u014f:\"o\",\\u0151:\"o\",\\u0154:\"R\",\\u0156:\"R\",\\u0158:\"R\",\\u0155:\"r\",\\u0157:\"r\",\\u0159:\"r\",\\u015a:\"S\",\\u015c:\"S\",\\u015e:\"S\",\\u0160:\"S\",\\u015b:\"s\",\\u015d:\"s\",\\u015f:\"s\",\\u0161:\"s\",\\u0162:\"T\",\\u0164:\"T\",\\u0166:\"T\",\\u0163:\"t\",\\u0165:\"t\",\\u0167:\"t\",\\u0168:\"U\",\\u016a:\"U\",\\u016c:\"U\",\\u016e:\"U\",\\u0170:\"U\",\\u0172:\"U\",\\u0169:\"u\",\\u016b:\"u\",\\u016d:\"u\",\\u016f:\"u\",\\u0171:\"u\",\\u0173:\"u\",\\u0174:\"W\",\\u0175:\"w\",\\u0176:\"Y\",\\u0177:\"y\",\\u0178:\"Y\",\\u0179:\"Z\",\\u017b:\"Z\",\\u017d:\"Z\",\\u017a:\"z\",\\u017c:\"z\",\\u017e:\"z\",\\u0132:\"IJ\",\\u0133:\"ij\",\\u0152:\"Oe\",\\u0153:\"oe\",\\u0149:\"'n\",\\u017f:\"s\"}),Ka=ci({\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"});function Xn(b){return\"\\\\\"+tw[b]}function De(b){return KC.test(b)}function Ws(b){var N=-1,A=Array(b.size);return b.forEach(function(G,ue){A[++N]=[ue,G]}),A}function dc(b,N){return function(A){return b(N(A))}}function xt(b,N){for(var A=-1,G=b.length,ue=0,Me=[];++A\",\""\":'\"',\"'\":\"'\"}),Ja=function b(N){var s,A=(N=null==N?bt:Ja.defaults(bt.Object(),N,Ja.pick(bt,XC))).Array,G=N.Date,ue=N.Error,Me=N.Function,mt=N.Math,Pe=N.Object,hc=N.RegExp,cv=N.String,Vn=N.TypeError,Bn=A.prototype,Po=Pe.prototype,eu=N[\"__core-js_shared__\"],Cn=Me.prototype.toString,xe=Po.hasOwnProperty,mh=0,ne=(s=/[^.]+$/.exec(eu&&eu.keys&&eu.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+s:\"\",It=Po.toString,be=Cn.call(Pe),St=bt._,$t=hc(\"^\"+Cn.call(xe).replace(Xl,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),Hr=$s?N.Buffer:w,dt=N.Symbol,qs=N.Uint8Array,pc=Hr?Hr.allocUnsafe:w,Wi=dc(Pe.getPrototypeOf,Pe),vh=Pe.create,yh=Po.propertyIsEnumerable,Ue=Bn.splice,B=dt?dt.isConcatSpreadable:w,ie=dt?dt.iterator:w,Re=dt?dt.toStringTag:w,nn=function(){try{var s=Gr(Pe,\"defineProperty\");return s({},\"\",{}),s}catch{}}(),Zs=N.clearTimeout!==bt.clearTimeout&&N.clearTimeout,Ot=G&&G.now!==bt.Date.now&&G.now,Lo=N.setTimeout!==bt.setTimeout&&N.setTimeout,We=mt.ceil,Jn=mt.floor,hi=Pe.getOwnPropertySymbols,se=Hr?Hr.isBuffer:w,ko=N.isFinite,_h=Bn.join,Vo=dc(Pe.keys,Pe),pe=mt.max,ft=mt.min,Bo=G.now,Dr=N.parseInt,Ho=mt.random,Dh=Bn.reverse,Cr=Gr(N,\"DataView\"),wn=Gr(N,\"Map\"),qi=Gr(N,\"Promise\"),wr=Gr(N,\"Set\"),ce=Gr(N,\"WeakMap\"),tu=Gr(Pe,\"create\"),Uo=ce&&new ce,Zi={},Er=Ko(Cr),nu=Ko(wn),jo=Ko(qi),Ys=Ko(wr),Mt=Ko(ce),gc=dt?dt.prototype:w,Dt=gc?gc.valueOf:w,Ft=gc?gc.toString:w;function v(s){if(je(s)&&!ae(s)&&!(s instanceof me)){if(s instanceof nt)return s;if(xe.call(s,\"__wrapped__\"))return Fv(s)}return new nt(s)}var Hn=function(){function s(){}return function(u){if(!qe(u))return{};if(vh)return vh(u);s.prototype=u;var d=new s;return s.prototype=w,d}}();function Yi(){}function nt(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=w}function me(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Zn,this.__views__=[]}function Qi(s){var u=-1,d=null==s?0:s.length;for(this.clear();++u=u?s:u)),s}function En(s,u,d,h,g,y){var D,E=1&u,S=2&u,x=4&u;if(d&&(D=g?d(s,h,g,y):d(s)),D!==w)return D;if(!qe(s))return s;var O=ae(s);if(O){if(D=function Cu(s){var u=s.length,d=new s.constructor(u);return u&&\"string\"==typeof s[0]&&xe.call(s,\"index\")&&(d.index=s.index,d.input=s.input),d}(s),!E)return an(s,D)}else{var P=Tt(s),H=P==Bl||P==Lm;if(cn(s))return no(s,E);if(P==Pr||P==ai||H&&!g){if(D=S||H?{}:wu(s),!E)return S?function $h(s,u){return ir(s,Gc(s),u)}(s,function Sh(s,u){return s&&ir(u,Zt(u),s)}(D,s)):function Pc(s,u){return ir(s,Kh(s),u)}(s,_c(D,s))}else{if(!ye[P])return g?s:{};D=function Jh(s,u,d){var h=s.constructor;switch(u){case Ps:return rr(s);case Ns:case xs:return new h(+s);case $i:return function Mv(s,u){var d=u?rr(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.byteLength)}(s,d);case Hl:case Ul:case jl:case $l:case Gl:case zl:case Wl:case ql:case Zl:return jh(s,d);case vr:return new h;case Os:case Fs:return new h(s);case ji:return function Uh(s){var u=new s.constructor(s.source,Qn.exec(s));return u.lastIndex=s.lastIndex,u}(s);case On:return new h;case Ua:return function Av(s){return Dt?Pe(Dt.call(s)):{}}(s)}}(s,P,E)}}y||(y=new br);var W=y.get(s);if(W)return W;y.set(s,D),Vp(s)?s.forEach(function(Y){D.add(En(Y,u,d,Y,s,y))}):as(s)&&s.forEach(function(Y,J){D.set(J,En(Y,u,d,J,s,y))});var fe=O?w:(x?S?jc:Uc:S?Zt:rt)(s);return _e(fe||s,function(Y,J){fe&&(Y=s[J=Y]),Xi(D,J,En(Y,u,d,J,s,y))}),D}function gv(s,u,d){var h=d.length;if(null==s)return!h;for(s=Pe(s);h--;){var g=d[h],D=s[g];if(D===w&&!(g in s)||!(0,u[g])(D))return!1}return!0}function mv(s,u,d){if(\"function\"!=typeof s)throw new Vn(vn);return wi(function(){s.apply(w,d)},u)}function Qs(s,u,d,h){var g=-1,y=No,D=!0,E=s.length,S=[],x=u.length;if(!E)return S;d&&(u=Be(u,Nt(d))),h?(y=Ya,D=!1):u.length>=200&&(y=Vr,D=!1,u=new $o(u));e:for(;++g-1},pi.prototype.set=function yw(s,u){var d=this.__data__,h=Go(d,s);return h<0?(++this.size,d.push([s,u])):d[h][1]=u,this},gi.prototype.clear=function _w(){this.size=0,this.__data__={hash:new Qi,map:new(wn||pi),string:new Qi}},gi.prototype.delete=function Ch(s){var u=_u(this,s).delete(s);return this.size-=u?1:0,u},gi.prototype.get=function wh(s){return _u(this,s).get(s)},gi.prototype.has=function Dw(s){return _u(this,s).has(s)},gi.prototype.set=function Cw(s,u){var d=_u(this,s),h=d.size;return d.set(s,u),this.size+=d.size==h?0:1,this},$o.prototype.add=$o.prototype.push=function Ki(s){return this.__data__.set(s,ka),this},$o.prototype.has=function mi(s){return this.__data__.has(s)},br.prototype.clear=function ww(){this.__data__=new pi,this.size=0},br.prototype.delete=function At(s){var u=this.__data__,d=u.delete(s);return this.size=u.size,d},br.prototype.get=function ru(s){return this.__data__.get(s)},br.prototype.has=function Un(s){return this.__data__.has(s)},br.prototype.set=function Eh(s,u){var d=this.__data__;if(d instanceof pi){var h=d.__data__;if(!wn||h.length<199)return h.push([s,u]),this.size=++d.size,this;d=this.__data__=new gi(h)}return d.set(s,u),this.size=d.size,this};var vi=Lc(er),vv=Lc(su,!0);function Mh(s,u){var d=!0;return vi(s,function(h,g,y){return d=!!u(h,g,y)}),d}function zo(s,u,d){for(var h=-1,g=s.length;++h0&&d(E)?u>1?Pt(E,u-1,d,h,g):li(g,E):h||(g[g.length]=E)}return g}var Ah=mu(),Th=mu(!0);function er(s,u){return s&&Ah(s,u,rt)}function su(s,u){return s&&Th(s,u,rt)}function au(s,u){return yr(u,function(d){return Mr(s[d])})}function eo(s,u){for(var d=0,h=(u=$r(u,s)).length;null!=s&&du}function Nh(s,u){return null!=s&&xe.call(s,u)}function _v(s,u){return null!=s&&u in Pe(s)}function Cc(s,u,d){for(var h=d?Ya:No,g=s[0].length,y=s.length,D=y,E=A(y),S=1/0,x=[];D--;){var O=s[D];D&&u&&(O=Be(O,Nt(u))),S=ft(O.length,S),E[D]=!d&&(u||g>=120&&O.length>=120)?new $o(D&&O):w}O=s[0];var P=-1,H=E[0];e:for(;++P=E?S:S*(\"desc\"==d[h]?-1:1)}return s.index-u.index}(y,D,d)})}function Vh(s,u,d){for(var h=-1,g=u.length,y={};++h-1;)E!==s&&Ue.call(E,S,1),Ue.call(s,S,1);return s}function Sc(s,u){for(var d=s?u.length:0,h=d-1;d--;){var g=u[d];if(d==h||g!==y){var y=g;zr(g)?Ue.call(s,g,1):vt(s,g)}}return s}function Mc(s,u){return s+Jn(Ho()*(u-s+1))}function du(s,u){var d=\"\";if(!s||u<1||u>si)return d;do{u%2&&(d+=s),(u=Jn(u/2))&&(s+=s)}while(u);return d}function ve(s,u){return Ei(rp(s,u,Yt),s+\"\")}function Ev(s){return vc(Si(s))}function bv(s,u){var d=Si(s);return ia(d,$n(u,0,d.length))}function Ks(s,u,d,h){if(!qe(s))return s;for(var g=-1,y=(u=$r(u,s)).length,D=y-1,E=s;null!=E&&++gg?0:g+u),(d=d>g?g:d)<0&&(d+=g),g=u>d?0:d-u>>>0,u>>>=0;for(var y=A(g);++h>>1,D=s[y];null!==D&&!dn(D)&&(d?D<=u:D=200){var x=u?null:Vc(s);if(x)return fi(x);D=!1,g=Vr,S=new $o}else S=u?[]:E;e:for(;++h=h?s:zn(s,u,d)}var xc=Zs||function(s){return bt.clearTimeout(s)};function no(s,u){if(u)return s.slice();var d=s.length,h=pc?pc(d):new s.constructor(d);return s.copy(h),h}function rr(s){var u=new s.constructor(s.byteLength);return new qs(u).set(new qs(s)),u}function jh(s,u){var d=u?rr(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.length)}function pu(s,u){if(s!==u){var d=s!==w,h=null===s,g=s==s,y=dn(s),D=u!==w,E=null===u,S=u==u,x=dn(u);if(!E&&!x&&!y&&s>u||y&&D&&S&&!E&&!x||h&&D&&S||!d&&S||!g)return 1;if(!h&&!y&&!x&&s1?d[g-1]:w,D=g>2?d[2]:w;for(y=s.length>3&&\"function\"==typeof y?(g--,y):w,D&&Vt(d[0],d[1],D)&&(y=g<3?w:y,g=1),u=Pe(u);++h-1?g[y?u[D]:D]:w}}function zh(s){return Di(function(u){var d=u.length,h=d,g=nt.prototype.thru;for(s&&u.reverse();h--;){var y=u[h];if(\"function\"!=typeof y)throw new Vn(vn);if(g&&!D&&\"wrapper\"==$c(y))var D=new nt([],!0)}for(h=D?h:d;++h1&&Ee.reverse(),O&&SE))return!1;var x=y.get(s),O=y.get(u);if(x&&O)return x==u&&O==s;var P=-1,H=!0,W=2&d?new $o:w;for(y.set(s,u),y.set(u,s);++P-1&&s%1==0&&s1?\"& \":\"\")+u[h],u=u.join(d>2?\", \":\" \"),s.replace(Yf,\"{\\n/* [wrapped with \"+u+\"] */\\n\")}(h,function Ov(s,u){return _e(Ie,function(d){var h=\"_.\"+d[0];u&d[1]&&!No(s,h)&&s.push(h)}),s.sort()}(function Sr(s){var u=s.match($m);return u?u[1].split(Gm):[]}(h),d)))}function lo(s){var u=0,d=0;return function(){var h=Bo(),g=16-(h-d);if(d=h,g>0){if(++u>=800)return arguments[0]}else u=0;return s.apply(w,arguments)}}function ia(s,u){var d=-1,h=s.length,g=h-1;for(u=u===w?h:u;++d1?s[u-1]:w;return d=\"function\"==typeof d?(s.pop(),d):w,ua(s,d)});function xu(s){var u=v(s);return u.__chain__=!0,u}function ed(s,u){return u(s)}var td=Di(function(s){var u=s.length,d=u?s[0]:0,h=this.__wrapped__,g=function(y){return Ji(y,s)};return!(u>1||this.__actions__.length)&&h instanceof me&&zr(d)?((h=h.slice(d,+d+(u?1:0))).__actions__.push({func:ed,args:[g],thisArg:w}),new nt(h,this.__chain__).thru(function(y){return u&&!y.length&&y.push(w),y})):this.thru(g)}),Fu=Js(function(s,u,d){xe.call(s,d)?++s[d]:jn(s,d,1)}),vp=kc(ip),ns=kc(bn);function la(s,u){return(ae(s)?_e:vi)(s,Z(u,3))}function Wr(s,u){return(ae(s)?iw:vv)(s,Z(u,3))}var ry=Js(function(s,u,d){xe.call(s,d)?s[d].push(u):jn(s,d,[u])}),oy=ve(function(s,u,d){var h=-1,g=\"function\"==typeof u,y=ln(s)?A(s.length):[];return vi(s,function(D){y[++h]=g?tn(u,D,d):Wo(D,u,d)}),y}),Dp=Js(function(s,u,d){jn(s,d,u)});function rs(s,u){return(ae(s)?Be:Ic)(s,Z(u,3))}var ay=Js(function(s,u,d){s[d?0:1].push(u)},function(){return[[],[]]}),Bt=ve(function(s,u){if(null==s)return[];var d=u.length;return d>1&&Vt(s,u[0],u[1])?u=[]:d>2&&Vt(u[0],u[1],u[2])&&(u=[u[0]]),Ur(s,Pt(u,1),[])}),bi=Ot||function(){return bt.Date.now()};function id(s,u,d){return u=d?w:u,Ir(s,128,w,w,w,w,u=s&&null==u?s.length:u)}function bp(s,u){var d;if(\"function\"!=typeof u)throw new Vn(vn);return s=de(s),function(){return--s>0&&(d=u.apply(this,arguments)),s<=1&&(u=w),d}}var Lu=ve(function(s,u,d){var h=1;if(d.length){var g=xt(d,Ci(Lu));h|=32}return Ir(s,h,u,d,g)}),Ip=ve(function(s,u,d){var h=3;if(d.length){var g=xt(d,Ci(Ip));h|=32}return Ir(u,h,s,d,g)});function sd(s,u,d){var h,g,y,D,E,S,x=0,O=!1,P=!1,H=!0;if(\"function\"!=typeof s)throw new Vn(vn);function W(st){var Qt=h,Qr=g;return h=g=w,x=st,D=s.apply(Qr,Qt)}function Y(st){var Qt=st-S;return S===w||Qt>=u||Qt<0||P&&st-x>=y}function J(){var st=bi();if(Y(st))return Ee(st);E=wi(J,function fe(st){var Xu=u-(st-S);return P?ft(Xu,y-(st-x)):Xu}(st))}function Ee(st){return E=w,H&&h?W(st):(h=g=w,D)}function Mn(){var st=bi(),Qt=Y(st);if(h=arguments,g=this,S=st,Qt){if(E===w)return function Q(st){return x=st,E=wi(J,u),O?W(st):D}(S);if(P)return xc(E),E=wi(J,u),W(S)}return E===w&&(E=wi(J,u)),D}return u=qt(u)||0,qe(d)&&(O=!!d.leading,y=(P=\"maxWait\"in d)?pe(qt(d.maxWait)||0,u):y,H=\"trailing\"in d?!!d.trailing:H),Mn.cancel=function fn(){E!==w&&xc(E),x=0,h=S=g=E=w},Mn.flush=function et(){return E===w?D:Ee(bi())},Mn}var dy=ve(function(s,u){return mv(s,1,u)}),fy=ve(function(s,u,d){return mv(s,qt(u)||0,d)});function is(s,u){if(\"function\"!=typeof s||null!=u&&\"function\"!=typeof u)throw new Vn(vn);var d=function(){var h=arguments,g=u?u.apply(this,h):h[0],y=d.cache;if(y.has(g))return y.get(g);var D=s.apply(this,h);return d.cache=y.set(g,D)||y,D};return d.cache=new(is.Cache||gi),d}function ku(s){if(\"function\"!=typeof s)throw new Vn(vn);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}is.Cache=gi;var hy=Gt(function(s,u){var d=(u=1==u.length&&ae(u[0])?Be(u[0],Nt(Z())):Be(Pt(u,1),Nt(Z()))).length;return ve(function(h){for(var g=-1,y=ft(h.length,d);++g=u}),qr=xh(function(){return arguments}())?xh:function(s){return je(s)&&xe.call(s,\"callee\")&&!yh.call(s,\"callee\")},ae=A.isArray,_y=ac?Nt(ac):function Dv(s){return je(s)&&Lt(s)==Ps};function ln(s){return null!=s&&ss(s.length)&&!Mr(s)}function Je(s){return je(s)&&ln(s)}var cn=se||ya,xp=rh?Nt(rh):function Oh(s){return je(s)&&Lt(s)==xs};function dd(s){if(!je(s))return!1;var u=Lt(s);return u==Vl||\"[object DOMException]\"==u||\"string\"==typeof s.message&&\"string\"==typeof s.name&&!us(s)}function Mr(s){if(!qe(s))return!1;var u=Lt(s);return u==Bl||u==Lm||\"[object AsyncFunction]\"==u||\"[object Proxy]\"==u}function fd(s){return\"number\"==typeof s&&s==de(s)}function ss(s){return\"number\"==typeof s&&s>-1&&s%1==0&&s<=si}function qe(s){var u=typeof s;return null!=s&&(\"object\"==u||\"function\"==u)}function je(s){return null!=s&&\"object\"==typeof s}var as=ge?Nt(ge):function wc(s){return je(s)&&Tt(s)==vr};function kp(s){return\"number\"==typeof s||je(s)&&Lt(s)==Os}function us(s){if(!je(s)||Lt(s)!=Pr)return!1;var u=Wi(s);if(null===u)return!0;var d=xe.call(u,\"constructor\")&&u.constructor;return\"function\"==typeof d&&d instanceof d&&Cn.call(d)==be}var gd=Za?Nt(Za):function Fh(s){return je(s)&&Lt(s)==ji},Vp=uc?Nt(uc):function Ph(s){return je(s)&&Tt(s)==On};function fa(s){return\"string\"==typeof s||!ae(s)&&je(s)&&Lt(s)==Fs}function dn(s){return\"symbol\"==typeof s||je(s)&&Lt(s)==Ua}var Zr=jt?Nt(jt):function He(s){return je(s)&&ss(s.length)&&!!ze[Lt(s)]},Ey=oo(bc),Gw=oo(function(s,u){return s<=u});function Bp(s){if(!s)return[];if(ln(s))return fa(s)?kn(s):an(s);if(ie&&s[ie])return function cc(b){for(var N,A=[];!(N=b.next()).done;)A.push(N.value);return A}(s[ie]());var u=Tt(s);return(u==vr?Ws:u==On?fi:Si)(s)}function lr(s){return s?(s=qt(s))===Ui||s===-Ui?17976931348623157e292*(s<0?-1:1):s==s?s:0:0===s?s:0}function de(s){var u=lr(s),d=u%1;return u==u?d?u-d:u:0}function fo(s){return s?$n(de(s),0,Zn):0}function qt(s){if(\"number\"==typeof s)return s;if(dn(s))return NaN;if(qe(s)){var u=\"function\"==typeof s.valueOf?s.valueOf():s;s=qe(u)?u+\"\":u}if(\"string\"!=typeof s)return 0===s?s:+s;s=U(s);var d=Wm.test(s);return d||ec.test(s)?nw(s.slice(2),d?2:8):qC.test(s)?NaN:+s}function $u(s){return ir(s,Zt(s))}function Ae(s){return null==s?\"\":sn(s)}var Up=ro(function(s,u){if(sr(u)||ln(u))ir(u,rt(u),s);else for(var d in u)xe.call(u,d)&&Xi(s,d,u[d])}),vd=ro(function(s,u){ir(u,Zt(u),s)}),Gu=ro(function(s,u,d,h){ir(u,Zt(u),s,h)}),by=ro(function(s,u,d,h){ir(u,rt(u),s,h)}),Iy=Di(Ji),My=ve(function(s,u){s=Pe(s);var d=-1,h=u.length,g=h>2?u[2]:w;for(g&&Vt(u[0],u[1],g)&&(h=1);++d1),y}),ir(s,jc(s),d),h&&(d=En(d,7,na));for(var g=u.length;g--;)vt(d,u[g]);return d}),wd=Di(function(s,u){return null==s?{}:function kh(s,u){return Vh(s,u,function(d,h){return _d(s,h)})}(s,u)});function xy(s,u){if(null==s)return{};var d=Be(jc(s),function(h){return[h]});return u=Z(u),Vh(s,d,function(h,g){return u(h,g[0])})}var Wp=Bc(rt),qp=Bc(Zt);function Si(s){return null==s?[]:zs(s,rt(s))}var bd=ht(function(s,u,d){return u=u.toLowerCase(),s+(d?Id(u):u)});function Id(s){return ma(Ae(s).toLowerCase())}function Yp(s){return(s=Ae(s))&&s.replace(Ls,Br).replace(YC,\"\")}var Qp=ht(function(s,u,d){return s+(d?\"-\":\"\")+u.toLowerCase()}),Jw=ht(function(s,u,d){return s+(d?\" \":\"\")+u.toLowerCase()}),eE=Gh(\"toLowerCase\"),Md=ht(function(s,u,d){return s+(d?\"_\":\"\")+u.toLowerCase()}),Jp=ht(function(s,u,d){return s+(d?\" \":\"\")+ma(u)}),$y=ht(function(s,u,d){return s+(d?\" \":\"\")+u.toUpperCase()}),ma=Gh(\"toUpperCase\");function va(s,u,d){return s=Ae(s),(u=d?w:u)===w?function Xa(b){return rv.test(b)}(s)?function gh(b){return b.match(QC)||[]}(s):function uw(b){return b.match(Lr)||[]}(s):s.match(u)||[]}var rg=ve(function(s,u){try{return tn(s,w,u)}catch(d){return dd(d)?d:new ue(d)}}),Rd=Di(function(s,u){return _e(u,function(d){d=Wt(d),jn(s,d,Lu(s[d],s))}),s});function ds(s){return function(){return s}}var Gy=zh(),zy=zh(!0);function Yt(s){return s}function Mi(s){return uu(\"function\"==typeof s?s:En(s,1))}var Zy=ve(function(s,u){return function(d){return Wo(d,s,u)}}),xd=ve(function(s,u){return function(d){return Wo(s,d,u)}});function fs(s,u,d){var h=rt(u),g=au(u,h);null==d&&(!qe(u)||!g.length&&h.length)&&(d=u,u=s,s=this,g=au(u,rt(u)));var y=!(qe(d)&&\"chain\"in d&&!d.chain),D=Mr(s);return _e(g,function(E){var S=u[E];s[E]=S,D&&(s.prototype[E]=function(){var x=this.__chain__;if(y||x){var O=s(this.__wrapped__);return(O.__actions__=an(this.__actions__)).push({func:S,args:arguments,thisArg:s}),O.__chain__=x,O}return S.apply(s,li([this.value()],arguments))})}),s}function Zu(){}var nE=yu(Be),rE=yu(ov),ig=yu(ih);function og(s){return bu(s)?Qa(Wt(s)):function Bh(s){return function(u){return eo(u,s)}}(s)}var oE=qh(),Yu=qh(!0);function Od(){return[]}function ya(){return!1}var ps=ea(function(s,u){return s+u},0),kd=Qo(\"ceil\"),Vd=ea(function(s,u){return s/u},1),Ku=Qo(\"floor\"),Xy=ea(function(s,u){return s*u},1),Hd=Qo(\"round\"),ag=ea(function(s,u){return s-u},0);return v.after=function Ep(s,u){if(\"function\"!=typeof u)throw new Vn(vn);return s=de(s),function(){if(--s<1)return u.apply(this,arguments)}},v.ary=id,v.assign=Up,v.assignIn=vd,v.assignInWith=Gu,v.assignWith=by,v.at=Iy,v.before=bp,v.bind=Lu,v.bindAll=Rd,v.bindKey=Ip,v.castArray=function Bu(){if(!arguments.length)return[];var s=arguments[0];return ae(s)?s:[s]},v.chain=xu,v.chunk=function Sw(s,u,d){u=(d?Vt(s,u,d):u===w)?1:pe(de(u),0);var h=null==s?0:s.length;if(!h||u<1)return[];for(var g=0,y=0,D=A(We(h/u));gg?0:g+d),(h=h===w||h>g?g:de(h))<0&&(h+=g),h=d>h?0:fo(h);d>>0)?(s=Ae(s))&&(\"string\"==typeof u||null!=u&&!gd(u))&&!(u=sn(u))&&De(s)?kt(kn(s),0,d):s.split(u,d):[]},v.spread=function os(s,u){if(\"function\"!=typeof s)throw new Vn(vn);return u=null==u?0:pe(de(u),0),ve(function(d){var h=d[u],g=kt(d,0,u);return h&&li(g,h),tn(s,this,g)})},v.tail=function qv(s){var u=null==s?0:s.length;return u?zn(s,1,u):[]},v.take=function Zv(s,u,d){return s&&s.length?zn(s,0,(u=d||u===w?1:de(u))<0?0:u):[]},v.takeRight=function ts(s,u,d){var h=null==s?0:s.length;return h?zn(s,(u=h-(u=d||u===w?1:de(u)))<0?0:u,h):[]},v.takeRightWhile=function aa(s,u){return s&&s.length?yi(s,Z(u,3),!1,!0):[]},v.takeWhile=function Yv(s,u){return s&&s.length?yi(s,Z(u,3)):[]},v.tap=function kw(s,u){return u(s),s},v.throttle=function Vu(s,u,d){var h=!0,g=!0;if(\"function\"!=typeof s)throw new Vn(vn);return qe(d)&&(h=\"leading\"in d?!!d.leading:h,g=\"trailing\"in d?!!d.trailing:g),sd(s,u,{leading:h,maxWait:u,trailing:g})},v.thru=ed,v.toArray=Bp,v.toPairs=Wp,v.toPairsIn=qp,v.toPath=function _a(s){return ae(s)?Be(s,Wt):dn(s)?[s]:an(Mu(Ae(s)))},v.toPlainObject=$u,v.transform=function Fy(s,u,d){var h=ae(s),g=h||cn(s)||Zr(s);if(u=Z(u,4),null==d){var y=s&&s.constructor;d=g?h?new y:[]:qe(s)&&Mr(y)?Hn(Wi(s)):{}}return(g?_e:er)(s,function(D,E,S){return u(d,D,E,S)}),d},v.unary=function Tp(s){return id(s,1)},v.union=Ow,v.unionBy=dp,v.unionWith=Qv,v.uniq=function Fw(s){return s&&s.length?jr(s):[]},v.uniqBy=function Kv(s,u){return s&&s.length?jr(s,Z(u,2)):[]},v.uniqWith=function Xv(s,u){return u=\"function\"==typeof u?u:w,s&&s.length?jr(s,w,u):[]},v.unset=function Zp(s,u){return null==s||vt(s,u)},v.unzip=Jc,v.unzipWith=ua,v.update=function zu(s,u,d){return null==s?s:Rc(s,u,Hh(d))},v.updateWith=function Py(s,u,d,h){return h=\"function\"==typeof h?h:w,null==s?s:Rc(s,u,Hh(d),h)},v.values=Si,v.valuesIn=function Ly(s){return null==s?[]:zs(s,Zt(s))},v.without=fp,v.words=va,v.wrap=function cd(s,u){return ud(Hh(u),s)},v.xor=Jv,v.xorBy=hp,v.xorWith=Pw,v.zip=pp,v.zipObject=function Lw(s,u){return hu(s||[],u||[],Xi)},v.zipObjectDeep=function ey(s,u){return hu(s||[],u||[],Ks)},v.zipWith=ty,v.entries=Wp,v.entriesIn=qp,v.extend=vd,v.extendWith=Gu,fs(v,v),v.add=ps,v.attempt=rg,v.camelCase=bd,v.capitalize=Id,v.ceil=kd,v.clamp=function cs(s,u,d){return d===w&&(d=u,u=w),d!==w&&(d=(d=qt(d))==d?d:0),u!==w&&(u=(u=qt(u))==u?u:0),$n(qt(s),u,d)},v.clone=function py(s){return En(s,4)},v.cloneDeep=function my(s){return En(s,5)},v.cloneDeepWith=function vy(s,u){return En(s,5,u=\"function\"==typeof u?u:w)},v.cloneWith=function gy(s,u){return En(s,4,u=\"function\"==typeof u?u:w)},v.conformsTo=function yy(s,u){return null==u||gv(s,u,rt(u))},v.deburr=Yp,v.defaultTo=function Nd(s,u){return null==s||s!=s?u:s},v.divide=Vd,v.endsWith=function Vy(s,u,d){s=Ae(s),u=sn(u);var h=s.length,g=d=d===w?h:$n(de(d),0,h);return(d-=u.length)>=0&&s.slice(d,g)==u},v.eq=ur,v.escape=function By(s){return(s=Ae(s))&&zf.test(s)?s.replace(Ql,Ka):s},v.escapeRegExp=function Hy(s){return(s=Ae(s))&&Um.test(s)?s.replace(Xl,\"\\\\$&\"):s},v.every=function gp(s,u,d){var h=ae(s)?ov:Mh;return d&&Vt(s,u,d)&&(u=w),h(s,Z(u,3))},v.find=vp,v.findIndex=ip,v.findKey=function ha(s,u){return xo(s,Z(u,3),er)},v.findLast=ns,v.findLastIndex=bn,v.findLastKey=function Ay(s,u){return xo(s,Z(u,3),su)},v.floor=Ku,v.forEach=la,v.forEachRight=Wr,v.forIn=function zw(s,u){return null==s?s:Ah(s,Z(u,3),Zt)},v.forInRight=function Ww(s,u){return null==s?s:Th(s,Z(u,3),Zt)},v.forOwn=function qw(s,u){return s&&er(s,Z(u,3))},v.forOwnRight=function Zw(s,u){return s&&su(s,Z(u,3))},v.get=yd,v.gt=Rp,v.gte=Hu,v.has=function Ty(s,u){return null!=s&&Xh(s,u,Nh)},v.hasIn=_d,v.head=sp,v.identity=Yt,v.includes=function iy(s,u,d,h){s=ln(s)?s:Si(s),d=d&&!h?de(d):0;var g=s.length;return d<0&&(d=pe(g+d,0)),fa(s)?d<=g&&s.indexOf(u,d)>-1:!!g&&kr(s,u,d)>-1},v.indexOf=function Nw(s,u,d){var h=null==s?0:s.length;if(!h)return-1;var g=null==d?0:de(d);return g<0&&(g=pe(h+g,0)),kr(s,u,g)},v.inRange=function Ed(s,u,d){return u=lr(u),d===w?(d=u,u=0):d=lr(d),function bw(s,u,d){return s>=ft(u,d)&&s=-si&&s<=si},v.isSet=Vp,v.isString=fa,v.isSymbol=dn,v.isTypedArray=Zr,v.isUndefined=function md(s){return s===w},v.isWeakMap=function ls(s){return je(s)&&Tt(s)==Fn},v.isWeakSet=function wy(s){return je(s)&&\"[object WeakSet]\"==Lt(s)},v.join=function Jo(s,u){return null==s?\"\":_h.call(s,u)},v.kebabCase=Qp,v.last=ar,v.lastIndexOf=function ap(s,u,d){var h=null==s?0:s.length;if(!h)return-1;var g=h;return d!==w&&(g=(g=de(d))<0?pe(h+g,0):ft(g,h-1)),u==u?function fc(b,N,A){for(var G=A+1;G--;)if(b[G]===N)return G;return G}(s,u,g):Oo(s,oh,g,!0)},v.lowerCase=Jw,v.lowerFirst=eE,v.lt=Ey,v.lte=Gw,v.max=function sE(s){return s&&s.length?zo(s,Yt,Dc):w},v.maxBy=function Bd(s,u){return s&&s.length?zo(s,Z(u,2),Dc):w},v.mean=function Da(s){return sh(s,Yt)},v.meanBy=function Qy(s,u){return sh(s,Z(u,2))},v.min=function sg(s){return s&&s.length?zo(s,Yt,bc):w},v.minBy=function Ky(s,u){return s&&s.length?zo(s,Z(u,2),bc):w},v.stubArray=Od,v.stubFalse=ya,v.stubObject=function Fd(){return{}},v.stubString=function hs(){return\"\"},v.stubTrue=function Pd(){return!0},v.multiply=Xy,v.nth=function Bv(s,u){return s&&s.length?Lh(s,de(u)):w},v.noConflict=function Yy(){return bt._===this&&(bt._=St),this},v.noop=Zu,v.now=bi,v.pad=function pa(s,u,d){s=Ae(s);var h=(u=de(u))?zi(s):0;if(!u||h>=u)return s;var g=(u-h)/2;return io(Jn(g),d)+s+io(We(g),d)},v.padEnd=function $(s,u,d){s=Ae(s);var h=(u=de(u))?zi(s):0;return u&&hu){var h=s;s=u,u=h}if(d||s%1||u%1){var g=Ho();return ft(s+g*(u-s+q(\"1e-\"+((g+\"\").length-1))),u)}return Mc(s,u)},v.reduce=function uy(s,u,d){var h=ae(s)?Gs:ah,g=arguments.length<3;return h(s,Z(u,4),d,g,vi)},v.reduceRight=function Cp(s,u,d){var h=ae(s)?ow:ah,g=arguments.length<3;return h(s,Z(u,4),d,g,vv)},v.repeat=function Xp(s,u,d){return u=(d?Vt(s,u,d):u===w)?1:de(u),du(Ae(s),u)},v.replace=function Sd(){var s=arguments,u=Ae(s[0]);return s.length<3?u:u.replace(s[1],s[2])},v.result=function Xw(s,u,d){var h=-1,g=(u=$r(u,s)).length;for(g||(g=1,s=w);++hsi)return[];var d=Zn,h=ft(s,Zn);u=Z(u),s-=Zn;for(var g=z(h,u);++d=y)return s;var E=d-zi(h);if(E<1)return h;var S=D?kt(D,0,E).join(\"\"):s.slice(0,E);if(g===w)return S+h;if(D&&(E+=S.length-E),gd(g)){if(s.slice(E).search(g)){var x,O=S;for(g.global||(g=hc(g.source,Ae(Qn.exec(g))+\"g\")),g.lastIndex=0;x=g.exec(O);)var P=x.index;S=S.slice(0,P===w?E:P)}}else if(s.indexOf(sn(g),E)!=E){var H=S.lastIndexOf(g);H>-1&&(S=S.slice(0,H))}return S+h},v.unescape=function ho(s){return(s=Ae(s))&&Gf.test(s)?s.replace(Yl,hh):s},v.uniqueId=function Qu(s){var u=++mh;return Ae(s)+u},v.upperCase=$y,v.upperFirst=ma,v.each=la,v.eachRight=Wr,v.first=sp,fs(v,function(){var s={};return er(v,function(u,d){xe.call(v.prototype,d)||(s[d]=u)}),s}(),{chain:!1}),v.VERSION=\"4.17.21\",_e([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(s){v[s].placeholder=v}),_e([\"drop\",\"take\"],function(s,u){me.prototype[s]=function(d){d=d===w?1:pe(de(d),0);var h=this.__filtered__&&!u?new me(this):this.clone();return h.__filtered__?h.__takeCount__=ft(d,h.__takeCount__):h.__views__.push({size:ft(d,Zn),type:s+(h.__dir__<0?\"Right\":\"\")}),h},me.prototype[s+\"Right\"]=function(d){return this.reverse()[s](d).reverse()}}),_e([\"filter\",\"map\",\"takeWhile\"],function(s,u){var d=u+1,h=1==d||3==d;me.prototype[s]=function(g){var y=this.clone();return y.__iteratees__.push({iteratee:Z(g,3),type:d}),y.__filtered__=y.__filtered__||h,y}}),_e([\"head\",\"last\"],function(s,u){var d=\"take\"+(u?\"Right\":\"\");me.prototype[s]=function(){return this[d](1).value()[0]}}),_e([\"initial\",\"tail\"],function(s,u){var d=\"drop\"+(u?\"\":\"Right\");me.prototype[s]=function(){return this.__filtered__?new me(this):this[d](1)}}),me.prototype.compact=function(){return this.filter(Yt)},me.prototype.find=function(s){return this.filter(s).head()},me.prototype.findLast=function(s){return this.reverse().find(s)},me.prototype.invokeMap=ve(function(s,u){return\"function\"==typeof s?new me(this):this.map(function(d){return Wo(d,s,u)})}),me.prototype.reject=function(s){return this.filter(ku(Z(s)))},me.prototype.slice=function(s,u){s=de(s);var d=this;return d.__filtered__&&(s>0||u<0)?new me(d):(s<0?d=d.takeRight(-s):s&&(d=d.drop(s)),u!==w&&(d=(u=de(u))<0?d.dropRight(-u):d.take(u-s)),d)},me.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},me.prototype.toArray=function(){return this.take(Zn)},er(me.prototype,function(s,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),h=/^(?:head|last)$/.test(u),g=v[h?\"take\"+(\"last\"==u?\"Right\":\"\"):u],y=h||/^find/.test(u);g&&(v.prototype[u]=function(){var D=this.__wrapped__,E=h?[1]:arguments,S=D instanceof me,x=E[0],O=S||ae(D),P=function(J){var Ee=g.apply(v,li([J],E));return h&&H?Ee[0]:Ee};O&&d&&\"function\"==typeof x&&1!=x.length&&(S=O=!1);var H=this.__chain__,Q=y&&!H,fe=S&&!this.__actions__.length;if(!y&&O){D=fe?D:new me(this);var Y=s.apply(D,E);return Y.__actions__.push({func:ed,args:[P],thisArg:w}),new nt(Y,H)}return Q&&fe?s.apply(this,E):(Y=this.thru(P),Q?h?Y.value()[0]:Y.value():Y)})}),_e([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(s){var u=Bn[s],d=/^(?:push|sort|unshift)$/.test(s)?\"tap\":\"thru\",h=/^(?:pop|shift)$/.test(s);v.prototype[s]=function(){var g=arguments;if(h&&!this.__chain__){var y=this.value();return u.apply(ae(y)?y:[],g)}return this[d](function(D){return u.apply(ae(D)?D:[],g)})}}),er(me.prototype,function(s,u){var d=v[u];if(d){var h=d.name+\"\";xe.call(Zi,h)||(Zi[h]=[]),Zi[h].push({name:u,func:d})}}),Zi[vu(w,2).name]=[{name:\"wrapper\",func:w}],me.prototype.clone=function fv(){var s=new me(this.__wrapped__);return s.__actions__=an(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=an(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=an(this.__views__),s},me.prototype.reverse=function hv(){if(this.__filtered__){var s=new me(this);s.__dir__=-1,s.__filtered__=!0}else(s=this.clone()).__dir__*=-1;return s},me.prototype.value=function lw(){var s=this.__wrapped__.value(),u=this.__dir__,d=ae(s),h=u<0,g=d?s.length:0,y=function Rv(s,u,d){for(var h=-1,g=d.length;++h=this.__values__.length;return{done:s,value:s?w:this.__values__[this.__index__++]}},v.prototype.plant=function jw(s){for(var u,d=this;d instanceof Yi;){var h=Fv(d);h.__index__=0,h.__values__=w,u?g.__wrapped__=h:u=h;var g=h;d=d.__wrapped__}return g.__wrapped__=s,u},v.prototype.reverse=function ny(){var s=this.__wrapped__;if(s instanceof me){var u=s;return this.__actions__.length&&(u=new me(this)),(u=u.reverse()).__actions__.push({func:ed,args:[es],thisArg:w}),new nt(u,this.__chain__)}return this.thru(es)},v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=function Ou(){return nr(this.__wrapped__,this.__actions__)},v.prototype.first=v.prototype.head,ie&&(v.prototype[ie]=function Uw(){return this}),v}();bt._=Ja,(Ne=function(){return Ja}.call(Io,Ol,Io,Or))!==w&&(Or.exports=Ne)}.call(this)}},Or=>{Or(Or.s=90)}]);"]}