PageSourceSearch

https://espace-client.sfr.fr/multi/chunk-XDQKWMTK.js

js sfr.fr collected 2026-09-24 08:36:49 UTC 266,036 bytes, 5 lines download raw bytes

vendor: 9,567 bytes, lines 1-3
1var ay=Object.defineProperty,cy=Object.defineProperties;var uy=Object.getOwnPropertyDescriptors;var Si=Object.getOwnPropertySymbols;var df=Object.prototype.hasOwnProperty,ff=Object.prototype.propertyIsEnumerable;var lf=(e,t,n)=>t in e?ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})df.call(t,n)&&lf(e,n,t[n]);if(Si)for(var n of Si(t))ff.call(t,n)&&lf(e,n,t[n]);return e},F=(e,t)=>cy(e,uy(t));var ly=(e,t)=>{var n={};for(var r in e)df.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Si)for(var r of Si(e))t.indexOf(r)<0&&ff.call(e,r)&&(n[r]=e[r]);return n};var Yn=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function M(e){return typeof e=="function"}function yc(e){return M(e?.lift)}function k(e){return t=>{if(yc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Qn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Mi=Qn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function an(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof Mi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{pf(i)}catch(s){t=t??[],s instanceof Mi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Mi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pf(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&an(n,t)}remove(t){let{_finalizers:n}=this;n&&an(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Dc=G.EMPTY;function Ni(e){return e instanceof G||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function pf(e){M(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kn={setTimeout(e,t,...n){let{delegate:r}=Kn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Kn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ri(e){Kn.setTimeout(()=>{let{onUnhandledError:t}=Be;if(t)t(e);else throw e})}function ao(){}var hf=Ec("C",void 0,void 0);function gf(e){return Ec("E",void 0,e)}function mf(e){return Ec("N",e,void 0)}function Ec(e,t,n){return{kind:e,value:t,error:n}}var cn=null;function Jn(e){if(Be.useDeprecatedSynchronousErrorHandling){let t=!cn;if(t&&(cn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=cn;if(cn=null,n)throw r}}else e()}function vf(e){Be.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}var un=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ni(t)&&t.add(this)):this.destination=py}static create(t,n,r){return new Dt(t,n,r)}next(t){this.isStopped?Ic(mf(t),this):this._next(t)}error(t){this.isStopped?Ic(gf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ic(hf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},dy=Function.prototype.bind;function Cc(e,t){return dy.call(e,t)}var wc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){xi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){xi(r)}else xi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){xi(n)}}},Dt=class extends un{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Cc(t.next,i),error:t.error&&Cc(t.error,i),complete:t.complete&&Cc(t.complete,i)}):o=t}this.destination=new wc(o)}};function xi(e){Be.useDeprecatedSynchronousErrorHandling?vf(e):Ri(e)}function fy(e){throw e}function Ic(e,t){let{onStoppedNotification:n}=Be;n&&Kn.setTimeout(()=>n(e,t))}var py={closed:!0,next:ao,error:fy,complete:ao};function A(e,t,n,r,o){return new bc(e,t,n,r,o)}var bc=class extends un{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function x(e,t){return k((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(e.call(t,i,o++))}))})}function oe(e,t){return k((n,r)=>{let o=0;n.subscribe(A(r,i=>e.call(t,i,o++)&&r.next(i)))})}var yf=function(){return yf=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},yf.apply(this,arguments)};function Ef(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Df(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ln(e){return this instanceof ln?(this.v=e,this):new ln(e)}function Cf(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(E){return new Promise(function(D,y){i.push([f,E,D,y])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){p(i[0][3],E)}}function u(f){f.value instanceof ln?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function If(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Df=="function"?Df(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Ai=e=>e&&typeof e.length=="number"&&typeof e!="function";function Oi(e){return M(e?.then)}var Xn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ye(e){return e}function _c(...e){return Tc(e)}function Tc(e){return e.length===0?ye:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var O=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=gy(n)?n:new Dt(n,r,o);return Jn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=wf(r),new r((o,i)=>{let s=new Dt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Xn](){return this}pipe(...n){return Tc(n)(this)}toPromise(n){return n=wf(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function wf(e){var t;return(t=e??Be.Promise)!==null&&t!==void 0?t:Promise}function hy(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function gy(e){return e&&e instanceof un||hy(e)&&Ni(e)}function ki(e){return M(e[Xn])}function Pi(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Fi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invali
3d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function my(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Li=my();function ji(e){return M(e?.[Li])}function Bi(e){return Cf(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ln(n.read());if(o)return yield ln(void 0);yield yield ln(r)}}finally{n.releaseLock()}})}function Ui(e){return M(e?.getReader)}function V(e){if(e instanceof O)return e;if(e!=null){if(ki(e))return vy(e);if(Ai(e))return yy(e);if(Oi(e))return Dy(e);if(Pi(e))return bf(e);if(ji(e))return Ey(e);if(Ui(e))return Cy(e)}throw Fi(e)}function vy(e){return new O(t=>{let n=e[Xn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function yy(e){return new O(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Dy(e){return new O(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ri)})}function Ey(e){return new O(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function bf(e){return new O(t=>{Iy(e,t).catch(n=>t.error(n))})}function Cy(e){return bf(Bi(e))}function Iy(e,t){var n,r,o,i;return Ef(this,void 0,void 0,function*(){try{for(n=If(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ie(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(A(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=A(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ee(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ye}function er(){return k((e,t)=>{let n=null;e._refCount++;let r=A(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var tr=class extends O{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,yc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(A(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return er()(this)}};var _f=Qn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Vi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new _f}next(n){Jn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Jn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Jn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Dc:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,an(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return e.create=(t,n)=>new Vi(t,n),e})(),Vi=class extends H{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Dc}};var te=class extends H{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var co={now(){return(co.delegate||Date).now()},delegate:void 0};var uo=class extends H{constructor(t=1/0,n=1/0,r=co){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var $i=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var lo={setInterval(e,t,...n){let{delegate:r}=lo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=lo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var nr=class extends $i{constructor(t,n){super(t,n),this.scheduler
3=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return lo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&lo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,an(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var rr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};rr.now=co.now;var or=class extends rr{constructor(t,n=rr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var wy=new or(nr),Tf=wy;var Hi=class extends nr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var zi=class extends or{};var by=new zi(Hi);var de=new O(e=>e.complete());function Gi(e){return e&&M(e.schedule)}function Sf(e){return e[e.length-1]}function qi(e){return M(Sf(e))?e.pop():void 0}function kt(e){return Gi(Sf(e))?e.pop():void 0}function _e(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function fo(e,t=0){return k((n,r)=>{n.subscribe(A(r,o=>_e(r,e,()=>r.next(o),t),()=>_e(r,e,()=>r.complete(),t),o=>_e(r,e,()=>r.error(o),t)))})}function Wi(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Mf(e,t){return V(e).pipe(Wi(t),fo(t))}function Nf(e,t){return V(e).pipe(Wi(t),fo(t))}function Rf(e,t){return new O(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function xf(e,t){return new O(n=>{let r;return _e(n,t,()=>{r=e[Li](),_e(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Zi(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{_e(n,t,()=>{let r=e[Symbol.asyncIterator]();_e(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Af(e,t){return Zi(Bi(e),t)}function Of(e,t){if(e!=null){if(ki(e))return Mf(e,t);if(Ai(e))return Rf(e,t);if(Oi(e))return Nf(e,t);if(Pi(e))return Zi(e,t);if(ji(e))return xf(e,t);if(Ui(e))return Af(e,t)}throw Fi(e)}function Q(e,t){return t?Of(e,t):V(e)}function b(...e){let t=kt(e);return Q(e,t)}function Xe(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new O(t?o=>t.schedule(r,0,o):r)}var Pt=class e{constructor(t,n,r){this.kind=t,this.value=n,this.error=r,this.hasValue=t==="N"}observe(t){return _y(this,t)}do(t,n,r){let{kind:o,value:i,error:s}=this;return o==="N"?t?.(i):o==="E"?n?.(s):r?.()}accept(t,n,r){var o;return M((o=t)===null||o===void 0?void 0:o.next)?this.observe(t):this.do(t,n,r)}toObservable(){let{kind:t,value:n,error:r}=this,o=t==="N"?b(n):t==="E"?Xe(()=>r):t==="C"?de:0;if(!o)throw new TypeError(`Unexpected notification kind ${t}`);return o}static createNext(t){return new e("N",t)}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}};Pt.completeNotification=new Pt("C");function _y(e,t){var n,r,o;let{kind:i,value:s,error:a}=e;
3if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(n=t.next)===null||n===void 0||n.call(t,s):i==="E"?(r=t.error)===null||r===void 0||r.call(t,a):(o=t.complete)===null||o===void 0||o.call(t)}function Sc(e){return!!e&&(e instanceof O||M(e.lift)&&M(e.subscribe))}var Ue=Qn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ty(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Ue)}})})}function kf(e){return e instanceof Date&&!isNaN(e)}var{isArray:Sy}=Array;function My(e,t){return Sy(t)?e(...t):e(t)}function Yi(e){return x(t=>My(e,t))}var{isArray:Ny}=Array,{getPrototypeOf:Ry,prototype:xy,keys:Ay}=Object;function Qi(e){if(e.length===1){let t=e[0];if(Ny(t))return{args:t,keys:null};if(Oy(t)){let n=Ay(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Oy(e){return e&&typeof e=="object"&&Ry(e)===xy}function Ki(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ji(...e){let t=kt(e),n=qi(e),{args:r,keys:o}=Qi(e);if(r.length===0)return Q([],t);let i=new O(ky(r,t,o?s=>Ki(o,s):ye));return n?i.pipe(Yi(n)):i}function ky(e,t,n=ye){return r=>{Pf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pf(t,()=>{let u=Q(e[c],t),l=!1;u.subscribe(A(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pf(e,t,n){e?_e(n,e,t):t()}function Ff(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;V(n(E,l++)).subscribe(A(t,y=>{o?.(y),i?f(y):t.next(y)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let y=c.shift();s?_e(t,s,()=>g(y)):g(y)}p()}catch(y){t.error(y)}}))};return e.subscribe(A(t,f,()=>{d=!0,p()})),()=>{a?.()}}function K(e,t,n=1/0){return M(t)?K((r,o)=>x((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>Ff(r,o,e,n)))}function Lf(e=1/0){return K(ye,e)}function jf(){return Lf(1)}function ir(...e){return jf()(Q(e,kt(e)))}function po(e){return new O(t=>{V(e()).subscribe(t)})}function Py(...e){let t=qi(e),{args:n,keys:r}=Qi(e),o=new O(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(A(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Ki(r,a):a),i.complete())}))}});return t?o.pipe(Yi(t)):o}function Mc(e=0,t,n=Tf){let r=-1;return t!=null&&(Gi(t)?n=t:r=t),new O(o=>{let i=kf(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Ve(e){return k((t,n)=>{let r=null,o=!1,i;r=t.subscribe(A(n,void 0,void 0,s=>{i=V(e(s,Ve(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Bf(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(A(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ft(e,t){return M(t)?K(e,t,1):K(e,1)}function Lt(e){return k((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Et(e){return e<=0?()=>de:k((t,n)=>{let r=0;t.subscribe(A(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Xi(e=Fy){return k((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Fy(){return new Ue}function et(e){return k((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ct(e,t){let n=arguments.length>=2;return r=>r.pipe(e?oe((o,i)=>e(o,i,r)):ye,Et(1),n?Lt(t):Xi(()=>new Ue))}function sr(e){return e<=0?()=>de:k((t,n)=>{let r=[];t.subscribe(A(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Nc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?oe((o,i)=>e(o,i,r)):ye,sr(1),n?Lt(t):Xi(()=>new Ue))}function Ly(){return k((e,t)=>{e.subscribe(A(t,n=>{t.next(Pt.createNext(n))},()=>{t.next(Pt.createComplete()),t.complete()},n=>{t.next(Pt.createError(n)),t.complete()}
3))})}function jy(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?ye:k((i,s)=>{let a=0,c,u=()=>{let l=!1;c=i.subscribe(A(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,u()):l=!0};if(r!=null){let f=typeof r=="number"?Mc(r):V(r(d,a)),g=A(s,()=>{g.unsubscribe(),p()},()=>{s.complete()});f.subscribe(g)}else p()}else s.error(d)})),l&&(c.unsubscribe(),c=null,u())};u()})}function Rc(e,t){return k(Bf(e,t,arguments.length>=2,!0))}function Ac(e={}){let{connector:t=()=>new H,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return k((E,D)=>{u++,!d&&!l&&p();let y=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=xc(g,o))}),y.subscribe(D),!s&&u>0&&(s=new Dt({next:U=>y.next(U),error:U=>{d=!0,p(),a=xc(f,n,U),y.error(U)},complete:()=>{l=!0,p(),a=xc(f,r),y.complete()}}),V(E).subscribe(s))})(i)}}function xc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Dt({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function By(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ac({connector:()=>new uo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ar(...e){let t=kt(e);return k((n,r)=>{(t?ir(e,n,t):ir(e,n)).subscribe(r)})}function cr(e){return k((t,n)=>{V(e).subscribe(A(n,()=>n.complete(),ao)),!n.closed&&t.subscribe(n)})}var Oc;function es(){return Oc}function tt(e){let t=Oc;return Oc=e,t}var Uf=Symbol("NotFound");function ur(e){return e===Uf||e?.name==="\u0275NotFound"}var fe=null,ts=!1,kc=1,Uy=null,se=Symbol("SIGNAL");function _(e){let t=fe;return fe=e,t}function is(){return fe}var dn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function lr(e){if(ts)throw new Error("");if(fe===null)return;fe.consumerOnSignalRead(e);let t=fe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=fe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:fe.producers,n!==void 0&&n.producer===e)){fe.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===fe&&(!r||$y(o,fe)))return;let i=pr(fe),s={producer:e,consumer:fe,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};fe.producersTail=s,t!==void 0?t.nextProducer=s:fe.producers=s,i&&zf(e,s)}function Vf(){kc++}function ss(e){if(!(pr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===kc)){if(!e.producerMustRecompute(e)&&!fr(e)){os(e);return}e.producerRecomputeValue(e),os(e)}}function Pc(e){if(e.consumers===void 0)return;let t=ts;ts=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Vy(r)}}finally{ts=t}}function Fc(){return fe?.consumerAllowSignalWrites!==!1}function Vy(e){e.dirty=!0,Pc(e),e.consumerMarkedDirty?.(e)}function os(e){e.dirty=!1,e.lastCleanEpoch=kc}function fn(e){return e&&$f(e),_(e)}function $f(e){e.producersTail=void 0,e.recomputing=!0}function dr(e,t){_(t),e&&Hf(e)}function Hf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(pr(e))do n=Lc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function fr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ss(n),r!==n.version))return!0}return!1}function pn(e){if(pr(e)){let t=e.producers;for(;t!==void 0;)t=Lc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function zf(e,t){let n=e.consumersTail,r=pr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)zf(o.producer,o)}function Lc(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)
vendor: 29,239 bytes, lines 3-4
3o.nextConsumer=r;else if(t.consumers=r,!pr(t)){let i=t.producers;for(;i!==void 0;)i=Lc(i)}return n}function pr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function as(e){Uy?.(e)}function $y(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function cs(e,t){return Object.is(e,t)}function go(e,t){let n=Object.create(Hy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ss(n),lr(n),n.value===ho)throw n.error;return n.value};return r[se]=n,as(n),r}var ns=Symbol("UNSET"),rs=Symbol("COMPUTING"),ho=Symbol("ERRORED"),Hy=F(m({},dn),{value:ns,dirty:!0,error:null,equal:cs,kind:"computed",producerMustRecompute(e){return e.value===ns||e.value===rs},producerRecomputeValue(e){if(e.value===rs)throw new Error("");let t=e.value;e.value=rs;let n=fn(e),r,o=!1;try{r=e.computation(),_(null),o=t!==ns&&t!==ho&&r!==ho&&e.equal(t,r)}catch(i){r=ho,e.error=i}finally{dr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zy(){throw new Error}var Gf=zy;function qf(e){Gf(e)}function jc(e){Gf=e}var Gy=null;function Bc(e,t){let n=Object.create(us);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Wf(n);return r[se]=n,as(n),[r,s=>hr(n,s),s=>Uc(n,s)]}function Wf(e){return lr(e),e.value}function hr(e,t){Fc()||qf(e),e.equal(e.value,t)||(e.value=t,qy(e))}function Uc(e,t){Fc()||qf(e),hr(e,t(e.value))}var us=F(m({},dn),{equal:cs,value:void 0,kind:"signal"});function qy(e){e.version++,Vf(),Pc(e),Gy?.(e)}function Zf(e){let t=_(null);try{return e()}finally{_(t)}}var Yf=F(m({},dn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Qf(e){if(e.dirty=!1,e.version>0&&!fr(e))return;e.version++;let t=fn(e);try{e.cleanup(),e.fn()}finally{dr(e,t)}}var ps="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(He(t,n)),this.code=t}};function Wy(e){return`NG0${Math.abs(e)}`}function He(e,t){return`${Wy(e)}${t?": "+t:""}`}var Eo=globalThis;function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function Xf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function wt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(wt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4`);return r>=0?n.slice(0,r):n}function hs(e,t){return e?t?`${e} ${t}`:e:t||""}var Zy=j({__forward_ref__:j});function gs(e){return e.__forward_ref__=gs,e.toString=function(){return wt(this())},e}function ae(e){return Kc(e)?e():e}function Kc(e){return typeof e=="function"&&e.hasOwnProperty(Zy)&&e.__forward_ref__===gs}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function Co(e){return Yy(e,ms)}function Jc(e){return Co(e)!==null}function Yy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Qy(e){let t=e?.[ms]??null;return t||null}function $c(e){return e&&e.hasOwnProperty(ds)?e[ds]:null}var ms=j({\u0275prov:j}),ds=j({\u0275inj:j}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xc(e){return e&&!!e.\u0275providers}var eu=j({\u0275cmp:j}),tu=j({\u0275dir:j}),nu=j({\u0275pipe:j}),ru=j({\u0275mod:j}),vo=j({\u0275fac:j}),yn=j({__NG_ELEMENT_ID__:j}),Kf=j({__NG_ENV_ID__:j});function nt(e){return typeof e=="string"?e:e==null?"":String(e)}function ep(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():nt(e)}var tp=j({ngErrorCode:j}),Ky=j({ngErrorMessage:j}),Jy=j({ngTokenPath:j});function ou(e,t){return np("",-200,t)}function vs(e,t){throw new v(-201,!1)}function np(e,t,n){let r=new v(t,e);return r[tp]=t,r[Ky]=e,n&&(r[Jy]=n),r}function Xy(e){return e[tp]}var Hc;function rp(){return Hc}function De(e){let t=Hc;return Hc=e,t}function iu(e,t,n){let r=Co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;vs(e,"Injector")}var eD={},hn=eD,tD="__NG_DI_FLAG__",zc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=gn(n)||0;try{return this.injector.get(t,r&8?null:hn,r)}catch(o){if(ur(o))return o;throw o}}};function nD(e,t=0){let n=es();if(n===void 0)throw new v(-203,!1);if(n===null)return iu(e,void 0,t);{let r=rD(t),o=n.retrieve(e,r);if(ur(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(rp()||nD)(ae(e),t)}function h(e,t){return T(e,gn(t))}function gn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Gc(e){let t=[];for(let n=0;n<e.length;n++){let r=ae(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=oD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(T(o,i))}else t.push(T(r))}return t}function oD(e){return e[tD]}function jt(e,t){let n=e.hasOwnProperty(vo);return n?e[vo]:null}function op(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function ip(e){return e.flat(Number.POSITIVE_INFINITY)}function ys(e,t){e.forEach(n=>Array.isArray(n)?ys(n,t):t(n))}function su(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ap(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ds(e,t,n){let r=mr(e,t);return r>=0?e[r|1]=n:(r=~r,ap(e,r,t,n)),r}function Es(e,t){let n=mr(e,t);if(n>=0)return e[n|1]}function mr(e,t){return iD(e,t,1)}function iD(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Vt={},pe=[],bt=new I(""),au=new I("",-1),cu=new I(""),yo=class{get(t,n=hn){if(n===hn){let o=np("",-201);throw o.name="\u0275NotFound",o}return n}};function uu(e){return e[ru]||null}function $t(e){return e[eu]||null}function lu(e){return e[tu]||null}function cp(e){return e[nu]||null}function rt(e){return{\u0275providers:e}}function up(e){return rt([{provide:bt,multi:!0,useValue:e}])}function lp(...e){return{\u0275providers:du(!0,e),\u0275fromNgModule:!0}}function du(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ys(t,s=>{let a=s;fs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&dp(o,i),n}function dp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];fu(o,i=>{t(i,r)})}}function fs(e,t,n,r){if(e=ae(e),!e)return!1;let o=null,i=$c(e),s=!i&&$t(e);if(!i&&!s){let c=e.ngModule;if(i=$c(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)fs(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{ys(i.imports,l=>{fs(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&dp(u,t)}if(!a){let u=jt(o)||(()=>new o);t({provide:o,useFactory:u,deps:pe},o),t({provide:cu,useValue:o,multi:!0},o),t({provide:bt,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;fu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function fu(e,t){for(let n of e)Xc(n)&&(n=n.\u0275providers),Array.isArray(n)?fu(n,t):t(n)}var sD=j({provide:String,useValue:j});function fp(e){return e!==null&&typeof e=="object"&&sD in e}function aD(e){return!!(e&&e.useExisting)}function cD(e){return!!(e&&e.useFactory)}function mn(e){return typeof e=="function"}function pp(e){return!!e.useClass}var wo=new I(""),ls={},Jf={},Vc;function bo(){return Vc===void 0&&(Vc=new yo),Vc}var J=class{},vn=class extends J{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Wc(t,s=>this.processProvider(s)),this.records.set(au,gr(void 0,this)),o.has("environment")&&this.records.set(J,gr(void 0,this));let i=this.records.get(wo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cu,pe,{self:!0}))}retrieve(t,n){let r=gn(n)||0;try{return this.get(t,hn,r)}catch(o){if(ur(o))return o;throw o}}destroy(){mo(this),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return mo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){mo(this);let n=tt(this),r=De(void 0),o;try{return t()}finally{tt(n),De(r)}}get(t,n=hn,r){if(mo(this),t.hasOwnProperty(Kf))return t[Kf](this);let o=gn(r),i,s=tt(this),a=De(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=pD(t)&&Co(t);l&&this.injectableDefInScope(l)?u=gr(qc(t),ls):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?bo():this.parent;return n=o&8&&n===hn?null:n,c.get(t,n)}catch(c){let u=Xy(c);throw u===-200||u===-201?new v(u,null):c}finally{De(a),tt(s)}}resolveInjectorInitializers(){let t=_(null),n=tt(this),r=De(void 0),o;try{let i=this.get(bt,pe,{self:!0});for(let s of i)s()}finally{tt(n),De(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(wt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ae(t);let n=mn(t)?t:ae(t&&t.provide),r=lD(t);if(!mn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=gr(void 0,ls,!0),o.factory=()=>Gc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=_(null);try{if(n.value===Jf)throw ou(wt(t));return n.value===ls&&(n.value=Jf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&fD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ae(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function qc(e){let t=Co(e),n=t!==null?t.factory:jt(e);if(n!==null)return n;if(e instanceof I)throw new v(204,!1);if(e instanceof Function)return uD(e);throw new v(204,!1)}function uD(e){if(e.length>0)throw new v(204,!1);let n=Qy(e);return n!==null?()=>n.factory(e):()=>new e}function lD(e){if(fp(e))return gr(void 0,e.useValue);{let t=pu(e);return gr(t,ls)}}function pu(e,t,n){let r;if(mn(e)){let o=ae(e);return jt(o)||qc(o)}else if(fp(e))r=()=>ae(e.useValue);else if(cD(e))r=()=>e.useFactory(...Gc(e.deps||[]));else if(aD(e))r=(o,i)=>T(ae(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ae(e&&(e.useClass||e.provide));if(dD(e))r=()=>new o(...Gc(e.deps));else return jt(o)||qc(o)}return r}function mo(e){if(e.destroyed)throw new v(205,!1)}function gr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dD(e){return!!e.deps}function fD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wc(e,t){for(let n of e)Array.isArray(n)?Wc(n,t):n&&Xc(n)?Wc(n.\u0275providers,t):t(n)}function ce(e,t){let n;e instanceof vn?(mo(e),n=e):n=new zc(e);let r,o=tt(n),i=De(void 0);try{return t()}finally{tt(o),De(i)}}function hp(){return rp()!==void 0||es()!=null}var ze=0,w=1,S=2,ne=3,Oe=4,Ie=5,Dn=6,vr=7,Z=8,Ht=9,ot=10,$=11,yr=12,hu=13,En=14,we=15,zt=16,Cn=17,it=18,_o=19,gu=20,It=21,Cs=22,_t=23,Se=24,In=25,wn=26,z=27,gp=1,mu=6,Gt=7,To=8,bn=9,X=10;function st(e){return Array.isArray(e)&&typeof e[gp]=="object"}function Ge(e){return Array.isArray(e)&&e[gp]===!0}function vu(e){return(e.flags&4)!==0}function qt(e){return e.componentOffset>-1}function Is(e){return(e.flags&1)===1}function at(e){return!!e.template}function Dr(e){return(e[S]&512)!==0}function _n(e){return(e[S]&256)===256}var mp="svg",vp="math";function ke(e){for(;Array.isArray(e);)e=e[ze];return e}function yu(e,t){return ke(t[e])}function qe(e,t){return ke(t[e.index])}function So(e,t){return e.data[t]}function Du(e,t){return e[t]}function Mo(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Pe(e,t){let n=t[e];return st(n)?n:n[ze]}function ws(e){return(e[S]&128)===128}function yp(e){return Ge(e[ne])}function ct(e,t){return t==null?null:e[t]}function Eu(e){e[Cn]=0}function Cu(e){e[S]&1024||(e[S]|=1024,ws(e)&&Wt(e))}function Dp(e,t){for(;e>0;)t=t[En],e--;return t}function No(e){return!!(e[S]&9216||e[Se]?.dirty)}function bs(e){e[ot].changeDetectionScheduler?.notify(8),e[S]&64&&(e[S]|=1024),No(e)&&Wt(e)}function Wt(e){e[ot].changeDetectionScheduler?.notify(0);let t=Bt(e);for(;t!==null&&!(t[S]&8192||(t[S]|=8192,!ws(t)));)t=Bt(t)}function Iu(e,t){if(_n(e))throw new v(911,!1);e[It]===null&&(e[It]=[]),e[It].push(t)}function Ep(e,t){if(e[It]===null)return;let n=e[It].indexOf(t);n!==-1&&e[It].splice(n,1)}function Bt(e){let t=e[ne];return Ge(t)?t[ne]:t}function wu(e){return e[vr]??=[]}function bu(e){return e.cleanup??=[]}function Cp(e,t,n,r){let o=wu(t);o.push(n),e.firstCreatePass&&bu(e).push(r,o.length-1)}var P={lFrame:Pp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Zc=!1;function Ip(){return P.lFrame.elementDepthCount}function wp(){P.lFrame.elementDepthCount++}function _u(){P.lFrame.elementDepthCount--}function bp(){return P.bindingsEnabled}function Tu(){return P.skipHydrationRootTNode!==null}function Su(e){return P.skipHydrationRootTNode===e}function Mu(){P.skipHydrationRootTNode=null}function N(){return P.lFrame.lView}function Y(){return P.lFrame.tView}function _s(e){return P.lFrame.contextLView=e,e[Z]}function Ts(e){return P.lFrame.contextLView=null,e}function ue(){let e=Nu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Nu(){return P.lFrame.currentTNode}function _p(){let e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Tn(e,t){let n=P.lFrame;n.currentTNode=e,n.isParent=t}function Ru(){return P.lFrame.isParent}function xu(){P.lFrame.isParent=!1}function Tp(){return P.lFrame.contextLView}function Au(){return Zc}function Er(e){let t=Zc;return Zc=e,t}function Sp(){let e=P.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ou(){return P.lFrame.bindingIndex}function Mp(e){return P.lFrame.bindingIndex=e}function Sn(){return P.lFrame.bindingIndex++}function Ro(e){let t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Np(){return P.lFrame.inI18n}function Rp(e,t){let n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ss(t)}function xp(){return P.lFrame.currentDirectiveIndex}function Ss(e){P.lFrame.currentDirectiveIndex=e}function Ap(e){let t=P.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Op(){return P.lFrame.currentQueryIndex}function Ms(e){P.lFrame.currentQueryIndex=e}function hD(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[Ie]:null}function ku(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=hD(i),o===null||(i=i[En],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=P.lFrame=kp();return r.currentTNode=t,r.lView=e,!0}function Ns(e){let t=kp(),n=e[w];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function kp(){let e=P.lFrame,t=e===null?null:e.child;return t===null?Pp(e):t}function Pp(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Fp(){let e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pu=Fp;function Rs(){let e=Fp();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 Lp(e){return(P.lFrame.contextLView=Dp(e,P.lFrame.contextLView))[Z]}function Fe(){return P.lFrame.selectedIndex}function Zt(e){P.lFrame.selectedIndex=e}function xs(){let e=P.lFrame;return So(e.tView,e.selectedIndex)}function jp(){return P.lFrame.currentNamespace}var Bp=!0;function As(){return Bp}function Os(e){Bp=e}function Yc(e,t=null,n=null,r){let o=Fu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Fu(e,t=null,n=null,r,o=new Set){let i=[n||pe,lp(e)];return r=r||(typeof e=="object"?void 0:wt(e)),new vn(i,t||bo(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=hn;static NULL=new yo;static create(t,n){if(Array.isArray(t))return Yc({name:""},n,t,"");{let r=t.name??"";return Yc({name:r},t.parent,t.providers,r)}}static \u0275prov=C({token:e,providedIn:"any",factory:()=>T(au)});static __NG_ELEMENT_ID__=-1},q=new I(""),he=(()=>{class e{static __NG_ELEMENT_ID__=gD;static __NG_ENV_ID__=n=>n}return e})(),Do=class extends he{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _n(this._lView)}onDestroy(t){let n=this._lView;return Iu(n,t),()=>Ep(n,t)}};function gD(){return new Do(N())}var Ce=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ge=new I("",{providedIn:"root",factory:()=>{let e=h(J),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Ce),t.handleError(n))}}}),Up={provide:bt,useValue:()=>void h(Ce),multi:!0},mD=new I("",{providedIn:"root",factory:()=>{let e=h(q).defaultView;if(!e)return;let t=h(ge),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(he).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function vD(){return rt([up(()=>void h(mD))])}function Me(e,t){let[n,r,o]=Bc(e,t?.equal),i=n,s=i[se];return i.set=r,i.update=o,i.asReadonly=Lu.bind(i),i}function Lu(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}var Cr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=yD}return e})();function yD(){return new Cr(N(),ue())}var $e=class{},xo=new I("",{providedIn:"root",factory:()=>!1});var ju=new I(""),Bu=new I(""),ut=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new te(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ir=(()=>{class e{internalPendingTasks=h(ut);scheduler=h($e);errorHandler=h(ge);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})();function Mn(...e){}var Ao=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new Qc})}return e})(),Qc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Vo(e){return{toString:e}.toString()}function SD(e){return typeof e=="function"}var Vs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function mh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ar=(()=>{let e=()=>vh;return e.ngInherit=!0,e})();function vh(e){return e.type.prototype.ngOnChanges&&(e.setInput=ND),MD}function MD(){let e=Dh(this),t=e?.current;if(t){let n=e.previous;if(n===Vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ND(e,t,n,r,o){let i=this.declaredInputs[r],s=Dh(e)||RD(e,{previous:Vt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Vs(u&&u.currentValue,n,c===Vt),mh(e,t,o,n)}var yh="__ngSimpleChanges__";function Dh(e){return e[yh]||null}function RD(e,t){return e[yh]=t}var Vp=[];var B=function(e,t=null,n){for(let r=0;r<Vp.length;r++){let o=Vp[r];o(e,t,n)}};function xD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vh(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function AD(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Fs(e,t,n){Eh(e,t,3,n)}function Ls(e,t,n,r){(e[S]&3)===n&&Eh(e,t,n,r)}function Uu(e,t){let n=e[S];(n&3)===t&&(n&=16383,n+=1,e[S]=n)}function Eh(e,t,n,r){let o=r!==void 0?e[Cn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Cn]+=65536),(a<i||i==-1)&&(OD(e,n,t,c),e[Cn]=(e[Cn]&4294901760)+c+2),c++}function $p(e,t){B(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),B(5,e,t)}}function OD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[S]>>14<e[Cn]>>16&&(e[S]&3)===t&&(e[S]+=16384,$p(a,i)):$p(a,i)}var br=-1,Rn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function kD(e){return(e.flags&8)!==0}function PD(e){return(e.flags&16)!==0}function FD(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];LD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ch(e){return e===3||e===4||e===6}function LD(e){return e.charCodeAt(0)===64}function _r(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Hp(e,n,o,null,t[++r]):Hp(e,n,o,null,null))}}return e}function Hp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Ih(e){return e!==br}function $s(e){return e&32767}function jD(e){return e>>16}function Hs(e,t){let n=jD(e),r=t;for(;n>0;)r=r[En],n--;return r}var Qu=!0;function zs(e){let t=Qu;return Qu=e,t}var BD=256,wh=BD-1,bh=5,UD=0,lt={};function VD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yn)&&(r=n[yn]),r==null&&(r=n[yn]=UD++);let o=r&wh,i=1<<o;t.data[e+(o>>bh)]|=i}function Gs(e,t){let n=_h(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Vu(r.data,e),Vu(t,null),Vu(r.blueprint,null));let o=Sl(e,t),i=e.injectorIndex;if(Ih(o)){let s=$s(o),a=Hs(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Vu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _h(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Rh(o),r===null)return br;if(n++,o=o[En],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return br}function Ku(e,t,n){VD(e,t,n)}function $D(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Ch(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Th(e,t,n){if(n&8||e!==void 0)return e;vs(t,"NodeInjector")}function Sh(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ht],i=De(void 0);try{return o?o.get(t,r,n&8):iu(t,r,n&8)}finally{De(i)}}return Th(r,t,n)}function Mh(e,t,n,r=0,o){if(e!==null){if(t[S]&2048&&!(r&2)){let s=qD(e,t,n,r,lt);if(s!==lt)return s}let i=Nh(e,t,n,r,lt);if(i!==lt)return i}return Sh(t,n,r,o)}function Nh(e,t,n,r,o){let i=zD(n);if(typeof i=="function"){if(!ku(t,e,r))return r&1?Th(o,n,r):Sh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))vs(n);else return s}finally{Pu()}}else if(typeof i=="number"){let s=null,a=_h(e,t),c=br,u=r&1?t[we][Ie]:null;for((a===-1||r&4)&&(c=a===-1?Sl(e,t):t[a+8],c===br||!Gp(r,!1)?a=-1:(s=t[w],a=$s(c),t=Hs(c,t)));a!==-1;){let l=t[w];if(zp(i,a,l.data)){let d=HD(a,t,n,s,r,u);if(d!==lt)return d}c=t[a+8],c!==br&&Gp(r,t[w].data[a+8]===u)&&zp(i,a,t)?(s=l,a=$s(c),t=Hs(c,t)):a=-1}}return o}function HD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?qt(a)&&Qu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=js(a,s,n,c,u);return l!==null?Po(t,s,l,a,o):lt}function js(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&at(f)&&f.type===n)return c}return null}function Po(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Rn){let a=i;if(a.resolving){let f=ep(s[n]);throw ou(f)}let c=zs(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?De(a.injectImpl):null,p=ku(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&xD(n,s[n],t)}finally{d!==null&&De(d),zs(c),a.resolving=!1,Pu()}}return i}function zD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(yn)?e[yn]:void 0;return typeof t=="number"?t>=0?t&wh:GD:t}function zp(e,t,n){let r=1<<e;return!!(n[t+(e>>bh)]&r)}function Gp(e,t){return!(e&2)&&!(e&1&&t)}var Nn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Mh(this._tNode,this._lView,t,gn(r),n)}};function GD(){return new Nn(ue(),N())}function ca(e){return Vo(()=>{let t=e.prototype.constructor,n=t[vo]||Ju(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[vo]||Ju(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ju(e){return Kc(e)?()=>{let t=Ju(ae(e));return t&&t()}:jt(e)}function qD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[S]&2048&&!Dr(s);){let a=Nh(i,s,n,r|2,lt);if(a!==lt)return a;let c=i.parent;if(!c){let u=s[gu];if(u){let l=u.get(n,lt,r);if(l!==lt)return l}c=Rh(s),s=s[En]}i=c}return o}function Rh(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[Ie]:null}function $o(e){return $D(ue(),e)}function WD(){return Or(ue(),N())}function Or(e,t){return new St(qe(e,t))}var St=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=WD}return e})();function ZD(e){return e instanceof St?e.nativeElement:e}function YD(){return this._results[Symbol.iterator]()}var qs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new H}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}
4forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=ip(t);(this._changesDetected=!op(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=YD};function xh(e){return(e.flags&128)===128}var Ml=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Ml||{}),Ah=new Map,QD=0;function KD(){return QD++}function JD(e){Ah.set(e[_o],e)}function Xu(e){Ah.delete(e[_o])}var qp="__ngContext__";function Tr(e,t){st(t)?(e[qp]=t[_o],JD(t)):e[qp]=t}function Oh(e){return Ph(e[yr])}function kh(e){return Ph(e[Oe])}function Ph(e){for(;e!==null&&!Ge(e);)e=e[Oe];return e}var el;function Nl(e){el=e}function Fh(){if(el!==void 0)return el;if(typeof document<"u")return document;throw new v(210,!1)}var ua=new I("",{providedIn:"root",factory:()=>XD}),XD="ng",la=new I(""),kr=new I("",{providedIn:"platform",factory:()=>"unknown"});var da=new I("",{providedIn:"root",factory:()=>Fh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var eE="h",tE="b";var Lh="r";var jh="di";var Bh=!1,Uh=new I("",{providedIn:"root",factory:()=>Bh});var nE=(e,t,n,r)=>{};function rE(e,t,n,r){nE(e,t,n,r)}function fa(e){return(e.flags&32)===32}var oE=()=>null;function Vh(e,t,n=!1){return oE(e,t,n)}function $h(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ms(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function tl(e,t,n){Ms(0);let r=_(null);try{t(e,n)}finally{_(r)}}function Hh(e,t,n){if(vu(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{_(r)}}}var Tt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Tt||{});var ks;function iE(){if(ks===void 0&&(ks=null,Eo.trustedTypes))try{ks=Eo.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ks}function Wp(e){return iE()?.createScriptURL(e)||e}var Ws=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ps})`}};function Pr(e){return e instanceof Ws?e.changingThisBreaksApplicationSecurity:e}function Rl(e,t){let n=zh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ps})`)}return n===t}function zh(e){return e instanceof Ws&&e.getTypeName()||null}var sE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Gh(e){return e=String(e),e.match(sE)?e:"unsafe:"+e}var pa=(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})(pa||{});function Ho(e){let t=Wh();return t?t.sanitize(pa.URL,e)||"":Rl(e,"URL")?Pr(e):Gh(nt(e))}function qh(e){let t=Wh();if(t)return Wp(t.sanitize(pa.RESOURCE_URL,e)||"");if(Rl(e,"ResourceURL"))return Wp(Pr(e));throw new v(904,!1)}function aE(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?qh:Ho}function xl(e,t,n){return aE(t,n)(e)}function Wh(){let e=N();return e&&e[ot].sanitizer}function Zh(e){return e instanceof Function?e():e}function cE(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Yh="ng-template";function uE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&cE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Al(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Al(e){return e.type===4&&e.value!==Yh}
vendor: 81,473 bytes, line 4
4function lE(e,t,n){let r=e.type===4&&!n?Yh:e.value;return t===r}function dE(e,t,n){let r=4,o=e.attrs,i=o!==null?hE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!We(r)&&!We(c))return!1;if(s&&We(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!lE(e,c,n)||c===""&&t.length===1){if(We(r))return!1;s=!0}}else if(r&8){if(o===null||!uE(e,o,c,n)){if(We(r))return!1;s=!0}}else{let u=t[++a],l=fE(c,o,Al(e),n);if(l===-1){if(We(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(We(r))return!1;s=!0}}}}return We(r)||s}function We(e){return(e&1)===0}function fE(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return gE(t,e)}function Qh(e,t,n=!1){for(let r=0;r<t.length;r++)if(dE(e,t[r],n))return!0;return!1}function pE(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function hE(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ch(n))return t}return e.length}function gE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function mE(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Zp(e,t){return e?":not("+t.trim()+")":t}function vE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!We(s)&&(t+=Zp(i,o),o=""),r=s,i=i||!We(r);n++}return o!==""&&(t+=Zp(i,o)),t}function yE(e){return e.map(vE).join(",")}function DE(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!We(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ve={};function EE(e,t){return e.createText(t)}function CE(e,t,n){e.setValue(t,n)}function Kh(e,t,n){return e.createElement(t,n)}function Zs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Jh(e,t,n){e.appendChild(t,n)}function Yp(e,t,n,r,o){r!==null?Zs(e,t,n,r,o):Jh(e,t,n)}function Xh(e,t,n,r){e.removeChild(null,t,n,r)}function IE(e,t,n){e.setAttribute(t,"style",n)}function wE(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function eg(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&FD(e,t,r),o!==null&&wE(e,t,o),i!==null&&IE(e,t,i)}function Ol(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,p=d+o,f=bE(d,p),g=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function bE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ve);return n}function _E(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ol(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function kl(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ze]=o,d[S]=r|4|128|8|64|1024,(u!==null||e&&e[S]&2048)&&(d[S]|=2048),Eu(d),d[ne]=d[En]=e,d[Z]=n,d[ot]=s||e&&e[ot],d[$]=a||e&&e[$],d[Ht]=c||e&&e[Ht]||null,d[Ie]=i,d[_o]=KD(),d[Dn]=l,d[gu]=u,d[we]=t.type==2?e[we]:d,d}function TE(e,t,n){let r=qe(t,e),o=_E(n),i=e[ot].rendererFactory,s=Pl(e,kl(e,o,null,tg(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function tg(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ng(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Pl(e,t){return e[yr]?e[hu][Oe]=t:e[yr]=t,e[hu]=t,t}function ft(e=1){rg(Y(),N(),Fe()+e,!1)}function rg(e,t,n,r){if(!r)if((t[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Fs(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ls(t,i,0,n)}Zt(n)}var ha=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ha||{});function nl(e,t,n,r){let o=_(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ha.SignalBased)!==0&&(c=t[i][se]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):mh(t,c,i,r)}finally{_(o)}}var dt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(dt||{}),SE;function Fl(e,t){return SE(e,t)}var Sr=new Set,ga=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ga||{}),kn=new I(""),Qp=new Set;function Ye(e){Qp.has(e)||(Qp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var og=!1,rl=class extends H{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hp()&&(this.destroyRef=h(he,{optional:!0})??void 0,this.pendingTasks=h(ut,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},me=rl;function ig(e){let t,n;function r(){e=Mn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Kp(e){return queueMicrotask(()=>e()),()=>{e=Mn}}var Ll="isAngularZone",Ys=Ll+"_ID",ME=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new me(!1);onMicrotaskEmpty=new me(!1);onStable=new me(!1);onError=new me(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=og}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,xE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ll)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,NE,Mn,Mn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},NE={};function jl(e){if(e._nesting==0&&!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 RE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ig(()=>{e.callbackScheduled=!1,ol(e),e.isCheckStableRunning=!0,jl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ol(e)}function xE(e){let t=()=>{RE(e)},n=ME++;e._inner=e._inner.fork({name:"angular",properties:{[Ll]:!0,[Ys]:n,[Ys+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(AE(c))return r.invokeTask(i,s,a,c);try{return Jp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Jp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!OE(c)&&t(),Xp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ol(e),jl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ol(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Jp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xp(e){e._nesting--,jl(e)}var Qs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new me;onMicrotaskEmpty=new me;onStable=new me;onError=new me;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function AE(e){return sg(e,"__ignore_ng_zone__")}function OE(e){return sg(e,"__scheduler_tick__")}function sg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Bl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),ag=[0,1,2,3],cg=(()=>{class e{ngZone=h(W);scheduler=h($e);errorHandler=h(Ce,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(kn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&B(16),this.executing=!0;for(let r of ag)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&B(17)}register(n){let{view:r}=n;r!==void 0?((r[In]??=[]).push(n),Wt(r),r[S]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ga.AFTER_NEXT_RENDER,n):n()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ks=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[In];t&&(this.view[In]=t.filter(n=>n!==this))}};function ug(e,t){let n=t?.injector??h(Ee);return Ye("NgAfterNextRender"),PE(e,n,t,!0)}function kE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function PE(e,t,n,r){let o=t.get(Bl);o.impl??=t.get(cg);let i=t.get(kn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(he):null,a=t.get(Cr,null,{optional:!0}),c=new Ks(o.impl,kE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var FE=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function lg(e,t){let n=e.get(FE);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t);n.scheduler&&n.scheduler(e)}function LE(e,t){for(let[n,r]of t)lg(e,r.animateFns)}function eh(e,t,n,r){let o=e?.[wn]?.enter;t!==null&&o&&o.has(n.index)&&LE(r,o)}function wr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ge(o)?c=o:st(o)&&(u=!0,o=o[ze]);let l=ke(o);e===0&&r!==null?(eh(a,r,i,n),s==null?Jh(t,r,l):Zs(t,r,l,s||null,!0)):e===1&&r!==null?(eh(a,r,i,n),Zs(t,r,l,s||null,!0)):e===2?th(a,i,n,d=>{Xh(t,l,u,d)}):e===3&&th(a,i,n,()=>{t.destroyNode(l)}),c!=null&&ZE(t,e,n,c,i,r,s)}}function jE(e,t){dg(e,t),t[ze]=null,t[Ie]=null}function BE(e,t,n,r,o,i){r[ze]=o,r[Ie]=t,va(e,r,n,1,o,i)}function dg(e,t){t[ot].changeDetectionScheduler?.notify(9),va(e,t,t[$],2,null,null)}function UE(e){let t=e[yr];if(!t)return $u(e[w],e);for(;t;){let n=null;if(st(t))n=t[yr];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[Oe]&&t!==e;)st(t)&&$u(t[w],t),t=t[ne];t===null&&(t=e),st(t)&&$u(t[w],t),n=t&&t[Oe]}t=n}}function Ul(e,t){let n=e[bn],r=n.indexOf(t);n.splice(r,1)}function ma(e,t){if(_n(t))return;let n=t[$];n.destroyNode&&va(e,t,n,3,null,null),UE(t)}function $u(e,t){if(_n(t))return;let n=_(null);try{t[S]&=-129,t[S]|=256,t[Se]&&pn(t[Se]),HE(e,t),$E(e,t),t[w].type===1&&t[$].destroy();let r=t[zt];if(r!==null&&Ge(t[ne])){r!==t[ne]&&Ul(r,t);let o=t[it];o!==null&&o.detachView(e)}Xu(t)}finally{_(n)}}function th(e,t,n,r){let o=e?.[wn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);e&&Sr.add(e),lg(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.running=Promise.allSettled(a),VE(e,r)}else e&&Sr.delete(e),r(!1)})}function VE(e,t){let n=e[wn]?.running;if(n){n.then(()=>{e[wn].running=void 0,Sr.delete(e),t(!0)});return}t(!1)}function $E(e,t){let n=e.cleanup,r=t[vr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[vr]=null);let o=t[It];if(o!==null){t[It]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[_t];if(i!==null){t[_t]=null;for(let s of i)s.destroy()}}function HE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Rn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];B(4,a,c);try{c.call(a)}finally{B(5,a,c)}}else{B(4,o,i);try{i.call(o)}finally{B(5,o,i)}}}}}function fg(e,t,n){return zE(e,t.parent,n)}function zE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ze];if(qt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Tt.None||o===Tt.Emulated)return null}return qe(r,n)}function pg(e,t,n){return qE(e,t,n)}function GE(e,t,n){return e.type&40?qe(e,n):null}var qE=GE,nh;function Vl(e,t,n,r){let o=fg(e,r,t),i=t[$],s=r.parent||t[Ie],a=pg(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Yp(i,o,n[c],a,!1);else Yp(i,o,n,a,!1);nh!==void 0&&nh(i,r,t,n,o)}function Oo(e,t){if(t!==null){let n=t.type;if(n&3)return qe(t,e);if(n&4)return il(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Oo(e,r);{let o=e[t.index];return Ge(o)?il(-1,o):ke(o)}}else{if(n&128)return Oo(e,t.next);if(n&32)return Fl(t,e)()||ke(e[t.index]);{let r=hg(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Bt(e[we]);return Oo(o,r)}else return Oo(e,t.next)}}}return null}function hg(e,t){if(t!==null){let r=e[we][Ie],o=t.projection;return r.projection[o]}return null}function il(e,t){let n=X+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Oo(r,o)}return t[Gt]}function $l(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ht];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Tr(ke(c),r),n.flags|=2),!fa(n))if(u&8)$l(e,t,n.child,r,o,i,!1),wr(t,e,a,o,c,n,i,r);else if(u&32){let l=Fl(n,r),d;for(;d=l();)wr(t,e,a,o,d,n,i,r);wr(t,e,a,o,c,n,i,r)}else u&16?gg(e,t,r,n,o,i):wr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function va(e,t,n,r,o,i){$l(n,r,e.firstChild,t,o,i,!1)}function WE(e,t,n){let r=t[$],o=fg(e,n,t),i=n.parent||t[Ie],s=pg(i,n,t);gg(r,0,t,n,o,s)}function gg(e,t,n,r,o,i){let s=n[we],c=s[Ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];wr(t,e,n[Ht],o,l,r,i,n)}else{let u=c,l=s[ne];xh(r)&&(u.flags|=128),$l(e,t,u,l,o,i,!0)}}function ZE(e,t,n,r,o,i,s){let a=r[Gt],c=ke(r);a!==c&&wr(t,e,n,i,a,o,s);for(let u=X;u<r.length;u++){let l=r[u];va(l[w],l,e,t,i,a)}}function YE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:dt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(n,r,o,i))}}function mg(e,t,n,r,o){let i=Fe(),s=r&2;try{Zt(-1),s&&t.length>z&&rg(e,t,z,!1),B(s?2:0,o,n),n(r,o)}finally{Zt(i),B(s?3:1,o,n)}}function vg(e,t,n){nC(e,t,n),(n.flags&64)===64&&rC(e,t,n)}function Hl(e,t,n=qe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function QE(e,t,n,r){let i=r.get(Uh,Bh)||n===Tt.ShadowDom,s=e.selectRootElement(t,i);return KE(s),s}function KE(e){JE(e)}var JE=()=>null;function XE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function eC(e,t,n,r,o,i){let s=t[w];if(zl(e,s,t,n,r)){qt(e)&&tC(t,e.index);return}e.type&3&&(n=XE(n)),yg(e,t,n,r,o,i)}function yg(e,t,n,r,o,i){if(e.type&3){let s=qe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function tC(e,t){let n=Pe(t,e);n[S]&16||(n[S]|=64)}function nC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;qt(n)&&TE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Gs(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Po(t,e,s,n);if(Tr(c,t),i!==null&&cC(t,s-r,c,a,n,i),at(a)){let u=Pe(n.index,t);u[Z]=Po(t,e,s,n)}}}function rC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=xp();try{Zt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ss(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&oC(c,u)}}finally{Zt(-1),Ss(s)}}function oC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function iC(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Qh(t,i.selectors,!1)&&(r??=[],at(i)?r.unshift(i):r.push(i))}return r}function sC(e,t,n,r,o,i){let s=qe(e,t);aC(t[$],s,i,e.value,n,r,o)}function aC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?nt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function cC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];nl(r,n,c,u)}}function Dg(e,t,n,r,o){let i=z+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Tn(e,!0);let c=e.type===2;return c?(eg(t[$],a,e),(Ip()===0||Is(e))&&Tr(a,t),wp()):Tr(a,t),As()&&(!c||!fa(e))&&Vl(s,t,a,e),e}function Eg(e){let t=e;return Ru()?xu():(t=t.parent,Tn(t,!1)),t}function uC(e,t){let n=e[Ht];if(!n)return;let r;try{r=n.get(ge,null)}catch{r=null}r?.(t)}function zl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];nl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];nl(l,u,r,o),a=!0}return a}function lC(e,t){let n=Pe(t,e),r=n[w];dC(r,n);let o=n[ze];o!==null&&n[Dn]===null&&(n[Dn]=Vh(o,n[Ht])),B(18),Gl(r,n,n[Z]),B(19,n[Z])}function dC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Gl(e,t,n){Ns(t);try{let r=e.viewQuery;r!==null&&tl(1,r,n);let o=e.template;o!==null&&mg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[it]?.finishViewCreation(e),e.staticContentQueries&&$h(e,t),e.staticViewQueries&&tl(2,e.viewQuery,n);let i=e.components;i!==null&&fC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[S]&=-5,Rs()}}function fC(e,t){for(let n=0;n<t.length;n++)lC(e,t[n])}function zo(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[S]&4096?4096:16,c=kl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[zt]=u;let l=e[it];return l!==null&&(c[it]=l.createEmbeddedView(i)),Gl(i,c,n),c}finally{_(o)}}function Mr(e,t){return!t||t.firstChild===null||xh(e)}function Fo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ke(i)),Ge(i)&&Cg(i,r);let s=n.type;if(s&8)Fo(e,t,n.child,r);else if(s&32){let a=Fl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=hg(t,n);if(Array.isArray(a))r.push(...a);else{let c=Bt(t[we]);Fo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Cg(e,t){for(let n=X;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Fo(r[w],r,o,t)}e[Gt]!==e[ze]&&t.push(e[Gt])}function Ig(e){if(e[In]!==null){for(let t of e[In])t.impl.addSequence(t);e[In].length=0}}var wg=[];function pC(e){return e[Se]??hC(e)}function hC(e){let t=wg.pop()??Object.create(mC);return t.lView=e,t}function gC(e){e.lView[Se]!==e&&(e.lView=null,wg.push(e))}var mC=F(m({},dn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Wt(e.lView)},consumerOnSignalRead(){this.lView[Se]=this}});function vC(e){let t=e[Se]??Object.create(yC);return t.lView=e,t}var yC=F(m({},dn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Bt(e.lView);for(;t&&!bg(t[w]);)t=Bt(t);t&&Cu(t)},consumerOnSignalRead(){this.lView[Se]=this}});function bg(e){return e.type!==2}function _g(e){if(e[_t]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[_t])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[S]&8192)}}var DC=100;function Tg(e,t=0){let r=e[ot].rendererFactory,o=!1;o||r.begin?.();try{EC(e,t)}finally{o||r.end?.()}}function EC(e,t){let n=Au();try{Er(!0),sl(e,t);let r=0;for(;No(e);){if(r===DC)throw new v(103,!1);r++,sl(e,1)}}finally{Er(n)}}function CC(e,t,n,r){if(_n(t))return;let o=t[S],i=!1,s=!1;Ns(t);let a=!0,c=null,u=null;i||(bg(e)?(u=pC(t),c=fn(u)):is()===null?(a=!1,u=vC(t),c=fn(u)):t[Se]&&(pn(t[Se]),t[Se]=null));try{Eu(t),Mp(e.bindingStartIndex),n!==null&&mg(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Fs(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ls(t,f,0,null),Uu(t,0)}if(s||IC(t),_g(t),Sg(t,0),e.contentQueries!==null&&$h(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Fs(t,f)}else{let f=e.contentHooks;f!==null&&Ls(t,f,1),Uu(t,1)}bC(e,t);let d=e.components;d!==null&&Ng(t,d,0);let p=e.viewQuery;if(p!==null&&tl(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Fs(t,f)}else{let f=e.viewHooks;f!==null&&Ls(t,f,2),Uu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Cs]){for(let f of t[Cs])f();t[Cs]=null}i||(Ig(t),t[S]&=-73)}catch(l){throw i||Wt(t),l}finally{u!==null&&(dr(u,c),a&&gC(u)),Rs()}}function Sg(e,t){for(let n=Oh(e);n!==null;n=kh(n))for(let r=X;r<n.length;r++){let o=n[r];Mg(o,t)}}function IC(e){for(let t=Oh(e);t!==null;t=kh(t)){if(!(t[S]&2))continue;let n=t[bn];for(let r=0;r<n.length;r++){let o=n[r];Cu(o)}}}function wC(e,t,n){B(18);let r=Pe(t,e);Mg(r,n),B(19,r[Z])}function Mg(e,t){ws(e)&&sl(e,t)}function sl(e,t){let r=e[w],o=e[S],i=e[Se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&fr(i)),s||=!1,i&&(i.dirty=!1),e[S]&=-9217,s)CC(r,e,r.template,e[Z]);else if(o&8192){let a=_(null);try{_g(e),Sg(e,1);let c=r.components;c!==null&&Ng(e,c,1),Ig(e)}finally{_(a)}}}function Ng(e,t,n){for(let r=0;r<t.length;r++)wC(e,t[r],n)}function bC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Zt(~o);else{let i=o,s=n[++r],a=n[++r];Rp(s,i);let c=t[i];B(24,c),a(2,c),B(25,c)}}}finally{Zt(-1)}}function ql(e,t){let n=Au()?64:1088;for(e[ot].changeDetectionScheduler?.notify(t);e;){e[S]|=n;let r=Bt(e);if(Dr(e)&&!r)return e;e=r}return null}function Rg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function xg(e,t){let n=X+t;if(n<e.length)return e[n]}function Go(e,t,n,r=!0){let o=t[w];if(_C(o,t,e,n),r){let s=il(n,e),a=t[$],c=a.parentNode(e[Gt]);c!==null&&BE(o,e[Ie],a,t,c,s)}let i=t[Dn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ag(e,t){let n=Lo(e,t);return n!==void 0&&ma(n[w],n),n}function Lo(e,t){if(e.length<=X)return;let n=X+t,r=e[n];if(r){let o=r[zt];o!==null&&o!==e&&Ul(o,r),t>0&&(e[n-1][Oe]=r[Oe]);let i=Io(e,X+t);jE(r[w],r);let s=i[it];s!==null&&s.detachView(i[w]),r[ne]=null,r[Oe]=null,r[S]&=-129}return r}function _C(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][Oe]=t),r<i-X?(t[Oe]=n[o],su(n,X+r,t)):(n.push(t),t[Oe]=null),t[ne]=n;let s=t[zt];s!==null&&n!==s&&Og(s,t);let a=t[it];a!==null&&a.insertView(e),bs(t),t[S]|=128}function Og(e,t){let n=e[bn],r=t[ne];if(st(r))e[S]|=2;else{let o=r[ne][we];t[we]!==o&&(e[S]|=2)}n===null?e[bn]=[t]:n.push(t)}var Yt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Fo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Z]}set context(t){this._lView[Z]=t}get destroyed(){return _n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ne];if(Ge(t)){let n=t[To],r=n?n.indexOf(this):-1;r>-1&&(Lo(t,r),Io(n,r))}this._attachedToViewContainer=!1}ma(this._lView[w],this._lView)}onDestroy(t){Iu(this._lView,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){bs(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Tg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dr(this._lView),n=this._lView[zt];n!==null&&!t&&Ul(n,this._lView),dg(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Dr(this._lView),r=this._lView[zt];r!==null&&!n&&Og(r,this._lView),bs(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=TC;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=zo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Yt(i)}}return e})();function TC(){return Wl(ue(),N())}function Wl(e,t){return e.type&4?new Nr(t,e,Or(e,t)):null}function Fr(e,t,n,r,o){let i=e.data[t];if(i===null)i=SC(e,t,n,r,o),Np()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=_p();i.injectorIndex=s===null?-1:s.injectorIndex}return Tn(i,!0),i}function SC(e,t,n,r,o){let i=Nu(),s=Ru(),a=s?i:i&&i.parent,c=e.data[t]=NC(e,a,n,t,r,o);return MC(e,c,i,s),c}function MC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function NC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Tu()&&(a|=128),{type:n,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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var uP=new RegExp(`^(\\d+)*(${tE}|${eE})*(.*)`);function RC(e){let t=e[mu]??[],r=e[ne][$],o=[];for(let i of t)i.data[jh]!==void 0?o.push(i):xC(i,r);e[mu]=o}function xC(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Lh];for(;n<o;){let i=r.nextSibling;Xh(t,r,!1),r=i,n++}}}var AC=()=>null,OC=()=>null;function Js(e,t){return AC(e,t)}function kg(e,t,n){return OC(e,t,n)}var Pg=class{},ya=class{},al=class{resolveComponentFactory(t){throw new v(917,!1)}},qo=class{static NULL=new al},xn=class{},Wo=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>kC()}return e})();function kC(){let e=N(),t=ue(),n=Pe(t.index,e);return(st(n)?n:e)[$]}var Fg=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>null})}return e})();var Bs={},cl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Bs,r);return o!==Bs||n===Bs?o:this.parentInjector.get(t,n,r)}};function Xs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=hs(o,a);else if(i==2){let c=a,u=t[++s];r=hs(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Te(e,t=0){let n=N();if(n===null)return T(e,t);let r=ue();return Mh(r,n,ae(e),t)}function Zl(){let e="invalid";throw new Error(e)}function PC(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}jC(e,t,n,a,i,c,u)}i!==null&&r!==null&&FC(n,r,i)}function FC(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}function LC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function jC(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&at(f)&&(c=!0,LC(e,n,p)),Ku(Gs(n,t),e,f.type)}zC(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=ng(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=_r(n.mergedAttrs,f.hostAttrs),UC(e,n,t,d,f),HC(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}BC(e,n,i)}function BC(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))rh(0,t,o,r),rh(1,t,o,r),ih(t,r,!1);else{let i=n.get(o);oh(0,t,i,r),oh(1,t,i,r),ih(t,r,!0)}}}function rh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Lg(t,i)}}function oh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Lg(t,s)}}function Lg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function ih(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Al(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function UC(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=jt(o.type,!0)),s=new Rn(i,at(o),Te,null);e.blueprint[r]=s,n[r]=s,VC(e,t,r,ng(e,n,o.hostVars,ve),o)}function VC(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;$C(s)!=a&&s.push(a),s.push(n,r,i)}}function $C(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function HC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;at(t)&&(n[""]=e)}}function zC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function jg(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=ct(u,s),d=Fr(c,e,n,r,l);return i&&PC(c,t,d,ct(u,a),o),d.mergedAttrs=_r(d.mergedAttrs,d.attrs),d.attrs!==null&&Xs(d,d.attrs,!1),d.mergedAttrs!==null&&Xs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Bg(e,t){AD(e,t),vu(t)&&e.queries.elementEnd(t)}function GC(e,t,n,r,o,i){let s=t.consts,a=ct(s,o),c=Fr(t,e,n,r,a);if(c.mergedAttrs=_r(c.mergedAttrs,c.attrs),i!=null){let u=ct(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Xs(c,c.attrs,!1),c.mergedAttrs!==null&&Xs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function qC(e,t,n){return e[t]=n}function Le(e,t,n){if(n===ve)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ug(e,t,n,r){let o=Le(e,t,n);return Le(e,t+1,r)||o}function WC(e,t,n,r,o){let i=Ug(e,t,n,r);return Le(e,t+2,o)||i}function Us(e,t,n){return function r(o){let i=qt(e)?Pe(e.index,t):t;ql(i,5);let s=t[Z],a=sh(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=sh(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function sh(e,t,n,r){let o=_(null);try{return B(6,t,n),n(r)!==!1}catch(i){return uC(e,i),!1}finally{B(7,t,n),_(o)}}function Vg(e,t,n,r,o,i,s,a){let c=Is(e),u=!1,l=null;if(!r&&c&&(l=YC(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=qe(e,n),p=r?r(d):d;rE(n,p,i,a);let f=o.listen(p,i,a);if(!ZC(i)){let g=r?E=>r(ke(E[e.index])):e.index;$g(g,t,n,i,a,f,!1)}}return u}function ZC(e){return e.startsWith("animation")||e.startsWith("transition")}function YC(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[vr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function $g(e,t,n,r,o,i,s){let a=t.firstCreatePass?bu(t):null,c=wu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function ah(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);$g(e.index,a,t,o,i,d,!0)}var ul=Symbol("BINDING");var ea=class extends qo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=$t(t);return new Rr(n,this.ngModule)}};function QC(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ha.SignalBased)!==0};return o&&(i.transform=o),i})}function KC(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function JC(e,t,n){let r=t instanceof J?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new cl(n,r):n}function XC(e){let t=e.get(xn,null);if(t===null)throw new v(407,!1);let n=e.get(Fg,null),r=e.get($e,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function eI(e,t){let n=Hg(e);return Kh(t,n,n==="svg"?mp:n==="math"?vp:null)}function Hg(e){return(e.selectors[0][0]||"div").toLowerCase()}var Rr=class extends ya{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=QC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=KC(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=yE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){B(22);let a=_(null);try{let c=this.componentDef,u=tI(r,c,s,i),l=JC(c,o||this.ngModule,t),d=XC(l),p=d.rendererFactory.createRenderer(null,c),f=r?QE(p,r,c.encapsulation,l):eI(c,p),g=s?.some(ch)||i?.some(y=>typeof y!="function"&&y.bindings.some(ch)),E=kl(null,u,null,512|tg(c),null,null,d,p,l,null,Vh(f,l,!0));E[z]=f,Ns(E);let D=null;try{let y=jg(z,E,2,"#host",()=>u.directiveRegistry,!0,0);eg(p,f,y),Tr(f,E),vg(u,E,y),Hh(u,y,E),Bg(u,y),n!==void 0&&rI(y,this.ngContentSelectors,n),D=Pe(y.index,E),E[Z]=D[Z],Gl(u,E,null)}catch(y){throw D!==null&&Xu(D),Xu(E),y}finally{B(23),Rs()}return new ta(this.componentType,E,!!g)}finally{_(a)}}};function tI(e,t,n,r){let o=e?["ng-version","20.3.7"]:DE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[ul].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[ul].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=lu(d);c.push(p)}return Ol(0,null,nI(i,s),1,a,c,null,null,null,[o],null)}function nI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function ch(e){let t=e[ul].kind;return t==="input"||t==="twoWay"}var ta=class extends Pg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=So(n[w],z),this.location=Or(this._tNode,n),this.instance=Pe(this._tNode.index,n)[Z],this.hostView=this.changeDetectorRef=new Yt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=zl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Pe(r.index,o);ql(s,1)}get injector(){return new Nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function rI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Pn=(()=>{class e{static __NG_ELEMENT_ID__=oI}return e})();function oI(){let e=ue();return Gg(e,N())}var iI=Pn,zg=class extends iI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Or(this._hostTNode,this._hostLView)}get injector(){return new Nn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sl(this._hostTNode,this._hostLView);if(Ih(t)){let n=Hs(t,this._hostLView),r=$s(t),o=n[w].data[r+8];return new Nn(o,n)}else return new Nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=uh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Js(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Mr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!SD(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new Rr($t(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let y=(c?d:this.parentInjector).get(J,null);y&&(i=y)}let p=$t(l.componentType??{}),f=Js(this._lContainer,p?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,Mr(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(yp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],u=new zg(c,c[Ie],c[ne]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Go(s,o,i,r),t.attachToViewContainerRef(),su(Hu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=uh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Lo(this._lContainer,n);r&&(Io(Hu(this._lContainer),n),ma(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Lo(this._lContainer,n);return r&&Io(Hu(this._lContainer),n)!=null?new Yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function uh(e){return e[To]}function Hu(e){return e[To]||(e[To]=[])}function Gg(e,t){let n,r=t[e.index];return Ge(r)?n=r:(n=Rg(r,t,null,e),t[e.index]=n,Pl(t,n)),aI(n,t,e,r),new zg(n,e,t)}function sI(e,t){let n=e[$],r=n.createComment(""),o=qe(t,e),i=n.parentNode(o);return Zs(n,i,r,n.nextSibling(o),!1),r}var aI=lI,cI=()=>!1;function uI(e,t,n){return cI(e,t,n)}function lI(e,t,n,r){if(e[Gt])return;let o;n.type&8?o=ke(r):o=sI(t,n),e[Gt]=o}var ll=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},dl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Zg(t,n).matches!==null&&this.queries[n].setDirty()}},fl=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=vI(t):this.predicate=t}},pl=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},hl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,dI(n,i)),this.matchTNodeWithReadOption(t,n,js(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,js(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===St||o===Pn||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=js(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function dI(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function fI(e,t){return e.type&11?Or(e,t):e.type&4?Wl(e,t):null}function pI(e,t,n,r){return n===-1?fI(t,e):n===-2?hI(e,t,r):Po(e,e[w],n,t)}function hI(e,t,n){if(n===St)return Or(t,e);if(n===Nr)return Wl(t,e);if(n===Pn)return Gg(t,e)}function qg(e,t,n,r){let o=t[it].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(pI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function gl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=qg(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=X;d<l.length;d++){let p=l[d];p[zt]===p[ne]&&gl(p[w],p,u,r)}if(l[bn]!==null){let d=l[bn];for(let p=0;p<d.length;p++){let f=d[p];gl(f[w],f,u,r)}}}}}return r}function Wg(e,t){return e[it].queries[t].queryList}function gI(e,t,n){let r=new qs((n&4)===4);return Cp(e,t,r,r.destroy),(t[it]??=new dl).queries.push(new ll(r))-1}function mI(e,t,n){let r=Y();return r.firstCreatePass&&(yI(r,new fl(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),gI(r,N(),t)}function vI(e){return e.split(",").map(t=>t.trim())}function yI(e,t,n){e.queries===null&&(e.queries=new pl),e.queries.track(new hl(t,n))}function Zg(e,t){return e.queries.getByIndex(t)}function DI(e,t){let n=e[w],r=Zg(n,t);return r.crossesNgTemplate?gl(n,e,t,[]):qg(n,e,r,t)}function Yg(e,t,n){let r,o=go(()=>{r._dirtyCounter();let i=CI(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[se],r._dirtyCounter=Me(0),r._flatValue=void 0,o}function Qg(e){return Yg(!0,!1,e)}function Kg(e){return Yg(!0,!0,e)}function EI(e,t){let n=e[se];n._lView=N(),n._queryIndex=t,n._queryList=Wg(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function CI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[S]&4)return t?void 0:pe;let o=Wg(n,r),i=DI(n,r);return o.reset(i,ZD),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var An=class{},Da=class{};var na=class extends An{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ea(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=uu(t);this._bootstrapComponents=Zh(i.bootstrap),this._r3Injector=Fu(t,n,[{provide:An,useValue:this},{provide:qo,useValue:this.componentFactoryResolver},...r],wt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ra=class extends Da{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new na(this.moduleType,t,[])}};var jo=class extends An{injector;componentFactoryResolver=new ea(this);instance=null;constructor(t){super();let n=new vn([...t.providers,{provide:An,useValue:this},{provide:qo,useValue:this.componentFactoryResolver}],t.parent||bo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zo(e,t,n=null){return new jo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var II=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=du(!1,n.type),o=r.length>0?Zo([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(T(J))})}return e})();function Mt(e){return Vo(()=>{let t=Jg(e),n=F(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ml.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(II).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,styles:e.styles||pe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ye("NgStandalone"),Xg(n);let r=e.dependencies;return n.directiveDefs=lh(r,wI),n.pipeDefs=lh(r,cp),n.id=TI(n),n})}function wI(e){return $t(e)||lu(e)}function Fn(e){return Vo(()=>({type:e.type,bootstrap:e.bootstrap||pe,declarations:e.declarations||pe,imports:e.imports||pe,exports:e.exports||pe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function bI(e,t){if(e==null)return Vt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ha.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function _I(e){if(e==null)return Vt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Lr(e){return Vo(()=>{let t=Jg(e);return Xg(t),t})}function Ea(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Jg(e){let t={};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:t,inputConfig:e.inputs||Vt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||pe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:bI(e.inputs,t),outputs:_I(e.outputs),debugInfo:null}}function Xg(e){e.features?.forEach(t=>t(e))}function lh(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function TI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function SI(e){return Object.getPrototypeOf(e.prototype).constructor}function em(e){let t=SI(e.type),n=!0,r=[e];for(;t;){let o;if(at(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=zu(e.inputs),s.declaredInputs=zu(e.declaredInputs),s.outputs=zu(e.outputs);let a=o.hostBindings;a&&AI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&RI(e,c),u&&xI(e,u),MI(e,o),Xf(e.outputs,o.outputs),at(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===em&&(n=!1)}}t=Object.getPrototypeOf(t)}NI(r)}function MI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function NI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_r(o.hostAttrs,n=_r(n,o.hostAttrs))}}function zu(e){return e===Vt?{}:e===pe?[]:e}function RI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function xI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function AI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function OI(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=_r(e.mergedAttrs,e.attrs);let l=e.tView=Ol(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Tn(e,!1);let c=kI(n,t,e,r);As()&&Vl(n,t,c,e),Tr(c,t);let u=Rg(c,t,c,e);t[r+z]=u,Pl(t,u),uI(u,e,t)}function Bo(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,p;if(t.firstCreatePass){if(p=Fr(t,d,4,s||null,a||null),u!=null){let f=ct(t.consts,u);p.localNames=[];for(let g=0;g<f.length;g+=2)p.localNames.push(f[g],-1)}}else p=t.data[d];return OI(p,e,t,n,r,o,i,c),u!=null&&Hl(e,p,l),p}var kI=PI;function PI(e,t,n,r){return Os(!0),t[$].createComment("")}var Yl=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Ql=new I("");function Ln(e){return!!e&&typeof e.then=="function"}function Ca(e){return!!e&&typeof e.subscribe=="function"}var Kl=new I("");function tm(e){return rt([{provide:Kl,multi:!0,useValue:e}])}var Jl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=h(Kl,{optional:!0})??[];injector=h(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ce(this.injector,o);if(Ln(i))n.push(i);else if(Ca(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ia=new I("");function nm(){jc(()=>{let e="";throw new v(600,e)})}function rm(e){return e.isBoundToModule}var FI=10;var jn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(ge);afterRenderManager=h(Bl);zonelessEnabled=h(xo);rootEffectScheduler=h(Ao);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new H;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(ut);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){h(kn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=h(J);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee.NULL){return this._injector.get(W).run(()=>{B(10);let s=n instanceof ya;if(!this._injector.get(Jl).done){let g="";throw new v(405,g)}let c;s?c=n:c=this._injector.get(qo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=rm(c)?void 0:this._injector.get(An),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Ql,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),ko(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),B(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ga.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new v(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,_(n),this.afterTick.next(),B(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(xn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<FI;)B(14),this.synchronizeOnce(),B(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!No(o))continue;let i=r&&!this.zonelessEnabled?0:1;Tg(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>No(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ko(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Ia,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ko(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ko(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Qt(e,t,n,r){let o=N(),i=Sn();if(Le(o,i,t)){let s=Y(),a=xs();sC(a,o,e,t,n,r)}return Qt}var mP=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var ml=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function Gu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function LI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Gu(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],g=Gu(s,p,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,p),y=n(i,l);if(Object.is(y,D)){let U=n(c,f);Object.is(U,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new oa,o??=fh(e,i,s,n),vl(e,r,i,y))e.updateValue(i,l),i++,s++;else if(o.has(y))r.set(E,e.detach(i)),s--;else{let U=e.create(i,t[i]);e.attach(i,U),i++,s++}}for(;i<=c;)dh(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Gu(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new oa,o??=fh(e,i,s,n);let f=n(i,d);if(vl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)dh(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function vl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function dh(e,t,n,r,o){if(vl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function fh(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var oa=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Yo(e,t,n,r,o,i,s,a){Ye("NgControlFlow");let c=N(),u=Y(),l=ct(u.consts,i);return Bo(c,u,e,t,n,r,o,l,256,s,a),Xl}function Xl(e,t,n,r,o,i,s,a){Ye("NgControlFlow");let c=N(),u=Y(),l=ct(u.consts,i);return Bo(c,u,e,t,n,r,o,l,512,s,a),Xl}function Qo(e,t){Ye("NgControlFlow");let n=N(),r=Sn(),o=n[r]!==ve?n[r]:-1,i=o!==-1?ia(n,z+o):void 0,s=0;if(Le(n,r,e)){let a=_(null);try{if(i!==void 0&&Ag(i,s),e!==-1){let c=z+e,u=ia(n,c),l=Cl(n[w],c),d=kg(u,l,n),p=zo(n,l,t,{dehydratedView:d});Go(u,p,s,Mr(l,d))}}finally{_(a)}}else if(i!==void 0){let a=xg(i,s);a!==void 0&&(a[Z]=t)}}var yl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function om(e){return e}var Dl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ed(e,t,n,r,o,i,s,a,c,u,l,d,p){Ye("NgControlFlow");let f=N(),g=Y(),E=c!==void 0,D=N(),y=a?s.bind(D[we][Z]):s,U=new Dl(E,y);D[z+e]=U,Bo(f,g,e+1,t,n,r,o,ct(g.consts,i),256),E&&Bo(f,g,e+2,c,u,l,d,ct(g.consts,p),512)}var El=class extends ml{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-X}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[Dn];this.needsIndexUpdate||=t!==this.length,Go(this.lContainer,n,t,Mr(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&jI(this.lContainer,t),BI(this.lContainer,t)}create(t,n){let r=Js(this.lContainer,this.templateTNode.tView.ssrId),o=zo(this.hostLView,this.templateTNode,new yl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ma(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Z].$index=t}getLView(t){return UI(this.lContainer,t)}};function td(e){let t=_(null),n=Fe();try{let r=N(),o=r[w],i=r[n],s=n+1,a=ia(r,s);if(i.liveCollection===void 0){let u=Cl(o,s);i.liveCollection=new El(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(LI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Sn(),l=c.length===0;if(Le(r,u,l)){let d=n+2,p=ia(r,d);if(l){let f=Cl(o,d),g=kg(p,f,r),E=zo(r,f,void 0,{dehydratedView:g});Go(p,E,0,Mr(f,g))}else o.firstUpdatePass&&RC(p),Ag(p,0)}}}finally{_(t)}}function ia(e,t){return e[t]}function jI(e,t){if(e.length<=X)return;let n=X+t,r=e[n];r&&r[wn]&&(r[wn].skipLeaveAnimations=!0)}function BI(e,t){return Lo(e,t)}function UI(e,t){return xg(e,t)}function Cl(e,t){return So(e,t)}function Ko(e,t,n){let r=N(),o=Sn();if(Le(r,o,t)){let i=Y(),s=xs();eC(s,r,e,t,r[$],n)}return Ko}function Il(e,t,n,r,o){zl(t,e,n,o?"class":"style",r)}function Kt(e,t,n,r){let o=N(),i=o[w],s=e+z,a=i.firstCreatePass?jg(s,o,2,t,iC,bp(),n,r):i.data[s];if(Dg(a,o,e,t,im),Is(a)){let c=o[w];vg(c,o,a),Hh(c,a,o)}return r!=null&&Hl(o,a),Kt}function Jt(){let e=Y(),t=ue(),n=Eg(t);return e.firstCreatePass&&Bg(e,n),Su(n)&&Mu(),_u(),n.classesWithoutHost!=null&&kD(n)&&Il(e,n,N(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&PD(n)&&Il(e,n,N(),n.stylesWithoutHost,!1),Jt}function Jo(e,t,n,r){return Kt(e,t,n,r),Jt(),Jo}function pt(e,t,n,r){let o=N(),i=o[w],s=e+z,a=i.firstCreatePass?GC(s,i,2,t,n,r):i.data[s];return Dg(a,o,e,t,im),r!=null&&Hl(o,a),pt}function Qe(){let e=ue(),t=Eg(e);return Su(t)&&Mu(),_u(),Qe}function nd(e,t,n,r){return pt(e,t,n,r),Qe(),nd}var im=(e,t,n,r,o)=>(Os(!0),Kh(t[$],r,jp()));function rd(){return N()}function wa(e,t,n){let r=N(),o=Sn();if(Le(r,o,t)){let i=Y(),s=xs();yg(s,r,e,t,r[$],n)}return wa}var Xo="en-US";var VI=Xo;function sm(e){typeof e=="string"&&(VI=e.toLowerCase().replace(/_/g,"-"))}function ei(e,t,n){let r=N(),o=Y(),i=ue();return $I(o,r,r[$],i,e,t,n),ei}function ba(e,t,n){let r=N(),o=Y(),i=ue();return(i.type&3||n)&&Vg(i,o,r,n,r[$],e,t,Us(i,r,t)),ba}function $I(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Us(r,t,i),Vg(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Us(r,t,i),ah(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Us(r,t,i),ah(r,t,d,o,o,c)}}function Bn(e=1){return Lp(e)}function HI(e,t){let n=null,r=pE(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Qh(e,i,!0):mE(r,i))return o}return n}function _a(e){let t=N()[we][Ie];if(!t.projection){let n=e?e.length:1,r=t.projection=sp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?HI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Ta(e,t=0,n,r,o,i){let s=N(),a=Y(),c=r?e+1:null;c!==null&&Bo(s,a,c,r,o,i,null,n);let u=Fr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),xu();let d=!s[Dn]||Tu();s[we][Ie].projection[u.projection]===null&&c!==null?zI(s,a,c):d&&!fa(u)&&WE(a,s,u)}function zI(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=Js(i,o.tView.ssrId),a=zo(e,o,void 0,{dehydratedView:s});Go(i,a,0,Mr(o,s))}function od(e,t,n,r){EI(e,mI(t,n,r))}function id(e=1){Ms(Op()+e)}function Ps(e,t){return e<<17|t<<2}function On(e){return e>>17&32767}function GI(e){return(e&2)==2}function qI(e,t){return e&131071|t<<17}function wl(e){return e|2}function xr(e){return(e&131068)>>2}function qu(e,t){return e&-131069|t<<2}function WI(e){return(e&1)===1}function bl(e){return e|1}function ZI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=On(s),c=xr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=On(e[a+1]);e[r+1]=Ps(p,a),p!==0&&(e[p+1]=qu(e[p+1],r)),e[a+1]=qI(e[a+1],r)}else e[r+1]=Ps(a,0),a!==0&&(e[a+1]=qu(e[a+1],r)),a=r;else e[r+1]=Ps(c,0),a===0?a=r:e[c+1]=qu(e[c+1],r),c=r;u&&(e[r+1]=wl(e[r+1])),ph(e,l,r,!0),ph(e,l,r,!1),YI(t,l,e,r,i),s=Ps(a,c),i?t.classBindings=s:t.styleBindings=s}function YI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mr(i,t)>=0&&(n[r+1]=bl(n[r+1]))}function ph(e,t,n,r){let o=e[n+1],i=t===null,s=r?On(o):xr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];QI(c,t)&&(a=!0,e[s+1]=r?bl(u):wl(u)),s=r?On(u):xr(u)}a&&(e[n+1]=r?wl(o):bl(o))}function QI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mr(e,t)>=0:!1}var Ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function KI(e){return e.substring(Ze.key,Ze.keyEnd)}function JI(e){return XI(e),am(e,cm(e,0,Ze.textEnd))}function am(e,t){let n=Ze.textEnd;return n===t?-1:(t=Ze.keyEnd=ew(e,Ze.key=t,n),cm(e,t,n))}function XI(e){Ze.key=0,Ze.keyEnd=0,Ze.value=0,Ze.valueEnd=0,Ze.textEnd=e.length}function cm(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ew(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function um(e,t,n){return lm(e,t,n,!1),um}function sd(e,t){return lm(e,t,null,!0),sd}function ad(e){nw(cw,tw,e,!0)}function tw(e,t){for(let n=JI(t);n>=0;n=am(t,n))Ds(e,KI(t),!0)}function lm(e,t,n,r){let o=N(),i=Y(),s=Ro(2);if(i.firstUpdatePass&&fm(i,e,s,r),t!==ve&&Le(o,s,t)){let a=i.data[Fe()];pm(i,a,o,o[$],e,o[s+1]=lw(t,n),r,s)}}function nw(e,t,n,r){let o=Y(),i=Ro(2);o.firstUpdatePass&&fm(o,null,i,r);let s=N();if(n!==ve&&Le(s,i,n)){let a=o.data[Fe()];if(hm(a,r)&&!dm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=hs(c,n||"")),Il(o,a,s,n,r)}else uw(o,a,s,s[$],s[i+1],s[i+1]=aw(e,t,n),r,i)}}function dm(e,t){return t>=e.expandoStartIndex}function fm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Fe()],s=dm(e,n);hm(i,r)&&t===null&&!s&&(t=!1),t=rw(o,i,t,r),ZI(o,i,t,n,s,r)}}function rw(e,t,n,r){let o=Ap(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Wu(null,e,t,n,r),n=Uo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Wu(o,e,t,n,r),i===null){let c=ow(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Wu(null,e,t,c[1],r),c=Uo(c,t.attrs,r),iw(e,t,r,c))}else i=sw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ow(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xr(r)!==0)return e[On(r)]}function iw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[On(o)]=r}function sw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Uo(r,s,n)}return Uo(r,t.attrs,n)}function Wu(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Uo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Uo(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ds(e,s,n?!0:t[++i]))}return e===void 0?null:e}function aw(e,t,n){if(n==null||n==="")return pe;let r=[],o=Pr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function cw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ds(e,r,n)}function uw(e,t,n,r,o,i,s,a){o===ve&&(o=pe);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,E;l===d?(c+=2,u+=2,p!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&pm(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function pm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=WI(u)?hh(c,t,n,o,xr(u),s):void 0;if(!sa(l)){sa(i)||GI(u)&&(i=hh(c,null,n,o,a,s));let d=yu(Fe(),n);YE(r,s,d,o,i)}}function hh(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ve&&(p=d?pe:void 0);let f=d?Es(p,r):l===r?p:void 0;if(u&&!sa(f)&&(f=Es(c,r)),sa(f)&&(a=f,s))return a;let g=e[o+1];o=s?On(g):xr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Es(c,r))}return a}function sa(e){return e!==void 0}function lw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=wt(Pr(e)))),e}function hm(e,t){return(e.flags&(t?8:16))!==0}function Nt(e,t=""){let n=N(),r=Y(),o=e+z,i=r.firstCreatePass?Fr(r,o,1,t,null):r.data[o],s=dw(r,n,i,t,e);n[o]=s,As()&&Vl(r,n,s,i),Tn(i,!1)}var dw=(e,t,n,r,o)=>(Os(!0),EE(t[$],r));function gm(e,t,n,r=""){return Le(e,Sn(),n)?t+nt(n)+r:ve}function fw(e,t,n,r,o,i=""){let s=Ou(),a=Ug(e,s,n,o);return Ro(2),a?t+nt(n)+r+nt(o)+i:ve}function pw(e,t,n,r,o,i,s,a=""){let c=Ou(),u=WC(e,c,n,o,s);return Ro(3),u?t+nt(n)+r+nt(o)+i+nt(s)+a:ve}function jr(e){return Un("",e),jr}function Un(e,t,n){let r=N(),o=gm(r,e,t,n);return o!==ve&&ld(r,Fe(),o),Un}function cd(e,t,n,r,o){let i=N(),s=fw(i,e,t,n,r,o);return s!==ve&&ld(i,Fe(),s),cd}function ud(e,t,n,r,o,i,s){let a=N(),c=pw(a,e,t,n,r,o,i,s);return c!==ve&&ld(a,Fe(),c),ud}function ld(e,t,n){let r=yu(t,e);CE(e[$],r,n)}var mm={};function vm(e){let t=Y(),n=N(),r=e+z,o=Fr(t,r,128,null,null);return Tn(o,!1),Mo(t,n,r,mm),vm}function hw(e){Ye("NgLet");let t=Y(),n=N(),r=Fe();return Mo(t,n,r,e),e}function gw(e){let t=Tp(),n=Du(t,z+e);if(n===mm)throw new v(314,!1);return n}function ym(e,t,n=""){return gm(N(),e,t,n)}function mw(e,t,n){let r=Y();if(r.firstCreatePass){let o=at(e);_l(n,r.data,r.blueprint,o,!0),_l(t,r.data,r.blueprint,o,!1)}}function _l(e,t,n,r,o){if(e=ae(e),Array.isArray(e))for(let i=0;i<e.length;i++)_l(e[i],t,n,r,o);else{let i=Y(),s=N(),a=ue(),c=mn(e)?e:ae(e.provide),u=pu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(mn(e)||!e.multi){let f=new Rn(u,o,Te,null),g=Yu(c,t,o?l:l+p,d);g===-1?(Ku(Gs(a,s),i,c),Zu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Yu(c,t,l+p,d),g=Yu(c,t,l,l+p),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){Ku(Gs(a,s),i,c);let y=Dw(o?yw:vw,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=y),Zu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=Dm(n[o?g:f],u,!o&&r);Zu(i,e,f>-1?f:g,y)}!o&&r&&D&&n[g].componentProviders++}}}function Zu(e,t,n,r){let o=mn(t),i=pp(t);if(o||i){let c=(i?ae(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Dm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function vw(e,t,n,r,o){return Tl(this.multi,[])}function yw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Po(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Tl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Tl(i,s);return s}function Tl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Dw(e,t,n,r,o,i){let s=new Rn(e,n,Te,null);return s.multi=[],s.index=t,s.componentProviders=0,Dm(s,o,r&&!n),s}function Ew(e,t=[]){return n=>{n.providersResolver=(r,o)=>mw(r,o?o(e):e,t)}}function Cw(e,t){let n=e[t];return n===ve?void 0:n}function Iw(e,t,n,r,o,i){let s=t+n;return Le(e,s,o)?qC(e,s+1,i?r.call(i,o):r(o)):Cw(e,s+1)}function Sa(e,t){let n=Y(),r,o=e+z;n.firstCreatePass?(r=ww(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=jt(r.type,!0)),s,a=De(Te);try{let c=zs(!1),u=i();return zs(c),Mo(n,N(),o,u),u}finally{De(a)}}function ww(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ma(e,t,n){let r=e+z,o=N(),i=Du(o,r);return bw(o,r)?Iw(o,Sp(),t,i.transform,n,i):i.transform(n)}function bw(e,t){return e[w].data[t].pure}var aa=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},dd=(()=>{class e{compileModuleSync(n){return new ra(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=uu(n),i=Zh(o.declarations).reduce((s,a)=>{let c=$t(a);return c&&s.push(new Rr(c)),s},[]);return new aa(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _w=(()=>{class e{zone=h(W);changeDetectionScheduler=h($e);applicationRef=h(jn);applicationErrorHandler=h(ge);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Em=new I("",{factory:()=>!1});function fd({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new W(F(m({},pd()),{scheduleInRootZone:n})),[{provide:W,useFactory:e},{provide:bt,multi:!0,useFactory:()=>{let r=h(_w,{optional:!0});return()=>r.initialize()}},{provide:bt,multi:!0,useFactory:()=>{let r=h(Sw);return()=>{r.initialize()}}},t===!0?{provide:ju,useValue:!0}:[],{provide:Bu,useValue:n??og},{provide:ge,useFactory:()=>{let r=h(W),o=h(J),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Ce),i.handleError(s))})}}}]}function Tw(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=fd({ngZoneFactory:()=>{let o=pd(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ye("NgZone_CoalesceEvent"),new W(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return rt([{provide:Em,useValue:!0},{provide:xo,useValue:!1},r])}function pd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Sw=(()=>{class e{subscription=new G;initialized=!1;zone=h(W);pendingTasks=h(ut);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cm=(()=>{class e{applicationErrorHandler=h(ge);appRef=h(jn);taskService=h(ut);ngZone=h(W);zonelessEnabled=h(xo);tracing=h(kn,{optional:!0});disableScheduling=h(ju,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ys):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(Bu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Qs||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Kp:ig;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ys+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Kp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mw(){return typeof $localize<"u"&&$localize.locale||Xo}var Na=new I("",{providedIn:"root",factory:()=>h(Na,{optional:!0,skipSelf:!0})||Mw()});var Ra=class{destroyed=!1;listeners=null;errorHandler=h(Ce,{optional:!0});destroyRef=h(he);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(He(953,!1));return}if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function Ne(e){return Zf(e)}function gd(e,t){return go(e,t?.equal)}var hd=class{[se];constructor(t){this[se]=t}destroy(){this[se].destroy()}};function xa(e,t){let n=t?.injector??h(Ee),r=t?.manualCleanup!==!0?n.get(he):null,o,i=n.get(Cr,null,{optional:!0}),s=n.get($e);return i!==null?(o=xw(i.view,s,e),r instanceof Do&&r._lView===i.view&&(r=null)):o=Aw(e,n.get(Ao),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new hd(o)}var Im=F(m({},Yf),{cleanupFns:void 0,zone:null,onDestroyFn:Mn,run(){let e=Er(!1);try{Qf(this)}finally{Er(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=_(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],_(e)}}}),Nw=F(m({},Im),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){pn(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),Rw=F(m({},Im),{consumerMarkedDirty(){this.view[S]|=8192,Wt(this.view),this.notifier.notify(13)},destroy(){pn(this),this.onDestroyFn(),this.cleanup(),this.view[_t]?.delete(this)}});function xw(e,t,n){let r=Object.create(Rw);
4return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=wm(r,n),e[_t]??=new Set,e[_t].add(r),r.consumerMarkedDirty(r),r}function Aw(e,t,n){let r=Object.create(Nw);return r.fn=wm(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function wm(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Rm=Symbol("InputSignalNode#UNSET"),pb=F(m({},us),{transformFn:void 0,applyValueToInputSignal(e,t){hr(e,t)}});function xm(e,t){let n=Object.create(pb);n.value=e,n.transformFn=t?.transform;function r(){if(lr(n),n.value===Rm){let o=null;throw new v(-950,o)}return n.value}return r[se]=n,r}var Oa=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>$o(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},hb=new I("");hb.__NG_ELEMENT_ID__=e=>{let t=ue();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new v(204,!1)};function Am(e){return new Ra}function bm(e,t){return xm(e,t)}function gb(e){return xm(Rm,e)}var ka=(bm.required=gb,bm);function _m(e,t){return Qg(t)}function mb(e,t){return Kg(t)}var Om=(_m.required=mb,_m);var md=new I(""),vb=new I("");function ti(e){return!e.moduleRef}function yb(e){let t=ti(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{ti(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ge),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ti(e)){let i=()=>t.destroy(),s=e.platformInjector.get(md);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(md);s.add(i),e.moduleRef.onDestroy(()=>{ko(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Eb(r,n,()=>{let i=t.get(ut),s=i.add(),a=t.get(Jl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Na,Xo);if(sm(c||Xo),!t.get(vb,!0))return ti(e)?t.get(jn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ti(e)){let l=t.get(jn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Db?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Db;function Eb(e,t,n){try{let r=n();return Ln(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Aa=null;function Cb(e=[],t){return Ee.create({name:t,providers:[{provide:wo,useValue:"platform"},{provide:md,useValue:new Set([()=>Aa=null])},...e]})}function Ib(e=[]){if(Aa)return Aa;let t=Cb(e);return Aa=t,nm(),wb(t),t}function wb(e){let t=e.get(la,null);ce(e,()=>{t?.forEach(n=>n())})}var Br=(()=>{class e{static __NG_ELEMENT_ID__=bb}return e})();function bb(e){return _b(ue(),N(),(e&16)===16)}function _b(e,t,n){if(qt(e)&&!n){let r=Pe(e.index,t);return new Yt(r,r)}else if(e.type&175){let r=t[we];return new Yt(r,t)}return null}function km(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;B(8);try{let i=o?.injector??Ib(r),s=[fd({}),{provide:$e,useExisting:Cm},Up,...n||[]],a=new jo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return yb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{B(9)}}function ni(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Lm=null;function xt(){return Lm}function vd(e){Lm??=e}var ri=class{},yd=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(jm),providedIn:"platform"})}return e})();var jm=(()=>{class e extends yd{_location;_history;_doc=h(q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xt().getBaseHref(this._doc)}onPopState(n){let r=xt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=xt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Bm(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Pm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Xt(e){return e&&e[0]!=="?"?`?${e}`:e}var Vn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(Dd),providedIn:"root"})}return e})(),Um=new I(""),Dd=(()=>{class e extends Vn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
4HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Bm(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Xt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Xt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Xt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(T(yd),T(Um,8))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$n=(()=>{class e{_subject=new H;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Mb(Pm(Fm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Xt(r))}normalize(n){return e.stripTrailingSlash(Sb(this._basePath,Fm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Xt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Xt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Xt;static joinWithSlash=Bm;static stripTrailingSlash=Pm;static \u0275fac=function(r){return new(r||e)(T(Vn))};static \u0275prov=C({token:e,factory:()=>Tb(),providedIn:"root"})}return e})();function Tb(){return new $n(T(Vn))}function Sb(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Fm(e){return e.replace(/\/index.html$/,"")}function Mb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Nb(e,t){return new v(2100,!1)}var Ed=class{createSubscription(t,n,r){return Ne(()=>t.subscribe({next:n,error:r}))}dispose(t){Ne(()=>t.unsubscribe())}},Cd=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},Rb=new Cd,xb=new Ed,Id=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=h(ge);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(Ln(n))return Rb;if(Ca(n))return xb;throw Nb(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(Te(Br,16))};static \u0275pipe=Ea({name:"async",type:e,pure:!1})}return e})();var Pa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Fn({type:e});static \u0275inj=Ut({})}return e})();function oi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Hn=class{};var Vm="browser";var $m=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new wd(h(q),window)})}return e})(),wd=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(m({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=Vb(this.document,t);
4r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(He(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(m({},n),{left:o-s[0],top:i-s[1]}))}};function Vb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ii=class{_doc;constructor(t){this._doc=t}manager},Fa=(()=>{class e extends ii{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(q))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),ja=new I(""),Md=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Fa));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Fa);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(T(ja),T(W))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),bd="ng-app-id";function Hm(e){for(let t of e)t.remove()}function zm(e,t){let n=t.createElement("style");return n.textContent=e,n}function Hb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${bd}="${t}"],link[${bd}="${t}"]`);if(o)for(let i of o)i.removeAttribute(bd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Td(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Nd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,Hb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,zm);r?.forEach(o=>this.addUsage(o,this.external,Td))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Hm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Hm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,zm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Td(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(q),T(ua),T(da,8),T(kr))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),_d={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/Math/MathML"},Rd=/%COMP%/g;var qm="%COMP%",zb=`_nghost-${qm}`,Gb=`_ngcontent-${qm}`,qb=!0,Wb=new I("",{providedIn:"root",factory:()=>qb});function Zb(e){return Gb.replace(Rd,e)}function Yb(e){return zb.replace(Rd,e)}function Wm(e,t){return t.map(n=>n.replace(Rd,e))}var xd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new si(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);
vendor: 14,587 bytes, lines 4-5
4return o instanceof La?o.applyToHost(n):o instanceof ai&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case Tt.Emulated:i=new La(c,u,r,this.appId,l,s,a,d,p);break;case Tt.ShadowDom:return new Sd(c,u,n,r,s,a,this.nonce,d,p);default:i=new ai(c,u,r,l,s,a,d,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(T(Md),T(Nd),T(ua),T(Wb),T(q),T(kr),T(W),T(da),T(kn,8))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),si=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(_d[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Gm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Gm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=_d[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=_d[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(dt.DashCase|dt.Important)?t.style.setProperty(n,r,o&dt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&dt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=xt().getGlobalEventTarget(this.doc,t),!t))throw new v(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Gm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Sd=class extends si{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Wm(o.id,l);for(let p of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let p of d){let f=Td(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ai=class extends si{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Wm(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Sr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},La=class extends ai{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=Zb(l),this.hostAttr=Yb(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ba=class e extends ri{supportsDOMEvents=!0;static makeCurrent(){vd(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Qb();return n==null?null:Kb(n)}resetBaseElement(){ci=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return oi(document.cookie,t)}},ci=null;function Qb(){return ci=ci||document.head.querySelector("base"),ci?ci.getAttribute("href"):null}function Kb(e){return new URL(e,document.baseURI).pathname}var Jb=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Zm=["alt","control","meta","shift"],Xb={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},e_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ym=(()=>{class e extends ii{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zm.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Xb[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Zm.forEach(s=>{if(s!==o){let a=e_[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(T(q))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function t_(e,t,n){let r=m({rootComponent:e,platformRef:n?.platformRef},n_(t));return km(r)}function n_(e){return{appProviders:[...a_,...e?.providers??[]],platformProviders:s_}}function r_(){Ba.makeCurrent()}function o_(){return new Ce}function i_(){return Nl(document),document}var s_=[{provide:kr,useValue:Vm},{provide:la,useValue:r_,multi:!0},{provide:q,useFactory:i_}];var a_=[{provide:wo,useValue:"root"},{provide:Ce,useFactory:o_},{provide:ja,useClass:Fa,multi:!0,deps:[q]},{provide:ja,useClass:Ym,multi:!0,deps:[q]},xd,Nd,Md,{provide:xn,useExisting:xd},{provide:Hn,useClass:Jb},[]];var $r=class{},ui=class{},en=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Va=class{encodeKey(t){return Qm(t)}encodeValue(t){return Qm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function c_(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var u_=/%(\d[a-f0-9])/gi,l_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qm(e){return encodeURIComponent(e).replace(u_,(t,n)=>l_[n]??t)}function Ua(e){return`${e}`}var At=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Va,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=c_(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Ua):[Ua(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ua(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Ua(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Hr=class{defaultValue;constructor(t){this.defaultValue=t}},$a=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function d_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Km(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Jm(e){return typeof Blob<"u"&&e instanceof Blob}function Xm(e){return typeof FormData<"u"&&e instanceof FormData}function f_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ev="Content-Type",tv="Accept",nv="X-Request-URL",rv="text/plain",ov="application/json",p_=`${ov}, ${rv}, */*`,Ur=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(d_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new v(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new en,this.context??=new $a,!this.params)this.params=new At,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="str
5ing"||Km(this.body)||Jm(this.body)||Xm(this.body)||f_(this.body)?this.body:this.body instanceof At?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Xm(this.body)?null:Jm(this.body)?this.body.type||null:Km(this.body)?null:typeof this.body=="string"?rv:this.body instanceof At?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ov:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,y=t.reportProgress??this.reportProgress,U=t.headers||this.headers,je=t.params||this.params,le=t.context??this.context;return t.setHeaders!==void 0&&(U=Object.keys(t.setHeaders).reduce((on,sn)=>on.set(sn,t.setHeaders[sn]),U)),t.setParams&&(je=Object.keys(t.setParams).reduce((on,sn)=>on.set(sn,t.setParams[sn]),je)),new e(n,r,E,{params:je,headers:U,context:le,reportProgress:y,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:p})}},zn=(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})(zn||{}),zr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new en,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Ha=class e extends zr{constructor(t={}){super(t)}type=zn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},li=class e extends zr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=zn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Vr=class extends zr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},h_=200,g_=204;function Ad(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var kd=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ur)i=n;else{let c;o.headers instanceof en?c=o.headers:c=new en(o.headers);let u;o.params&&(o.params instanceof At?u=o.params:u=new At({fromObject:o.params})),i=new Ur(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=b(i).pipe(Ft(c=>this.handler.handle(c)));if(n instanceof Ur||o.observe==="events")return s;let a=s.pipe(oe(c=>c instanceof li));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new At().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ad(o,r))}post(n,r,o={}){return this.request("POST",n,Ad(o,r))}put(n,r,o={}){return this.request("PUT",n,Ad(o,r))}static \u0275fac=function(r){return new(r||e)(T($r))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();var m_=new I("");function v_(e,t){return t(e)}function y_(e,t,n){return(r,o)=>ce(n,()=>t(r,i=>e(i,o)))}var Pd=new I(""),iv=new I(""),sv=new I("",{providedIn:"root",factory:()=>!0});var za=(()=>{class e extends $r{backend;injector;chain=null;pendingTasks=h(Ir);contributeToStability=h(sv);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Pd),...this.injector.get(iv,[])]));this.chain=r.reduceRight((o,i)=>y_(o,i,this.injector),v_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(et(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(ui),T(J))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();var D_=/^\)\]\}
5',?\n/,E_=RegExp(`^${nv}:`,"m");function C_(e){return"responseURL"in e&&e.responseURL?e.responseURL:E_.test(e.getAllResponseHeaders())?e.getResponseHeader(nv):null}var Od=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return b(null).pipe(ie(()=>new O(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,y)=>s.setRequestHeader(D,y.join(","))),n.headers.has(tv)||s.setRequestHeader(tv,p_),!n.headers.has(ev)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(ev,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",y=new en(s.getAllResponseHeaders()),U=C_(s)||n.url;return c=new Ha({headers:y,status:s.status,statusText:D,url:U}),c},l=()=>{let{headers:D,status:y,statusText:U,url:je}=u(),le=null;y!==g_&&(le=typeof s.response>"u"?s.responseText:s.response),y===0&&(y=le?h_:0);let on=y>=200&&y<300;if(n.responseType==="json"&&typeof le=="string"){let sn=le;le=le.replace(D_,"");try{le=le!==""?JSON.parse(le):null}catch(sy){le=sn,on&&(on=!1,le={error:sy,text:le})}}on?(i.next(new li({body:le,headers:D,status:y,statusText:U,url:je||void 0})),i.complete()):i.error(new Vr({error:le,headers:D,status:y,statusText:U,url:je||void 0}))},d=D=>{let{url:y}=u(),U=new Vr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(U)},p=d;n.timeout&&(p=D=>{let{url:y}=u(),U=new Vr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:y||void 0});i.error(U)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let y={type:zn.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(y.total=D.total),n.responseType==="text"&&s.responseText&&(y.partialText=s.responseText),i.next(y)},E=D=>{let y={type:zn.UploadProgress,loaded:D.loaded};D.lengthComputable&&(y.total=D.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:zn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Hn))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),av=new I(""),I_="XSRF-TOKEN",w_=new I("",{providedIn:"root",factory:()=>I_}),b_="X-XSRF-TOKEN",__=new I("",{providedIn:"root",factory:()=>b_}),di=class{},T_=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=oi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(T(q),T(w_))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function S_(e,t){let n=e.url.toLowerCase();if(!h(av)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=h(di).getToken(),o=h(__);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Fd=(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})(Fd||{});function M_(e,t){return{\u0275kind:e,\u0275providers:t}}function N_(...e){let t=[kd,Od,za,{provide:$r,useExisting:za},{provide:ui,useFactory:()=>h(m_,{optional:!0})??h(Od)},{provide:Pd,useValue:S_,multi:!0},{provide:av,useValue:!0},{provide:di,useClass:T_}];for(let n of e)t.push(...n.\u0275providers);return rt(t)}function R_(e){return M_(Fd.Interceptors,e.map(t=>({provide:Pd,useValue:t,multi:!0})))}var cv=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(T(q))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var R="primary",bi=Symbol("RouteTitle"),Vd=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Wn(e){return new Vd(e)}function mv(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function A_(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!ht(e[n],t[n]))return!1;return!0}function ht(e,t){let n=e?$d(e):void 0,r=t?$d(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!vv(e[o],t[o]))return!1;return!0}function $d(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function vv(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function yv(e){return e.length>0?e[e.length-1]:null}function Ot(e){return Sc(e)?e:Ln(e)?Q(Promise.resolve(e)):b(e)}var O_={exact:Ev,subset:Cv},Dv={exact:k_,subset:P_,ignored:()=>!0};function uv(e,t,n){return O_[n.paths](e.root,t.root,n.matrixParams)&&Dv[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function k_(e,t){return ht(e,t)}function Ev(e,t,n){if(!Gn(e.segments,t.segments)||!Wa(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Ev(e.children[r],t.children[r],n))return!1;return!0}function P_(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>vv(e[n],t[n]))}function Cv(e,t,n){return Iv(e,t,t.segments,n)}function Iv(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);
5return!(!Gn(o,n)||t.hasChildren()||!Wa(o,n,r))}else if(e.segments.length===n.length){if(!Gn(e.segments,n)||!Wa(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Cv(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!Gn(e.segments,o)||!Wa(e.segments,o,r)||!e.children[R]?!1:Iv(e.children[R],t,i,r)}}function Wa(e,t,n){return t.every((r,o)=>Dv[n](e[o].parameters,r.parameters))}var mt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new L([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Wn(this.queryParams),this._queryParamMap}toString(){return j_.serialize(this)}},L=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Za(this)}},tn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Wn(this.parameters),this._parameterMap}toString(){return bv(this)}};function F_(e,t){return Gn(e,t)&&e.every((n,r)=>ht(n.parameters,t[r].parameters))}function Gn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function L_(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===R&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==R&&(n=n.concat(t(o,r)))}),n}var no=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new Zn,providedIn:"root"})}return e})(),Zn=class{parse(t){let n=new zd(t);return new mt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${fi(t.root,!0)}`,r=V_(t.queryParams),o=typeof t.fragment=="string"?`#${B_(t.fragment)}`:"";return`${n}${r}${o}`}},j_=new Zn;function Za(e){return e.segments.map(t=>bv(t)).join("/")}function fi(e,t){if(!e.hasChildren())return Za(e);if(t){let n=e.children[R]?fi(e.children[R],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==R&&r.push(`${o}:${fi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=L_(e,(r,o)=>o===R?[fi(e.children[R],!1)]:[`${o}:${fi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[R]!=null?`${Za(e)}/${n[0]}`:`${Za(e)}/(${n.join("//")})`}}function wv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ga(e){return wv(e).replace(/%3B/gi,";")}function B_(e){return encodeURI(e)}function Hd(e){return wv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ya(e){return decodeURIComponent(e)}function lv(e){return Ya(e.replace(/\+/g,"%20"))}function bv(e){return`${Hd(e.path)}${U_(e.parameters)}`}function U_(e){return Object.entries(e).map(([t,n])=>`;${Hd(t)}=${Hd(n)}`).join("")}function V_(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ga(n)}=${Ga(o)}`).join("&"):`${Ga(n)}=${Ga(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var $_=/^[^\/()?;#]+/;function Ld(e){let t=e.match($_);return t?t[0]:""}var H_=/^[^\/()?;=#]+/;function z_(e){let t=e.match(H_);return t?t[0]:""}var G_=/^[^=?&#]+/;function q_(e){let t=e.match(G_);return t?t[0]:""}var W_=/^[^&#]+/;function Z_(e){let t=e.match(W_);return t?t[0]:""}var zd=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[R]=new L(t,n)),r}parseSegment(){let t=Ld(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new tn(Ya(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=z_(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ld(this.remaining);o&&(r=o,this.capture(r))}t[Ya(n)]=Ya(r)}parseQueryParam(t){let n=q_(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Z_(this.remaining);s&&(r=s,this.capture(r))}let o=lv(n),i=lv(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ld(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=R);let s=this.parseChildren();n[i]=Object.keys(s).length===1&&s[R]?s[R]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function _v(e){return e.segments.length>0?new L([],{[R]:e}):e}function Tv(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Tv(o);if(r===R&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new L(e.segments,t);return Y_(n)}function Y_(e){if(e.numberOfChildren===1&&e.children[R]){let t=e.children[R];return new L(e.segments.concat(t.segments),t.children)}return e}function nn(e){return e instanceof mt}function Sv(e,t,n=null,r=null){let o=Mv(e);return Nv(o,t,n,r)}function Mv(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new L(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=_v(r);return t??o}function Nv(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return jd(o,o,o,n,r);let i=Q_(t);if(i.toRoot())return jd(o,o,new L([],{}),n,r);let s=K_(i,o,e),a=s.processChildren?hi(s.segmentGroup,s.index,i.commands):xv(s.segmentGroup,s.index,i.commands);return jd(o,s.segmentGroup,a,n,r)}function Qa(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function mi(e){return typeof e=="object"&&e!=null&&e.outlets}
5function jd(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Rv(e,t,n);let a=_v(Tv(s));return new mt(a,i,o)}function Rv(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Rv(i,t,n)}),new L(e.segments,r)}var Ka=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Qa(r[0]))throw new v(4003,!1);let o=r.find(mi);if(o&&o!==yv(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Q_(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ka(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ka(n,t,r)}var Wr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function K_(e,t,n){if(e.isAbsolute)return new Wr(t,!0,0);if(!n)return new Wr(t,!1,NaN);if(n.parent===null)return new Wr(n,!0,0);let r=Qa(e.commands[0])?0:1,o=n.segments.length-1+r;return J_(n,o,e.numberOfDoubleDots)}function J_(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new Wr(r,!1,o-i)}function X_(e){return mi(e[0])?e[0].outlets:{[R]:e}}function xv(e,t,n){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return hi(e,t,n);let r=e0(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new L(e.segments.slice(0,r.pathIndex),{});return i.children[R]=new L(e.segments.slice(r.pathIndex),e.children),hi(i,0,o)}else return r.match&&o.length===0?new L(e.segments,{}):r.match&&!e.hasChildren()?Gd(e,t,n):r.match?hi(e,0,o):Gd(e,t,n)}function hi(e,t,n){if(n.length===0)return new L(e.segments,{});{let r=X_(n),o={};if(Object.keys(r).some(i=>i!==R)&&e.children[R]&&e.numberOfChildren===1&&e.children[R].segments.length===0){let i=hi(e.children[R],t,n);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=xv(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function e0(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(mi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!fv(c,u,s))return i;r+=2}else{if(!fv(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Gd(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(mi(i)){let c=t0(i.outlets);return new L(r,c)}if(o===0&&Qa(n[0])){let c=e.segments[t];r.push(new tn(c.path,dv(n[0]))),o++;continue}let s=mi(i)?i.outlets[R]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Qa(a)?(r.push(new tn(s,dv(a))),o+=2):(r.push(new tn(s,{})),o++)}return new L(r,{})}function t0(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Gd(new L([],{}),0,r))}),t}function dv(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function fv(e,t,n){return e==n.path&&ht(t,n.parameters)}var Zr="imperative",re=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(re||{}),xe=class{id;url;constructor(t,n){this.id=t,this.url=n}},rn=class extends xe{type=re.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ae=class extends xe{urlAfterRedirects;type=re.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},be=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
5solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(be||{}),Qr=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Qr||{}),gt=class extends xe{reason;code;type=re.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vt=class extends xe{reason;code;type=re.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Kr=class extends xe{error;target;type=re.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},vi=class extends xe{urlAfterRedirects;state;type=re.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ja=class extends xe{urlAfterRedirects;state;type=re.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xa=class extends xe{urlAfterRedirects;state;shouldActivate;type=re.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ec=class extends xe{urlAfterRedirects;state;type=re.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tc=class extends xe{urlAfterRedirects;state;type=re.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nc=class{route;type=re.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rc=class{route;type=re.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},oc=class{snapshot;type=re.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ic=class{snapshot;type=re.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sc=class{snapshot;type=re.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ac=class{snapshot;type=re.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jr=class{routerEvent;position;anchor;type=re.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},yi=class{},Xr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function n0(e){return!(e instanceof yi)&&!(e instanceof Xr)}function r0(e,t){return e.providers&&!e._injector&&(e._injector=Zo(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ke(e){return e.outlet||R}function o0(e,t){let n=e.filter(r=>Ke(r)===t);return n.push(...e.filter(r=>Ke(r)!==t)),n}function ro(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var cc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ro(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new oo(this.rootInjector)}},oo=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new cc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(J))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uc=class{_root;constructor(t){this._root=t}get root(){return this._root.value}
5parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=qd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Wd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Wd(t,this._root).map(n=>n.value)}};function qd(e,t){if(e===t.value)return t;for(let n of t.children){let r=qd(e,n);if(r)return r}return null}function Wd(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Wd(e,n);if(r.length)return r.unshift(t),r}return[]}var Re=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function qr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Di=class extends uc{snapshot;constructor(t,n){super(t),this.snapshot=n,tf(this,t)}toString(){return this.snapshot.toString()}};function Av(e){let t=i0(e),n=new te([new tn("",{})]),r=new te({}),o=new te({}),i=new te({}),s=new te(""),a=new Je(n,r,i,s,o,R,e,t.root);return a.snapshot=t.root,new Di(new Re(a,[]),t)}function i0(e){let t={},n={},r={},i=new qn([],t,r,"",n,R,e,null,{});return new Ei("",new Re(i,[]))}var Je=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[bi]))??b(void 0),this.url=t,this.params=n,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.params.pipe(x(t=>Wn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>Wn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function lc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&kv(o)&&(r.resolve[bi]=o.title),r}var qn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[bi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=Wn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Ei=class extends uc{url;constructor(t,n){super(n),this.url=t,tf(this,n)}toString(){return Ov(this._root)}};function tf(e,t){t.value._routerState=e,t.children.forEach(n=>tf(e,n))}function Ov(e){let t=e.children.length>0?` { ${e.children.map(Ov).join(", ")} } `:"";return`${e.value}${t}`}function Bd(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ht(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),ht(t.params,n.params)||e.paramsSubject.next(n.params),A_(t.url,n.url)||e.urlSubject.next(n.url),ht(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Zd(e,t){let n=ht(e.params,t.params)&&F_(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Zd(e.parent,t.parent))}
5function kv(e){return typeof e.title=="string"||e.title===null}var Pv=new I(""),nf=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=R;activateEvents=new me;deactivateEvents=new me;attachEvents=new me;detachEvents=new me;routerOutletData=ka(void 0);parentContexts=h(oo);location=h(Pn);changeDetector=h(Br);inputBinder=h(hc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Yd(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Lr({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ar]})}return e})(),Yd=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Je?this.route:t===oo?this.childContexts:t===Pv?this.outletData:this.parent.get(t,n)}},hc=new I("");var rf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Mt({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Jo(0,"router-outlet")},dependencies:[nf],encapsulation:2})}return e})();function of(e){let t=e.children&&e.children.map(of),n=t?F(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==R&&(n.component=rf),n}function s0(e,t,n){let r=Ci(e,t._root,n?n._root:void 0);return new Di(r,t)}function Ci(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=a0(e,t,n);return new Re(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ci(e,a)),s}}let r=c0(t.value),o=t.children.map(i=>Ci(e,i));return new Re(r,o)}}function a0(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ci(e,r,o);return Ci(e,r)})}function c0(e){return new Je(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var eo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Fv="ngNavigationCancelingError";function dc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=nn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Lv(!1,be.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Lv(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Fv]=!0,n.cancellationCode=t,n}function u0(e){return jv(e)&&nn(e.url)}function jv(e){return!!e&&e[Fv]}var l0=(e,t,n,r)=>x(o=>(new Qd(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Qd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Bd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=qr(n);
5t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=qr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=qr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=qr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ac(i.value.snapshot))}),t.children.length&&this.forwardEvent(new ic(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Bd(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let 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),Bd(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},fc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Yr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function d0(e,t,n){let r=e._root,o=t?t._root:null;return pi(r,o,n,[r.value])}function f0(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function io(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Jc(e)?e:t.get(e):r}function pi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=qr(t);return e.children.forEach(s=>{p0(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>gi(a,n.getContext(s),o)),o}function p0(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=h0(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new fc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?pi(e,t,a?a.children:null,r,o):pi(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Yr(a.outlet.component,s))}else s&&gi(t,a,o),o.canActivateChecks.push(new fc(r)),i.component?pi(e,null,a?a.children:null,r,o):pi(e,null,n,r,o);return o}function h0(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Gn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Gn(e.url,t.url)||!ht(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zd(e,t)||!ht(e.queryParams,t.queryParams);case"paramsChange":default:return!Zd(e,t)}}function gi(e,t,n){let r=qr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?gi(s,t.children.getContext(i),n):gi(s,null,n):gi(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Yr(t.outlet.component,o)):n.canDeactivateChecks.push(new Yr(null,o)):n.canDeactivateChecks.push(new Yr(null,o))}function _i(e){return typeof e=="function"}function g0(e){return typeof e=="boolean"}function m0(e){return e&&_i(e.canLoad)}function v0(e){return e&&_i(e.canActivate)}function y0(e){return e&&_i(e.canActivateChild)}function D0(e){return e&&_i(e.canDeactivate)}function E0(e){return e&&_i(e.canMatch)}function Bv(e){return e instanceof Ue||e?.name==="EmptyError"}var qa=Symbol("INITIAL_VALUE");function to(){return ie(e=>Ji(e.map(t=>t.pipe(Et(1),ar(qa)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===qa)return qa;if(n===!1||C0(n))return n}return!0}),oe(t=>t!==qa),Et(1)))}function C0(e){return nn(e)||e instanceof eo}function I0(e,t){return K(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(F(m({},n),{guardsResult:!0})):w0(s,r,o,e).pipe(K(a=>
5a&&g0(a)?b0(r,i,e,t):b(a)),x(a=>F(m({},n),{guardsResult:a})))})}function w0(e,t,n,r){return Q(e).pipe(K(o=>N0(o.component,o.route,n,t,r)),Ct(o=>o!==!0,!0))}function b0(e,t,n,r){return Q(t).pipe(Ft(o=>ir(T0(o.route.parent,r),_0(o.route,r),M0(e,o.path,n),S0(e,o.route,n))),Ct(o=>o!==!0,!0))}function _0(e,t){return e!==null&&t&&t(new sc(e)),b(!0)}function T0(e,t){return e!==null&&t&&t(new oc(e)),b(!0)}function S0(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>po(()=>{let s=ro(t)??n,a=io(i,s),c=v0(a)?a.canActivate(t,e):ce(s,()=>a(t,e));return Ot(c).pipe(Ct())}));return b(o).pipe(to())}function M0(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>f0(s)).filter(s=>s!==null).map(s=>po(()=>{let a=s.guards.map(c=>{let u=ro(s.node)??n,l=io(c,u),d=y0(l)?l.canActivateChild(r,e):ce(u,()=>l(r,e));return Ot(d).pipe(Ct())});return b(a).pipe(to())}));return b(i).pipe(to())}function N0(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=ro(t)??o,u=io(a,c),l=D0(u)?u.canDeactivate(e,t,n,r):ce(c,()=>u(e,t,n,r));return Ot(l).pipe(Ct())});return b(s).pipe(to())}function R0(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=io(s,e),c=m0(a)?a.canLoad(t,n):ce(e,()=>a(t,n));return Ot(c)});return b(i).pipe(to(),Uv(r))}function Uv(e){return _c(ee(t=>{if(typeof t!="boolean")throw dc(e,t)}),x(t=>t===!0))}function x0(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=io(s,e),c=E0(a)?a.canMatch(t,n):ce(e,()=>a(t,n));return Ot(c)});return b(i).pipe(to(),Uv(r))}var Ii=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},wi=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Gr(e){return Xe(new Ii(e))}function A0(e){return Xe(new v(4e3,!1))}function O0(e){return Xe(Lv(!1,be.GuardRejected))}var Kd=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[R])return A0(`${t.redirectTo}`);o=o.children[R]}}applyRedirectCommands(t,n,r,o,i){return k0(n,o,i).pipe(x(s=>{if(s instanceof mt)throw new wi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new wi(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new mt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new L(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function k0(e,t,n){if(typeof e=="string")return b(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Ot(ce(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Jd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function P0(e,t,n,r,o){let i=Vv(e,t,n);return i.matched?(r=r0(t,r),x0(r,t,n,o).pipe(x(s=>s===!0?i:m({},Jd)))):b(i)}function Vv(e,t,n){if(t.path==="**")return F0(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},Jd):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||mv)(n,e,t);if(!o)return m({},Jd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function F0(e){return{matched:!0,parameters:e.length>0?yv(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function pv(e,t,n,r){return n.length>0&&B0(e,n,r)?{segmentGroup:new L(t,j0(r,new L(n,e.children))),slicedSegments:[]}:n.length===0&&U0(e,n,r)?{segmentGroup:new L(e.segments,L0(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new L(e.segments,e.children),slicedSegments:n}}function L0(e,t,n,r){let o={};for(let i of n)if(gc(e,t,i)&&!r[Ke(i)]){let s=new L([],{});o[Ke(i)]=s}return m(m({},r),o)}function j0(e,t){let n={};n[R]=t;
5for(let r of e)if(r.path===""&&Ke(r)!==R){let o=new L([],{});n[Ke(r)]=o}return n}function B0(e,t,n){return n.some(r=>gc(e,t,r)&&Ke(r)!==R)}function U0(e,t,n){return n.some(r=>gc(e,t,r))}function gc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function V0(e,t,n){return t.length===0&&!e.children[n]}var Xd=class{};function $0(e,t,n,r,o,i,s="emptyOnly"){return new ef(e,t,n,r,o,s,i).recognize()}var H0=31,ef=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Kd(this.urlSerializer,this.urlTree)}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=pv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Re(r,n),i=new Ei("",o),s=Sv(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new qn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),R,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,R,n).pipe(x(r=>({children:r,rootSnapshot:n})),Ve(r=>{if(r instanceof wi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ii?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Re?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return Q(i).pipe(Ft(s=>{let a=r.children[s],c=o0(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Rc((s,a)=>(s.push(...a),s)),Lt(null),Nc(),K(s=>{if(s===null)return Gr(r);let a=$v(s);return z0(a),b(a)}))}processSegment(t,n,r,o,i,s,a){return Q(n).pipe(Ft(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Ve(u=>{if(u instanceof Ii)return b(null);throw u}))),Ct(c=>!!c),Ve(c=>{if(Bv(c))return V0(r,o,i)?b(new Xd):Gr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Ke(r)!==s&&(s===R||!gc(o,i,r))?Gr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Gr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=Vv(n,o,i);if(!c)return Gr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>H0&&(this.allowRedirects=!1));let f=new qn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,hv(o),Ke(o),o.component??o._loadedComponent??null,o,gv(o)),g=lc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(ie(D=>this.applyRedirects.lineralizeSegments(o,D)),K(D=>this.processSegment(t,r,n,D.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=P0(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(ie(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(ie(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,g=new qn(p,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,hv(r),Ke(r),r.component??r._loadedComponent??null,r,gv(r)),E=lc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:y}=pv(n,p,f,u);if(y.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(je=>new Re(g,je)));if(u.length===0&&y.length===0)return b(new Re(g,[]));let U=Ke(r)===i;
5return this.processSegment(l,u,D,y,U?R:i,!0,g).pipe(x(je=>new Re(g,je instanceof Re?[je]:[])))}))):Gr(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):R0(t,n,r,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(t,n).pipe(ee(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):O0(n))):b({routes:[],injector:t})}};function z0(e){e.sort((t,n)=>t.value.outlet===R?-1:n.value.outlet===R?1:t.value.outlet.localeCompare(n.value.outlet))}function G0(e){let t=e.value.routeConfig;return t&&t.path===""}function $v(e){let t=[],n=new Set;for(let r of e){if(!G0(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=$v(r.children);t.push(new Re(r.value,o))}return t.filter(r=>!n.has(r))}function hv(e){return e.data||{}}function gv(e){return e.resolve||{}}function q0(e,t,n,r,o,i){return K(s=>$0(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function W0(e,t){return K(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Hv(c))s.add(u);let a=0;return Q(s).pipe(Ft(c=>i.has(c)?Z0(c,r,e,t):(c.data=lc(c,c.parent,e).resolve,b(void 0))),ee(()=>a++),sr(1),K(c=>a===s.size?b(n):de))})}function Hv(e){let t=e.children.map(n=>Hv(n)).flat();return[e,...t]}function Z0(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!kv(o)&&(i[bi]=o.title),po(()=>(e.data=lc(e,e.parent,n).resolve,Y0(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=m(m({},e.data),s),null)))))}function Y0(e,t,n,r){let o=$d(e);if(o.length===0)return b({});let i={};return Q(o).pipe(K(s=>Q0(e[s],t,n,r).pipe(Ct(),ee(a=>{if(a instanceof eo)throw dc(new Zn,a);i[s]=a}))),sr(1),x(()=>i),Ve(s=>Bv(s)?de:Xe(s)))}function Q0(e,t,n,r){let o=ro(t)??r,i=io(e,o),s=i.resolve?i.resolve(t,n):ce(o,()=>i(t,n));return Ot(s)}function Ud(e){return ie(t=>{let n=e(t);return n?Q(n).pipe(x(()=>t)):b(t)})}var sf=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===R);return r}getResolvedTitleForRoute(n){return n.data[bi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(zv),providedIn:"root"})}return e})(),zv=(()=>{class e extends sf{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(cv))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),so=new I("",{providedIn:"root",factory:()=>({})}),Ti=new I(""),Gv=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(dd);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return b(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ot(ce(n,()=>r.loadComponent())).pipe(x(Wv),ie(Zv),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),et(()=>{this.componentLoaders.delete(r)})),i=new tr(o,()=>new H).pipe(er());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=qv(r,this.compiler,n,this.onLoadEndListener).pipe(et(()=>{this.childrenLoaders.delete(r)})),s=new tr(i,()=>new H).pipe(er());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qv(e,t,n,r){return Ot(ce(n,()=>e.loadChildren())).pipe(x(Wv),ie(Zv),K(o=>o instanceof Da||Array.isArray(o)?b(o):Q(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Ti,[],{optional:!0,self:!0}).flat()),{routes:s.map(of),injector:i}}))}function K0(e){return e&&typeof e=="object"&&"default"in e}function Wv(e){return K0(e)?e.default:e}function Zv(e){return b(e)}var mc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(J0),providedIn:"root"})}return e})(),J0=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yv=new I("");var Qv=new I(""),af=(()=>{class e{currentNavigation=Me(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new H;
5transitionAbortWithErrorSubject=new H;configLoader=h(Gv);environmentInjector=h(J);destroyRef=h(he);urlSerializer=h(no);rootContexts=h(oo);location=h($n);inputBindingEnabled=h(hc,{optional:!0})!==null;titleStrategy=h(sf);options=h(so,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(mc);createViewTransition=h(Yv,{optional:!0});navigationErrorHandler=h(Qv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>b(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new nc(o)),r=o=>this.events.next(new rc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;Ne(()=>{this.transitions?.next(F(m({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new te(null),this.transitions.pipe(oe(r=>r!==null),ie(r=>{let o=!1;return b(r).pipe(ie(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",be.SupersededByNewNavigation),de;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?F(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new vt(i.id,this.urlSerializer.serialize(i.rawUrl),"",Qr.IgnoredSameUrlNavigation)),i.resolve(!1),de;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return b(i).pipe(ie(c=>(this.events.next(new rn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?de:Promise.resolve(c))),q0(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new vi(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:p}=i,f=new rn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=Av(this.rootComponentType).snapshot;return this.currentTransition=r=F(m({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(m({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),b(r)}else return this.events.next(new vt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",Qr.IgnoredByUrlHandlingStrategy)),i.resolve(!1),de}),ee(i=>{let s=new Ja(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(m({},i),{guards:d0(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),I0(this.environmentInjector,i=>this.events.next(i)),ee(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw dc(this.urlSerializer,i.guardsResult);let s=new Xa(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),oe(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",be.GuardRejected),!1)),Ud(i=>{if(i.guards.canActivateChecks.length!==0)return b(i).pipe(ee(s=>{let a=new ec(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ie(s=>{let a=!1;return b(s).pipe(W0(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>a=!0,complete:()=>
5{a||this.cancelNavigationTransition(s,"",be.NoDataFromResolver)}}))}),ee(s=>{let a=new tc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Ud(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=ro(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(ee(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Ji(s(i.targetSnapshot.root)).pipe(Lt(null),Et(1))}),Ud(()=>this.afterPreactivation()),ie(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?Q(a).pipe(x(()=>r)):b(r)}),x(i=>{let s=s0(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(m({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),ee(()=>{this.events.next(new yi)}),l0(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Et(1),cr(new O(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(oe(()=>!o&&!r.targetRouterState),ee(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",be.Aborted)}))),ee({next:i=>{o=!0,this.lastSuccessfulNavigation=Ne(this.currentNavigation),this.events.next(new Ae(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),cr(this.transitionAbortWithErrorSubject.pipe(ee(i=>{throw i}))),et(()=>{o||this.cancelNavigationTransition(r,"",be.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ve(i=>{if(this.destroyed)return r.resolve(!1),de;if(o=!0,jv(i))this.events.next(new gt(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),u0(i)?this.events.next(new Xr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Kr(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=ce(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof eo){let{message:c,cancellationCode:u}=dc(this.urlSerializer,a);this.events.next(new gt(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new Xr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return de}))}))}cancelNavigationTransition(n,r,o){let i=new gt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Ne(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function X0(e){return e!==Zr}var Kv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(eT),providedIn:"root"})}return e})(),pc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},eT=(()=>{class e extends pc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=ca(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jv=(()=>{class e{urlSerializer=h(no);options=h(so,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h($n);urlHandlingStrategy=h(mc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new mt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof mt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Av(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>h(tT),providedIn:"root"})}return e})(),tT=(()=>{class e extends Jv{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof rn?this.updateStateMemento():n instanceof vt?this.commitTransition(r):n instanceof vi?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof yi?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof gt&&n.code!==be.SupersededByNewNavigation&&n.c
5ode!==be.Redirect?this.restoreHistory(r):n instanceof Kr?this.restoreHistory(r,!0):n instanceof Ae&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=m(m({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=ca(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cf(e,t){e.events.pipe(oe(n=>n instanceof Ae||n instanceof gt||n instanceof Kr||n instanceof vt),x(n=>n instanceof Ae||n instanceof vt?0:(n instanceof gt?n.code===be.Redirect||n.code===be.SupersededByNewNavigation:!1)?2:1),oe(n=>n!==2),Et(1)).subscribe(()=>{t()})}var nT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},yt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Yl);stateManager=h(Jv);options=h(so,{optional:!0})||{};pendingTasks=h(ut);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(af);urlSerializer=h(no);location=h($n);urlHandlingStrategy=h(mc);injector=h(J);_events=new H;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(Kv);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Ti,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(hc,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Ne(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof gt&&r.code!==be.Redirect&&r.code!==be.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ae)this.navigated=!0;else if(r instanceof Xr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||X0(o.source)},s);this.scheduleNavigation(a,Zr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}n0(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(ge)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Ne(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(of),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=Mv(p)}
5catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Nv(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=nn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Zr,null,r)}navigate(n,r={skipLocationChange:!1}){return oT(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(He(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},nT):r===!1?o=m({},rT):o=r,nn(n))return uv(this.currentUrlTree,n,o);let i=this.parseUrl(n);return uv(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,p)=>{a=d,c=p});let l=this.pendingTasks.add();return cf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oT(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}var vc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Me(null);get href(){return Ne(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new H;applicationErrorHandler=h(ge);options=h(so,{optional:!0});constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.reactiveHref.set(h(new Oa("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let n=this.preserveFragment,r=o=>o==="merge"||o==="preserve";n||=r(this.queryParamsHandling),n||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),n&&(this.subscription=this.router.events.subscribe(o=>{o instanceof Ae&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(nn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.reactiveHref.set(n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??"":null)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:nn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(Te(yt),Te(Je),$o("tabindex"),Te(Wo),Te(St),Te(Vn))};static \u0275dir=Lr({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&ei("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Qt("href",o.reactiveHref(),xl)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ni],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ni],replaceUrl:[2,"replaceUrl","replaceUrl",ni],routerLink:"routerLink"},features:[Ar]})}return e})();var Xv=new I(""),iT=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Zr;restoredId=0;store={};constructor(n,r,o,i,s={}
5){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof rn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ae?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof vt&&n.code===Qr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof Jr))return;let r={behavior:"instant"};n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Yn(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Jr(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Zl()};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function sT(e,...t){return rt([{provide:Ti,multi:!0,useValue:e},[],{provide:Je,useFactory:aT,deps:[yt]},{provide:Ia,multi:!0,useFactory:lT},t.map(n=>n.\u0275providers)])}function aT(e){return e.routerState.root}function cT(e,t){return{\u0275kind:e,\u0275providers:t}}function uT(e={}){return cT(4,[{provide:Xv,useFactory:()=>{let n=h($m),r=h(W),o=h(af),i=h(no);return new iT(i,o,n,r,e)}}])}function lT(){let e=h(Ee);return t=>{let n=e.get(jn);if(t!==n.components[0])return;let r=e.get(yt),o=e.get(dT);e.get(fT)===1&&r.initialNavigation(),e.get(pT,null,{optional:!0})?.setUpPreloading(),e.get(Xv,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var dT=new I("",{factory:()=>new H}),fT=new I("",{providedIn:"root",factory:()=>1});var pT=new I("");function nH(e){e||(e=h(he));let t=new O(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(cr(t))}function ey(e,t){let r=!t?.manualCleanup?t?.injector?.get(he)??h(he):null,o=hT(t?.equal),i;t?.requireSync?i=Me({kind:0},{equal:o}):i=Me({kind:1,value:t?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(t?.requireSync&&i().kind===0)throw new v(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),gd(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new v(601,!1)}},{equal:t?.equal})}function hT(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}var gT=(e,t)=>t.url;function mT(e,t){if(e&1&&(Kt(0,"a",1),Nt(1),Jt()),e&2){let n=Bn(2).$implicit;Ko("href",n.url,Ho),Qt("aria-label",n.label),ft(),Un(" ",n.label," ")}}function vT(e,t){if(e&1&&(Kt(0,"a",2),Nt(1),Jt()),e&2){let n=Bn(2).$implicit;Ko("routerLink",n.url),Qt("aria-label",n.label),ft(),Un(" ",n.label," ")}}function yT(e,t){if(e&1&&Yo(0,mT,2,3,"a",1)(1,vT,2,3,"a",2),e&2){let n=Bn().$implicit;Qo(n.url.startsWith("http")?0:1)}}function DT(e,t){if(e&1&&Nt(0),e&2){let n=Bn().$implicit;Un(" ",n.label," ")}}function ET(e,t){if(e&1&&(Kt(0,"li"),Yo(1,yT,2,1)(2,DT,1,1),Jt()),e&2){let n=t.$implicit;Qt("aria-current",n.isActive?"page":null),ft(),Qo(n.isActive?2:1)}}var ty=["*"];function CT(e,t){if(e&1&&(pt(0,"div",0)(1,"p",1),Nt(2),Sa(3,"async"),Qe()()),e&2){let n=Bn();ft(2),jr(Ma(3,1,n.loading$)?n.LOADER_STATE.LOADING:n.LOADER_STATE.LOADED)}}var IT=["modal"];var ny=(()=>{let t=class t{constructor(){this.router=h(yt),this.currentError=Me(null)}handleError(r){if(r&&r?.name==="HttpErrorResponse"&&r?.status>=500&&r?.status<600){let o=this.parseError(r);o.status>=500&&o.status<600&&this.router.navigate(["/error"],{state:{error:o}})}}parseError(r){return{status:500,title:"Erreur technique",message:"Une erreur technique est survenue, merci de r\xE9essayer ult\xE9rieurement"}}getCurrentError(){return this.currentError()}clearError(){this.currentError.set(null)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ry=(()=>{let t=class t{constructor(){this.isLoading=new te(!1),this.requestCount=0,this.loading$=this.isLoading.asObservable()}show(){this.requestCount++,this.isLoading.next(!0)}hide(){this.requestCount--,this.requestCount<=0&&(this.requestCount=0,this.isLoading.next(!1))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),oy=(function(e){return e.WARNING="wa",e.INFO="i",e.OK="ok",e.KO="ko",e})(oy||{}),uf=new I("window"),wT={provide:uf,useFactory:()=>window};function bH(){return[wT]}var _H=(()=>{let t=class t{constructor(){this.router=h(yt),this.window=h(uf);let o=this.router.currentNavigation()?.extras?.state?.error;o&&(this.errorTitle=o.title,this.errorMessage=o.message,this.returnUrl=this.window.location.href.split("/").splice(0,4).join("/").concat("/"))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mt({type:t,selectors:[["sfcu-error-page"]],decls:10,vars:3,consts:[[1,"W"],["role","status",1,"message","ko"],[1,"link",3,"href"]],template:function(o,i){o&1&&(pt(0,"div",0)(1,"div",1)(2,"p")(3,"b"),Nt(4),Qe()(),pt(5,"p"),Nt(6),Qe(),pt(7,"div")(8,"a",2),Nt(9,"Retour \xE0 l'accueil"),Qe()()()()),o&2&&(ft(4),jr(i.errorTitle),ft(2),jr(i.errorMessage),ft(2),wa("href",i.returnUrl,Ho))},encapsulation:2});let e=t;return e})(),TH=(()=>{let t=class t{constructor(){this.router=h(yt),this.activatedRoute=h(Je),this.window=h(uf),this.navigationEnd$=this.router.events.pipe(oe(r=>r instanceof Ae),ar(null),x(()=>this.buildBreadcrumbs())),this.breadcrumbs=ey(this.navigationEnd$,{initialValue:[]})}buildBreadcrumbs(){let r=[],o=this.window.location.origin,i=o.includes("pfv")?"https://www.pfv.sfr.fr":"https://www.sfr.fr";i=o.includes("futpsw")?"https://futpsw.sfr.fr":o.includes("cms")?"https://cms.sfr.fr":i;let s={label:"Accueil",ariaLabel:"Accueil espace client",url:`${i}/mon-espace-client/`,isActive:!1};r.push(s);let a=this.activatedRoute;for(;a.firstChild;)a=a.firstChild;let c=a.snapshot.url.map(l=>l.path).join("/"),u=a.snapshot.data;if(u.breadcrumbLabel){let l=u.isBase===!0,d=u.showBase===!0;if(l)r.push({label:u.breadcrumbLabel,ariaLabel:u.breadcrumbAriaLabel,url:`/${c}`,isActive:!0});else if(d){let p=this.findBaseRoute();p&&r.push({label:p.label,ariaLabel:p.ariaLabel,url:p.url,isActive:!1}),r.push({label:u.breadcrumbLabel,ariaLabel:u.breadcrumbAriaLabel,url:`/${c}`,isActive:!0})}else r.push({label:u.breadcrumbLabel,ariaLabel:u.breadcrumbAriaLabel,url:`/${c}`,isActive:!0})}return r}findBaseRoute(){let r=this.router.config;for(let o of r)if(o.data&&o.data.isBase===!0&&o.data.breadcrumbLabel)return{label:o.data.breadcrumbLabel,ariaLabel:o.data.breadcrumbAriaLabel,url:`/${o.path}`};return null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mt({type:t,selectors:[["sfcu-breadcrumb"]],decls:4,vars:0,consts:[["aria-label","fil d'ariane","id","FilAriane"],[3,"href"],[3,"routerLink"]],template:function(o,i){o&1&&(Kt(0,"nav",0)(1,"ol"),ed(2,ET,3,2,"li",null,gT),Jt()()),o&2&&(ft(2),td(i.breadcrumbs()))},dependencies:[Pa,vc],encapsulation:2});let e=t;return e})(),SH=(()=>{let t=class t{constructor(){this.type=oy.INFO}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mt({type:t,selectors:[["sfcu-message"]],inputs:{type:"type"},ngContentSelectors:ty,decls:2,vars:2,consts:[["role","status",1,"message"]],template:function(o,i){o&1&&(_a(),pt(0,"div",0),Ta(1),Qe()
5),o&2&&ad(i.type)},encapsulation:2});let e=t;return e})(),iy=(function(e){return e.LOADING="Chargement en cours",e.LOADED="Chargement termin\xE9",e})(iy||{}),MH=(()=>{let t=class t{constructor(){this.loaderService=h(ry),this.LOADER_STATE=iy}ngOnInit(){this.loading$=this.loaderService.loading$}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mt({type:t,selectors:[["sfcu-loader"]],decls:2,vars:3,consts:[["id","Spinner","role","status","aria-live","polite"],[1,"hid"]],template:function(o,i){o&1&&(Yo(0,CT,4,3,"div",0),Sa(1,"async")),o&2&&Qo(Ma(1,1,i.loading$)?0:-1)},dependencies:[Id],encapsulation:2});let e=t;return e})(),NH=(()=>{let t=class t{constructor(){this.isOpen=ka.required(),this.closeModal=Am(),this.modal=Om("modal"),xa(()=>{this.isOpen()?this.modal()?.nativeElement.showModal():this.modal()?.nativeElement.close()})}ngAfterViewInit(){this.modal()?.nativeElement.addEventListener("cancel",r=>{r.preventDefault(),this.close()})}close(){this.closeModal.emit()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Mt({type:t,selectors:[["sfcu-modal"]],viewQuery:function(o,i){o&1&&od(i.modal,IT,5),o&2&&id()},inputs:{isOpen:[1,"isOpen"]},outputs:{closeModal:"closeModal"},ngContentSelectors:ty,decls:4,vars:0,consts:[["modal",""],[1,"POPIN"],["aria-label","Fermer la fen\xEAtre",3,"click"]],template:function(o,i){if(o&1){let s=rd();_a(),pt(0,"dialog",1,0)(2,"button",2),ba("click",function(){return _s(s),Ts(i.close())}),Qe(),Ta(3),Qe()}},encapsulation:2});let e=t;return e})();var bT=(()=>{let t=class t{constructor(){this.errorService=h(ny)}handleError(r){console.error(r),!r?._handledByInterceptor&&this.errorService.handleError(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),_T={provide:Ce,useClass:bT};function RH(){return[_T]}var TT=new Hr(()=>!1),xH=(e,t)=>{let n=h(ny);return e.context.get(TT)?t(e):t(e).pipe(Ve(r=>((r.status>=400&&r.status<=404||r.status>=500&&r.status<600)&&(n.handleError(r),r._handledByInterceptor=!0),Xe(()=>r))))},ST=new Hr(()=>!1),AH=(e,t)=>{let n=h(ry),r=e.context.get(ST);return r&&n.show(),t(e).pipe(et(()=>{r&&n.hide()}))},OH=(e,t)=>{let n=h(yt);return n.currentNavigation()?.extras?.state?.error?!0:(n.navigate(["/"]),!1)};export{m as a,F as b,ly as c,Yn as d,O as e,H as f,te as g,by as h,de as i,yf as j,fo as k,Q as l,b as m,Xe as n,Ty as o,x as p,K as q,ir as r,Py as s,Mc as t,oe as u,Ve as v,et as w,Ly as x,jy as y,Ac as z,By as A,ar as B,ie as C,ee as D,v as E,gs as F,C as G,Ut as H,I,T as J,h as K,rt as L,J as M,ce as N,_s as O,Ts as P,Ee as Q,he as R,vD as S,Me as T,Ar as U,ca as V,St as W,Ho as X,ft as Y,me as Z,W as _,ug as $,Wo as aa,Te as ba,Mt as ca,Fn as da,Lr as ea,em as fa,Ln as ga,tm as ha,jn as ia,Qt as ja,Yo as ka,Qo as la,om as ma,ed as na,td as oa,Ko as pa,Kt as qa,Jt as ra,Jo as sa,pt as ta,Qe as ua,nd as va,rd as wa,wa as xa,ei as ya,ba as za,Bn as Aa,od as Ba,id as Ca,um as Da,sd as Ea,Nt as Fa,jr as Ga,Un as Ha,cd as Ia,ud as Ja,vm as Ka,hw as La,gw as Ma,ym as Na,Ew as Oa,Tw as Pa,Ne as Qa,gd as Ra,xa as Sa,Am as Ta,ka as Ua,Om as Va,Br as Wa,xt as Xa,t_ as Ya,en as Za,$a as _a,Vr as $a,kd as ab,N_ as bb,R_ as cb,Je as db,nf as eb,yt as fb,vc as gb,sT as hb,uT as ib,nH as jb,ey as kb,ny as lb,ry as mb,oy as nb,uf as ob,bH as pb,_H as qb,TH as rb,SH as sb,MH as tb,NH as ub,RH as vb,TT as wb,xH as xb,ST as yb,AH as zb,OH as Ab};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.