{"version":3,"sources":["polyfills.js","runtime.js","main.js"],"names":[],"mappings":"AAAA;ACAA;ACAA","file":"searchApp.module.min.js","sourcesContent":["\"use strict\";(self.webpackChunkSearchApp2=self.webpackChunkSearchApp2||[]).push([[429],{5321:(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!==S&&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==S||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(S,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===S&&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}(),O=_(\"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[O](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 O=_.call(this);if(O)return a.set.call(this,O),\"function\"==typeof m[dr]&&m.removeAttribute(t),O}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[O];\"function\"==typeof v&&v.call(this,u)}catch{}}(l)}};E.length;)u()};var O=_(\"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\",S=_(\"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,S,{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=S[t.__symbol__(\"loadfalse\")],h=0;h{pe(pe.s=5321)}]);","(()=>{\"use strict\";var e,v={},h={};function a(e){var n=h[e];if(void 0!==n)return n.exports;var r=h[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(n,r,c,t)=>{if(!r){var u=1/0;for(f=0;f=t)&&Object.keys(a.O).every(_=>a.O[_](r[l]))?r.splice(l--,1):(o=!1,t0&&e[f-1][2]>t;f--)e[f]=e[f-1];e[f]=[r,c,t]},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=c=>0===e[c];var n=(c,t)=>{var l,s,[f,u,o]=t,p=0;if(f.some(d=>0!==e[d])){for(l in u)a.o(u,l)&&(a.m[l]=u[l]);if(o)var i=o(a)}for(c&&c(t);p{\"use strict\";function h(e){return\"function\"==typeof e}function m(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 v=m(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(\"\\n \")}`:\"\",this.name=\"UnsubscriptionError\",this.errors=t});function _(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class D{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 i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(h(r))try{r()}catch(i){n=i instanceof v?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{M(i)}catch(s){n=n??[],s instanceof v?n=[...n,...s.errors]:n.push(s)}}if(n)throw new v(n)}}add(n){var t;if(n&&n!==this)if(this.closed)M(n);else{if(n instanceof D){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)&&_(t,n)}remove(n){const{_teardowns:t}=this;t&&_(t,n),n instanceof D&&n._removeParent(this)}}D.EMPTY=(()=>{const e=new D;return e.closed=!0,e})();const C=D.EMPTY;function E(e){return e instanceof D||e&&\"closed\"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function M(e){h(e)?e():e.unsubscribe()}const P={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},O={setTimeout(...e){const{delegate:n}=O;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=O;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $(e){O.setTimeout(()=>{const{onUnhandledError:n}=P;if(!n)throw e;n(e)})}function j(){}const te=_e(\"C\",void 0,void 0);function _e(e,n,t){return{kind:e,value:n,error:t}}let ie=null;function ce(e){if(P.useDeprecatedSynchronousErrorHandling){const n=!ie;if(n&&(ie={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=ie;if(ie=null,t)throw r}}else e()}class Ve extends D{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,E(n)&&n.add(this)):this.destination=it}static create(n,t,r){return new fe(n,t,r)}next(n){this.isStopped?he(function Ge(e){return _e(\"N\",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?he(function le(e){return _e(\"E\",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?he(te,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 fe extends Ve{constructor(n,t,r){let o;if(super(),h(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&P.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?je(o):j,error:je(t??pe),complete:r?je(r):j}}}function je(e,n){return(...t)=>{try{e(...t)}catch(r){P.useDeprecatedSynchronousErrorHandling?function de(e){P.useDeprecatedSynchronousErrorHandling&&ie&&(ie.errorThrown=!0,ie.error=e)}(r):$(r)}}}function pe(e){throw e}function he(e,n){const{onStoppedNotification:t}=P;t&&O.setTimeout(()=>t(e,n))}const it={closed:!0,next:j,error:pe,complete:j},rt=\"function\"==typeof Symbol&&Symbol.observable||\"@@observable\";function Xe(e){return e}function Wt(e){return 0===e.length?Xe:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}let ye=(()=>{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,o){const i=function cl(e){return e&&e instanceof Ve||function Qr(e){return e&&h(e.next)&&h(e.error)&&h(e.complete)}(e)&&E(e)}(t)?t:new fe(t,r,o);return ce(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Zr(r))((o,i)=>{const s=new fe({next:a=>{try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[rt](){return this}pipe(...t){return Wt(t)(this)}toPromise(t){return new(t=Zr(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Zr(e){var n;return null!==(n=e??P.Promise)&&void 0!==n?n:Promise}const jb=m(e=>function(){e(this),this.name=\"ObjectUnsubscribedError\",this.message=\"object unsubscribed\"});let qt=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Hh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new jb}next(t){ce(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){ce(()=>{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(){ce(()=>{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:o,observers:i}=this;return r||o?C:(i.push(t),new D(()=>_(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new ye;return t.source=this,t}}return e.create=(n,t)=>new Hh(n,t),e})();class Hh extends qt{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:C}}function Bh(e){return h(e?.lift)}function Je(e){return n=>{if(Bh(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 Ze extends Ve{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}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 Ce(e,n){return Je((t,r)=>{let o=0;t.subscribe(new Ze(r,i=>{r.next(e.call(n,i,o++))}))})}function rr(e){return this instanceof rr?(this.v=e,this):new rr(e)}function zh(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 pl(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(i){t[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}\"function\"==typeof SuppressedError&&SuppressedError;const Wh=e=>e&&\"number\"==typeof e.length&&\"function\"!=typeof e;function qh(e){return h(e?.then)}function Zh(e){return h(e[rt])}function Qh(e){return Symbol.asyncIterator&&h(e?.[Symbol.asyncIterator])}function Yh(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 Kh=function aI(){return\"function\"==typeof Symbol&&Symbol.iterator?Symbol.iterator:\"@@iterator\"}();function Xh(e){return h(e?.[Kh])}function Jh(e){return function Gh(e,n,t){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var o,r=t.apply(e,n||[]),i=[];return o={},s(\"next\"),s(\"throw\"),s(\"return\"),o[Symbol.asyncIterator]=function(){return this},o;function s(p){r[p]&&(o[p]=function(y){return new Promise(function(b,I){i.push([p,y,b,I])>1||a(p,y)})})}function a(p,y){try{!function u(p){p.value instanceof rr?Promise.resolve(p.value.v).then(l,c):f(i[0][2],p)}(r[p](y))}catch(b){f(i[0][3],b)}}function l(p){a(\"next\",p)}function c(p){a(\"throw\",p)}function f(p,y){p(y),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield rr(t.read());if(o)return yield rr(void 0);yield yield rr(r)}}finally{t.releaseLock()}})}function ep(e){return h(e?.getReader)}function rn(e){if(e instanceof ye)return e;if(null!=e){if(Zh(e))return function uI(e){return new ye(n=>{const t=e[rt]();if(h(t.subscribe))return t.subscribe(n);throw new TypeError(\"Provided object does not correctly implement Symbol.observable\")})}(e);if(Wh(e))return function lI(e){return new ye(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$)})}(e);if(Qh(e))return tp(e);if(Xh(e))return function dI(e){return new ye(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ep(e))return function fI(e){return tp(Jh(e))}(e)}throw Yh(e)}function tp(e){return new ye(n=>{(function hI(e,n){var t,r,o,i;return function $h(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(f){s(f)}}function u(c){try{l(r.throw(c))}catch(f){s(f)}}function l(c){c.done?i(c.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=zh(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function jn(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function st(e,n,t=1/0){return h(n)?st((r,o)=>Ce((i,s)=>n(r,i,o,s))(rn(e(r,o))),t):(\"number\"==typeof n&&(t=n),Je((r,o)=>function pI(e,n,t,r,o,i,s,a){const u=[];let l=0,c=0,f=!1;const p=()=>{f&&!u.length&&!l&&n.complete()},y=I=>l{i&&n.next(I),l++;let A=!1;rn(t(I,c++)).subscribe(new Ze(n,R=>{o?.(R),i?y(R):n.next(R)},()=>{A=!0},void 0,()=>{if(A)try{for(l--;u.length&&lb(R)):b(R)}p()}catch(R){n.error(R)}}))};return e.subscribe(new Ze(n,y,()=>{f=!0,p()})),()=>{a?.()}}(r,o,e,t)))}function Yr(e=1/0){return st(Xe,e)}const yn=new ye(e=>e.complete());function gl(e){return e[e.length-1]}function np(e){return h(gl(e))?e.pop():void 0}function ai(e){return function mI(e){return e&&h(e.schedule)}(gl(e))?e.pop():void 0}function rp(e,n=0){return Je((t,r)=>{t.subscribe(new Ze(r,o=>jn(r,e,()=>r.next(o),n),()=>jn(r,e,()=>r.complete(),n),o=>jn(r,e,()=>r.error(o),n)))})}function op(e,n=0){return Je((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function ip(e,n){if(!e)throw new Error(\"Iterable cannot be null\");return new ye(t=>{jn(t,n,()=>{const r=e[Symbol.asyncIterator]();jn(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Qe(e,n){return n?function EI(e,n){if(null!=e){if(Zh(e))return function yI(e,n){return rn(e).pipe(op(n),rp(n))}(e,n);if(Wh(e))return function _I(e,n){return new ye(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(qh(e))return function DI(e,n){return rn(e).pipe(op(n),rp(n))}(e,n);if(Qh(e))return ip(e,n);if(Xh(e))return function CI(e,n){return new ye(t=>{let r;return jn(t,n,()=>{r=e[Kh](),jn(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>h(r?.return)&&r.return()})}(e,n);if(ep(e))return function wI(e,n){return ip(Jh(e),n)}(e,n)}throw Yh(e)}(e,n):rn(e)}class Zt extends qt{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 G(...e){return Qe(e,ai(e))}function Er(e){return e<=0?()=>yn:Je((n,t)=>{let r=0;n.subscribe(new Ze(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function sp(e={}){const{connector:n=(()=>new qt),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,u=null,l=0,c=!1,f=!1;const p=()=>{a?.unsubscribe(),a=null},y=()=>{p(),s=u=null,c=f=!1},b=()=>{const I=s;y(),I?.unsubscribe()};return Je((I,A)=>{l++,!f&&!c&&p();const R=u=u??n();A.add(()=>{l--,0===l&&!f&&!c&&(a=ml(b,o))}),R.subscribe(A),s||(s=new fe({next:S=>R.next(S),error:S=>{f=!0,p(),a=ml(y,t,S),R.error(S)},complete:()=>{c=!0,p(),a=ml(y,r),R.complete()}}),Qe(I).subscribe(s))})(i)}}function ml(e,n,...t){return!0===n?(e(),null):!1===n?null:n(...t).pipe(Er(1)).subscribe(()=>e())}function on(e,n){return Je((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(new Ze(r,u=>{o?.unsubscribe();let l=0;const c=i++;rn(e(u,c)).subscribe(o=new Ze(r,f=>r.next(n?n(u,f,c,l++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function SI(e,n){return e===n}function Se(e){for(let n in e)if(e[n]===Se)return n;throw Error(\"Could not find renamed property on target object.\")}function ks(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function et(e){if(\"string\"==typeof e)return e;if(Array.isArray(e))return\"[\"+e.map(et).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 vl(e,n){return null==e||\"\"===e?null===n?\"\":n:null==n||\"\"===n?e:e+\" \"+n}const MI=Se({__forward_ref__:Se});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return et(this())},e}function q(e){return yl(e)?e():e}function yl(e){return\"function\"==typeof e&&e.hasOwnProperty(MI)&&e.__forward_ref__===xe}function Dl(e){return e&&!!e.\\u0275providers}const ap=\"https://g.co/ng/security#xss\";class N extends Error{constructor(n,t){super(function Ls(e,n){return`NG0${Math.abs(e)}${n?\": \"+n:\"\"}`}(n,t)),this.code=n}}function Y(e){return\"string\"==typeof e?e:null==e?\"\":String(e)}function _l(e,n){throw new N(-201,!1)}function Qt(e,n){null==e&&function z(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?\"\":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,\"!=\")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function sn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Vs(e){return up(e,Hs)||up(e,lp)}function up(e,n){return e.hasOwnProperty(n)?e[n]:null}function js(e){return e&&(e.hasOwnProperty(Cl)||e.hasOwnProperty(FI))?e[Cl]:null}const Hs=Se({\\u0275prov:Se}),Cl=Se({\\u0275inj:Se}),lp=Se({ngInjectableDef:Se}),FI=Se({ngInjectorDef:Se});var se=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}(se||{});let wl;function Mt(e){const n=wl;return wl=e,n}function dp(e,n,t){const r=Vs(e);return r&&\"root\"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&se.Optional?null:void 0!==n?n:void _l(et(e))}const Ne=globalThis,ui={},Ml=\"__NG_DI_FLAG__\",Bs=\"ngTempTokenPath\",VI=/\\n/gm,hp=\"__source\";let Kr;function or(e){const n=Kr;return Kr=e,n}function BI(e,n=se.Default){if(void 0===Kr)throw new N(-203,!1);return null===Kr?dp(e,void 0,n):Kr.get(e,n&se.Optional?null:void 0,n)}function H(e,n=se.Default){return(function cp(){return wl}()||BI)(q(e),n)}function k(e,n=se.Default){return H(e,$s(n))}function $s(e){return typeof e>\"u\"||\"number\"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Al(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?\"\":o[f+1].toLowerCase();const y=8&r?p:null;if(y&&-1!==vp(y,l,0)||2&r&&l!==p){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(u))return!1;if(s&&un(u))continue;s=!1,r=u|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function ZI(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'=\"'+a+'\"':\"\")+\"]\"}else 8&r?o+=\".\"+s:4&r&&(o+=\" \"+s);else\"\"!==o&&!un(s)&&(n+=bp(i,o),o=\"\"),r=s,i=i||!un(r);t++}return\"\"!==o&&(n+=bp(i,o)),n}function $n(e){return Hn(()=>{const n=Sp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Us.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||an.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:\"\"};Mp(t);const r=e.dependencies;return t.directiveDefs=zs(r,!1),t.pipeDefs=zs(r,!0),t.id=function aS(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 o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,\"c\"+n}(t),t})}function rS(e){return me(e)||at(e)}function oS(e){return null!==e}function _n(e){return Hn(()=>({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 Ip(e,n){if(null==e)return Dn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function Z(e){return Hn(()=>{const n=Sp(e);return Mp(n),n})}function me(e){return e[Gs]||null}function at(e){return e[Tl]||null}function vt(e){return e[xl]||null}function Ft(e,n){const t=e[gp]||null;if(!t&&!0===n)throw new Error(`Type ${et(e)} does not have '\\u0275mod' property.`);return t}function Sp(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||Dn,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:Ip(e.inputs,n),outputs:Ip(e.outputs)}}function Mp(e){e.features?.forEach(n=>n(e))}function zs(e,n){if(!e)return null;const t=n?vt:rS;return()=>(\"function\"==typeof e?e():e).map(r=>t(r)).filter(oS)}const $e=0,F=1,ee=2,ke=3,ln=4,fi=5,ft=6,Jr=7,ze=8,ir=9,eo=10,K=11,hi=12,Ap=13,to=14,We=15,pi=16,no=17,Cn=18,gi=19,Tp=20,sr=21,Un=22,mi=23,vi=24,ae=25,Rl=1,xp=2,wn=7,ro=9,ut=11;function Tt(e){return Array.isArray(e)&&\"object\"==typeof e[Rl]}function yt(e){return Array.isArray(e)&&!0===e[Rl]}function Ol(e){return 0!=(4&e.flags)}function Ir(e){return e.componentOffset>-1}function qs(e){return 1==(1&e.flags)}function cn(e){return!!e.template}function Pl(e){return 0!=(512&e[ee])}function Sr(e,n){return e.hasOwnProperty(Bn)?e[Bn]:null}let lt=null,Zs=!1;function Yt(e){const n=lt;return lt=e,n}const Op={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 Fp(e){if(!Di(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Vp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Lp(e){e.dirty=!0,function kp(e){if(void 0===e.liveConsumerNode)return;const n=Zs;Zs=!0;try{for(const t of e.liveConsumerNode)t.dirty||Lp(t)}finally{Zs=n}}(e),e.consumerMarkedDirty?.(e)}function kl(e){return e&&(e.nextProducerIndex=0),Yt(e)}function Ll(e,n){if(Yt(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Di(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Vp(e){oo(e);for(let n=0;n0}function oo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let $p=null;const Wp=()=>{},_S=(()=>({...Op,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Wp}))();class CS{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Kt(){return qp}function qp(e){return e.type.prototype.ngOnChanges&&(e.setInput=ES),wS}function wS(){const e=Qp(this),n=e?.current;if(n){const t=e.previous;if(t===Dn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ES(e,n,t,r){const o=this.declaredInputs[t],i=Qp(e)||function bS(e,n){return e[Zp]=n}(e,{previous:Dn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new CS(u&&u.currentValue,n,a===Dn),e[r]=n}Kt.ngInherit=!0;const Zp=\"__ngSimpleChanges__\";function Qp(e){return e[Zp]||null}const En=function(e,n,t){};function Re(e){for(;Array.isArray(e);)e=e[$e];return e}function Ys(e,n){return Re(n[e])}function xt(e,n){return Re(n[e.index])}function Xp(e,n){return e.data[n]}function kt(e,n){const t=n[e];return Tt(t)?t:t[$e]}function ur(e,n){return null==n?null:e[n]}function Jp(e){e[no]=0}function xS(e){1024&e[ee]||(e[ee]|=1024,tg(e,1))}function eg(e){1024&e[ee]&&(e[ee]&=-1025,tg(e,-1))}function tg(e,n){let t=e[ke];if(null===t)return;t[fi]+=n;let r=t;for(t=t[ke];null!==t&&(1===n&&1===r[fi]||-1===n&&0===r[fi]);)t[fi]+=n,r=t,t=t[ke]}const W={lFrame:pg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function og(){return W.bindingsEnabled}function T(){return W.lFrame.lView}function ve(){return W.lFrame.tView}function ct(){let e=ag();for(;null!==e&&64===e.type;)e=e.parent;return e}function ag(){return W.lFrame.currentTNode}function bn(e,n){const t=W.lFrame;t.currentTNode=e,t.isParent=n}function $l(){return W.lFrame.isParent}function Dt(){const e=W.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function ao(){return W.lFrame.bindingIndex++}function zn(e){const n=W.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function $S(e,n){const t=W.lFrame;t.bindingIndex=t.bindingRootIndex=e,Gl(n)}function Gl(e){W.lFrame.currentDirectiveIndex=e}function dg(){return W.lFrame.currentQueryIndex}function Wl(e){W.lFrame.currentQueryIndex=e}function GS(e){const n=e[F];return 2===n.type?n.declTNode:1===n.type?e[ft]:null}function fg(e,n,t){if(t&se.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&se.Host||(o=GS(i),null===o||(i=i[to],10&o.type))););if(null===o)return!1;n=o,e=i}const r=W.lFrame=hg();return r.currentTNode=n,r.lView=e,!0}function ql(e){const n=hg(),t=e[F];W.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function hg(){const e=W.lFrame,n=null===e?null:e.child;return null===n?pg(e):n}function pg(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 gg(){const e=W.lFrame;return W.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mg=gg;function Zl(){const e=gg();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 _t(){return W.lFrame.selectedIndex}function Mr(e){W.lFrame.selectedIndex=e}function He(){const e=W.lFrame;return Xp(e.tView,e.selectedIndex)}let Dg=!0;function Ks(){return Dg}function lr(e){Dg=e}function Xs(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[u]<0&&(e[no]+=65536),(a>13>16&&(3&e[ee])===n&&(e[ee]+=8192,Cg(a,i)):Cg(a,i)}const uo=-1;class Ci{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Kl(e){return e!==uo}function wi(e){return 32767&e}function Ei(e,n){let t=function tM(e){return e>>16}(e),r=n;for(;t>0;)r=r[to],t--;return r}let Xl=!0;function ta(e){const n=Xl;return Xl=e,n}const wg=255,Eg=5;let nM=0;const In={};function na(e,n){const t=bg(e,n);if(-1!==t)return t;const r=n[F];r.firstCreatePass&&(e.injectorIndex=n.length,Jl(r.data,e),Jl(n,null),Jl(r.blueprint,null));const o=ra(e,n),i=e.injectorIndex;if(Kl(o)){const s=wi(o),a=Ei(o,n),u=a[F].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|u[s+l]}return n[i+8]=o,i}function Jl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function bg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ra(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=Ng(o),null===r)return uo;if(t++,o=o[to],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return uo}function ec(e,n,t){!function rM(e,n,t){let r;\"string\"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ci)&&(r=t[ci]),null==r&&(r=t[ci]=nM++);const o=r&wg;n.data[e+(o>>Eg)]|=1<=0?n&wg:uM:n}(t);if(\"function\"==typeof i){if(!fg(n,e,r))return r&se.Host?Ig(o,0,r):Sg(n,t,r,o);try{let s;if(s=i(r),null!=s||r&se.Optional)return s;_l()}finally{mg()}}else if(\"number\"==typeof i){let s=null,a=bg(e,n),u=uo,l=r&se.Host?n[We][ft]:null;for((-1===a||r&se.SkipSelf)&&(u=-1===a?ra(e,n):n[a+8],u!==uo&&xg(r,!1)?(s=n[F],a=wi(u),n=Ei(u,n)):a=-1);-1!==a;){const c=n[F];if(Tg(i,a,c.data)){const f=iM(a,n,t,s,r,l);if(f!==In)return f}u=n[a+8],u!==uo&&xg(r,n[F].data[a+8]===l)&&Tg(i,a,n)?(s=c,a=wi(u),n=Ei(u,n)):a=-1}}return o}function iM(e,n,t,r,o,i){const s=n[F],a=s.data[e+8],c=oa(a,s,t,null==r?Ir(a)&&Xl:r!=s&&0!=(3&a.type),o&se.Host&&i===a);return null!==c?Ar(n,s,c,a):In}function oa(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,u=e.directiveStart,c=i>>20,p=o?a+c:e.directiveEnd;for(let y=r?a:a+c;y=u&&b.type===t)return y}if(o){const y=s[u];if(y&&cn(y)&&y.type===t)return u}return null}function Ar(e,n,t,r){let o=e[t];const i=n.data;if(function XS(e){return e instanceof Ci}(o)){const s=o;s.resolving&&function AI(e,n){const t=n?`. Dependency path: ${n.join(\" > \")} > ${e}`:\"\";throw new N(-200,`Circular dependency in DI detected for ${e}${t}`)}(function Ie(e){return\"function\"==typeof e?e.name||e.toString():\"object\"==typeof e&&null!=e&&\"function\"==typeof e.type?e.type.name||e.type.toString():Y(e)}(i[t]));const a=ta(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Mt(s.injectImpl):null;fg(e,r,se.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function YS(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=qp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&Mt(l),ta(a),s.resolving=!1,mg()}}return o}function Tg(e,n,t){return!!(t[n+(e>>Eg)]&1<{const n=e.prototype.constructor,t=n[Bn]||tc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Bn]||tc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function tc(e){return yl(e)?()=>{const n=tc(q(e));return n&&n()}:Sr(e)}function Ng(e){const n=e[F],t=n.type;return 2===t?n.declTNode:1===t?e[ft]:null}const co=\"__parameters__\";function ho(e,n,t){return Hn(()=>{const r=function nc(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const f=u.hasOwnProperty(co)?u[co]:Object.defineProperty(u,co,{value:[]})[co];for(;f.length<=c;)f.push(null);return(f[c]=f[c]||[]).push(s),u}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function go(e,n){e.forEach(t=>Array.isArray(t)?go(t,n):n(t))}function Og(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function sa(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Lt(e,n,t){let r=mo(e,n);return r>=0?e[1|r]=t:(r=~r,function mM(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function rc(e,n){const t=mo(e,n);if(t>=0)return e[1|t]}function mo(e,n){return function Pg(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<0&&(e[t-1][ln]=r[ln]);const i=sa(e,ut+n);!function JM(e,n){Ni(e,n,n[K],2,null,null),n[$e]=null,n[ft]=null}(r[F],r);const s=i[Cn];null!==s&&s.detachView(i[F]),r[ke]=null,r[ln]=null,r[ee]&=-129}return r}function pc(e,n){if(!(256&n[ee])){const t=n[K];n[mi]&&jp(n[mi]),n[vi]&&jp(n[vi]),t.destroyNode&&Ni(e,n,t,3,null,null),function n0(e){let n=e[hi];if(!n)return gc(e[F],e);for(;n;){let t=null;if(Tt(n))t=n[hi];else{const r=n[ut];r&&(t=r)}if(!t){for(;n&&!n[ln]&&n!==e;)Tt(n)&&gc(n[F],n),n=n[ke];null===n&&(n=e),Tt(n)&&gc(n[F],n),t=n&&n[ln]}n=t}}(n)}}function gc(e,n){if(!(256&n[ee])){n[ee]&=-129,n[ee]|=256,function a0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[Jr]=null);const o=n[sr];if(null!==o){n[sr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===an.None||i===an.Emulated)return null}return xt(r,t)}}(e,n.parent,t)}function Tr(e,n,t,r,o){e.insertBefore(n,t,r,o)}function sm(e,n,t){e.appendChild(n,t)}function am(e,n,t,r,o){null!==r?Tr(e,n,t,r,o):sm(e,n,t)}function Da(e,n){return e.parentNode(n)}let vc,wa,Cc,Ea,cm=function lm(e,n,t){return 40&e.type?xt(e,t):null};function _a(e,n,t,r){const o=mc(e,r,n),i=n[K],a=function um(e,n,t){return cm(e,n,t)}(r.parent||n[ft],r,n);if(null!=o)if(Array.isArray(t))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return wa}()?.createHTML(e)||e}function Co(){if(void 0!==Cc)return Cc;if(typeof document<\"u\")return document;throw new N(210,!1)}function vm(e){return function wc(){if(void 0===Ea&&(Ea=null,Ne.trustedTypes))try{Ea=Ne.trustedTypes.createPolicy(\"angular#unsafe-bypass\",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ea}()?.createHTML(e)||e}class _m{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ap})`}}function dr(e){return e instanceof _m?e.changingThisBreaksApplicationSecurity:e}function Ri(e,n){const t=function E0(e){return e instanceof _m&&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 ${ap})`)}return t===n}class b0{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=\"\"+n;try{const t=(new window.DOMParser).parseFromString(_o(n),\"text/html\").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class I0{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(\"sanitization-inert\")}getInertBodyElement(n){const t=this.inertDocument.createElement(\"template\");return t.innerHTML=_o(n),t}}const M0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\\/?#]*(?:[\\/?#]|$))/i;function Ec(e){return(e=String(e)).match(M0)?e:\"unsafe:\"+e}function Wn(e){const n={};for(const t of e.split(\",\"))n[t]=!0;return n}function Oi(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const wm=Wn(\"area,br,col,hr,img,wbr\"),Em=Wn(\"colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr\"),bm=Wn(\"rp,rt\"),bc=Oi(wm,Oi(Em,Wn(\"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\")),Oi(bm,Wn(\"a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video\")),Oi(bm,Em)),Ic=Wn(\"background,cite,href,itemtype,longdesc,poster,src,xlink:href\"),Im=Oi(Ic,Wn(\"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\"),Wn(\"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\")),A0=Wn(\"script,style,template\");class T0{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 o=this.checkClobberedElement(t,t.nextSibling);if(o){t=o;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join(\"\")}startElement(n){const t=n.nodeName.toLowerCase();if(!bc.hasOwnProperty(t))return this.sanitizedSomething=!0,!A0.hasOwnProperty(t);this.buf.push(\"<\"),this.buf.push(t);const r=n.attributes;for(let o=0;o\"),!0}endElement(n){const t=n.nodeName.toLowerCase();bc.hasOwnProperty(t)&&!wm.hasOwnProperty(t)&&(this.buf.push(\"\"))}chars(n){this.buf.push(Sm(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 x0=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,N0=/([^\\#-~ |!])/g;function Sm(e){return e.replace(/&/g,\"&\").replace(x0,function(n){return\"&#\"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+\";\"}).replace(N0,function(n){return\"&#\"+n.charCodeAt(0)+\";\"}).replace(//g,\">\")}let ba;function Sc(e){return\"content\"in e&&function O0(e){return e.nodeType===Node.ELEMENT_NODE&&\"TEMPLATE\"===e.nodeName}(e)?e.content:null}var wo=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}(wo||{});function Sn(e){const n=Pi();return n?vm(n.sanitize(wo.HTML,e)||\"\"):Ri(e,\"HTML\")?vm(dr(e)):function R0(e,n){let t=null;try{ba=ba||function Cm(e){const n=new I0(e);return function S0(){try{return!!(new window.DOMParser).parseFromString(_o(\"\"),\"text/html\")}catch{return!1}}()?new b0(n):n}(e);let r=n?String(n):\"\";t=ba.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error(\"Failed to sanitize html because the input is unstable\");o--,r=i,i=t.innerHTML,t=ba.getInertBodyElement(r)}while(r!==i);return _o((new T0).sanitizeChildren(Sc(t)||t))}finally{if(t){const r=Sc(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Co(),Y(e))}function xr(e){const n=Pi();return n?n.sanitize(wo.URL,e)||\"\":Ri(e,\"URL\")?dr(e):Ec(Y(e))}function Pi(){const e=T();return e&&e[eo].sanitizer}class V{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=B({token:this,providedIn:t.providedIn||\"root\",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Fi=new V(\"ENVIRONMENT_INITIALIZER\"),Tm=new V(\"INJECTOR\",-1),xm=new V(\"INJECTOR_DEF_TYPES\");class Mc{get(n,t=ui){if(t===ui){const r=new Error(`NullInjectorError: No provider for ${et(n)}!`);throw r.name=\"NullInjectorError\",r}return t}}function j0(...e){return{\\u0275providers:Nm(0,e),\\u0275fromNgModule:!0}}function Nm(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return go(n,s=>{const a=s;Ia(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Rm(o,i),t}function Rm(e,n){for(let t=0;t{n(i,r)})}}function Ia(e,n,t,r){if(!(e=q(e)))return!1;let o=null,i=js(e);const s=!i&&me(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=js(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u=\"function\"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Ia(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{go(i.imports,c=>{Ia(c,n,t,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Rm(l,n)}if(!a){const l=Sr(o)||(()=>new o);n({provide:o,useFactory:l,deps:De},o),n({provide:xm,useValue:o,multi:!0},o),n({provide:Fi,useValue:()=>H(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Tc(u,c=>{n(c,l)})}}}return o!==e&&void 0!==e.providers}function Tc(e,n){for(let t of e)Dl(t)&&(t=t.\\u0275providers),Array.isArray(t)?Tc(t,n):n(t)}const H0=Se({provide:String,useValue:Se});function xc(e){return null!==e&&\"object\"==typeof e&&H0 in e}function Nr(e){return\"function\"==typeof e}const Nc=new V(\"Set Injector scope.\"),Sa={},$0={};let Rc;function Ma(){return void 0===Rc&&(Rc=new Mc),Rc}class Vt{}class Aa extends Vt{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pc(n,s=>this.processProvider(s)),this.records.set(Tm,Eo(void 0,this)),o.has(\"environment\")&&this.records.set(Vt,Eo(void 0,this));const i=this.records.get(Nc);null!=i&&\"string\"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xm.multi,De,se.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=or(this),r=Mt(void 0);try{return n()}finally{or(t),Mt(r)}}get(n,t=ui,r=se.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(mp))return n[mp](this);r=$s(r);const i=or(this),s=Mt(void 0);try{if(!(r&se.SkipSelf)){let u=this.records.get(n);if(void 0===u){const l=function q0(e){return\"function\"==typeof e||\"object\"==typeof e&&e instanceof V}(n)&&Vs(n);u=l&&this.injectableDefInScope(l)?Eo(Oc(n),Sa):null,this.records.set(n,u)}if(null!=u)return this.hydrate(n,u)}return(r&se.Self?Ma():this.parent).get(n,t=r&se.Optional&&t===ui?null:t)}catch(a){if(\"NullInjectorError\"===a.name){if((a[Bs]=a[Bs]||[]).unshift(et(n)),i)throw a;return function UI(e,n,t,r){const o=e[Bs];throw n[hp]&&o.unshift(n[hp]),e.message=function GI(e,n,t,r=null){e=e&&\"\\n\"===e.charAt(0)&&\"\\u0275\"==e.charAt(1)?e.slice(2):e;let o=et(n);if(Array.isArray(n))o=n.map(et).join(\" -> \");else if(\"object\"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+\":\"+(\"string\"==typeof a?JSON.stringify(a):et(a)))}o=`{${i.join(\", \")}}`}return`${t}${r?\"(\"+r+\")\":\"\"}[${o}]: ${e.replace(VI,\"\\n \")}`}(\"\\n\"+e.message,o,t,r),e.ngTokenPath=o,e[Bs]=null,e}(a,n,\"R3InjectorError\",this.source)}throw a}finally{Mt(s),or(i)}}resolveInjectorInitializers(){const n=or(this),t=Mt(void 0);try{const o=this.get(Fi.multi,De,se.Self);for(const i of o)i()}finally{or(n),Mt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(et(r));return`R3Injector[${n.join(\", \")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(n){let t=Nr(n=q(n))?n:q(n&&n.provide);const r=function G0(e){return xc(e)?Eo(void 0,e.useValue):Eo(Fm(e),Sa)}(n);if(Nr(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=Eo(void 0,Sa,!0),o.factory=()=>Al(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Sa&&(t.value=$0,t.value=t.factory()),\"object\"==typeof t.value&&t.value&&function W0(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=q(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 Oc(e){const n=Vs(e),t=null!==n?n.factory:Sr(e);if(null!==t)return t;if(e instanceof V)throw new N(204,!1);if(e instanceof Function)return function U0(e){const n=e.length;if(n>0)throw function Si(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new N(204,!1)}function Fm(e,n,t){let r;if(Nr(e)){const o=q(e);return Sr(o)||Oc(o)}if(xc(e))r=()=>q(e.useValue);else if(function Pm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Al(e.deps||[]));else if(function Om(e){return!(!e||!e.useExisting)}(e))r=()=>H(q(e.useExisting));else{const o=q(e&&(e.useClass||e.provide));if(!function z0(e){return!!e.deps}(e))return Sr(o)||Oc(o);r=()=>new o(...Al(e.deps))}return r}function Eo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Pc(e,n){for(const t of e)Array.isArray(t)?Pc(t,n):t&&Dl(t)?Pc(t.\\u0275providers,n):n(t)}const Ta=new V(\"AppId\",{providedIn:\"root\",factory:()=>Z0}),Z0=\"ng\",km=new V(\"Platform Initializer\"),Rr=new V(\"Platform ID\",{providedIn:\"platform\",factory:()=>\"unknown\"}),Lm=new V(\"CSP nonce\",{providedIn:\"root\",factory:()=>Co().body?.querySelector(\"[ngCspNonce]\")?.getAttribute(\"ngCspNonce\")||null});let Vm=(e,n,t)=>null;function $c(e,n,t=!1){return Vm(e,n,t)}class oA{}class Bm{}class sA{resolveComponentFactory(n){throw function iA(e){const n=Error(`No component factory found for ${et(e)}.`);return n.ngComponent=e,n}(n)}}let Fa=(()=>{class e{static#e=this.NULL=new sA}return e})();function aA(){return So(ct(),T())}function So(e,n){return new jt(xt(e,n))}let jt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=aA}return e})();function uA(e){return e instanceof jt?e.nativeElement:e}class Um{}let Mn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function lA(){const e=T(),t=kt(ct().index,e);return(Tt(t)?t:e)[K]}()}return e})(),cA=(()=>{class e{static#e=this.\\u0275prov=B({token:e,providedIn:\"root\",factory:()=>null})}return e})();class Vi{constructor(n){this.full=n,this.major=n.split(\".\")[0],this.minor=n.split(\".\")[1],this.patch=n.split(\".\").slice(2).join(\".\")}}const dA=new Vi(\"16.2.9\"),zc={};function qm(e,n=null,t=null,r){const o=Zm(e,n,t,r);return o.resolveInjectorInitializers(),o}function Zm(e,n=null,t=null,r,o=new Set){const i=[t||De,j0(e)];return r=r||(\"object\"==typeof e?void 0:et(e)),new Aa(i,n||Ma(),r||null,o)}let Ht=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=ui;static#t=this.NULL=new Mc;static create(t,r){if(Array.isArray(t))return qm({name:\"\"},r,t,\"\");{const o=t.name??\"\";return qm({name:o},t.parent,t.providers,o)}}static#n=this.\\u0275prov=B({token:e,providedIn:\"any\",factory:()=>H(Tm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function qc(e){return e.ngOriginalError}class qn{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&&qc(n);for(;t&&qc(t);)t=qc(t);return t||null}}function Qc(e){return n=>{setTimeout(e,void 0,n)}}const Be=class yA extends qt{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&\"object\"==typeof n){const u=n;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Qc(i),o&&(o=Qc(o)),s&&(s=Qc(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof D&&n.add(a),a}};function Ym(...e){}class Oe{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Be(!1),this.onMicrotaskEmpty=new Be(!1),this.onStable=new Be(!1),this.onError=new Be(!1),typeof Zone>\"u\")throw new N(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function DA(){const e=\"function\"==typeof Ne.requestAnimationFrame;let n=Ne[e?\"requestAnimationFrame\":\"setTimeout\"],t=Ne[e?\"cancelAnimationFrame\":\"clearTimeout\"];if(typeof Zone<\"u\"&&n&&t){const r=n[Zone.__symbol__(\"OriginalDelegate\")];r&&(n=r);const o=t[Zone.__symbol__(\"OriginalDelegate\")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function wA(e){const n=()=>{!function CA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask(\"fakeTopEventTask\",()=>{e.lastRequestAnimationFrameId=-1,Kc(e),e.isCheckStableRunning=!0,Yc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Kc(e))}(e)};e._inner=e._inner.fork({name:\"angular\",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function bA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return Km(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&\"eventTask\"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),Xm(e)}},onInvoke:(t,r,o,i,s,a,u)=>{try{return Km(e),t.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&n(),Xm(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&(\"microTask\"==i.change?(e._hasPendingMicrotasks=i.microTask,Kc(e),Yc(e)):\"macroTask\"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<\"u\"&&!0===Zone.current.get(\"isAngularZone\")}static assertInAngularZone(){if(!Oe.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(Oe.isInAngularZone())throw new N(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask(\"NgZoneEvent: \"+o,n,_A,Ym,Ym);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const _A={};function Yc(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 Kc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Km(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xm(e){e._nesting--,Yc(e)}class EA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Be,this.onMicrotaskEmpty=new Be,this.onStable=new Be,this.onError=new Be}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,o){return n.apply(t,r)}}const Jm=new V(\"\",{providedIn:\"root\",factory:ev});function ev(){const e=k(Oe);let n=!0;return function bI(...e){const n=ai(e),t=function vI(e,n){return\"number\"==typeof gl(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?rn(r[0]):Yr(t)(Qe(r,n)):yn}(new ye(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new ye(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Oe.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Oe.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(sp()))}function tv(e){return e.ownerDocument.defaultView}function nv(e){return e.ownerDocument}function Zn(e){return e instanceof Function?e():e}let Xc=(()=>{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=B({token:e,providedIn:\"root\",factory:()=>new e})}return e})();function ji(e){for(;e;){e[ee]|=64;const n=Ti(e);if(Pl(e)&&!n)return e;e=n}return null}const av=new V(\"\",{providedIn:\"root\",factory:()=>!1});let La=null;function dv(e,n){return e[n]??pv()}function fv(e,n){const t=pv();t.producerNode?.length&&(e[n]=La,t.lView=e,La=hv())}const RA={...Op,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ji(e.lView)},lView:null};function hv(){return Object.create(RA)}function pv(){return La??=hv(),La}const X={};function J(e){gv(ve(),T(),_t()+e,!1)}function gv(e,n,t,r){if(!r)if(3==(3&n[ee])){const i=e.preOrderCheckHooks;null!==i&&Js(n,i,t)}else{const i=e.preOrderHooks;null!==i&&ea(n,i,0,t)}Mr(t)}function x(e,n=se.Default){const t=T();return null===t?H(e,n):Mg(ct(),t,q(e),n)}function Va(e,n,t,r,o,i,s,a,u,l,c){const f=n.blueprint.slice();return f[$e]=o,f[ee]=140|r,(null!==l||e&&2048&e[ee])&&(f[ee]|=2048),Jp(f),f[ke]=f[to]=e,f[ze]=t,f[eo]=s||e&&e[eo],f[K]=a||e&&e[K],f[ir]=u||e&&e[ir]||null,f[ft]=i,f[gi]=function BM(){return HM++}(),f[Un]=c,f[Tp]=l,f[We]=2==n.type?e[We]:f,f}function To(e,n,t,r,o){let i=e.data[n];if(null===i)i=function Jc(e,n,t,r,o){const i=ag(),s=$l(),u=e.data[n]=function HA(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function so(){return null!==W.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,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,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,n,t,r,o),function BS(){return W.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function _i(){const e=W.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return bn(i,!0),i}function Hi(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;iae&&gv(e,n,ae,!1),En(a?2:0,o);const l=a?i:null,c=kl(l);try{null!==l&&(l.dirty=!1),t(r,o)}finally{Ll(l,c)}}finally{a&&null===n[mi]&&fv(n,mi),Mr(s),En(a?3:1,o)}}function ed(e,n,t){if(Ol(n)){const r=Yt(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function _v(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?Cv(t,n,o,i):r.hasOwnProperty(o)&&Cv(t,n,r[o],i)}return t}function Cv(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Bt(e,n,t,r,o,i,s,a){const u=xt(n,t);let c,l=n.inputs;!a&&null!=l&&(c=l[r])?(ud(e,t,c,r,o),Ir(n)&&function UA(e,n){const t=kt(n,e);16&t[ee]||(t[ee]|=64)}(t,n.index)):3&n.type&&(r=function $A(e){return\"class\"===e?\"className\":\"for\"===e?\"htmlFor\":\"formaction\"===e?\"formAction\":\"innerHtml\"===e?\"innerHTML\":\"readonly\"===e?\"readOnly\":\"tabindex\"===e?\"tabIndex\":e}(r),o=null!=s?s(o,n.value||\"\",r):o,i.setProperty(u,r,o))}function od(e,n,t,r){if(og()){const o=null===r?null:{\"\":-1},i=function QA(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if(\"number\"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Hi(e,t,o.hostVars,X),o)}function An(e,n,t,r,o,i){const s=xt(e,n);!function sd(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?Y(i):s(i,r||\"\",o);e.setAttribute(n,o,a,t)}}(n[K],s,i,e.value,t,r,o)}function tT(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,o){const i=typeof Zone>\"u\"?null:Zone.current,s=function DS(e,n,t){const r=Object.create(_S);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Lp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Vp(r))return;r.hasRun=!0;const s=kl(r);try{r.cleanupFn(),r.cleanupFn=Wp,r.fn(o)}finally{Ll(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(t,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}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=B({token:e,providedIn:\"root\",factory:()=>new e})}return e})();function Ha(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s0){Pv(e,1);const o=t.components;null!==o&&kv(e,o,1)}}function kv(e,n,t){for(let r=0;r-1&&(ya(n,r),sa(t,r))}this._attachedToViewContainer=!1}pc(this._lView[F],this._lView)}onDestroy(n){!function ng(e,n){if(256==(256&e[ee]))throw new N(911,!1);null===e[sr]&&(e[sr]=[]),e[sr].push(n)}(this._lView,n)}markForCheck(){ji(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){this._lView[ee]|=128}detectChanges(){Ba(this._lView[F],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function t0(e,n){Ni(e,n,n[K],2,null,null)}(this._lView[F],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=n}}class cT extends $i{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Ba(n[F],n,n[ze],!1)}checkNoChanges(){}get context(){return null}}class Lv extends Fa{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=me(n);return new Ui(t,this.ngModule)}}function Vv(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class fT{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=$s(r);const o=this.injector.get(n,zc,r);return o!==zc||t===zc?o:this.parentInjector.get(n,t,r)}}class Ui extends Bm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=Vv(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return Vv(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function eS(e){return e.map(JI).join(\",\")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){let i=(o=o||this.ngModule)instanceof Vt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new fT(n,i):n,a=s.get(Um,null);if(null===a)throw new N(407,!1);const f={rendererFactory:a,sanitizer:s.get(cA,null),effectManager:s.get(Nv,null),afterRenderEventManager:s.get(Xc,null)},p=a.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||\"div\",b=r?function FA(e,n,t,r){const i=r.get(av,!1)||t===an.ShadowDom,s=e.selectRootElement(n,i);return function kA(e){Dv(e)}(s),s}(p,r,this.componentDef.encapsulation,s):va(p,y,function dT(e){const n=e.toLowerCase();return\"svg\"===n?\"svg\":\"math\"===n?\"math\":null}(y)),R=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let S=null;null!==b&&(S=$c(b,s,!0));const L=rd(0,null,null,1,0,null,null,null,null,null,null),U=Va(null,L,null,R,null,null,f,p,s,null,S);let oe,ot;ql(U);try{const Vn=this.componentDef;let qr,jh=null;Vn.findHostDirectiveDefs?(qr=[],jh=new Map,Vn.findHostDirectiveDefs(Vn,qr,jh),qr.push(Vn)):qr=[Vn];const Oj=function pT(e,n){const t=e[F],r=ae;return e[r]=n,To(t,r,2,\"#host\",null)}(U,b),Pj=function gT(e,n,t,r,o,i,s){const a=o[F];!function mT(e,n,t,r){for(const o of e)n.mergedAttrs=di(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Ha(n,n.mergedAttrs,!0),null!==t&&mm(r,t,n))}(r,e,n,s);let u=null;null!==n&&(u=$c(n,o[ir]));const l=i.rendererFactory.createRenderer(n,t);let c=16;t.signals?c=4096:t.onPush&&(c=64);const f=Va(o,yv(t),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&id(a,e,r.length-1),ja(o,f),o[e.index]=f}(Oj,b,Vn,qr,U,f,p);ot=Xp(L,ae),b&&function yT(e,n,t,r){if(r)Nl(e,t,[\"ng-version\",dA.full]);else{const{attrs:o,classes:i}=function tS(e){const n=[],t=[];let r=1,o=2;for(;r0&&gm(e,t,i.join(\" \"))}}(p,Vn,b,r),void 0!==t&&function DT(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=di(o.hostAttrs,t=di(t,o.hostAttrs))}}(r)}function $a(e){return e===Dn?{}:e===De?[]:e}function wT(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function ET(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function bT(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Ua(e){return!!cd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function cd(e){return null!==e&&(\"function\"==typeof e||\"object\"==typeof e)}function Tn(e,n,t){return e[n]=t}function pt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function en(e,n,t,r){const o=T();return pt(o,ao(),n)&&(ve(),An(He(),o,e,n,t,r)),en}function No(e,n,t,r){return pt(e,ao(),t)?n+Y(t)+r:X}function wt(e,n,t,r,o,i,s,a){const u=T(),l=ve(),c=e+ae,f=l.firstCreatePass?function QT(e,n,t,r,o,i,s,a,u){const l=n.consts,c=To(n,e,4,s||null,ur(l,a));od(n,t,c,ur(l,u)),Xs(n,c);const f=c.tView=rd(2,c,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,c),f.queries=n.queries.embeddedTView(c)),c}(c,l,u,n,t,r,o,i,s):l.data[c];bn(f,!1);const p=ny(l,u,f,e);Ks()&&_a(l,u,p,f),ht(p,u),ja(u,u[c]=Iv(p,u,p,f)),qs(f)&&td(l,u,f),null!=s&&nd(u,f,a)}let ny=function ry(e,n,t,r){return lr(!0),n[K].createComment(\"\")};function ue(e,n,t){const r=T();return pt(r,ao(),n)&&Bt(ve(),He(),r,e,n,r[K],t,!1),ue}function md(e,n,t,r,o){const s=o?\"class\":\"style\";ud(e,t,n.inputs[s],s,r)}function ne(e,n,t,r){const o=T(),i=ve(),s=ae+e,a=o[K],u=i.firstCreatePass?function JT(e,n,t,r,o,i){const s=n.consts,u=To(n,e,2,r,ur(s,o));return od(n,t,u,ur(s,i)),null!==u.attrs&&Ha(u,u.attrs,!1),null!==u.mergedAttrs&&Ha(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(s,i,o,n,t,r):i.data[s],l=iy(i,o,u,a,n,e);o[s]=l;const c=qs(u);return bn(u,!0),mm(a,l,u),32!=(32&u.flags)&&Ks()&&_a(i,o,l,u),0===function RS(){return W.lFrame.elementDepthCount}()&&ht(l,o),function OS(){W.lFrame.elementDepthCount++}(),c&&(td(i,o,u),ed(i,u,o)),null!==r&&nd(o,u),ne}function Q(){let e=ct();$l()?function Ul(){W.lFrame.isParent=!1}():(e=e.parent,bn(e,!1));const n=e;(function FS(e){return W.skipHydrationRootTNode===e})(n)&&function jS(){W.skipHydrationRootTNode=null}(),function PS(){W.lFrame.elementDepthCount--}();const t=ve();return t.firstCreatePass&&(Xs(t,e),Ol(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function JS(e){return 0!=(8&e.flags)}(n)&&md(t,n,T(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function eM(e){return 0!=(16&e.flags)}(n)&&md(t,n,T(),n.stylesWithoutHost,!1),Q}function we(e,n,t,r){return ne(e,n,t,r),Q(),we}let iy=(e,n,t,r,o,i)=>(lr(!0),va(r,o,function yg(){return W.lFrame.currentNamespace}()));function Zi(e){return!!e&&\"function\"==typeof e.then}function ly(e){return!!e&&\"function\"==typeof e.subscribe}function Ye(e,n,t,r){const o=T(),i=ve(),s=ct();return function dy(e,n,t,r,o,i,s){const a=qs(r),l=e.firstCreatePass&&Av(e),c=n[ze],f=Mv(n);let p=!0;if(3&r.type||s){const I=xt(r,n),A=s?s(I):I,R=f.length,S=s?U=>s(Re(U[r.index])):r.index;let L=null;if(!s&&a&&(L=function ix(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}\"string\"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==L)(L.__ngLastListenerFn__||L).__ngNextListenerFn__=i,L.__ngLastListenerFn__=i,p=!1;else{i=hy(r,n,c,i,!1);const U=t.listen(A,o,i);f.push(i,U),l&&l.push(o,S,R,R+1)}}else i=hy(r,n,c,i,!1);const y=r.outputs;let b;if(p&&null!==y&&(b=y[o])){const I=b.length;if(I)for(let A=0;A-1?kt(e.index,n):n);let u=fy(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)u=fy(n,t,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function $t(e=1){return function zS(e){return(W.lFrame.contextLView=function WS(e,n){for(;e>0;)n=n[to],e--;return n}(e,W.lFrame.contextLView))[ze]}(e)}function Qi(e,n,t){return Dd(e,\"\",n,\"\",t),Qi}function Dd(e,n,t,r,o){const i=T(),s=No(i,n,t,r);return s!==X&&Bt(ve(),He(),i,e,s,i[K],o,!1),Dd}function Za(e,n){return e<<17|n<<2}function fr(e){return e>>17&32767}function _d(e){return 2|e}function Pr(e){return(131068&e)>>2}function Cd(e,n){return-131069&e|n<<2}function wd(e){return 1|e}function wy(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?fr(i):Pr(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];px(e[a],n)&&(u=!0,e[a+1]=r?wd(c):_d(c)),a=r?fr(c):Pr(c)}u&&(e[t+1]=r?_d(i):wd(i))}function px(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||\"string\"!=typeof n)&&mo(e,n)>=0}const nt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ey(e){return e.substring(nt.key,nt.keyEnd)}function by(e,n){const t=nt.textEnd;return t===n?-1:(n=nt.keyEnd=function yx(e,n,t){for(;n32;)n++;return n}(e,nt.key=n,t),jo(e,n,t))}function jo(e,n,t){for(;n=0;t=by(n,t))Lt(e,Ey(n),!0)}function Ny(e,n){return n>=e.expandoStartIndex}function Ry(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[_t()],s=Ny(e,t);ky(i,r)&&null===n&&!s&&(n=!1),n=function wx(e,n,t,r){const o=function zl(e){const n=W.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=Yi(t=Ed(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=Ed(o,e,n,t,r),null===i){let u=function Ex(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Pr(r))return e[fr(r)]}(e,n,r);void 0!==u&&Array.isArray(u)&&(u=Ed(null,e,n,u[1],r),u=Yi(u,n.attrs,r),function bx(e,n,t,r){e[fr(t?n.classBindings:n.styleBindings)]=r}(e,n,r,u))}else i=function Ix(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):c=t,o)if(0!==u){const p=fr(e[a+1]);e[r+1]=Za(p,a),0!==p&&(e[p+1]=Cd(e[p+1],r)),e[a+1]=function cx(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Za(a,0),0!==a&&(e[a+1]=Cd(e[a+1],r)),a=r;else e[r+1]=Za(u,0),0===a?a=r:e[u+1]=Cd(e[u+1],r),u=r;l&&(e[r+1]=_d(e[r+1])),wy(e,c,r,!0),wy(e,c,r,!1),function hx(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&\"string\"==typeof n&&mo(i,n)>=0&&(t[r+1]=wd(t[r+1]))}(n,c,e,r,i),s=Za(a,u),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function Ed(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,f=null===c;let p=t[o+1];p===X&&(p=f?De:void 0);let y=f?rc(p,r):c===r?p:void 0;if(l&&!Ya(y)&&(y=rc(u,r)),Ya(y)&&(a=y,s))return a;const b=e[o+1];o=s?fr(b):Pr(b)}if(null!==n){let u=i?n.residualClasses:n.residualStyles;null!=u&&(a=rc(u,r))}return a}function Ya(e){return void 0!==e}function ky(e,n){return 0!=(e.flags&(n?8:16))}function Rn(e,n=\"\"){const t=T(),r=ve(),o=e+ae,i=r.firstCreatePass?To(r,o,1,n,null):r.data[o],s=Ly(r,t,i,n,e);t[o]=s,Ks()&&_a(r,t,s,i),bn(i,!1)}let Ly=(e,n,t,r,o)=>(lr(!0),function ma(e,n){return e.createText(n)}(n[K],r));function Ka(e){return On(\"\",e,\"\"),Ka}function On(e,n,t){const r=T(),o=No(r,e,n,t);return o!==X&&function Qn(e,n,t){const r=Ys(n,e);!function rm(e,n,t){e.setValue(n,t)}(e[K],r,t)}(r,_t(),o),On}const Fr=void 0;var Kx=[\"en\",[[\"a\",\"p\"],[\"AM\",\"PM\"],Fr],[[\"AM\",\"PM\"],Fr,Fr],[[\"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\"]],Fr,[[\"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\"]],Fr,[[\"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}\",Fr,\"{1} 'at' {0}\",Fr],[\".\",\",\",\";\",\"%\",\"+\",\"-\",\"E\",\"\\xd7\",\"\\u2030\",\"\\u221e\",\"NaN\",\":\"],[\"#,##0.###\",\"#,##0%\",\"\\xa4#,##0.00\",\"#E0\"],\"USD\",\"$\",\"US Dollar\",{},\"ltr\",function Yx(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\\.?/,\"\").length;return 1===t&&0===r?1:5}];let Ho={};function Et(e){const n=function Xx(e){return e.toLowerCase().replace(/_/g,\"-\")}(e);let t=oD(n);if(t)return t;const r=n.split(\"-\")[0];if(t=oD(r),t)return t;if(\"en\"===r)return Kx;throw new N(701,!1)}function oD(e){return e in Ho||(Ho[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),Ho[e]}var Pe=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}(Pe||{});const Bo=\"en-US\";let iD=Bo;function Sd(e,n,t,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i>20;if(Nr(e)||!e.multi){const y=new Ci(l,o,x),b=Ad(u,n,o?c:c+p,f);-1===b?(ec(na(a,s),i,u),Md(i,e,n.length),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(y),s.push(y)):(t[b]=y,s[b]=y)}else{const y=Ad(u,n,c+p,f),b=Ad(u,n,c,c+p),A=b>=0&&t[b];if(o&&!A||!o&&!(y>=0&&t[y])){ec(na(a,s),i,u);const R=function YN(e,n,t,r,o){const i=new Ci(e,t,x);return i.multi=[],i.index=n,i.componentProviders=0,xD(i,o,r&&!t),i}(o?QN:ZN,t.length,o,r,l);!o&&A&&(t[b].providerFactory=R),Md(i,e,n.length,0),n.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(R),s.push(R)}else Md(i,e,y>-1?y:b,xD(t[o?b:y],l,!o&&r));!o&&r&&A&&t[b].componentProviders++}}}function Md(e,n,t,r){const o=Nr(n),i=function B0(e){return!!e.useClass}(n);if(o||i){const u=(i?q(n.useClass):n).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const c=l.indexOf(t);-1===c?l.push(t,[r,u]):l[c+1].push(r,u)}else l.push(t,u)}}}function xD(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ad(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function qN(e,n,t){const r=ve();if(r.firstCreatePass){const o=cn(e);Sd(t,r.data,r.blueprint,o,!0),Sd(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class kr{}class ND{}class xd extends kr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lv(this);const o=Ft(n);this._bootstrapComponents=Zn(o.bootstrap),this._r3Injector=Zm(n,t,[{provide:kr,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver},...r],et(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 Nd extends ND{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}class RD extends kr{constructor(n){super(),this.componentFactoryResolver=new Lv(this),this.instance=null;const t=new Aa([...n.providers,{provide:kr,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver}],n.parent||Ma(),n.debugName,new Set([\"environment\"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Rd(e,n,t=null){return new RD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let JN=(()=>{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=Nm(0,t.type),o=r.length>0?Rd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}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=B({token:e,providedIn:\"environment\",factory:()=>new e(H(Vt))})}return e})();function OD(e){e.getStandaloneInjector=n=>n.get(JN).getOrCreateStandaloneInjector(e)}function BD(e,n,t,r){return function $D(e,n,t,r,o,i){const s=n+t;return pt(e,s,o)?Tn(e,s+1,i?r.call(i,o):r(o)):function ns(e,n){const t=e[n];return t===X?void 0:t}(e,s+1)}(T(),Dt(),e,n,t,r)}function ER(){return this._results[Symbol.iterator]()}class Pd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Be)}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=Pd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=ER)}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 o=function Xt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function pM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r0&&(t[o-1][ln]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=AR}return e})();const SR=Yn,MR=class extends SR{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 o=function bR(e,n,t,r){const o=n.tView,a=Va(e,o,t,4096&e[ee]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[pi]=e[n.index];const l=e[Cn];return null!==l&&(a[Cn]=l.createEmbeddedView(o)),ld(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:r});return new $i(o)}};function AR(){return nu(ct(),T())}function nu(e,n){return 4&e.type?new MR(n,e,So(e,n)):null}let hn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=PR}return e})();function PR(){return JD(ct(),T())}const FR=hn,KD=class extends FR{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new Ct(this._hostTNode,this._hostLView)}get parentInjector(){const n=ra(this._hostTNode,this._hostLView);if(Kl(n)){const t=Ei(n,this._hostLView),r=wi(n);return new Ct(t[F].data[r+8],t)}return new Ct(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=XD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(n,t,r){let o,i;\"number\"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,false),a}createComponent(n,t,r,o,i){const s=n&&!function Ii(e){return\"function\"==typeof e}(n);let a;if(s)a=t;else{const I=t||{};a=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef}const u=s?n:new Ui(me(n)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const A=(s?l:this.parentInjector).get(Vt,null);A&&(i=A)}me(u.componentType??{});const y=u.create(l,o,null,i);return this.insertImpl(y.hostView,a,false),y}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const o=n._lView;if(function TS(e){return yt(e[ke])}(o)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const l=o[ke],c=new KD(l,l[ft],l[ke]);c.detach(c.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return IR(a,o,s,!r),n.attachToViewContainerRef(),Og(Fd(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=XD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=ya(this._lContainer,t);r&&(sa(Fd(this._lContainer),t),pc(r[F],r))}detach(n){const t=this._adjustIndex(n,-1),r=ya(this._lContainer,t);return r&&null!=sa(Fd(this._lContainer),t)?new $i(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function XD(e){return e[8]}function Fd(e){return e[8]||(e[8]=[])}function JD(e,n){let t;const r=n[e.index];return yt(r)?t=r:(t=Iv(r,n,null,e),n[e.index]=t,ja(n,t)),e_(t,n,e,r),new KD(t,e,n)}let e_=function t_(e,n,t,r){if(e[wn])return;let o;o=8&t.type?Re(r):function kR(e,n){const t=e[K],r=t.createComment(\"\"),o=xt(n,e);return Tr(t,Da(t,o),r,function l0(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[wn]=o};class kd{constructor(n){this.queryList=n,this.matches=null}clone(){return new kd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ld{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const l=i[a+1],c=n[-u];for(let f=ut;f{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=k(qd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(Zi(i))t.push(i);else if(ly(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),I_=(()=>{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=B({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})();const pn=new V(\"LocaleId\",{providedIn:\"root\",factory:()=>k(pn,se.Optional|se.SkipSelf)||function d1(){return typeof $localize<\"u\"&&$localize.locale||Bo}()});let au=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zt(!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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();class p1{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let S_=(()=>{class e{compileModuleSync(t){return new Nd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),i=Zn(Ft(t).declarations).reduce((s,a)=>{const u=me(a);return u&&s.push(new Ui(u)),s},[]);return new p1(r,i)}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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const x_=new V(\"\"),lu=new V(\"\");let Jd,Kd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Jd||(function P1(e){Jd=e}(o),o.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:()=>{Oe.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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Oe),H(Xd),H(lu))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})(),Xd=(()=>{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 Jd?.findTestabilityInTree(this,t,r)??null}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})(),hr=null;const N_=new V(\"AllowMultipleToken\"),ef=new V(\"PlatformDestroyListeners\"),tf=new V(\"appBootstrapListener\");class O_{constructor(n,t){this.name=n,this.token=t}}function F_(e,n,t=[]){const r=`Platform: ${n}`,o=new V(r);return(i=[])=>{let s=nf();if(!s||s.injector.get(N_,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function L1(e){if(hr&&!hr.get(N_,!1))throw new N(400,!1);(function R_(){!function pS(e){$p=e}(()=>{throw new N(600,!1)})})(),hr=e;const n=e.get(L_);(function P_(e){e.get(km,null)?.forEach(t=>t())})(e)}(function k_(e=[],n){return Ht.create({name:n,providers:[{provide:Nc,useValue:\"platform\"},{provide:ef,useValue:new Set([()=>hr=null])},...e]})}(a,r))}return function j1(e){const n=nf();if(!n)throw new N(401,!1);return n}()}}function nf(){return hr?.get(L_)??null}let L_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function H1(e=\"zone.js\",n){return\"noop\"===e?new EA:\"zone.js\"===e?new Oe(n):e}(r?.ngZone,function V_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function XN(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function U_(e){return[{provide:Oe,useFactory:e},{provide:Fi,multi:!0,useFactory:()=>{const n=k($1,{optional:!0});return()=>n.initialize()}},{provide:$_,useFactory:B1},{provide:Jm,useFactory:ev}]}(()=>o)),s=i.injector.get(qn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{cu(this._modules,i),a.unsubscribe()})}),function j_(e,n,t){try{const r=t();return Zi(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Zd);return a.runInitializers(),a.donePromise.then(()=>(function sD(e){Qt(e,\"Expected localeId to be defined\"),\"string\"==typeof e&&(iD=e.toLowerCase().replace(/_/g,\"-\"))}(i.injector.get(pn,Bo)||Bo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=H_({},r);return function F1(e,n,t){const r=new Nd(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Go);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new N(-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 N(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(ef,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)(H(Ht))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"platform\"})}return e})();function H_(e,n){return Array.isArray(n)?n.reduce(H_,e):{...e,...n}}let Go=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k($_),this.zoneIsStable=k(Jm),this.componentTypes=[],this.components=[],this.isStable=k(au).hasPendingTasks.pipe(on(t=>t?G(!1):this.zoneIsStable),function II(e,n=Xe){return e=e??SI,Je((t,r)=>{let o,i=!0;t.subscribe(new Ze(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),sp()),this._injector=k(Vt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Bm;if(!this._injector.get(Zd).done)throw!o&&function Xr(e){const n=me(e)||at(e)||vt(e);return null!==n&&n.standalone}(t),new N(405,!1);let s;s=o?t:this._injector.get(Fa).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function k1(e){return e.isBoundToModule}(s)?void 0:this._injector.get(kr),l=s.create(Ht.NULL,[],r||s.selector,a),c=l.location.nativeElement,f=l.injector.get(x_,null);return f?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),cu(this.components,l),f?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new N(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;cu(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(tf,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(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),()=>cu(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new N(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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function cu(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const $_=new V(\"\",{providedIn:\"root\",factory:()=>k(qn).handleError.bind(void 0)});function B1(){const e=k(Oe),n=k(qn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let $1=(()=>{class e{constructor(){this.zone=k(Oe),this.applicationRef=k(Go)}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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();let du=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=G1}return e})();function G1(e){return function z1(e,n,t){if(Ir(e)&&!t){const r=kt(e.index,n);return new $i(r,r)}return 47&e.type?new $i(n[We],n):null}(ct(),T(),16==(16&e))}class q_{constructor(){}supports(n){return Ua(n)}create(n){return new K1(n)}}const Y1=(e,n)=>n;class K1{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||Y1}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;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,o){let i;return null===n?i=this._itTail:(i=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,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new X1(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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 o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Z_),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 Z_),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 X1{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 J1{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 Z_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new J1,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.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 Q_(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),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 o=this._records.get(n);this._maybeAddToChanges(o,t);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new tO(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 tO{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 K_(){return new pu([new q_])}let pu=(()=>{class e{static#e=this.\\u0275prov=B({token:e,providedIn:\"root\",factory:K_});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||K_()),deps:[[e,new la,new ua]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new N(901,!1)}}return e})();function X_(){return new ss([new Y_])}let ss=(()=>{class e{static#e=this.\\u0275prov=B({token:e,providedIn:\"root\",factory:X_});constructor(t){this.factories=t}static create(t,r){if(r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||X_()),deps:[[e,new la,new ua]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(r)return r;throw new N(901,!1)}}return e})();const oO=F_(null,\"core\",[]);let iO=(()=>{class e{constructor(t){}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Go))};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({})}return e})();let cf=null;function pr(){return cf}class DO{}const Ut=new V(\"DocumentToken\");let df=(()=>{class e{historyGo(t){throw new Error(\"Not implemented\")}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return k(CO)},providedIn:\"platform\"})}return e})();const _O=new V(\"Location Initialized\");let CO=(()=>{class e extends df{constructor(){super(),this._doc=k(Ut),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pr().getBaseHref(this._doc)}onPopState(t){const r=pr().getGlobalEventTarget(this._doc,\"window\");return r.addEventListener(\"popstate\",t,!1),()=>r.removeEventListener(\"popstate\",t)}onHashChange(t){const r=pr().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,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}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=B({token:e,factory:function(){return new e},providedIn:\"platform\"})}return e})();function ff(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 aC(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 Kn(e){return e&&\"?\"!==e[0]?\"?\"+e:e}let Vr=(()=>{class e{historyGo(t){throw new Error(\"Not implemented\")}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return k(lC)},providedIn:\"root\"})}return e})();const uC=new V(\"appBaseHref\");let lC=(()=>{class e extends Vr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??k(Ut).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 ff(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Kn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){const s=this.prepareExternalUrl(o+Kn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){const s=this.prepareExternalUrl(o+Kn(i));this._platformLocation.replaceState(t,r,s)}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)(H(df),H(uC,8))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),wO=(()=>{class e extends Vr{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=ff(this._baseHref,t);return r.length>0?\"#\"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Kn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Kn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}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)(H(df),H(uC,8))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})(),hf=(()=>{class e{constructor(t){this._subject=new Be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function IO(e){if(new RegExp(\"^(https?:)?//\").test(e)){const[,t]=e.split(/\\/\\/[^\\/]+/);return t}return e}(aC(cC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.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+Kn(r))}normalize(t){return e.stripTrailingSlash(function bO(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return\"\"===t||[\"/\",\";\",\"?\",\"#\"].includes(t[0])?t:n}(this._basePath,cC(t)))}prepareExternalUrl(t){return t&&\"/\"!==t[0]&&(t=\"/\"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r=\"\",o=null){this._locationStrategy.pushState(o,\"\",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Kn(r)),o)}replaceState(t,r=\"\",o=null){this._locationStrategy.replaceState(o,\"\",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Kn(r)),o)}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(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static#e=this.normalizeQueryParams=Kn;static#t=this.joinWithSlash=ff;static#n=this.stripTrailingSlash=aC;static#r=this.\\u0275fac=function(r){return new(r||e)(H(Vr))};static#o=this.\\u0275prov=B({token:e,factory:function(){return function EO(){return new hf(H(Vr))}()},providedIn:\"root\"})}return e})();function cC(e){return e.replace(/\\/index.html$/,\"\")}var It=function(e){return e[e.Format=0]=\"Format\",e[e.Standalone=1]=\"Standalone\",e}(It||{}),Te=function(e){return e[e.Narrow=0]=\"Narrow\",e[e.Abbreviated=1]=\"Abbreviated\",e[e.Wide=2]=\"Wide\",e[e.Short=3]=\"Short\",e}(Te||{}),Gt=function(e){return e[e.Short=0]=\"Short\",e[e.Medium=1]=\"Medium\",e[e.Long=2]=\"Long\",e[e.Full=3]=\"Full\",e}(Gt||{}),qe=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}(qe||{});function vu(e,n){return nn(Et(e)[Pe.DateFormat],n)}function yu(e,n){return nn(Et(e)[Pe.TimeFormat],n)}function Du(e,n){return nn(Et(e)[Pe.DateTimeFormat],n)}function tn(e,n){const t=Et(e),r=t[Pe.NumberSymbols][n];if(typeof r>\"u\"){if(n===qe.CurrencyDecimal)return t[Pe.NumberSymbols][qe.Decimal];if(n===qe.CurrencyGroup)return t[Pe.NumberSymbols][qe.Group]}return r}function fC(e){if(!e[Pe.ExtraData])throw new Error(`Missing extra locale data for the locale \"${e[Pe.LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`)}function nn(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 gf(e){const[n,t]=e.split(\":\");return{hours:+n,minutes:+t}}const jO=/^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/,as={},HO=/((?:[^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 Xn=function(e){return e[e.Short=0]=\"Short\",e[e.ShortGMT=1]=\"ShortGMT\",e[e.Long=2]=\"Long\",e[e.Extended=3]=\"Extended\",e}(Xn||{}),Ee=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}(Ee||{}),be=function(e){return e[e.DayPeriods=0]=\"DayPeriods\",e[e.Days=1]=\"Days\",e[e.Months=2]=\"Months\",e[e.Eras=3]=\"Eras\",e}(be||{});function hC(e,n,t,r){let o=function QO(e){if(mC(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[o,i=1,s=1]=e.split(\"-\").map(a=>+a);return _u(o,i-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(jO))return function YO(e){const n=new Date(0);let t=0,r=0;const o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,u=Number(e[6]||0),l=Math.floor(1e3*parseFloat(\"0.\"+(e[7]||0)));return i.call(n,s,a,u,l),n}(r)}const n=new Date(e);if(!mC(n))throw new Error(`Unable to convert \"${e}\" into a date`);return n}(e);n=Jn(t,n)||n;let a,s=[];for(;n;){if(a=HO.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const c=s.pop();if(!c)break;n=c}}let u=o.getTimezoneOffset();r&&(u=gC(r,u),o=function ZO(e,n,t){const r=t?-1:1,o=e.getTimezoneOffset();return function qO(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,r*(gC(n,o)-o))}(o,r,!0));let l=\"\";return s.forEach(c=>{const f=function WO(e){if(vf[e])return vf[e];let n;switch(e){case\"G\":case\"GG\":case\"GGG\":n=Fe(be.Eras,Te.Abbreviated);break;case\"GGGG\":n=Fe(be.Eras,Te.Wide);break;case\"GGGGG\":n=Fe(be.Eras,Te.Narrow);break;case\"y\":n=Ke(Ee.FullYear,1,0,!1,!0);break;case\"yy\":n=Ke(Ee.FullYear,2,0,!0,!0);break;case\"yyy\":n=Ke(Ee.FullYear,3,0,!1,!0);break;case\"yyyy\":n=Ke(Ee.FullYear,4,0,!1,!0);break;case\"Y\":n=bu(1);break;case\"YY\":n=bu(2,!0);break;case\"YYY\":n=bu(3);break;case\"YYYY\":n=bu(4);break;case\"M\":case\"L\":n=Ke(Ee.Month,1,1);break;case\"MM\":case\"LL\":n=Ke(Ee.Month,2,1);break;case\"MMM\":n=Fe(be.Months,Te.Abbreviated);break;case\"MMMM\":n=Fe(be.Months,Te.Wide);break;case\"MMMMM\":n=Fe(be.Months,Te.Narrow);break;case\"LLL\":n=Fe(be.Months,Te.Abbreviated,It.Standalone);break;case\"LLLL\":n=Fe(be.Months,Te.Wide,It.Standalone);break;case\"LLLLL\":n=Fe(be.Months,Te.Narrow,It.Standalone);break;case\"w\":n=mf(1);break;case\"ww\":n=mf(2);break;case\"W\":n=mf(1,!0);break;case\"d\":n=Ke(Ee.Date,1);break;case\"dd\":n=Ke(Ee.Date,2);break;case\"c\":case\"cc\":n=Ke(Ee.Day,1);break;case\"ccc\":n=Fe(be.Days,Te.Abbreviated,It.Standalone);break;case\"cccc\":n=Fe(be.Days,Te.Wide,It.Standalone);break;case\"ccccc\":n=Fe(be.Days,Te.Narrow,It.Standalone);break;case\"cccccc\":n=Fe(be.Days,Te.Short,It.Standalone);break;case\"E\":case\"EE\":case\"EEE\":n=Fe(be.Days,Te.Abbreviated);break;case\"EEEE\":n=Fe(be.Days,Te.Wide);break;case\"EEEEE\":n=Fe(be.Days,Te.Narrow);break;case\"EEEEEE\":n=Fe(be.Days,Te.Short);break;case\"a\":case\"aa\":case\"aaa\":n=Fe(be.DayPeriods,Te.Abbreviated);break;case\"aaaa\":n=Fe(be.DayPeriods,Te.Wide);break;case\"aaaaa\":n=Fe(be.DayPeriods,Te.Narrow);break;case\"b\":case\"bb\":case\"bbb\":n=Fe(be.DayPeriods,Te.Abbreviated,It.Standalone,!0);break;case\"bbbb\":n=Fe(be.DayPeriods,Te.Wide,It.Standalone,!0);break;case\"bbbbb\":n=Fe(be.DayPeriods,Te.Narrow,It.Standalone,!0);break;case\"B\":case\"BB\":case\"BBB\":n=Fe(be.DayPeriods,Te.Abbreviated,It.Format,!0);break;case\"BBBB\":n=Fe(be.DayPeriods,Te.Wide,It.Format,!0);break;case\"BBBBB\":n=Fe(be.DayPeriods,Te.Narrow,It.Format,!0);break;case\"h\":n=Ke(Ee.Hours,1,-12);break;case\"hh\":n=Ke(Ee.Hours,2,-12);break;case\"H\":n=Ke(Ee.Hours,1);break;case\"HH\":n=Ke(Ee.Hours,2);break;case\"m\":n=Ke(Ee.Minutes,1);break;case\"mm\":n=Ke(Ee.Minutes,2);break;case\"s\":n=Ke(Ee.Seconds,1);break;case\"ss\":n=Ke(Ee.Seconds,2);break;case\"S\":n=Ke(Ee.FractionalSeconds,1);break;case\"SS\":n=Ke(Ee.FractionalSeconds,2);break;case\"SSS\":n=Ke(Ee.FractionalSeconds,3);break;case\"Z\":case\"ZZ\":case\"ZZZ\":n=wu(Xn.Short);break;case\"ZZZZZ\":n=wu(Xn.Extended);break;case\"O\":case\"OO\":case\"OOO\":case\"z\":case\"zz\":case\"zzz\":n=wu(Xn.ShortGMT);break;case\"OOOO\":case\"ZZZZ\":case\"zzzz\":n=wu(Xn.Long);break;default:return null}return vf[e]=n,n}(c);l+=f?f(o,t,u):\"''\"===c?\"'\":c.replace(/(^'|'$)/g,\"\").replace(/''/g,\"'\")}),l}function _u(e,n,t){const r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function Jn(e,n){const t=function MO(e){return Et(e)[Pe.LocaleId]}(e);if(as[t]=as[t]||{},as[t][n])return as[t][n];let r=\"\";switch(n){case\"shortDate\":r=vu(e,Gt.Short);break;case\"mediumDate\":r=vu(e,Gt.Medium);break;case\"longDate\":r=vu(e,Gt.Long);break;case\"fullDate\":r=vu(e,Gt.Full);break;case\"shortTime\":r=yu(e,Gt.Short);break;case\"mediumTime\":r=yu(e,Gt.Medium);break;case\"longTime\":r=yu(e,Gt.Long);break;case\"fullTime\":r=yu(e,Gt.Full);break;case\"short\":const o=Jn(e,\"shortTime\"),i=Jn(e,\"shortDate\");r=Cu(Du(e,Gt.Short),[o,i]);break;case\"medium\":const s=Jn(e,\"mediumTime\"),a=Jn(e,\"mediumDate\");r=Cu(Du(e,Gt.Medium),[s,a]);break;case\"long\":const u=Jn(e,\"longTime\"),l=Jn(e,\"longDate\");r=Cu(Du(e,Gt.Long),[u,l]);break;case\"full\":const c=Jn(e,\"fullTime\"),f=Jn(e,\"fullDate\");r=Cu(Du(e,Gt.Full),[c,f])}return r&&(as[t][n]=r),r}function Cu(e,n){return n&&(e=e.replace(/\\{([^}]+)}/g,function(t,r){return null!=n&&r in n?n[r]:t})),e}function gn(e,n,t=\"-\",r,o){let i=\"\";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=t));let s=String(e);for(;s.length0||a>-t)&&(a+=t),e===Ee.Hours)0===a&&-12===t&&(a=12);else if(e===Ee.FractionalSeconds)return function BO(e,n){return gn(e,3).substring(0,n)}(a,n);const u=tn(s,qe.MinusSign);return gn(a,n,u,r,o)}}function Fe(e,n,t=It.Format,r=!1){return function(o,i){return function UO(e,n,t,r,o,i){switch(t){case be.Months:return function xO(e,n,t){const r=Et(e),i=nn([r[Pe.MonthsFormat],r[Pe.MonthsStandalone]],n);return nn(i,t)}(n,o,r)[e.getMonth()];case be.Days:return function TO(e,n,t){const r=Et(e),i=nn([r[Pe.DaysFormat],r[Pe.DaysStandalone]],n);return nn(i,t)}(n,o,r)[e.getDay()];case be.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(i){const l=function PO(e){const n=Et(e);return fC(n),(n[Pe.ExtraData][2]||[]).map(r=>\"string\"==typeof r?gf(r):[gf(r[0]),gf(r[1])])}(n),c=function FO(e,n,t){const r=Et(e);fC(r);const i=nn([r[Pe.ExtraData][0],r[Pe.ExtraData][1]],n)||[];return nn(i,t)||[]}(n,o,r),f=l.findIndex(p=>{if(Array.isArray(p)){const[y,b]=p,I=s>=y.hours&&a>=y.minutes,A=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Xn.Short:return(o>=0?\"+\":\"\")+gn(s,2,i)+gn(Math.abs(o%60),2,i);case Xn.ShortGMT:return\"GMT\"+(o>=0?\"+\":\"\")+gn(s,1,i);case Xn.Long:return\"GMT\"+(o>=0?\"+\":\"\")+gn(s,2,i)+\":\"+gn(Math.abs(o%60),2,i);case Xn.Extended:return 0===r?\"Z\":(o>=0?\"+\":\"\")+gn(s,2,i)+\":\"+gn(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width \"${e}\"`)}}}const GO=0,Eu=4;function pC(e){return _u(e.getFullYear(),e.getMonth(),e.getDate()+(Eu-e.getDay()))}function mf(e,n=!1){return function(t,r){let o;if(n){const i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{const i=pC(t),s=function zO(e){const n=_u(e,GO,1).getDay();return _u(e,0,1+(n<=Eu?Eu:Eu+7)-n)}(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return gn(o,e,tn(r,qe.MinusSign))}}function bu(e,n=!1){return function(t,r){return gn(pC(t).getFullYear(),e,tn(r,qe.MinusSign),n)}}const vf={};function gC(e,n){e=e.replace(/:/g,\"\");const t=Date.parse(\"Jan 01, 1970 00:00:00 \"+e)/6e4;return isNaN(t)?n:t}function mC(e){return e instanceof Date&&!isNaN(e.valueOf())}function _C(e,n){n=encodeURIComponent(n);for(const t of e.split(\";\")){const r=t.indexOf(\"=\"),[o,i]=-1==r?[t,\"\"]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}const Ef=/\\s+/,CC=[];let wC=(()=>{class e{constructor(t,r,o,i){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=CC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ef):CC}set ngClass(t){this.rawClass=\"string\"==typeof t?t.trim().split(Ef):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 o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Ef).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\\u0275fac=function(r){return new(r||e)(x(pu),x(ss),x(jt),x(Mn))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"ngClass\",\"\"]],inputs:{klass:[\"class\",\"klass\"],ngClass:\"ngClass\"},standalone:!0})}return e})();class lP{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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 Su=(()=>{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,o){this._viewContainer=t,this._template=r,this._differs=o,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((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new lP(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),bC(a,o)}});for(let o=0,i=r.length;o{bC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\\u0275fac=function(r){return new(r||e)(x(hn),x(Yn),x(pu))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"ngFor\",\"\",\"ngForOf\",\"\"]],inputs:{ngForOf:\"ngForOf\",ngForTrackBy:\"ngForTrackBy\",ngForTemplate:\"ngForTemplate\"},standalone:!0})}return e})();function bC(e,n){e.context.$implicit=n.item}let ls=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new cP,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){IC(\"ngIfThen\",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){IC(\"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)(x(hn),x(Yn))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"ngIf\",\"\"]],inputs:{ngIf:\"ngIf\",ngIfThen:\"ngIfThen\",ngIfElse:\"ngIfElse\"},standalone:!0})}return e})();class cP{constructor(){this.$implicit=null,this.ngIf=null}}function IC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${et(n)}'.`)}let FP=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({})}return e})();function TC(e){return\"server\"===e}let jP=(()=>{class e{static#e=this.\\u0275prov=B({token:e,providedIn:\"root\",factory:()=>new HP(H(Ut),window)})}return e})();class HP{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 BP(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 o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(n)||i.querySelector(`[name=\"${n}\"]`);if(s)return s}o=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,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&\"pageXOffset\"in this.window}catch{return!1}}}class xC{}class cF extends DO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class xf extends cF{static makeCurrent(){!function yO(e){cf||(cf=e)}(new xf)}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 dF(){return ds=ds||document.querySelector(\"base\"),ds?ds.getAttribute(\"href\"):null}();return null==t?null:function fF(e){Tu=Tu||document.createElement(\"a\"),Tu.setAttribute(\"href\",e);const n=Tu.pathname;return\"/\"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){ds=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _C(document.cookie,n)}}let Tu,ds=null,pF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const Nf=new V(\"EventManagerPlugins\");let FC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new N(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Nf),H(Oe))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();class kC{constructor(n){this._doc=n}}const Rf=\"ng-app-id\";let LC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TC(i),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(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Rf}=\"${this.appId}\"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Rf),i;{const s=this.doc.createElement(\"style\");return this.nonce&&s.setAttribute(\"nonce\",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Rf,this.appId),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r);t.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Ut),H(Ta),H(Lm,8),H(Rr))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const Of={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/\"},Pf=/%COMP%/g,yF=new V(\"RemoveStylesOnCompDestroy\",{providedIn:\"root\",factory:()=>!1});function jC(e,n){return n.map(t=>t.replace(Pf,e))}let HC=(()=>{class e{constructor(t,r,o,i,s,a,u,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=TC(a),this.defaultRenderer=new Ff(t,s,u,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===an.ShadowDom&&(r={...r,encapsulation:an.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof $C?o.applyToHost(t):o instanceof kf&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(r.encapsulation){case an.Emulated:i=new $C(u,l,r,this.appId,c,s,a,f);break;case an.ShadowDom:return new wF(u,l,t,r,s,a,this.nonce,f);default:i=new kf(u,l,r,c,s,a,f)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\\u0275fac=function(r){return new(r||e)(H(FC),H(LC),H(Ta),H(yF),H(Ut),H(Rr),H(Oe),H(Lm))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();class Ff{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Of[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(BC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(BC(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 N(-5104,!1);return t||(r.textContent=\"\"),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+\":\"+t;const i=Of[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Of[r];o?n.removeAttributeNS(o,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,o){o&(cr.DashCase|cr.Important)?n.style.setProperty(t,r,o&cr.Important?\"important\":\"\"):n.style[t]=r}removeStyle(n,t,r){r&cr.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=pr().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 BC(e){return\"TEMPLATE\"===e.tagName&&void 0!==e.content}class wF extends Ff{constructor(n,t,r,o,i,s,a,u){super(n,i,s,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:\"open\"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=jC(o.id,o.styles);for(const c of l){const f=document.createElement(\"style\");a&&f.setAttribute(\"nonce\",a),f.textContent=c,this.shadowRoot.appendChild(f)}}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 kf extends Ff{constructor(n,t,r,o,i,s,a,u){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=u?jC(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $C extends kf{constructor(n,t,r,o,i,s,a,u){const l=o+\"-\"+r.id;super(n,t,r,i,s,a,u,l),this.contentAttr=function DF(e){return\"_ngcontent-%COMP%\".replace(Pf,e)}(l),this.hostAttr=function _F(e){return\"_nghost-%COMP%\".replace(Pf,e)}(l)}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 EF=(()=>{class e extends kC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Ut))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const UC=[\"alt\",\"control\",\"meta\",\"shift\"],bF={\"\\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\"},IF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends kC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pr().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split(\".\"),o=r.shift();if(0===r.length||\"keydown\"!==o&&\"keyup\"!==o)return null;const i=e._normalizeKey(r.pop());let s=\"\",a=r.indexOf(\"code\");if(a>-1&&(r.splice(a,1),s=\"code.\"),UC.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+\".\")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(t,r){let o=bF[t.key]||t.key,i=\"\";return r.indexOf(\"code.\")>-1&&(o=t.code,i=\"code.\"),!(null==o||!o)&&(o=o.toLowerCase(),\" \"===o?o=\"space\":\".\"===o&&(o=\"dot\"),UC.forEach(s=>{s!==o&&(0,IF[s])(t)&&(i+=s+\".\")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return\"esc\"===t?\"escape\":t}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Ut))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const xF=F_(oO,\"browser\",[{provide:Rr,useValue:\"browser\"},{provide:km,useValue:function MF(){xf.makeCurrent()},multi:!0},{provide:Ut,useFactory:function TF(){return function v0(e){Cc=e}(document),document},deps:[]}]),NF=new V(\"\"),WC=[{provide:lu,useClass:class hF{addToWindow(n){Ne.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new N(5103,!1);return i},Ne.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ne.getAllAngularRootElements=()=>n.getAllRootElements(),Ne.frameworkStabilizers||(Ne.frameworkStabilizers=[]),Ne.frameworkStabilizers.push(r=>{const o=Ne.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?pr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:x_,useClass:Kd,deps:[Oe,Xd,lu]},{provide:Kd,useClass:Kd,deps:[Oe,Xd,lu]}],qC=[{provide:Nc,useValue:\"root\"},{provide:qn,useFactory:function AF(){return new qn},deps:[]},{provide:Nf,useClass:EF,multi:!0,deps:[Ut,Oe,Rr]},{provide:Nf,useClass:SF,multi:!0,deps:[Ut]},HC,LC,FC,{provide:Um,useExisting:HC},{provide:xC,useClass:pF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ta,useValue:t.appId}]}}static#e=this.\\u0275fac=function(r){return new(r||e)(H(NF,12))};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({providers:[...qC,...WC],imports:[FP,iO]})}return e})(),ZC=(()=>{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)(H(Ut))};static#t=this.\\u0275prov=B({token:e,factory:function(r){let o=null;return o=r?new r:function PF(){return new ZC(H(Ut))}(),o},providedIn:\"root\"})}return e})();typeof window<\"u\"&&window;const{isArray:jF}=Array,{getPrototypeOf:HF,prototype:BF,keys:$F}=Object;function XC(e){if(1===e.length){const n=e[0];if(jF(n))return{args:n,keys:null};if(function UF(e){return e&&\"object\"==typeof e&&HF(e)===BF}(n)){const t=$F(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:GF}=Array;function JC(e){return Ce(n=>function zF(e,n){return GF(n)?e(...n):e(n)}(e,n))}function ew(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let tw=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty(\"disabled\",t)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(Mn),x(jt))};static#t=this.\\u0275dir=Z({type:e})}return e})(),jr=(()=>{class e extends tw{static#e=this.\\u0275fac=function(){let t;return function(o){return(t||(t=dt(e)))(o||e)}}();static#t=this.\\u0275dir=Z({type:e,features:[Me]})}return e})();const Pn=new V(\"NgValueAccessor\"),ZF={provide:Pn,useExisting:xe(()=>xu),multi:!0},YF=new V(\"CompositionEventMode\");let xu=(()=>{class e extends tw{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function QF(){const e=pr()?pr().getUserAgent():\"\";return/android (\\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty(\"value\",t??\"\")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(Mn),x(jt),x(YF,8))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"input\",\"formControlName\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControlName\",\"\"],[\"input\",\"formControl\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControl\",\"\"],[\"input\",\"ngModel\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"ngModel\",\"\"],[\"\",\"ngDefaultControl\",\"\"]],hostBindings:function(r,o){1&r&&Ye(\"input\",function(s){return o._handleInput(s.target.value)})(\"blur\",function(){return o.onTouched()})(\"compositionstart\",function(){return o._compositionStart()})(\"compositionend\",function(s){return o._compositionEnd(s.target.value)})},features:[Le([ZF]),Me]})}return e})();const gt=new V(\"NgValidators\"),vr=new V(\"NgAsyncValidators\");function Nu(e){return null}function fw(e){return null!=e}function hw(e){return Zi(e)?Qe(e):e}function pw(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function gw(e,n){return n.map(t=>t(e))}function mw(e){return e.map(n=>function XF(e){return!e.validate}(n)?n:t=>n.validate(t))}function Vf(e){return null!=e?function vw(e){if(!e)return null;const n=e.filter(fw);return 0==n.length?null:function(t){return pw(gw(t,n))}}(mw(e)):null}function jf(e){return null!=e?function yw(e){if(!e)return null;const n=e.filter(fw);return 0==n.length?null:function(t){return function WF(...e){const n=np(e),{args:t,keys:r}=XC(e),o=new ye(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{f||(f=!0,l--),a[c]=p},()=>u--,void 0,()=>{(!u||!f)&&(l||i.next(r?ew(r,a):a),i.complete())}))}});return n?o.pipe(JC(n)):o}(gw(t,n).map(hw)).pipe(Ce(pw))}}(mw(e)):null}function Dw(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Hf(e){return e?Array.isArray(e)?e:[e]:[]}function Ru(e,n){return Array.isArray(e)?e.includes(n):e===n}function ww(e,n){const t=Hf(n);return Hf(e).forEach(o=>{Ru(t,o)||t.push(o)}),t}function Ew(e,n){return Hf(n).filter(t=>!Ru(e,t))}class bw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Vf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=jf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class St extends bw{get formDirective(){return null}get path(){return null}}class yr extends bw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Iw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Sw=(()=>{class e extends Iw{constructor(t){super(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(yr,2))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"formControlName\",\"\"],[\"\",\"ngModel\",\"\"],[\"\",\"formControl\",\"\"]],hostVars:14,hostBindings:function(r,o){2&r&&Qa(\"ng-untouched\",o.isUntouched)(\"ng-touched\",o.isTouched)(\"ng-pristine\",o.isPristine)(\"ng-dirty\",o.isDirty)(\"ng-valid\",o.isValid)(\"ng-invalid\",o.isInvalid)(\"ng-pending\",o.isPending)},features:[Me]})}return e})(),Mw=(()=>{class e extends Iw{constructor(t){super(t)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(St,10))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"formGroupName\",\"\"],[\"\",\"formArrayName\",\"\"],[\"\",\"ngModelGroup\",\"\"],[\"\",\"formGroup\",\"\"],[\"form\",3,\"ngNoForm\",\"\"],[\"\",\"ngForm\",\"\"]],hostVars:16,hostBindings:function(r,o){2&r&&Qa(\"ng-untouched\",o.isUntouched)(\"ng-touched\",o.isTouched)(\"ng-pristine\",o.isPristine)(\"ng-dirty\",o.isDirty)(\"ng-valid\",o.isValid)(\"ng-invalid\",o.isInvalid)(\"ng-pending\",o.isPending)(\"ng-submitted\",o.isSubmitted)},features:[Me]})}return e})();const fs=\"VALID\",Pu=\"INVALID\",qo=\"PENDING\",hs=\"DISABLED\";function Uf(e){return(Fu(e)?e.validators:e)||null}function Gf(e,n){return(Fu(n)?n.asyncValidators:e)||null}function Fu(e){return null!=e&&!Array.isArray(e)&&\"object\"==typeof e}class Nw{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===fs}get invalid(){return this.status===Pu}get pending(){return this.status==qo}get disabled(){return this.status===hs}get enabled(){return this.status!==hs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:\"change\"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(ww(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(ww(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ew(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ew(n,this._rawAsyncValidators))}hasValidator(n){return Ru(this._rawValidators,n)}hasAsyncValidator(n){return Ru(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=qo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=hs,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fs||this.status===qo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hs:fs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=qo,this._hasOwnPendingAsyncValidator=!0;const t=hw(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(\".\")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Be,this.statusChanges=new Be}_calculateStatus(){return this._allControlsDisabled()?hs:this.errors?Pu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qo)?qo:this._anyControlsHaveStatus(Pu)?Pu:fs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function nk(e){return Array.isArray(e)?Vf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function rk(e){return Array.isArray(e)?jf(e):e||null}(this._rawAsyncValidators)}}class zf extends Nw{constructor(n,t,r){super(Uf(t),Gf(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function xw(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new N(1002,\"\")})})(this,0,n),Object.keys(n).forEach(r=>{(function Tw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new N(1e3,\"\");if(!r[t])throw new N(1001,\"\")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const Zo=new V(\"CallSetDisabledState\",{providedIn:\"root\",factory:()=>ku}),ku=\"always\";function ps(e,n,t=ku){Wf(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||\"always\"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function sk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,\"change\"===e.updateOn&&Rw(e,n)})}(e,n),function uk(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function ak(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,\"blur\"===e.updateOn&&e._pendingChange&&Rw(e,n),\"submit\"!==e.updateOn&&e.markAsTouched()})}(e,n),function ik(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function ju(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Wf(e,n){const t=function _w(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(Dw(t,n.validator)):\"function\"==typeof t&&e.setValidators([t]);const r=function Cw(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(Dw(r,n.asyncValidator)):\"function\"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ju(n._rawValidators,o),ju(n._rawAsyncValidators,o)}function Rw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const hk={provide:St,useExisting:xe(()=>Bu)},gs=(()=>Promise.resolve())();let Bu=(()=>{class e extends St{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Be,this.form=new zf({},Vf(t),jf(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gs.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ps(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){gs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){gs.then(()=>{const r=this._findContainer(t.path),o=new zf({});(function Ow(e,n){Wf(e,n)})(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){gs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function Pw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;\"submit\"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),\"dialog\"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\\u0275fac=function(r){return new(r||e)(x(gt,10),x(vr,10),x(Zo,8))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"formGroup\",\"\"],[\"ng-form\"],[\"\",\"ngForm\",\"\"]],hostBindings:function(r,o){1&r&&Ye(\"submit\",function(s){return o.onSubmit(s)})(\"reset\",function(){return o.onReset()})},inputs:{options:[\"ngFormOptions\",\"options\"]},outputs:{ngSubmit:\"ngSubmit\"},exportAs:[\"ngForm\"],features:[Le([hk]),Me]})}return e})();function Fw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function kw(e){return\"object\"==typeof e&&null!==e&&2===Object.keys(e).length&&\"value\"in e&&\"disabled\"in e}const Lw=class extends Nw{constructor(n=null,t,r){super(Uf(t),Gf(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=kw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Fw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Fw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!(\"submit\"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){kw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},mk={provide:yr,useExisting:xe(()=>Yf)},Hw=(()=>Promise.resolve())();let Yf=(()=>{class e extends yr{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Lw,this._registered=!1,this.name=\"\",this.update=new Be,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Qf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===xu?t=i:function dk(e){return Object.getPrototypeOf(e.constructor)===jr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||\"name\"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}\"isDisabled\"in t&&this._updateDisabled(t),function Zf(e,n){if(!e.hasOwnProperty(\"model\"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ps(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Hw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function zo(e){return\"boolean\"==typeof e?e:null!=e&&\"false\"!==e}(r);Hw.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Lu(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\\u0275fac=function(r){return new(r||e)(x(St,9),x(gt,10),x(vr,10),x(Pn,10),x(du,8),x(Zo,8))};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"ngModel\",\"\",3,\"formControlName\",\"\",3,\"formControl\",\"\"]],inputs:{name:\"name\",isDisabled:[\"disabled\",\"isDisabled\"],model:[\"ngModel\",\"model\"],options:[\"ngModelOptions\",\"options\"]},outputs:{update:\"ngModelChange\"},exportAs:[\"ngModel\"],features:[Le([mk]),Me,Kt]})}return e})(),Bw=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275dir=Z({type:e,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"ngNativeValidate\",\"\"]],hostAttrs:[\"novalidate\",\"\"]})}return e})(),Uw=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({})}return e})();let Hr=(()=>{class e{constructor(){this._validator=Nu}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Nu,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275dir=Z({type:e,features:[Kt]})}return e})();const Vk={provide:gt,useExisting:xe(()=>rh),multi:!0};let rh=(()=>{class e extends Hr{constructor(){super(...arguments),this.inputName=\"maxlength\",this.normalizeInput=t=>function Xw(e){return\"number\"==typeof e?e:parseInt(e,10)}(t),this.createValidator=t=>function cw(e){return n=>function rw(e){return null!=e&&\"number\"==typeof e.length}(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(t)}static#e=this.\\u0275fac=function(){let t;return function(o){return(t||(t=dt(e)))(o||e)}}();static#t=this.\\u0275dir=Z({type:e,selectors:[[\"\",\"maxlength\",\"\",\"formControlName\",\"\"],[\"\",\"maxlength\",\"\",\"formControl\",\"\"],[\"\",\"maxlength\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(r,o){2&r&&en(\"maxlength\",o._enabled?o.maxlength:null)},inputs:{maxlength:\"maxlength\"},features:[Le([Vk]),Me]})}return e})(),Hk=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({imports:[Uw]})}return e})(),$k=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Zo,useValue:t.callSetDisabledState??ku}]}}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({imports:[Hk]})}return e})();function oh(...e){const n=ai(e),t=np(e),{args:r,keys:o}=XC(e);if(0===r.length)return Qe([],n);const i=new ye(function Gk(e,n,t=Xe){return r=>{sE(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Qe(e[u],n);let c=!1;l.subscribe(new Ze(r,f=>{i[u]=f,c||(c=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>ew(o,s):Xe));return t?i.pipe(JC(t)):i}function sE(e,n,t){e?jn(t,e,n):n()}const $u=m(e=>function(){e(this),this.name=\"EmptyError\",this.message=\"no elements in sequence\"});function ih(...e){return function zk(){return Yr(1)}()(Qe(e,ai(e)))}function aE(e){return new ye(n=>{rn(e()).subscribe(n)})}function ms(e,n){const t=h(e)?e:()=>e,r=o=>o.error(t());return new ye(n?o=>n.schedule(r,0,o):r)}function sh(){return Je((e,n)=>{let t=null;e._refCount++;const r=new Ze(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class uE extends ye{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Bh(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 D;const t=this.getSubject();n.add(this.source.subscribe(new Ze(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=D.EMPTY)}return n}refCount(){return sh()(this)}}function er(e,n){return Je((t,r)=>{let o=0;t.subscribe(new Ze(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Uu(e){return Je((n,t)=>{let r=!1;n.subscribe(new Ze(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function lE(e=qk){return Je((n,t)=>{let r=!1;n.subscribe(new Ze(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function qk(){return new $u}function Br(e,n){const t=arguments.length>=2;return r=>r.pipe(e?er((o,i)=>e(o,i,r)):Xe,Er(1),t?Uu(n):lE(()=>new $u))}function Qo(e,n){return h(n)?st(e,n,1):st(e,1)}function mt(e,n,t){const r=h(e)||n||t?{next:e,error:n,complete:t}:e;return r?Je((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(new Ze(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Xe}function $r(e){return Je((n,t)=>{let i,r=null,o=!1;r=n.subscribe(new Ze(t,void 0,void 0,s=>{i=rn(e(s,$r(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function ah(e){return e<=0?()=>yn:Je((n,t)=>{let r=[];n.subscribe(new Ze(t,o=>{r.push(o),e{for(const o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function vs(e){return Je((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const re=\"primary\",ys=Symbol(\"RouteTitle\");class Jk{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 Yo(e){return new Jk(e)}function eL(e,n,t){const r=t.path.split(\"/\");if(r.length>e.length||\"full\"===t.pathMatch&&(n.hasChildren()||r.lengthr[i]===o)}return e===n}function dE(e){return e.length>0?e[e.length-1]:null}function Dr(e){return function Uk(e){return!!e&&(e instanceof ye||h(e.lift)&&h(e.subscribe))}(e)?e:Zi(e)?Qe(Promise.resolve(e)):G(e)}const nL={exact:function pE(e,n,t){if(!Ur(e.segments,n.segments)||!Gu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!pE(e.children[r],n.children[r],t))return!1;return!0},subset:gE},fE={exact:function rL(e,n){return Fn(e,n)},subset:function oL(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>cE(e[t],n[t]))},ignored:()=>!0};function hE(e,n,t){return nL[t.paths](e.root,n.root,t.matrixParams)&&fE[t.queryParams](e.queryParams,n.queryParams)&&!(\"exact\"===t.fragment&&e.fragment!==n.fragment)}function gE(e,n,t){return mE(e,n,n.segments,t)}function mE(e,n,t,r){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!Ur(o,t)||n.hasChildren()||!Gu(o,t,r))}if(e.segments.length===t.length){if(!Ur(e.segments,t)||!Gu(e.segments,t,r))return!1;for(const o in n.children)if(!e.children[o]||!gE(e.children[o],n.children[o],r))return!1;return!0}{const o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!!(Ur(e.segments,o)&&Gu(e.segments,o,r)&&e.children[re])&&mE(e.children[re],n,i,r)}}function Gu(e,n,t){return n.every((r,o)=>fE[t](e[o].parameters,r.parameters))}class Ko{constructor(n=new Ae([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Yo(this.queryParams)),this._queryParamMap}toString(){return aL.serialize(this)}}class Ae{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 zu(this)}}class Ds{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Yo(this.parameters)),this._parameterMap}toString(){return DE(this)}}function Ur(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let _s=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return new uh},providedIn:\"root\"})}return e})();class uh{parse(n){const t=new yL(n);return new Ko(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Cs(n.root,!0)}`,r=function cL(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(o=>`${Wu(t)}=${Wu(o)}`).join(\"&\"):`${Wu(t)}=${Wu(r)}`}).filter(t=>!!t);return n.length?`?${n.join(\"&\")}`:\"\"}(n.queryParams);return`${t}${r}${\"string\"==typeof n.fragment?`#${function uL(e){return encodeURI(e)}(n.fragment)}`:\"\"}`}}const aL=new uh;function zu(e){return e.segments.map(n=>DE(n)).join(\"/\")}function Cs(e,n){if(!e.hasChildren())return zu(e);if(n){const t=e.children[re]?Cs(e.children[re],!1):\"\",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==re&&r.push(`${o}:${Cs(i,!1)}`)}),r.length>0?`${t}(${r.join(\"//\")})`:t}{const t=function sL(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===re&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==re&&(t=t.concat(n(o,r)))}),t}(e,(r,o)=>o===re?[Cs(e.children[re],!1)]:[`${o}:${Cs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[re]?`${zu(e)}/${t[0]}`:`${zu(e)}/(${t.join(\"//\")})`}}function vE(e){return encodeURIComponent(e).replace(/%40/g,\"@\").replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\")}function Wu(e){return vE(e).replace(/%3B/gi,\";\")}function lh(e){return vE(e).replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/%26/gi,\"&\")}function qu(e){return decodeURIComponent(e)}function yE(e){return qu(e.replace(/\\+/g,\"%20\"))}function DE(e){return`${lh(e.path)}${function lL(e){return Object.keys(e).map(n=>`;${lh(n)}=${lh(e[n])}`).join(\"\")}(e.parameters)}`}const dL=/^[^\\/()?;#]+/;function ch(e){const n=e.match(dL);return n?n[0]:\"\"}const fL=/^[^\\/()?;=#]+/,pL=/^[^=?&#]+/,mL=/^[^&#]+/;class yL{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional(\"/\"),\"\"===this.remaining||this.peekStartsWith(\"?\")||this.peekStartsWith(\"#\")?new Ae([],{}):new Ae([],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[re]=new Ae(n,t)),r}parseSegment(){const n=ch(this.remaining);if(\"\"===n&&this.peekStartsWith(\";\"))throw new N(4009,!1);return this.capture(n),new Ds(qu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(\";\");)this.parseParam(n);return n}parseParam(n){const t=function hL(e){const n=e.match(fL);return n?n[0]:\"\"}(this.remaining);if(!t)return;this.capture(t);let r=\"\";if(this.consumeOptional(\"=\")){const o=ch(this.remaining);o&&(r=o,this.capture(r))}n[qu(t)]=qu(r)}parseQueryParam(n){const t=function gL(e){const n=e.match(pL);return n?n[0]:\"\"}(this.remaining);if(!t)return;this.capture(t);let r=\"\";if(this.consumeOptional(\"=\")){const s=function vL(e){const n=e.match(mL);return n?n[0]:\"\"}(this.remaining);s&&(r=s,this.capture(r))}const o=yE(t),i=yE(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){const t={};for(this.capture(\"(\");!this.consumeOptional(\")\")&&this.remaining.length>0;){const r=ch(this.remaining),o=this.remaining[r.length];if(\"/\"!==o&&\")\"!==o&&\";\"!==o)throw new N(4010,!1);let i;r.indexOf(\":\")>-1?(i=r.slice(0,r.indexOf(\":\")),this.capture(i),this.capture(\":\")):n&&(i=re);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[re]:new Ae([],s),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 N(4011,!1)}}function _E(e){return e.segments.length>0?new Ae([],{[re]:e}):e}function CE(e){const n={};for(const r of Object.keys(e.children)){const i=CE(e.children[r]);if(r===re&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}return function DL(e){if(1===e.numberOfChildren&&e.children[re]){const n=e.children[re];return new Ae(e.segments.concat(n.segments),n.children)}return e}(new Ae(e.segments,n))}function Gr(e){return e instanceof Ko}function wE(e){let n;const o=_E(function t(i){const s={};for(const u of i.children){const l=t(u);s[u.outlet]=l}const a=new Ae(i.url,s);return i===e&&(n=a),a}(e.root));return n??o}function EE(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return dh(o,o,o,t,r);const i=function CL(e){if(\"string\"==typeof e[0]&&1===e.length&&\"/\"===e[0])return new IE(!0,0,e);let n=0,t=!1;const r=e.reduce((o,i,s)=>{if(\"object\"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]=\"string\"==typeof l?l.split(\"/\"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return\"string\"!=typeof i?[...o,i]:0===s?(i.split(\"/\").forEach((a,u)=>{0==u&&\".\"===a||(0==u&&\"\"===a?t=!0:\"..\"===a?n++:\"\"!=a&&o.push(a))}),o):[...o,i]},[]);return new IE(t,n,r)}(n);if(i.toRoot())return dh(o,o,new Ae([],{}),t,r);const s=function wL(e,n,t){if(e.isAbsolute)return new Qu(n,!0,0);if(!t)return new Qu(n,!1,NaN);if(null===t.parent)return new Qu(t,!0,0);const r=Zu(e.commands[0])?0:1;return function EL(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new N(4005,!1);o=r.segments.length}return new Qu(r,!1,o-i)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Es(s.segmentGroup,s.index,i.commands):SE(s.segmentGroup,s.index,i.commands);return dh(o,s.segmentGroup,a,t,r)}function Zu(e){return\"object\"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ws(e){return\"object\"==typeof e&&null!=e&&e.outlets}function dh(e,n,t,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===n?t:bE(e,n,t);const a=_E(CE(s));return new Ko(a,i,o)}function bE(e,n,t){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===n?t:bE(i,n,t)}),new Ae(e.segments,r)}class IE{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Zu(r[0]))throw new N(4003,!1);const o=r.find(ws);if(o&&o!==dE(r))throw new N(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&\"/\"==this.commands[0]}}class Qu{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function SE(e,n,t){if(e||(e=new Ae([],{})),0===e.segments.length&&e.hasChildren())return Es(e,n,t);const r=function IL(e,n,t){let r=0,o=n;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;const s=e.segments[o],a=t[r];if(ws(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&\"object\"==typeof l&&void 0===l.outlets){if(!AE(u,l,s))return i;r+=2}else{if(!AE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==re)&&e.children[re]&&1===e.numberOfChildren&&0===e.children[re].segments.length){const i=Es(e.children[re],n,t);return new Ae(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{\"string\"==typeof s&&(s=[s]),null!==s&&(o[i]=SE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new Ae(e.segments,o)}}function fh(e,n,t){const r=e.segments.slice(0,n);let o=0;for(;o{\"string\"==typeof r&&(r=[r]),null!==r&&(n[t]=fh(new Ae([],{}),0,r))}),n}function ME(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function AE(e,n,t){return e==t.path&&Fn(n,t.parameters)}const bs=\"imperative\";class kn{constructor(n,t){this.id=n,this.url=t}}class Yu extends kn{constructor(n,t,r=\"imperative\",o=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _r extends kn{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 Is extends kn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xo extends kn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=16}}class Ku extends kn{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class TE extends kn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ML extends kn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class AL extends kn{constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class TL extends kn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xL extends kn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class NL{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class RL{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class OL{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class PL{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class FL{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class xE{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class NE{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 hh{}class ph{constructor(n){this.url=n}}class kL{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ss,this.attachRef=null}}let Ss=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}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 kL,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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();class RE{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=gh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=gh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=mh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return mh(n,this._root).map(t=>t.value)}}function gh(e,n){if(e===n.value)return n;for(const t of n.children){const r=gh(e,t);if(r)return r}return null}function mh(e,n){if(e===n.value)return[n];for(const t of n.children){const r=mh(e,t);if(r.length)return r.unshift(n),r}return[]}class tr{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Jo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class OE extends RE{constructor(n,t){super(n),this.snapshot=t,vh(this,n)}toString(){return this.snapshot.toString()}}function PE(e,n){const t=function LL(e,n){const s=new Xu([],{},{},\"\",{},re,n,null,{});return new kE(\"\",new tr(s,[]))}(0,n),r=new Zt([new Ds(\"\",{})]),o=new Zt({}),i=new Zt({}),s=new Zt({}),a=new Zt(\"\"),u=new zr(r,o,s,a,i,re,n,t.root);return u.snapshot=t.root,new OE(new tr(u,[]),t)}class zr{constructor(n,t,r,o,i,s,a,u){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Ce(l=>l[ys]))??G(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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(Ce(n=>Yo(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ce(n=>Yo(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function FE(e,n=\"emptyOnly\"){const t=e.pathFromRoot;let r=0;if(\"always\"!==n)for(r=t.length-1;r>=1;){const o=t[r],i=t[r-1];if(o.routeConfig&&\"\"===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function VL(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 Xu{get title(){return this.data?.[ys]}constructor(n,t,r,o,i,s,a,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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=Yo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Yo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(\"/\")}', path:'${this.routeConfig?this.routeConfig.path:\"\"}')`}}class kE extends RE{constructor(n,t){super(t),this.url=n,vh(this,t)}toString(){return LE(this._root)}}function vh(e,n){n.value._routerState=e,n.children.forEach(t=>vh(e,t))}function LE(e){const n=e.children.length>0?` { ${e.children.map(LE).join(\", \")} } `:\"\";return`${e.value}${n}`}function yh(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Fn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Fn(n.params,t.params)||e.paramsSubject.next(t.params),function tL(e,n){if(e.length!==n.length)return!1;for(let t=0;tFn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Dh(e.parent,n.parent))}let _h=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=re,this.activateEvents=new Be,this.deactivateEvents=new Be,this.attachEvents=new Be,this.detachEvents=new Be,this.parentContexts=k(Ss),this.location=k(hn),this.changeDetector=k(du),this.environmentInjector=k(Vt),this.inputBinder=k(Ju,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 N(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new N(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new N(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 N(4013,!1);this._activatedRoute=t;const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new jL(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,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=Z({type:e,selectors:[[\"router-outlet\"]],inputs:{name:\"name\"},outputs:{activateEvents:\"activate\",deactivateEvents:\"deactivate\",attachEvents:\"attach\",detachEvents:\"detach\"},exportAs:[\"outlet\"],standalone:!0,features:[Kt]})}return e})();class jL{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===zr?this.route:n===Ss?this.childContexts:this.parent.get(n,t)}}const Ju=new V(\"\");let VE=(()=>{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,o=oh([r.queryParams,r.params,r.data]).pipe(on(([i,s,a],u)=>(a={...i,...s,...a},0===u?G(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function vO(e){const n=me(e);if(!n)return null;const t=new Ui(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(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();function Ms(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const o=function BL(e,n,t){return n.children.map(r=>{for(const o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ms(e,r,o);return Ms(e,r)})}(e,n,t);return new tr(r,o)}{if(e.shouldAttach(n.value)){const i=e.retrieve(n.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ms(e,a)),s}}const r=function $L(e){return new zr(new Zt(e.url),new Zt(e.params),new Zt(e.queryParams),new Zt(e.fragment),new Zt(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(i=>Ms(e,i));return new tr(r,o)}}const Ch=\"ngNavigationCancelingError\";function jE(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Gr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=HE(!1,0,n);return o.url=t,o.navigationBehaviorOptions=r,o}function HE(e,n,t){const r=new Error(\"NavigationCancelingError: \"+(e||\"\"));return r[Ch]=!0,r.cancellationCode=n,t&&(r.url=t),r}function BE(e){return e&&e[Ch]}let $E=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"ng-component\"]],standalone:!0,features:[OD],decls:1,vars:0,template:function(r,o){1&r&&we(0,\"router-outlet\")},dependencies:[_h],encapsulation:2})}return e})();function wh(e){const n=e.children&&e.children.map(wh),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==re&&(t.component=$E),t}function vn(e){return e.outlet||re}function As(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 YL{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),yh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const o=Jo(t);n.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&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),o=r&&n.value.component?r.children:t,i=Jo(n);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Jo(n);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const o=Jo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new xE(i.value.snapshot))}),n.children.length&&this.forwardEvent(new PL(n.value.snapshot))}activateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(yh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),yh(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=As(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class UE{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class el{constructor(n,t){this.component=n,this.route=t}}function KL(e,n,t){const r=e._root;return Ts(r,n?n._root:null,t,[r.value])}function ei(e,n){const t=Symbol(),r=n.get(e,t);return r===t?\"function\"!=typeof e||function OI(e){return null!==Vs(e)}(e)?n.get(e):e:r}function Ts(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Jo(n);return e.children.forEach(s=>{(function JL(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function eV(e,n,t){if(\"function\"==typeof t)return t(e,n);switch(t){case\"pathParamsChange\":return!Ur(e.url,n.url);case\"pathParamsOrQueryParamsChange\":return!Ur(e.url,n.url)||!Fn(e.queryParams,n.queryParams);case\"always\":return!0;case\"paramsOrQueryParamsChange\":return!Dh(e,n)||!Fn(e.queryParams,n.queryParams);default:return!Dh(e,n)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new UE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Ts(e,n,i.component?a?a.children:null:t,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new el(a.outlet.component,s))}else s&&xs(n,a,o),o.canActivateChecks.push(new UE(r)),Ts(e,null,i.component?a?a.children:null:t,r,o)})(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>xs(a,t.getContext(s),o)),o}function xs(e,n,t){const r=Jo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{xs(s,o.component?n?n.children.getContext(i):null:n,t)}),t.canDeactivateChecks.push(new el(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function Ns(e){return\"function\"==typeof e}function GE(e){return e instanceof $u||\"EmptyError\"===e?.name}const tl=Symbol(\"INITIAL_VALUE\");function ti(){return on(e=>oh(e.map(n=>n.pipe(Er(1),function Wk(...e){const n=ai(e);return Je((t,r)=>{(n?ih(e,t,n):ih(e,t)).subscribe(r)})}(tl)))).pipe(Ce(n=>{for(const t of n)if(!0!==t){if(t===tl)return tl;if(!1===t||t instanceof Ko)return t}return!0}),er(n=>n!==tl),Er(1)))}function zE(e){return function ge(...e){return Wt(e)}(mt(n=>{if(Gr(n))throw jE(0,n)}),Ce(n=>!0===n))}class nl{constructor(n){this.segmentGroup=n||null}}class WE{constructor(n){this.urlTree=n}}function ni(e){return ms(new nl(e))}function qE(e){return ms(new WE(e))}class _V{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new N(4002,!1)}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return G(r);if(o.numberOfChildren>1||!o.children[re])return ms(new N(4e3,!1));o=o.children[re]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,o){const i=this.createSegmentGroup(n,t.root,r,o);return new Ko(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([o,i])=>{if(\"string\"==typeof i&&i.startsWith(\":\")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){const i=this.createSegments(n,t.segments,r,o);let s={};return Object.entries(t.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,r,o)}),new Ae(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path.startsWith(\":\")?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){const o=r[t.path.substring(1)];if(!o)throw new N(4001,!1);return o}findOrReturn(n,t){let r=0;for(const o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}}const Eh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function CV(e,n,t,r,o){const i=bh(e,n,t);return i.matched?(r=function GL(e,n){return e.providers&&!e._injector&&(e._injector=Rd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function vV(e,n,t,r){const o=n.canMatch;return o&&0!==o.length?G(o.map(s=>{const a=ei(s,e);return Dr(function sV(e){return e&&Ns(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(ti(),zE()):G(!0)}(r,n,t).pipe(Ce(s=>!0===s?i:{...Eh}))):G(i)}function bh(e,n,t){if(\"\"===n.path)return\"full\"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Eh}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||eL)(t,e,n);if(!o)return{...Eh};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ZE(e,n,t,r){return t.length>0&&function bV(e,n,t){return t.some(r=>rl(e,n,r)&&vn(r)!==re)}(e,t,r)?{segmentGroup:new Ae(n,EV(r,new Ae(t,e.children))),slicedSegments:[]}:0===t.length&&function IV(e,n,t){return t.some(r=>rl(e,n,r))}(e,t,r)?{segmentGroup:new Ae(e.segments,wV(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Ae(e.segments,e.children),slicedSegments:t}}function wV(e,n,t,r,o){const i={};for(const s of r)if(rl(e,t,s)&&!o[vn(s)]){const a=new Ae([],{});i[vn(s)]=a}return{...o,...i}}function EV(e,n){const t={};t[re]=n;for(const r of e)if(\"\"===r.path&&vn(r)!==re){const o=new Ae([],{});t[vn(r)]=o}return t}function rl(e,n,t){return(!(e.hasChildren()||n.length>0)||\"full\"!==t.pathMatch)&&\"\"===t.path}class TV{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new _V(this.urlSerializer,this.urlTree)}noMatchError(n){return new N(4002,!1)}recognize(){const n=ZE(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,re).pipe($r(t=>{if(t instanceof WE)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof nl?this.noMatchError(t):t}),Ce(t=>{const r=new Xu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},re,this.rootComponentType,null,{}),o=new tr(r,t),i=new kE(\"\",o),s=function _L(e,n,t=null,r=null){return EE(wE(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,re).pipe($r(r=>{throw r instanceof nl?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=FE(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,t,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,o,!0)}processChildren(n,t,r){const o=[];for(const i of Object.keys(r.children))\"primary\"===i?o.unshift(i):o.push(i);return Qe(o).pipe(Qo(i=>{const s=r.children[i],a=function ZL(e,n){const t=e.filter(r=>vn(r)===n);return t.push(...e.filter(r=>vn(r)!==n)),t}(t,i);return this.processSegmentGroup(n,a,s,i)}),function Qk(e,n){return Je(function Zk(e,n,t,r,o){return(i,s)=>{let a=t,u=n,l=0;i.subscribe(new Ze(s,c=>{const f=l++;u=a?e(u,c,f):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,n,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Uu(null),function Yk(e,n){const t=arguments.length>=2;return r=>r.pipe(e?er((o,i)=>e(o,i,r)):Xe,ah(1),t?Uu(n):lE(()=>new $u))}(),st(i=>{if(null===i)return ni(r);const s=QE(i);return function xV(e){e.sort((n,t)=>n.value.outlet===re?-1:t.value.outlet===re?1:n.value.outlet.localeCompare(t.value.outlet))}(s),G(s)}))}processSegment(n,t,r,o,i,s){return Qe(t).pipe(Qo(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,o,i,s).pipe($r(u=>{if(u instanceof nl)return G(null);throw u}))),Br(a=>!!a),$r(a=>{if(GE(a))return function MV(e,n,t){return 0===n.length&&!e.children[t]}(r,o,i)?G([]):ni(r);throw a}))}processSegmentAgainstRoute(n,t,r,o,i,s,a){return function SV(e,n,t,r){return!!(vn(e)===r||r!==re&&rl(n,t,e))&&(\"**\"===e.path||bh(n,e,t).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s):ni(o):ni(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){return\"**\"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith(\"/\")?qE(i):this.applyRedirects.lineralizeSegments(r,i).pipe(st(s=>{const a=new Ae(s,{});return this.processSegment(n,t,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=bh(t,o,i);if(!a)return ni(t);const f=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith(\"/\")?qE(f):this.applyRedirects.lineralizeSegments(o,f).pipe(st(p=>this.processSegment(n,r,t,p.concat(l),s,!1)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a;if(\"**\"===r.path){const u=o.length>0?dE(o).parameters:{};a=G({snapshot:new Xu(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,YE(r),vn(r),r.component??r._loadedComponent??null,r,KE(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=CV(t,r,o,n).pipe(Ce(({matched:u,consumedSegments:l,remainingSegments:c,parameters:f})=>u?{snapshot:new Xu(l,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,YE(r),vn(r),r.component??r._loadedComponent??null,r,KE(r)),consumedSegments:l,remainingSegments:c}:null));return a.pipe(on(u=>null===u?ni(t):this.getChildConfig(n=r._injector??n,r,o).pipe(on(({routes:l})=>{const c=r._loadedInjector??n,{snapshot:f,consumedSegments:p,remainingSegments:y}=u,{segmentGroup:b,slicedSegments:I}=ZE(t,p,y,l);if(0===I.length&&b.hasChildren())return this.processChildren(c,l,b).pipe(Ce(R=>null===R?null:[new tr(f,R)]));if(0===l.length&&0===I.length)return G([new tr(f,[])]);const A=vn(r)===i;return this.processSegment(c,l,b,I,A?re:i,!0).pipe(Ce(R=>[new tr(f,R)]))}))))}getChildConfig(n,t,r){return t.children?G({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?G({routes:t._loadedRoutes,injector:t._loadedInjector}):function mV(e,n,t,r){const o=n.canLoad;return void 0===o||0===o.length?G(!0):G(o.map(s=>{const a=ei(s,e);return Dr(function nV(e){return e&&Ns(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(ti(),zE())}(n,t,r).pipe(st(o=>o?this.configLoader.loadChildren(n,t).pipe(mt(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):function DV(e){return ms(HE(!1,3))}())):G({routes:[],injector:n})}}function NV(e){const n=e.value.routeConfig;return n&&\"\"===n.path}function QE(e){const n=[],t=new Set;for(const r of e){if(!NV(r)){n.push(r);continue}const o=n.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),t.add(o)):n.push(r)}for(const r of t){const o=QE(r.children);n.push(new tr(r.value,o))}return n.filter(r=>!t.has(r))}function YE(e){return e.data||{}}function KE(e){return e.resolve||{}}function XE(e){return\"string\"==typeof e.title||null===e.title}function Ih(e){return on(n=>{const t=e(n);return t?Qe(t).pipe(Ce(()=>n)):G(n)})}const ri=new V(\"ROUTES\");let Sh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=k(S_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return G(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Dr(t.loadComponent()).pipe(Ce(JE),mt(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),vs(()=>{this.componentLoaders.delete(t)})),o=new uE(r,()=>new qt).pipe(sh());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return G({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function VV(e,n,t,r){return Dr(e.loadChildren()).pipe(Ce(JE),st(o=>o instanceof ND||Array.isArray(o)?G(o):Qe(n.compileModuleAsync(o))),Ce(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(t).injector,s=i.get(ri,[],{optional:!0,self:!0}).flat()),{routes:s.map(wh),injector:i}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(vs(()=>{this.childrenLoaders.delete(r)})),s=new uE(i,()=>new qt).pipe(sh());return this.childrenLoaders.set(r,s),s}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function JE(e){return function jV(e){return e&&\"object\"==typeof e&&\"default\"in e}(e)?e.default:e}let ol=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new qt,this.transitionAbortSubject=new qt,this.configLoader=k(Sh),this.environmentInjector=k(Vt),this.urlSerializer=k(_s),this.rootContexts=k(Ss),this.inputBindingEnabled=null!==k(Ju,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>G(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new RL(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new NL(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,o){return this.transitions=new Zt({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:bs,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(er(i=>0!==i.id),Ce(i=>({...i,extractedUrl:t.urlHandlingStrategy.extract(i.rawUrl)})),on(i=>{this.currentTransition=i;let s=!1,a=!1;return G(i).pipe(mt(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),on(u=>{const l=u.currentBrowserUrl.toString(),c=!t.navigated||u.extractedUrl.toString()!==l||l!==u.currentUrlTree.toString();if(!c&&\"reload\"!==(u.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const p=\"\";return this.events.next(new Xo(u.id,this.urlSerializer.serialize(u.rawUrl),p,0)),u.resolve(null),yn}if(t.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return G(u).pipe(on(p=>{const y=this.transitions?.getValue();return this.events.next(new Yu(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),y!==this.transitions?.getValue()?yn:Promise.resolve(p)}),function RV(e,n,t,r,o,i){return st(s=>function AV(e,n,t,r,o,i,s=\"emptyOnly\"){return new TV(e,n,t,r,o,s,i).recognize()}(e,n,t,r,s.extractedUrl,o,i).pipe(Ce(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),mt(p=>{i.targetSnapshot=p.targetSnapshot,i.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:p.urlAfterRedirects};const y=new TE(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(y)}));if(c&&t.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:p,extractedUrl:y,source:b,restoredState:I,extras:A}=u,R=new Yu(p,this.urlSerializer.serialize(y),b,I);this.events.next(R);const S=PE(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:S,urlAfterRedirects:y,extras:{...A,skipLocationChange:!1,replaceUrl:!1}},G(i)}{const p=\"\";return this.events.next(new Xo(u.id,this.urlSerializer.serialize(u.extractedUrl),p,1)),u.resolve(null),yn}}),mt(u=>{const l=new ML(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Ce(u=>(this.currentTransition=i={...u,guards:KL(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function uV(e,n){return st(t=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return 0===s.length&&0===i.length?G({...t,guardsResult:!0}):function lV(e,n,t,r){return Qe(e).pipe(st(o=>function gV(e,n,t,r,o){const i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return i&&0!==i.length?G(i.map(a=>{const u=As(n)??o,l=ei(a,u);return Dr(function iV(e){return e&&Ns(e.canDeactivate)}(l)?l.canDeactivate(e,n,t,r):u.runInContext(()=>l(e,n,t,r))).pipe(Br())})).pipe(ti()):G(!0)}(o.component,o.route,t,n,r)),Br(o=>!0!==o,!0))}(s,r,o,e).pipe(st(a=>a&&function tV(e){return\"boolean\"==typeof e}(a)?function cV(e,n,t,r){return Qe(n).pipe(Qo(o=>ih(function fV(e,n){return null!==e&&n&&n(new OL(e)),G(!0)}(o.route.parent,r),function dV(e,n){return null!==e&&n&&n(new FL(e)),G(!0)}(o.route,r),function pV(e,n,t){const r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>function XL(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>aE(()=>G(s.guards.map(u=>{const l=As(s.node)??t,c=ei(u,l);return Dr(function oV(e){return e&&Ns(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(Br())})).pipe(ti())));return G(i).pipe(ti())}(e,o.path,t),function hV(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return G(!0);const o=r.map(i=>aE(()=>{const s=As(n)??t,a=ei(i,s);return Dr(function rV(e){return e&&Ns(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Br())}));return G(o).pipe(ti())}(e,o.route,t))),Br(o=>!0!==o,!0))}(r,i,e,n):G(a)),Ce(a=>({...t,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),mt(u=>{if(i.guardsResult=u.guardsResult,Gr(u.guardsResult))throw jE(0,u.guardsResult);const l=new AL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),er(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,\"\",3),!1)),Ih(u=>{if(u.guards.canActivateChecks.length)return G(u).pipe(mt(l=>{const c=new TL(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),on(l=>{let c=!1;return G(l).pipe(function OV(e,n){return st(t=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return G(t);let i=0;return Qe(o).pipe(Qo(s=>function PV(e,n,t,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!XE(o)&&(i[ys]=o.title),function FV(e,n,t,r){const o=function kV(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return G({});const i={};return Qe(o).pipe(st(s=>function LV(e,n,t,r){const o=As(n)??r,i=ei(e,o);return Dr(i.resolve?i.resolve(n,t):o.runInContext(()=>i(n,t)))}(e[s],n,t,r).pipe(Br(),mt(a=>{i[s]=a}))),ah(1),function Kk(e){return Ce(()=>e)}(i),$r(s=>GE(s)?yn:ms(s)))}(i,e,n,r).pipe(Ce(s=>(e._resolvedData=s,e.data=FE(e,t).resolve,o&&XE(o)&&(e.data[ys]=o.title),null)))}(s.route,r,e,n)),mt(()=>i++),ah(1),st(s=>i===o.length?G(t):yn))})}(t.paramsInheritanceStrategy,this.environmentInjector),mt({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,\"\",2)}}))}),mt(l=>{const c=new xL(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),Ih(u=>{const l=c=>{const f=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(c.routeConfig).pipe(mt(p=>{c.component=p}),Ce(()=>{})));for(const p of c.children)f.push(...l(p));return f};return oh(l(u.targetSnapshot.root)).pipe(Uu(),Er(1))}),Ih(()=>this.afterPreactivation()),Ce(u=>{const l=function HL(e,n,t){const r=Ms(e,n._root,t?t._root:void 0);return new OE(r,n)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},i}),mt(()=>{this.events.next(new hh)}),((e,n,t,r)=>Ce(o=>(new YL(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Er(1),mt({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _r(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),t.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function Xk(e){return Je((n,t)=>{rn(e).subscribe(new Ze(t,()=>t.complete(),j)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(mt(u=>{throw u}))),vs(()=>{s||a||this.cancelNavigationTransition(i,\"\",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),$r(u=>{if(a=!0,BE(u))this.events.next(new Is(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function UL(e){return BE(e)&&Gr(e.url)}(u)?this.events.next(new ph(u.url)):i.resolve(!1);else{this.events.next(new Ku(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(t.errorHandler(u))}catch(l){i.reject(l)}}return yn}))}))}cancelNavigationTransition(t,r,o){const i=new Is(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function eb(e){return e!==bs}let tb=(()=>{class e{buildTitle(t){let r,o=t.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===re);return r}getResolvedTitleForRoute(t){return t.data[ys]}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return k(HV)},providedIn:\"root\"})}return e})(),HV=(()=>{class e extends tb{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)(H(ZC))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})(),BV=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return k(UV)},providedIn:\"root\"})}return e})();class $V{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let UV=(()=>{class e extends $V{static#e=this.\\u0275fac=function(){let t;return function(o){return(t||(t=dt(e)))(o||e)}}();static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const il=new V(\"\",{providedIn:\"root\",factory:()=>({})});let GV=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275prov=B({token:e,factory:function(){return k(zV)},providedIn:\"root\"})}return e})(),zV=(()=>{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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();var Rs=function(e){return e[e.COMPLETE=0]=\"COMPLETE\",e[e.FAILED=1]=\"FAILED\",e[e.REDIRECTING=2]=\"REDIRECTING\",e}(Rs||{});function nb(e,n){e.events.pipe(er(t=>t instanceof _r||t instanceof Is||t instanceof Ku||t instanceof Xo),Ce(t=>t instanceof _r||t instanceof Xo?Rs.COMPLETE:t instanceof Is&&(0===t.code||1===t.code)?Rs.REDIRECTING:Rs.FAILED),er(t=>t!==Rs.REDIRECTING),Er(1)).subscribe(()=>{n()})}function WV(e){throw e}function qV(e,n,t){return n.parse(\"/\")}const ZV={paths:\"exact\",fragment:\"ignored\",matrixParams:\"ignored\",queryParams:\"exact\"},QV={paths:\"subset\",fragment:\"ignored\",matrixParams:\"ignored\",queryParams:\"subset\"};let zt=(()=>{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=k(I_),this.isNgZoneEnabled=!1,this._events=new qt,this.options=k(il,{optional:!0})||{},this.pendingTasks=k(au),this.errorHandler=this.options.errorHandler||WV,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||qV,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=k(GV),this.routeReuseStrategy=k(BV),this.titleStrategy=k(tb),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=k(ri,{optional:!0})?.flat()??[],this.navigationTransitions=k(ol),this.urlSerializer=k(_s),this.location=k(hf),this.componentInputBindingEnabled=!!k(Ju,{optional:!0}),this.eventsSubscription=new D,this.isNgZoneEnabled=k(Oe)instanceof Oe&&Oe.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ko,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=PE(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:o}=this.navigationTransitions;if(null===o)return void(rb(r)&&this._events.next(r));if(r instanceof Yu)eb(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof Xo)this.rawUrlTree=o.rawUrl;else if(r instanceof TE){if(\"eager\"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof hh)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,\"deferred\"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof Is)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof ph){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:\"eager\"===this.urlUpdateStrategy||eb(o.source)};this.scheduleNavigation(i,bs,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof Ku&&this.restoreHistory(o,!0),r instanceof _r&&(this.navigated=!0),rb(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});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),bs,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,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(wh),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:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let f,c=null;switch(a){case\"merge\":c={...this.currentUrlTree.queryParams,...i};break;case\"preserve\":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{f=wE(o?o.snapshot:this.routerState.snapshot.root)}catch{(\"string\"!=typeof t[0]||!t[0].startsWith(\"/\"))&&(t=[]),f=this.currentUrlTree.root}return EE(f,t,c,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){const o=Gr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,bs,null,r)}navigate(t,r={skipLocationChange:!1}){return function YV(e){for(let n=0;n{const i=t[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((f,p)=>{a=f,u=p});const c=this.pendingTasks.add();return nb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}setBrowserUrl(t,r){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,\"\",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,\"\",i)}}restoreHistory(t,r=!1){if(\"computed\"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(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=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();function rb(e){return!(e instanceof hh||e instanceof ph)}class ob{}let JV=(()=>{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(er(t=>t instanceof _r),Qo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Rd(i.providers,t,`Route: ${i.path}`));const s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Qe(o).pipe(Yr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):G(null);const i=o.pipe(st(s=>null===s?G(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Qe([i,this.loader.loadComponent(r)]).pipe(Yr()):i})}static#e=this.\\u0275fac=function(r){return new(r||e)(H(zt),H(S_),H(Vt),H(ob),H(Sh))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac,providedIn:\"root\"})}return e})();const Ah=new V(\"\");let ib=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource=\"imperative\",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||\"disabled\",s.anchorScrolling=s.anchorScrolling||\"disabled\"}init(){\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration(\"manual\"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Yu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof _r?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Xo&&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 NE&&(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 NE(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 mv(){throw new Error(\"invalid\")}()};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();function nr(e,n){return{\\u0275kind:e,\\u0275providers:n}}function ab(){const e=k(Ht);return n=>{const t=e.get(Go);if(n!==t.components[0])return;const r=e.get(zt),o=e.get(ub);1===e.get(Th)&&r.initialNavigation(),e.get(lb,null,se.Optional)?.setUpPreloading(),e.get(Ah,null,se.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const ub=new V(\"\",{factory:()=>new qt}),Th=new V(\"\",{providedIn:\"root\",factory:()=>1}),lb=new V(\"\");function r2(e){return nr(0,[{provide:lb,useExisting:JV},{provide:ob,useExisting:e}])}const cb=new V(\"ROUTER_FORROOT_GUARD\"),i2=[hf,{provide:_s,useClass:uh},zt,Ss,{provide:zr,useFactory:function sb(e){return e.routerState.root},deps:[zt]},Sh,[]];function s2(){return new O_(\"Router\",zt)}let a2=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[i2,[],{provide:ri,multi:!0,useValue:t},{provide:cb,useFactory:d2,deps:[[zt,new ua,new la]]},{provide:il,useValue:r||{}},r?.useHash?{provide:Vr,useClass:wO}:{provide:Vr,useClass:lC},{provide:Ah,useFactory:()=>{const e=k(jP),n=k(Oe),t=k(il),r=k(ol),o=k(_s);return t.scrollOffset&&e.setOffset(t.scrollOffset),new ib(o,r,e,n,t)}},r?.preloadingStrategy?r2(r.preloadingStrategy).\\u0275providers:[],{provide:O_,multi:!0,useFactory:s2},r?.initialNavigation?f2(r):[],r?.bindToComponentInputs?nr(8,[VE,{provide:Ju,useExisting:VE}]).\\u0275providers:[],[{provide:db,useFactory:ab},{provide:tf,multi:!0,useExisting:db}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ri,multi:!0,useValue:t}]}}static#e=this.\\u0275fac=function(r){return new(r||e)(H(cb,8))};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({})}return e})();function d2(e){return\"guarded\"}function f2(e){return[\"disabled\"===e.initialNavigation?nr(3,[{provide:qd,multi:!0,useFactory:()=>{const n=k(zt);return()=>{n.setUpLocationChangeListener()}}},{provide:Th,useValue:2}]).\\u0275providers:[],\"enabledBlocking\"===e.initialNavigation?nr(2,[{provide:Th,useValue:0},{provide:qd,multi:!0,deps:[Ht],useFactory:n=>{const t=n.get(_O,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const o=n.get(zt),i=n.get(ub);nb(o,()=>{r(!0)}),n.get(ol).afterPreactivation=()=>(r(!0),i.closed?G(void 0):i),o.initialNavigation()}))}}]).\\u0275providers:[]]}const db=new V(\"\");class sl{}class al{}class Ln{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 o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}: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 Ln?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 Ln;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ln?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 o=(\"a\"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case\"d\":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class p2{encodeKey(n){return fb(n)}encodeValue(n){return fb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const m2=/%(\\d[a-f0-9])/gi,v2={40:\"@\",\"3A\":\":\",24:\"$\",\"2C\":\",\",\"3B\":\";\",\"3D\":\"=\",\"3F\":\"?\",\"2F\":\"/\"};function fb(e){return encodeURIComponent(e).replace(m2,(n,t)=>v2[t]??n)}function ul(e){return`${e}`}class Cr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new p2,n.fromString){if(n.fromObject)throw new Error(\"Cannot specify both fromString and fromObject.\");this.map=function g2(e,n){const t=new Map;return e.length>0&&e.replace(/^\\?/,\"\").split(\"&\").forEach(o=>{const i=o.indexOf(\"=\"),[s,a]=-1==i?[n.decodeKey(o),\"\"]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],u=t.get(s)||[];u.push(a),t.set(s,u)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],o=Array.isArray(r)?r.map(ul):[ul(r)];this.map.set(t,o)})):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 o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:\"a\"})}):t.push({param:r,value:o,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 Cr({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(ul(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 o=r.indexOf(ul(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class y2{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 hb(e){return typeof ArrayBuffer<\"u\"&&e instanceof ArrayBuffer}function pb(e){return typeof Blob<\"u\"&&e instanceof Blob}function gb(e){return typeof FormData<\"u\"&&e instanceof FormData}class Os{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType=\"json\",this.method=n.toUpperCase(),function D2(e){switch(e){case\"DELETE\":case\"GET\":case\"HEAD\":case\"OPTIONS\":case\"JSONP\":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Ln),this.context||(this.context=new y2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf(\"?\");this.urlWithParams=t+(-1===a?\"?\":af.set(p,n.setHeaders[p]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((f,p)=>f.set(p,n.setParams[p]),l)),new Os(t,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var oi=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}(oi||{});class xh{constructor(n,t=200,r=\"OK\"){this.headers=n.headers||new Ln,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 Nh extends xh{constructor(n={}){super(n),this.type=oi.ResponseHeader}clone(n={}){return new Nh({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 ii extends xh{constructor(n={}){super(n),this.type=oi.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new ii({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 mb extends xh{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 Rh(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 vb=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Os)i=t;else{let u,l;u=o.headers instanceof Ln?o.headers:new Ln(o.headers),o.params&&(l=o.params instanceof Cr?o.params:new Cr({fromObject:o.params})),i=new Os(t,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||\"json\",withCredentials:o.withCredentials})}const s=G(i).pipe(Qo(u=>this.handler.handle(u)));if(t instanceof Os||\"events\"===o.observe)return s;const a=s.pipe(er(u=>u instanceof ii));switch(o.observe||\"body\"){case\"body\":switch(i.responseType){case\"arraybuffer\":return a.pipe(Ce(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error(\"Response is not an ArrayBuffer.\");return u.body}));case\"blob\":return a.pipe(Ce(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error(\"Response is not a Blob.\");return u.body}));case\"text\":return a.pipe(Ce(u=>{if(null!==u.body&&\"string\"!=typeof u.body)throw new Error(\"Response is not a string.\");return u.body}));default:return a.pipe(Ce(u=>u.body))}case\"response\":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 Cr).append(r,\"JSONP_CALLBACK\"),observe:\"body\",responseType:\"json\"})}options(t,r={}){return this.request(\"OPTIONS\",t,r)}patch(t,r,o={}){return this.request(\"PATCH\",t,Rh(o,r))}post(t,r,o={}){return this.request(\"POST\",t,Rh(o,r))}put(t,r,o={}){return this.request(\"PUT\",t,Rh(o,r))}static#e=this.\\u0275fac=function(r){return new(r||e)(H(sl))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();function _b(e,n){return n(e)}function w2(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const b2=new V(\"\"),Ps=new V(\"\"),Cb=new V(\"\");function I2(){let e=null;return(n,t)=>{null===e&&(e=(k(b2,{optional:!0})??[]).reduceRight(w2,_b));const r=k(au),o=r.add();return e(n,t).pipe(vs(()=>r.remove(o)))}}let wb=(()=>{class e extends sl{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=k(au)}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ps),...this.injector.get(Cb,[])]));this.chain=o.reduceRight((i,s)=>function E2(e,n,t){return(r,o)=>t.runInContext(()=>n(r,i=>e(i,o)))}(i,s,this.injector),_b)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(vs(()=>this.pendingTasks.remove(r)))}static#e=this.\\u0275fac=function(r){return new(r||e)(H(al),H(Vt))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const T2=/^\\)\\]\\}',?\\n/;let bb=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if(\"JSONP\"===t.method)throw new N(-2800,!1);const r=this.xhrFactory;return(r.\\u0275loadImpl?Qe(r.\\u0275loadImpl()):G(null)).pipe(on(()=>new ye(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((I,A)=>s.setRequestHeader(I,A.join(\",\"))),t.headers.has(\"Accept\")||s.setRequestHeader(\"Accept\",\"application/json, text/plain, */*\"),!t.headers.has(\"Content-Type\")){const I=t.detectContentTypeHeader();null!==I&&s.setRequestHeader(\"Content-Type\",I)}if(t.responseType){const I=t.responseType.toLowerCase();s.responseType=\"json\"!==I?I:\"text\"}const a=t.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const I=s.statusText||\"OK\",A=new Ln(s.getAllResponseHeaders()),R=function x2(e){return\"responseURL\"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader(\"X-Request-URL\"):null}(s)||t.url;return u=new Nh({headers:A,status:s.status,statusText:I,url:R}),u},c=()=>{let{headers:I,status:A,statusText:R,url:S}=l(),L=null;204!==A&&(L=typeof s.response>\"u\"?s.responseText:s.response),0===A&&(A=L?200:0);let U=A>=200&&A<300;if(\"json\"===t.responseType&&\"string\"==typeof L){const oe=L;L=L.replace(T2,\"\");try{L=\"\"!==L?JSON.parse(L):null}catch(ot){L=oe,U&&(U=!1,L={error:ot,text:L})}}U?(i.next(new ii({body:L,headers:I,status:A,statusText:R,url:S||void 0})),i.complete()):i.error(new mb({error:L,headers:I,status:A,statusText:R,url:S||void 0}))},f=I=>{const{url:A}=l(),R=new mb({error:I,status:s.status||0,statusText:s.statusText||\"Unknown Error\",url:A||void 0});i.error(R)};let p=!1;const y=I=>{p||(i.next(l()),p=!0);let A={type:oi.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),\"text\"===t.responseType&&s.responseText&&(A.partialText=s.responseText),i.next(A)},b=I=>{let A={type:oi.UploadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),i.next(A)};return s.addEventListener(\"load\",c),s.addEventListener(\"error\",f),s.addEventListener(\"timeout\",f),s.addEventListener(\"abort\",f),t.reportProgress&&(s.addEventListener(\"progress\",y),null!==a&&s.upload&&s.upload.addEventListener(\"progress\",b)),s.send(a),i.next({type:oi.Sent}),()=>{s.removeEventListener(\"error\",f),s.removeEventListener(\"abort\",f),s.removeEventListener(\"load\",c),s.removeEventListener(\"timeout\",f),t.reportProgress&&(s.removeEventListener(\"progress\",y),null!==a&&s.upload&&s.upload.removeEventListener(\"progress\",b)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\\u0275fac=function(r){return new(r||e)(H(xC))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();const Oh=new V(\"XSRF_ENABLED\"),Ib=new V(\"XSRF_COOKIE_NAME\",{providedIn:\"root\",factory:()=>\"XSRF-TOKEN\"}),Sb=new V(\"XSRF_HEADER_NAME\",{providedIn:\"root\",factory:()=>\"X-XSRF-TOKEN\"});class Mb{}let O2=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,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=_C(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Ut),H(Rr),H(Ib))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})();function P2(e,n){const t=e.url.toLowerCase();if(!k(Oh)||\"GET\"===e.method||\"HEAD\"===e.method||t.startsWith(\"http://\")||t.startsWith(\"https://\"))return n(e);const r=k(Mb).getToken(),o=k(Sb);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var wr=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}(wr||{});function F2(...e){const n=[vb,bb,wb,{provide:sl,useExisting:wb},{provide:al,useExisting:bb},{provide:Ps,useValue:P2,multi:!0},{provide:Oh,useValue:!0},{provide:Mb,useClass:O2}];for(const t of e)n.push(...t.\\u0275providers);return function Ac(e){return{\\u0275providers:e}}(n)}const Ab=new V(\"LEGACY_INTERCEPTOR_FN\");function k2(){return function Wr(e,n){return{\\u0275kind:e,\\u0275providers:n}}(wr.LegacyInterceptors,[{provide:Ab,useFactory:I2},{provide:Ps,useExisting:Ab,multi:!0}])}let L2=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e});static#n=this.\\u0275inj=sn({providers:[F2(k2())]})}return e})(),U2=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-root\"]],decls:1,vars:0,template:function(r,o){1&r&&we(0,\"router-outlet\")},dependencies:[_h],encapsulation:2})}return e})();var G2=d(8119),Ph=d.n(G2),z2=d(6177),Fh=d.n(z2),W2=d(7170),Tb=d.n(W2);let Fs=(()=>{class e{constructor(t){this.locale=t,this.epiImport=window.searchAppInput,Object.keys(this.epiImport).forEach(r=>{this.epiImport[r]=this.decodeHTML(this.epiImport[r])})}isMobile(){return document.documentElement.clientWidth<992}formatDate(t,r){return hC(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 o={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\",\"`\":\"&grave\"};return(t||\"\").replace(/[&<>\"'/]/gi,s=>o[s])}static#e=this.\\u0275fac=function(r){return new(r||e)(H(pn))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})(),Lh=(()=>{class e{constructor(t){this.utilityService=t,this.selectedFilters=[],this.availableFilters=[],this.onSelectedFiltersChanged=new qt}removeAll(){this.selectedFilters=Ph()(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=Ph()(this.selectedFilters,o=>o.Id===t.Id);Fh()(this.availableFilters,o=>o.Id===t.FilterGroupId).Hidden=!1,r.length>0&&this.onSelectedFiltersChanged.next(this.selectedFilters)}filterGroupRemoved(t,r=!1){const o=Ph()(this.selectedFilters,i=>i.FilterGroupId===t.Id);Fh()(this.availableFilters,i=>i.Id===t.Id).Hidden=!1,o.length>0&&!r&&this.onSelectedFiltersChanged.next(this.selectedFilters)}updateFilterGroupVisibility(){Tb()(this.selectedFilters,t=>{Fh()(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 o=null;return Tb()(this.selectedFilters,i=>{r.push(\"'\"+i.Name.toLowerCase()+\"'\")}),1===r.length?o=r[0]:r.length>1&&(o=r.splice(0,r.length-1).join(\", \").toString(),o+=\", \"+t+\" \"+r[r.length-1]),o}setSelectedFilters(t){this.selectedFilters=t,this.onSelectedFiltersChanged.next(this.selectedFilters)}static#e=this.\\u0275fac=function(r){return new(r||e)(H(Fs))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})(),Rb=(()=>{class e{constructor(t){this.http=t}search(t,r){return this.http.get(`/${t}/api/Search/${r}`)}static#e=this.\\u0275fac=function(r){return new(r||e)(H(vb))};static#t=this.\\u0275prov=B({token:e,factory:e.\\u0275fac})}return e})(),Vh=(()=>{class e{ngOnInit(){this.radius=this.diameter/2}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-circle\"]],inputs:{diameter:\"diameter\",color:\"color\"},decls:2,vars:6,template:function(r,o){1&r&&(function vg(){W.lFrame.currentNamespace=\"svg\"}(),ne(0,\"svg\"),we(1,\"circle\"),Q()),2&r&&(en(\"width\",o.diameter)(\"height\",o.diameter),J(1),en(\"cx\",o.radius)(\"cy\",o.radius)(\"r\",o.radius)(\"fill\",o.color))},encapsulation:2})}return e})();function X2(e,n){1&e&&(ne(0,\"div\",3)(1,\"div\",4),we(2,\"app-circle\",5),Q(),ne(3,\"div\",6),we(4,\"app-circle\",7),Q(),ne(5,\"div\",8),we(6,\"app-circle\",9),Q()())}let J2=(()=>{class e{constructor(){this.filterSelected=new Be,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=$n({type:e,selectors:[[\"app-filter-item\"]],inputs:{item:\"item\",isActive:\"isActive\",isBlocking:\"isBlocking\",isTabIndexSet:\"isTabIndexSet\"},outputs:{filterSelected:\"filterSelected\"},decls:6,vars:5,consts:[[\"class\",\"search-filter__active-filter-icon\",4,\"ngIf\"],[3,\"title\",\"tabindex\",\"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,o){1&r&&(wt(0,X2,7,0,\"div\",0),ne(1,\"button\",1),Ye(\"click\",function(){return o.filterAdded()}),ne(2,\"span\"),Rn(3),Q(),ne(4,\"span\",2),Rn(5),Q()()),2&r&&(ue(\"ngIf\",o.isActive),J(1),Qi(\"title\",o.item.Name),Qi(\"tabindex\",o.isTabIndexSet),J(2),On(\"\",o.item.Name,\" \"),J(2),On(\"(\",o.item.Count,\")\"))},dependencies:[ls,Vh],encapsulation:2})}return e})();function ej(e,n){if(1&e&&(ne(0,\"span\",12),Rn(1),Q()),2&e){const t=$t();J(1),On(\" (\",t.activeFilter.Name,\") \")}}function tj(e,n){if(1&e){const t=function uy(){return T()}();ne(0,\"li\",13)(1,\"app-filter-item\",14),Ye(\"filterSelected\",function(o){return function ig(e){return W.lFrame.contextLView=e,e[ze]}(t),function sg(e){return W.lFrame.contextLView=null,e}($t().onFilterSelected(o))}),Q()()}if(2&e){const t=n.$implicit,r=$t();J(1),ue(\"item\",t)(\"isActive\",r.activeFilter&&r.activeFilter.Name===t.Name)(\"isBlocking\",r.isBlocking)(\"isTabIndexSet\",r.hidingSublist?-1:0)}}const nj=function(e){return{\"show-by-height\":e}};let ij=(()=>{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)(x(Fs),x(Lh))};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-filter-group\"]],hostBindings:function(r,o){1&r&&Ye(\"resize\",function(){return o.onResize()},0,tv)},inputs:{filterGroup:\"filterGroup\",isBlocking:\"isBlocking\",totalHit:\"totalHit\"},decls:14,vars:9,consts:[[1,\"search-filter__filter-types__item-header\",\"border-0\",\"bg-transparent\",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\",\"isTabIndexSet\",\"filterSelected\"]],template:function(r,o){1&r&&(ne(0,\"button\",0),Ye(\"click\",function(){return o.toggleSubList()}),ne(1,\"div\",1)(2,\"div\",2),we(3,\"app-circle\",3),Q(),ne(4,\"div\",4),we(5,\"app-circle\",5),Q()(),ne(6,\"h4\",6)(7,\"span\"),Rn(8),Q(),wt(9,ej,2,1,\"span\",7),Q()(),we(10,\"div\",8)(11,\"div\",9),ne(12,\"ul\",10),wt(13,tj,2,4,\"li\",11),Q()),2&r&&(J(3),ue(\"color\",o.getFilterHeaderColor()),J(2),ue(\"color\",o.getFilterHeaderColor()),J(1),Qi(\"title\",o.filterGroup.Name),J(2),Ka(o.filterGroup.Name),J(1),ue(\"ngIf\",o.hasActiveFilter),J(3),ue(\"ngClass\",BD(7,nj,!o.hidingSublist)),J(1),ue(\"ngForOf\",o.filterGroup.Items))},dependencies:[wC,Su,ls,J2,Vh],encapsulation:2})}return e})();function sj(e,n){if(1&e&&(ne(0,\"li\",3),we(1,\"app-filter-group\",4),Q()),2&e){const t=n.$implicit,r=$t();J(1),ue(\"filterGroup\",t)(\"totalHit\",r.totalHit)(\"isBlocking\",r.isBlocking)}}let aj=(()=>{class e{constructor(){this.filters=[],this.isBlocking=!1}static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-search-filter\"]],inputs:{filters:\"filters\",totalHit:\"totalHit\",isBlocking:\"isBlocking\"},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,o){1&r&&(ne(0,\"div\",0)(1,\"ul\",1),wt(2,sj,2,3,\"li\",2),Q()()),2&r&&(J(2),ue(\"ngForOf\",o.filters))},dependencies:[Su,ij],encapsulation:2})}return e})();var si=function(e){return e.PAGE=\"Page\",e.FILE=\"File\",e.CALENDAR=\"CalendarItemPage\",e.EMPLOYEE=\"Employee\",e.MANUAL_EMPLOYEE=\"EmployeePage\",e}(si||{});function uj(e,n){if(1&e&&(ne(0,\"div\",14),we(1,\"img\",15),Q()),2&e){const t=$t(3);J(1),ue(\"src\",t.getImageResizeUrl(),xr)}}function lj(e,n){if(1&e&&(ne(0,\"div\",4)(1,\"div\",5)(2,\"div\",6)(3,\"div\",7)(4,\"a\",8)(5,\"h3\",9),we(6,\"span\",10),Q()(),ne(7,\"div\",11)(8,\"span\"),Rn(9),Q()()()(),we(10,\"p\",12),Q(),wt(11,uj,2,1,\"div\",13),Q()),2&e){const t=$t(2);J(4),ue(\"href\",t.hit.Url,xr),J(2),ue(\"innerHtml\",t.hit.Title,Sn),J(3),On(\" \",t.getPublishDate(),\" \"),J(1),ue(\"innerHtml\",t.hit.Excerpt,Sn),J(1),ue(\"ngIf\",t.hit.ImageUri)}}function cj(e,n){if(1&e&&(ne(0,\"div\",16)(1,\"div\",5)(2,\"div\",6)(3,\"div\",17),we(4,\"i\",18),Q(),ne(5,\"div\",7)(6,\"a\",8)(7,\"h3\",9),we(8,\"span\",10),Q()(),ne(9,\"div\",11)(10,\"span\"),Rn(11),Q()()()(),we(12,\"p\",12),Q()()),2&e){const t=$t(2);J(4),xy(\"icon-os-\"+t.fileType(t.hit.FileExtension)),J(2),ue(\"href\",t.hit.Url,xr),J(2),ue(\"innerHtml\",t.hit.Title,Sn),J(3),On(\" \",t.getPublishDate(),\" \"),J(1),ue(\"innerHtml\",t.hit.Excerpt,Sn)}}function dj(e,n){if(1&e&&(ne(0,\"div\",16)(1,\"div\",5)(2,\"div\",6)(3,\"div\",17),we(4,\"i\",19),Q(),ne(5,\"div\",7)(6,\"a\",8)(7,\"h3\",9),we(8,\"span\",10),Q()(),ne(9,\"div\",11)(10,\"span\"),Rn(11),Q()()()(),we(12,\"p\",12),Q()()),2&e){const t=$t(2);J(6),ue(\"href\",t.hit.Url,xr),J(2),ue(\"innerHtml\",t.hit.Title,Sn),J(3),On(\" \",t.getPublishDate(),\" \"),J(1),ue(\"innerHtml\",t.hit.Excerpt,Sn)}}function fj(e,n){if(1&e&&(wt(0,lj,12,5,\"div\",2),wt(1,cj,13,6,\"div\",3),wt(2,dj,13,4,\"div\",3)),2&e){const t=$t();ue(\"ngIf\",t.isPage()),J(1),ue(\"ngIf\",t.isFile()),J(1),ue(\"ngIf\",t.isCalendarItem())}}function hj(e,n){if(1&e&&(ne(0,\"div\",11)(1,\"span\"),Rn(2),Q(),we(3,\"span\",22),Q()),2&e){const t=$t(2);J(2),On(\"\",t.emailText,\": \"),J(1),ue(\"innerHtml\",t.hit.MetaData.Email.StringValue,Sn)}}function pj(e,n){if(1&e&&(ne(0,\"a\",8)(1,\"div\",16)(2,\"div\",5)(3,\"div\",6)(4,\"div\",20)(5,\"h3\",9),we(6,\"span\",10),Q(),wt(7,hj,4,2,\"div\",21),Q()()()()()),2&e){const t=$t();ue(\"href\",\"mailto: \"+t.hit.MetaData.Email.StringValue,xr),J(6),ue(\"innerHtml\",t.hit.MetaData.Name.StringValue,Sn),J(1),ue(\"ngIf\",t.hit.MetaData.Email.StringValue)}}const Lb=\"generic\";let yj=(()=>{class e{constructor(t){this.utilityService=t}ngOnInit(){this.emailText=this.utilityService.epiImport.emailText}getPublishDate(){if(this.hit&&this.hit.PublishDate){const t=this.hit.PublishDate,{todayText:r,yesterdayText:o}=this.utilityService.epiImport,i=new Date(t),s=new Date,a=new Date;return a.setDate(s.getDate()-1),this.utilityService.isEqualDate(i,s)?r+\" \"+this.utilityService.formatDate(t,\"HH:mm\"):this.utilityService.isEqualDate(i,a)?o+\" \"+this.utilityService.formatDate(t,\"HH:mm\"):this.utilityService.formatDate(t,\"dd.MM.yy\")}return\"\"}getImageResizeUrl(){return this.hit&&this.hit.ImageUri?`${this.hit.ImageUri}?w=120&h=80&mode=crop`:\"\"}isPage(){return this.hit.TypeName===si.PAGE}isFile(){return this.hit.TypeName===si.FILE}isCalendarItem(){return this.hit.TypeName===si.CALENDAR}isEmployee(){return this.hit.TypeName===si.EMPLOYEE||this.hit.TypeName===si.MANUAL_EMPLOYEE}fileType(t){return null==t?Lb:(t=t.toLowerCase(),\".pdf.doc.dot.docx.docm.dotx.dotm.docb.xls.xlw.xlt\\n .xlsx.xlsm.xltx.xltm.xlsb.xla.xlam.xll.ppt.pps.pot.pptx.pptm.potx.potm.ppam\\n .ppsx.ppsm.sldx.sldm.gif.png.bmp.jpg.jpe.jpeg.svg.ico.apng.tif.tiff.xml.xps\\n .csv.txt.html.htm.rtf.zip.mp3.wav.flac.one.onetoc2.notebook.cdf.esb.\".indexOf(\".\"+t+\".\")<0?Lb:t)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(Fs))};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-search-hit\"]],inputs:{hit:\"hit\"},decls:3,vars:2,consts:[[3,\"ngIf\",\"ngIfElse\"],[\"employee\",\"\"],[\"class\",\"resultlist__list-item resultlist__list-item__with-image divider__btm-border__light-gray\",4,\"ngIf\"],[\"class\",\"resultlist__list-item divider__btm-border__light-gray\",4,\"ngIf\"],[1,\"resultlist__list-item\",\"resultlist__list-item__with-image\",\"divider__btm-border__light-gray\"],[1,\"resultlist__list-item__non-image\"],[1,\"resultlist__list-item__title\"],[1,\"resultlist__list-item__title__container\"],[3,\"href\"],[1,\"resultlist__list-item__title--main-header\"],[3,\"innerHtml\"],[1,\"resultlist__list-item__title--sub-header\"],[1,\"resultlist__list-item__content\",3,\"innerHtml\"],[\"class\",\"resultlist__list-item__image\",4,\"ngIf\"],[1,\"resultlist__list-item__image\"],[\"data-slimmage\",\"true\",3,\"src\"],[1,\"resultlist__list-item\",\"divider__btm-border__light-gray\"],[1,\"resultlist__list-item__type-icon\"],[\"aria-hidden\",\"true\"],[\"aria-hidden\",\"true\",1,\"icon-os-calendar\"],[1,\"resultlist__list-item__title__container\",\"resultlist__list-item__title__container--employee\"],[\"class\",\"resultlist__list-item__title--sub-header\",4,\"ngIf\"],[1,\"underline\",3,\"innerHtml\"]],template:function(r,o){if(1&r&&(wt(0,fj,3,3,\"ng-template\",0),wt(1,pj,8,3,\"ng-template\",null,1,u_)),2&r){const i=function oy(e){return function io(e,n){return e[n]}(function HS(){return W.lFrame.contextLView}(),ae+e)}(2);ue(\"ngIf\",!o.isEmployee())(\"ngIfElse\",i)}},dependencies:[ls],encapsulation:2})}return e})();const Dj=[\"resultList\"],_j=[\"searchInput\"];function Cj(e,n){if(1&e&&we(0,\"app-search-filter\",26),2&e){const t=$t();ue(\"filters\",t.availableFilters)(\"totalHit\",t.allFilterCount)(\"isBlocking\",t.isSearching)}}function wj(e,n){if(1&e&&(ne(0,\"li\"),we(1,\"app-search-hit\",27),Q()),2&e){const t=n.$implicit;J(1),ue(\"hit\",t)}}function Ej(e,n){1&e&&(ne(0,\"div\",28),we(1,\"img\",29),Q())}const bj=function(){return{standalone:!0}},Nj=[{path:\"**\",component:(()=>{class e{constructor(t,r,o,i,s,a){this.utilityService=t,this.searchService=r,this.filterService=o,this.route=i,this.router=s,this.renderer=a,this.totalMatching=0,this.isInitialLoadingFilter=!0,this.page=1,this.loadingMoreResults=!1,this.searchResults={TotalMatching:0,Hits:[]},this.availableFilters=[],this.isSearching=!1,this.hasFacet=!1}ngOnInit(){const t=this.utilityService.epiImport;this.searchPlaceholder=t.searchPlaceholder,this.language=t.language,this.searchQuery=this.utilityService.sanitarize(this.route.snapshot.queryParams.q),this.setSearchString(),this.hitstoretrive=10*this.page,this.selectedFilterChangedSub=this.filterService.onSelectedFiltersChanged.subscribe(()=>{const r={};this.filterService.selectedFilters.forEach(i=>{r[i.FilterGroupId]=i.Id});const o=this.route.snapshot.queryParams;o.hitstoretrive&&(r.hitstoretrive=o.hitstoretrive),this.searchQuery&&\"\"!==this.searchQuery&&(r.q=this.searchQuery),this.isInitialLoadingFilter||this.updateQueryParams(r)}),this.router.events.subscribe(r=>{r instanceof xE&&(this.search(),this.triggerLoadMore())})}ngAfterViewInit(){const r=this.utilityService.epiImport.defaultContentTypeFilter;r&&(this.facet=r,this.hasFacet=!0,this.updateQueryParams({},!0)),this.searchQuery=this.utilityService.sanitarize(this.route.snapshot.queryParams.q),this.setSearchString(),this.renderer.selectRootElement(this.searchInput.nativeElement).focus(),this.search()}ngOnDestroy(){this.selectedFilterChangedSub&&this.selectedFilterChangedSub.unsubscribe()}setSearchString(){this.searchQuery.length>70&&(this.searchQuery=this.searchQuery.substring(0,70))}search(){this.isSearching=!0,this.searchService.search(this.language,window.location.search).subscribe({next:t=>this.onSearchResultComplete(t),error:this.onError})}getSearchResultText(){const{searchNoTermNoFilter:t,searchWithTermNoFilter:r,searchNoTermWithFilter:o,searchWithTermAndFilter:i}=this.utilityService.epiImport;this.searchResultText=this.searchQuery||this.filtersReadable?this.searchQuery&&!this.filtersReadable?r:!this.searchQuery&&this.filtersReadable?o:i:t,this.searchResultText=this.searchResultText.replace(\"{{searchQuery}}\",this.searchQuery),this.searchResultText=this.searchResultText.replace(\"{{filtersReadable}}\",this.filtersReadable),this.searchResultText=this.searchResultText.replace(\"{{totalMatching}}\",`${this.totalMatching}`)}updateQueryParams(t,r=!1){let o=t;this.hasFacet&&(o={...t,type:this.facet,facetsfor:this.facet}),this.router.navigate([],{queryParams:o,queryParamsHandling:r?\"merge\":\"\"})}loadMoreHits(){this.loadingMoreResults=!0,this.page++,this.hitstoretrive=this.page*this.searchResults.PageSize,this.updateQueryParams({hitstoretrive:`${this.hitstoretrive}`},!0)}startSearch(){this.searchQuery=this.utilityService.sanitarize(this.searchQuery),this.setSearchString(),this.searchQuery!==this.route.snapshot.queryParams.q&&this.updateQueryParams({q:this.searchQuery},!0)}onScroll(){this.triggerLoadMore()}triggerLoadMore(){if(this.resultList&&this.searchResults&&this.hitstoretrive=t.top+.75*t.height&&this.loadMoreHits()}}onSearchResultComplete(t){this.searchResults=t,this.totalMatching=t.TotalMatching,this.filtersReadable=this.filterService.filtersReadable2(),this.getSearchResultText();const r=t.Filters;let o=[];r.length>0&&o.push({...r[0],Name:\"Filter\"}),r.length>1&&(o=o.concat(r.splice(1,r.length))),this.filterService.availableFilters=o,this.availableFilters=o,this.isInitialLoadingFilter&&(this.updateFilterService(o),this.isInitialLoadingFilter=!1),this.loadingMoreResults=!1,this.isSearching=!1}onError(){console.log(\"Could not fetch the data\")}updateFilterService(t){const r=this.route.snapshot.queryParams,o=[];t.forEach(i=>{const s=r[i.Id];if(s){const a=i.Items.filter(u=>u.Id===s)[0];a&&o.push(a)}}),this.filterService.setSelectedFilters(o)}static#e=this.\\u0275fac=function(r){return new(r||e)(x(Fs),x(Rb),x(Lh),x(zr),x(zt),x(Mn))};static#t=this.\\u0275cmp=$n({type:e,selectors:[[\"app-search-page\"]],viewQuery:function(r,o){if(1&r&&(Bd(Dj,5),Bd(_j,5)),2&r){let i;ou(i=iu())&&(o.resultList=i.first),ou(i=iu())&&(o.searchInput=i.first)}},hostBindings:function(r,o){1&r&&Ye(\"scroll\",function(){return o.onScroll()},0,nv)},decls:29,vars:9,consts:[[1,\"searchMain\"],[1,\"search__content--wrapper\"],[1,\"row\",\"no-gutters\"],[\"id\",\"search__zone--input\",1,\"col-12\",\"col-md-12\",\"col-lg-8\"],[1,\"search__input--wrapper\"],[\"role\",\"search\",1,\"input-group\",\"search__input\",3,\"ngSubmit\"],[1,\"search__input--circle-desktop\",\"d-none\",\"d-sm-none\",\"d-md-none\",\"d-lg-block\"],[\"diameter\",\"48\",\"color\",\"#6fe9ff\"],[\"hidden\",\"hidden\",\"for\",\"SearchPageInput\"],[\"id\",\"SearchPageInput\",\"type\",\"text\",\"maxlength\",\"70\",\"tabindex\",\"0\",\"aria-label\",\"S\\xf8kefelt\",1,\"form-control\",\"search__input--field\",3,\"placeholder\",\"ngModel\",\"ngModelOptions\",\"ngModelChange\"],[\"searchInput\",\"\"],[\"role\",\"button\",1,\"search__input--button\",3,\"click\"],[1,\"search__input--circle-mobile\",\"d-none\",\"d-sm-none\",\"d-md-block\",\"d-lg-none\"],[1,\"search__input--circle-mobile\",\"d-block\",\"d-sm-block\",\"d-md-none\",\"d-lg-none\"],[\"diameter\",\"36\",\"color\",\"#6fe9ff\"],[1,\"search__input--icon-search\",\"icon-os-search\"],[\"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\"],[1,\"resultlist\"],[\"resultList\",\"\"],[\"aria-live\",\"assertive\",\"aria-atomic\",\"true\",1,\"resultlist--description\"],[3,\"innerHTML\"],[1,\"d-block\",\"d-sm-block\",\"d-md-block\",\"d-lg-none\",\"divider__btm-border__cyan\"],[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,o){1&r&&(ne(0,\"div\",0)(1,\"div\",1)(2,\"div\",2)(3,\"div\",3)(4,\"div\",4)(5,\"form\",5),Ye(\"ngSubmit\",function(){return o.startSearch()}),ne(6,\"div\",6),we(7,\"app-circle\",7),Q(),ne(8,\"label\",8),Rn(9),Q(),ne(10,\"input\",9,10),Ye(\"ngModelChange\",function(s){return o.searchQuery=s}),Q(),ne(12,\"div\",11),Ye(\"click\",function(){return o.startSearch()}),ne(13,\"div\",12),we(14,\"app-circle\",7),Q(),ne(15,\"div\",13),we(16,\"app-circle\",14),Q(),we(17,\"i\",15),Q()()()(),ne(18,\"div\",16),wt(19,Cj,1,3,\"app-search-filter\",17),Q(),ne(20,\"div\",18)(21,\"div\",19,20)(23,\"div\",21),we(24,\"span\",22)(25,\"div\",23),Q(),ne(26,\"ul\"),wt(27,wj,2,1,\"li\",24),Q()()()(),wt(28,Ej,2,0,\"div\",25),Q()()),2&r&&(J(9),Ka(o.searchPlaceholder),J(1),ue(\"placeholder\",o.searchPlaceholder)(\"ngModel\",o.searchQuery)(\"ngModelOptions\",function HD(e,n,t){const r=Dt()+e,o=T();return o[r]===X?Tn(o,r,t?n.call(t):n()):function Gi(e,n){return e[n]}(o,r)}(8,bj)),J(9),ue(\"ngIf\",!o.isInitialLoadingFilter),J(5),ue(\"innerHTML\",o.searchResultText,Sn),J(3),ue(\"ngForOf\",o.searchResults.Hits),J(1),ue(\"ngIf\",o.loadingMoreResults||o.isInitialLoadingFilter))},dependencies:[Su,ls,Bw,xu,Sw,Mw,rh,Yf,Bu,aj,yj,Vh],encapsulation:2})}return e})()}];let Rj=(()=>{class e{static#e=this.\\u0275fac=function(r){return new(r||e)};static#t=this.\\u0275mod=_n({type:e,bootstrap:[U2]});static#n=this.\\u0275inj=sn({providers:[Fs,Lh,Rb],imports:[RF,$k,a2.forRoot(Nj),L2]})}return e})();xF().bootstrapModule(Rj,{providers:[{provide:pn,useValue:\"no-NO\"}]}).catch(e=>console.error(e))},6506:(g,w,d)=>{var v=d(8745)(d(8492),\"DataView\");g.exports=v},9618:(g,w,d)=>{var h=d(5602),m=d(1499),v=d(2990),_=d(480),D=d(4469);function C(E){var M=-1,P=null==E?0:E.length;for(this.clear();++M{var h=d(9365),m=d(9343),v=d(4779),_=d(1509),D=d(7137);function C(E){var M=-1,P=null==E?0:E.length;for(this.clear();++M{var v=d(8745)(d(8492),\"Map\");g.exports=v},1811:(g,w,d)=>{var h=d(3413),m=d(5419),v=d(7253),_=d(1115),D=d(6648);function C(E){var M=-1,P=null==E?0:E.length;for(this.clear();++M{var v=d(8745)(d(8492),\"Promise\");g.exports=v},1732:(g,w,d)=>{var v=d(8745)(d(8492),\"Set\");g.exports=v},5960:(g,w,d)=>{var h=d(1811),m=d(6151),v=d(2154);function _(D){var C=-1,E=null==D?0:D.length;for(this.__data__=new h;++C{var h=d(3597),m=d(9488),v=d(5943),_=d(5456),D=d(4793),C=d(8689);function E(M){var P=this.__data__=new h(M);this.size=P.size}E.prototype.clear=m,E.prototype.delete=v,E.prototype.get=_,E.prototype.has=D,E.prototype.set=C,g.exports=E},1763:(g,w,d)=>{var h=d(8492);g.exports=h.Symbol},2760:(g,w,d)=>{var h=d(8492);g.exports=h.Uint8Array},6413:(g,w,d)=>{var v=d(8745)(d(8492),\"WeakMap\");g.exports=v},7772:g=>{g.exports=function w(d,h){for(var m=-1,v=null==d?0:d.length;++m{g.exports=function w(d,h){for(var m=-1,v=null==d?0:d.length,_=0,D=[];++m{var h=d(5025),m=d(1955),v=d(2261),_=d(7525),D=d(5188),C=d(4868),M=Object.prototype.hasOwnProperty;g.exports=function P(O,$){var j=v(O),te=!j&&m(O),le=!j&&!te&&_(O),Ge=!j&&!te&&!le&&C(O),_e=j||te||le||Ge,ie=_e?h(O.length,String):[],ce=ie.length;for(var de in O)($||M.call(O,de))&&(!_e||!(\"length\"==de||le&&(\"offset\"==de||\"parent\"==de)||Ge&&(\"buffer\"==de||\"byteLength\"==de||\"byteOffset\"==de)||D(de,ce)))&&ie.push(de);return ie}},3880:g=>{g.exports=function w(d,h){for(var m=-1,v=null==d?0:d.length,_=Array(v);++m{g.exports=function w(d,h){for(var m=-1,v=h.length,_=d.length;++m{g.exports=function w(d,h){for(var m=-1,v=null==d?0:d.length;++m{var h=d(7826);g.exports=function m(v,_){for(var D=v.length;D--;)if(h(v[D][0],_))return D;return-1}},5103:(g,w,d)=>{var h=d(7794),v=d(9386)(h);g.exports=v},4051:g=>{g.exports=function w(d,h,m,v){for(var _=d.length,D=m+(v?1:-1);v?D--:++D<_;)if(h(d[D],D,d))return D;return-1}},6483:(g,w,d)=>{var m=d(2086)();g.exports=m},7794:(g,w,d)=>{var h=d(6483),m=d(4614);g.exports=function v(_,D){return _&&h(_,D,m)}},2202:(g,w,d)=>{var h=d(4826),m=d(8916);g.exports=function v(_,D){for(var C=0,E=(D=h(D,_)).length;null!=_&&C{var h=d(7853),m=d(2261);g.exports=function v(_,D,C){var E=D(_);return m(_)?E:h(E,C(_))}},4590:(g,w,d)=>{var h=d(1763),m=d(5933),v=d(9243),C=h?h.toStringTag:void 0;g.exports=function E(M){return null==M?void 0===M?\"[object Undefined]\":\"[object Null]\":C&&C in Object(M)?m(M):v(M)}},3274:g=>{g.exports=function w(d,h){return null!=d&&h in Object(d)}},3022:(g,w,d)=>{var h=d(4590),m=d(3714);g.exports=function _(D){return m(D)&&\"[object Arguments]\"==h(D)}},7108:(g,w,d)=>{var h=d(7946),m=d(3714);g.exports=function v(_,D,C,E,M){return _===D||(null==_||null==D||!m(_)&&!m(D)?_!=_&&D!=D:h(_,D,C,E,v,M))}},7946:(g,w,d)=>{var h=d(1339),m=d(7469),v=d(1642),_=d(9462),D=d(2472),C=d(2261),E=d(7525),M=d(4868),O=\"[object Arguments]\",$=\"[object Array]\",j=\"[object Object]\",le=Object.prototype.hasOwnProperty;g.exports=function Ge(_e,ie,ce,de,Ve,fe){var je=C(_e),pe=C(ie),he=je?$:D(_e),it=pe?$:D(ie),rt=(he=he==O?j:he)==j,Xe=(it=it==O?j:it)==j,ge=he==it;if(ge&&E(_e)){if(!E(ie))return!1;je=!0,rt=!1}if(ge&&!rt)return fe||(fe=new h),je||M(_e)?m(_e,ie,ce,de,Ve,fe):v(_e,ie,he,ce,de,Ve,fe);if(!(1&ce)){var Wt=rt&&le.call(_e,\"__wrapped__\"),ye=Xe&&le.call(ie,\"__wrapped__\");if(Wt||ye){var Zr=Wt?_e.value():_e,Qr=ye?ie.value():ie;return fe||(fe=new h),Ve(Zr,Qr,ce,de,fe)}}return!!ge&&(fe||(fe=new h),_(_e,ie,ce,de,Ve,fe))}},2527:(g,w,d)=>{var h=d(1339),m=d(7108);g.exports=function D(C,E,M,P){var O=M.length,$=O,j=!P;if(null==C)return!$;for(C=Object(C);O--;){var te=M[O];if(j&&te[2]?te[1]!==C[te[0]]:!(te[0]in C))return!1}for(;++O<$;){var le=(te=M[O])[0],Ge=C[le],_e=te[1];if(j&&te[2]){if(void 0===Ge&&!(le in C))return!1}else{var ie=new h;if(P)var ce=P(Ge,_e,le,C,E,ie);if(!(void 0===ce?m(_e,Ge,3,P,ie):ce))return!1}}return!0}},1082:(g,w,d)=>{var h=d(6861),m=d(9950),v=d(9794),_=d(7075),C=/^\\[object .+?Constructor\\]$/,$=RegExp(\"^\"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");g.exports=function j(te){return!(!v(te)||m(te))&&(h(te)?$:C).test(_(te))}},8902:(g,w,d)=>{var h=d(4590),m=d(7765),v=d(3714),ge={};ge[\"[object Float32Array]\"]=ge[\"[object Float64Array]\"]=ge[\"[object Int8Array]\"]=ge[\"[object Int16Array]\"]=ge[\"[object Int32Array]\"]=ge[\"[object Uint8Array]\"]=ge[\"[object Uint8ClampedArray]\"]=ge[\"[object Uint16Array]\"]=ge[\"[object Uint32Array]\"]=!0,ge[\"[object Arguments]\"]=ge[\"[object Array]\"]=ge[\"[object ArrayBuffer]\"]=ge[\"[object Boolean]\"]=ge[\"[object DataView]\"]=ge[\"[object Date]\"]=ge[\"[object Error]\"]=ge[\"[object Function]\"]=ge[\"[object Map]\"]=ge[\"[object Number]\"]=ge[\"[object Object]\"]=ge[\"[object RegExp]\"]=ge[\"[object Set]\"]=ge[\"[object String]\"]=ge[\"[object WeakMap]\"]=!1,g.exports=function Wt(ye){return v(ye)&&m(ye.length)&&!!ge[h(ye)]}},1627:(g,w,d)=>{var h=d(2924),m=d(8526),v=d(5657),_=d(2261),D=d(2692);g.exports=function C(E){return\"function\"==typeof E?E:null==E?v:\"object\"==typeof E?_(E)?m(E[0],E[1]):h(E):D(E)}},190:(g,w,d)=>{var h=d(6587),m=d(366),_=Object.prototype.hasOwnProperty;g.exports=function D(C){if(!h(C))return m(C);var E=[];for(var M in Object(C))_.call(C,M)&&\"constructor\"!=M&&E.push(M);return E}},2924:(g,w,d)=>{var h=d(2527),m=d(7895),v=d(2265);g.exports=function _(D){var C=m(D);return 1==C.length&&C[0][2]?v(C[0][0],C[0][1]):function(E){return E===D||h(E,D,C)}}},8526:(g,w,d)=>{var h=d(7108),m=d(5440),v=d(2494),_=d(6300),D=d(3921),C=d(2265),E=d(8916);g.exports=function O($,j){return _($)&&D(j)?C(E($),j):function(te){var le=m(te,$);return void 0===le&&le===j?v(te,$):h(j,le,3)}}},3400:g=>{g.exports=function w(d){return function(h){return h?.[d]}}},6443:(g,w,d)=>{var h=d(2202);g.exports=function m(v){return function(_){return h(_,v)}}},1102:(g,w,d)=>{var h=d(4205),m=d(5188),_=Array.prototype.splice;g.exports=function D(C,E){for(var M=C?E.length:0,P=M-1;M--;){var O=E[M];if(M==P||O!==$){var $=O;m(O)?_.call(C,O,1):h(C,O)}}return C}},2037:g=>{g.exports=function w(d,h,m){var v=-1,_=d.length;h<0&&(h=-h>_?0:_+h),(m=m>_?_:m)<0&&(m+=_),_=h>m?0:m-h>>>0,h>>>=0;for(var D=Array(_);++v<_;)D[v]=d[v+h];return D}},5025:g=>{g.exports=function w(d,h){for(var m=-1,v=Array(d);++m{var h=d(1763),m=d(3880),v=d(2261),_=d(3423),C=h?h.prototype:void 0,E=C?C.toString:void 0;g.exports=function M(P){if(\"string\"==typeof P)return P;if(v(P))return m(P,M)+\"\";if(_(P))return E?E.call(P):\"\";var O=P+\"\";return\"0\"==O&&1/P==-1/0?\"-0\":O}},9484:(g,w,d)=>{var h=d(1781),m=/^\\s+/;g.exports=function v(_){return _&&_.slice(0,h(_)+1).replace(m,\"\")}},5249:g=>{g.exports=function w(d){return function(h){return d(h)}}},4205:(g,w,d)=>{var h=d(4826),m=d(2819),v=d(9247),_=d(8916);g.exports=function D(C,E){return E=h(E,C),null==(C=v(C,E))||delete C[_(m(E))]}},4795:g=>{g.exports=function w(d,h){return d.has(h)}},4655:(g,w,d)=>{var h=d(5657);g.exports=function m(v){return\"function\"==typeof v?v:h}},4826:(g,w,d)=>{var h=d(2261),m=d(6300),v=d(163),_=d(2674);g.exports=function D(C,E){return h(C)?C:m(C,E)?[C]:v(_(C))}},6189:(g,w,d)=>{var h=d(8492);g.exports=h[\"__core-js_shared__\"]},9386:(g,w,d)=>{var h=d(2447);g.exports=function m(v,_){return function(D,C){if(null==D)return D;if(!h(D))return v(D,C);for(var E=D.length,M=_?E:-1,P=Object(D);(_?M--:++M{g.exports=function w(d){return function(h,m,v){for(var _=-1,D=Object(h),C=v(h),E=C.length;E--;){var M=C[d?E:++_];if(!1===m(D[M],M,D))break}return h}}},6738:(g,w,d)=>{var h=d(1627),m=d(2447),v=d(4614);g.exports=function _(D){return function(C,E,M){var P=Object(C);if(!m(C)){var O=h(E,3);C=v(C),E=function(j){return O(P[j],j,P)}}var $=D(C,E,M);return $>-1?P[O?C[$]:$]:void 0}}},7469:(g,w,d)=>{var h=d(5960),m=d(5916),v=d(4795);g.exports=function C(E,M,P,O,$,j){var te=1&P,le=E.length,Ge=M.length;if(le!=Ge&&!(te&&Ge>le))return!1;var _e=j.get(E),ie=j.get(M);if(_e&&ie)return _e==M&&ie==E;var ce=-1,de=!0,Ve=2&P?new h:void 0;for(j.set(E,M),j.set(M,E);++ce{var h=d(1763),m=d(2760),v=d(7826),_=d(7469),D=d(1575),C=d(8e3),Ve=h?h.prototype:void 0,fe=Ve?Ve.valueOf:void 0;g.exports=function je(pe,he,it,rt,Xe,ge,Wt){switch(it){case\"[object DataView]\":if(pe.byteLength!=he.byteLength||pe.byteOffset!=he.byteOffset)return!1;pe=pe.buffer,he=he.buffer;case\"[object ArrayBuffer]\":return!(pe.byteLength!=he.byteLength||!ge(new m(pe),new m(he)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return v(+pe,+he);case\"[object Error]\":return pe.name==he.name&&pe.message==he.message;case\"[object RegExp]\":case\"[object String]\":return pe==he+\"\";case\"[object Map]\":var ye=D;case\"[object Set]\":if(ye||(ye=C),pe.size!=he.size&&!(1&rt))return!1;var Qr=Wt.get(pe);if(Qr)return Qr==he;rt|=2,Wt.set(pe,he);var cl=_(ye(pe),ye(he),rt,Xe,ge,Wt);return Wt.delete(pe),cl;case\"[object Symbol]\":if(fe)return fe.call(pe)==fe.call(he)}return!1}},9462:(g,w,d)=>{var h=d(6131),_=Object.prototype.hasOwnProperty;g.exports=function D(C,E,M,P,O,$){var j=1&M,te=h(C),le=te.length;if(le!=h(E).length&&!j)return!1;for(var ie=le;ie--;){var ce=te[ie];if(!(j?ce in E:_.call(E,ce)))return!1}var de=$.get(C),Ve=$.get(E);if(de&&Ve)return de==E&&Ve==C;var fe=!0;$.set(C,E),$.set(E,C);for(var je=j;++ie{var w=\"object\"==typeof global&&global&&global.Object===Object&&global;g.exports=w},6131:(g,w,d)=>{var h=d(7427),m=d(771),v=d(4614);g.exports=function _(D){return h(D,v,m)}},4113:(g,w,d)=>{var h=d(29);g.exports=function m(v,_){var D=v.__data__;return h(_)?D[\"string\"==typeof _?\"string\":\"hash\"]:D.map}},7895:(g,w,d)=>{var h=d(3921),m=d(4614);g.exports=function v(_){for(var D=m(_),C=D.length;C--;){var E=D[C],M=_[E];D[C]=[E,M,h(M)]}return D}},8745:(g,w,d)=>{var h=d(1082),m=d(1015);g.exports=function v(_,D){var C=m(_,D);return h(C)?C:void 0}},5933:(g,w,d)=>{var h=d(1763),m=Object.prototype,v=m.hasOwnProperty,_=m.toString,D=h?h.toStringTag:void 0;g.exports=function C(E){var M=v.call(E,D),P=E[D];try{E[D]=void 0;var O=!0}catch{}var $=_.call(E);return O&&(M?E[D]=P:delete E[D]),$}},771:(g,w,d)=>{var h=d(2134),m=d(1315),_=Object.prototype.propertyIsEnumerable,D=Object.getOwnPropertySymbols;g.exports=D?function(E){return null==E?[]:(E=Object(E),h(D(E),function(M){return _.call(E,M)}))}:m},2472:(g,w,d)=>{var h=d(6506),m=d(1136),v=d(641),_=d(1732),D=d(6413),C=d(4590),E=d(7075),M=\"[object Map]\",O=\"[object Promise]\",$=\"[object Set]\",j=\"[object WeakMap]\",te=\"[object DataView]\",le=E(h),Ge=E(m),_e=E(v),ie=E(_),ce=E(D),de=C;(h&&de(new h(new ArrayBuffer(1)))!=te||m&&de(new m)!=M||v&&de(v.resolve())!=O||_&&de(new _)!=$||D&&de(new D)!=j)&&(de=function(Ve){var fe=C(Ve),je=\"[object Object]\"==fe?Ve.constructor:void 0,pe=je?E(je):\"\";if(pe)switch(pe){case le:return te;case Ge:return M;case _e:return O;case ie:return $;case ce:return j}return fe}),g.exports=de},1015:g=>{g.exports=function w(d,h){return d?.[h]}},4583:(g,w,d)=>{var h=d(4826),m=d(1955),v=d(2261),_=d(5188),D=d(7765),C=d(8916);g.exports=function E(M,P,O){for(var $=-1,j=(P=h(P,M)).length,te=!1;++${var h=d(893);g.exports=function m(){this.__data__=h?h(null):{},this.size=0}},1499:g=>{g.exports=function w(d){var h=this.has(d)&&delete this.__data__[d];return this.size-=h?1:0,h}},2990:(g,w,d)=>{var h=d(893),_=Object.prototype.hasOwnProperty;g.exports=function D(C){var E=this.__data__;if(h){var M=E[C];return\"__lodash_hash_undefined__\"===M?void 0:M}return _.call(E,C)?E[C]:void 0}},480:(g,w,d)=>{var h=d(893),v=Object.prototype.hasOwnProperty;g.exports=function _(D){var C=this.__data__;return h?void 0!==C[D]:v.call(C,D)}},4469:(g,w,d)=>{var h=d(893);g.exports=function v(_,D){var C=this.__data__;return this.size+=this.has(_)?0:1,C[_]=h&&void 0===D?\"__lodash_hash_undefined__\":D,this}},5188:g=>{var d=/^(?:0|[1-9]\\d*)$/;g.exports=function h(m,v){var _=typeof m;return!!(v=v??9007199254740991)&&(\"number\"==_||\"symbol\"!=_&&d.test(m))&&m>-1&&m%1==0&&m{var h=d(2261),m=d(3423),v=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,_=/^\\w*$/;g.exports=function D(C,E){if(h(C))return!1;var M=typeof C;return!(\"number\"!=M&&\"symbol\"!=M&&\"boolean\"!=M&&null!=C&&!m(C))||_.test(C)||!v.test(C)||null!=E&&C in Object(E)}},29:g=>{g.exports=function w(d){var h=typeof d;return\"string\"==h||\"number\"==h||\"symbol\"==h||\"boolean\"==h?\"__proto__\"!==d:null===d}},9950:(g,w,d)=>{var _,h=d(6189),m=(_=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+_:\"\";g.exports=function v(_){return!!m&&m in _}},6587:g=>{var w=Object.prototype;g.exports=function d(h){var m=h&&h.constructor;return h===(\"function\"==typeof m&&m.prototype||w)}},3921:(g,w,d)=>{var h=d(9794);g.exports=function m(v){return v==v&&!h(v)}},9365:g=>{g.exports=function w(){this.__data__=[],this.size=0}},9343:(g,w,d)=>{var h=d(4056),v=Array.prototype.splice;g.exports=function _(D){var C=this.__data__,E=h(C,D);return!(E<0||(E==C.length-1?C.pop():v.call(C,E,1),--this.size,0))}},4779:(g,w,d)=>{var h=d(4056);g.exports=function m(v){var _=this.__data__,D=h(_,v);return D<0?void 0:_[D][1]}},1509:(g,w,d)=>{var h=d(4056);g.exports=function m(v){return h(this.__data__,v)>-1}},7137:(g,w,d)=>{var h=d(4056);g.exports=function m(v,_){var D=this.__data__,C=h(D,v);return C<0?(++this.size,D.push([v,_])):D[C][1]=_,this}},3413:(g,w,d)=>{var h=d(9618),m=d(3597),v=d(1136);g.exports=function _(){this.size=0,this.__data__={hash:new h,map:new(v||m),string:new h}}},5419:(g,w,d)=>{var h=d(4113);g.exports=function m(v){var _=h(this,v).delete(v);return this.size-=_?1:0,_}},7253:(g,w,d)=>{var h=d(4113);g.exports=function m(v){return h(this,v).get(v)}},1115:(g,w,d)=>{var h=d(4113);g.exports=function m(v){return h(this,v).has(v)}},6648:(g,w,d)=>{var h=d(4113);g.exports=function m(v,_){var D=h(this,v),C=D.size;return D.set(v,_),this.size+=D.size==C?0:1,this}},1575:g=>{g.exports=function w(d){var h=-1,m=Array(d.size);return d.forEach(function(v,_){m[++h]=[_,v]}),m}},2265:g=>{g.exports=function w(d,h){return function(m){return null!=m&&m[d]===h&&(void 0!==h||d in Object(m))}}},7371:(g,w,d)=>{var h=d(7659);g.exports=function v(_){var D=h(_,function(E){return 500===C.size&&C.clear(),E}),C=D.cache;return D}},893:(g,w,d)=>{var m=d(8745)(Object,\"create\");g.exports=m},366:(g,w,d)=>{var m=d(3106)(Object.keys,Object);g.exports=m},8849:(g,w,d)=>{g=d.nmd(g);var h=d(248),m=w&&!w.nodeType&&w,v=m&&g&&!g.nodeType&&g,D=v&&v.exports===m&&h.process,C=function(){try{return v&&v.require&&v.require(\"util\").types||D&&D.binding&&D.binding(\"util\")}catch{}}();g.exports=C},9243:g=>{var d=Object.prototype.toString;g.exports=function h(m){return d.call(m)}},3106:g=>{g.exports=function w(d,h){return function(m){return d(h(m))}}},9247:(g,w,d)=>{var h=d(2202),m=d(2037);g.exports=function v(_,D){return D.length<2?_:h(_,m(D,0,-1))}},8492:(g,w,d)=>{var h=d(248),m=\"object\"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function(\"return this\")();g.exports=v},6151:g=>{g.exports=function d(h){return this.__data__.set(h,\"__lodash_hash_undefined__\"),this}},2154:g=>{g.exports=function w(d){return this.__data__.has(d)}},8e3:g=>{g.exports=function w(d){var h=-1,m=Array(d.size);return d.forEach(function(v){m[++h]=v}),m}},9488:(g,w,d)=>{var h=d(3597);g.exports=function m(){this.__data__=new h,this.size=0}},5943:g=>{g.exports=function w(d){var h=this.__data__,m=h.delete(d);return this.size=h.size,m}},5456:g=>{g.exports=function w(d){return this.__data__.get(d)}},4793:g=>{g.exports=function w(d){return this.__data__.has(d)}},8689:(g,w,d)=>{var h=d(3597),m=d(1136),v=d(1811);g.exports=function D(C,E){var M=this.__data__;if(M instanceof h){var P=M.__data__;if(!m||P.length<199)return P.push([C,E]),this.size=++M.size,this;M=this.__data__=new v(P)}return M.set(C,E),this.size=M.size,this}},163:(g,w,d)=>{var h=d(7371),m=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,v=/\\\\(\\\\)?/g,_=h(function(D){var C=[];return 46===D.charCodeAt(0)&&C.push(\"\"),D.replace(m,function(E,M,P,O){C.push(P?O.replace(v,\"$1\"):M||E)}),C});g.exports=_},8916:(g,w,d)=>{var h=d(3423);g.exports=function v(_){if(\"string\"==typeof _||h(_))return _;var D=_+\"\";return\"0\"==D&&1/_==-1/0?\"-0\":D}},7075:g=>{var d=Function.prototype.toString;g.exports=function h(m){if(null!=m){try{return d.call(m)}catch{}try{return m+\"\"}catch{}}return\"\"}},1781:g=>{var w=/\\s/;g.exports=function d(h){for(var m=h.length;m--&&w.test(h.charAt(m)););return m}},7826:g=>{g.exports=function w(d,h){return d===h||d!=d&&h!=h}},6177:(g,w,d)=>{var v=d(6738)(d(1904));g.exports=v},1904:(g,w,d)=>{var h=d(4051),m=d(1627),v=d(481),_=Math.max;g.exports=function D(C,E,M){var P=null==C?0:C.length;if(!P)return-1;var O=null==M?0:v(M);return O<0&&(O=_(P+O,0)),h(C,m(E,3),O)}},7170:(g,w,d)=>{var h=d(7772),m=d(5103),v=d(4655),_=d(2261);g.exports=function D(C,E){return(_(C)?h:m)(C,v(E))}},5440:(g,w,d)=>{var h=d(2202);g.exports=function m(v,_,D){var C=null==v?void 0:h(v,_);return void 0===C?D:C}},2494:(g,w,d)=>{var h=d(3274),m=d(4583);g.exports=function v(_,D){return null!=_&&m(_,D,h)}},5657:g=>{g.exports=function w(d){return d}},1955:(g,w,d)=>{var h=d(3022),m=d(3714),v=Object.prototype,_=v.hasOwnProperty,D=v.propertyIsEnumerable,C=h(function(){return arguments}())?h:function(E){return m(E)&&_.call(E,\"callee\")&&!D.call(E,\"callee\")};g.exports=C},2261:g=>{g.exports=Array.isArray},2447:(g,w,d)=>{var h=d(6861),m=d(7765);g.exports=function v(_){return null!=_&&m(_.length)&&!h(_)}},7525:(g,w,d)=>{g=d.nmd(g);var h=d(8492),m=d(5706),v=w&&!w.nodeType&&w,_=v&&g&&!g.nodeType&&g,C=_&&_.exports===v?h.Buffer:void 0;g.exports=(C?C.isBuffer:void 0)||m},6861:(g,w,d)=>{var h=d(4590),m=d(9794);g.exports=function E(M){if(!m(M))return!1;var P=h(M);return\"[object Function]\"==P||\"[object GeneratorFunction]\"==P||\"[object AsyncFunction]\"==P||\"[object Proxy]\"==P}},7765:g=>{g.exports=function d(h){return\"number\"==typeof h&&h>-1&&h%1==0&&h<=9007199254740991}},9794:g=>{g.exports=function w(d){var h=typeof d;return null!=d&&(\"object\"==h||\"function\"==h)}},3714:g=>{g.exports=function w(d){return null!=d&&\"object\"==typeof d}},3423:(g,w,d)=>{var h=d(4590),m=d(3714);g.exports=function _(D){return\"symbol\"==typeof D||m(D)&&\"[object Symbol]\"==h(D)}},4868:(g,w,d)=>{var h=d(8902),m=d(5249),v=d(8849),_=v&&v.isTypedArray,D=_?m(_):h;g.exports=D},4614:(g,w,d)=>{var h=d(1384),m=d(190),v=d(2447);g.exports=function _(D){return v(D)?h(D):m(D)}},2819:g=>{g.exports=function w(d){var h=null==d?0:d.length;return h?d[h-1]:void 0}},7659:(g,w,d)=>{var h=d(1811);function v(_,D){if(\"function\"!=typeof _||null!=D&&\"function\"!=typeof D)throw new TypeError(\"Expected a function\");var C=function(){var E=arguments,M=D?D.apply(this,E):E[0],P=C.cache;if(P.has(M))return P.get(M);var O=_.apply(this,E);return C.cache=P.set(M,O)||P,O};return C.cache=new(v.Cache||h),C}v.Cache=h,g.exports=v},2692:(g,w,d)=>{var h=d(3400),m=d(6443),v=d(6300),_=d(8916);g.exports=function D(C){return v(C)?h(_(C)):m(C)}},8119:(g,w,d)=>{var h=d(1627),m=d(1102);g.exports=function v(_,D){var C=[];if(!_||!_.length)return C;var E=-1,M=[],P=_.length;for(D=h(D,3);++E{g.exports=function w(){return[]}},5706:g=>{g.exports=function w(){return!1}},9292:(g,w,d)=>{var h=d(4282),m=1/0;g.exports=function _(D){return D?(D=h(D))===m||D===-m?17976931348623157e292*(D<0?-1:1):D==D?D:0:0===D?D:0}},481:(g,w,d)=>{var h=d(9292);g.exports=function m(v){var _=h(v),D=_%1;return _==_?D?_-D:_:0}},4282:(g,w,d)=>{var h=d(9484),m=d(9794),v=d(3423),D=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,E=/^0o[0-7]+$/i,M=parseInt;g.exports=function P(O){if(\"number\"==typeof O)return O;if(v(O))return NaN;if(m(O)){var $=\"function\"==typeof O.valueOf?O.valueOf():O;O=m($)?$+\"\":$}if(\"string\"!=typeof O)return 0===O?O:+O;O=h(O);var j=C.test(O);return j||E.test(O)?M(O.slice(2),j?2:8):D.test(O)?NaN:+O}},2674:(g,w,d)=>{var h=d(7002);g.exports=function m(v){return null==v?\"\":h(v)}}},g=>{g(g.s=2918)}]);"]}