@amadeus-it-group/ngrx-devtool 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,249 +0,0 @@
1
- var fS=Object.defineProperty,hS=Object.defineProperties;var pS=Object.getOwnPropertyDescriptors;var yb=Object.getOwnPropertySymbols;var gS=Object.prototype.hasOwnProperty,_S=Object.prototype.propertyIsEnumerable;var Cb=(t,n,e)=>n in t?fS(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,C=(t,n)=>{for(var e in n||={})gS.call(n,e)&&Cb(t,e,n[e]);if(yb)for(var e of yb(n))_S.call(n,e)&&Cb(t,e,n[e]);return t},ie=(t,n)=>hS(t,pS(n));var xe=(t,n,e)=>new Promise((i,r)=>{var o=c=>{try{s(e.next(c))}catch(l){r(l)}},a=c=>{try{s(e.throw(c))}catch(l){r(l)}},s=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);s((e=e.apply(t,n)).next())});var Rt=null,nl=!1,pf=1,vS=null,Ct=Symbol("SIGNAL");function ee(t){let n=Rt;return Rt=t,n}function rl(){return Rt}var ho={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 po(t){if(nl)throw new Error("");if(Rt===null)return;Rt.consumerOnSignalRead(t);let n=Rt.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Rt.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Rt.producers,e!==void 0&&e.producer===t)){Rt.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Rt&&(!i||yS(r,Rt)))return;let o=vo(Rt),a={producer:t,consumer:Rt,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Rt.producersTail=a,n!==void 0?n.nextProducer=a:Rt.producers=a,o&&Eb(t,a)}function wb(){pf++}function gf(t){if(!(vo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===pf)){if(!t.producerMustRecompute(t)&&!_o(t)){hf(t);return}t.producerRecomputeValue(t),hf(t)}}function _f(t){if(t.consumers===void 0)return;let n=nl;nl=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||bS(i)}}finally{nl=n}}function vf(){return Rt?.consumerAllowSignalWrites!==!1}function bS(t){t.dirty=!0,_f(t),t.consumerMarkedDirty?.(t)}function hf(t){t.dirty=!1,t.lastCleanEpoch=pf}function ur(t){return t&&xb(t),ee(t)}function xb(t){t.producersTail=void 0,t.recomputing=!0}function go(t,n){ee(n),t&&Db(t)}function Db(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(vo(t))do e=bf(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function _o(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(gf(e),i!==e.version))return!0}return!1}function Ai(t){if(vo(t)){let n=t.producers;for(;n!==void 0;)n=bf(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Eb(t,n){let e=t.consumersTail,i=vo(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)Eb(r.producer,r)}function bf(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!vo(n)){let o=n.producers;for(;o!==void 0;)o=bf(o)}return e}function vo(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function yf(t){vS?.(t)}function yS(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function Cf(t,n){return Object.is(t,n)}function Wa(t,n){let e=Object.create(CS);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(gf(e),po(e),e.value===il)throw e.error;return e.value};return i[Ct]=e,yf(e),i}var mf=Symbol("UNSET"),ff=Symbol("COMPUTING"),il=Symbol("ERRORED"),CS=ie(C({},ho),{value:mf,dirty:!0,error:null,equal:Cf,kind:"computed",producerMustRecompute(t){return t.value===mf||t.value===ff},producerRecomputeValue(t){if(t.value===ff)throw new Error("");let n=t.value;t.value=ff;let e=ur(t),i,r=!1;try{i=t.computation(),ee(null),r=n!==mf&&n!==il&&i!==il&&t.equal(n,i)}catch(o){i=il,t.error=o}finally{go(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function wS(){throw new Error}var Mb=wS;function Ib(t){Mb(t)}function wf(t){Mb=t}var xS=null;function xf(t,n){let e=Object.create(qa);e.value=t,n!==void 0&&(e.equal=n);let i=()=>Sb(e);return i[Ct]=e,yf(e),[i,a=>Ga(e,a),a=>Tb(e,a)]}function Sb(t){return po(t),t.value}function Ga(t,n){vf()||Ib(t),t.equal(t.value,n)||(t.value=n,DS(t))}function Tb(t,n){vf()||Ib(t),Ga(t,n(t.value))}var qa=ie(C({},ho),{equal:Cf,value:void 0,kind:"signal"});function DS(t){t.version++,wb(),_f(t),xS?.(t)}function Df(t){let n=ee(null);try{return t()}finally{ee(n)}}var Ef=ie(C({},ho),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Mf(t){if(t.dirty=!1,t.version>0&&!_o(t))return;t.version++;let n=ur(t);try{t.cleanup(),t.fn()}finally{go(t,n)}}function te(t){return typeof t=="function"}function bo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var ol=bo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
- ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=e});function mr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Q=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(te(i))try{i()}catch(o){n=o instanceof ol?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{kb(o)}catch(a){n=n??[],a instanceof ol?n=[...n,...a.errors]:n.push(a)}}if(n)throw new ol(n)}}add(n){var e;if(n&&n!==this)if(this.closed)kb(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&mr(e,n)}remove(n){let{_finalizers:e}=this;e&&mr(e,n),n instanceof t&&n._removeParent(this)}};Q.EMPTY=(()=>{let t=new Q;return t.closed=!0,t})();var If=Q.EMPTY;function al(t){return t instanceof Q||t&&"closed"in t&&te(t.remove)&&te(t.add)&&te(t.unsubscribe)}function kb(t){te(t)?t():t.unsubscribe()}var vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var yo={setTimeout(t,n,...e){let{delegate:i}=yo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=yo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function sl(t){yo.setTimeout(()=>{let{onUnhandledError:n}=vn;if(n)n(t);else throw t})}function Qa(){}var Ab=Sf("C",void 0,void 0);function Rb(t){return Sf("E",void 0,t)}function Ob(t){return Sf("N",t,void 0)}function Sf(t,n,e){return{kind:t,value:n,error:e}}var fr=null;function Co(t){if(vn.useDeprecatedSynchronousErrorHandling){let n=!fr;if(n&&(fr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=fr;if(fr=null,e)throw i}}else t()}function Pb(t){vn.useDeprecatedSynchronousErrorHandling&&fr&&(fr.errorThrown=!0,fr.error=t)}var ni=class extends Q{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,al(n)&&n.add(this)):this.destination=IS}static create(n,e,i){return new ii(n,e,i)}next(n){this.isStopped?kf(Ob(n),this):this._next(n)}error(n){this.isStopped?kf(Rb(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?kf(Ab,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ES=Function.prototype.bind;function Tf(t,n){return ES.call(t,n)}var Af=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){cl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){cl(i)}else cl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){cl(e)}}},ii=class extends ni{constructor(n,e,i){super();let r;if(te(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&vn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Tf(n.next,o),error:n.error&&Tf(n.error,o),complete:n.complete&&Tf(n.complete,o)}):r=n}this.destination=new Af(r)}};function cl(t){vn.useDeprecatedSynchronousErrorHandling?Pb(t):sl(t)}function MS(t){throw t}function kf(t,n){let{onStoppedNotification:e}=vn;e&&yo.setTimeout(()=>e(t,n))}var IS={closed:!0,next:Qa,error:MS,complete:Qa};var wo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Yt(t){return t}function Rf(...t){return Of(t)}function Of(t){return t.length===0?Yt:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var G=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=TS(e)?e:new ii(e,i,r);return Co(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Nb(i),new i((r,o)=>{let a=new ii({next:s=>{try{e(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[wo](){return this}pipe(...e){return Of(e)(this)}toPromise(e){return e=Nb(e),new e((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function Nb(t){var n;return(n=t??vn.Promise)!==null&&n!==void 0?n:Promise}function SS(t){return t&&te(t.next)&&te(t.error)&&te(t.complete)}function TS(t){return t&&t instanceof ni||SS(t)&&al(t)}function Pf(t){return te(t?.lift)}function me(t){return n=>{if(Pf(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function se(t,n,e,i,r){return new Nf(t,n,e,i,r)}var Nf=class extends ni{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){n.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Fb(){return me((t,n)=>{let e=null;t._refCount++;let i=se(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Za=class extends G{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Pf(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Q;let e=this.getSubject();n.add(this.source.subscribe(se(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Q.EMPTY)}return n}refCount(){return Fb()(this)}};var xo={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=xo;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(o=>{e=void 0,t(o)});return new Q(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=xo;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=xo;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Lb=bo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var D=(()=>{class t extends G{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Do(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Lb}next(e){Co(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Co(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Co(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?If:(this.currentObservers=null,o.push(e),new Q(()=>{this.currentObservers=null,mr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new G;return e.source=this,e}}return t.create=(n,e)=>new Do(n,e),t})(),Do=class extends D{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:If}};var Xe=class extends D{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Ya={now(){return(Ya.delegate||Date).now()},delegate:void 0};var bn=class extends D{constructor(n=1/0,e=1/0,i=Ya){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=e.now(),s=0;for(let c=1;c<i.length&&i[c]<=a;c+=2)s=c;s&&i.splice(0,s+1)}}};var ll=class extends Q{constructor(n,e){super()}schedule(n,e=0){return this}};var Ka={setInterval(t,n,...e){let{delegate:i}=Ka;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Ka;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Ri=class extends ll{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return Ka.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Ka.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,mr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var kS=1,Ff,Lf={};function Bb(t){return t in Lf?(delete Lf[t],!0):!1}var jb={setImmediate(t){let n=kS++;return Lf[n]=!0,Ff||(Ff=Promise.resolve()),Ff.then(()=>Bb(n)&&t()),n},clearImmediate(t){Bb(t)}};var{setImmediate:AS,clearImmediate:RS}=jb,Xa={setImmediate(...t){let{delegate:n}=Xa;return(n?.setImmediate||AS)(...t)},clearImmediate(t){let{delegate:n}=Xa;return(n?.clearImmediate||RS)(t)},delegate:void 0};var dl=class extends Ri{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Xa.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Xa.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Eo=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Eo.now=Ya.now;var Oi=class extends Eo{constructor(n,e=Eo.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var ul=class extends Oi{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var Ja=new ul(dl);var es=new Oi(Ri),Vb=es;var ml=class extends Ri{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=xo.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&e===n._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(xo.cancelAnimationFrame(e),n._scheduled=void 0)}};var fl=class extends Oi{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var ts=new fl(ml);var Ye=new G(t=>t.complete());function hl(t){return t&&te(t.schedule)}function Bf(t){return t[t.length-1]}function pl(t){return te(Bf(t))?t.pop():void 0}function Ln(t){return hl(Bf(t))?t.pop():void 0}function Hb(t,n){return typeof Bf(t)=="number"?t.pop():n}function Ub(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(d){try{l(i.next(d))}catch(m){a(m)}}function c(d){try{l(i.throw(d))}catch(m){a(m)}}function l(d){d.done?o(d.value):r(d.value).then(s,c)}l((i=i.apply(t,n||[])).next())})}function zb(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function hr(t){return this instanceof hr?(this.v=t,this):new hr(t)}function $b(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(f){return function(y){return Promise.resolve(y).then(f,m)}}function s(f,y){i[f]&&(r[f]=function(E){return new Promise(function(M,I){o.push([f,E,M,I])>1||c(f,E)})},y&&(r[f]=y(r[f])))}function c(f,y){try{l(i[f](y))}catch(E){h(o[0][3],E)}}function l(f){f.value instanceof hr?Promise.resolve(f.value.v).then(d,m):h(o[0][2],f)}function d(f){c("next",f)}function m(f){c("throw",f)}function h(f,y){f(y),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Wb(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof zb=="function"?zb(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,c){a=t[o](a),r(s,c,a.done,a.value)})}}function r(o,a,s,c){Promise.resolve(c).then(function(l){o({value:l,done:s})},a)}}var Mo=t=>t&&typeof t.length=="number"&&typeof t!="function";function gl(t){return te(t?.then)}function _l(t){return te(t[wo])}function vl(t){return Symbol.asyncIterator&&te(t?.[Symbol.asyncIterator])}function bl(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function OS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yl=OS();function Cl(t){return te(t?.[yl])}function wl(t){return $b(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield hr(e.read());if(r)return yield hr(void 0);yield yield hr(i)}}finally{e.releaseLock()}})}function xl(t){return te(t?.getReader)}function Ee(t){if(t instanceof G)return t;if(t!=null){if(_l(t))return PS(t);if(Mo(t))return NS(t);if(gl(t))return FS(t);if(vl(t))return Gb(t);if(Cl(t))return LS(t);if(xl(t))return BS(t)}throw bl(t)}function PS(t){return new G(n=>{let e=t[wo]();if(te(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function NS(t){return new G(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function FS(t){return new G(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,sl)})}function LS(t){return new G(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Gb(t){return new G(n=>{jS(t,n).catch(e=>n.error(e))})}function BS(t){return Gb(wl(t))}function jS(t,n){var e,i,r,o;return Ub(this,void 0,void 0,function*(){try{for(e=Wb(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function $t(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function Dl(t,n=0){return me((e,i)=>{e.subscribe(se(i,r=>$t(i,t,()=>i.next(r),n),()=>$t(i,t,()=>i.complete(),n),r=>$t(i,t,()=>i.error(r),n)))})}function El(t,n=0){return me((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function qb(t,n){return Ee(t).pipe(El(n),Dl(n))}function Qb(t,n){return Ee(t).pipe(El(n),Dl(n))}function Zb(t,n){return new G(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function Yb(t,n){return new G(e=>{let i;return $t(e,n,()=>{i=t[yl](),$t(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>te(i?.return)&&i.return()})}function Ml(t,n){if(!t)throw new Error("Iterable cannot be null");return new G(e=>{$t(e,n,()=>{let i=t[Symbol.asyncIterator]();$t(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Kb(t,n){return Ml(wl(t),n)}function Xb(t,n){if(t!=null){if(_l(t))return qb(t,n);if(Mo(t))return Zb(t,n);if(gl(t))return Qb(t,n);if(vl(t))return Ml(t,n);if(Cl(t))return Yb(t,n);if(xl(t))return Kb(t,n)}throw bl(t)}function Ge(t,n){return n?Xb(t,n):Ee(t)}function $(...t){let n=Ln(t);return Ge(t,n)}function ns(t,n){let e=te(t)?t:()=>t,i=r=>r.error(e());return new G(n?r=>n.schedule(i,0,r):i)}function Bn(t){return!!t&&(t instanceof G||te(t.lift)&&te(t.subscribe))}var pr=bo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Jb(t){return t instanceof Date&&!isNaN(t)}function X(t,n){return me((e,i)=>{let r=0;e.subscribe(se(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:VS}=Array;function HS(t,n){return VS(n)?t(...n):t(n)}function Io(t){return X(n=>HS(t,n))}var{isArray:zS}=Array,{getPrototypeOf:US,prototype:$S,keys:WS}=Object;function Il(t){if(t.length===1){let n=t[0];if(zS(n))return{args:n,keys:null};if(GS(n)){let e=WS(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function GS(t){return t&&typeof t=="object"&&US(t)===$S}function Sl(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function ri(...t){let n=Ln(t),e=pl(t),{args:i,keys:r}=Il(t);if(i.length===0)return Ge([],n);let o=new G(qS(i,n,r?a=>Sl(r,a):Yt));return e?o.pipe(Io(e)):o}function qS(t,n,e=Yt){return i=>{ey(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let c=0;c<r;c++)ey(n,()=>{let l=Ge(t[c],n),d=!1;l.subscribe(se(i,m=>{o[c]=m,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function ey(t,n,e){t?$t(e,t,n):n()}function ty(t,n,e,i,r,o,a,s){let c=[],l=0,d=0,m=!1,h=()=>{m&&!c.length&&!l&&n.complete()},f=E=>l<i?y(E):c.push(E),y=E=>{o&&n.next(E),l++;let M=!1;Ee(e(E,d++)).subscribe(se(n,I=>{r?.(I),o?f(I):n.next(I)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&l<i;){let I=c.shift();a?$t(n,a,()=>y(I)):y(I)}h()}catch(I){n.error(I)}}))};return t.subscribe(se(n,f,()=>{m=!0,h()})),()=>{s?.()}}function dt(t,n,e=1/0){return te(n)?dt((i,r)=>X((o,a)=>n(i,o,r,a))(Ee(t(i,r))),e):(typeof n=="number"&&(e=n),me((i,r)=>ty(i,r,t,e)))}function Tl(t=1/0){return dt(Yt,t)}function ny(){return Tl(1)}function Pi(...t){return ny()(Ge(t,Ln(t)))}function gr(t){return new G(n=>{Ee(t()).subscribe(n)})}function is(...t){let n=pl(t),{args:e,keys:i}=Il(t),r=new G(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),c=a,l=a;for(let d=0;d<a;d++){let m=!1;Ee(e[d]).subscribe(se(o,h=>{m||(m=!0,l--),s[d]=h},()=>c--,void 0,()=>{(!c||!m)&&(l||o.next(i?Sl(i,s):s),o.complete())}))}});return n?r.pipe(Io(n)):r}var QS=["addListener","removeListener"],ZS=["addEventListener","removeEventListener"],YS=["on","off"];function rs(t,n,e,i){if(te(e)&&(i=e,e=void 0),i)return rs(t,n,e).pipe(Io(i));let[r,o]=JS(t)?ZS.map(a=>s=>t[a](n,s,e)):KS(t)?QS.map(iy(t,n)):XS(t)?YS.map(iy(t,n)):[];if(!r&&Mo(t))return dt(a=>rs(a,n,e))(Ee(t));if(!r)throw new TypeError("Invalid event target");return new G(a=>{let s=(...c)=>a.next(1<c.length?c:c[0]);return r(s),()=>o(s)})}function iy(t,n){return e=>i=>t[e](n,i)}function KS(t){return te(t.addListener)&&te(t.removeListener)}function XS(t){return te(t.on)&&te(t.off)}function JS(t){return te(t.addEventListener)&&te(t.removeEventListener)}function os(t=0,n,e=Vb){let i=-1;return n!=null&&(hl(n)?e=n:i=n),new G(r=>{let o=Jb(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function St(...t){let n=Ln(t),e=Hb(t,1/0),i=t;return i.length?i.length===1?Ee(i[0]):Tl(e)(Ge(i,n)):Ye}var{isArray:eT}=Array;function ry(t){return t.length===1&&eT(t[0])?t[0]:t}function _e(t,n){return me((e,i)=>{let r=0;e.subscribe(se(i,o=>t.call(n,o,r++)&&i.next(o)))})}function jf(...t){return t=ry(t),t.length===1?Ee(t[0]):new G(tT(t))}function tT(t){return n=>{let e=[];for(let i=0;e&&!n.closed&&i<t.length;i++)e.push(Ee(t[i]).subscribe(se(n,r=>{if(e){for(let o=0;o<e.length;o++)o!==i&&e[o].unsubscribe();e=null}n.next(r)})))}}function oy(t){return me((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let l=r;r=null,e.next(l)}a&&e.complete()},c=()=>{o=null,a&&e.complete()};n.subscribe(se(e,l=>{i=!0,r=l,o||Ee(t(l)).subscribe(o=se(e,s,c))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function _r(t,n=es){return oy(()=>os(t,n))}function vr(t){return me((n,e)=>{let i=null,r=!1,o;i=n.subscribe(se(e,void 0,void 0,a=>{o=Ee(t(a,vr(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function So(t,n){return te(n)?dt(t,n,1):dt(t,1)}function oi(t,n=es){return me((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let l=o;o=null,i.next(l)}};function c(){let l=a+t,d=n.now();if(d<l){r=this.schedule(void 0,l-d),i.add(r);return}s()}e.subscribe(se(i,l=>{o=l,a=n.now(),r||(r=n.schedule(c,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function ay(t){return me((n,e)=>{let i=!1;n.subscribe(se(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function nt(t){return t<=0?()=>Ye:me((n,e)=>{let i=0;n.subscribe(se(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function To(t,n=Yt){return t=t??nT,me((e,i)=>{let r,o=!0;e.subscribe(se(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function nT(t,n){return t===n}function sy(t=iT){return me((n,e)=>{let i=!1;n.subscribe(se(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function iT(){return new pr}function br(t){return me((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function ai(t,n){let e=arguments.length>=2;return i=>i.pipe(t?_e((r,o)=>t(r,o,i)):Yt,nt(1),e?ay(n):sy(()=>new pr))}function kl(t){return t<=0?()=>Ye:me((n,e)=>{let i=[];n.subscribe(se(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function as(){return me((t,n)=>{let e,i=!1;t.subscribe(se(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function ss(t={}){let{connector:n=()=>new D,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,c,l=0,d=!1,m=!1,h=()=>{s?.unsubscribe(),s=void 0},f=()=>{h(),a=c=void 0,d=m=!1},y=()=>{let E=a;f(),E?.unsubscribe()};return me((E,M)=>{l++,!m&&!d&&h();let I=c=c??n();M.add(()=>{l--,l===0&&!m&&!d&&(s=Vf(y,r))}),I.subscribe(M),!a&&l>0&&(a=new ii({next:we=>I.next(we),error:we=>{m=!0,h(),s=Vf(f,e,we),I.error(we)},complete:()=>{d=!0,h(),s=Vf(f,i),I.complete()}}),Ee(E).subscribe(a))})(o)}}function Vf(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new ii({next:()=>{i.unsubscribe(),t()}});return Ee(n(...e)).subscribe(i)}function cs(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,ss({connector:()=>new bn(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function yr(t){return _e((n,e)=>t<=e)}function ht(...t){let n=Ln(t);return me((e,i)=>{(n?Pi(t,e,n):Pi(t,e)).subscribe(i)})}function it(t,n){return me((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(se(i,c=>{r?.unsubscribe();let l=0,d=o++;Ee(t(c,d)).subscribe(r=se(i,m=>i.next(n?n(c,m,d,l++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function le(t){return me((n,e)=>{Ee(t).subscribe(se(e,()=>e.complete(),Qa)),!e.closed&&n.subscribe(e)})}function Hf(t,n=!1){return me((e,i)=>{let r=0;e.subscribe(se(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function Ot(t,n,e){let i=te(t)||n||e?{next:t,error:n,complete:e}:t;return i?me((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(se(o,c=>{var l;(l=i.next)===null||l===void 0||l.call(i,c),o.next(c)},()=>{var c;s=!1,(c=i.complete)===null||c===void 0||c.call(i),o.complete()},c=>{var l;s=!1,(l=i.error)===null||l===void 0||l.call(i,c),o.error(c)},()=>{var c,l;s&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(l=i.finalize)===null||l===void 0||l.call(i)}))}):Yt}var zf;function Al(){return zf}function jn(t){let n=zf;return zf=t,n}var cy=Symbol("NotFound");function ko(t){return t===cy||t?.name==="\u0275NotFound"}var Bl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",A=class extends Error{code;constructor(n,e){super(Bi(n,e)),this.code=n}};function rT(t){return`NG0${Math.abs(t)}`}function Bi(t,n){return`${rT(t)}${n?": "+n:""}`}var Vn=globalThis;function ke(t){for(let n in t)if(t[n]===ke)return n;throw Error("")}function fy(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function ci(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(ci).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
- `);return i>=0?e.slice(0,i):e}function jl(t,n){return t?n?`${t} ${n}`:t:n||""}var oT=ke({__forward_ref__:ke});function Cn(t){return t.__forward_ref__=Cn,t.toString=function(){return ci(this())},t}function Tt(t){return th(t)?t():t}function th(t){return typeof t=="function"&&t.hasOwnProperty(oT)&&t.__forward_ref__===Cn}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function V(t){return{providers:t.providers||[],imports:t.imports||[]}}function ps(t){return aT(t,Vl)}function nh(t){return ps(t)!==null}function aT(t,n){return t.hasOwnProperty(n)&&t[n]||null}function sT(t){let n=t?.[Vl]??null;return n||null}function $f(t){return t&&t.hasOwnProperty(Ol)?t[Ol]:null}var Vl=ke({\u0275prov:ke}),Ol=ke({\u0275inj:ke}),v=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ih(t){return t&&!!t.\u0275providers}var rh=ke({\u0275cmp:ke}),oh=ke({\u0275dir:ke}),ah=ke({\u0275pipe:ke}),sh=ke({\u0275mod:ke}),ds=ke({\u0275fac:ke}),Er=ke({__NG_ELEMENT_ID__:ke}),ly=ke({__NG_ENV_ID__:ke});function ch(t){return Hl(t,"@NgModule"),t[sh]||null}function li(t){return Hl(t,"@Component"),t[rh]||null}function lh(t){return Hl(t,"@Directive"),t[oh]||null}function hy(t){return Hl(t,"@Pipe"),t[ah]||null}function Hl(t,n){if(t==null)throw new A(-919,!1)}function Ro(t){return typeof t=="string"?t:t==null?"":String(t)}var py=ke({ngErrorCode:ke}),cT=ke({ngErrorMessage:ke}),lT=ke({ngTokenPath:ke});function dh(t,n){return gy("",-200,n)}function zl(t,n){throw new A(-201,!1)}function gy(t,n,e){let i=new A(n,t);return i[py]=n,i[cT]=t,e&&(i[lT]=e),i}function dT(t){return t[py]}var Wf;function _y(){return Wf}function Bt(t){let n=Wf;return Wf=t,n}function uh(t,n,e){let i=ps(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;zl(t,"")}var uT={},Cr=uT,mT="__NG_DI_FLAG__",Gf=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=wr(e)||0;try{return this.injector.get(n,i&8?null:Cr,i)}catch(r){if(ko(r))return r;throw r}}};function fT(t,n=0){let e=Al();if(e===void 0)throw new A(-203,!1);if(e===null)return uh(t,void 0,n);{let i=hT(n),r=e.retrieve(t,i);if(ko(r)){if(i.optional)return null;throw r}return r}}function Y(t,n=0){return(_y()||fT)(Tt(t),n)}function u(t,n){return Y(t,wr(n))}function wr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function hT(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function qf(t){let n=[];for(let e=0;e<t.length;e++){let i=Tt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new A(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let s=i[a],c=pT(s);typeof c=="number"?c===-1?r=s.token:o|=c:r=s}n.push(Y(r,o))}else n.push(Y(i))}return n}function pT(t){return t[mT]}function Ni(t,n){let e=t.hasOwnProperty(ds);return e?t[ds]:null}function vy(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function by(t){return t.flat(Number.POSITIVE_INFINITY)}function Ul(t,n){t.forEach(e=>Array.isArray(e)?Ul(e,n):n(e))}function mh(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function gs(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function yy(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function Cy(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function $l(t,n,e){let i=Oo(t,n);return i>=0?t[i|1]=e:(i=~i,Cy(t,i,n,e)),i}function Wl(t,n){let e=Oo(t,n);if(e>=0)return t[e|1]}function Oo(t,n){return gT(t,n,1)}function gT(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1}return~(r<<e)}var ji={},Pt=[],di=new v(""),fh=new v("",-1),hh=new v(""),us=class{get(n,e=Cr){if(e===Cr){let r=gy("",-201);throw r.name="\u0275NotFound",r}return e}};function Mr(t){return{\u0275providers:t}}function wy(...t){return{\u0275providers:ph(!0,t),\u0275fromNgModule:!0}}function ph(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return Ul(n,a=>{let s=a;Pl(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&xy(r,o),e}function xy(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];gh(r,o=>{n(o,i)})}}function Pl(t,n,e,i){if(t=Tt(t),!t)return!1;let r=null,o=$f(t),a=!o&&li(t);if(!o&&!a){let c=t.ngModule;if(o=$f(c),o)r=c;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let c=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let l of c)Pl(l,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let l;Ul(o.imports,d=>{Pl(d,n,e,i)&&(l||=[],l.push(d))}),l!==void 0&&xy(l,n)}if(!s){let l=Ni(r)||(()=>new r);n({provide:r,useFactory:l,deps:Pt},r),n({provide:hh,useValue:r,multi:!0},r),n({provide:di,useValue:()=>Y(r),multi:!0},r)}let c=o.providers;if(c!=null&&!s){let l=t;gh(c,d=>{n(d,l)})}}else return!1;return r!==t&&t.providers!==void 0}function gh(t,n){for(let e of t)ih(e)&&(e=e.\u0275providers),Array.isArray(e)?gh(e,n):n(e)}var _T=ke({provide:String,useValue:ke});function Dy(t){return t!==null&&typeof t=="object"&&_T in t}function vT(t){return!!(t&&t.useExisting)}function bT(t){return!!(t&&t.useFactory)}function xr(t){return typeof t=="function"}function Ey(t){return!!t.useClass}var _s=new v(""),Rl={},dy={},Uf;function Po(){return Uf===void 0&&(Uf=new us),Uf}var Ne=class{},Dr=class extends Ne{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Zf(n,a=>this.processProvider(a)),this.records.set(fh,Ao(void 0,this)),r.has("environment")&&this.records.set(Ne,Ao(void 0,this));let o=this.records.get(_s);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(hh,Pt,{self:!0}))}retrieve(n,e){let i=wr(e)||0;try{return this.get(n,Cr,i)}catch(r){if(ko(r))return r;throw r}}destroy(){ls(this),this._destroyed=!0;let n=ee(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(n)}}onDestroy(n){return ls(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ls(this);let e=jn(this),i=Bt(void 0),r;try{return n()}finally{jn(e),Bt(i)}}get(n,e=Cr,i){if(ls(this),n.hasOwnProperty(ly))return n[ly](this);let r=wr(i),o,a=jn(this),s=Bt(void 0);try{if(!(r&4)){let l=this.records.get(n);if(l===void 0){let d=DT(n)&&ps(n);d&&this.injectableDefInScope(d)?l=Ao(Qf(n),Rl):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,r)}let c=r&2?Po():this.parent;return e=r&8&&e===Cr?null:e,c.get(n,e)}catch(c){let l=dT(c);throw l===-200||l===-201?new A(l,null):c}finally{Bt(s),jn(a)}}resolveInjectorInitializers(){let n=ee(null),e=jn(this),i=Bt(void 0),r;try{let o=this.get(di,Pt,{self:!0});for(let a of o)a()}finally{jn(e),Bt(i),ee(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(ci(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Tt(n);let e=xr(n)?n:Tt(n&&n.provide),i=CT(n);if(!xr(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Ao(void 0,Rl,!0),r.factory=()=>qf(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=ee(null);try{if(e.value===dy)throw dh(ci(n));return e.value===Rl&&(e.value=dy,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&xT(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ee(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Tt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Qf(t){let n=ps(t),e=n!==null?n.factory:Ni(t);if(e!==null)return e;if(t instanceof v)throw new A(204,!1);if(t instanceof Function)return yT(t);throw new A(204,!1)}function yT(t){if(t.length>0)throw new A(204,!1);let e=sT(t);return e!==null?()=>e.factory(t):()=>new t}function CT(t){if(Dy(t))return Ao(void 0,t.useValue);{let n=_h(t);return Ao(n,Rl)}}function _h(t,n,e){let i;if(xr(t)){let r=Tt(t);return Ni(r)||Qf(r)}else if(Dy(t))i=()=>Tt(t.useValue);else if(bT(t))i=()=>t.useFactory(...qf(t.deps||[]));else if(vT(t))i=(r,o)=>Y(Tt(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Tt(t&&(t.useClass||t.provide));if(wT(t))i=()=>new r(...qf(t.deps));else return Ni(r)||Qf(r)}return i}function ls(t){if(t.destroyed)throw new A(205,!1)}function Ao(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function wT(t){return!!t.deps}function xT(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function DT(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Zf(t,n){for(let e of t)Array.isArray(e)?Zf(e,n):e&&ih(e)?Zf(e.\u0275providers,n):n(e)}function wt(t,n){let e;t instanceof Dr?(ls(t),e=t):e=new Gf(t);let i,r=jn(e),o=Bt(void 0);try{return n()}finally{jn(r),Bt(o)}}function My(){return _y()!==void 0||Al()!=null}var wn=0,K=1,ce=2,pt=3,sn=4,jt=5,Ir=6,No=7,rt=8,ui=9,Hn=10,Be=11,Fo=12,vh=13,Sr=14,Vt=15,Vi=16,Tr=17,zn=18,mi=19,bh=20,si=21,Gl=22,Fi=23,Kt=24,kr=25,Ar=26,qe=27,Iy=1,yh=6,Hi=7,vs=8,Rr=9,Je=10;function Un(t){return Array.isArray(t)&&typeof t[Iy]=="object"}function xn(t){return Array.isArray(t)&&t[Iy]===!0}function Ch(t){return(t.flags&4)!==0}function fi(t){return t.componentOffset>-1}function Lo(t){return(t.flags&1)===1}function $n(t){return!!t.template}function Bo(t){return(t[ce]&512)!==0}function Or(t){return(t[ce]&256)===256}var wh="svg",Sy="math";function cn(t){for(;Array.isArray(t);)t=t[wn];return t}function xh(t,n){return cn(n[t])}function ln(t,n){return cn(n[t.index])}function bs(t,n){return t.data[n]}function Dh(t,n){return t[n]}function Eh(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function dn(t,n){let e=n[t];return Un(e)?e:e[wn]}function Ty(t){return(t[ce]&4)===4}function ql(t){return(t[ce]&128)===128}function ky(t){return xn(t[pt])}function Xt(t,n){return n==null?null:t[n]}function Mh(t){t[Tr]=0}function Ih(t){t[ce]&1024||(t[ce]|=1024,ql(t)&&Pr(t))}function Ay(t,n){for(;t>0;)n=n[Sr],t--;return n}function ys(t){return!!(t[ce]&9216||t[Kt]?.dirty)}function Ql(t){t[Hn].changeDetectionScheduler?.notify(8),t[ce]&64&&(t[ce]|=1024),ys(t)&&Pr(t)}function Pr(t){t[Hn].changeDetectionScheduler?.notify(0);let n=Li(t);for(;n!==null&&!(n[ce]&8192||(n[ce]|=8192,!ql(n)));)n=Li(n)}function Sh(t,n){if(Or(t))throw new A(911,!1);t[si]===null&&(t[si]=[]),t[si].push(n)}function Ry(t,n){if(t[si]===null)return;let e=t[si].indexOf(n);e!==-1&&t[si].splice(e,1)}function Li(t){let n=t[pt];return xn(n)?n[pt]:n}function Th(t){return t[No]??=[]}function kh(t){return t.cleanup??=[]}function Oy(t,n,e,i){let r=Th(n);r.push(e),t.firstCreatePass&&kh(t).push(i,r.length-1)}var he={lFrame:Wy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Yf=!1;function Py(){return he.lFrame.elementDepthCount}function Ny(){he.lFrame.elementDepthCount++}function Ah(){he.lFrame.elementDepthCount--}function Zl(){return he.bindingsEnabled}function Rh(){return he.skipHydrationRootTNode!==null}function Oh(t){return he.skipHydrationRootTNode===t}function Ph(){he.skipHydrationRootTNode=null}function re(){return he.lFrame.lView}function Ue(){return he.lFrame.tView}function pe(t){return he.lFrame.contextLView=t,t[rt]}function ge(t){return he.lFrame.contextLView=null,t}function gt(){let t=Nh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Nh(){return he.lFrame.currentTNode}function Fy(){let t=he.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function jo(t,n){let e=he.lFrame;e.currentTNode=t,e.isParent=n}function Fh(){return he.lFrame.isParent}function Lh(){he.lFrame.isParent=!1}function Ly(){return he.lFrame.contextLView}function Bh(){return Yf}function ms(t){let n=Yf;return Yf=t,n}function jh(){let t=he.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function By(){return he.lFrame.bindingIndex}function jy(t){return he.lFrame.bindingIndex=t}function zi(){return he.lFrame.bindingIndex++}function Yl(t){let n=he.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Vy(){return he.lFrame.inI18n}function Hy(t,n){let e=he.lFrame;e.bindingIndex=e.bindingRootIndex=t,Kl(n)}function zy(){return he.lFrame.currentDirectiveIndex}function Kl(t){he.lFrame.currentDirectiveIndex=t}function Uy(t){let n=he.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Xl(){return he.lFrame.currentQueryIndex}function Cs(t){he.lFrame.currentQueryIndex=t}function ET(t){let n=t[K];return n.type===2?n.declTNode:n.type===1?t[jt]:null}function Vh(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=ET(o),r===null||(o=o[Sr],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=he.lFrame=$y();return i.currentTNode=n,i.lView=t,!0}function Jl(t){let n=$y(),e=t[K];he.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function $y(){let t=he.lFrame,n=t===null?null:t.child;return n===null?Wy(t):n}function Wy(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Gy(){let t=he.lFrame;return he.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Hh=Gy;function ed(){let t=Gy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function qy(t){return(he.lFrame.contextLView=Ay(t,he.lFrame.contextLView))[rt]}function Wn(){return he.lFrame.selectedIndex}function Ui(t){he.lFrame.selectedIndex=t}function ws(){let t=he.lFrame;return bs(t.tView,t.selectedIndex)}function xt(){he.lFrame.currentNamespace=wh}function hi(){MT()}function MT(){he.lFrame.currentNamespace=null}function Qy(){return he.lFrame.currentNamespace}var Zy=!0;function td(){return Zy}function xs(t){Zy=t}function Kf(t,n=null,e=null,i){let r=zh(t,n,e,i);return r.resolveInjectorInitializers(),r}function zh(t,n=null,e=null,i,r=new Set){let o=[e||Pt,wy(t)];return i=i||(typeof t=="object"?void 0:ci(t)),new Dr(o,n||Po(),i||null,r)}var J=class t{static THROW_IF_NOT_FOUND=Cr;static NULL=new us;static create(n,e){if(Array.isArray(n))return Kf({name:""},e,n,"");{let i=n.name??"";return Kf({name:i},n.parent,n.providers,i)}}static \u0275prov=w({token:t,providedIn:"any",factory:()=>Y(fh)});static __NG_ELEMENT_ID__=-1},q=new v(""),Gt=(()=>{class t{static __NG_ELEMENT_ID__=IT;static __NG_ENV_ID__=e=>e}return t})(),Nl=class extends Gt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Or(this._lView)}onDestroy(n){let e=this._lView;return Sh(e,n),()=>Ry(e,n)}};function IT(){return new Nl(re())}var Uh=!1,Yy=new v(""),Gn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Xe(!1);debugTaskTracker=u(Yy,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new G(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),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=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),Xf=class extends D{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,My()&&(this.destroyRef=u(Gt,{optional:!0})??void 0,this.pendingTasks=u(Gn,{optional:!0})??void 0)}emit(n){let e=ee(null);try{super.next(n)}finally{ee(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let c=n;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof Q&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},j=Xf;function Fl(...t){}function $h(t){let n,e;function i(){t=Fl;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(r){}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Ky(t){return queueMicrotask(()=>t()),()=>{t=Fl}}var Wh="isAngularZone",fs=Wh+"_ID",ST=0,N=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Uh}=n;if(typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,AT(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wh)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new A(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,TT,Fl,Fl);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},TT={};function Gh(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function kT(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){$h(()=>{t.callbackScheduled=!1,Jf(t),t.isCheckStableRunning=!0,Gh(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Jf(t)}function AT(t){let n=()=>{kT(t)},e=ST++;t._inner=t._inner.fork({name:"angular",properties:{[Wh]:!0,[fs]:e,[fs+e]:!0},onInvokeTask:(i,r,o,a,s,c)=>{if(RT(c))return i.invokeTask(o,a,s,c);try{return uy(t),i.invokeTask(o,a,s,c)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),my(t)}},onInvoke:(i,r,o,a,s,c,l)=>{try{return uy(t),i.invoke(o,a,s,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!OT(c)&&n(),my(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Jf(t),Gh(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function Jf(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function uy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function my(t){t._nesting--,Gh(t)}var hs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new j;onMicrotaskEmpty=new j;onStable=new j;onError=new j;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function RT(t){return Xy(t,"__ignore_ng_zone__")}function OT(t){return Xy(t,"__scheduler_tick__")}function Xy(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Wt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},un=new v("",{factory:()=>{let t=u(N),n=u(Ne),e;return i=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw i}):(e??=n.get(Wt),e.handleError(i))})}}}),Jy={provide:di,useValue:()=>{let t=u(Wt,{optional:!0})},multi:!0};function de(t,n){let[e,i,r]=xf(t,n?.equal),o=e,a=o[Ct];return o.set=i,o.update=r,o.asReadonly=e0.bind(o),o}function e0(){let t=this[Ct];if(t.readonlyFn===void 0){let n=()=>this();n[Ct]=t,t.readonlyFn=n}return t.readonlyFn}var Vo=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=PT}return t})();function PT(){return new Vo(re(),gt())}var yn=class{},Ho=new v("",{factory:()=>!0});var nd=new v(""),id=(()=>{class t{internalPendingTasks=u(Gn);scheduler=u(yn);errorHandler=u(un);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),rd=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>new eh})}return t})(),eh=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}},Ll=class{[Ct];constructor(n){this[Ct]=n}destroy(){this[Ct].destroy()}};function Nr(t,n){let e=n?.injector??u(J),i=n?.manualCleanup!==!0?e.get(Gt):null,r,o=e.get(Vo,null,{optional:!0}),a=e.get(yn);return o!==null?(r=LT(o.view,a,t),i instanceof Nl&&i._lView===o.view&&(i=null)):r=BT(t,e.get(rd),a),r.injector=e,i!==null&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new Ll(r)}var t0=ie(C({},Ef),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=ms(!1);try{Mf(this)}finally{ms(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=ee(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ee(t)}}}),NT=ie(C({},t0),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ai(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),FT=ie(C({},t0),{consumerMarkedDirty(){this.view[ce]|=8192,Pr(this.view),this.notifier.notify(13)},destroy(){if(Ai(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Fi]?.delete(this)}});function LT(t,n,e){let i=Object.create(FT);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=n0(i,e),t[Fi]??=new Set,t[Fi].add(i),i.consumerMarkedDirty(i),i}function BT(t,n,e){let i=Object.create(NT);return i.fn=n0(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function n0(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function ot(t){return Df(t)}function Os(t){return{toString:t}.toString()}function $T(t){return typeof t=="function"}function P0(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var fd=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}},Pe=(()=>{let t=()=>N0;return t.ngInherit=!0,t})();function N0(t){return t.type.prototype.ngOnChanges&&(t.setInput=GT),WT}function WT(){let t=L0(this),n=t?.current;if(n){let e=t.previous;if(e===ji)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function GT(t,n,e,i,r){let o=this.declaredInputs[i],a=L0(t)||qT(t,{previous:ji,current:null}),s=a.current||(a.current={}),c=a.previous,l=c[o];s[o]=new fd(l&&l.currentValue,e,c===ji),P0(t,n,r,e)}var F0="__ngSimpleChanges__";function L0(t){return t[F0]||null}function qT(t,n){return t[F0]=n}var i0=[];var Ae=function(t,n=null,e){for(let i=0;i<i0.length;i++){let r=i0[i];r(t,n,e)}},De=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(De||{});function QT(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=N0(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function B0(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function cd(t,n,e){j0(t,n,3,e)}function ld(t,n,e,i){(t[ce]&3)===e&&j0(t,n,e,i)}function qh(t,n){let e=t[ce];(e&3)===n&&(e&=16383,e+=1,t[ce]=e)}function j0(t,n,e,i){let r=i!==void 0?t[Tr]&65535:0,o=i??-1,a=n.length-1,s=0;for(let c=r;c<a;c++)if(typeof n[c+1]=="number"){if(s=n[c],i!=null&&s>=i)break}else n[c]<0&&(t[Tr]+=65536),(s<o||o==-1)&&(ZT(t,e,n,c),t[Tr]=(t[Tr]&4294901760)+c+2),c++}function r0(t,n){Ae(De.LifecycleHookStart,t,n);let e=ee(null);try{n.call(t)}finally{ee(e),Ae(De.LifecycleHookEnd,t,n)}}function ZT(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[ce]>>14<t[Tr]>>16&&(t[ce]&3)===n&&(t[ce]+=16384,r0(s,o)):r0(s,o)}var Uo=-1,Lr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function YT(t){return(t.flags&8)!==0}function KT(t){return(t.flags&16)!==0}function XT(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o)}else{let o=r,a=e[++i];JT(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function V0(t){return t===3||t===4||t===6}function JT(t){return t.charCodeAt(0)===64}function $o(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?o0(t,e,r,null,n[++i]):o0(t,e,r,null,null))}}return t}function o0(t,n,e,i,r){let o=0,a=t.length;if(n===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===n){a=-1;break}else if(s>n){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function H0(t){return t!==Uo}function hd(t){return t&32767}function ek(t){return t>>16}function pd(t,n){let e=ek(t),i=n;for(;e>0;)i=i[Sr],e--;return i}var rp=!0;function gd(t){let n=rp;return rp=t,n}var tk=256,z0=tk-1,U0=5,nk=0,qn={};function ik(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Er)&&(i=e[Er]),i==null&&(i=e[Er]=nk++);let r=i&z0,o=1<<r;n.data[t+(r>>U0)]|=o}function _d(t,n){let e=$0(t,n);if(e!==-1)return e;let i=n[K];i.firstCreatePass&&(t.injectorIndex=n.length,Qh(i.data,t),Qh(n,null),Qh(i.blueprint,null));let r=Bp(t,n),o=t.injectorIndex;if(H0(r)){let a=hd(r),s=pd(r,n),c=s[K].data;for(let l=0;l<8;l++)n[o+l]=s[a+l]|c[a+l]}return n[o+8]=r,o}function Qh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function $0(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bp(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=Z0(r),i===null)return Uo;if(e++,r=r[Sr],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Uo}function op(t,n,e){ik(t,n,e)}function rk(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(V0(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function W0(t,n,e){if(e&8||t!==void 0)return t;zl(n,"NodeInjector")}function G0(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[ui],o=Bt(void 0);try{return r?r.get(n,i,e&8):uh(n,i,e&8)}finally{Bt(o)}}return W0(i,n,e)}function q0(t,n,e,i=0,r){if(t!==null){if(n[ce]&2048&&!(i&2)){let a=ck(t,n,e,i,qn);if(a!==qn)return a}let o=Q0(t,n,e,i,qn);if(o!==qn)return o}return G0(n,e,i,r)}function Q0(t,n,e,i,r){let o=ak(e);if(typeof o=="function"){if(!Vh(n,t,i))return i&1?W0(r,e,i):G0(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&8))zl(e);else return a}finally{Hh()}}else if(typeof o=="number"){let a=null,s=$0(t,n),c=Uo,l=i&1?n[Vt][jt]:null;for((s===-1||i&4)&&(c=s===-1?Bp(t,n):n[s+8],c===Uo||!s0(i,!1)?s=-1:(a=n[K],s=hd(c),n=pd(c,n)));s!==-1;){let d=n[K];if(a0(o,s,d.data)){let m=ok(s,n,e,a,i,l);if(m!==qn)return m}c=n[s+8],c!==Uo&&s0(i,n[K].data[s+8]===l)&&a0(o,s,n)?(a=d,s=hd(c),n=pd(c,n)):s=-1}}return r}function ok(t,n,e,i,r,o){let a=n[K],s=a.data[t+8],c=i==null?fi(s)&&rp:i!=a&&(s.type&3)!==0,l=r&1&&o===s,d=dd(s,a,e,c,l);return d!==null?Is(n,a,d,s,r):qn}function dd(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,c=t.directiveStart,l=t.directiveEnd,d=o>>20,m=i?s:s+d,h=r?s+d:l;for(let f=m;f<h;f++){let y=a[f];if(f<c&&e===y||f>=c&&y.type===e)return f}if(r){let f=a[c];if(f&&$n(f)&&f.type===e)return c}return null}function Is(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof Lr){let s=o;if(s.resolving)throw dh("");let c=gd(s.canSeeViewProviders);s.resolving=!0;let l=a[e].type||a[e],d,m=s.injectImpl?Bt(s.injectImpl):null,h=Vh(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&QT(e,a[e],n)}finally{m!==null&&Bt(m),gd(c),s.resolving=!1,Hh()}}return o}function ak(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Er)?t[Er]:void 0;return typeof n=="number"?n>=0?n&z0:sk:n}function a0(t,n,e){let i=1<<t;return!!(e[n+(t>>U0)]&i)}function s0(t,n){return!(t&2)&&!(t&1&&n)}var Fr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return q0(this._tNode,this._lView,n,wr(i),e)}};function sk(){return new Fr(gt(),re())}function Me(t){return Os(()=>{let n=t.prototype.constructor,e=n[ds]||ap(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[ds]||ap(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ap(t){return th(t)?()=>{let n=ap(Tt(t));return n&&n()}:Ni(t)}function ck(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[ce]&2048&&!Bo(a);){let s=Q0(o,a,e,i|2,qn);if(s!==qn)return s;let c=o.parent;if(!c){let l=a[bh];if(l){let d=l.get(e,qn,i);if(d!==qn)return d}c=Z0(a),a=a[Sr]}o=c}return r}function Z0(t){let n=t[K],e=n.type;return e===2?n.declTNode:e===1?t[jt]:null}function jp(t){return rk(gt(),t)}function lk(){return Zo(gt(),re())}function Zo(t,n){return new O(ln(t,n))}var O=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=lk}return t})();function Y0(t){return t instanceof O?t.nativeElement:t}function dk(){return this._results[Symbol.iterator]()}var Mn=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 D}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=by(n);(this._changesDetected=!vy(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=dk};function K0(t){return(t.flags&128)===128}var Vp=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Vp||{}),X0=new Map,uk=0;function mk(){return uk++}function fk(t){X0.set(t[mi],t)}function sp(t){X0.delete(t[mi])}var c0="__ngContext__";function Wo(t,n){Un(n)?(t[c0]=n[mi],fk(n)):t[c0]=n}function J0(t){return tC(t[Fo])}function eC(t){return tC(t[sn])}function tC(t){for(;t!==null&&!xn(t);)t=t[sn];return t}var hk;function Hp(t){hk=t}var Wi=new v("",{factory:()=>pk}),pk="ng";var kd=new v(""),gi=new v("",{providedIn:"platform",factory:()=>"unknown"}),Ps=new v(""),Yo=new v("",{factory:()=>u(q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var nC="r";var iC="di";var rC=!1,oC=new v("",{factory:()=>rC});var gk=(t,n,e,i)=>{};function _k(t,n,e,i){gk(t,n,e,i)}function Ad(t){return(t.flags&32)===32}var vk=()=>null;function aC(t,n,e=!1){return vk(t,n,e)}function sC(t,n){let e=t.contentQueries;if(e!==null){let i=ee(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Cs(o),s.contentQueries(2,n[a],a)}}}finally{ee(i)}}}function cp(t,n,e){Cs(0);let i=ee(null);try{n(t,e)}finally{ee(i)}}function zp(t,n,e){if(Ch(n)){let i=ee(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let c=e[a];s.contentQueries(1,c,a)}}}finally{ee(i)}}}var In=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(In||{});var od;function bk(){if(od===void 0&&(od=null,Vn.trustedTypes))try{od=Vn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return od}function Rd(t){return bk()?.createHTML(t)||t}var pi=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bl})`}},lp=class extends pi{getTypeName(){return"HTML"}},dp=class extends pi{getTypeName(){return"Style"}},up=class extends pi{getTypeName(){return"Script"}},mp=class extends pi{getTypeName(){return"URL"}},fp=class extends pi{getTypeName(){return"ResourceURL"}};function Yn(t){return t instanceof pi?t.changingThisBreaksApplicationSecurity:t}function Gi(t,n){let e=cC(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Bl})`)}return e===n}function cC(t){return t instanceof pi&&t.getTypeName()||null}function Up(t){return new lp(t)}function $p(t){return new dp(t)}function Wp(t){return new up(t)}function Gp(t){return new mp(t)}function qp(t){return new fp(t)}function yk(t){let n=new pp(t);return Ck()?new hp(n):n}var hp=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Rd(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch(e){return null}}},pp=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Rd(n),e}};function Ck(){try{return!!new window.DOMParser().parseFromString(Rd(""),"text/html")}catch(t){return!1}}var wk=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ns(t){return t=String(t),t.match(wk)?t:"unsafe:"+t}function _i(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Fs(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var lC=_i("area,br,col,hr,img,wbr"),dC=_i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uC=_i("rp,rt"),xk=Fs(uC,dC),Dk=Fs(dC,_i("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ek=Fs(uC,_i("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),l0=Fs(lC,Dk,Ek,xk),mC=_i("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mk=_i("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ik=_i("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Sk=Fs(mC,Mk,Ik),Tk=_i("script,style,template"),gp=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=Rk(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=Ak(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=d0(n).toLowerCase();if(!l0.hasOwnProperty(e))return this.sanitizedSomething=!0,!Tk.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),a=o.name,s=a.toLowerCase();if(!Sk.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let c=o.value;mC[s]&&(c=Ns(c)),this.buf.push(" ",a,'="',u0(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=d0(n).toLowerCase();l0.hasOwnProperty(e)&&!lC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(u0(n))}};function kk(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ak(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw fC(n);return n}function Rk(t){let n=t.firstChild;if(n&&kk(t,n))throw fC(n);return n}function d0(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function fC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Ok=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pk=/([^\#-~ |!])/g;function u0(t){return t.replace(/&/g,"&amp;").replace(Ok,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(Pk,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ad;function Qp(t,n){let e=null;try{ad=ad||yk(t);let i=n?String(n):"";e=ad.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=ad.getInertBodyElement(i)}while(i!==o);let s=new gp().sanitizeChildren(m0(e)||e);return Rd(s)}finally{if(e){let i=m0(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function m0(t){return"content"in t&&Nk(t)?t.content:null}function Nk(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Fk=/^>|^->|<!--|-->|--!>|<!-$/g,Lk=/(<|>)/g,Bk="\u200B$1\u200B";function jk(t){return t.replace(Fk,n=>n.replace(Lk,Bk))}function Vk(t,n){return t.createText(n)}function Hk(t,n,e){t.setValue(n,e)}function zk(t,n){return t.createComment(jk(n))}function hC(t,n,e){return t.createElement(n,e)}function vd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function pC(t,n,e){t.appendChild(n,e)}function f0(t,n,e,i,r){i!==null?vd(t,n,e,i,r):pC(t,n,e)}function gC(t,n,e,i){t.removeChild(null,n,e,i)}function Uk(t,n,e){t.setAttribute(n,"style",e)}function $k(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function _C(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&XT(t,n,i),r!==null&&$k(t,n,r),o!==null&&Uk(t,n,o)}var Et=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(Et||{});function Zp(t){let n=Wk();return n?n.sanitize(Et.URL,t)||"":Gi(t,"URL")?Yn(t):Ns(Ro(t))}function Wk(){let t=re();return t&&t[Hn].sanitizer}function vC(t){return t instanceof Function?t():t}function Gk(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var bC="ng-template";function qk(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&Gk(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Yp(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Yp(t){return t.type===4&&t.value!==bC}function Qk(t,n,e){let i=t.type===4&&!e?bC:t.value;return n===i}function Zk(t,n,e){let i=4,r=t.attrs,o=r!==null?Xk(r):0,a=!1;for(let s=0;s<n.length;s++){let c=n[s];if(typeof c=="number"){if(!a&&!Dn(i)&&!Dn(c))return!1;if(a&&Dn(c))continue;a=!1,i=c|i&1;continue}if(!a)if(i&4){if(i=2|i&1,c!==""&&!Qk(t,c,e)||c===""&&n.length===1){if(Dn(i))return!1;a=!0}}else if(i&8){if(r===null||!qk(t,r,c,e)){if(Dn(i))return!1;a=!0}}else{let l=n[++s],d=Yk(c,r,Yp(t),e);if(d===-1){if(Dn(i))return!1;a=!0;continue}if(l!==""){let m;if(d>o?m="":m=r[d+1].toLowerCase(),i&2&&l!==m){if(Dn(i))return!1;a=!0}}}}return Dn(i)||a}function Dn(t){return(t&1)===0}function Yk(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let a=n[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return Jk(n,t)}function yC(t,n,e=!1){for(let i=0;i<n.length;i++)if(Zk(t,n[i],e))return!0;return!1}function Kk(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function Xk(t){for(let n=0;n<t.length;n++){let e=t[n];if(V0(e))return n}return t.length}function Jk(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function eA(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function h0(t,n){return t?":not("+n.trim()+")":n}function tA(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(i&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Dn(a)&&(n+=h0(o,r),r=""),i=a,o=o||!Dn(i);e++}return r!==""&&(n+=h0(o,r)),n}function nA(t){return t.map(tA).join(",")}function iA(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Dn(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var Ht={};function Kp(t,n,e,i,r,o,a,s,c,l,d){let m=qe+i,h=m+r,f=rA(m,h),y=typeof l=="function"?l():l;return f[K]={type:t,blueprint:f,template:e,queries:null,viewQuery:s,declTNode:n,data:f.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:h,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 o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:c,consts:y,incompleteFirstPass:!1,ssrId:d}}function rA(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Ht);return e}function oA(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Kp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Xp(t,n,e,i,r,o,a,s,c,l,d){let m=n.blueprint.slice();return m[wn]=r,m[ce]=i|4|128|8|64|1024,(l!==null||t&&t[ce]&2048)&&(m[ce]|=2048),Mh(m),m[pt]=m[Sr]=t,m[rt]=e,m[Hn]=a||t&&t[Hn],m[Be]=s||t&&t[Be],m[ui]=c||t&&t[ui]||null,m[jt]=o,m[mi]=mk(),m[Ir]=d,m[bh]=l,m[Vt]=n.type==2?t[Vt]:m,m}function aA(t,n,e){let i=ln(n,t),r=oA(e),o=t[Hn].rendererFactory,a=Jp(t,Xp(t,r,null,CC(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function CC(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function wC(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function Jp(t,n){return t[Fo]?t[vh][sn]=n:t[Fo]=n,t[vh]=n,n}function _(t=1){xC(Ue(),re(),Wn()+t,!1)}function xC(t,n,e,i){if(!i)if((n[ce]&3)===3){let o=t.preOrderCheckHooks;o!==null&&cd(n,o,e)}else{let o=t.preOrderHooks;o!==null&&ld(n,o,0,e)}Ui(e)}var Od=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Od||{});function _p(t,n,e,i){let r=ee(null);try{let[o,a,s]=t.inputs[e],c=null;(a&Od.SignalBased)!==0&&(c=n[o][Ct]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,c,i,e,o):P0(n,c,o,i)}finally{ee(r)}}var Qn=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Qn||{}),sA;function eg(t,n){return sA(t,n)}var Br=new Set,Pd=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Pd||{}),Kn=new v(""),p0=new Set;function vi(t){p0.has(t)||(p0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Nd=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),tg=[0,1,2,3],ng=(()=>{class t{ngZone=u(N);scheduler=u(yn);errorHandler=u(Wt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Kn,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Ae(De.AfterRenderHooksStart),this.executing=!0;for(let i of tg)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Ae(De.AfterRenderHooksEnd)}register(e){let{view:i}=e;i!==void 0?((i[kr]??=[]).push(e),Pr(i),i[ce]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Pd.AFTER_NEXT_RENDER,e):e()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ss=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.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 n=this.view?.[kr];n&&(this.view[kr]=n.filter(e=>e!==this))}};function He(t,n){let e=n?.injector??u(J);return vi("NgAfterNextRender"),lA(t,e,n,!0)}function cA(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function lA(t,n,e,i){let r=n.get(Nd);r.impl??=n.get(ng);let o=n.get(Kn,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(Gt):null,s=n.get(Vo,null,{optional:!0}),c=new Ss(r.impl,cA(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(c),c}var ig=new v("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:u(Ne)})});function DC(t,n,e){let i=t.get(ig);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function dA(t,n){let e=t.get(ig);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function uA(t,n){for(let[e,i]of n)DC(t,i.animateFns)}function mA(t,n){let e=t.get(ig);if(Array.isArray(n))for(let i of n)e.queue.delete(i);else e.queue.delete(n)}function g0(t,n,e,i){let r=t?.[Ar]?.enter;n!==null&&r&&r.has(e.index)&&uA(i,r)}function zo(t,n,e,i,r,o,a,s){if(r!=null){let c,l=!1;xn(r)?c=r:Un(r)&&(l=!0,r=r[wn]);let d=cn(r);t===0&&i!==null?(g0(s,i,o,e),a==null?pC(n,i,d):vd(n,i,d,a||null,!0)):t===1&&i!==null?(g0(s,i,o,e),vd(n,i,d,a||null,!0)):t===2?_0(s,o,e,m=>{gC(n,d,l,m)}):t===3&&_0(s,o,e,()=>{n.destroyNode(d)}),c!=null&&xA(n,t,e,c,o,i,a)}}function fA(t,n){EC(t,n),n[wn]=null,n[jt]=null}function hA(t,n,e,i,r,o){i[wn]=r,i[jt]=n,Ld(t,i,e,1,r,o)}function EC(t,n){n[Hn].changeDetectionScheduler?.notify(9),Ld(t,n,n[Be],2,null,null)}function pA(t){let n=t[Fo];if(!n)return Zh(t[K],t);for(;n;){let e=null;if(Un(n))e=n[Fo];else{let i=n[Je];i&&(e=i)}if(!e){for(;n&&!n[sn]&&n!==t;)Un(n)&&Zh(n[K],n),n=n[pt];n===null&&(n=t),Un(n)&&Zh(n[K],n),e=n&&n[sn]}n=e}}function rg(t,n){let e=t[Rr],i=e.indexOf(n);e.splice(i,1)}function Fd(t,n){if(Or(n))return;let e=n[Be];e.destroyNode&&Ld(t,n,e,3,null,null),pA(n)}function Zh(t,n){if(Or(n))return;let e=ee(null);try{n[ce]&=-129,n[ce]|=256,n[Kt]&&Ai(n[Kt]),vA(t,n),_A(t,n),n[K].type===1&&n[Be].destroy();let i=n[Vi];if(i!==null&&xn(n[pt])){i!==n[pt]&&rg(i,n);let r=n[zn];r!==null&&r.detachView(t)}sp(n)}finally{ee(e)}}function _0(t,n,e,i){let r=t?.[Ar];if(r?.enter?.has(n.index)&&mA(e,r.enter.get(n.index).animateFns),r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&Br.add(t[mi]),DC(e,()=>{if(r.leave&&r.leave.has(n.index)){let a=r.leave.get(n.index),s=[];if(a){for(let c=0;c<a.animateFns.length;c++){let l=a.animateFns[c],{promise:d}=l();s.push(d)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),gA(t,i)}else t&&Br.delete(t[mi]),i(!1)},r)}function gA(t,n){let e=t[Ar]?.running;if(e){e.then(()=>{t[Ar].running=void 0,Br.delete(t[mi]),n(!0)});return}n(!1)}function _A(t,n){let e=t.cleanup,i=n[No];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[No]=null);let r=n[si];if(r!==null){n[si]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[Fi];if(o!==null){n[Fi]=null;for(let a of o)a.destroy()}}function vA(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Lr)){let o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],c=o[a+1];Ae(De.LifecycleHookStart,s,c);try{c.call(s)}finally{Ae(De.LifecycleHookEnd,s,c)}}else{Ae(De.LifecycleHookStart,r,o);try{o.call(r)}finally{Ae(De.LifecycleHookEnd,r,o)}}}}}function MC(t,n,e){return bA(t,n.parent,e)}function bA(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[wn];if(fi(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===In.None||r===In.Emulated)return null}return ln(i,e)}function IC(t,n,e){return CA(t,n,e)}function yA(t,n,e){return t.type&40?ln(t,e):null}var CA=yA,v0;function og(t,n,e,i){let r=MC(t,i,n),o=n[Be],a=i.parent||n[jt],s=IC(a,i,n);if(r!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)f0(o,r,e[c],s,!1);else f0(o,r,e,s,!1);v0!==void 0&&v0(o,i,n,e,r)}function Es(t,n){if(n!==null){let e=n.type;if(e&3)return ln(n,t);if(e&4)return vp(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Es(t,i);{let r=t[n.index];return xn(r)?vp(-1,r):cn(r)}}else{if(e&128)return Es(t,n.next);if(e&32)return eg(n,t)()||cn(t[n.index]);{let i=SC(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Li(t[Vt]);return Es(r,i)}else return Es(t,n.next)}}}return null}function SC(t,n){if(n!==null){let i=t[Vt][jt],r=n.projection;return i.projection[r]}return null}function vp(t,n){let e=Je+t+1;if(e<n.length){let i=n[e],r=i[K].firstChild;if(r!==null)return Es(i,r)}return n[Hi]}function ag(t,n,e,i,r,o,a){for(;e!=null;){let s=i[ui];if(e.type===128){e=e.next;continue}let c=i[e.index],l=e.type;if(a&&n===0&&(c&&Wo(cn(c),i),e.flags|=2),!Ad(e))if(l&8)ag(t,n,e.child,i,r,o,!1),zo(n,t,s,r,c,e,o,i);else if(l&32){let d=eg(e,i),m;for(;m=d();)zo(n,t,s,r,m,e,o,i);zo(n,t,s,r,c,e,o,i)}else l&16?TC(t,n,i,e,r,o):zo(n,t,s,r,c,e,o,i);e=a?e.projectionNext:e.next}}function Ld(t,n,e,i,r,o){ag(e,i,t.firstChild,n,r,o,!1)}function wA(t,n,e){let i=n[Be],r=MC(t,e,n),o=e.parent||n[jt],a=IC(o,e,n);TC(i,0,n,e,r,a)}function TC(t,n,e,i,r,o){let a=e[Vt],c=a[jt].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let d=c[l];zo(n,t,e[ui],r,d,i,o,e)}else{let l=c,d=a[pt];K0(i)&&(l.flags|=128),ag(t,n,l,d,r,o,!0)}}function xA(t,n,e,i,r,o,a){let s=i[Hi],c=cn(i);s!==c&&zo(n,t,e,o,s,r,a);for(let l=Je;l<i.length;l++){let d=i[l];Ld(d[K],d,t,n,o,s)}}function DA(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:Qn.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Qn.Important),t.setStyle(e,i,r,o))}}function kC(t,n,e,i,r){let o=Wn(),a=i&2;try{Ui(-1),a&&n.length>qe&&xC(t,n,qe,!1);let s=a?De.TemplateUpdateStart:De.TemplateCreateStart;Ae(s,r,e),e(i,r)}finally{Ui(o);let s=a?De.TemplateUpdateEnd:De.TemplateCreateEnd;Ae(s,r,e)}}function Bd(t,n,e){kA(t,n,e),(e.flags&64)===64&&AA(t,n,e)}function Ls(t,n,e=ln){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],s=a===-1?e(n,t):t[a];t[r++]=s}}}function EA(t,n,e,i){let o=i.get(oC,rC)||e===In.ShadowDom||e===In.ExperimentalIsolatedShadowDom,a=t.selectRootElement(n,o);return MA(a),a}function MA(t){IA(t)}var IA=()=>null;function SA(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function TA(t,n,e,i,r,o){let a=n[K];if(jd(t,a,n,e,i)){fi(t)&&RC(n,t.index);return}t.type&3&&(e=SA(e)),AC(t,n,e,i,r,o)}function AC(t,n,e,i,r,o){if(t.type&3){let a=ln(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(a,e,i)}else t.type&12}function RC(t,n){let e=dn(n,t);e[ce]&16||(e[ce]|=64)}function kA(t,n,e){let i=e.directiveStart,r=e.directiveEnd;fi(e)&&aA(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||_d(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],c=Is(n,t,a,e);if(Wo(c,n),o!==null&&PA(n,a-i,c,s,e,o),$n(s)){let l=dn(e.index,n);l[rt]=Is(n,t,a,e)}}}function AA(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=zy();try{Ui(o);for(let s=i;s<r;s++){let c=t.data[s],l=n[s];Kl(s),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&RA(c,l)}}finally{Ui(-1),Kl(a)}}function RA(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function sg(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];yC(n,o.selectors,!1)&&(i??=[],$n(o)?i.unshift(o):i.push(o))}return i}function OA(t,n,e,i,r,o){let a=ln(t,n);OC(n[Be],a,o,t.value,e,i,r)}function OC(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?Ro(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function PA(t,n,e,i,r,o){let a=o[n];if(a!==null)for(let s=0;s<a.length;s+=2){let c=a[s],l=a[s+1];_p(i,e,c,l)}}function cg(t,n,e,i,r){let o=qe+e,a=n[K],s=r(a,n,t,i,e);n[o]=s,jo(t,!0);let c=t.type===2;return c?(_C(n[Be],s,t),(Py()===0||Lo(t))&&Wo(s,n),Ny()):Wo(s,n),td()&&(!c||!Ad(t))&&og(a,n,s,t),t}function lg(t){let n=t;return Fh()?Lh():(n=n.parent,jo(n,!1)),n}function NA(t,n){let e=t[ui];if(!e)return;let i;try{i=e.get(un,null)}catch(r){i=null}i?.(n)}function jd(t,n,e,i,r){let o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i],s=!1;if(a)for(let c=0;c<a.length;c+=2){let l=a[c],d=a[c+1],m=n.data[l];_p(m,e[l],d,r),s=!0}if(o)for(let c of o){let l=e[c],d=n.data[c];_p(d,l,i,r),s=!0}return s}function FA(t,n){let e=dn(n,t),i=e[K];LA(i,e);let r=e[wn];r!==null&&e[Ir]===null&&(e[Ir]=aC(r,e[ui])),Ae(De.ComponentStart);try{dg(i,e,e[rt])}finally{Ae(De.ComponentEnd,e[rt])}}function LA(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function dg(t,n,e){Jl(n);try{let i=t.viewQuery;i!==null&&cp(1,i,e);let r=t.template;r!==null&&kC(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[zn]?.finishViewCreation(t),t.staticContentQueries&&sC(t,n),t.staticViewQueries&&cp(2,t.viewQuery,e);let o=t.components;o!==null&&BA(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[ce]&=-5,ed()}}function BA(t,n){for(let e=0;e<n.length;e++)FA(t,n[e])}function Bs(t,n,e,i){let r=ee(null);try{let o=n.tView,s=t[ce]&4096?4096:16,c=Xp(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),l=t[n.index];c[Vi]=l;let d=t[zn];return d!==null&&(c[zn]=d.createEmbeddedView(o)),dg(o,c,e),c}finally{ee(r)}}function Go(t,n){return!n||n.firstChild===null||K0(t)}function Ts(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(cn(o)),xn(o)&&PC(o,i);let a=e.type;if(a&8)Ts(t,n,e.child,i);else if(a&32){let s=eg(e,n),c;for(;c=s();)i.push(c)}else if(a&16){let s=SC(n,e);if(Array.isArray(s))i.push(...s);else{let c=Li(n[Vt]);Ts(c[K],c,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function PC(t,n){for(let e=Je;e<t.length;e++){let i=t[e],r=i[K].firstChild;r!==null&&Ts(i[K],i,r,n)}t[Hi]!==t[wn]&&n.push(t[Hi])}function NC(t){if(t[kr]!==null){for(let n of t[kr])n.impl.addSequence(n);t[kr].length=0}}var FC=[];function jA(t){return t[Kt]??VA(t)}function VA(t){let n=FC.pop()??Object.create(zA);return n.lView=t,n}function HA(t){t.lView[Kt]!==t&&(t.lView=null,FC.push(t))}var zA=ie(C({},ho),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Pr(t.lView)},consumerOnSignalRead(){this.lView[Kt]=this}});function UA(t){let n=t[Kt]??Object.create($A);return n.lView=t,n}var $A=ie(C({},ho),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Li(t.lView);for(;n&&!LC(n[K]);)n=Li(n);n&&Ih(n)},consumerOnSignalRead(){this.lView[Kt]=this}});function LC(t){return t.type!==2}function BC(t){if(t[Fi]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Fi])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[ce]&8192)}}var WA=100;function jC(t,n=0){let i=t[Hn].rendererFactory,r=!1;r||i.begin?.();try{GA(t,n)}finally{r||i.end?.()}}function GA(t,n){let e=Bh();try{ms(!0),bp(t,n);let i=0;for(;ys(t);){if(i===WA)throw new A(103,!1);i++,bp(t,1)}}finally{ms(e)}}function qA(t,n,e,i){if(Or(n))return;let r=n[ce],o=!1,a=!1;Jl(n);let s=!0,c=null,l=null;o||(LC(t)?(l=jA(n),c=ur(l)):rl()===null?(s=!1,l=UA(n),c=ur(l)):n[Kt]&&(Ai(n[Kt]),n[Kt]=null));try{Mh(n),jy(t.bindingStartIndex),e!==null&&kC(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=t.preOrderCheckHooks;f!==null&&cd(n,f,null)}else{let f=t.preOrderHooks;f!==null&&ld(n,f,0,null),qh(n,0)}if(a||QA(n),BC(n),VC(n,0),t.contentQueries!==null&&sC(t,n),!o)if(d){let f=t.contentCheckHooks;f!==null&&cd(n,f)}else{let f=t.contentHooks;f!==null&&ld(n,f,1),qh(n,1)}YA(t,n);let m=t.components;m!==null&&zC(n,m,0);let h=t.viewQuery;if(h!==null&&cp(2,h,i),!o)if(d){let f=t.viewCheckHooks;f!==null&&cd(n,f)}else{let f=t.viewHooks;f!==null&&ld(n,f,2),qh(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Gl]){for(let f of n[Gl])f();n[Gl]=null}o||(NC(n),n[ce]&=-73)}catch(d){throw o||Pr(n),d}finally{l!==null&&(go(l,c),s&&HA(l)),ed()}}function VC(t,n){for(let e=J0(t);e!==null;e=eC(e))for(let i=Je;i<e.length;i++){let r=e[i];HC(r,n)}}function QA(t){for(let n=J0(t);n!==null;n=eC(n)){if(!(n[ce]&2))continue;let e=n[Rr];for(let i=0;i<e.length;i++){let r=e[i];Ih(r)}}}function ZA(t,n,e){Ae(De.ComponentStart);let i=dn(n,t);try{HC(i,e)}finally{Ae(De.ComponentEnd,i[rt])}}function HC(t,n){ql(t)&&bp(t,n)}function bp(t,n){let i=t[K],r=t[ce],o=t[Kt],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&_o(o)),a||=!1,o&&(o.dirty=!1),t[ce]&=-9217,a)qA(i,t,i.template,t[rt]);else if(r&8192){let s=ee(null);try{BC(t),VC(t,1);let c=i.components;c!==null&&zC(t,c,1),NC(t)}finally{ee(s)}}}function zC(t,n,e){for(let i=0;i<n.length;i++)ZA(t,n[i],e)}function YA(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Ui(~r);else{let o=r,a=e[++i],s=e[++i];Hy(a,o);let c=n[o];Ae(De.HostBindingsUpdateStart,c);try{s(2,c)}finally{Ae(De.HostBindingsUpdateEnd,c)}}}}finally{Ui(-1)}}function ug(t,n){let e=Bh()?64:1088;for(t[Hn].changeDetectionScheduler?.notify(n);t;){t[ce]|=e;let i=Li(t);if(Bo(t)&&!i)return t;t=i}return null}function UC(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function $C(t,n){let e=Je+n;if(e<t.length)return t[e]}function js(t,n,e,i=!0){let r=n[K];if(KA(r,n,t,e),i){let a=vp(e,t),s=n[Be],c=s.parentNode(t[Hi]);c!==null&&hA(r,t[jt],s,n,c,a)}let o=n[Ir];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function WC(t,n){let e=ks(t,n);return e!==void 0&&Fd(e[K],e),e}function ks(t,n){if(t.length<=Je)return;let e=Je+n,i=t[e];if(i){let r=i[Vi];r!==null&&r!==t&&rg(r,i),n>0&&(t[e-1][sn]=i[sn]);let o=gs(t,Je+n);fA(i[K],i);let a=o[zn];a!==null&&a.detachView(o[K]),i[pt]=null,i[sn]=null,i[ce]&=-129}return i}function KA(t,n,e,i){let r=Je+i,o=e.length;i>0&&(e[r-1][sn]=n),i<o-Je?(n[sn]=e[r],mh(e,Je+i,n)):(e.push(n),n[sn]=null),n[pt]=e;let a=n[Vi];a!==null&&e!==a&&GC(a,n);let s=n[zn];s!==null&&s.insertView(t),Ql(n),n[ce]|=128}function GC(t,n){let e=t[Rr],i=n[pt];if(Un(i))t[ce]|=2;else{let r=i[pt][Vt];n[Vt]!==r&&(t[ce]|=2)}e===null?t[Rr]=[n]:e.push(n)}var $i=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[K];return Ts(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[rt]}set context(n){this._lView[rt]=n}get destroyed(){return Or(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[pt];if(xn(n)){let e=n[vs],i=e?e.indexOf(this):-1;i>-1&&(ks(n,i),gs(e,i))}this._attachedToViewContainer=!1}Fd(this._lView[K],this._lView)}onDestroy(n){Sh(this._lView,n)}markForCheck(){ug(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){Ql(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,jC(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Bo(this._lView),e=this._lView[Vi];e!==null&&!n&&rg(e,this._lView),EC(this._lView[K],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n;let e=Bo(this._lView),i=this._lView[Vi];i!==null&&!e&&GC(i,this._lView),Ql(this._lView)}};var Oe=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=XA;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Bs(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new $i(o)}}return t})();function XA(){return Vd(gt(),re())}function Vd(t,n){return t.type&4?new Oe(n,t,Zo(t,n)):null}function Ko(t,n,e,i,r){let o=t.data[n];if(o===null)o=JA(t,n,e,i,r),Vy()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=Fy();o.injectorIndex=a===null?-1:a.injectorIndex}return jo(o,!0),o}function JA(t,n,e,i,r){let o=Nh(),a=Fh(),s=a?o:o&&o.parent,c=t.data[n]=tR(t,s,e,n,i,r);return eR(t,c,o,a),c}function eR(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function tR(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return Rh()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function nR(t){let n=t[yh]??[],i=t[pt][Be],r=[];for(let o of n)o.data[iC]!==void 0?r.push(o):iR(o,i);t[yh]=r}function iR(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[nC];for(;e<r;){let o=i.nextSibling;gC(n,i,!1),i=o,e++}}}var rR=()=>null,oR=()=>null;function bd(t,n){return rR(t,n)}function qC(t,n,e){return oR(t,n,e)}var QC=class{},Hd=class{},yp=class{resolveComponentFactory(n){throw new A(917,!1)}},Vs=class{static NULL=new yp},Dt=class{},Ke=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>aR()}return t})();function aR(){let t=re(),n=gt(),e=dn(n.index,t);return(Un(e)?e:t)[Be]}var ZC=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>null})}return t})();var ud={},Cp=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,ud,i);return r!==ud||e===ud?r:this.parentInjector.get(n,e,i)}};function yd(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let s=n[a];if(typeof s=="number")o=s;else if(o==1)r=jl(r,s);else if(o==2){let c=s,l=n[++a];i=jl(i,c+": "+l+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function _t(t,n=0){let e=re();if(e===null)return Y(t,n);let i=gt();return q0(i,e,Tt(t),n)}function YC(t,n,e,i,r){let o=i===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,c=null,l=null;for(let d of a)if(d.resolveHostDirectives!==null){[s,c,l]=d.resolveHostDirectives(a);break}lR(t,n,e,s,o,c,l)}o!==null&&i!==null&&sR(e,i,o)}function sR(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new A(-301,!1);i.push(n[r],o)}}function cR(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function lR(t,n,e,i,r,o,a){let s=i.length,c=null;for(let h=0;h<s;h++){let f=i[h];c===null&&$n(f)&&(c=f,cR(t,e,h)),op(_d(e,n),t,f.type)}pR(e,t.data.length,s),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<s;h++){let f=i[h];f.providersResolver&&f.providersResolver(f)}let l=!1,d=!1,m=wC(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let h=0;h<s;h++){let f=i[h];if(e.mergedAttrs=$o(e.mergedAttrs,f.hostAttrs),uR(t,e,n,m,f),hR(m,f,r),a!==null&&a.has(f)){let[E,M]=a.get(f);e.directiveToIndex.set(f.type,[m,E+e.directiveStart,M+e.directiveStart])}else(o===null||!o.has(f))&&e.directiveToIndex.set(f.type,m);f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let y=f.type.prototype;!l&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!d&&(y.ngOnChanges||y.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),m++}dR(t,e,o)}function dR(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))b0(0,n,r,i),b0(1,n,r,i),C0(n,i,!1);else{let o=e.get(r);y0(0,n,o,i),y0(1,n,o,i),C0(n,i,!0)}}}function b0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),KC(n,o)}}function y0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),KC(n,a)}}function KC(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function C0(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||Yp(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let c=i[s];if(c===0){s+=4;continue}else if(c===5){s+=2;continue}else if(typeof c=="number")break;if(!e&&r.hasOwnProperty(c)){let l=r[c];for(let d of l)if(d===n){a??=[],a.push(c,i[s+1]);break}}else if(e&&o.hasOwnProperty(c)){let l=o[c];for(let d=0;d<l.length;d+=2)if(l[d]===n){a??=[],a.push(l[d+1],i[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function uR(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=Ni(r.type,!0)),a=new Lr(o,$n(r),_t,null);t.blueprint[i]=a,e[i]=a,mR(t,n,i,wC(t,e,r.hostVars,Ht),r)}function mR(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;fR(a)!=s&&a.push(s),a.push(e,i,o)}}function fR(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function hR(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;$n(n)&&(e[""]=t)}}function pR(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function mg(t,n,e,i,r,o,a,s){let c=n[K],l=c.consts,d=Xt(l,a),m=Ko(c,t,e,i,d);return o&&YC(c,n,m,Xt(l,s),r),m.mergedAttrs=$o(m.mergedAttrs,m.attrs),m.attrs!==null&&yd(m,m.attrs,!1),m.mergedAttrs!==null&&yd(m,m.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,m),m}function fg(t,n){B0(t,n),Ch(n)&&t.queries.elementEnd(n)}function gR(t,n,e,i,r,o){let a=n.consts,s=Xt(a,r),c=Ko(n,t,e,i,s);if(c.mergedAttrs=$o(c.mergedAttrs,c.attrs),o!=null){let l=Xt(a,o);c.localNames=[];for(let d=0;d<l.length;d+=2)c.localNames.push(l[d],-1)}return c.attrs!==null&&yd(c,c.attrs,!1),c.mergedAttrs!==null&&yd(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function hg(t){return JC(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function XC(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function JC(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ew(t,n,e){return t[n]=e}function _R(t,n){return t[n]}function Sn(t,n,e){if(e===Ht)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function tw(t,n,e,i){let r=Sn(t,n,e);return Sn(t,n+1,i)||r}function md(t,n,e){return function i(r){let o=fi(t)?dn(t.index,n):n;ug(o,5);let a=n[rt],s=w0(n,a,e,r),c=i.__ngNextListenerFn__;for(;c;)s=w0(n,a,c,r)&&s,c=c.__ngNextListenerFn__;return s}}function w0(t,n,e,i){let r=ee(null);try{return Ae(De.OutputStart,n,e),e(i)!==!1}catch(o){return NA(t,o),!1}finally{Ae(De.OutputEnd,n,e),ee(r)}}function nw(t,n,e,i,r,o,a,s){let c=Lo(t),l=!1,d=null;if(!i&&c&&(d=bR(n,e,o,t.index)),d!==null){let m=d.__ngLastListenerFn__||d;m.__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,l=!0}else{let m=ln(t,e),h=i?i(m):m;_k(e,h,o,s);let f=r.listen(h,o,s);if(!vR(o)){let y=i?E=>i(cn(E[t.index])):t.index;iw(y,n,e,o,s,f,!1)}}return l}function vR(t){return t.startsWith("animation")||t.startsWith("transition")}function bR(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===i){let s=n[No],c=r[o+2];return s&&s.length>c?s[c]:null}typeof a=="string"&&(o+=2)}return null}function iw(t,n,e,i,r,o,a){let s=n.firstCreatePass?kh(n):null,c=Th(e),l=c.length;c.push(r,o),s&&s.push(i,t,l,(l+1)*(a?-1:1))}function x0(t,n,e,i,r,o){let a=n[e],s=n[K],l=s.data[e].outputs[i],m=a[l].subscribe(o);iw(t.index,s,n,r,o,m,!0)}var wp=Symbol("BINDING");var Cd=class extends Vs{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=li(n);return new jr(e,this.ngModule)}};function yR(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Od.SignalBased)!==0};return r&&(o.transform=r),o})}function CR(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function wR(t,n,e){let i=n instanceof Ne?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Cp(e,i):e}function xR(t){let n=t.get(Dt,null);if(n===null)throw new A(407,!1);let e=t.get(ZC,null),i=t.get(yn,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function DR(t,n){let e=rw(t);return hC(n,e,e==="svg"?wh:e==="math"?Sy:null)}function rw(t){return(t.selectors[0][0]||"div").toLowerCase()}var jr=class extends Hd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=yR(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CR(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=nA(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Ae(De.DynamicComponentStart);let s=ee(null);try{let c=this.componentDef,l=ER(i,c,a,o),d=wR(c,r||this.ngModule,n),m=xR(d),h=m.rendererFactory.createRenderer(null,c),f=i?EA(h,i,c.encapsulation,d):DR(c,h),y=a?.some(D0)||o?.some(I=>typeof I!="function"&&I.bindings.some(D0)),E=Xp(null,l,null,512|CC(c),null,null,m,h,d,null,aC(f,d,!0));E[qe]=f,Jl(E);let M=null;try{let I=mg(qe,E,2,"#host",()=>l.directiveRegistry,!0,0);_C(h,f,I),Wo(f,E),Bd(l,E,I),zp(l,I,E),fg(l,I),e!==void 0&&IR(I,this.ngContentSelectors,e),M=dn(I.index,E),E[rt]=M[rt],dg(l,E,null)}catch(I){throw M!==null&&sp(M),sp(E),I}finally{Ae(De.DynamicComponentEnd),ed()}return new wd(this.componentType,E,!!y)}finally{ee(s)}}};function ER(t,n,e,i){let r=t?["ng-version","21.1.5"]:iA(n.selectors[0]),o=null,a=null,s=0;if(e)for(let d of e)s+=d[wp].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let m=i[d];if(typeof m!="function")for(let h of m.bindings){s+=h[wp].requiredVars;let f=d+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(a??=[]).push(h))}}let c=[n];if(i)for(let d of i){let m=typeof d=="function"?d:d.type,h=lh(m);c.push(h)}return Kp(0,null,MR(o,a),1,s,c,null,null,null,[r],null)}function MR(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function D0(t){let n=t[wp].kind;return n==="input"||n==="twoWay"}var wd=class extends QC{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=bs(e[K],qe),this.location=Zo(this._tNode,e),this.instance=dn(this._tNode.index,e)[rt],this.hostView=this.changeDetectorRef=new $i(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=jd(i,r[K],r,n,e);this.previousInputValues.set(n,e);let a=dn(i.index,r);ug(a,1)}get injector(){return new Fr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function IR(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}var je=(()=>{class t{static __NG_ELEMENT_ID__=SR}return t})();function SR(){let t=gt();return aw(t,re())}var TR=je,ow=class extends TR{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Zo(this._hostTNode,this._hostLView)}get injector(){return new Fr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Bp(this._hostTNode,this._hostLView);if(H0(n)){let e=pd(n,this._hostLView),i=hd(n),r=e[K].data[i+8];return new Fr(r,e)}else return new Fr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=E0(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Je}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=bd(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,Go(this._hostTNode,a)),s}createComponent(n,e,i,r,o,a,s){let c=n&&!$T(n),l;if(c)l=e;else{let M=e||{};l=M.index,i=M.injector,r=M.projectableNodes,o=M.environmentInjector||M.ngModuleRef,a=M.directives,s=M.bindings}let d=c?n:new jr(li(n)),m=i||this.parentInjector;if(!o&&d.ngModule==null){let I=(c?m:this.parentInjector).get(Ne,null);I&&(o=I)}let h=li(d.componentType??{}),f=bd(this._lContainer,h?.id??null),y=f?.firstChild??null,E=d.create(m,r,y,o,a,s);return this.insertImpl(E.hostView,l,Go(this._hostTNode,f)),E}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(ky(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let c=r[pt],l=new ow(c,c[jt],c[pt]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return js(a,r,o,i),n.attachToViewContainerRef(),mh(Yh(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=E0(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=ks(this._lContainer,e);i&&(gs(Yh(this._lContainer),e),Fd(i[K],i))}detach(n){let e=this._adjustIndex(n,-1),i=ks(this._lContainer,e);return i&&gs(Yh(this._lContainer),e)!=null?new $i(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function E0(t){return t[vs]}function Yh(t){return t[vs]||(t[vs]=[])}function aw(t,n){let e,i=n[t.index];return xn(i)?e=i:(e=UC(i,n,null,t),n[t.index]=e,Jp(n,e)),AR(e,n,t,i),new ow(e,t,n)}function kR(t,n){let e=t[Be],i=e.createComment(""),r=ln(n,t),o=e.parentNode(r);return vd(e,o,i,e.nextSibling(r),!1),i}var AR=PR,RR=()=>!1;function OR(t,n,e){return RR(t,n,e)}function PR(t,n,e,i){if(t[Hi])return;let r;e.type&8?r=cn(i):r=kR(n,e),t[Hi]=r}var xp=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Dp=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)gg(n,e).matches!==null&&this.queries[e].setDirty()}},xd=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=jR(n):this.predicate=n}},Ep=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Mp=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,NR(e,o)),this.matchTNodeWithReadOption(n,e,dd(e,n,o,!1,!1))}else i===Oe?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,dd(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===O||r===je||r===Oe&&e.type&4)this.addMatch(e.index,-2);else{let o=dd(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function NR(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function FR(t,n){return t.type&11?Zo(t,n):t.type&4?Vd(t,n):null}function LR(t,n,e,i){return e===-1?FR(n,t):e===-2?BR(t,n,i):Is(t,t[K],e,n)}function BR(t,n,e){if(e===O)return Zo(n,t);if(e===Oe)return Vd(n,t);if(e===je)return aw(n,t)}function sw(t,n,e,i){let r=n[zn].queries[i];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let c=0;a!==null&&c<a.length;c+=2){let l=a[c];if(l<0)s.push(null);else{let d=o[l];s.push(LR(n,d,a[c+1],e.metadata.read))}}r.matches=s}return r.matches}function Ip(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=sw(t,n,r,e);for(let s=0;s<o.length;s+=2){let c=o[s];if(c>0)i.push(a[s/2]);else{let l=o[s+1],d=n[-c];for(let m=Je;m<d.length;m++){let h=d[m];h[Vi]===h[pt]&&Ip(h[K],h,l,i)}if(d[Rr]!==null){let m=d[Rr];for(let h=0;h<m.length;h++){let f=m[h];Ip(f[K],f,l,i)}}}}}return i}function pg(t,n){return t[zn].queries[n].queryList}function cw(t,n,e){let i=new Mn((e&4)===4);return Oy(t,n,i,i.destroy),(n[zn]??=new Dp).queries.push(new xp(i))-1}function lw(t,n,e){let i=Ue();return i.firstCreatePass&&(uw(i,new xd(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),cw(i,re(),n)}function dw(t,n,e,i){let r=Ue();if(r.firstCreatePass){let o=gt();uw(r,new xd(n,e,i),o.index),VR(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return cw(r,re(),e)}function jR(t){return t.split(",").map(n=>n.trim())}function uw(t,n,e){t.queries===null&&(t.queries=new Ep),t.queries.track(new Mp(n,e))}function VR(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function gg(t,n){return t.queries.getByIndex(n)}function mw(t,n){let e=t[K],i=gg(e,n);return i.crossesNgTemplate?Ip(e,t,n,[]):sw(e,t,i,n)}function fw(t,n,e){let i,r=Wa(()=>{i._dirtyCounter();let o=HR(i,t);if(n&&o===void 0)throw new A(-951,!1);return o});return i=r[Ct],i._dirtyCounter=de(0),i._flatValue=void 0,r}function _g(t){return fw(!0,!1,t)}function vg(t){return fw(!0,!0,t)}function hw(t,n){let e=t[Ct];e._lView=re(),e._queryIndex=n,e._queryList=pg(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function HR(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[ce]&4)return n?void 0:Pt;let r=pg(e,i),o=mw(e,i);return r.reset(o,Y0),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var Zn=class{},zd=class{};var Dd=class extends Zn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Cd(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=ch(n);this._bootstrapComponents=vC(o.bootstrap),this._r3Injector=zh(n,e,[{provide:Zn,useValue:this},{provide:Vs,useValue:this.componentFactoryResolver},...i],ci(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ed=class extends zd{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Dd(this.moduleType,n,[])}};var As=class extends Zn{injector;componentFactoryResolver=new Cd(this);instance=null;constructor(n){super();let e=new Dr([...n.providers,{provide:Zn,useValue:this},{provide:Vs,useValue:this.componentFactoryResolver}],n.parent||Po(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Hs(t,n,e=null){return new As({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var zR=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=ph(!1,e.type),r=i.length>0?Hs([i],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:t,providedIn:"environment",factory:()=>new t(Y(Ne))})}return t})();function R(t){return Os(()=>{let n=pw(t),e=ie(C({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Vp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(zR).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||In.Emulated,styles:t.styles||Pt,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&vi("NgStandalone"),gw(e);let i=t.dependencies;return e.directiveDefs=M0(i,UR),e.pipeDefs=M0(i,hy),e.id=GR(e),e})}function UR(t){return li(t)||lh(t)}function z(t){return Os(()=>({type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $R(t,n){if(t==null)return ji;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,a,s,c;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,c=r[3]||null):(o=r,a=r,s=Od.None,c=null),e[o]=[i,s,c],n[o]=a}return e}function WR(t){if(t==null)return ji;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function x(t){return Os(()=>{let n=pw(t);return gw(n),n})}function bg(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function pw(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||ji,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:$R(t.inputs,n),outputs:WR(t.outputs),debugInfo:null}}function gw(t){t.features?.forEach(n=>n(t))}function M0(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function GR(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function qR(t){return Object.getPrototypeOf(t.prototype).constructor}function oe(t){let n=qR(t.type),e=!0,i=[t];for(;n;){let r;if($n(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new A(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let a=t;a.inputs=Kh(t.inputs),a.declaredInputs=Kh(t.declaredInputs),a.outputs=Kh(t.outputs);let s=r.hostBindings;s&&XR(t,s);let c=r.viewQuery,l=r.contentQueries;if(c&&YR(t,c),l&&KR(t,l),QR(t,r),fy(t.outputs,r.outputs),$n(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===oe&&(e=!1)}}n=Object.getPrototypeOf(n)}ZR(i)}function QR(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function ZR(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=$o(r.hostAttrs,e=$o(e,r.hostAttrs))}}function Kh(t){return t===ji?{}:t===Pt?[]:t}function YR(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function KR(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function XR(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function _w(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=$o(t.mergedAttrs,t.attrs);let d=t.tView=Kp(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),jo(t,!1);let c=eO(e,n,t,i);td()&&og(e,n,c,t),Wo(c,n);let l=UC(c,n,c,t);n[i+qe]=l,Jp(n,l),OR(l,t,n)}function JR(t,n,e,i,r,o,a,s,c,l,d){let m=e+qe,h;return n.firstCreatePass?(h=Ko(n,m,4,a||null,s||null),Zl()&&YC(n,t,h,Xt(n.consts,l),sg),B0(n,h)):h=n.data[m],_w(h,t,n,e,i,r,o,c),Lo(h)&&Bd(n,t,h),l!=null&&Ls(t,h,d),h}function qo(t,n,e,i,r,o,a,s,c,l,d){let m=e+qe,h;if(n.firstCreatePass){if(h=Ko(n,m,4,a||null,s||null),l!=null){let f=Xt(n.consts,l);h.localNames=[];for(let y=0;y<f.length;y+=2)h.localNames.push(f[y],-1)}}else h=n.data[m];return _w(h,t,n,e,i,r,o,c),l!=null&&Ls(t,h,d),h}function Ie(t,n,e,i,r,o,a,s){let c=re(),l=Ue(),d=Xt(l.consts,o);return JR(c,l,t,n,e,i,r,d,void 0,a,s),Ie}function Ud(t,n,e,i,r,o,a,s){let c=re(),l=Ue(),d=Xt(l.consts,o);return qo(c,l,t,n,e,i,r,d,void 0,a,s),Ud}var eO=tO;function tO(t,n,e,i){return xs(!0),n[Be].createComment("")}var $d=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Xo(t){return typeof t=="function"&&t[Ct]!==void 0}var yg=new v("");function qi(t){return!!t&&typeof t.then=="function"}function Cg(t){return!!t&&typeof t.subscribe=="function"}var vw=new v("");var wg=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(vw,{optional:!0})??[];injector=u(J);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=wt(this.injector,r);if(qi(o))e.push(o);else if(Cg(o)){let a=new Promise((s,c)=>{o.subscribe({complete:s,error:c})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wd=new v("");function bw(){wf(()=>{let t="";throw new A(600,t)})}function yw(t){return t.isBoundToModule}var nO=10;var zt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(un);afterRenderManager=u(Nd);zonelessEnabled=u(Ho);rootEffectScheduler=u(rd);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new D;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(Gn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(e=>!e))}constructor(){u(Kn,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(Ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=J.NULL){return this._injector.get(N).run(()=>{Ae(De.BootstrapComponentStart);let a=e instanceof Hd;if(!this._injector.get(wg).done){let y="";throw new A(405,y)}let c;a?c=e:c=this._injector.get(Vs).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=yw(c)?void 0:this._injector.get(Zn),d=i||c.selector,m=c.create(r,[],d,l),h=m.location.nativeElement,f=m.injector.get(yg,null);return f?.registerApplication(h),m.onDestroy(()=>{this.detachView(m.hostView),Ms(this.components,m),f?.unregisterApplication(h)}),this._loadComponent(m),Ae(De.BootstrapComponentEnd,m),m})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ae(De.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Ae(De.ChangeDetectionEnd),new A(101,!1);let e=ee(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ee(e),this.afterTick.next(),Ae(De.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<nO;){Ae(De.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Ae(De.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!ys(r))continue;let o=i&&!this.zonelessEnabled?0:1;jC(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ys(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Ms(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Wd,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ms(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new A(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ms(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Jo(t,n){let e=re(),i=zi();if(Sn(e,i,n)){let r=Ue(),o=ws();if(jd(o,r,e,t,n))fi(o)&&RC(e,o.index);else{let s=ln(o,e);OC(e[Be],s,null,o.value,t,n,null)}}return Jo}function Z(t,n,e,i){let r=re(),o=zi();if(Sn(r,o,n)){let a=Ue(),s=ws();OA(s,r,t,n,e,i)}return Z}var tW=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Sp=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function Xh(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function iO(t,n,e,i){let r,o,a=0,s=t.length-1,c=void 0;if(Array.isArray(n)){ee(i);let l=n.length-1;for(ee(null);a<=s&&a<=l;){let d=t.at(a),m=n[a],h=Xh(a,d,a,m,e);if(h!==0){h<0&&t.updateValue(a,m),a++;continue}let f=t.at(s),y=n[l],E=Xh(s,f,l,y,e);if(E!==0){E<0&&t.updateValue(s,y),s--,l--;continue}let M=e(a,d),I=e(s,f),we=e(a,m);if(Object.is(we,I)){let Lt=e(l,y);Object.is(Lt,M)?(t.swap(a,s),t.updateValue(s,y),l--,s--):t.move(s,a),t.updateValue(a,m),a++;continue}if(r??=new Md,o??=S0(t,a,s,e),Tp(t,r,a,we))t.updateValue(a,m),a++,s++;else if(o.has(we))r.set(M,t.detach(a)),s--;else{let Lt=t.create(a,n[a]);t.attach(a,Lt),a++,s++}}for(;a<=l;)I0(t,r,e,a,n[a]),a++}else if(n!=null){ee(i);let l=n[Symbol.iterator]();ee(null);let d=l.next();for(;!d.done&&a<=s;){let m=t.at(a),h=d.value,f=Xh(a,m,a,h,e);if(f!==0)f<0&&t.updateValue(a,h),a++,d=l.next();else{r??=new Md,o??=S0(t,a,s,e);let y=e(a,h);if(Tp(t,r,a,y))t.updateValue(a,h),a++,s++,d=l.next();else if(!o.has(y))t.attach(a,t.create(a,h)),a++,s++,d=l.next();else{let E=e(a,m);r.set(E,t.detach(a)),s--}}}for(;!d.done;)I0(t,r,e,t.length,d.value),d=l.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function Tp(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function I0(t,n,e,i,r){if(Tp(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function S0(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var Md=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function F(t,n,e,i,r,o,a,s){vi("NgControlFlow");let c=re(),l=Ue(),d=Xt(l.consts,o);return qo(c,l,t,n,e,i,r,d,256,a,s),xg}function xg(t,n,e,i,r,o,a,s){vi("NgControlFlow");let c=re(),l=Ue(),d=Xt(l.consts,o);return qo(c,l,t,n,e,i,r,d,512,a,s),xg}function L(t,n){vi("NgControlFlow");let e=re(),i=zi(),r=e[i]!==Ht?e[i]:-1,o=r!==-1?Id(e,qe+r):void 0,a=0;if(Sn(e,i,t)){let s=ee(null);try{if(o!==void 0&&WC(o,a),t!==-1){let c=qe+t,l=Id(e,c),d=Op(e[K],c),m=qC(l,d,e),h=Bs(e,d,n,{dehydratedView:m});js(l,h,a,Go(d,m))}}finally{ee(s)}}else if(o!==void 0){let s=$C(o,a);s!==void 0&&(s[rt]=n)}}var kp=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Je}};function Dg(t){return t}function Qi(t,n){return n}var Ap=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Jt(t,n,e,i,r,o,a,s,c,l,d,m,h){vi("NgControlFlow");let f=re(),y=Ue(),E=c!==void 0,M=re(),I=s?a.bind(M[Vt][rt]):a,we=new Ap(E,I);M[qe+t]=we,qo(f,y,t+1,n,e,i,r,Xt(y.consts,o),256),E&&qo(f,y,t+2,c,l,d,m,Xt(y.consts,h),512)}var Rp=class extends Sp{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Je}at(n){return this.getLView(n)[rt].$implicit}attach(n,e){let i=e[Ir];this.needsIndexUpdate||=n!==this.length,js(this.lContainer,e,n,Go(this.templateTNode,i)),rO(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,oO(this.lContainer,n),aO(this.lContainer,n)}create(n,e){let i=bd(this.lContainer,this.templateTNode.tView.ssrId);return Bs(this.hostLView,this.templateTNode,new kp(this.lContainer,e,n),{dehydratedView:i})}destroy(n){Fd(n[K],n)}updateValue(n,e){this.getLView(n)[rt].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[rt].$index=n}getLView(n){return sO(this.lContainer,n)}};function en(t){let n=ee(null),e=Wn();try{let i=re(),r=i[K],o=i[e],a=e+1,s=Id(i,a);if(o.liveCollection===void 0){let l=Op(r,a);o.liveCollection=new Rp(s,i,l)}else o.liveCollection.reset();let c=o.liveCollection;if(iO(c,t,o.trackByFn,n),c.updateIndexes(),o.hasEmptyBlock){let l=zi(),d=c.length===0;if(Sn(i,l,d)){let m=e+2,h=Id(i,m);if(d){let f=Op(r,m),y=qC(h,f,i),E=Bs(i,f,void 0,{dehydratedView:y});js(h,E,0,Go(f,y))}else r.firstUpdatePass&&nR(h),WC(h,0)}}}finally{ee(n)}}function Id(t,n){return t[n]}function rO(t,n){if(t.length<=Je)return;let e=Je+n,i=t[e],r=i?i[Ar]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[ui];dA(o,r),Br.delete(i[mi]),r.detachedLeaveAnimationFns=void 0}}function oO(t,n){if(t.length<=Je)return;let e=Je+n,i=t[e],r=i?i[Ar]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function aO(t,n){return ks(t,n)}function sO(t,n){return $C(t,n)}function Op(t,n){return bs(t,n)}function W(t,n,e){let i=re(),r=zi();if(Sn(i,r,n)){let o=Ue(),a=ws();TA(a,i,t,n,i[Be],e)}return W}function Pp(t,n,e,i,r){jd(n,t,e,r?"class":"style",i)}function p(t,n,e,i){let r=re(),o=r[K],a=t+qe,s=o.firstCreatePass?mg(a,r,2,n,sg,Zl(),e,i):o.data[a];if(cg(s,r,t,n,Cw),Lo(s)){let c=r[K];Bd(c,r,s),zp(c,s,r)}return i!=null&&Ls(r,s),p}function g(){let t=Ue(),n=gt(),e=lg(n);return t.firstCreatePass&&fg(t,e),Oh(e)&&Ph(),Ah(),e.classesWithoutHost!=null&&YT(e)&&Pp(t,e,re(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&KT(e)&&Pp(t,e,re(),e.stylesWithoutHost,!1),g}function ne(t,n,e,i){return p(t,n,e,i),g(),ne}function at(t,n,e,i){let r=re(),o=r[K],a=t+qe,s=o.firstCreatePass?gR(a,o,2,n,e,i):o.data[a];return cg(s,r,t,n,Cw),i!=null&&Ls(r,s),at}function vt(){let t=gt(),n=lg(t);return Oh(n)&&Ph(),Ah(),vt}function Mt(t,n,e,i){return at(t,n,e,i),vt(),Mt}var Cw=(t,n,e,i,r)=>(xs(!0),hC(n[Be],i,Qy()));function bi(t,n,e){let i=re(),r=i[K],o=t+qe,a=r.firstCreatePass?mg(o,i,8,"ng-container",sg,Zl(),n,e):r.data[o];if(cg(a,i,t,"ng-container",cO),Lo(a)){let s=i[K];Bd(s,i,a),zp(s,a,i)}return e!=null&&Ls(i,a),bi}function yi(){let t=Ue(),n=gt(),e=lg(n);return t.firstCreatePass&&fg(t,e),yi}function ut(t,n,e){return bi(t,n,e),yi(),ut}var cO=(t,n,e,i,r)=>(xs(!0),zk(n[Be],""));function $e(){return re()}function Xn(t,n,e){let i=re(),r=zi();if(Sn(i,r,n)){let o=Ue(),a=ws();AC(a,i,t,n,i[Be],e)}return Xn}var Ds=void 0;function lO(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var dO=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ds,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ds,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Ds,Ds,Ds],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lO],Jh={};function tn(t){let n=uO(t),e=T0(n);if(e)return e;let i=n.split("-")[0];if(e=T0(i),e)return e;if(i==="en")return dO;throw new A(701,!1)}function T0(t){return t in Jh||(Jh[t]=Vn.ng&&Vn.ng.common&&Vn.ng.common.locales&&Vn.ng.common.locales[t]),Jh[t]}var st=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(st||{});function uO(t){return t.toLowerCase().replace(/_/g,"-")}var zs="en-US";var mO=zs;function ww(t){typeof t=="string"&&(mO=t.toLowerCase().replace(/_/g,"-"))}function ae(t,n,e){let i=re(),r=Ue(),o=gt();return fO(r,i,i[Be],o,t,n,e),ae}function Gd(t,n,e){let i=re(),r=Ue(),o=gt();return(o.type&3||e)&&nw(o,r,i,e,i[Be],t,n,md(o,i,n)),Gd}function fO(t,n,e,i,r,o,a){let s=!0,c=null;if((i.type&3||a)&&(c??=md(i,n,o),nw(i,t,n,a,e,r,o,c)&&(s=!1)),s){let l=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let m=0;m<d.length;m+=2){let h=d[m],f=d[m+1];c??=md(i,n,o),x0(i,n,h,f,r,c)}if(l&&l.length)for(let m of l)c??=md(i,n,o),x0(i,n,m,r,r,c)}}function S(t=1){return qy(t)}function hO(t,n){let e=null,i=Kk(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?yC(t,o,!0):eA(i,o))return r}return e}function be(t){let n=re()[Vt][jt];if(!n.projection){let e=t?t.length:1,i=n.projection=yy(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?hO(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function H(t,n=0,e,i,r,o){let a=re(),s=Ue(),c=i?t+1:null;c!==null&&qo(a,s,c,i,r,o,null,e);let l=Ko(s,qe+t,16,null,e||null);l.projection===null&&(l.projection=n),Lh();let m=!a[Ir]||Rh();a[Vt][jt].projection[l.projection]===null&&c!==null?pO(a,s,c):m&&!Ad(l)&&wA(s,a,l)}function pO(t,n,e){let i=qe+e,r=n.data[i],o=t[i],a=bd(o,r.tView.ssrId),s=Bs(t,r,void 0,{dehydratedView:a});js(o,s,0,Go(r,a))}function et(t,n,e,i){return dw(t,n,e,i),et}function Se(t,n,e){return lw(t,n,e),Se}function T(t){let n=re(),e=Ue(),i=Xl();Cs(i+1);let r=gg(e,i);if(t.dirty&&Ty(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=mw(n,i);t.reset(o,Y0),t.notifyOnChanges()}return!0}return!1}function k(){return pg(re(),Xl())}function qd(t,n,e,i,r){return hw(n,dw(t,e,i,r)),qd}function Qd(t,n,e,i){return hw(t,lw(n,e,i)),Qd}function Zd(t=1){Cs(Xl()+t)}function qt(t){let n=Ly();return Dh(n,qe+t)}function sd(t,n){return t<<17|n<<2}function Vr(t){return t>>17&32767}function gO(t){return(t&2)==2}function _O(t,n){return t&131071|n<<17}function Np(t){return t|2}function Qo(t){return(t&131068)>>2}function ep(t,n){return t&-131069|n<<2}function vO(t){return(t&1)===1}function Fp(t){return t|1}function bO(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Vr(a),c=Qo(a);t[i]=e;let l=!1,d;if(Array.isArray(e)){let m=e;d=m[1],(d===null||Oo(m,d)>0)&&(l=!0)}else d=e;if(r)if(c!==0){let h=Vr(t[s+1]);t[i+1]=sd(h,s),h!==0&&(t[h+1]=ep(t[h+1],i)),t[s+1]=_O(t[s+1],i)}else t[i+1]=sd(s,0),s!==0&&(t[s+1]=ep(t[s+1],i)),s=i;else t[i+1]=sd(c,0),s===0?s=i:t[c+1]=ep(t[c+1],i),c=i;l&&(t[i+1]=Np(t[i+1])),k0(t,d,i,!0),k0(t,d,i,!1),yO(n,d,t,i,o),a=sd(s,c),o?n.classBindings=a:n.styleBindings=a}function yO(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Oo(o,n)>=0&&(e[i+1]=Fp(e[i+1]))}function k0(t,n,e,i){let r=t[e+1],o=n===null,a=i?Vr(r):Qo(r),s=!1;for(;a!==0&&(s===!1||o);){let c=t[a],l=t[a+1];CO(c,n)&&(s=!0,t[a+1]=i?Fp(l):Np(l)),a=i?Vr(l):Qo(l)}s&&(t[e+1]=i?Np(r):Fp(r))}function CO(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Oo(t,n)>=0:!1}var En={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wO(t){return t.substring(En.key,En.keyEnd)}function xO(t){return DO(t),xw(t,Dw(t,0,En.textEnd))}function xw(t,n){let e=En.textEnd;return e===n?-1:(n=En.keyEnd=EO(t,En.key=n,e),Dw(t,n,e))}function DO(t){En.key=0,En.keyEnd=0,En.value=0,En.valueEnd=0,En.textEnd=t.length}function Dw(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function EO(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function bt(t,n,e){return Ew(t,n,e,!1),bt}function P(t,n){return Ew(t,n,null,!0),P}function Qe(t){IO(OO,MO,t,!0)}function MO(t,n){for(let e=xO(n);e>=0;e=xw(n,e))$l(t,wO(n),!0)}function Ew(t,n,e,i){let r=re(),o=Ue(),a=Yl(2);if(o.firstUpdatePass&&Iw(o,t,a,i),n!==Ht&&Sn(r,a,n)){let s=o.data[Wn()];Sw(o,s,r,r[Be],t,r[a+1]=NO(n,e),i,a)}}function IO(t,n,e,i){let r=Ue(),o=Yl(2);r.firstUpdatePass&&Iw(r,null,o,i);let a=re();if(e!==Ht&&Sn(a,o,e)){let s=r.data[Wn()];if(Tw(s,i)&&!Mw(r,o)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;c!==null&&(e=jl(c,e||"")),Pp(r,s,a,e,i)}else PO(r,s,a,a[Be],a[o+1],a[o+1]=RO(t,n,e),i,o)}}function Mw(t,n){return n>=t.expandoStartIndex}function Iw(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Wn()],a=Mw(t,e);Tw(o,i)&&n===null&&!a&&(n=!1),n=SO(r,o,n,i),bO(r,o,n,e,a,i)}}function SO(t,n,e,i){let r=Uy(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=tp(null,t,n,e,i),e=Rs(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=tp(r,t,n,e,i),o===null){let c=TO(t,n,i);c!==void 0&&Array.isArray(c)&&(c=tp(null,t,n,c[1],i),c=Rs(c,n.attrs,i),kO(t,n,i,c))}else o=AO(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function TO(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Qo(i)!==0)return t[Vr(i)]}function kO(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Vr(r)]=i}function AO(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=Rs(i,a,e)}return Rs(i,n.attrs,e)}function tp(t,n,e,i,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=n[s],i=Rs(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function Rs(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),$l(t,a,e?!0:n[++o]))}return t===void 0?null:t}function RO(t,n,e){if(e==null||e==="")return Pt;let i=[],r=Yn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(r instanceof Set)for(let o of r)t(i,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function OO(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&$l(t,i,e)}function PO(t,n,e,i,r,o,a,s){r===Ht&&(r=Pt);let c=0,l=0,d=0<r.length?r[0]:null,m=0<o.length?o[0]:null;for(;d!==null||m!==null;){let h=c<r.length?r[c+1]:void 0,f=l<o.length?o[l+1]:void 0,y=null,E;d===m?(c+=2,l+=2,h!==f&&(y=m,E=f)):m===null||d!==null&&d<m?(c+=2,y=d):(l+=2,y=m,E=f),y!==null&&Sw(t,n,e,i,y,E,a,s),d=c<r.length?r[c]:null,m=l<o.length?o[l]:null}}function Sw(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let c=t.data,l=c[s+1],d=vO(l)?A0(c,n,e,r,Qo(l),a):void 0;if(!Sd(d)){Sd(o)||gO(l)&&(o=A0(c,null,e,r,s,a));let m=xh(Wn(),e);DA(i,a,m,r,o)}}function A0(t,n,e,i,r,o){let a=n===null,s;for(;r>0;){let c=t[r],l=Array.isArray(c),d=l?c[1]:c,m=d===null,h=e[r+1];h===Ht&&(h=m?Pt:void 0);let f=m?Wl(h,i):d===i?h:void 0;if(l&&!Sd(f)&&(f=Wl(c,i)),Sd(f)&&(s=f,a))return s;let y=t[r+1];r=a?Vr(y):Qo(y)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(s=Wl(c,i))}return s}function Sd(t){return t!==void 0}function NO(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=ci(Yn(t)))),t}function Tw(t,n){return(t.flags&(n?8:16))!==0}function b(t,n=""){let e=re(),i=Ue(),r=t+qe,o=i.firstCreatePass?Ko(i,r,1,n,null):i.data[r],a=FO(i,e,o,n);e[r]=a,td()&&og(i,e,a,o),jo(o,!1)}var FO=(t,n,e,i)=>(xs(!0),Vk(n[Be],i));function LO(t,n,e,i=""){return Sn(t,zi(),e)?n+Ro(e)+i:Ht}function BO(t,n,e,i,r,o=""){let a=By(),s=tw(t,a,e,r);return Yl(2),s?n+Ro(e)+i+Ro(r)+o:Ht}function Ce(t){return Ve("",t),Ce}function Ve(t,n,e){let i=re(),r=LO(i,t,n,e);return r!==Ht&&kw(i,Wn(),r),Ve}function Yd(t,n,e,i,r){let o=re(),a=BO(o,t,n,e,i,r);return a!==Ht&&kw(o,Wn(),a),Yd}function kw(t,n,e){let i=xh(n,t);Hk(t[Be],i,e)}function R0(t,n,e){let i=Ue();i.firstCreatePass&&Aw(n,i.data,i.blueprint,$n(t),e)}function Aw(t,n,e,i,r){if(t=Tt(t),Array.isArray(t))for(let o=0;o<t.length;o++)Aw(t[o],n,e,i,r);else{let o=Ue(),a=re(),s=gt(),c=xr(t)?t:Tt(t.provide),l=_h(t),d=s.providerIndexes&1048575,m=s.directiveStart,h=s.providerIndexes>>20;if(xr(t)||!t.multi){let f=new Lr(l,r,_t,null),y=ip(c,n,r?d:d+h,m);y===-1?(op(_d(s,a),o,c),np(o,t,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(f),a.push(f)):(e[y]=f,a[y]=f)}else{let f=ip(c,n,d+h,m),y=ip(c,n,d,d+h),E=f>=0&&e[f],M=y>=0&&e[y];if(r&&!M||!r&&!E){op(_d(s,a),o,c);let I=HO(r?VO:jO,e.length,r,i,l,t);!r&&M&&(e[y].providerFactory=I),np(o,t,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(I),a.push(I)}else{let I=Rw(e[r?y:f],l,!r&&i);np(o,t,f>-1?f:y,I)}!r&&i&&M&&e[y].componentProviders++}}}function np(t,n,e,i){let r=xr(n),o=Ey(n);if(r||o){let c=(o?Tt(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=l.indexOf(e);d===-1?l.push(e,[i,c]):l[d+1].push(i,c)}else l.push(e,c)}}}function Rw(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function ip(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function jO(t,n,e,i,r){return Lp(this.multi,[])}function VO(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,c=Is(i,i[K],this.providerFactory.index,r);a=c.slice(0,s),Lp(o,a);for(let l=s;l<c.length;l++)a.push(c[l])}else a=[],Lp(o,a);return a}function Lp(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function HO(t,n,e,i,r,o){let a=new Lr(t,e,_t,null);return a.multi=[],a.index=n,a.componentProviders=0,Rw(a,r,i&&!e),a}function ve(t,n){return e=>{e.providersResolver=(i,r)=>R0(i,r?r(t):t,!1),n&&(e.viewProvidersResolver=(i,r)=>R0(i,r?r(n):n,!0))}}function Kd(t,n){let e=jh()+t,i=re();return i[e]===Ht?ew(i,e,n()):_R(i,e)}function zO(t,n){let e=t[n];return e===Ht?void 0:e}function UO(t,n,e,i,r,o,a){let s=n+e;return tw(t,s,r,o)?ew(t,s+2,a?i.call(a,r,o):i(r,o)):zO(t,s+2)}function ea(t,n){let e=Ue(),i,r=t+qe;e.firstCreatePass?(i=$O(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Ni(i.type,!0)),a,s=Bt(_t);try{let c=gd(!1),l=o();return gd(c),Eh(e,re(),r,l),l}finally{Bt(s)}}function $O(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function ta(t,n,e,i){let r=t+qe,o=re(),a=Dh(o,r);return WO(o,r)?UO(o,jh(),n,a.transform,e,i,a):a.transform(e,i)}function WO(t,n){return t[K].data[n].pure}function na(t,n){return Vd(t,n)}var Td=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Eg=(()=>{class t{compileModuleSync(e){return new Ed(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=ch(e),o=vC(r.declarations).reduce((a,s)=>{let c=li(s);return c&&a.push(new jr(c)),a},[]);return new Td(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ow=(()=>{class t{applicationErrorHandler=u(un);appRef=u(zt);taskService=u(Gn);ngZone=u(N);zonelessEnabled=u(Ho);tracing=u(Kn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(nd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Ky:$h;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fs+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Pw(){return[{provide:yn,useExisting:Ow},{provide:N,useClass:hs},{provide:Ho,useValue:!0}]}function GO(){return typeof $localize<"u"&&$localize.locale||zs}var Us=new v("",{factory:()=>u(Us,{optional:!0,skipSelf:!0})||GO()});function Ze(t,n){return Wa(t,n?.equal)}var zw=Symbol("InputSignalNode#UNSET"),a1=ie(C({},qa),{transformFn:void 0,applyValueToInputSignal(t,n){Ga(t,n)}});function Uw(t,n){let e=Object.create(a1);e.value=t,e.transformFn=n?.transform;function i(){if(po(e),e.value===zw){let r=null;throw new A(-950,r)}return e.value}return i[Ct]=e,i}var mn=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>jp(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},$w=(()=>{let t=new v("");return t.__NG_ELEMENT_ID__=n=>{let e=gt();if(e===null)throw new A(204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new A(204,!1)},t})();function Nw(t,n){return Uw(t,n)}function s1(t){return Uw(zw,t)}var Ww=(Nw.required=s1,Nw);function Fw(t,n){return _g(n)}function c1(t,n){return vg(n)}var Gs=(Fw.required=c1,Fw);function Lw(t,n){return _g(n)}function l1(t,n){return vg(n)}var Gw=(Lw.required=l1,Lw);var d1=(()=>{class t{zone=u(N);changeDetectionScheduler=u(yn);applicationRef=u(zt);applicationErrorHandler=u(un);_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(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),u1=new v("",{factory:()=>!1});function m1({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new N(ie(C({},Qw()),{scheduleInRootZone:n})),[{provide:Ho,useValue:!1},{provide:N,useFactory:t},{provide:di,multi:!0,useFactory:()=>{let e=u(d1,{optional:!0});return()=>e.initialize()}},{provide:di,multi:!0,useFactory:()=>{let e=u(f1);return()=>{e.initialize()}}},{provide:nd,useValue:n??Uh}]}function qw(t){let n=t?.scheduleInRootZone,e=m1({ngZoneFactory:()=>{let i=Qw(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&vi("NgZone_CoalesceEvent"),new N(i)},scheduleInRootZone:n});return Mr([{provide:u1,useValue:!0},e])}function Qw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var f1=(()=>{class t{subscription=new Q;initialized=!1;zone=u(N);pendingTasks=u(Gn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ig=new v(""),h1=new v("");function $s(t){return!t.moduleRef}function p1(t){let n=$s(t)?t.r3Injector:t.moduleRef.injector,e=n.get(N);return e.run(()=>{$s(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(un),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),$s(t)){let o=()=>n.destroy(),a=t.platformInjector.get(Ig);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(Ig);a.add(o),t.moduleRef.onDestroy(()=>{Ms(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return _1(i,e,()=>{let o=n.get(Gn),a=o.add(),s=n.get(wg);return s.runInitializers(),s.donePromise.then(()=>{let c=n.get(Us,zs);if(ww(c||zs),!n.get(h1,!0))return $s(t)?n.get(zt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if($s(t)){let d=n.get(zt);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return g1?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var g1;function _1(t,n,e){try{let i=e();return qi(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var Xd=null;function v1(t=[],n){return J.create({name:n,providers:[{provide:_s,useValue:"platform"},{provide:Ig,useValue:new Set([()=>Xd=null])},...t]})}function b1(t=[]){if(Xd)return Xd;let n=v1(t);return Xd=n,bw(),y1(n),n}function y1(t){let n=t.get(kd,null);wt(t,()=>{n?.forEach(e=>e())})}var C1=1e4;var QQ=C1-1e3;var Te=(()=>{class t{static __NG_ELEMENT_ID__=w1}return t})();function w1(t){return x1(gt(),re(),(t&16)===16)}function x1(t,n,e){if(fi(t)&&!e){let i=dn(t.index,n);return new $i(i,i)}else if(t.type&175){let i=n[Vt];return new $i(i,n)}return null}var Sg=class{supports(n){return hg(n)}create(n){return new Tg(n)}},D1=(t,n)=>n,Tg=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||D1}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let a=!i||e&&e.currentIndex<Bw(i,r,o)?e:i,s=Bw(a,r,o),c=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let l=s-r,d=c-r;if(l!=d){for(let h=0;h<l;h++){let f=h<o.length?o[h]:o[h]=0,y=f+h;d<=y&&y<l&&(o[h]=f+1)}let m=a.previousIndex;o[m]=d-l}}s!==c&&n(a,s,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!hg(n))throw new A(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,a;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),i=!0):(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,XC(n,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new kg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Jd),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Jd),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},kg=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Ag=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Jd=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Ag,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Bw(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function jw(){return new Jn([new Sg])}var Jn=(()=>{class t{factories;static \u0275prov=w({token:t,providedIn:"root",factory:jw});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=u(t,{optional:!0,skipSelf:!0});return t.create(e,i||jw())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new A(901,!1)}}return t})();function Zw(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;Ae(De.BootstrapApplicationStart);try{let o=r?.injector??b1(i),a=[Pw(),Jy,...e||[]],s=new As({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return p1({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{Ae(De.BootstrapApplicationEnd)}}function B(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function tt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Mg=Symbol("NOT_SET"),Yw=new Set,E1=ie(C({},qa),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Mg,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Mg&&!_o(this))return this.signal;try{for(let r of this.cleanup??Yw)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=ur(this),i;try{i=this.userFn.apply(null,n)}finally{go(this,e)}return(this.value===Mg||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),Rg=class extends Ss{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,i,r,o,a=null){super(n,[void 0,void 0,void 0,void 0],i,!1,o.get(Gt),a),this.scheduler=r;for(let s of tg){let c=e[s];if(c===void 0)continue;let l=Object.create(E1);l.sequence=this,l.phase=s,l.userFn=c,l.dirty=!0,l.signal=()=>(po(l),l.value),l.signal[Ct]=l,l.registerCleanupFn=d=>(l.cleanup??=new Set).add(d),this.nodes[s]=l,this.hooks[s]=d=>l.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??Yw)e()}finally{Ai(n)}}};function Kw(t,n){let e=n?.injector??u(J),i=e.get(yn),r=e.get(Nd),o=e.get(Kn,null,{optional:!0});r.impl??=e.get(ng);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(Vo,null,{optional:!0}),c=new Rg(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null));return r.impl.register(c),c}function eu(t,n){let e=li(t),i=n.elementInjector||Po();return new jr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var Xw=null;function Ci(){return Xw}function Og(t){Xw??=t}var qs=class{},tu=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(Jw),providedIn:"platform"})}return t})();var Jw=(()=>{class t extends tu{_location;_history;_doc=u(q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ci().getBaseHref(this._doc)}onPopState(e){let i=Ci().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ci().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function nx(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function ex(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Zi(t){return t&&t[0]!=="?"?`?${t}`:t}var nu=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(I1),providedIn:"root"})}return t})(),M1=new v(""),I1=(()=>{class t extends nu{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return nx(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Zi(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+Zi(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+Zi(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(Y(tu),Y(M1,8))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yi=(()=>{class t{_subject=new D;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=k1(ex(tx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Zi(i))}normalize(e){return t.stripTrailingSlash(T1(this._basePath,tx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zi(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Zi;static joinWithSlash=nx;static stripTrailingSlash=ex;static \u0275fac=function(i){return new(i||t)(Y(nu))};static \u0275prov=w({token:t,factory:()=>S1(),providedIn:"root"})}return t})();function S1(){return new Yi(Y(nu))}function T1(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function tx(t){return t.replace(/\/index.html$/,"")}function k1(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Nt=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Nt||{}),Fe=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(Fe||{}),Qt=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(Qt||{}),xi={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ox(t){return tn(t)[st.LocaleId]}function ax(t,n,e){let i=tn(t),r=[i[st.DayPeriodsFormat],i[st.DayPeriodsStandalone]],o=fn(r,n);return fn(o,e)}function sx(t,n,e){let i=tn(t),r=[i[st.DaysFormat],i[st.DaysStandalone]],o=fn(r,n);return fn(o,e)}function cx(t,n,e){let i=tn(t),r=[i[st.MonthsFormat],i[st.MonthsStandalone]],o=fn(r,n);return fn(o,e)}function lx(t,n){let i=tn(t)[st.Eras];return fn(i,n)}function Qs(t,n){let e=tn(t);return fn(e[st.DateFormat],n)}function Zs(t,n){let e=tn(t);return fn(e[st.TimeFormat],n)}function Ys(t,n){let i=tn(t)[st.DateTimeFormat];return fn(i,n)}function Ks(t,n){let e=tn(t),i=e[st.NumberSymbols][n];if(typeof i>"u"){if(n===xi.CurrencyDecimal)return e[st.NumberSymbols][xi.Decimal];if(n===xi.CurrencyGroup)return e[st.NumberSymbols][xi.Group]}return i}function dx(t){if(!t[st.ExtraData])throw new A(2303,!1)}function ux(t){let n=tn(t);return dx(n),(n[st.ExtraData][2]||[]).map(i=>typeof i=="string"?Pg(i):[Pg(i[0]),Pg(i[1])])}function mx(t,n,e){let i=tn(t);dx(i);let r=[i[st.ExtraData][0],i[st.ExtraData][1]],o=fn(r,n)||[];return fn(o,e)||[]}function fn(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new A(2304,!1)}function Pg(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var A1=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,iu={},R1=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function fx(t,n,e,i){let r=H1(t);n=wi(e,n)||n;let a=[],s;for(;n;)if(s=R1.exec(n),s){a=a.concat(s.slice(1));let d=a.pop();if(!d)break;n=d}else{a.push(n);break}let c=r.getTimezoneOffset();i&&(c=px(i,c),r=V1(r,i));let l="";return a.forEach(d=>{let m=B1(d);l+=m?m(r,e,c):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function cu(t,n,e){let i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function wi(t,n){let e=ox(t);if(iu[e]??={},iu[e][n])return iu[e][n];let i="";switch(n){case"shortDate":i=Qs(t,Qt.Short);break;case"mediumDate":i=Qs(t,Qt.Medium);break;case"longDate":i=Qs(t,Qt.Long);break;case"fullDate":i=Qs(t,Qt.Full);break;case"shortTime":i=Zs(t,Qt.Short);break;case"mediumTime":i=Zs(t,Qt.Medium);break;case"longTime":i=Zs(t,Qt.Long);break;case"fullTime":i=Zs(t,Qt.Full);break;case"short":let r=wi(t,"shortTime"),o=wi(t,"shortDate");i=ru(Ys(t,Qt.Short),[r,o]);break;case"medium":let a=wi(t,"mediumTime"),s=wi(t,"mediumDate");i=ru(Ys(t,Qt.Medium),[a,s]);break;case"long":let c=wi(t,"longTime"),l=wi(t,"longDate");i=ru(Ys(t,Qt.Long),[c,l]);break;case"full":let d=wi(t,"fullTime"),m=wi(t,"fullDate");i=ru(Ys(t,Qt.Full),[d,m]);break}return i&&(iu[e][n]=i),i}function ru(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return n!=null&&i in n?n[i]:e})),t}function Tn(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,o=e));let a=String(t);for(;a.length<n;)a="0"+a;return i&&(a=a.slice(a.length-n)),o+a}function O1(t,n){return Tn(t,3).substring(0,n)}function mt(t,n,e=0,i=!1,r=!1){return function(o,a){let s=P1(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return O1(s,n);let c=Ks(a,xi.MinusSign);return Tn(s,n,c,i,r)}}function P1(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new A(2301,!1)}}function ze(t,n,e=Nt.Format,i=!1){return function(r,o){return N1(r,o,t,n,e,i)}}function N1(t,n,e,i,r,o){switch(e){case 2:return cx(n,r,i)[t.getMonth()];case 1:return sx(n,r,i)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let l=ux(n),d=mx(n,r,i),m=l.findIndex(h=>{if(Array.isArray(h)){let[f,y]=h,E=a>=f.hours&&s>=f.minutes,M=a<y.hours||a===y.hours&&s<y.minutes;if(f.hours<y.hours){if(E&&M)return!0}else if(E||M)return!0}else if(h.hours===a&&h.minutes===s)return!0;return!1});if(m!==-1)return d[m]}return ax(n,r,i)[a<12?0:1];case 3:return lx(n,i)[t.getFullYear()<=0?0:1];default:let c=e;throw new A(2302,!1)}}function ou(t){return function(n,e,i){let r=-1*i,o=Ks(e,xi.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+Tn(a,2,o)+Tn(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+Tn(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+Tn(a,2,o)+":"+Tn(Math.abs(r%60),2,o);case 3:return i===0?"Z":(r>=0?"+":"")+Tn(a,2,o)+":"+Tn(Math.abs(r%60),2,o);default:throw new A(2310,!1)}}}var F1=0,su=4;function L1(t){let n=cu(t,F1,1).getDay();return cu(t,0,1+(n<=su?su:su+7)-n)}function hx(t){let n=t.getDay(),e=n===0?-3:su-n;return cu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Ng(t,n=!1){return function(e,i){let r;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7)}else{let o=hx(e),a=L1(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return Tn(r,t,Ks(i,xi.MinusSign))}}function au(t,n=!1){return function(e,i){let o=hx(e).getFullYear();return Tn(o,t,Ks(i,xi.MinusSign),n)}}var Fg={};function B1(t){if(Fg[t])return Fg[t];let n;switch(t){case"G":case"GG":case"GGG":n=ze(3,Fe.Abbreviated);break;case"GGGG":n=ze(3,Fe.Wide);break;case"GGGGG":n=ze(3,Fe.Narrow);break;case"y":n=mt(0,1,0,!1,!0);break;case"yy":n=mt(0,2,0,!0,!0);break;case"yyy":n=mt(0,3,0,!1,!0);break;case"yyyy":n=mt(0,4,0,!1,!0);break;case"Y":n=au(1);break;case"YY":n=au(2,!0);break;case"YYY":n=au(3);break;case"YYYY":n=au(4);break;case"M":case"L":n=mt(1,1,1);break;case"MM":case"LL":n=mt(1,2,1);break;case"MMM":n=ze(2,Fe.Abbreviated);break;case"MMMM":n=ze(2,Fe.Wide);break;case"MMMMM":n=ze(2,Fe.Narrow);break;case"LLL":n=ze(2,Fe.Abbreviated,Nt.Standalone);break;case"LLLL":n=ze(2,Fe.Wide,Nt.Standalone);break;case"LLLLL":n=ze(2,Fe.Narrow,Nt.Standalone);break;case"w":n=Ng(1);break;case"ww":n=Ng(2);break;case"W":n=Ng(1,!0);break;case"d":n=mt(2,1);break;case"dd":n=mt(2,2);break;case"c":case"cc":n=mt(7,1);break;case"ccc":n=ze(1,Fe.Abbreviated,Nt.Standalone);break;case"cccc":n=ze(1,Fe.Wide,Nt.Standalone);break;case"ccccc":n=ze(1,Fe.Narrow,Nt.Standalone);break;case"cccccc":n=ze(1,Fe.Short,Nt.Standalone);break;case"E":case"EE":case"EEE":n=ze(1,Fe.Abbreviated);break;case"EEEE":n=ze(1,Fe.Wide);break;case"EEEEE":n=ze(1,Fe.Narrow);break;case"EEEEEE":n=ze(1,Fe.Short);break;case"a":case"aa":case"aaa":n=ze(0,Fe.Abbreviated);break;case"aaaa":n=ze(0,Fe.Wide);break;case"aaaaa":n=ze(0,Fe.Narrow);break;case"b":case"bb":case"bbb":n=ze(0,Fe.Abbreviated,Nt.Standalone,!0);break;case"bbbb":n=ze(0,Fe.Wide,Nt.Standalone,!0);break;case"bbbbb":n=ze(0,Fe.Narrow,Nt.Standalone,!0);break;case"B":case"BB":case"BBB":n=ze(0,Fe.Abbreviated,Nt.Format,!0);break;case"BBBB":n=ze(0,Fe.Wide,Nt.Format,!0);break;case"BBBBB":n=ze(0,Fe.Narrow,Nt.Format,!0);break;case"h":n=mt(3,1,-12);break;case"hh":n=mt(3,2,-12);break;case"H":n=mt(3,1);break;case"HH":n=mt(3,2);break;case"m":n=mt(4,1);break;case"mm":n=mt(4,2);break;case"s":n=mt(5,1);break;case"ss":n=mt(5,2);break;case"S":n=mt(6,1);break;case"SS":n=mt(6,2);break;case"SSS":n=mt(6,3);break;case"Z":case"ZZ":case"ZZZ":n=ou(0);break;case"ZZZZZ":n=ou(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ou(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=ou(2);break;default:return null}return Fg[t]=n,n}function px(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function j1(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function V1(t,n,e){let r=t.getTimezoneOffset(),o=px(n,r);return j1(t,-1*(o-r))}function H1(t){if(ix(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,o=1,a=1]=t.split("-").map(s=>+s);return cu(r,o-1,a)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(A1))return z1(i)}let n=new Date(t);if(!ix(n))throw new A(2311,!1);return n}function z1(t){let n=new Date(0),e=0,i=0,r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let a=Number(t[4]||0)-e,s=Number(t[5]||0)-i,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,a,s,c,l),n}function ix(t){return t instanceof Date&&!isNaN(t.valueOf())}var Lg=/\s+/,rx=[],Bg=(()=>{class t{_ngEl;_renderer;initialClasses=rx;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Lg):rx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Lg):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Lg).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(_t(O),_t(Ke))};static \u0275dir=x({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Xs=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(_t(je))};static \u0275dir=x({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Pe]})}return t})();function U1(t,n){return new A(2100,!1)}var $1="mediumDate",gx=new v(""),_x=new v(""),Js=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,o){if(e==null||e===""||e!==e)return null;try{let a=i??this.defaultOptions?.dateFormat??$1,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return fx(e,a,o||this.locale,s)}catch(a){throw U1(t,a.message)}}static \u0275fac=function(i){return new(i||t)(_t(Us,16),_t(gx,24),_t(_x,24))};static \u0275pipe=bg({name:"date",type:t,pure:!0})}return t})();var ia=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({})}return t})();function lu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Hr=class{};var jg="browser";function du(t){return t===jg}var ec=class{_doc;constructor(n){this._doc=n}manager},uu=(()=>{class t extends ec{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(Y(q))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),hu=new v(""),Ug=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof uu));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof uu);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(Y(hu),Y(N))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Vg="ng-app-id";function bx(t){for(let n of t)n.remove()}function yx(t,n){let e=n.createElement("style");return e.textContent=t,e}function G1(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Vg}="${n}"],link[${Vg}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Vg),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function zg(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var $g=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,G1(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,yx);i?.forEach(r=>this.addUsage(r,this.external,zg))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(bx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])bx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,yx(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,zg(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(Y(q),Y(Wi),Y(Yo,8),Y(gi))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Hg={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"},Wg=/%COMP%/g;var wx="%COMP%",q1=`_nghost-${wx}`,Q1=`_ngcontent-${wx}`,Z1=!0,Y1=new v("",{factory:()=>Z1});function K1(t){return Q1.replace(Wg,t)}function X1(t){return q1.replace(Wg,t)}function xx(t,n){return n.map(e=>e.replace(Wg,t))}var Gg=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,i,r,o,a,s,c=null,l=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=c,this.tracingService=l,this.defaultRenderer=new tc(e,a,s,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof fu?r.applyToHost(e):r instanceof nc&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,m=this.tracingService;switch(i.encapsulation){case In.Emulated:o=new fu(c,l,i,this.appId,d,a,s,m);break;case In.ShadowDom:return new mu(c,e,i,a,s,this.nonce,m,l);case In.ExperimentalIsolatedShadowDom:return new mu(c,e,i,a,s,this.nonce,m);default:o=new nc(c,l,i,d,a,s,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(Y(Ug),Y($g),Y(Wi),Y(Y1),Y(q),Y(N),Y(Yo),Y(Kn,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),tc=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Hg[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Cx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Cx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new A(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Hg[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Hg[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(e,i,r&Qn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Qn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Ci().getGlobalEventTarget(this.doc,n),!n))throw new A(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Cx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var mu=class extends tc{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,o,a,s,c){super(n,r,o,s),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=xx(i.id,l);for(let m of l){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}let d=i.getExternalStyles?.();if(d)for(let m of d){let h=zg(m,r);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},nc=class extends tc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,c){super(n,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=i.styles;this.styles=c?xx(c,l):l,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Br.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},fu=class extends nc{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,c){let l=r+"-"+i.id;super(n,e,i,o,a,s,c,l),this.contentAttr=K1(l),this.hostAttr=X1(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var pu=class t extends qs{supportsDOMEvents=!0;static makeCurrent(){Og(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=J1();return e==null?null:eP(e)}resetBaseElement(){ic=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return lu(document.cookie,n)}},ic=null;function J1(){return ic=ic||document.head.querySelector("base"),ic?ic.getAttribute("href"):null}function eP(t){return new URL(t,document.baseURI).pathname}var tP=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Dx=["alt","control","meta","shift"],nP={"\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"},iP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ex=(()=>{class t extends ec{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ci().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),Dx.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let r=nP[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Dx.forEach(a=>{if(a!==r){let s=iP[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(Y(q))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function qg(t,n,e){return xe(this,null,function*(){let i=C({rootComponent:t},rP(n,e));return Zw(i)})}function rP(t,n){return{platformRef:n?.platformRef,appProviders:[...lP,...t?.providers??[]],platformProviders:cP}}function oP(){pu.makeCurrent()}function aP(){return new Wt}function sP(){return Hp(document),document}var cP=[{provide:gi,useValue:jg},{provide:kd,useValue:oP,multi:!0},{provide:q,useFactory:sP}];var lP=[{provide:_s,useValue:"root"},{provide:Wt,useFactory:aP},{provide:hu,useClass:uu,multi:!0},{provide:hu,useClass:Ex,multi:!0},Gg,$g,Ug,{provide:Dt,useExisting:Gg},{provide:Hr,useClass:tP},[]];var Ki=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5
- `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Zg=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Yg=class{encodeKey(n){return Mx(n)}encodeValue(n){return Mx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function dP(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var uP=/%(\d[a-f0-9])/gi,mP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mx(t){return encodeURIComponent(t).replace(uP,(n,e)=>mP[e]??n)}function gu(t){return`${t}`}var Di=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Yg,n.fromString){if(n.fromObject)throw new A(2805,!1);this.map=dP(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(gu):[gu(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(gu(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(gu(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function fP(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ix(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Sx(t){return typeof Blob<"u"&&t instanceof Blob}function Tx(t){return typeof FormData<"u"&&t instanceof FormData}function hP(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var kx="Content-Type",Ax="Accept",Rx="text/plain",Ox="application/json",pP=`${Ox}, ${Rx}, */*`,ra=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(fP(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new A(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Ki,this.context??=new Zg,!this.params)this.params=new Di,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+c+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ix(this.body)||Sx(this.body)||Tx(this.body)||hP(this.body)?this.body:this.body instanceof Di?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||Tx(this.body)?null:Sx(this.body)?this.body.type||null:Ix(this.body)?null:typeof this.body=="string"?Rx:this.body instanceof Di?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ox:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,s=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,d=n.credentials||this.credentials,m=n.referrer||this.referrer,h=n.integrity||this.integrity,f=n.referrerPolicy||this.referrerPolicy,y=n.transferCache??this.transferCache,E=n.timeout??this.timeout,M=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,we=n.reportProgress??this.reportProgress,Lt=n.headers||this.headers,yt=n.params||this.params,Ua=n.context??this.context;return n.setHeaders!==void 0&&(Lt=Object.keys(n.setHeaders).reduce(($a,dr)=>$a.set(dr,n.setHeaders[dr]),Lt)),n.setParams&&(yt=Object.keys(n.setParams).reduce(($a,dr)=>$a.set(dr,n.setParams[dr]),yt)),new t(e,i,M,{params:yt,headers:Lt,context:Ua,reportProgress:we,responseType:r,withCredentials:I,transferCache:y,keepalive:o,cache:s,priority:a,timeout:E,mode:c,redirect:l,credentials:d,referrer:m,integrity:h,referrerPolicy:f})}},zr=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(zr||{}),rc=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new Ki,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Kg=class t extends rc{constructor(n={}){super(n)}type=zr.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},oc=class t extends rc{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=zr.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},oa=class extends rc{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gP=200,_P=204;var vP=/^\)\]\}',?\n/;var bP=(()=>{class t{xhrFactory;tracingService=u(Kn,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new A(-2800,!1);let i=this.xhrFactory;return $(null).pipe(it(()=>new G(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((M,I)=>a.setRequestHeader(M,I.join(","))),e.headers.has(Ax)||a.setRequestHeader(Ax,pP),!e.headers.has(kx)){let M=e.detectContentTypeHeader();M!==null&&a.setRequestHeader(kx,M)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let M=e.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let s=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let M=a.statusText||"OK",I=new Ki(a.getAllResponseHeaders()),we=a.responseURL||e.url;return c=new Kg({headers:I,status:a.status,statusText:M,url:we}),c},d=this.maybePropagateTrace(()=>{let{headers:M,status:I,statusText:we,url:Lt}=l(),yt=null;I!==_P&&(yt=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=yt?gP:0);let Ua=I>=200&&I<300;if(e.responseType==="json"&&typeof yt=="string"){let $a=yt;yt=yt.replace(vP,"");try{yt=yt!==""?JSON.parse(yt):null}catch(dr){yt=$a,Ua&&(Ua=!1,yt={error:dr,text:yt})}}Ua?(o.next(new oc({body:yt,headers:M,status:I,statusText:we,url:Lt||void 0})),o.complete()):o.error(new oa({error:yt,headers:M,status:I,statusText:we,url:Lt||void 0}))}),m=this.maybePropagateTrace(M=>{let{url:I}=l(),we=new oa({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});o.error(we)}),h=m;e.timeout&&(h=this.maybePropagateTrace(M=>{let{url:I}=l(),we=new oa({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:I||void 0});o.error(we)}));let f=!1,y=this.maybePropagateTrace(M=>{f||(o.next(l()),f=!0);let I={type:zr.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(I.total=M.total),e.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),o.next(I)}),E=this.maybePropagateTrace(M=>{let I={type:zr.UploadProgress,loaded:M.loaded};M.lengthComputable&&(I.total=M.total),o.next(I)});return a.addEventListener("load",d),a.addEventListener("error",m),a.addEventListener("timeout",h),a.addEventListener("abort",m),e.reportProgress&&(a.addEventListener("progress",y),s!==null&&a.upload&&a.upload.addEventListener("progress",E)),a.send(s),o.next({type:zr.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",d),a.removeEventListener("timeout",h),e.reportProgress&&(a.removeEventListener("progress",y),s!==null&&a.upload&&a.upload.removeEventListener("progress",E)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(Y(Hr))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yP(t,n){return n(t)}function CP(t,n,e){return(i,r)=>wt(e,()=>n(i,o=>t(o,r)))}var wP=new v("",{factory:()=>[]}),Px=new v(""),xP=new v("",{factory:()=>!0});var DP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Y(bP),r},providedIn:"root"})}return t})();var EP=(()=>{class t{backend;injector;chain=null;pendingTasks=u(id);contributeToStability=u(xP);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(wP),...this.injector.get(Px,[])]));this.chain=i.reduceRight((r,o)=>CP(r,o,this.injector),yP)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(br(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(Y(DP),Y(Ne))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Y(EP),r},providedIn:"root"})}return t})();function Qg(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var Xg=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ra)o=e;else{let c;r.headers instanceof Ki?c=r.headers:c=new Ki(r.headers);let l;r.params&&(r.params instanceof Di?l=r.params:l=new Di({fromObject:r.params})),o=new ra(e,i,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:l,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=$(o).pipe(So(c=>this.handler.handle(c)));if(e instanceof ra||r.observe==="events")return a;let s=a.pipe(_e(c=>c instanceof oc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new A(2806,!1);return c.body}));case"blob":return s.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new A(2807,!1);return c.body}));case"text":return s.pipe(X(c=>{if(c.body!==null&&typeof c.body!="string")throw new A(2808,!1);return c.body}));default:return s.pipe(X(c=>c.body))}case"response":return s;default:throw new A(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Di().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Qg(r,i))}post(e,i,r={}){return this.request("POST",e,Qg(r,i))}put(e,i,r={}){return this.request("PUT",e,Qg(r,i))}static \u0275fac=function(i){return new(i||t)(Y(MP))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nx=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(Y(q))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ac=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Y(SP),r},providedIn:"root"})}return t})(),SP=(()=>{class t extends ac{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Et.NONE:return i;case Et.HTML:return Gi(i,"HTML")?Yn(i):Qp(this._doc,String(i)).toString();case Et.STYLE:return Gi(i,"Style")?Yn(i):i;case Et.SCRIPT:if(Gi(i,"Script"))return Yn(i);throw new A(5200,!1);case Et.URL:return Gi(i,"URL")?Yn(i):Ns(String(i));case Et.RESOURCE_URL:if(Gi(i,"ResourceURL"))return Yn(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(e){return Up(e)}bypassSecurityTrustStyle(e){return $p(e)}bypassSecurityTrustScript(e){return Wp(e)}bypassSecurityTrustUrl(e){return Gp(e)}bypassSecurityTrustResourceUrl(e){return qp(e)}static \u0275fac=function(i){return new(i||t)(Y(q))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fe="primary",_c=Symbol("RouteTitle"),i_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function da(t){return new i_(t)}function Jg(t,n,e){for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(r[0]===":")e[r.substring(1)]=o;else if(r!==o.path)return!1}return!0}function TP(t,n,e){let i=e.path.split("/"),r=i.indexOf("**");if(r===-1){if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let c={},l=t.slice(0,i.length);return Jg(i,l,c)?{consumed:l,posParams:c}:null}if(r!==i.lastIndexOf("**"))return null;let o=i.slice(0,r),a=i.slice(r+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let s={};return!Jg(o,t.slice(0,o.length),s)||!Jg(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function wu(t){return new Promise((n,e)=>{t.pipe(ai()).subscribe({next:i=>n(i),error:i=>e(i)})})}function kP(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ei(t[e],n[e]))return!1;return!0}function ei(t,n){let e=t?r_(t):void 0,i=n?r_(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!Gx(t[r],n[r]))return!1;return!0}function r_(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Gx(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function AP(t){return t.length>0?t[t.length-1]:null}function qr(t){return Bn(t)?t:qi(t)?Ge(Promise.resolve(t)):$(t)}function qx(t){return Bn(t)?wu(t):Promise.resolve(t)}var RP={exact:Zx,subset:Yx},Qx={exact:OP,subset:PP,ignored:()=>!0};function Lx(t,n,e){return RP[e.paths](t.root,n.root,e.matrixParams)&&Qx[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function OP(t,n){return ei(t,n)}function Zx(t,n,e){if(!$r(t.segments,n.segments)||!bu(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!Zx(t.children[i],n.children[i],e))return!1;return!0}function PP(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Gx(t[e],n[e]))}function Yx(t,n,e){return Kx(t,n,n.segments,e)}function Kx(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!$r(r,e)||n.hasChildren()||!bu(r,e,i))}else if(t.segments.length===e.length){if(!$r(t.segments,e)||!bu(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!Yx(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!$r(t.segments,r)||!bu(t.segments,r,i)||!t.children[fe]?!1:Kx(t.children[fe],n,o,i)}}function bu(t,n,e){return n.every((i,r)=>Qx[e](t[r].parameters,i.parameters))}var ti=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Re([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=da(this.queryParams),this._queryParamMap}toString(){return LP.serialize(this)}},Re=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yu(this)}},Ur=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=da(this.parameters),this._parameterMap}toString(){return Jx(this)}};function NP(t,n){return $r(t,n)&&t.every((e,i)=>ei(e.parameters,n[i].parameters))}function $r(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function FP(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===fe&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==fe&&(e=e.concat(n(r,i)))}),e}var Ru=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new Wr,providedIn:"root"})}return t})(),Wr=class{parse(n){let e=new a_(n);return new ti(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${sc(n.root,!0)}`,i=VP(n.queryParams),r=typeof n.fragment=="string"?`#${BP(n.fragment)}`:"";return`${e}${i}${r}`}},LP=new Wr;function yu(t){return t.segments.map(n=>Jx(n)).join("/")}function sc(t,n){if(!t.hasChildren())return yu(t);if(n){let e=t.children[fe]?sc(t.children[fe],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==fe&&i.push(`${r}:${sc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=FP(t,(i,r)=>r===fe?[sc(t.children[fe],!1)]:[`${r}:${sc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[fe]!=null?`${yu(t)}/${e[0]}`:`${yu(t)}/(${e.join("//")})`}}function Xx(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _u(t){return Xx(t).replace(/%3B/gi,";")}function BP(t){return encodeURI(t)}function o_(t){return Xx(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cu(t){return decodeURIComponent(t)}function Bx(t){return Cu(t.replace(/\+/g,"%20"))}function Jx(t){return`${o_(t.path)}${jP(t.parameters)}`}function jP(t){return Object.entries(t).map(([n,e])=>`;${o_(n)}=${o_(e)}`).join("")}function VP(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${_u(e)}=${_u(r)}`).join("&"):`${_u(e)}=${_u(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var HP=/^[^\/()?;#]+/;function e_(t){let n=t.match(HP);return n?n[0]:""}var zP=/^[^\/()?;=#]+/;function UP(t){let n=t.match(zP);return n?n[0]:""}var $P=/^[^=?&#]+/;function WP(t){let n=t.match($P);return n?n[0]:""}var GP=/^[^&#]+/;function qP(t){let n=t.match(GP);return n?n[0]:""}var a_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new A(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,n));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,n)),(e.length>0||Object.keys(i).length>0)&&(r[fe]=new Re(e,i)),r}parseSegment(){let n=e_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Ur(Cu(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=UP(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=e_(this.remaining);r&&(i=r,this.capture(i))}n[Cu(e)]=Cu(i)}parseQueryParam(n){let e=WP(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=qP(this.remaining);a&&(i=a,this.capture(i))}let r=Bx(e),o=Bx(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n,e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=e_(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new A(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=fe);let s=this.parseChildren(e+1);i[a??fe]=Object.keys(s).length===1&&s[fe]?s[fe]:new Re([],s),this.consumeOptional("//")}return i}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}};function eD(t){return t.segments.length>0?new Re([],{[fe]:t}):t}function tD(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=tD(r);if(i===fe&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Re(t.segments,n);return QP(e)}function QP(t){if(t.numberOfChildren===1&&t.children[fe]){let n=t.children[fe];return new Re(t.segments.concat(n.segments),n.children)}return t}function ua(t){return t instanceof ti}function ZP(t,n,e=null,i=null,r=new Wr){let o=nD(t);return iD(o,n,e,i,r)}function nD(t){let n;function e(o){let a={};for(let c of o.children){let l=e(c);a[c.outlet]=l}let s=new Re(o.url,a);return o===t&&(n=s),s}let i=e(t.root),r=eD(i);return n??r}function iD(t,n,e,i,r){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return t_(o,o,o,e,i,r);let a=YP(n);if(a.toRoot())return t_(o,o,new Re([],{}),e,i,r);let s=KP(a,o,t),c=s.processChildren?lc(s.segmentGroup,s.index,a.commands):oD(s.segmentGroup,s.index,a.commands);return t_(o,s.segmentGroup,c,e,i,r)}function xu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function mc(t){return typeof t=="object"&&t!=null&&t.outlets}function jx(t,n,e){t||="\u0275";let i=new ti;return i.queryParams={[t]:n},e.parse(e.serialize(i)).queryParams[t]}function t_(t,n,e,i,r,o){let a={};for(let[l,d]of Object.entries(i??{}))a[l]=Array.isArray(d)?d.map(m=>jx(l,m,o)):jx(l,d,o);let s;t===n?s=e:s=rD(t,n,e);let c=eD(tD(s));return new ti(c,a,r)}function rD(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=rD(o,n,e)}),new Re(t.segments,i)}var Du=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&xu(i[0]))throw new A(4003,!1);let r=i.find(mc);if(r&&r!==AP(i))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function YP(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Du(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,l])=>{s[c]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Du(e,n,i)}var sa=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function KP(t,n,e){if(t.isAbsolute)return new sa(n,!0,0);if(!e)return new sa(n,!1,NaN);if(e.parent===null)return new sa(e,!0,0);let i=xu(t.commands[0])?0:1,r=e.segments.length-1+i;return XP(e,r,t.numberOfDoubleDots)}function XP(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new A(4005,!1);r=i.segments.length}return new sa(i,!1,r-o)}function JP(t){return mc(t[0])?t[0].outlets:{[fe]:t}}function oD(t,n,e){if(t??=new Re([],{}),t.segments.length===0&&t.hasChildren())return lc(t,n,e);let i=eN(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Re(t.segments.slice(0,i.pathIndex),{});return o.children[fe]=new Re(t.segments.slice(i.pathIndex),t.children),lc(o,0,r)}else return i.match&&r.length===0?new Re(t.segments,{}):i.match&&!t.hasChildren()?s_(t,n,e):i.match?lc(t,0,r):s_(t,n,e)}function lc(t,n,e){if(e.length===0)return new Re(t.segments,{});{let i=JP(e),r={};if(Object.keys(i).some(o=>o!==fe)&&t.children[fe]&&t.numberOfChildren===1&&t.children[fe].segments.length===0){let o=lc(t.children[fe],n,e);return new Re(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=oD(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a)}),new Re(t.segments,r)}}function eN(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let a=t.segments[r],s=e[i];if(mc(s))break;let c=`${s}`,l=i<e.length-1?e[i+1]:null;if(r>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Hx(c,l,a))return o;i+=2}else{if(!Hx(c,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function s_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(mc(o)){let c=tN(o.outlets);return new Re(i,c)}if(r===0&&xu(e[0])){let c=t.segments[n];i.push(new Ur(c.path,Vx(e[0]))),r++;continue}let a=mc(o)?o.outlets[fe]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&xu(s)?(i.push(new Ur(a,Vx(s))),r+=2):(i.push(new Ur(a,{})),r++)}return new Re(i,{})}function tN(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=s_(new Re([],{}),0,i))}),n}function Vx(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function Hx(t,n,e){return t==e.path&&ei(n,e.parameters)}var dc="imperative",kt=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(kt||{}),hn=class{id;url;constructor(n,e){this.id=n,this.url=e}},ma=class extends hn{type=kt.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xi=class extends hn{urlAfterRedirects;type=kt.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ut=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Ut||{}),Eu=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Eu||{}),An=class extends hn{reason;code;type=kt.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function aD(t){return t instanceof An&&(t.code===Ut.Redirect||t.code===Ut.SupersededByNewNavigation)}var Ji=class extends hn{reason;code;type=kt.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},fa=class extends hn{error;target;type=kt.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},fc=class extends hn{urlAfterRedirects;state;type=kt.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},c_=class extends hn{urlAfterRedirects;state;type=kt.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},l_=class extends hn{urlAfterRedirects;state;shouldActivate;type=kt.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},d_=class extends hn{urlAfterRedirects;state;type=kt.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},u_=class extends hn{urlAfterRedirects;state;type=kt.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},m_=class{route;type=kt.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},f_=class{route;type=kt.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},h_=class{snapshot;type=kt.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},p_=class{snapshot;type=kt.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},g_=class{snapshot;type=kt.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},__=class{snapshot;type=kt.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ha=class{},pa=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function nN(t){return!(t instanceof ha)&&!(t instanceof pa)}var v_=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new vc(this.rootInjector)}},vc=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new v_(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(Y(Ne))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mu=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=b_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=b_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=y_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return y_(n,this._root).map(e=>e.value)}};function b_(t,n){if(t===n.value)return n;for(let e of n.children){let i=b_(t,e);if(i)return i}return null}function y_(t,n){if(t===n.value)return[n];for(let e of n.children){let i=y_(t,e);if(i.length)return i.unshift(n),i}return[]}var nn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function aa(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Iu=class extends Mu{snapshot;constructor(n,e){super(n),this.snapshot=e,T_(this,n)}toString(){return this.snapshot.toString()}};function sD(t,n){let e=iN(t,n),i=new Xe([new Ur("",{})]),r=new Xe({}),o=new Xe({}),a=new Xe({}),s=new Xe(""),c=new Gr(i,r,a,s,o,fe,t,e.root);return c.snapshot=e.root,new Iu(new nn(c,[]),e)}function iN(t,n){let e={},i={},r={},a=new ca([],e,r,"",i,fe,t,null,{},n);return new Tu("",new nn(a,[]))}var Gr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(X(l=>l[_c]))??$(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(X(n=>da(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(n=>da(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Su(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:C(C({},n.params),t.params),data:C(C({},n.data),t.data),resolve:C(C(C(C({},t.data),n.data),r?.data),t._resolvedData)}:i={params:C({},t.params),data:C({},t.data),resolve:C(C({},t.data),t._resolvedData??{})},r&&lD(r)&&(i.resolve[_c]=r.title),i}var ca=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[_c]}constructor(n,e,i,r,o,a,s,c,l,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=l,this._environmentInjector=d}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??=da(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=da(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Tu=class extends Mu{url;constructor(n,e){super(e),this.url=n,T_(this,e)}toString(){return cD(this._root)}};function T_(t,n){n.value._routerState=t,n.children.forEach(e=>T_(t,e))}function cD(t){let n=t.children.length>0?` { ${t.children.map(cD).join(", ")} } `:"";return`${t.value}${n}`}function n_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ei(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ei(n.params,e.params)||t.paramsSubject.next(e.params),kP(n.url,e.url)||t.urlSubject.next(e.url),ei(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function C_(t,n){let e=ei(t.params,n.params)&&NP(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||C_(t.parent,n.parent))}function lD(t){return typeof t.title=="string"||t.title===null}var rN=new v(""),dD=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=fe;activateEvents=new j;deactivateEvents=new j;attachEvents=new j;detachEvents=new j;routerOutletData=Ww();parentContexts=u(vc);location=u(je);changeDetector=u(Te);inputBinder=u(Ou,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new w_(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Pe]})}return t})(),w_=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Gr?this.route:n===vc?this.childContexts:n===rN?this.outletData:this.parent.get(n,e)}},Ou=new v("");var uD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&ne(0,"router-outlet")},dependencies:[dD],encapsulation:2})}return t})();function k_(t){let n=t.children&&t.children.map(k_),e=n?ie(C({},t),{children:n}):C({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==fe&&(e.component=uD),e}function oN(t,n,e){let i=hc(t,n._root,e?e._root:void 0);return new Iu(i,n)}function hc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=aN(t,n,e);return new nn(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>hc(t,s)),a}}let i=sN(n.value),r=n.children.map(o=>hc(t,o));return new nn(i,r)}}function aN(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return hc(t,i,r);return hc(t,i)})}function sN(t){return new Gr(new Xe(t.url),new Xe(t.params),new Xe(t.queryParams),new Xe(t.fragment),new Xe(t.data),t.outlet,t.component,t)}var pc=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},mD="ngNavigationCancelingError";function ku(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=ua(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=fD(!1,Ut.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function fD(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[mD]=!0,e.cancellationCode=n,e}function cN(t){return hD(t)&&ua(t.url)}function hD(t){return!!t&&t[mD]}var x_=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),n_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=aa(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=aa(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=aa(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=aa(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new __(o.value.snapshot))}),n.children.length&&this.forwardEvent(new p_(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(n_(r),r===o)if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),n_(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}},Au=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},la=class{component;route;constructor(n,e){this.component=n,this.route=e}};function lN(t,n,e){let i=t._root,r=n?n._root:null;return cc(i,r,e,[i.value])}function dN(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function _a(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!nh(t)?t:n.get(t):i}function cc(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=aa(n);return t.children.forEach(a=>{uN(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>uc(s,e.getContext(a),r)),r}function uN(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=mN(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Au(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?cc(t,n,s?s.children:null,i,r):cc(t,n,e,i,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new la(s.outlet.component,a))}else a&&uc(n,s,r),r.canActivateChecks.push(new Au(i)),o.component?cc(t,null,s?s.children:null,i,r):cc(t,null,e,i,r);return r}function mN(t,n,e){if(typeof e=="function")return wt(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!$r(t.url,n.url);case"pathParamsOrQueryParamsChange":return!$r(t.url,n.url)||!ei(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!C_(t,n)||!ei(t.queryParams,n.queryParams);default:return!C_(t,n)}}function uc(t,n,e){let i=aa(t),r=t.value;Object.entries(i).forEach(([o,a])=>{r.component?n?uc(a,n.children.getContext(o),e):uc(a,null,e):uc(a,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new la(n.outlet.component,r)):e.canDeactivateChecks.push(new la(null,r)):e.canDeactivateChecks.push(new la(null,r))}function bc(t){return typeof t=="function"}function fN(t){return typeof t=="boolean"}function hN(t){return t&&bc(t.canLoad)}function pN(t){return t&&bc(t.canActivate)}function gN(t){return t&&bc(t.canActivateChild)}function _N(t){return t&&bc(t.canDeactivate)}function vN(t){return t&&bc(t.canMatch)}function pD(t){return t instanceof pr||t?.name==="EmptyError"}var vu=Symbol("INITIAL_VALUE");function ga(){return it(t=>ri(t.map(n=>n.pipe(nt(1),ht(vu)))).pipe(X(n=>{for(let e of n)if(e!==!0){if(e===vu)return vu;if(e===!1||bN(e))return e}return!0}),_e(n=>n!==vu),nt(1)))}function bN(t){return ua(t)||t instanceof pc}function gD(t){return t.aborted?$(void 0).pipe(nt(1)):new G(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function _D(t){return le(gD(t))}function yN(t){return dt(n=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return o.length===0&&r.length===0?$(ie(C({},n),{guardsResult:!0})):CN(o,e,i).pipe(dt(a=>a&&fN(a)?wN(e,r,t):$(a)),X(a=>ie(C({},n),{guardsResult:a})))})}function CN(t,n,e){return Ge(t).pipe(dt(i=>IN(i.component,i.route,e,n)),ai(i=>i!==!0,!0))}function wN(t,n,e){return Ge(n).pipe(So(i=>Pi(DN(i.route.parent,e),xN(i.route,e),MN(t,i.path),EN(t,i.route))),ai(i=>i!==!0,!0))}function xN(t,n){return t!==null&&n&&n(new g_(t)),$(!0)}function DN(t,n){return t!==null&&n&&n(new h_(t)),$(!0)}function EN(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return $(!0);let i=e.map(r=>gr(()=>{let o=n._environmentInjector,a=_a(r,o),s=pN(a)?a.canActivate(n,t):wt(o,()=>a(n,t));return qr(s).pipe(ai())}));return $(i).pipe(ga())}function MN(t,n){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(o=>dN(o)).filter(o=>o!==null).map(o=>gr(()=>{let a=o.guards.map(s=>{let c=o.node._environmentInjector,l=_a(s,c),d=gN(l)?l.canActivateChild(e,t):wt(c,()=>l(e,t));return qr(d).pipe(ai())});return $(a).pipe(ga())}));return $(r).pipe(ga())}function IN(t,n,e,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return $(!0);let o=r.map(a=>{let s=n._environmentInjector,c=_a(a,s),l=_N(c)?c.canDeactivate(t,n,e,i):wt(s,()=>c(t,n,e,i));return qr(l).pipe(ai())});return $(o).pipe(ga())}function SN(t,n,e,i,r){let o=n.canLoad;if(o===void 0||o.length===0)return $(!0);let a=o.map(s=>{let c=_a(s,t),l=hN(c)?c.canLoad(n,e):wt(t,()=>c(n,e)),d=qr(l);return r?d.pipe(_D(r)):d});return $(a).pipe(ga(),vD(i))}function vD(t){return Rf(Ot(n=>{if(typeof n!="boolean")throw ku(t,n)}),X(n=>n===!0))}function TN(t,n,e,i,r){let o=n.canMatch;if(!o||o.length===0)return $(!0);let a=o.map(s=>{let c=_a(s,t),l=vN(c)?c.canMatch(n,e):wt(t,()=>c(n,e));return qr(l).pipe(_D(r))});return $(a).pipe(ga(),vD(i))}var Ei=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},gc=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function kN(t){throw new A(4e3,!1)}function AN(t){throw fD(!1,Ut.GuardRejected)}var D_=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return xe(this,null,function*(){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return i;if(r.numberOfChildren>1||!r.children[fe])throw kN(`${n.redirectTo}`);r=r.children[fe]}})}applyRedirectCommands(n,e,i,r,o){return xe(this,null,function*(){let a=yield RN(e,r,o);if(a instanceof ti)throw new gc(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if(a[0]==="/")throw new gc(s);return s})}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new ti(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,i,r)}),new Re(o,a)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new A(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function RN(t,n,e){if(typeof t=="string")return Promise.resolve(t);let i=t,{queryParams:r,fragment:o,routeConfig:a,url:s,outlet:c,params:l,data:d,title:m,paramMap:h,queryParamMap:f}=n;return wu(qr(wt(e,()=>i({params:l,data:d,queryParams:r,fragment:o,routeConfig:a,url:s,outlet:c,title:m,paramMap:h,queryParamMap:f}))))}function ON(t,n){return t.providers&&!t._injector&&(t._injector=Hs(t.providers,n,`Route: ${t.path}`)),t._injector??n}function kn(t){return t.outlet||fe}function PN(t,n){let e=t.filter(i=>kn(i)===n);return e.push(...t.filter(i=>kn(i)!==n)),e}var E_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function NN(t,n,e,i,r,o){let a=bD(t,n,e);return a.matched?(i=ON(n,i),TN(i,n,e,r,o).pipe(X(s=>s===!0?a:C({},E_)))):$(a)}function bD(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?C({},E_):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||TP)(e,t,n);if(!r)return C({},E_);let o={};Object.entries(r.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=r.consumed.length>0?C(C({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function zx(t,n,e,i){return e.length>0&&BN(t,e,i)?{segmentGroup:new Re(n,LN(i,new Re(e,t.children))),slicedSegments:[]}:e.length===0&&jN(t,e,i)?{segmentGroup:new Re(t.segments,FN(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Re(t.segments,t.children),slicedSegments:e}}function FN(t,n,e,i){let r={};for(let o of e)if(Pu(t,n,o)&&!i[kn(o)]){let a=new Re([],{});r[kn(o)]=a}return C(C({},i),r)}function LN(t,n){let e={};e[fe]=n;for(let i of t)if(i.path===""&&kn(i)!==fe){let r=new Re([],{});e[kn(i)]=r}return e}function BN(t,n,e){return e.some(i=>Pu(t,n,i)&&kn(i)!==fe)}function jN(t,n,e){return e.some(i=>Pu(t,n,i))}function Pu(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function VN(t,n,e){return n.length===0&&!t.children[e]}var M_=class{};function HN(t,n,e,i,r,o,a="emptyOnly",s){return xe(this,null,function*(){return new I_(t,n,e,i,r,a,o,s).recognize()})}var zN=31,I_=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,a,s,c){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=c,this.applyRedirects=new D_(this.urlSerializer,this.urlTree)}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){return xe(this,null,function*(){let n=zx(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:i}=yield this.match(n),r=new nn(i,e),o=new Tu("",r),a=ZP(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(n){return xe(this,null,function*(){let e=new ca([],Object.freeze({}),Object.freeze(C({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),fe,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,fe,e),rootSnapshot:e}}catch(i){if(i instanceof gc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Ei?this.noMatchError(i):i}})}processSegmentGroup(n,e,i,r,o){return xe(this,null,function*(){if(i.segments.length===0&&i.hasChildren())return this.processChildren(n,e,i,o);let a=yield this.processSegment(n,e,i,i.segments,r,!0,o);return a instanceof nn?[a]:[]})}processChildren(n,e,i,r){return xe(this,null,function*(){let o=[];for(let c of Object.keys(i.children))c==="primary"?o.unshift(c):o.push(c);let a=[];for(let c of o){let l=i.children[c],d=PN(e,c),m=yield this.processSegmentGroup(n,d,l,c,r);a.push(...m)}let s=yD(a);return UN(s),s})}processSegment(n,e,i,r,o,a,s){return xe(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??n,e,c,i,r,o,a,s)}catch(l){if(l instanceof Ei||pD(l))continue;throw l}if(VN(i,r,o))return new M_;throw new Ei(i)})}processSegmentAgainstRoute(n,e,i,r,o,a,s,c){return xe(this,null,function*(){if(kn(i)!==a&&(a===fe||!Pu(r,o,i)))throw new Ei(r);if(i.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,r,i,o,a,c);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,c);throw new Ei(r)})}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){return xe(this,null,function*(){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:m,remainingSegments:h}=bD(e,r,o);if(!c)throw new Ei(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zN&&(this.allowRedirects=!1));let f=new ca(o,l,Object.freeze(C({},this.urlTree.queryParams)),this.urlTree.fragment,Ux(r),kn(r),r.component??r._loadedComponent??null,r,$x(r),n),y=Su(f,s,this.paramsInheritanceStrategy);if(f.params=Object.freeze(y.params),f.data=Object.freeze(y.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let E=yield this.applyRedirects.applyRedirectCommands(d,r.redirectTo,m,f,n),M=yield this.applyRedirects.lineralizeSegments(r,E);return this.processSegment(n,i,e,M.concat(h),a,!1,s)})}matchSegmentAgainstRoute(n,e,i,r,o,a){return xe(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=yield wu(NN(e,i,r,n,this.urlSerializer,this.abortSignal));if(i.path==="**"&&(e.children={}),!s?.matched)throw new Ei(e);n=i._injector??n;let{routes:c}=yield this.getChildConfig(n,i,r),l=i._loadedInjector??n,{parameters:d,consumedSegments:m,remainingSegments:h}=s,f=new ca(m,d,Object.freeze(C({},this.urlTree.queryParams)),this.urlTree.fragment,Ux(i),kn(i),i.component??i._loadedComponent??null,i,$x(i),n),y=Su(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(y.params),f.data=Object.freeze(y.data);let{segmentGroup:E,slicedSegments:M}=zx(e,m,h,c);if(M.length===0&&E.hasChildren()){let Lt=yield this.processChildren(l,c,E,f);return new nn(f,Lt)}if(c.length===0&&M.length===0)return new nn(f,[]);let I=kn(i)===o,we=yield this.processSegment(l,c,E,M,I?fe:o,!0,f);return new nn(f,we instanceof nn?[we]:[])})}getChildConfig(n,e,i){return xe(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield wu(SN(n,e,i,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw AN(e)}return{routes:[],injector:n}})}};function UN(t){t.sort((n,e)=>n.value.outlet===fe?-1:e.value.outlet===fe?1:n.value.outlet.localeCompare(e.value.outlet))}function $N(t){let n=t.value.routeConfig;return n&&n.path===""}function yD(t){let n=[],e=new Set;for(let i of t){if(!$N(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=yD(i.children);n.push(new nn(i.value,r))}return n.filter(i=>!e.has(i))}function Ux(t){return t.data||{}}function $x(t){return t.resolve||{}}function WN(t,n,e,i,r,o,a){return dt(s=>xe(null,null,function*(){let{state:c,tree:l}=yield HN(t,n,e,i,s.extractedUrl,r,o,a);return ie(C({},s),{targetSnapshot:c,urlAfterRedirects:l})}))}function GN(t){return dt(n=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=n;if(!i.length)return $(n);let r=new Set(i.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let c of CD(s))o.add(c);let a=0;return Ge(o).pipe(So(s=>r.has(s)?qN(s,e,t):(s.data=Su(s,s.parent,t).resolve,$(void 0))),Ot(()=>a++),kl(1),dt(s=>a===o.size?$(n):Ye))})}function CD(t){let n=t.children.map(e=>CD(e)).flat();return[t,...n]}function qN(t,n,e){let i=t.routeConfig,r=t._resolve;return i?.title!==void 0&&!lD(i)&&(r[_c]=i.title),gr(()=>(t.data=Su(t,t.parent,e).resolve,QN(r,t,n).pipe(X(o=>(t._resolvedData=o,t.data=C(C({},t.data),o),null)))))}function QN(t,n,e){let i=r_(t);if(i.length===0)return $({});let r={};return Ge(i).pipe(dt(o=>ZN(t[o],n,e).pipe(ai(),Ot(a=>{if(a instanceof pc)throw ku(new Wr,a);r[o]=a}))),kl(1),X(()=>r),vr(o=>pD(o)?Ye:ns(o)))}function ZN(t,n,e){let i=n._environmentInjector,r=_a(t,i),o=r.resolve?r.resolve(n,e):wt(i,()=>r(n,e));return qr(o)}function Wx(t){return it(n=>{let e=t(n);return e?Ge(e).pipe(X(()=>n)):$(n)})}var wD=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===fe);return i}getResolvedTitleForRoute(e){return e.data[_c]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(YN),providedIn:"root"})}return t})(),YN=(()=>{class t extends wD{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(Y(Nx))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nu=new v("",{factory:()=>({})}),Fu=new v(""),xD=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Eg);loadComponent(e,i){return xe(this,null,function*(){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Promise.resolve(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=xe(this,null,function*(){try{let o=yield qx(wt(e,()=>i.loadComponent())),a=yield ED(DD(o));return this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a,a}finally{this.componentLoaders.delete(i)}});return this.componentLoaders.set(i,r),r})}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Promise.resolve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=xe(this,null,function*(){try{let o=yield KN(i,this.compiler,e,this.onLoadEndListener);return i._loadedRoutes=o.routes,i._loadedInjector=o.injector,i._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(i)}});return this.childrenLoaders.set(i,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function KN(t,n,e,i){return xe(this,null,function*(){let r=yield qx(wt(e,()=>t.loadChildren())),o=yield ED(DD(r)),a;o instanceof zd||Array.isArray(o)?a=o:a=yield n.compileModuleAsync(o),i&&i(t);let s,c,l=!1,d;return Array.isArray(a)?(c=a,l=!0):(s=a.create(e).injector,d=a,c=s.get(Fu,[],{optional:!0,self:!0}).flat()),{routes:c.map(k_),injector:s,factory:d}})}function XN(t){return t&&typeof t=="object"&&"default"in t}function DD(t){return XN(t)?t.default:t}function ED(t){return xe(this,null,function*(){return t})}var A_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(JN),providedIn:"root"})}return t})(),JN=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MD=new v("");var eF=()=>{},ID=new v(""),SD=(()=>{class t{currentNavigation=de(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=de(null);events=new D;transitionAbortWithErrorSubject=new D;configLoader=u(xD);environmentInjector=u(Ne);destroyRef=u(Gt);urlSerializer=u(Ru);rootContexts=u(vc);location=u(Yi);inputBindingEnabled=u(Ou,{optional:!0})!==null;titleStrategy=u(wD);options=u(Nu,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(A_);createViewTransition=u(MD,{optional:!0});navigationErrorHandler=u(ID,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>$(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new m_(r)),i=r=>this.events.next(new f_(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;ot(()=>{this.transitions?.next(ie(C({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))})}setupNavigations(e){return this.transitions=new Xe(null),this.transitions.pipe(_e(i=>i!==null),it(i=>{let r=!1,o=new AbortController,a=()=>!r&&this.currentTransition?.id===i.id;return $(i).pipe(it(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Ut.SupersededByNewNavigation),Ye;this.currentTransition=i;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:c?ie(C({},c),{previousNavigation:null}):null,abort:()=>o.abort()});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&d!=="reload")return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.rawUrl),"",Eu.IgnoredSameUrlNavigation)),s.resolve(!1),Ye;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return $(s).pipe(it(m=>(this.events.next(new ma(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),m.id!==this.navigationId?Ye:Promise.resolve(m))),WN(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),Ot(m=>{i.targetSnapshot=m.targetSnapshot,i.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=m.urlAfterRedirects,f));let h=new fc(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:m,extractedUrl:h,source:f,restoredState:y,extras:E}=s,M=new ma(m,this.urlSerializer.serialize(h),f,y);this.events.next(M);let I=sD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=i=ie(C({},s),{targetSnapshot:I,urlAfterRedirects:h,extras:ie(C({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(we=>(we.finalUrl=h,we)),$(i)}else return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.extractedUrl),"",Eu.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ye}),X(s=>{let c=new c_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(c),this.currentTransition=i=ie(C({},s),{guards:lN(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i}),yN(s=>this.events.next(s)),it(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw ku(this.urlSerializer,s.guardsResult);let c=new l_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(c),!a())return Ye;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Ut.GuardRejected),Ye;if(s.guards.canActivateChecks.length===0)return $(s);let l=new d_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(l),!a())return Ye;let d=!1;return $(s).pipe(GN(this.paramsInheritanceStrategy),Ot({next:()=>{d=!0;let m=new u_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(m)},complete:()=>{d||this.cancelNavigationTransition(s,"",Ut.NoDataFromResolver)}}))}),Wx(s=>{let c=d=>{let m=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let h=d._environmentInjector;m.push(this.configLoader.loadComponent(h,d.routeConfig).then(f=>{d.component=f}))}for(let h of d.children)m.push(...c(h));return m},l=c(s.targetSnapshot.root);return l.length===0?$(s):Ge(Promise.all(l).then(()=>s))}),Wx(()=>this.afterPreactivation()),it(()=>{let{currentSnapshot:s,targetSnapshot:c}=i,l=this.createViewTransition?.(this.environmentInjector,s.root,c.root);return l?Ge(l).pipe(X(()=>i)):$(i)}),nt(1),X(s=>{let c=oN(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=i=s=ie(C({},s),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new ha),a()&&(new x_(e.routeReuseStrategy,i.targetRouterState,i.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),a()&&(r=!0,this.currentNavigation.update(l=>(l.abort=eF,l)),this.lastSuccessfulNavigation.set(ot(this.currentNavigation)),this.events.next(new Xi(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)))}),le(gD(o.signal).pipe(_e(()=>!r&&!i.targetRouterState),Ot(()=>{this.cancelNavigationTransition(i,o.signal.reason+"",Ut.Aborted)}))),Ot({complete:()=>{r=!0}}),le(this.transitionAbortWithErrorSubject.pipe(Ot(s=>{throw s}))),br(()=>{o.abort(),r||this.cancelNavigationTransition(i,"",Ut.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),vr(s=>{if(r=!0,this.destroyed)return i.resolve(!1),Ye;if(hD(s))this.events.next(new An(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),cN(s)?this.events.next(new pa(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let c=new fa(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let l=wt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof pc){let{message:d,cancellationCode:m}=ku(this.urlSerializer,l);this.events.next(new An(i.id,this.urlSerializer.serialize(i.extractedUrl),d,m)),this.events.next(new pa(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),s}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Ye}))}))}cancelNavigationTransition(e,i,r){let o=new An(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=ot(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tF(t){return t!==dc}var TD=new v("");var nF=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(iF),providedIn:"root"})}return t})(),S_=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},iF=(()=>{class t extends S_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),R_=(()=>{class t{urlSerializer=u(Ru);options=u(Nu,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(Yi);urlHandlingStrategy=u(A_);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ti;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof ti?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=sD(null,u(Ne));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(rF),providedIn:"root"})}return t})(),rF=(()=>{class t extends R_{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof ma?this.updateStateMemento():e instanceof Ji?this.commitTransition(i):e instanceof fc?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof ha?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof An&&!aD(e)?this.restoreHistory(i):e instanceof fa?this.restoreHistory(i,!0):e instanceof Xi&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||o){let s=this.browserPageId,c=C(C({},a),this.generateNgRouterState(r,s));this.location.replaceState(e,"",c)}else{let s=C(C({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kD(t,n){t.events.pipe(_e(e=>e instanceof Xi||e instanceof An||e instanceof fa||e instanceof Ji),X(e=>e instanceof Xi||e instanceof Ji?0:(e instanceof An?e.code===Ut.Redirect||e.code===Ut.SupersededByNewNavigation:!1)?2:1),_e(e=>e!==2),nt(1)).subscribe(()=>{n()})}var AD={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},RD={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},O_=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u($d);stateManager=u(R_);options=u(Nu,{optional:!0})||{};pendingTasks=u(Gn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(SD);urlSerializer=u(Ru);location=u(Yi);urlHandlingStrategy=u(A_);injector=u(Ne);_events=new D;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(nF);injectorCleanup=u(TD,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(Fu,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(Ou,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Q;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=ot(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof An&&i.code!==Ut.Redirect&&i.code!==Ut.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Xi)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(i instanceof pa){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),c=C({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||tF(r.source)},a);this.scheduleNavigation(s,dc,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}nN(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),dc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let c=C({},r);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o).catch(c=>{this.disposed||this.injector.get(un)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ot(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(k_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=C(C({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let m;try{let h=r?r.snapshot:this.routerState.snapshot.root;m=nD(h)}catch(h){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return iD(m,e,d,l??null,this.urlSerializer)}navigateByUrl(e,i={skipLocationChange:!1}){let r=ua(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,dc,null,i)}navigate(e,i={skipLocationChange:!1}){return oF(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(i){return this.console.warn(Bi(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=C({},AD):i===!1?r=C({},RD):r=i,ua(e))return Lx(this.currentUrlTree,e,r);let o=this.parseUrl(e);return Lx(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,c,l;a?(s=a.resolve,c=a.reject,l=a.promise):l=new Promise((m,h)=>{s=m,c=h});let d=this.pendingTasks.add();return kD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function oF(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new A(4008,!1)}var aF=new v("");function P_(t,...n){return Mr([{provide:Fu,multi:!0,useValue:t},[],{provide:Gr,useFactory:sF},{provide:Wd,multi:!0,useFactory:cF},n.map(e=>e.\u0275providers)])}function sF(){return u(O_).routerState.root}function cF(){let t=u(J);return n=>{let e=t.get(zt);if(n!==e.components[0])return;let i=t.get(O_),r=t.get(lF);t.get(dF)===1&&i.initialNavigation(),t.get(uF,null,{optional:!0})?.setUpPreloading(),t.get(aF,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var lF=new v("",{factory:()=>new D}),dF=new v("",{factory:()=>1});var uF=new v("");var OD=[];var PD={providers:[qw({eventCoalescing:!0}),P_(OD)]};var fF={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)},hF="WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }",Lu=class t extends Do{constructor(n,e){if(super(),this._socket=null,n instanceof G)this.destination=e,this.source=n;else{let i=this._config=Object.assign({},fF);if(this._output=new D,typeof n=="string")i.url=n;else for(let r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new bn}}lift(n){let e=new t(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new bn),this._output=new D}multiplex(n,e,i){let r=this;return new G(o=>{try{r.next(n())}catch(s){o.error(s)}let a=r.subscribe({next:s=>{try{i(s)&&o.next(s)}catch(c){o.error(c)}},error:s=>o.error(s),complete:()=>o.complete()});return()=>{try{r.next(e())}catch(s){o.error(s)}a.unsubscribe()}})}_connectSocket(){let{WebSocketCtor:n,protocol:e,url:i,binaryType:r}=this._config,o=this._output,a=null;try{a=e?new n(i,e):new n(i),this._socket=a,r&&(this._socket.binaryType=r)}catch(c){o.error(c);return}let s=new Q(()=>{this._socket=null,a&&a.readyState===1&&a.close()});a.onopen=c=>{let{_socket:l}=this;if(!l){a.close(),this._resetState();return}let{openObserver:d}=this._config;d&&d.next(c);let m=this.destination;this.destination=ni.create(h=>{if(a.readyState===1)try{let{serializer:f}=this._config;a.send(f(h))}catch(f){this.destination.error(f)}},h=>{let{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?a.close(h.code,h.reason):o.error(new TypeError(hF)),this._resetState()},()=>{let{closingObserver:h}=this._config;h&&h.next(void 0),a.close(),this._resetState()}),m&&m instanceof bn&&s.add(m.subscribe(this.destination))},a.onerror=c=>{this._resetState(),o.error(c)},a.onclose=c=>{a===this._socket&&this._resetState();let{closeObserver:l}=this._config;l&&l.next(c),c.wasClean?o.complete():o.error(c)},a.onmessage=c=>{try{let{deserializer:l}=this._config;o.next(l(c))}catch(l){o.error(l)}}}_subscribe(n){let{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{let{_socket:i}=this;this._output.observers.length===0&&(i&&(i.readyState===1||i.readyState===0)&&i.close(),this._resetState())}),n)}unsubscribe(){let{_socket:n}=this;n&&(n.readyState===1||n.readyState===0)&&n.close(),this._resetState(),super.unsubscribe()}};function N_(t){return new Lu(t)}var ND=t=>new Promise((n,e)=>{let i=new FileReader;i.onload=()=>n(i.result),i.onerror=r=>e(r),i.readAsText(t)});var Bu=class t{socket$;messages$;isBrowser;platformId=u(gi);constructor(){this.isBrowser=du(this.platformId)}connect(n){if(!this.isBrowser){console.warn("WebSocket is only available in the browser"),this.messages$=$([]);return}(!this.socket$||this.socket$.closed)&&(this.socket$=N_({url:n,deserializer:e=>e.data}),this.messages$=this.socket$.pipe(dt(e=>{if(e instanceof Blob)return Ge(ND(e)).pipe(X(i=>{try{return JSON.parse(i)}catch(r){return null}}));if(typeof e=="string")try{let i=JSON.parse(e);return $(i)}catch(i){return $(null)}return $(e)}),_e(e=>e!==null)))}send(n){this.socket$&&!this.socket$.closed&&this.socket$.next(n)}close(){this.socket$?.complete(),this.socket$=void 0,this.messages$=void 0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var pF=1,ju=class t{CHUNK_SIZE=1e3;exportSession(n,e,i,r){try{let o=this.buildSessionBlob(n,e,i,r),a=URL.createObjectURL(o),s=this.generateFilename(r);this.triggerDownload(a,s),URL.revokeObjectURL(a)}catch(o){throw console.error("Failed to export session:",o),new Error("Export failed: Session data is too large to export. Try clearing some history first.")}}buildSessionBlob(n,e,i,r){let o=[];o.push(`{
6
- `),o.push(` "version": ${pF},
7
- `),o.push(` "exportedAt": ${JSON.stringify(new Date().toISOString())},
8
- `),r&&o.push(` "appName": ${JSON.stringify(r)},
9
- `),o.push(` "messages": [
10
- `),this.writeArrayChunked(o,n," "),o.push(` ],
11
- `),o.push(` "effectEvents": [
12
- `),this.writeArrayChunked(o,e," "),o.push(` ],
13
- `);let a=Array.from(i.entries());return o.push(` "renderTimings": [
14
- `),this.writeArrayChunked(o,a," "),o.push(` ]
15
- `),o.push("}"),new Blob(o,{type:"application/json"})}writeArrayChunked(n,e,i){for(let r=0;r<e.length;r+=this.CHUNK_SIZE){let o=e.slice(r,Math.min(r+this.CHUNK_SIZE,e.length));for(let a=0;a<o.length;a++){let s=r+a===e.length-1,c=JSON.stringify(o[a]);n.push(`${i}${c}${s?`
16
- `:`,
17
- `}`)}}}importSession$(){let n=this.createFileInput(),e=new D,i=rs(n,"change").pipe(nt(1),it(o=>{let s=o.target?.files?.[0];return s?this.readAndParseFile$(s):$({success:!1,error:{type:"NO_FILE_SELECTED"}})})),r=e.pipe(X(()=>({success:!1,error:{type:"CANCELLED"}})));return n.addEventListener("cancel",()=>e.next(),{once:!0}),n.click(),jf(i,r).pipe(nt(1))}importSession(){return new Promise((n,e)=>{this.importSession$().subscribe(i=>{i.success?n(i.data):e(new Error(this.formatImportError(i.error)))})})}readAndParseFile$(n){return new G(e=>{let i=new FileReader;i.onload=r=>{let o=r.target?.result;if(typeof o!="string"){e.next({success:!1,error:{type:"FILE_READ_ERROR",message:"File content is not text"}}),e.complete();return}let a=this.parseSessionContent(o);e.next(a),e.complete()},i.onerror=()=>{e.next({success:!1,error:{type:"FILE_READ_ERROR",message:i.error?.message??"Unknown read error"}}),e.complete()},i.readAsText(n)})}parseSessionContent(n){let e;try{e=JSON.parse(n)}catch(r){return{success:!1,error:{type:"PARSE_ERROR",message:r instanceof Error?r.message:"Unknown parse error"}}}let i=this.validateSessionData(e);return i.valid?{success:!0,data:e}:{success:!1,error:{type:"INVALID_FORMAT",details:i.reason}}}validateSessionData(n){if(n===null||typeof n!="object")return{valid:!1,reason:"Data is not an object"};let e=n,r=[[typeof e.version=="number","Missing or invalid version field"],[typeof e.exportedAt=="string","Missing or invalid exportedAt field"],[Array.isArray(e.messages),"Missing or invalid messages array"],[Array.isArray(e.effectEvents),"Missing or invalid effectEvents array"],[Array.isArray(e.renderTimings),"Missing or invalid renderTimings array"]].find(([o])=>!o);return r?{valid:!1,reason:r[1]}:{valid:!0}}createFileInput(){let n=document.createElement("input");return n.type="file",n.accept=".json,application/json",n.style.display="none",n}generateFilename(n){let e=new Date().toISOString().replace(/[:.]/g,"-");return n?`ngrx-session-${n}-${e}.json`:`ngrx-session-${e}.json`}triggerDownload(n,e){let i=document.createElement("a");i.href=n,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}formatImportError(n){switch(n.type){case"NO_FILE_SELECTED":return"No file selected";case"CANCELLED":return"File selection cancelled";case"FILE_READ_ERROR":return`Failed to read file: ${n.message}`;case"PARSE_ERROR":return`Failed to parse session file: ${n.message}`;case"INVALID_FORMAT":return`Invalid session file format: ${n.details}`}}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var gF=new v("cdk-dir-doc",{providedIn:"root",factory:()=>u(q)}),_F=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function FD(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?_F.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var It=(()=>{class t{get value(){return this.valueSignal()}valueSignal=de("ltr");change=new j;constructor(){let e=u(gF,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(FD(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ue=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({})}return t})();var F_;try{F_=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){F_=!1}var ye=(()=>{class t{_platformId=u(gi);isBrowser=this._platformId?du(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||F_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yc;function LD(){if(yc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>yc=!0}))}finally{yc=yc||!1}return yc}function va(t){return LD()?t:!!t.capture}var Rn=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Rn||{}),Vu,Qr;function Hu(){if(Qr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Qr=!1,Qr;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Qr=!0;else{let t=Element.prototype.scrollTo;t?Qr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Qr=!1}}return Qr}function ba(){if(typeof document!="object"||!document)return Rn.NORMAL;if(Vu==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Vu=Rn.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Vu=t.scrollLeft===0?Rn.NEGATED:Rn.INVERTED),t.remove()}return Vu}var L_;function BD(){if(L_==null){let t=typeof document<"u"?document.head:null;L_=!!(t&&(t.createShadowRoot||t.attachShadow))}return L_}function B_(t){if(BD()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function At(t){return t.composedPath?t.composedPath()[0]:t.target}function j_(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var bF=["*",[["mat-toolbar-row"]]],yF=["*","mat-toolbar-row"],CF=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),jD=(()=>{class t{_elementRef=u(O);_platform=u(ye);_document=u(q);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&et(o,CF,5),i&2){let a;T(a=k())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(Qe(r.color?"mat-"+r.color:""),P("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:yF,decls:2,vars:0,template:function(i,r){i&1&&(be(bF),H(0),H(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
18
- `],encapsulation:2,changeDetection:0})}return t})();var VD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var zu=new WeakMap,ct=(()=>{class t{_appRef;_injector=u(J);_environmentInjector=u(Ne);load(e){let i=this._appRef=this._appRef||this._injector.get(zt),r=zu.get(i);r||(r={loaders:new Set,refs:[]},zu.set(i,r),i.onDestroy(()=>{zu.get(i)?.refs.forEach(o=>o.destroy()),zu.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(eu(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
19
- `],encapsulation:2,changeDetection:0})}return t})(),Uu;function xF(){if(Uu===void 0&&(Uu=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Uu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Uu}function Yr(t){return xF()?.createHTML(t)||t}function HD(t,n,e){let i=e.sanitize(Et.HTML,n);t.innerHTML=Yr(i||"")}function zD(t){return Error(`Unable to find icon with the name "${t}"`)}function DF(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function UD(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function $D(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Mi=class{url;svgText;options;svgElement=null;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},GD=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Mi(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(Et.HTML,r);if(!a)throw $D(r);let s=Yr(a);return this._addSvgIconConfig(e,i,new Mi("",s,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Mi(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Et.HTML,i);if(!o)throw $D(i);let a=Yr(o);return this._addSvgIconSetConfig(e,new Mi("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Et.RESOURCE_URL,e);if(!i)throw UD(e);let r=this._cachedIconsByUrl.get(i);return r?$($u(r)):this._loadSvgIconFromConfig(new Mi(e,null)).pipe(Ot(o=>this._cachedIconsByUrl.set(i,o)),X(o=>$u(o)))}getNamedSvgIcon(e,i=""){let r=WD(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):ns(zD(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?$($u(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(X(i=>$u(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return $(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(vr(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Et.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),$(null)})));return is(o).pipe(X(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw zD(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ot(i=>e.svgText=i),X(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?$(null):this._fetchIcon(e).pipe(Ot(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Yr("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Yr("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&i.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw DF();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(Et.RESOURCE_URL,i);if(!a)throw UD(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let c=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(X(l=>Yr(l)),br(()=>this._inProgressUrlFetches.delete(a)),ss());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(WD(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return EF(o)?new Mi(o.url,null,o.options):new Mi(o,null)}}static \u0275fac=function(i){return new(i||t)(Y(Xg,8),Y(ac),Y(q,8),Y(Wt))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $u(t){return t.cloneNode(!0)}function WD(t,n){return t+":"+n}function EF(t){return!!(t.url&&t.options)}var MF=["*"],IF=new v("MAT_ICON_DEFAULT_OPTIONS"),SF=new v("mat-icon-location",{providedIn:"root",factory:()=>{let t=u(q),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),qD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],TF=qD.map(t=>`[${t}]`).join(", "),kF=/^url\(['"]?#(.*?)['"]?\)$/,ya=(()=>{class t{_elementRef=u(O);_iconRegistry=u(GD);_location=u(SF);_errorHandler=u(Wt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Q.EMPTY;constructor(){let e=u(new mn("aria-hidden"),{optional:!0}),i=u(IF,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(TF),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)qD.forEach(a=>{let s=i[o],c=s.getAttribute(a),l=c?c.match(kF):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(nt(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Z("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Qe(r.color?"mat-"+r.color:""),P("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",B],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:MF,decls:1,vars:0,template:function(i,r){i&1&&(be(),H(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
20
- `],encapsulation:2,changeDetection:0})}return t})(),Ca=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var AF=["*"];var RF=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],OF=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
21
- [mat-card-title], [mat-card-subtitle],
22
- [matCardTitle], [matCardSubtitle]`,"*"],PF=new v("MAT_CARD_CONFIG"),QD=(()=>{class t{appearance;constructor(){let e=u(PF,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(i,r){i&2&&P("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:AF,decls:1,vars:0,template:function(i,r){i&1&&(be(),H(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
23
- `],encapsulation:2,changeDetection:0})}return t})(),ZD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var YD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),KD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})();var XD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:OF,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(be(RF),H(0),at(1,"div",0),H(2,1),vt(),H(3,2))},encapsulation:2,changeDetection:0})}return t})();var JD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return t})();var wa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();function rn(t,n=0){return eE(t)?Number(t):arguments.length===2?n:0}function eE(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function pn(t){return t instanceof O?t.nativeElement:t}function xa(t){return Array.isArray(t)?t:[t]}function lt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Zt(t){return t!=null&&`${t}`!="false"}function Cc(t){return t.buttons===0||t.detail===0}function wc(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var tE=new v("cdk-input-modality-detector-options"),nE={ignoreKeys:[18,17,224,91,16]},iE=650,H_={passive:!0,capture:!0},rE=(()=>{class t{_platform=u(ye);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Xe(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=At(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<iE||(this._modality.next(Cc(e)?"keyboard":"mouse"),this._mostRecentTarget=At(e))};_onTouchstart=e=>{if(wc(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=At(e)};constructor(){let e=u(N),i=u(q),r=u(tE,{optional:!0});if(this._options=C(C({},nE),r),this.modalityDetected=this._modality.pipe(yr(1)),this.modalityChanged=this.modalityDetected.pipe(To()),this._platform.isBrowser){let o=u(Dt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,H_),o.listen(i,"mousedown",this._onMousedown,H_),o.listen(i,"touchstart",this._onTouchstart,H_)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xc=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(xc||{}),oE=new v("cdk-focus-monitor-default-options"),Wu=va({passive:!0,capture:!0}),On=(()=>{class t{_ngZone=u(N);_platform=u(ye);_inputModalityDetector=u(rE);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(q);_stopInputModalityDetector=new D;constructor(){let e=u(oE,{optional:!0});this._detectionMode=e?.detectionMode||xc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=At(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=pn(e);if(!this._platform.isBrowser||r.nodeType!==1)return $();let o=B_(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new D,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=pn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=pn(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===xc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===xc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?iE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=At(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wu)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(le(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),z_=(()=>{class t{_elementRef=u(O);_focusMonitor=u(On);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var aE=new Set,Kr,Da=(()=>{class t{_platform=u(ye);_nonce=u(Yo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):LF}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&FF(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function FF(t,n){if(!aE.has(t))try{Kr||(Kr=document.createElement("style"),n&&Kr.setAttribute("nonce",n),Kr.setAttribute("type","text/css"),document.head.appendChild(Kr)),Kr.sheet&&(Kr.sheet.insertRule(`@media ${t} {body{ }}`,0),aE.add(t))}catch(e){console.error(e)}}function LF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Dc=(()=>{class t{_mediaMatcher=u(Da);_zone=u(N);_queries=new Map;_destroySubject=new D;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return sE(xa(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=sE(xa(e)).map(a=>this._registerQuery(a).observable),o=ri(r);return o=Pi(o.pipe(nt(1)),o.pipe(yr(1),oi(0))),o.pipe(X(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new G(a=>{let s=c=>this._zone.run(()=>a.next(c));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(ht(i),X(({matches:a})=>({query:e,matches:a})),le(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sE(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function BF(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var cE=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lE=(()=>{class t{_mutationObserverFactory=u(cE);_observedElements=new Map;_ngZone=u(N);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=pn(e);return new G(r=>{let a=this._observeElement(i).pipe(X(s=>s.filter(c=>!BF(c))),_e(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new D,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gu=(()=>{class t{_contentObserver=u(lE);_elementRef=u(O);event=new j;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=rn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(oi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",B],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Ea=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({providers:[cE]})}return t})();var mE=new v("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),fE=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),jF=0,Ec=(()=>{class t{_ngZone=u(N);_defaultOptions=u(fE,{optional:!0});_liveElement;_document=u(q);_sanitizer=u(ac);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(mE,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:HD(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${jF++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var er=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(er||{}),dE="cdk-high-contrast-black-on-white",uE="cdk-high-contrast-white-on-black",U_="cdk-high-contrast-active",hE=(()=>{class t{_platform=u(ye);_hasCheckedHighContrastMode=!1;_document=u(q);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Dc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return er.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return er.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return er.BLACK_ON_WHITE}return er.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(U_,dE,uE),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===er.BLACK_ON_WHITE?e.add(U_,dE):i===er.WHITE_ON_BLACK&&e.add(U_,uE)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mc=(()=>{class t{constructor(){u(hE)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[Ea]})}return t})();var $_={},We=class t{_appId=u(Wi);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),$_.hasOwnProperty(n)||($_[n]=0),`${n}${e?t._infix+"-":""}${$_[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var VF=200,qu=class{_letterKeyStream=new D;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new D;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:VF;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Ot(e=>this._pressedLetters.push(e)),oi(n),_e(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Ft(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ma=class{_items;_activeItemIndex=de(-1);_activeItem=de(null);_wrap=!1;_typeaheadSubscription=Q.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Mn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Xo(n)&&(this._effectRef=Nr(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new D;change=new D;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new qu(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||Ft(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Xo(this._items)?this._items():this._items instanceof Mn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Ic=class extends Ma{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Xr=class extends Ma{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var bE=" ";function Z_(t,n,e){let i=Zu(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(bE)))}function Yu(t,n,e){let i=Zu(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(bE)):t.removeAttribute(n)}function Zu(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var yE="cdk-describedby-message",Qu="cdk-describedby-host",Q_=0,Y_=(()=>{class t{_platform=u(ye);_document=u(q);_messageRegistry=new Map;_messagesContainer=null;_id=`${Q_++}`;constructor(){u(ct).load(Zr),this._id=u(Wi)+"-"+Q_++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=q_(i,r);typeof i!="string"?(vE(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=q_(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Qu}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Qu);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");vE(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(q_(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Zu(e,"aria-describedby").filter(r=>r.indexOf(yE)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Z_(e,"aria-describedby",r.messageElement.id),e.setAttribute(Qu,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,Yu(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Qu)}_isElementDescribedByMessage(e,i){let r=Zu(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function q_(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function vE(t,n){t.id||(t.id=`${yE}-${n}-${Q_++}`)}var CE={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var HF=new v("MATERIAL_ANIMATIONS"),wE=null;function K_(){return u(HF,{optional:!0})?.animationsDisabled||u(Ps,{optional:!0})==="NoopAnimations"?"di-disabled":(wE??=u(Da).matchMedia("(prefers-reduced-motion)").matches,wE?"reduced-motion":"enabled")}function Le(){return K_()!=="enabled"}var gn=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(gn||{}),X_=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=gn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},xE=va({passive:!0,capture:!0}),J_=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,xE)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,xE)))}_delegateEventHandler=n=>{let e=At(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Sc={enterDuration:225,exitDuration:150},zF=800,DE=va({passive:!0,capture:!0}),EE=["mousedown","touchstart"],ME=["mouseup","mouseleave","touchend","touchcancel"],UF=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
24
- `],encapsulation:2,changeDetection:0})}return t})(),Jr=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new J_;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=pn(i)),o&&o.get(ct).load(UF)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=C(C({},Sc),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||$F(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),h=m.transitionProperty,f=m.transitionDuration,y=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,E=new X_(this,d,i,y);d.style.transform="scale3d(1, 1, 1)",E.state=gn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=E);let M=null;return!y&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>{M&&(M.fallbackTimer=null),clearTimeout(Lt),this._finishRippleTransition(E)},we=()=>this._destroyRipple(E),Lt=setTimeout(we,l+100);d.addEventListener("transitionend",I),d.addEventListener("transitioncancel",we),M={onTransitionEnd:I,onTransitionCancel:we,fallbackTimer:Lt}}),this._activeRipples.set(E,M),(y||!l)&&this._finishRippleTransition(E),E}fadeOutRipple(n){if(n.state===gn.FADING_OUT||n.state===gn.HIDDEN)return;let e=n.element,i=C(C({},Sc),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=gn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=pn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,EE.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ME.forEach(e=>{this._triggerElement.addEventListener(e,this,DE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===gn.FADING_IN?this._startFadeOutTransition(n):n.state===gn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=gn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=gn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Cc(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+zF;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!wc(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===gn.VISIBLE||n.config.terminateOnPointerUp&&n.state===gn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(EE.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(ME.forEach(e=>n.removeEventListener(e,this,DE)),this._pointerUpEventsRegistered=!1))}};function $F(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var tr=new v("mat-ripple-global-options"),Tc=(()=>{class t{_elementRef=u(O);_animationsDisabled=Le();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(N),i=u(ye),r=u(tr,{optional:!0}),o=u(J);this._globalOptions=r||{},this._rippleRenderer=new Jr(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:C(C(C({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,C(C({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,C(C({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&P("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var on=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus-visible::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
25
- `],encapsulation:2,changeDetection:0})}return t})();var ev=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=Zt(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=Zt(e)}_inset=!1;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,r){i&2&&(Z("aria-orientation",r.vertical?"vertical":"horizontal"),P("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}
26
- `],encapsulation:2,changeDetection:0})}return t})(),Ku=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var kc=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xu=class{};function Ia(t){return t&&typeof t.connect=="function"&&!(t instanceof Za)}var Ju=class extends Xu{_data;constructor(n){super(),this._data=n}connect(){return Bn(this._data)?this._data:$(this._data)}disconnect(){}},Pn=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Pn||{}),Sa=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,i,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let m=()=>i(a,s,c);l=this._insertView(m,c,e,r(a)),d=l?Pn.INSERTED:Pn.REPLACED}else c==null?(this._detachAndCacheView(s,e),d=Pn.REMOVED):(l=this._moveView(s,c,e,r(a)),d=Pn.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,i,r){let o=this._insertViewFromCache(e,i);if(o){o.context.$implicit=r;return}let a=n();return i.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(n,e){let i=e.detach(n);this._maybeCacheView(i,e)}_moveView(n,e,i,r){let o=i.get(n);return i.move(o,e),o.context.$implicit=r,o}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let i=e.indexOf(n);i===-1?n.destroy():e.remove(i)}}_insertViewFromCache(n,e){let i=this._viewCache.pop();return i&&e.insert(i,n),i||null}};var em=class{applyChanges(n,e,i,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let m=i(a,s,c);l=e.createEmbeddedView(m.templateRef,m.context,m.index),d=Pn.INSERTED}else c==null?(e.remove(s),d=Pn.REMOVED):(l=e.get(s),e.move(l,c),d=Pn.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){}};var Ac=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new D;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};function iv(t){return t==null||rv(t)===0}function rv(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var OE=new v(""),PE=new v(""),WF=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,nm=class{static min(n){return GF(n)}static max(n){return qF(n)}static required(n){return QF(n)}static requiredTrue(n){return ZF(n)}static email(n){return YF(n)}static minLength(n){return KF(n)}static maxLength(n){return XF(n)}static pattern(n){return JF(n)}static nullValidator(n){return NE()}static compose(n){return HE(n)}static composeAsync(n){return zE(n)}};function GF(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function qF(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function QF(t){return iv(t.value)?{required:!0}:null}function ZF(t){return t.value===!0?null:{required:!0}}function YF(t){return iv(t.value)||WF.test(t.value)?null:{email:!0}}function KF(t){return n=>{let e=n.value?.length??rv(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function XF(t){return n=>{let e=n.value?.length??rv(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function JF(t){if(!t)return NE;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(iv(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function NE(t){return null}function FE(t){return t!=null}function LE(t){return qi(t)?Ge(t):t}function BE(t){let n={};return t.forEach(e=>{n=e!=null?C(C({},n),e):n}),Object.keys(n).length===0?null:n}function jE(t,n){return n.map(e=>e(t))}function eL(t){return!t.validate}function VE(t){return t.map(n=>eL(n)?n:e=>n.validate(e))}function HE(t){if(!t)return null;let n=t.filter(FE);return n.length==0?null:function(e){return BE(jE(e,n))}}function ov(t){return t!=null?HE(VE(t)):null}function zE(t){if(!t)return null;let n=t.filter(FE);return n.length==0?null:function(e){let i=jE(e,n).map(LE);return is(i).pipe(X(BE))}}function av(t){return t!=null?zE(VE(t)):null}function IE(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function UE(t){return t._rawValidators}function $E(t){return t._rawAsyncValidators}function tv(t){return t?Array.isArray(t)?t:[t]:[]}function im(t,n){return Array.isArray(t)?t.includes(n):t===n}function SE(t,n){let e=tv(n);return tv(t).forEach(r=>{im(e,r)||e.push(r)}),e}function TE(t,n){return tv(n).filter(e=>!im(t,e))}var rm=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=ov(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=av(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Aa=class extends rm{name;get formDirective(){return null}get path(){return null}},om=class extends rm{_parent=null;name=null;valueAccessor=null};var Rc="VALID",tm="INVALID",Ta="PENDING",Oc="DISABLED",nr=class{},am=class extends nr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Nc=class extends nr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Fc=class extends nr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},ka=class extends nr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},sm=class extends nr{source;constructor(n){super(),this.source=n}},cm=class extends nr{source;constructor(n){super(),this.source=n}};function WE(t){return(fm(t)?t.validators:t)||null}function tL(t){return Array.isArray(t)?ov(t):t||null}function GE(t,n){return(fm(n)?n.asyncValidators:t)||null}function nL(t){return Array.isArray(t)?av(t):t||null}function fm(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function iL(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new A(1e3,"");if(!i[e])throw new A(1001,"")}function rL(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new A(1002,"")})}var lm=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ot(this.statusReactive)}set status(n){ot(()=>this.statusReactive.set(n))}_status=Ze(()=>this.statusReactive());statusReactive=de(void 0);get valid(){return this.status===Rc}get invalid(){return this.status===tm}get pending(){return this.status==Ta}get disabled(){return this.status===Oc}get enabled(){return this.status!==Oc}errors;get pristine(){return ot(this.pristineReactive)}set pristine(n){ot(()=>this.pristineReactive.set(n))}_pristine=Ze(()=>this.pristineReactive());pristineReactive=de(!0);get dirty(){return!this.pristine}get touched(){return ot(this.touchedReactive)}set touched(n){ot(()=>this.touchedReactive.set(n))}_touched=Ze(()=>this.touchedReactive());touchedReactive=de(!1);get untouched(){return!this.touched}_events=new D;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(SE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(SE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(TE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(TE(n,this._rawAsyncValidators))}hasValidator(n){return im(this._rawValidators,n)}hasAsyncValidator(n){return im(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(ie(C({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Fc(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Fc(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(ie(C({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Nc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Nc(!0,i))}markAsPending(n={}){this.status=Ta;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ka(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(ie(C({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Oc,this.errors=null,this._forEachChild(r=>{r.disable(ie(C({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new am(this.value,i)),this._events.next(new ka(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(C({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Rc,this._forEachChild(i=>{i.enable(ie(C({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ie(C({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rc||this.status===Ta)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new am(this.value,e)),this._events.next(new ka(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(ie(C({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oc:Rc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Ta,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=LE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i?.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new ka(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Oc:this.errors?tm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ta)?Ta:this._anyControlsHaveStatus(tm)?tm:Rc}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new Nc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Fc(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){fm(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=tL(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=nL(this._rawAsyncValidators)}},dm=class extends lm{constructor(n,e,i){super(WE(e),GE(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){rL(this,!0,n),Object.keys(n).forEach(i=>{iL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,ie(C({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new cm(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var qE=new v("",{factory:()=>QE}),QE="always";function nv(t,n,e=QE){sv(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),aL(t,n),cL(t,n),sL(t,n),oL(t,n)}function kE(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),mm(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function um(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function oL(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function sv(t,n){let e=UE(t);n.validator!==null?t.setValidators(IE(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=$E(t);n.asyncValidator!==null?t.setAsyncValidators(IE(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();um(n._rawValidators,r),um(n._rawAsyncValidators,r)}function mm(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=UE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=$E(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return um(n._rawValidators,i),um(n._rawAsyncValidators,i),e}function aL(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ZE(t,n)})}function sL(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ZE(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function ZE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function cL(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function YE(t,n){t==null,sv(t,n)}function lL(t,n){return mm(t,n)}function KE(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function dL(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var uL={provide:Aa,useExisting:Cn(()=>cv)},Pc=Promise.resolve(),cv=(()=>{class t extends Aa{callSetDisabledState;get submitted(){return ot(this.submittedReactive)}_submitted=Ze(()=>this.submittedReactive());submittedReactive=de(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new dm({},ov(e),av(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Pc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),nv(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Pc.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Pc.then(()=>{let i=this._findContainer(e.path),r=new dm({});YE(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Pc.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Pc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),KE(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new sm(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(_t(OE,10),_t(PE,10),_t(qE,8))};static \u0275dir=x({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ae("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ve([uL]),oe]})}return t})();function AE(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function RE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var mL=class extends lm{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(WE(e),GE(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(RE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new cm(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){AE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){AE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){RE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var fL=t=>t instanceof mL;var hL=(()=>{class t extends Aa{callSetDisabledState;get submitted(){return ot(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ze(()=>this._submittedReactive());_submittedReactive=de(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(mm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);return nv(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){kE(e.control||null,e,!1),dL(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,KE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new sm(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(kE(i||null,e),fL(r)&&(nv(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);YE(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&lL(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){sv(this.form,this),this._oldForm&&mm(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)(_t(OE,10),_t(PE,10),_t(qE,8))};static \u0275dir=x({type:t,features:[oe,Pe]})}return t})();var pL={provide:Aa,useExisting:Cn(()=>lv)},lv=(()=>{class t extends hL{form=null;ngSubmit=new j;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ae("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ve([pL]),oe]})}return t})();var XE=(()=>{class t{_animationsDisabled=Le();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&P("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
27
- `],encapsulation:2,changeDetection:0})}return t})();var hm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var ir=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var gL=["*"],_L=`.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus-visible>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}
28
- `,vL=["unscopedContent"],bL=["text"],yL=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],CL=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var wL=new v("ListOption"),uv=(()=>{class t{_elementRef=u(O);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),xL=(()=>{class t{_elementRef=u(O);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),mv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),JE=(()=>{class t{_listOption=u(wL,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,hostVars:4,hostBindings:function(i,r){i&2&&P("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),DL=(()=>{class t extends JE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[oe]})}return t})(),fv=(()=>{class t extends JE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[oe]})}return t})(),EL=new v("MAT_LIST_CONFIG"),dv=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Zt(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(Zt(e))}_disabled=de(!1);_defaultOptions=u(EL,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,hostVars:1,hostBindings:function(i,r){i&2&&Z("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),ML=(()=>{class t{_elementRef=u(O);_ngZone=u(N);_listBase=u(dv,{optional:!0});_platform=u(ye);_hostElement;_isButtonElement;_noopAnimations=Le();_avatars;_icons;set lines(e){this._explicitLines=rn(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Zt(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(Zt(e))}_disabled=de(!1);_subscriptions=new Q;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){u(ct).load(on);let e=u(tr,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new Jr(this,this._ngZone,this._hostElement,this._platform,u(J)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(St(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let o=this._titles.length===0&&i===1;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,contentQueries:function(i,r,o){if(i&1&&et(o,DL,4)(o,fv,4),i&2){let a;T(a=k())&&(r._avatars=a),T(a=k())&&(r._icons=a)}},hostVars:4,hostBindings:function(i,r){i&2&&(Z("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),P("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var eM=(()=>{class t extends dv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[ve([{provide:dv,useExisting:t}]),oe],ngContentSelectors:gL,decls:1,vars:0,template:function(i,r){i&1&&(be(),H(0))},styles:[_L],encapsulation:2,changeDetection:0})}return t})(),tM=(()=>{class t extends ML{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=Zt(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,o){if(i&1&&et(o,xL,5)(o,uv,5)(o,mv,5),i&2){let a;T(a=k())&&(r._lines=a),T(a=k())&&(r._titles=a),T(a=k())&&(r._meta=a)}},viewQuery:function(i,r){if(i&1&&Se(vL,5)(bL,5),i&2){let o;T(o=k())&&(r._unscopedContent=o.first),T(o=k())&&(r._itemText=o.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(Z("aria-current",r._getAriaCurrent()),P("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[oe],ngContentSelectors:CL,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(i,r){if(i&1){let o=$e();be(yL),H(0),p(1,"span",1),H(2,1),H(3,2),p(4,"span",2,0),ae("cdkObserveContent",function(){return pe(o),ge(r._updateItemLines(!0))}),H(6,3),g()(),H(7,4),H(8,5),ne(9,"div",3)}},dependencies:[Gu],encapsulation:2,changeDetection:0})}return t})();var pm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]})}return t})();var Ra=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[Ea,ir,hm,ue,Ku]})}return t})();var pv=class{_box;_destroyed=new D;_resizeSubject=new D;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new G(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(_e(e=>e.some(i=>i.target===n)),cs({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},gm=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(N);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new pv(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var IL=["notch"],SL=["matFormFieldNotchedOutline",""],TL=["*"],nM=["iconPrefixContainer"],iM=["textPrefixContainer"],rM=["iconSuffixContainer"],oM=["textSuffixContainer"],kL=["textField"],AL=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],RL=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function OL(t,n){t&1&&ne(0,"span",21)}function PL(t,n){if(t&1&&(p(0,"label",20),H(1,1),F(2,OL,1,0,"span",21),g()),t&2){let e=S(2);W("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Z("for",e._control.disableAutomaticLabeling?null:e._control.id),_(2),L(!e.hideRequiredMarker&&e._control.required?2:-1)}}function NL(t,n){if(t&1&&F(0,PL,3,5,"label",20),t&2){let e=S();L(e._hasFloatingLabel()?0:-1)}}function FL(t,n){t&1&&ne(0,"div",7)}function LL(t,n){}function BL(t,n){if(t&1&&Ie(0,LL,0,0,"ng-template",13),t&2){S(2);let e=qt(1);W("ngTemplateOutlet",e)}}function jL(t,n){if(t&1&&(p(0,"div",9),F(1,BL,1,1,null,13),g()),t&2){let e=S();W("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),_(),L(e._forceDisplayInfixLabel()?-1:1)}}function VL(t,n){t&1&&(p(0,"div",10,2),H(2,2),g())}function HL(t,n){t&1&&(p(0,"div",11,3),H(2,3),g())}function zL(t,n){}function UL(t,n){if(t&1&&Ie(0,zL,0,0,"ng-template",13),t&2){S();let e=qt(1);W("ngTemplateOutlet",e)}}function $L(t,n){t&1&&(p(0,"div",14,4),H(2,4),g())}function WL(t,n){t&1&&(p(0,"div",15,5),H(2,5),g())}function GL(t,n){t&1&&ne(0,"div",16)}function qL(t,n){t&1&&(p(0,"div",18),H(1,6),g())}function QL(t,n){if(t&1&&(p(0,"mat-hint",22),b(1),g()),t&2){let e=S(2);W("id",e._hintLabelId),_(),Ce(e.hintLabel)}}function ZL(t,n){if(t&1&&(p(0,"div",19),F(1,QL,2,2,"mat-hint",22),H(2,7),ne(3,"div",23),H(4,8),g()),t&2){let e=S();_(),L(e.hintLabel?1:-1)}}var gv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-label"]]})}return t})(),YL=new v("MatError");var _v=(()=>{class t{align="start";id=u(We).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Xn("id",r.id),Z("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),KL=new v("MatPrefix");var XL=new v("MatSuffix");var mM=new v("FloatingLabelParent"),aM=(()=>{class t{_elementRef=u(O);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(gm);_ngZone=u(N);_parent=u(mM);_resizeSubscription=new Q;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return JL(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function JL(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var sM="mdc-line-ripple--active",_m="mdc-line-ripple--deactivating",cM=(()=>{class t{_elementRef=u(O);_cleanupTransitionEnd;constructor(){let e=u(N),i=u(Ke);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(_m),e.add(sM)}deactivate(){this._elementRef.nativeElement.classList.add(_m)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(_m);e.propertyName==="opacity"&&r&&i.remove(sM,_m)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),lM=(()=>{class t{_elementRef=u(O);_ngZone=u(N);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Se(IL,5),i&2){let o;T(o=k())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:SL,ngContentSelectors:TL,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(be(),Mt(0,"div",1),at(1,"div",2,0),H(3),vt(),Mt(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),vv=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t})}return t})();var bv=new v("MatFormField"),e2=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),dM="fill",t2="auto",uM="fixed",n2="translateY(-50%)",vm=(()=>{class t{_elementRef=u(O);_changeDetectorRef=u(Te);_platform=u(ye);_idGenerator=u(We);_ngZone=u(N);_defaults=u(e2,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Gs("iconPrefixContainer");_textPrefixContainerSignal=Gs("textPrefixContainer");_iconSuffixContainerSignal=Gs("iconSuffixContainer");_textSuffixContainerSignal=Gs("textSuffixContainer");_prefixSuffixContainers=Ze(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Gw(gv);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Zt(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||t2}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||dM;this._appearanceSignal.set(i)}_appearanceSignal=de(dM);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||uM}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||uM}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new D;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Le();constructor(){let e=this._defaults,i=u(It);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Nr(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ze(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(ht([void 0,void 0]),X(()=>[i.errorState,i.userAriaDescribedBy]),as(),_e(([[o,a],[s,c]])=>o!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){Kw({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ze(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",m=`${a+s}px`,f=`calc(${d} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,y=`var(--mat-mdc-form-field-label-transform, ${n2} translateX(${f}))`,E=a+s+c+l;return[y,E]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(qd(o,r._labelChild,gv,5),et(o,vv,5)(o,KL,5)(o,XL,5)(o,YL,5)(o,_v,5)),i&2){Zd();let a;T(a=k())&&(r._formFieldControl=a.first),T(a=k())&&(r._prefixChildren=a),T(a=k())&&(r._suffixChildren=a),T(a=k())&&(r._errorChildren=a),T(a=k())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(Qd(r._iconPrefixContainerSignal,nM,5)(r._textPrefixContainerSignal,iM,5)(r._iconSuffixContainerSignal,rM,5)(r._textSuffixContainerSignal,oM,5),Se(kL,5)(nM,5)(iM,5)(rM,5)(oM,5)(aM,5)(lM,5)(cM,5)),i&2){Zd(4);let o;T(o=k())&&(r._textField=o.first),T(o=k())&&(r._iconPrefixContainer=o.first),T(o=k())&&(r._textPrefixContainer=o.first),T(o=k())&&(r._iconSuffixContainer=o.first),T(o=k())&&(r._textSuffixContainer=o.first),T(o=k())&&(r._floatingLabel=o.first),T(o=k())&&(r._notchedOutline=o.first),T(o=k())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ve([{provide:bv,useExisting:t},{provide:mM,useExisting:t}])],ngContentSelectors:RL,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=$e();be(AL),Ie(0,NL,1,1,"ng-template",null,0,na),p(2,"div",6,1),ae("click",function(s){return pe(o),ge(r._control.onContainerClick(s))}),F(4,FL,1,0,"div",7),p(5,"div",8),F(6,jL,2,2,"div",9),F(7,VL,3,0,"div",10),F(8,HL,3,0,"div",11),p(9,"div",12),F(10,UL,1,1,null,13),H(11),g(),F(12,$L,3,0,"div",14),F(13,WL,3,0,"div",15),g(),F(14,GL,1,0,"div",16),g(),p(15,"div",17),F(16,qL,2,0,"div",18)(17,ZL,5,1,"div",19),g()}if(i&2){let o;_(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),_(2),L(!r._hasOutline()&&!r._control.disabled?4:-1),_(2),L(r._hasOutline()?6:-1),_(),L(r._hasIconPrefix?7:-1),_(),L(r._hasTextPrefix?8:-1),_(2),L(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),_(2),L(r._hasTextSuffix?12:-1),_(),L(r._hasIconSuffix?13:-1),_(),L(r._hasOutline()?-1:14),_(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();_(),L((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[aM,lM,Xs,cM,_v],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
29
- `],encapsulation:2,changeDetection:0})}return t})();var i2=["text"],r2=[[["mat-icon"]],"*"],o2=["mat-icon","*"];function a2(t,n){if(t&1&&ne(0,"mat-pseudo-checkbox",1),t&2){let e=S();W("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function s2(t,n){if(t&1&&ne(0,"mat-pseudo-checkbox",3),t&2){let e=S();W("disabled",e.disabled)}}function c2(t,n){if(t&1&&(p(0,"span",4),b(1),g()),t&2){let e=S();_(),Ve("(",e.group.label,")")}}var Cv=new v("MAT_OPTION_PARENT_COMPONENT"),wv=new v("MatOptgroup");var yv=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Oa=(()=>{class t{_element=u(O);_changeDetectorRef=u(Te);_parent=u(Cv,{optional:!0});group=u(wv,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(We).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=de(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new j;_text;_stateChanges=new D;constructor(){let e=u(ct);e.load(on),e.load(Zr),this._signalDisableRipple=!!this._parent&&Xo(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ft(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new yv(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Se(i2,7),i&2){let o;T(o=k())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ae("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),i&2&&(Xn("id",r.id),Z("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),P("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",B]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:o2,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(be(r2),F(0,a2,1,2,"mat-pseudo-checkbox",1),H(1),p(2,"span",2,0),H(4,1),g(),F(5,s2,1,1,"mat-pseudo-checkbox",3),F(6,c2,2,1,"span",4),ne(7,"div",5)),i&2&&(L(r.multiple?0:-1),_(5),L(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),_(),L(r.group&&r.group._inert?6:-1),_(),W("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[XE,Tc],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
30
- `],encapsulation:2,changeDetection:0})}return t})();function fM(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function hM(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var l2=["contentWrapper"],d2=["*"],_M=new v("VIRTUAL_SCROLL_STRATEGY"),xv=class{_scrolledIndexChange=new D;scrolledIndexChange=this._scrolledIndexChange.pipe(To());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,i){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=i}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,i){i<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},i=this._viewport.getViewportSize(),r=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),a=this._itemSize>0?o/this._itemSize:0;if(e.end>r){let c=Math.ceil(i/this._itemSize),l=Math.max(0,Math.min(a,r-c));a!=l&&(a=l,o=l*this._itemSize,e.start=Math.floor(a)),e.end=Math.max(0,Math.min(r,e.start+c))}let s=o-e.start*this._itemSize;if(s<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-s)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(r,Math.ceil(a+(i+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(o+i);if(c<this._minBufferPx&&e.end!=r){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(r,e.end+l),e.start=Math.max(0,Math.floor(a-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(a))}};function u2(t){return t._scrollStrategy}var Dv=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=rn(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=rn(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=rn(e)}_maxBufferPx=200;_scrollStrategy=new xv(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[ve([{provide:_M,useFactory:u2,deps:[Cn(()=>t)]}]),Pe]})}return t})(),m2=20,to=(()=>{class t{_ngZone=u(N);_platform=u(ye);_renderer=u(Dt).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new D;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=m2){return this._platform.isBrowser?new G(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(_r(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):$()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_e(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=pn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lc=(()=>{class t{elementRef=u(O);scrollDispatcher=u(to);ngZone=u(N);dir=u(It,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new D;_renderer=u(Ke);_cleanupScroll;_elementScrolled=new D;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&ba()!=Rn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),ba()==Rn.INVERTED?e.left=e.right:ba()==Rn.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Hu()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&ba()==Rn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&ba()==Rn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),f2=20,an=(()=>{class t{_platform=u(ye);_listeners;_viewportSize=null;_change=new D;_document=u(q);constructor(){let e=u(N),i=u(Dt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=f2){return e>0?this._change.pipe(_r(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pM=new v("VIRTUAL_SCROLLABLE"),h2=(()=>{class t extends Lc{constructor(){super()}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,features:[oe]})}return t})();function p2(t,n){return t.start==n.start&&t.end==n.end}var g2=typeof requestAnimationFrame<"u"?ts:Ja,bm=new v("CDK_VIRTUAL_SCROLL_VIEWPORT"),Ev=(()=>{class t extends h2{elementRef=u(O);_changeDetectorRef=u(Te);_scrollStrategy=u(_M,{optional:!0});scrollable=u(pM,{optional:!0});_platform=u(ye);_detachedSubject=new D;_renderedRangeSubject=new D;_renderedContentOffsetSubject=new D;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new G(e=>this._scrollStrategy.scrolledIndexChange.subscribe(i=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(i)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(_e(e=>e!==null),To());_totalContentSize=0;_totalContentWidth=de("");_totalContentHeight=de("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=de(!1);_runAfterChangeDetection=[];_viewportChanges=Q.EMPTY;_injector=u(J);_isDestroyed=!1;constructor(){super();let e=u(an);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let i=Nr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:u(zt).injector});u(Gt).onDestroy(()=>{i.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(ht(null),_r(0,g2),le(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(le(this._detachedSubject)).subscribe(i=>{let r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){p2(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let r=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",a=o?"X":"Y",c=`translate${a}(${Number((o&&r?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(c+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let r={behavior:i};this.orientation==="horizontal"?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=r=>super.measureScrollOffset(r):i=r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,r="left",o="right",a=this.dir?.value=="rtl";e=="start"?i=a?o:r:e=="end"?i=a?r:o:e?i=e:i=this.orientation==="horizontal"?"left":"top";let s=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-s}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!ot(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),He(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,r){if(i&1&&Se(l2,7),i&2){let o;T(o=k())&&(r._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,r){i&2&&P("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",B]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[ve([{provide:Lc,useFactory:()=>u(pM,{optional:!0})||u(t)},{provide:bm,useExisting:t}]),oe],ngContentSelectors:d2,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,r){i&1&&(be(),at(0,"div",1,0),H(2),vt(),Mt(3,"div",2)),i&2&&(_(3),bt("width",r._totalContentWidth())("height",r._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
31
- `],encapsulation:2,changeDetection:0})}return t})();function gM(t,n,e){let i=e;if(!i.getBoundingClientRect)return 0;let r=i.getBoundingClientRect();return t==="horizontal"?n==="start"?r.left:r.right:n==="start"?r.top:r.bottom}var Mv=(()=>{class t{_viewContainerRef=u(je);_template=u(Oe);_differs=u(Jn);_viewRepeater=new Sa;_viewport=u(bm,{skipSelf:!0});viewChange=new D;_dataSourceChanges=new D;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Ia(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Ju(Bn(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,r)=>e(i+(this._renderedRange?this._renderedRange.start:0),r):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=rn(e)}dataStream=this._dataSourceChanges.pipe(ht(null),as(),it(([e,i])=>this._changeDataSource(e,i)),cs(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new D;constructor(){let e=u(N);this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(le(this._destroyed)).subscribe(i=>{this._renderedRange=i,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let r=e.start-this._renderedRange.start,o=e.end-e.start,a,s;for(let c=0;c<o;c++){let l=this._viewContainerRef.get(c+r);if(l&&l.rootNodes.length){a=s=l.rootNodes[0];break}}for(let c=o-1;c>-1;c--){let l=this._viewContainerRef.get(c+r);if(l&&l.rootNodes.length){s=l.rootNodes[l.rootNodes.length-1];break}}return a&&s?gM(i,"end",s)-gM(i,"start",a):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):$()}_updateContext(){let e=this._data.length,i=this._viewContainerRef.length;for(;i--;){let r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=e,this._updateComputedContextProperties(r.context),r.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,a,s)=>this._getEmbeddedViewArgs(o,s),o=>o.item),e.forEachIdentityChange(o=>{let a=this._viewContainerRef.get(o.currentIndex);a.context.$implicit=o.item});let i=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=i,this._updateComputedContextProperties(o.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return t})();var eo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({})}return t})(),no=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue,eo,ue,eo]})}return t})();var Bc=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},rr=class extends Bc{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},_n=class extends Bc{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Iv=class extends Bc{element;constructor(n){super(),this.element=n instanceof O?n.nativeElement:n}},Pa=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof rr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof _n)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Iv)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},ym=class extends Pa{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(Zn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||J.NULL,o=r.get(Ne,i.injector);e=eu(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},vM=(()=>{class t extends _n{constructor(){let e=u(Oe),i=u(je);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[oe]})}return t})(),or=(()=>{class t extends Pa{_moduleRef=u(Zn,{optional:!0});_document=u(q);_viewContainerRef=u(je);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new j;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[oe]})}return t})(),Na=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({})}return t})();var bM=Hu();function MM(t){return new Cm(t.get(an),t.get(q))}var Cm=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=lt(-this._previousScrollPosition.left),n.style.top=lt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),bM&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bM&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function IM(t,n){return new wm(t.get(to),t.get(N),t.get(an),n)}var wm=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(_e(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var jc=class{enable(){}disable(){}attach(){}};function Sv(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return i||r||o||a})}function yM(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return i||r||o||a})}function oo(t,n){return new xm(t.get(to),t.get(an),t.get(N),n)}var xm=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Sv(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},SM=(()=>{class t{_injector=u(J);constructor(){}noop=()=>new jc;close=e=>IM(this._injector,e);block=()=>MM(this._injector);reposition=e=>oo(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ro=class{positionStrategy;scrollStrategy=new jc;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Dm=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var TM=(()=>{class t{_attachedOverlays=[];_document=u(q);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kM=(()=>{class t extends TM{_ngZone=u(N);_renderer=u(Dt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let o=i[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AM=(()=>{class t extends TM{_platform=u(ye);_ngZone=u(N);_renderer=u(Dt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=At(e)};_clickListener=e=>{let i=At(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],c=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,c))){if(CM(s.overlayElement,i)||CM(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CM(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var RM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:auto;top:0;left:0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}
32
- `],encapsulation:2,changeDetection:0})}return t})(),OM=(()=>{class t{_platform=u(ye);_containerElement;_document=u(q);_styleLoader=u(ct);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||j_()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),j_()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(RM)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tv=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function kv(t){return t&&t.nodeType===1}var Em=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new D;_attachments=new D;_detachments=new D;_positionStrategy;_scrollStrategy;_locationChanges=Q.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new D;_outsidePointerEvents=new D;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,c,l,d=!1,m,h){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=d,this._injector=m,this._renderer=h,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=He(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=C(C({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ie(C({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=lt(this._config.width),n.height=lt(this._config.height),n.minWidth=lt(this._config.minWidth),n.minHeight=lt(this._config.minHeight),n.maxWidth=lt(this._config.maxWidth),n.maxHeight=lt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;kv(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Tv(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=xa(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=He(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},wM="cdk-overlay-connected-position-bounding-box",v2=/([A-Za-z%]+)$/;function Vc(t,n){return new Mm(n,t.get(an),t.get(q),t.get(ye),t.get(OM))}var Mm=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new D;_resizeSubscription=Q.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(wM),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,i)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:l,originPoint:c,position:s,overlayRect:e})}if(o.length){let s=null,c=-1;for(let l of o){let d=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);d>c&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&io(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wM),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof O?this._origin.nativeElement:kv(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=DM(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let d=0-a,m=a+o.width-i.width,h=0-s,f=s+o.height-i.height,y=this._subtractOverflows(o.width,d,m),E=this._subtractOverflows(o.height,h,f),M=y*E;return{visibleArea:M,isCompletelyWithinViewport:o.width*o.height===M,fitsInViewportVertically:E===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=xM(this._overlayRef.getConfig().minHeight),s=xM(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=DM(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),l=Math.max(o.left-i.left-n.x,0),d=0,m=0;return r.width<=o.width?d=l||-a:d=n.x<this._getViewportMarginStart()?o.left-i.left-n.x:0,r.height<=o.height?m=c||-s:m=n.y<this._getViewportMarginTop()?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:m},{x:n.x+d,y:n.y+m}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!b2(this._lastScrollVisibility,i)){let r=new Dm(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=n.y,o=i.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=i.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=i.height-s+this._getViewportMarginTop();else{let f=Math.min(i.bottom-n.y+i.top,n.y),y=this._lastBoundingBoxSize.height;o=f*2,a=n.y-f,o>y&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-y/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,m,h;if(l)h=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(c)m=n.x,d=i.right-n.x-this._getViewportMarginEnd();else{let f=Math.min(i.right-n.x+i.left,n.x),y=this._lastBoundingBoxSize.width;d=f*2,m=n.x-f,d>y&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-y/2)}return{top:a,left:m,bottom:s,right:h,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=lt(i.width),r.height=lt(i.height),r.top=lt(i.top)||"auto",r.bottom=lt(i.bottom)||"auto",r.left=lt(i.left)||"auto",r.right=lt(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=lt(o)),a&&(r.maxWidth=lt(a))}this._lastBoundingBoxSize=i,io(this._boundingBox.style,r)}_resetBoundingBoxStyles(){io(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){io(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();io(i,this._getExactOverlayY(e,n,d)),io(i,this._getExactOverlayX(e,n,d))}else i.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=lt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=lt(a.maxWidth):o&&(i.maxWidth="")),io(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=lt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=lt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yM(n,i),isOriginOutsideView:Sv(n,i),isOverlayClipped:yM(e,i),isOverlayOutsideView:Sv(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&xa(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof O)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};function io(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function xM(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(v2);return!e||e==="px"?parseFloat(n):null}return t||null}function DM(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function b2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var EM="cdk-global-overlay-wrapper";function Tm(t){return new Im}var Im=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(EM),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,m=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",y="",E="";c?E="flex-start":d==="center"?(E="center",h?y=m:f=m):h?d==="left"||d==="end"?(E="flex-end",f=m):(d==="right"||d==="start")&&(E="flex-start",y=m):d==="left"||d==="start"?(E="flex-start",f=m):(d==="right"||d==="end")&&(E="flex-end",y=m),n.position=this._cssPosition,n.marginLeft=c?"0":f,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":y,e.justifyContent=E,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(EM),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},PM=(()=>{class t{_injector=u(J);constructor(){}global(){return Tm()}flexibleConnectedTo(e){return Vc(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hc=new v("OVERLAY_DEFAULT_CONFIG");function ao(t,n){t.get(ct).load(RM);let e=t.get(OM),i=t.get(q),r=t.get(We),o=t.get(zt),a=t.get(It),s=t.get(Ke,null,{optional:!0})||t.get(Dt).createRenderer(null,null),c=new ro(n),l=t.get(Hc,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||a.value,"showPopover"in i.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let d=i.createElement("div"),m=i.createElement("div");d.id=r.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),m.appendChild(d),c.usePopover&&(m.setAttribute("popover","manual"),m.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return kv(h)?h.after(m):h?.type==="parent"?h.element.appendChild(m):e.getContainerElement().appendChild(m),new Em(new ym(d,o,t),m,d,c,t.get(N),t.get(kM),i,t.get(Yi),t.get(AM),n?.disableAnimations??t.get(Ps,null,{optional:!0})==="NoopAnimations",t.get(Ne),s)}var NM=(()=>{class t{scrollStrategies=u(SM);_positionBuilder=u(PM);_injector=u(J);constructor(){}create(e){return ao(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),y2=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],C2=new v("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(J);return()=>oo(t)}}),Fa=(()=>{class t{elementRef=u(O);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),FM=new v("cdk-connected-overlay-default-config"),km=(()=>{class t{_dir=u(It,{optional:!0});_injector=u(J);_overlayRef;_templatePortal;_backdropSubscription=Q.EMPTY;_attachSubscription=Q.EMPTY;_detachSubscription=Q.EMPTY;_positionSubscription=Q.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(C2);_ngZone=u(N);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new j;positionChange=new j;attach=new j;detach=new j;overlayKeydown=new j;overlayOutsideClick=new j;constructor(){let e=u(Oe),i=u(je),r=u(FM,{optional:!0}),o=u(Hc,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new _n(e,i),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=y2);let e=this._overlayRef=ao(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Ft(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=At(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ro({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Vc(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Fa?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Fa?this.origin.elementRef.nativeElement:this.origin instanceof O?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Hf(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",B],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",B],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",B],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",B],push:[2,"cdkConnectedOverlayPush","push",B],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",B],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",B],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Pe]})}return t})(),so=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({providers:[NM],imports:[ue,Na,no,no]})}return t})();var Am=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rm=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var Av=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ir,hm,Oa,ue]})}return t})();var LM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[Ea,vm,ue]})}return t})();var w2=["trigger"],x2=["panel"],D2=[[["mat-select-trigger"]],"*"],E2=["mat-select-trigger","*"];function M2(t,n){if(t&1&&(p(0,"span",4),b(1),g()),t&2){let e=S();_(),Ce(e.placeholder)}}function I2(t,n){t&1&&H(0)}function S2(t,n){if(t&1&&(p(0,"span",11),b(1),g()),t&2){let e=S(2);_(),Ce(e.triggerValue)}}function T2(t,n){if(t&1&&(p(0,"span",5),F(1,I2,1,0)(2,S2,2,1,"span",11),g()),t&2){let e=S();_(),L(e.customTrigger?1:2)}}function k2(t,n){if(t&1){let e=$e();p(0,"div",12,1),ae("keydown",function(r){pe(e);let o=S();return ge(o._handleKeydown(r))}),H(2,1),g()}if(t&2){let e=S();Qe(e.panelClass),P("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),Z("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var A2=new v("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(J);return()=>oo(t)}}),R2=new v("MAT_SELECT_CONFIG"),O2=new v("MatSelectTrigger"),Rv=class{source;value;constructor(n,e){this.source=n,this.value=e}},BM=(()=>{class t{_viewportRuler=u(an);_changeDetectorRef=u(Te);_elementRef=u(O);_dir=u(It,{optional:!0});_idGenerator=u(We);_renderer=u(Ke);_parentFormField=u(bv,{optional:!0});ngControl=u(om,{self:!0,optional:!0});_liveAnnouncer=u(Ec);_defaultOptions=u(R2,{optional:!0});_animationsDisabled=Le();_popoverLocation;_initialized=new D;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=fM(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=hM(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Rv(this,e)}_scrollStrategyFactory=u(A2);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new D;_errorStateTracker;stateChanges=new D;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=de(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(nm.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=gr(()=>{let e=this.options;return e?e.changes.pipe(ht(e),it(()=>St(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(it(()=>this.optionSelectionChanges))});openedChange=new j;_openedStream=this.openedChange.pipe(_e(e=>e),X(()=>{}));_closedStream=this.openedChange.pipe(_e(e=>!e),X(()=>{}));selectionChange=new j;valueChange=new j;constructor(){let e=u(Am),i=u(cv,{optional:!0}),r=u(lv,{optional:!0}),o=u(new mn("tabindex"),{optional:!0}),a=u(Hc,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Rm(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new Ac(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(le(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(le(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(ht(null),le(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(nt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&Yu(this._trackedModal,"aria-owns",i),Z_(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Yu(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!Ft(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!Ft(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ft(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Fa?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ic(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=St(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(le(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),St(...this.options.map(i=>i._stateChanges)).pipe(le(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(e){let i=At(e);i&&(i.tagName==="MAT-OPTION"||i.classList.contains("cdk-overlay-backdrop")||i.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&et(o,O2,5)(o,Oa,5)(o,wv,5),i&2){let a;T(a=k())&&(r.customTrigger=a.first),T(a=k())&&(r.options=a),T(a=k())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&Se(w2,5)(x2,5)(km,5),i&2){let o;T(o=k())&&(r.trigger=o.first),T(o=k())&&(r.panel=o.first),T(o=k())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,r){i&1&&ae("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Z("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),P("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",B],disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:tt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B],placeholder:"placeholder",required:[2,"required","required",B],multiple:[2,"multiple","multiple",B],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",B],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",tt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",B]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ve([{provide:vv,useExisting:t},{provide:Cv,useExisting:t}]),Pe],ngContentSelectors:E2,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(i,r){if(i&1){let o=$e();be(D2),p(0,"div",2,0),ae("click",function(){return pe(o),ge(r.open())}),p(3,"div",3),F(4,M2,2,1,"span",4)(5,T2,3,1,"span",5),g(),p(6,"div",6)(7,"div",7),xt(),p(8,"svg",8),ne(9,"path",9),g()()()(),Ie(10,k2,3,16,"ng-template",10),ae("detach",function(){return pe(o),ge(r.close())})("backdropClick",function(){return pe(o),ge(r.close())})("overlayKeydown",function(s){return pe(o),ge(r._handleOverlayKeydown(s))})}if(i&2){let o=qt(1);_(3),Z("id",r._valueId),_(),L(r.empty?4:5),_(6),W("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",r._popoverLocation)}},dependencies:[Fa,km],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
33
- `],encapsulation:2,changeDetection:0})}return t})();var jM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[so,Av,ue,eo,LM,Av]})}return t})();var P2={capture:!0},N2=["focus","mousedown","mouseenter","touchstart"],Ov="mat-ripple-loader-uninitialized",Pv="mat-ripple-loader-class-name",VM="mat-ripple-loader-centered",Om="mat-ripple-loader-disabled",Pm=(()=>{class t{_document=u(q);_animationsDisabled=Le();_globalRippleOptions=u(tr,{optional:!0});_platform=u(ye);_ngZone=u(N);_injector=u(J);_eventCleanups;_hosts=new Map;constructor(){let e=u(Dt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>N2.map(i=>e.listen(this._document,i,this._onInteraction,P2)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(Ov,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Pv))&&e.setAttribute(Pv,i.className||""),i.centered&&e.setAttribute(VM,""),i.disabled&&e.setAttribute(Om,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Om,""):e.removeAttribute(Om)}_onInteraction=e=>{let i=At(e);if(i instanceof HTMLElement){let r=i.closest(`[${Ov}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Pv)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Sc.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Sc.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(Om),rippleConfig:{centered:e.hasAttribute(VM),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},c=new Jr(s,this._ngZone,i,this._platform,this._injector),l=!s.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:c,hasSetUpEvents:l}),e.removeAttribute(Ov)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var F2=["mat-icon-button",""],L2=["*"],B2=new v("MAT_BUTTON_CONFIG");function HM(t){return t==null?void 0:tt(t)}var Nv=(()=>{class t{_elementRef=u(O);_ngZone=u(N);_animationsDisabled=Le();_config=u(B2,{optional:!0});_focusMonitor=u(On);_cleanupClick;_renderer=u(Ke);_rippleLoader=u(Pm);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){u(ct).load(on);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B],ariaDisabled:[2,"aria-disabled","ariaDisabled",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],tabIndex:[2,"tabIndex","tabIndex",HM],_tabindex:[2,"tabindex","_tabindex",HM]}})}return t})(),zc=(()=>{class t extends Nv{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[oe],attrs:F2,ngContentSelectors:L2,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(be(),Mt(0,"span",0),H(1),Mt(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
34
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
35
- `],encapsulation:2,changeDetection:0})}return t})();var j2=["tooltip"],V2=20;var H2=new v("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(J);return()=>oo(t,{scrollThrottle:V2})}}),z2=new v("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var zM="tooltip-panel",U2={passive:!0},$2=8,W2=8,G2=24,q2=200,Si=(()=>{class t{_elementRef=u(O);_ngZone=u(N);_platform=u(ye);_ariaDescriber=u(Y_);_focusMonitor=u(On);_dir=u(It);_injector=u(J);_viewContainerRef=u(je);_mediaMatcher=u(Da);_document=u(q);_renderer=u(Ke);_animationsDisabled=Le();_defaultOptions=u(z2,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=UM;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Zt(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Zt(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=rn(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=rn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new D;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=$2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(le(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new rr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof O)return this._overlayRef;this._detach()}let i=this._injector.get(to).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${zM}`,o=Vc(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return o.positionChanges.pipe(le(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=ao(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(H2)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(le(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(le(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(le(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(C(C({},r.main),o.main)),this._addOffset(C(C({},r.fallback),o.fallback))])}_addOffset(e){let i=W2,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),He(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${zM}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,U2))}_isTouchPlatform(){return this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!this._defaultOptions?.detectHoverCapability&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||He({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!Ft(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&P("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),UM=(()=>{class t{_changeDetectorRef=u(Te);_elementRef=u(O);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=Le();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new D;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>G2&&e.width>=q2}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Se(j2,7),i&2){let o;T(o=k())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ae("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=$e();at(0,"div",1,0),Gd("animationend",function(s){return pe(o),ge(r._handleAnimationEnd(s))}),at(2,"div",2),b(3),vt()()}i&2&&(Qe(r.tooltipClass),P("mdc-tooltip--multiline",r._isMultiline),_(3),Ce(r.message))},styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
36
- `],encapsulation:2,changeDetection:0})}return t})();var ar=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[Mc,so,ue,eo]})}return t})();var Q2=["matButton",""],Z2=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Y2=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var $M=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),Nm=(()=>{class t extends Nv{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=K2(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?$M.get(this._appearance):null,o=$M.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[oe],attrs:Q2,ngContentSelectors:Y2,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(be(Z2),Mt(0,"span",0),H(1),at(2,"span",1),H(3,1),vt(),H(4,2),Mt(5,"span",2)(6,"span",3)),i&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}@media(hover: none){.mat-mdc-button-base:hover>span.mat-mdc-button-persistent-ripple::before{opacity:0}}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-raised-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus-visible>.mat-focus-indicator::before,.mat-tonal-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
37
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
38
- `],encapsulation:2,changeDetection:0})}return t})();function K2(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var sr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ir,ue]})}return t})();function X2(t,n){if(t&1&&(p(0,"mat-option",17),b(1),g()),t&2){let e=n.$implicit;W("value",e),_(),Ve(" ",e," ")}}function J2(t,n){if(t&1){let e=$e();p(0,"mat-form-field",14)(1,"mat-select",16,0),ae("selectionChange",function(r){pe(e);let o=S(2);return ge(o._changePageSize(r.value))}),Jt(3,X2,2,2,"mat-option",17,Qi),g(),p(5,"div",18),ae("click",function(){pe(e);let r=qt(2);return ge(r.open())}),g()()}if(t&2){let e=S(2);W("appearance",e._formFieldAppearance)("color",e.color),_(),W("value",e.pageSize)("disabled",e.disabled),Jo("aria-labelledby",e._pageSizeLabelId),W("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),_(2),en(e._displayedPageSizeOptions)}}function eB(t,n){if(t&1&&(p(0,"div",15),b(1),g()),t&2){let e=S(2);_(),Ce(e.pageSize)}}function tB(t,n){if(t&1&&(p(0,"div",3)(1,"div",13),b(2),g(),F(3,J2,6,7,"mat-form-field",14),F(4,eB,2,1,"div",15),g()),t&2){let e=S();_(),Z("id",e._pageSizeLabelId),_(),Ve(" ",e._intl.itemsPerPageLabel," "),_(),L(e._displayedPageSizeOptions.length>1?3:-1),_(),L(e._displayedPageSizeOptions.length<=1?4:-1)}}function nB(t,n){if(t&1){let e=$e();p(0,"button",19),ae("click",function(){pe(e);let r=S();return ge(r._buttonClicked(0,r._previousButtonsDisabled()))}),xt(),p(1,"svg",8),ne(2,"path",20),g()()}if(t&2){let e=S();W("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),Z("aria-label",e._intl.firstPageLabel)}}function iB(t,n){if(t&1){let e=$e();p(0,"button",21),ae("click",function(){pe(e);let r=S();return ge(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),xt(),p(1,"svg",8),ne(2,"path",22),g()()}if(t&2){let e=S();W("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),Z("aria-label",e._intl.lastPageLabel)}}var rB=(()=>{class t{changes=new D;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let o=e*i,a=o<r?Math.min(o+i,r):o+i;return`${o+1} \u2013 ${a} of ${r}`};static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oB=50;var aB=new v("MAT_PAGINATOR_DEFAULT_OPTIONS"),sB=(()=>{class t{_intl=u(rB);_changeDetectorRef=u(Te);_formFieldAppearance;_pageSizeLabelId=u(We).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new bn(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>tt(i,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new j;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,i=u(aB,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:r,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:s}=i;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),a!=null&&(this.hidePageSize=a),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let i=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(i/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:oB),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let i=this.pageIndex;e!==i&&(this.pageIndex=e,this._emitPageEvent(i))}_buttonClicked(e,i){i||this._navigate(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",tt],length:[2,"length","length",tt],pageSize:[2,"pageSize","pageSize",tt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",B],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",B],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",B]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2),F(2,tB,5,4,"div",3),p(3,"div",4)(4,"div",5),b(5),g(),F(6,nB,3,5,"button",6),p(7,"button",7),ae("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),xt(),p(8,"svg",8),ne(9,"path",9),g()(),hi(),p(10,"button",10),ae("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),xt(),p(11,"svg",8),ne(12,"path",11),g()(),F(13,iB,3,5,"button",12),g()()()),i&2&&(_(2),L(r.hidePageSize?-1:2),_(3),Ve(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),_(),L(r.showFirstLastButtons?6:-1),_(),W("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),Z("aria-label",r._intl.previousPageLabel),_(3),W("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),Z("aria-label",r._intl.nextPageLabel),_(3),L(r.showFirstLastButtons?13:-1))},dependencies:[vm,BM,Oa,zc,Si],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
39
- `],encapsulation:2,changeDetection:0})}return t})(),GM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[sr,jM,ar,sB]})}return t})();var qM=new v("CdkAccordion");var QM=(()=>{class t{accordion=u(qM,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Te);_expansionDispatcher=u(kc);_openCloseAllSubscription=Q.EMPTY;closed=new j;opened=new j;destroyed=new j;expandedChange=new j;id=u(We).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=de(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",B],disabled:[2,"disabled","disabled",B]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ve([{provide:qM,useValue:void 0}])]})}return t})(),ZM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({})}return t})();var cB=["body"],lB=["bodyWrapper"],dB=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],uB=["mat-expansion-panel-header","*","mat-action-row"];function mB(t,n){}var fB=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],hB=["mat-panel-title","mat-panel-description","*"];function pB(t,n){t&1&&(at(0,"span",1),xt(),at(1,"svg",2),Mt(2,"path",3),vt()())}var YM=new v("MAT_ACCORDION"),KM=new v("MAT_EXPANSION_PANEL"),gB=(()=>{class t{_template=u(Oe);_expansionPanel=u(KM,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),XM=new v("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Uc=(()=>{class t extends QM{_viewContainerRef=u(je);_animationsDisabled=Le();_document=u(q);_ngZone=u(N);_elementRef=u(O);_renderer=u(Ke);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new j;afterCollapse=new j;_inputChanges=new D;accordion=u(YM,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(We).getId("mat-expansion-panel-header-");constructor(){super();let e=u(XM,{optional:!0});this._expansionDispatcher=u(kc),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(ht(null),_e(()=>this.expanded&&!this._portal),nt(1)).subscribe(()=>{this._portal=new _n(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&et(o,gB,5),i&2){let a;T(a=k())&&(r._lazyContent=a.first)}},viewQuery:function(i,r){if(i&1&&Se(cB,5)(lB,5),i&2){let o;T(o=k())&&(r._body=o.first),T(o=k())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&P("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",B],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ve([{provide:YM,useValue:void 0},{provide:KM,useExisting:t}]),oe,Pe],ngContentSelectors:uB,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(be(dB),H(0),p(1,"div",2,0)(3,"div",3,1)(5,"div",4),H(6,1),Ie(7,mB,0,0,"ng-template",5),g(),H(8,2),g()()),i&2&&(_(),Z("inert",r.expanded?null:""),_(2),W("id",r.id),Z("aria-labelledby",r._headerId),_(4),W("cdkPortalOutlet",r._portal))},dependencies:[or],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}@media print{.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
40
- `],encapsulation:2,changeDetection:0})}return t})();var Fm=(()=>{class t{panel=u(Uc,{host:!0});_element=u(O);_focusMonitor=u(On);_changeDetectorRef=u(Te);_parentChangeSubscription=Q.EMPTY;constructor(){u(ct).load(on);let e=this.panel,i=u(XM,{optional:!0}),r=u(new mn("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(_e(a=>!!(a.hideToggle||a.togglePosition))):Ye;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=St(e.opened,e.closed,o,e._inputChanges.pipe(_e(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(_e(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ft(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(i,r){i&1&&ae("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),i&2&&(Z("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),bt("height",r._getHeaderHeight()),P("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:tt(e)]},ngContentSelectors:hB,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(be(fB),at(0,"span",0),H(1),H(2,1),H(3,2),vt(),F(4,pB,3,0,"span",1)),i&2&&(P("mat-content-hide-toggle",!r._showToggle()),_(4),L(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
41
- `],encapsulation:2,changeDetection:0})}return t})(),Lm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),Bm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})();var jm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ZM,Na,ue]})}return t})();var Hv=["*"];function _B(t,n){t&1&&H(0)}var vB=["tabListContainer"],bB=["tabList"],yB=["tabListInner"],CB=["nextPaginator"],wB=["previousPaginator"],xB=["content"];function DB(t,n){}var EB=["tabBodyWrapper"],MB=["tabHeader"];function IB(t,n){}function SB(t,n){if(t&1&&Ie(0,IB,0,0,"ng-template",12),t&2){let e=S().$implicit;W("cdkPortalOutlet",e.templateLabel)}}function TB(t,n){if(t&1&&b(0),t&2){let e=S().$implicit;Ce(e.textLabel)}}function kB(t,n){if(t&1){let e=$e();p(0,"div",7,2),ae("click",function(){let r=pe(e),o=r.$implicit,a=r.$index,s=S(),c=qt(1);return ge(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=pe(e).$index,a=S();return ge(a._tabFocusChanged(r,o))}),ne(2,"span",8)(3,"div",9),p(4,"span",10)(5,"span",11),F(6,SB,1,1,null,12)(7,TB,1,1),g()()()}if(t&2){let e=n.$implicit,i=n.$index,r=qt(1),o=S();Qe(e.labelClass),P("mdc-tab--active",o.selectedIndex===i),W("id",o._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),Z("tabIndex",o._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),_(3),W("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),_(3),L(e.templateLabel?6:7)}}function AB(t,n){t&1&&H(0)}function RB(t,n){if(t&1){let e=$e();p(0,"mat-tab-body",13),ae("_onCentered",function(){pe(e);let r=S();return ge(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){pe(e);let o=S();return ge(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){pe(e);let o=S();return ge(o._bodyCentered(r))}),g()}if(t&2){let e=n.$implicit,i=n.$index,r=S();Qe(e.bodyClass),W("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Z("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var OB=new v("MatTabContent"),PB=(()=>{class t{template=u(Oe);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matTabContent",""]],features:[ve([{provide:OB,useExisting:t}])]})}return t})(),NB=new v("MatTabLabel"),iI=new v("MAT_TAB"),zv=(()=>{class t extends vM{_closestTab=u(iI,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ve([{provide:NB,useExisting:t}]),oe]})}return t})(),rI=new v("MAT_TAB_GROUP"),Uv=(()=>{class t{_viewContainerRef=u(je);_closestTabGroup=u(rI,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new D;position=null;origin=null;isActive=!1;constructor(){u(ct).load(on)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new _n(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,o){if(i&1&&et(o,zv,5)(o,PB,7,Oe),i&2){let a;T(a=k())&&(r.templateLabel=a.first),T(a=k())&&(r._explicitContent=a.first)}},viewQuery:function(i,r){if(i&1&&Se(Oe,7),i&2){let o;T(o=k())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&Z("id",null)},inputs:{disabled:[2,"disabled","disabled",B],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[ve([{provide:iI,useExisting:t}]),Pe],ngContentSelectors:Hv,decls:1,vars:0,template:function(i,r){i&1&&(be(),Ud(0,_B,1,0,"ng-template"))},encapsulation:2})}return t})(),Lv="mdc-tab-indicator--active",eI="mdc-tab-indicator--no-transition",Bv=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},FB=(()=>{class t{_elementRef=u(O);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(Lv);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(eI),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(eI),i.classList.add(Lv),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Lv)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B]}})}return t})();var oI=(()=>{class t extends FB{elementRef=u(O);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(Z("aria-disabled",!!r.disabled),P("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",B]},features:[oe]})}return t})(),tI={passive:!0},LB=650,BB=100,jB=(()=>{class t{_elementRef=u(O);_changeDetectorRef=u(Te);_viewportRuler=u(an);_dir=u(It,{optional:!0});_ngZone=u(N);_platform=u(ye);_sharedResizeObserver=u(gm);_injector=u(J);_renderer=u(Ke);_animationsDisabled=Le();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new D;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new D;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new j;indexFocused=new j;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),tI),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),tI))}ngAfterContentInit(){let e=this._dir?this._dir.change:$("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(oi(32),le(this._destroyed)),r=this._viewportRuler.change(150).pipe(le(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Xr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),He(o,{injector:this._injector}),St(e,r,i,this._items.changes,this._itemsResized()).pipe(le(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Ye:this._items.changes.pipe(ht(this._items),it(e=>new G(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),yr(1),_e(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ft(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,d=this.scrollDistance+r;s<l?this.scrollDistance-=l-s:c>d&&(this.scrollDistance+=Math.min(c-d,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),os(LB,BB).pipe(le(St(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",B],selectedIndex:[2,"selectedIndex","selectedIndex",tt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),VB=(()=>{class t extends jB{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Bv(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,o){if(i&1&&et(o,oI,4),i&2){let a;T(a=k())&&(r._items=a)}},viewQuery:function(i,r){if(i&1&&Se(vB,7)(bB,7)(yB,7)(CB,5)(wB,5),i&2){let o;T(o=k())&&(r._tabListContainer=o.first),T(o=k())&&(r._tabList=o.first),T(o=k())&&(r._tabListInner=o.first),T(o=k())&&(r._nextPaginator=o.first),T(o=k())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&P("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",B]},features:[oe],ngContentSelectors:Hv,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let o=$e();be(),p(0,"div",5,0),ae("click",function(){return pe(o),ge(r._handlePaginatorClick("before"))})("mousedown",function(s){return pe(o),ge(r._handlePaginatorPress("before",s))})("touchend",function(){return pe(o),ge(r._stopInterval())}),ne(2,"div",6),g(),p(3,"div",7,1),ae("keydown",function(s){return pe(o),ge(r._handleKeydown(s))}),p(5,"div",8,2),ae("cdkObserveContent",function(){return pe(o),ge(r._onContentChanges())}),p(7,"div",9,3),H(9),g()()(),p(10,"div",10,4),ae("mousedown",function(s){return pe(o),ge(r._handlePaginatorPress("after",s))})("click",function(){return pe(o),ge(r._handlePaginatorClick("after"))})("touchend",function(){return pe(o),ge(r._stopInterval())}),ne(12,"div",6),g()}i&2&&(P("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),W("matRippleDisabled",r._disableScrollBefore||r.disableRipple),_(3),P("_mat-animation-noopable",r._animationsDisabled),_(2),Z("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),_(5),P("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),W("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Tc,Gu],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}
42
- `],encapsulation:2})}return t})(),HB=new v("MAT_TABS_CONFIG"),nI=(()=>{class t extends or{_host=u(jv);_ngZone=u(N);_centeringSub=Q.EMPTY;_leavingSub=Q.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(ht(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matTabBodyHost",""]],features:[oe]})}return t})(),jv=(()=>{class t{_elementRef=u(O);_dir=u(It,{optional:!0});_ngZone=u(N);_injector=u(J);_renderer=u(Ke);_diAnimationsDisabled=Le();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=Q.EMPTY;_position;_previousPosition;_onCentering=new j;_beforeCentering=new j;_afterLeavingCenter=new j;_onCentered=new j(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=u(Te);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),He(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,i=r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",i),this._renderer.listen(e,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),He(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&Se(nI,5)(xB,5),i&2){let o;T(o=k())&&(r._portalHost=o.first),T(o=k())&&(r._contentElement=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&Z("inert",r._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){i&1&&(p(0,"div",1,0),Ie(2,DB,0,0,"ng-template",2),g()),i&2&&P("mat-tab-body-content-left",r._position==="left")("mat-tab-body-content-right",r._position==="right")("mat-tab-body-content-can-animate",r._position==="center"||r._previousPosition==="center")},dependencies:[nI,Lc],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}
43
- `],encapsulation:2})}return t})(),Vm=(()=>{class t{_elementRef=u(O);_changeDetectorRef=u(Te);_ngZone=u(N);_tabsSubscription=Q.EMPTY;_tabLabelSubscription=Q.EMPTY;_tabBodySubscription=Q.EMPTY;_diAnimationsDisabled=Le();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Mn;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new j;focusChange=new j;animationDone=new j;selectedTabChange=new j(!0);_groupId;_isServer=!u(ye).isBrowser;constructor(){let e=u(HB,{optional:!0});this._groupId=u(We).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let o=0;o<i.length;o++)if(i[o].isActive){this._indexToSelect=this._selectedIndex=o,this._lastFocusedTabIndex=null,r=i[o];break}!r&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(ht(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new Vv;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=St(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,o){if(i&1&&et(o,Uv,5),i&2){let a;T(a=k())&&(r._allTabs=a)}},viewQuery:function(i,r){if(i&1&&Se(EB,5)(MB,5)(jv,5),i&2){let o;T(o=k())&&(r._tabBodyWrapper=o.first),T(o=k())&&(r._tabHeader=o.first),T(o=k())&&(r._tabBodies=o)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(Z("mat-align-tabs",r.alignTabs),Qe("mat-"+(r.color||"primary")),bt("--mat-tab-animation-duration",r.animationDuration),P("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",B],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",B],selectedIndex:[2,"selectedIndex","selectedIndex",tt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",tt],disablePagination:[2,"disablePagination","disablePagination",B],disableRipple:[2,"disableRipple","disableRipple",B],preserveContent:[2,"preserveContent","preserveContent",B],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[ve([{provide:rI,useExisting:t}])],ngContentSelectors:Hv,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let o=$e();be(),p(0,"mat-tab-header",3,0),ae("indexFocused",function(s){return pe(o),ge(r._focusChanged(s))})("selectFocusedIndex",function(s){return pe(o),ge(r.selectedIndex=s)}),Jt(2,kB,8,17,"div",4,Qi),g(),F(4,AB,1,0),p(5,"div",5,1),Jt(7,RB,1,10,"mat-tab-body",6,Qi),g()}i&2&&(W("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),Jo("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),_(2),en(r._tabs),_(2),L(r._isServer?4:-1),_(),P("_mat-animation-noopable",r._animationsDisabled()),_(2),en(r._tabs))},dependencies:[VB,oI,z_,Tc,or,jv],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}
44
- `],encapsulation:2})}return t})(),Vv=class{index;tab};var Hm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();var UB=["determinateSpinner"];function $B(t,n){if(t&1&&(xt(),p(0,"svg",11),ne(1,"circle",12),g()),t&2){let e=S();Z("viewBox",e._viewBox()),_(),bt("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Z("r",e._circleRadius())}}var WB=new v("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:aI})}),aI=100,GB=10,sI=(()=>{class t{_elementRef=u(O);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=u(WB),i=K_(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=aI;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-GB)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Se(UB,5),i&2){let o;T(o=k())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(Z("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Qe("mat-"+r.color),bt("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),P("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",tt],diameter:[2,"diameter","diameter",tt],strokeWidth:[2,"strokeWidth","strokeWidth",tt]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(Ie(0,$B,2,8,"ng-template",null,0,na),p(2,"div",2,1),xt(),p(4,"svg",3),ne(5,"circle",4),g()(),hi(),p(6,"div",5)(7,"div",6)(8,"div",7),ut(9,8),g(),p(10,"div",9),ut(11,8),g(),p(12,"div",10),ut(13,8),g()()()),i&2){let o=qt(1);_(4),Z("viewBox",r._viewBox()),_(),bt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Z("r",r._circleRadius()),_(4),W("ngTemplateOutlet",o),_(2),W("ngTemplateOutlet",o),_(2),W("ngTemplateOutlet",o)}},dependencies:[Xs],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
45
- `],encapsulation:2,changeDetection:0})}return t})();var cI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();function QB(t,n){if(t&1){let e=$e();p(0,"div",1)(1,"button",2),ae("click",function(){pe(e);let r=S();return ge(r.action())}),b(2),g()()}if(t&2){let e=S();_(2),Ve(" ",e.data.action," ")}}var ZB=["label"];function YB(t,n){}var KB=Math.pow(2,31)-1,$c=class{_overlayRef;instance;containerInstance;_afterDismissed=new D;_afterOpened=new D;_onAction=new D;_durationTimeoutId;_dismissedByAction=!1;constructor(n,e){this._overlayRef=e,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,KB))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},lI=new v("MatSnackBarData"),La=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},XB=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),JB=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),ej=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),dI=(()=>{class t{snackBarRef=u($c);data=u(lI);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(p(0,"div",0),b(1),g(),F(2,QB,3,1,"div",1)),i&2&&(_(),Ve(" ",r.data.message,`
46
- `),_(),L(r.hasAction?2:-1))},dependencies:[Nm,XB,JB,ej],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}
47
- `],encapsulation:2,changeDetection:0})}return t})(),$v="_mat-snack-bar-enter",Wv="_mat-snack-bar-exit",tj=(()=>{class t extends Pa{_ngZone=u(N);_elementRef=u(O);_changeDetectorRef=u(Te);_platform=u(ye);_animationsDisabled=Le();snackBarConfig=u(La);_document=u(q);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=u(J);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new D;_onExit=new D;_onEnter=new D;_animationState="void";_live;_label;_role;_liveElementId=u(We).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}attachDomPortal=e=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),i};onAnimationEnd(e){e===Wv?this._completeExit():e===$v&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?He(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($v)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd($v)},200)))}exit(){return this._destroyed?$(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?He(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Wv)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Wv),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,i=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(i&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(o=document.activeElement),i.removeAttribute("aria-hidden"),r.appendChild(i),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&Se(or,7)(ZB,7),i&2){let o;T(o=k())&&(r._portalOutlet=o.first),T(o=k())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&ae("animationend",function(a){return r.onAnimationEnd(a.animationName)})("animationcancel",function(a){return r.onAnimationEnd(a.animationName)}),i&2&&P("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[oe],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2,0)(3,"div",3),Ie(4,YB,0,0,"ng-template",4),g(),ne(5,"div"),g()()),i&2&&(_(5),Z("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[or],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
48
- `],encapsulation:2})}return t})(),nj=new v("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new La}),Gv=(()=>{class t{_live=u(Ec);_injector=u(J);_breakpointObserver=u(Dc);_parentSnackBar=u(t,{optional:!0,skipSelf:!0});_defaultConfig=u(nj);_animationsDisabled=Le();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=dI;snackBarContainerComponent=tj;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let o=C(C({},this._defaultConfig),r);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=J.create({parent:r||this._injector,providers:[{provide:La,useValue:i}]}),a=new rr(this.snackBarContainerComponent,i.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=C(C(C({},new La),this._defaultConfig),i),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new $c(a,o);if(e instanceof Oe){let c=new _n(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{let c=this._createInjector(r,s),l=new rr(e,void 0,c),d=a.attachComponentPortal(l);s.instance=d.instance}return this._breakpointObserver.observe(CE.HandsetPortrait).pipe(le(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let i=new ro;i.direction=e.direction;let r=Tm(this._injector),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,i.disableAnimations=this._animationsDisabled,ao(this._injector,i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return J.create({parent:r||this._injector,providers:[{provide:$c,useValue:i},{provide:lI,useValue:e.data}]})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var uI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({providers:[Gv],imports:[so,Na,sr,dI,ue]})}return t})();var zm=class t{jsonData;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-json-tree"]],inputs:{jsonData:"jsonData"},decls:1,vars:1,consts:[[3,"data"]],template:function(e,i){e&1&&Mt(0,"json-viewer",0),e&2&&Xn("data",i.jsonData)},styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}json-viewer[_ngcontent-%COMP%]{--background-color: var(--mat-sys-background);--property-color: var(--mat-sys-primary);--number-color: var(--mat-sys-secondary);--string-color: var(--mat-sys-secondary);--preview-color: var(--mat-sys-primary)}"]})};var Um=class t{MAX_DIFFS=100;MAX_DEPTH=10;calculateDiff(n,e){let i=[],r=0;if(!n&&e){let l=this.flattenObject(e);return r=l.length,{diffs:l.slice(0,this.MAX_DIFFS).map(d=>({path:d.path,newValue:d.value,type:"added"})),truncated:l.length>this.MAX_DIFFS,totalChanges:r}}if(n&&!e){let l=this.flattenObject(n);return r=l.length,{diffs:l.slice(0,this.MAX_DIFFS).map(d=>({path:d.path,oldValue:d.value,type:"removed"})),truncated:l.length>this.MAX_DIFFS,totalChanges:r}}if(!n&&!e)return{diffs:[],truncated:!1,totalChanges:0};let o=this.flattenObject(n),a=this.flattenObject(e),s=new Map(o.map(l=>[l.path,l.value])),c=new Map(a.map(l=>[l.path,l.value]));for(let[l,d]of s){if(i.length>=this.MAX_DIFFS)break;if(!c.has(l))i.push({path:l,oldValue:d,type:"removed"}),r++;else{let m=c.get(l);this.isEqual(d,m)||(i.push({path:l,oldValue:d,newValue:m,type:"changed"}),r++)}}for(let[l,d]of c){if(i.length>=this.MAX_DIFFS)break;s.has(l)||(i.push({path:l,newValue:d,type:"added"}),r++)}if(i.length>=this.MAX_DIFFS){for(let[l]of s)c.has(l)||r++;for(let[l,d]of s){let m=c.get(l);c.has(l)&&!this.isEqual(d,m)&&r++}for(let[l]of c)s.has(l)||r++}return{diffs:i,truncated:i.length>=this.MAX_DIFFS,totalChanges:r}}isEqual(n,e){return n===e?!0:typeof n!=typeof e?!1:typeof n!="object"||n===null||e===null?n===e:JSON.stringify(n)===JSON.stringify(e)}flattenObject(n,e="",i=0){if(i>this.MAX_DEPTH)return[{path:e,value:"[Max depth exceeded]"}];if(n==null||typeof n!="object")return[{path:e,value:n}];if(Array.isArray(n)&&n.length>50)return[{path:e,value:`[Array with ${n.length} items]`}];let r=Object.keys(n);return r.length>50?[{path:e,value:`{Object with ${r.length} keys}`}]:r.reduce((o,a)=>{let s=e?`${e}.${a}`:a,c=n[a];return c==null||typeof c!="object"?o.push({path:s,value:c}):o.push(...this.flattenObject(c,s,i+1)),o},[])}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};function ij(t,n){t&1&&(p(0,"div",1)(1,"p"),b(2,"No changes detected between states"),g()())}function rj(t,n){if(t&1&&(p(0,"div",2),b(1),g()),t&2){let e=S(2);_(),Yd(" Showing ",e.diffs.length," of ",e.totalChanges," changes. Large diffs are truncated for performance. ")}}function oj(t,n){if(t&1&&(p(0,"div",7)(1,"span",10),b(2,"-"),g(),p(3,"span",11),b(4),g()()),t&2){let e=S().$implicit,i=S(2);_(4),Ce(i.formatValue(e.oldValue))}}function aj(t,n){if(t&1&&(p(0,"div",8)(1,"span",10),b(2,"+"),g(),p(3,"span",11),b(4),g()()),t&2){let e=S().$implicit,i=S(2);_(4),Ce(i.formatValue(e.newValue))}}function sj(t,n){if(t&1&&(p(0,"div",9)(1,"div",7)(2,"span",10),b(3,"-"),g(),p(4,"span",11),b(5),g()(),p(6,"div",8)(7,"span",10),b(8,"+"),g(),p(9,"span",11),b(10),g()()()),t&2){let e=S().$implicit,i=S(2);_(5),Ce(i.formatValue(e.oldValue)),_(5),Ce(i.formatValue(e.newValue))}}function cj(t,n){if(t&1&&(p(0,"div",5)(1,"div",6),b(2),g(),F(3,oj,5,1,"div",7),F(4,aj,5,1,"div",8),F(5,sj,11,2,"div",9),g()),t&2){let e=n.$implicit;W("ngClass",e.type),_(2),Ce(e.path),_(),L(e.type==="removed"?3:-1),_(),L(e.type==="added"?4:-1),_(),L(e.type==="changed"?5:-1)}}function lj(t,n){if(t&1&&(F(0,rj,2,2,"div",2),p(1,"cdk-virtual-scroll-viewport",3),Ie(2,cj,6,5,"div",4),g()),t&2){let e=S();L(e.truncated?0:-1),_(2),W("cdkVirtualForOf",e.diffs)("cdkVirtualForTrackBy",e.trackByPath)}}var $m=class t{previousState;currentState;diffs=[];truncated=!1;totalChanges=0;diffService=u(Um);ngOnChanges(){if(this.previousState!==void 0||this.currentState!==void 0){let n=this.diffService.calculateDiff(this.previousState,this.currentState);this.diffs=n.diffs,this.truncated=n.truncated,this.totalChanges=n.totalChanges}}formatValue(n){if(n===null)return"null";if(n===void 0)return"undefined";if(typeof n=="string")return`"${n}"`;if(typeof n=="object"){let e=JSON.stringify(n,null,2);return e.length>500?e.substring(0,500)+"... [truncated]":e}return String(n)}trackByPath(n,e){return e.path}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-diff-viewer"]],inputs:{previousState:"previousState",currentState:"currentState"},features:[Pe],decls:3,vars:1,consts:[[1,"diff-container"],[1,"no-changes"],[1,"truncation-warning"],["itemSize","80",1,"diff-viewport"],["class","diff-item",3,"ngClass",4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[1,"diff-item",3,"ngClass"],[1,"path"],[1,"value-line","removed"],[1,"value-line","added"],[1,"value-comparison"],[1,"line-marker"],[1,"value"]],template:function(e,i){e&1&&(p(0,"div",0),F(1,ij,3,0,"div",1)(2,lj,3,3),g()),e&2&&(_(),L(i.diffs.length===0?1:2))},dependencies:[ia,Bg,no,Dv,Mv,Ev],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.diff-container[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.4;height:100%;display:flex;flex-direction:column}.diff-viewport[_ngcontent-%COMP%]{flex:1;min-height:300px;max-height:600px}.truncation-warning[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:8px 16px;background-color:#ffc107;border:1px solid rgba(255,152,0,.5);border-radius:var(--mat-sys-corner-small, 8px);color:#b38600;font-size:var(--mat-sys-body-small);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.truncation-warning[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{font-size:16px}.no-changes[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-style:italic;padding:16px;text-align:center;background-color:var(--mat-sys-surface-variant);border-radius:var(--mat-sys-corner-extra-small, 4px);margin:16px}.diff-item[_ngcontent-%COMP%]{margin:8px 16px;border:1px solid var(--mat-sys-outline-variant);border-radius:var(--mat-sys-corner-small, 8px);overflow:hidden}.diff-item.added[_ngcontent-%COMP%]{border-color:#2ea043}.diff-item.removed[_ngcontent-%COMP%]{border-color:#f85149}.diff-item.changed[_ngcontent-%COMP%]{border-color:#1f6feb}.path[_ngcontent-%COMP%]{font-weight:700;padding:8px 12px;background-color:var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant);word-break:break-all;font-size:var(--mat-sys-body-small);color:var(--mat-sys-on-surface-variant)}.value-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:4px 0}.value-line.added[_ngcontent-%COMP%]{background-color:#2ea0431a}.value-line.added[_ngcontent-%COMP%] .line-marker[_ngcontent-%COMP%]{background-color:#2ea043;color:#fff}.value-line.removed[_ngcontent-%COMP%]{background-color:#f851491a}.value-line.removed[_ngcontent-%COMP%] .line-marker[_ngcontent-%COMP%]{background-color:#f85149;color:#fff}.line-marker[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0 8px;font-weight:700;font-size:14px;border-radius:2px;flex-shrink:0}.value[_ngcontent-%COMP%]{flex:1;white-space:pre-wrap;word-wrap:break-word;padding-right:12px;max-height:150px;overflow-y:auto}.value-comparison[_ngcontent-%COMP%] .value-line[_ngcontent-%COMP%]:first-child{margin-bottom:2px}"],changeDetection:0})};var dj=[[["caption"]],[["colgroup"],["col"]],"*"],uj=["caption","colgroup, col","*"];function mj(t,n){t&1&&H(0,2)}function fj(t,n){t&1&&(p(0,"thead",0),ut(1,1),g(),p(2,"tbody",0),ut(3,2)(4,3),g(),p(5,"tfoot",0),ut(6,4),g())}function hj(t,n){t&1&&ut(0,1)(1,2)(2,3)(3,4)}var Fn=new v("CDK_TABLE");var qm=(()=>{class t{template=u(Oe);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),Qm=(()=>{class t{template=u(Oe);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),hI=(()=>{class t{template=u(Oe);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),Ba=(()=>{class t{_table=u(Fn,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,o){if(i&1&&et(o,qm,5)(o,Qm,5)(o,hI,5),i&2){let a;T(a=k())&&(r.cell=a.first),T(a=k())&&(r.headerCell=a.first),T(a=k())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",B],stickyEnd:[2,"stickyEnd","stickyEnd",B]},features:[ve([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),Gm=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},pI=(()=>{class t extends Gm{constructor(){super(u(Ba),u(O))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[oe]})}return t})();var gI=(()=>{class t extends Gm{constructor(){let e=u(Ba),i=u(O);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[oe]})}return t})();var Qv=(()=>{class t{template=u(Oe);_differs=u(Jn);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Gc?e.headerCell.template:this instanceof Zv?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,features:[Pe]})}return t})(),Gc=(()=>{class t extends Qv{_table=u(Fn,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(u(Oe),u(Jn))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",B]},features:[oe,Pe]})}return t})(),Zv=(()=>{class t extends Qv{_table=u(Fn,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(u(Oe),u(Jn))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",B]},features:[oe,Pe]})}return t})(),Zm=(()=>{class t extends Qv{_table=u(Fn,{optional:!0});when;constructor(){super(u(Oe),u(Jn))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[oe]})}return t})(),co=(()=>{class t{_viewContainer=u(je);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),Yv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ut(0,0)},dependencies:[co],encapsulation:2})}return t})();var Kv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ut(0,0)},dependencies:[co],encapsulation:2})}return t})(),_I=(()=>{class t{templateRef=u(Oe);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),mI=["top","bottom","left","right"],qv=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i=!0,r=!0,o,a,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=i,this._needsPositionStickyOnElement=r,this.direction=o,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));He({write:()=>{for(let r of i)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(n,e,i,r=!0,o=!0){if(!n.length||!this._isBrowser||!(e.some(M=>M)||i.some(M=>M))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=n[0],s=a.children.length,c=this.direction==="rtl",l=c?"right":"left",d=c?"left":"right",m=e.lastIndexOf(!0),h=i.indexOf(!0),f,y,E;o&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),He({earlyRead:()=>{f=this._getCellWidths(a,r),y=this._getStickyStartColumnPositions(f,e),E=this._getStickyEndColumnPositions(f,i)},write:()=>{for(let M of n)for(let I=0;I<s;I++){let we=M.children[I];e[I]&&this._addStickyStyle(we,l,y[I],I===m),i[I]&&this._addStickyStyle(we,d,E[I],I===h)}this._positionListener&&f.some(M=>!!M)&&(this._positionListener.stickyColumnsUpdated({sizes:m===-1?[]:f.slice(0,m+1).map((M,I)=>e[I]?M:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:f.slice(h).map((M,I)=>i[I+h]?M:null).reverse()}))}},{injector:this._tableInjector})}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,o=i==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];He({earlyRead:()=>{for(let l=0,d=0;l<r.length;l++){if(!o[l])continue;a[l]=d;let m=r[l];c[l]=this._isNativeHtmlTable?Array.from(m.children):[m];let h=this._retrieveElementSize(m).height;d+=h,s[l]=h}},write:()=>{let l=o.lastIndexOf(!0);for(let d=0;d<r.length;d++){if(!o[d])continue;let m=a[d],h=d===l;for(let f of c[d])this._addStickyStyle(f,i,m,h)}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:c}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:c})}},{injector:this._tableInjector})}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&He({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);mI.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of mI)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let o=0;o<r.length;o++){let a=r[o];i.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let o=0;o<n.length;o++)e[o]&&(i[o]=r,r+=n[o]);return i}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let o=n.length;o>0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&pj(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function pj(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var Wc=new v("STICKY_POSITIONING_LISTENER");var Xv=(()=>{class t{viewContainer=u(je);elementRef=u(O);constructor(){let e=u(Fn);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","rowOutlet",""]]})}return t})(),Jv=(()=>{class t{viewContainer=u(je);elementRef=u(O);constructor(){let e=u(Fn);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),eb=(()=>{class t{viewContainer=u(je);elementRef=u(O);constructor(){let e=u(Fn);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),tb=(()=>{class t{viewContainer=u(je);elementRef=u(O);constructor(){let e=u(Fn);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),nb=(()=>{class t{_differs=u(Jn);_changeDetectorRef=u(Te);_elementRef=u(O);_dir=u(It,{optional:!0});_platform=u(ye);_viewRepeater;_viewportRuler=u(an);_injector=u(J);_virtualScrollViewport=u(bm,{optional:!0,host:!0});_positionListener=u(Wc,{optional:!0})||u(Wc,{optional:!0,skipSelf:!0});_document=u(q);_data;_renderedRange;_onDestroy=new D;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new D;_footerRowStickyUpdates=new D;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new D;_dataStream=new D;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new j;viewChange=new Xe({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){u(new mn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(le(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new Sa:new em,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),Ia(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===Pn.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=fI(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=fI(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===o&&a.push(i[s]);this._addStickyColumnStyles(a,o)}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],i=Math.min(this._data.length,this._renderedRange.end),r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=this._renderedRange.start;o<i;o++){let a=this._data[o],s=this._getRenderRowsForData(a,o,r.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let c=0;c<s.length;c++){let l=s[c],d=this._cachedRenderRowsMap.get(l.data);d.has(l.rowDef)?d.get(l.rowDef).push(l):d.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=i,c}else return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Wm(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Wm(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Wm(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Wm(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let c=!!s.getColumnsDiff();return a||c},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],Ia(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Ia(this.dataSource)?e=this.dataSource.connect(this):Bn(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=$(this.dataSource)),this._renderChangeSubscription=ri([e,this.viewChange]).pipe(le(this._onDestroy)).subscribe(([i,r])=>{this._data=i||[],this._renderedRange=r,this._dataStream.next(i),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);i.push(o.rootNodes[0])}return i}_getRowDefs(e,i){if(this._rowDefs.length===1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:i}}_renderRow(e,i,r,o={}){let a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))co.mostRecentCellOutlet&&co.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let a=e.get(i).context;a.count=r,a.first=i===0,a.last=i===r-1,a.even=i%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[i].dataIndex,a.renderIndex=i):a.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",i=this._injector;this._stickyStyler=new qv(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,i),(this._dir?this._dir.change:$()).pipe(le(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let i=typeof requestAnimationFrame<"u"?ts:Ja;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(_r(0,i),le(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,o)=>this._measureRangeSize(r,o)}),ri([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(le(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s){let c=o.offsets[a],l=r!==0?Math.max(r-c,c):-c;for(let d of s)d.style.top=`${-l}px`}}}),ri([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(le(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s)for(let c of s)c.style.bottom=`${r+o.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];if(o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let s=a.querySelectorAll(e._cellSelector);for(let c=0;c<s.length;c++)s[c].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,i){if(e.start>=e.end||i!=="vertical")return 0;let r=this.viewChange.value,o=this._rowOutlet.viewContainer;e.start<r.start||e.end>r.end;let a=e.start-r.start,s=e.end-e.start,c,l;for(let h=0;h<s;h++){let f=o.get(h+a);if(f&&f.rootNodes.length){c=l=f.rootNodes[0];break}}for(let h=s-1;h>-1;h--){let f=o.get(h+a);if(f&&f.rootNodes.length){l=f.rootNodes[f.rootNodes.length-1];break}}let d=c?.getBoundingClientRect?.(),m=l?.getBoundingClientRect?.();return d&&m?m.bottom-d.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,o){if(i&1&&et(o,_I,5)(o,Ba,5)(o,Zm,5)(o,Gc,5)(o,Zv,5),i&2){let a;T(a=k())&&(r._noDataRow=a.first),T(a=k())&&(r._contentColumnDefs=a),T(a=k())&&(r._contentRowDefs=a),T(a=k())&&(r._contentHeaderRowDefs=a),T(a=k())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&P("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",B],fixedLayout:[2,"fixedLayout","fixedLayout",B],recycleRows:[2,"recycleRows","recycleRows",B]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ve([{provide:Fn,useExisting:t},{provide:Wc,useValue:null}])],ngContentSelectors:uj,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(be(dj),H(0),H(1,1),F(2,mj,1,0),F(3,fj,7,0)(4,hj,4,0)),i&2&&(_(2),L(r._isServer?2:-1),_(),L(r._isNativeHtmlTable?3:4))},dependencies:[Jv,Xv,tb,eb],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
49
- `],encapsulation:2})}return t})();function Wm(t,n){return t.concat(Array.from(n))}function fI(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var vI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[no]})}return t})();var gj=[[["caption"]],[["colgroup"],["col"]],"*"],_j=["caption","colgroup, col","*"];function vj(t,n){t&1&&H(0,2)}function bj(t,n){t&1&&(p(0,"thead",0),ut(1,1),g(),p(2,"tbody",2),ut(3,3)(4,4),g(),p(5,"tfoot",0),ut(6,5),g())}function yj(t,n){t&1&&ut(0,1)(1,3)(2,4)(3,5)}var bI=(()=>{class t extends nb{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&P("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[ve([{provide:nb,useExisting:t},{provide:Fn,useExisting:t},{provide:Wc,useValue:null}]),oe],ngContentSelectors:_j,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(be(gj),H(0),H(1,1),F(2,vj,1,0),F(3,bj,7,0)(4,yj,4,0)),i&2&&(_(2),L(r._isServer?2:-1),_(),L(r._isNativeHtmlTable?3:4))},dependencies:[Jv,Xv,tb,eb],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mat-table-fixed-layout{table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:start;text-overflow:ellipsis}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:start}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
50
- `],encapsulation:2})}return t})(),yI=(()=>{class t extends qm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matCellDef",""]],features:[ve([{provide:qm,useExisting:t}]),oe]})}return t})(),CI=(()=>{class t extends Qm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matHeaderCellDef",""]],features:[ve([{provide:Qm,useExisting:t}]),oe]})}return t})();var wI=(()=>{class t extends Ba{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ve([{provide:Ba,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),oe]})}return t})(),xI=(()=>{class t extends pI{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[oe]})}return t})();var DI=(()=>{class t extends gI{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[oe]})}return t})();var EI=(()=>{class t extends Gc{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",B]},features:[ve([{provide:Gc,useExisting:t}]),oe]})}return t})();var MI=(()=>{class t extends Zm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ve([{provide:Zm,useExisting:t}]),oe]})}return t})(),II=(()=>{class t extends Yv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ve([{provide:Yv,useExisting:t}]),oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ut(0,0)},dependencies:[co],encapsulation:2})}return t})();var SI=(()=>{class t extends Kv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275cmp=R({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ve([{provide:Kv,useExisting:t}]),oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ut(0,0)},dependencies:[co],encapsulation:2})}return t})();var TI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[vI,ue]})}return t})();var wj=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],xj=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Dj(t,n){t&1&&(p(0,"span",3),H(1,1),g())}function Ej(t,n){t&1&&(p(0,"span",6),H(1,2),g())}var Mj=new v("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),kI=new v("MatChipAvatar"),AI=new v("MatChipTrailingIcon"),RI=new v("MatChipEdit"),OI=new v("MatChipRemove"),PI=new v("MatChip"),NI=(()=>{class t{_elementRef=u(O);_parentChip=u(PI);_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){u(ct).load(on),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=x({type:t,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),P("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--secondary",!r._isPrimary)("mdc-evolution-chip__action--trailing",!r._isPrimary&&!r._isLeading))},inputs:{disabled:[2,"disabled","disabled",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:tt(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return t})(),Ij=(()=>{class t extends NI{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(e){!this.disabled&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Me(t)))(r||t)}})();static \u0275dir=x({type:t,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(i,r){i&1&&ae("click",function(a){return r._handleClick(a)})("keydown",function(a){return r._handleKeydown(a)}),i&2&&(Z("tabindex",r._getTabindex()),P("mdc-evolution-chip__action--presentational",!1))},features:[oe]})}return t})();var FI=(()=>{class t{_changeDetectorRef=u(Te);_elementRef=u(O);_tagName=u($w);_ngZone=u(N);_focusMonitor=u(On);_globalRippleOptions=u(tr,{optional:!0});_document=u(q);_onFocus=new D;_onBlur=new D;_isBasicChip=!1;role=null;_hasFocusInternal=!1;_pendingFocus=!1;_actionChanges;_animationsDisabled=Le();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=u(We).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new j;destroyed=new j;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=u(Pm);_injector=u(J);constructor(){let e=u(ct);e.load(on),e.load(Zr),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=St(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{let r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=e!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=R({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(i&1&&et(o,kI,5)(o,RI,5)(o,AI,5)(o,OI,5)(o,kI,5)(o,AI,5)(o,RI,5)(o,OI,5),i&2){let a;T(a=k())&&(r.leadingIcon=a.first),T(a=k())&&(r.editIcon=a.first),T(a=k())&&(r.trailingIcon=a.first),T(a=k())&&(r.removeIcon=a.first),T(a=k())&&(r._allLeadingIcons=a),T(a=k())&&(r._allTrailingIcons=a),T(a=k())&&(r._allEditIcons=a),T(a=k())&&(r._allRemoveIcons=a)}},viewQuery:function(i,r){if(i&1&&Se(Ij,5),i&2){let o;T(o=k())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,r){i&1&&ae("keydown",function(a){return r._handleKeydown(a)}),i&2&&(Xn("id",r.id),Z("role",r.role)("aria-label",r.ariaLabel),Qe("mat-"+(r.color||"primary")),P("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",B],highlighted:[2,"highlighted","highlighted",B],disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ve([{provide:PI,useExisting:t}])],ngContentSelectors:xj,decls:8,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){i&1&&(be(wj),ne(0,"span",0),p(1,"span",1)(2,"span",2),F(3,Dj,2,0,"span",3),p(4,"span",4),H(5),ne(6,"span",5),g()()(),F(7,Ej,2,0,"span",6)),i&2&&(_(3),L(r.leadingIcon?3:-1),_(4),L(r._hasTrailingIcon()?7:-1))},dependencies:[NI],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}
51
- `],encapsulation:2,changeDetection:0})}return t})();var Ym=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({providers:[Am,{provide:Mj,useValue:{separatorKeyCodes:[13]}}],imports:[ir,ue]})}return t})();var Km=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[Mc,ue]})}return t})();var LI={good:"#4caf50",warning:"#ff9800",critical:"#f44336"},BI=[{threshold:32,text:"Use OnPush change detection strategy",docUrl:"https://angular.dev/best-practices/skipping-subtrees#using-onpush"},{threshold:50,text:"Add trackBy to *ngFor loops",docUrl:"https://angular.dev/api/common/NgFor#description"},{threshold:100,text:"Use virtual scrolling for large lists",docUrl:"https://material.angular.io/cdk/scrolling/overview#virtual-scrolling"},{threshold:100,text:"Defer heavy components with @defer",docUrl:"https://angular.dev/guide/defer"},{threshold:150,text:"Use signals for fine-grained reactivity",docUrl:"https://angular.dev/guide/signals"}],jI={avgRenderTime:`Average Render Time
52
-
53
- Formula: Sum of all render times \xF7 Total actions
54
-
55
- How it's measured:
56
- \u2022 Timer starts when action is dispatched
57
- \u2022 Timer ends when afterNextRender() fires
58
- \u2022 afterNextRender() executes after Angular completes change detection and DOM updates
59
-
60
- This represents the average time Angular takes to re-render components after each state change.`,maxRenderTime:`Maximum Render Time
61
-
62
- Formula: Max(all render times)
63
-
64
- The slowest render recorded across all tracked actions. High values indicate specific actions that cause expensive re-renders.
65
-
66
- Target: < 16ms for 60fps, < 32ms acceptable`,totalActions:`Total Actions Tracked
67
-
68
- The number of NgRx actions that triggered a state change and were measured for render performance.
69
-
70
- Only STATE_CHANGE messages with renderPerformance data are counted.`,renderTime:`Render Time
71
-
72
- How it's measured:
73
- 1. Action dispatched \u2192 Timer starts
74
- 2. Reducer executes (state updates)
75
- 3. Angular runs change detection
76
- 4. Components re-render, DOM updates
77
- 5. afterNextRender() fires \u2192 Timer ends
78
-
79
- This captures the full render cycle from action to painted pixels.`,status:`Performance Status
80
-
81
- \u2022 Good (green): \u2264 16ms - Within 60fps frame budget
82
- \u2022 Warning (yellow): 16-32ms - May cause occasional jank
83
- \u2022 Critical (red): > 32ms - Will cause visible stuttering
84
-
85
- The 16ms budget comes from 1000ms \xF7 60fps = 16.67ms per frame.`};var VI=()=>["action","renderTime","status"],Tj=(t,n)=>n.text;function kj(t,n){t&1&&(p(0,"th",26),b(1,"Action"),g())}function Aj(t,n){if(t&1&&(p(0,"td",27),b(1),g()),t&2){let e=n.$implicit;Z("data-action-type",e.actionType),_(),Ve(" ",e.actionType," ")}}function Rj(t,n){if(t&1&&(p(0,"th",26),b(1," Render Time "),p(2,"mat-icon",28),b(3,"info_outline"),g()()),t&2){let e=S();_(2),W("matTooltip",e.tooltips.renderTime)}}function Oj(t,n){if(t&1&&(p(0,"td",27)(1,"span"),b(2),g()()),t&2){let e=n.$implicit,i=S();_(),bt("color",i.getStatusColor(i.getRenderStatus(e.renderTime))),_(),Ve(" ",i.formatMs(e.renderTime)," ")}}function Pj(t,n){if(t&1&&(p(0,"th",26),b(1," Status "),p(2,"mat-icon",28),b(3,"info_outline"),g()()),t&2){let e=S();_(2),W("matTooltip",e.tooltips.status)}}function Nj(t,n){if(t&1&&(p(0,"td",27)(1,"mat-chip"),b(2),g()()),t&2){let e=n.$implicit,i=S();_(),Qe("status-chip status-"+i.getRenderStatus(e.renderTime)),_(),Ve(" ",i.getRenderStatus(e.renderTime).toUpperCase()," ")}}function Fj(t,n){t&1&&ne(0,"tr",29)}function Lj(t,n){if(t&1&&ne(0,"tr",30),t&2){let e=n.$implicit,i=S();P("highlighted-row",i.isSelectedAction(e.actionType))}}function Bj(t,n){if(t&1&&(p(0,"a",38)(1,"mat-icon"),b(2,"open_in_new"),g(),b(3," Fix Guide "),g()),t&2){let e=S().$implicit;W("href",e.docUrl,Zp)}}function jj(t,n){if(t&1&&(p(0,"mat-list-item",33)(1,"mat-icon",36),b(2,"arrow_right"),g(),p(3,"span",37),b(4),g(),F(5,Bj,4,1,"a",38),g()),t&2){let e=n.$implicit;_(4),Ce(e.text),_(),L(e.docUrl?5:-1)}}function Vj(t,n){if(t&1){let e=$e();p(0,"mat-card",18)(1,"mat-card-header")(2,"mat-icon",31),b(3,"lightbulb"),g(),p(4,"mat-card-title"),b(5,"Optimization Suggestions"),g(),p(6,"mat-card-subtitle"),b(7,"Tips to improve render performance"),g()(),p(8,"mat-card-content")(9,"mat-list",32),Jt(10,jj,6,2,"mat-list-item",33,Tj),g(),ne(12,"mat-divider"),p(13,"div",34)(14,"button",35),ae("click",function(){pe(e);let r=S();return ge(r.openAngularProfiler())}),p(15,"mat-icon"),b(16,"developer_mode"),g(),b(17," Open Angular DevTools "),g()()()()}if(t&2){let e=S();_(10),en(e.getOptimizationTips())}}var Xm=class t{FRAME_BUDGET_MS=16;messages=[];selectedActionType=null;entries=de([]);tooltips=jI;renderStats=Ze(()=>{let n=this.entries();if(!n.length)return{avgRenderTime:0,maxRenderTime:0,totalActions:0};let e=n.map(i=>i.renderTime);return{avgRenderTime:e.reduce((i,r)=>i+r,0)/e.length,maxRenderTime:Math.max(...e),totalActions:n.length}});slowestRenders=Ze(()=>[...this.entries()].sort((n,e)=>e.renderTime-n.renderTime).slice(0,10));ngOnChanges(n){n.messages&&this.processMessages(),n.selectedActionType&&this.selectedActionType&&this.scrollToAction(this.selectedActionType)}processMessages(){let n=this.messages.filter(e=>e.type==="STATE_CHANGE"&&!!e.renderPerformance).map(e=>({actionType:e.action.type,renderTime:e.renderPerformance.renderTime}));this.entries.set(n)}scrollToAction(n){setTimeout(()=>{document.querySelector(`[data-action-type="${n}"]`)?.scrollIntoView({behavior:"smooth",block:"center"})},100)}formatMs(n){return`${n.toFixed(2)}ms`}getRenderStatus(n){return n<=this.FRAME_BUDGET_MS?"good":n<=this.FRAME_BUDGET_MS*2?"warning":"critical"}getStatusColor(n){return LI[n]}hasPerformanceIssues(){return this.renderStats().maxRenderTime>this.FRAME_BUDGET_MS}openAngularProfiler(){window.open("https://angular.dev/tools/devtools","_blank")}getOptimizationTips(){let{maxRenderTime:n}=this.renderStats(),e=BI.filter(i=>n>i.threshold).map(({text:i,docUrl:r})=>({text:i,docUrl:r}));return e.length?e:[{text:"Performance looks good!"}]}isSelectedAction(n){return this.selectedActionType===n}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-performance-panel"]],inputs:{messages:"messages",selectedActionType:"selectedActionType"},features:[Pe],decls:80,vars:16,consts:[[1,"performance-panel"],[1,"overview-card"],["mat-card-avatar",""],[1,"stats-grid"],["appearance","outlined","matTooltipClass","metric-tooltip",1,"stat-card",3,"matTooltip"],[1,"stat-label"],[1,"info-icon"],[1,"stat-value","mat-headline-4"],[1,"stat-subtitle","mat-body-small"],[1,"table-card"],["mat-table","",1,"renders-table",3,"dataSource"],["matColumnDef","action"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","renderTime"],["matColumnDef","status"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"highlighted-row",4,"matRowDef","matRowDefColumns"],[1,"suggestions-card"],[1,"info-card"],[1,"threshold-info"],[1,"status-legend"],[1,"legend-item","status-good"],[1,"legend-dot"],[1,"legend-item","status-warning"],[1,"legend-item","status-critical"],["mat-header-cell",""],["mat-cell",""],["matTooltipClass","metric-tooltip","matTooltipPosition","above",1,"header-info-icon",3,"matTooltip"],["mat-header-row",""],["mat-row",""],["mat-card-avatar","",1,"warning-icon"],[1,"tips-list"],[1,"tip-item"],[1,"action-buttons"],["mat-raised-button","","color","primary",3,"click"],["matListItemIcon","",1,"tip-icon"],["matListItemTitle",""],["mat-stroked-button","","target","_blank","matListItemMeta","",1,"doc-link",3,"href"]],template:function(e,i){e&1&&(p(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"mat-icon",2),b(4,"speed"),g(),p(5,"mat-card-title"),b(6,"Component Render Time"),g(),p(7,"mat-card-subtitle"),b(8,"Measured using afterNextRender"),g()(),p(9,"mat-card-content")(10,"div",3)(11,"mat-card",4)(12,"mat-card-content")(13,"div",5),b(14," Avg Render Time "),p(15,"mat-icon",6),b(16,"info_outline"),g()(),p(17,"div",7),b(18),g(),p(19,"div",8),b(20,"Per Action"),g()()(),p(21,"mat-card",4)(22,"mat-card-content")(23,"div",5),b(24," Max Render Time "),p(25,"mat-icon",6),b(26,"info_outline"),g()(),p(27,"div",7),b(28),g(),p(29,"div",8),b(30,"Worst Case"),g()()(),p(31,"mat-card",4)(32,"mat-card-content")(33,"div",5),b(34," Total Actions "),p(35,"mat-icon",6),b(36,"info_outline"),g()(),p(37,"div",7),b(38),g(),p(39,"div",8),b(40,"Tracked"),g()()()()()(),p(41,"mat-card",9)(42,"mat-card-header")(43,"mat-icon",2),b(44,"hourglass_empty"),g(),p(45,"mat-card-title"),b(46,"Slowest Renders"),g()(),p(47,"mat-card-content")(48,"table",10),bi(49,11),Ie(50,kj,2,0,"th",12)(51,Aj,2,2,"td",13),yi(),bi(52,14),Ie(53,Rj,4,1,"th",12)(54,Oj,3,3,"td",13),yi(),bi(55,15),Ie(56,Pj,4,1,"th",12)(57,Nj,3,3,"td",13),yi(),Ie(58,Fj,1,0,"tr",16)(59,Lj,1,2,"tr",17),g()()(),F(60,Vj,18,0,"mat-card",18),p(61,"mat-card",19)(62,"mat-card-content")(63,"div",20)(64,"mat-icon"),b(65,"info"),g(),p(66,"div")(67,"strong"),b(68,"Performance Target:"),g(),b(69," < 16ms render time (60 FPS) "),p(70,"div",21)(71,"span",22),ne(72,"span",23),b(73,"Good (\u2264 16ms)"),g(),p(74,"span",24),ne(75,"span",23),b(76,"Warning (16-32ms)"),g(),p(77,"span",25),ne(78,"span",23),b(79,"Critical (> 32ms)"),g()()()()()()()),e&2&&(_(11),W("matTooltip",i.tooltips.avgRenderTime),_(6),bt("color",i.getStatusColor(i.getRenderStatus(i.renderStats().avgRenderTime))),_(),Ve(" ",i.formatMs(i.renderStats().avgRenderTime)," "),_(3),W("matTooltip",i.tooltips.maxRenderTime),_(6),bt("color",i.getStatusColor(i.getRenderStatus(i.renderStats().maxRenderTime))),_(),Ve(" ",i.formatMs(i.renderStats().maxRenderTime)," "),_(3),W("matTooltip",i.tooltips.totalActions),_(7),Ce(i.renderStats().totalActions),_(10),W("dataSource",i.slowestRenders()),_(10),W("matHeaderRowDef",Kd(14,VI)),_(),W("matRowDefColumns",Kd(15,VI)),_(),L(i.hasPerformanceIssues()?60:-1))},dependencies:[wa,QD,JD,YD,XD,KD,ZD,Ca,ya,TI,bI,CI,EI,wI,yI,MI,xI,DI,II,SI,sr,Nm,ar,Si,Ym,FI,Ra,eM,tM,fv,ev,uv,mv,Km,Ku],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.performance-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;padding:12px;width:90%;margin:20px auto 0}.performance-panel[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{box-shadow:var(--mat-sys-level1, 0 2px 4px rgba(0, 0, 0, .1));transition:box-shadow .3s ease;background:var(--mat-sys-surface)}.performance-panel[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]:hover{box-shadow:var(--mat-sys-level2, 0 4px 8px rgba(0, 0, 0, .15))}.performance-panel[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{margin-bottom:16px}.performance-panel[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{font-size:40px;width:40px;height:40px}.performance-panel[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{font:var(--mat-sys-title-medium)}.performance-panel[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{font:var(--mat-sys-body-medium);color:var(--mat-sys-on-surface-variant);margin-top:4px}.suggestions-card[_ngcontent-%COMP%]{border-left:4px solid #ff9800!important;background:#ff98001a}.suggestions-card[_ngcontent-%COMP%] .warning-icon[_ngcontent-%COMP%]{color:#ff9800}.suggestions-card[_ngcontent-%COMP%] .tips-list[_ngcontent-%COMP%]{padding-top:0}.suggestions-card[_ngcontent-%COMP%] .tips-list[_ngcontent-%COMP%] .tip-item[_ngcontent-%COMP%] .tip-icon[_ngcontent-%COMP%]{color:#ff9800}.suggestions-card[_ngcontent-%COMP%] .tips-list[_ngcontent-%COMP%] .tip-item[_ngcontent-%COMP%] .doc-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;margin-right:4px}.suggestions-card[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin:16px 0}.suggestions-card[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap;padding-top:16px}.suggestions-card[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}.stats-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:8px 0}.stat-card[_ngcontent-%COMP%]{text-align:center;cursor:help;transition:transform .2s ease,box-shadow .2s ease}.stat-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:var(--mat-sys-level2, 0 4px 8px rgba(0, 0, 0, .15))}.stat-card[_ngcontent-%COMP%]{border-left:4px solid var(--mat-sys-primary);--mat-card-content-padding: 16px}.stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:16px}.stat-card[_ngcontent-%COMP%] .stat-label[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-weight:500;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:4px}.stat-card[_ngcontent-%COMP%] .stat-label[_ngcontent-%COMP%] .info-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px;opacity:.5;transition:opacity .2s ease}.stat-card[_ngcontent-%COMP%]:hover .info-icon[_ngcontent-%COMP%]{opacity:1}.stat-card[_ngcontent-%COMP%] .stat-value[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-weight:600;font-size:1.25rem;line-height:1;margin-bottom:4px}.stat-card[_ngcontent-%COMP%] .stat-value-text[_ngcontent-%COMP%]{font-weight:600;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card[_ngcontent-%COMP%] .stat-subtitle[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);margin-top:4px}.renders-table[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%]{width:100%;background:transparent}.renders-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font:var(--mat-sys-label-small);font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--mat-sys-on-surface-variant)}.renders-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;padding:12px 16px}.renders-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover, .components-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:var(--mat-sys-surface-container-low)}.renders-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{cursor:help}.renders-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] .header-info-icon[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] .header-info-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px;opacity:.5;transition:opacity .2s ease;vertical-align:middle;margin-left:4px}.renders-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:hover .header-info-icon[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:hover .header-info-icon[_ngcontent-%COMP%]{opacity:1}.renders-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:600}.renders-table[_ngcontent-%COMP%] .highlighted-row[_ngcontent-%COMP%], .components-table[_ngcontent-%COMP%] .highlighted-row[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_highlightFade 3s ease-out forwards;border-left:4px solid var(--mat-sys-tertiary)}.renders-table[_ngcontent-%COMP%] .highlighted-row[_ngcontent-%COMP%]:hover, .components-table[_ngcontent-%COMP%] .highlighted-row[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--mat-sys-tertiary) 10%,transparent)!important}@keyframes _ngcontent-%COMP%_highlightFade{0%{background:color-mix(in srgb,var(--mat-sys-tertiary) 40%,transparent);transform:scale(1.02)}15%{background:color-mix(in srgb,var(--mat-sys-tertiary) 35%,transparent)}30%{background:color-mix(in srgb,var(--mat-sys-tertiary) 25%,transparent);transform:scale(1)}to{background:transparent;border-left-color:transparent}}.status-chip[_ngcontent-%COMP%]{font-weight:700!important;letter-spacing:.5px}.status-chip.status-good[_ngcontent-%COMP%]{--mat-chip-label-text-color: white;--mat-chip-elevated-container-color: #4caf50}.status-chip.status-warning[_ngcontent-%COMP%]{--mat-chip-label-text-color: white;--mat-chip-elevated-container-color: #ff9800}.status-chip.status-critical[_ngcontent-%COMP%]{--mat-chip-label-text-color: white;--mat-chip-elevated-container-color: #f44336}.info-card[_ngcontent-%COMP%]{background:#2196f31a}.threshold-info[_ngcontent-%COMP%]{display:flex;gap:12px;align-items:flex-start}.threshold-info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--mat-sys-primary);font-size:20px;width:20px;height:20px}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%]{display:flex;gap:16px;margin-top:8px;flex-wrap:wrap}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%] .legend-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font:var(--mat-sys-body-small);color:var(--mat-sys-on-surface)}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%] .legend-item[_ngcontent-%COMP%] .legend-dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:var(--mat-sys-corner-full, 50%);display:inline-block;flex-shrink:0}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%] .legend-item.status-good[_ngcontent-%COMP%] .legend-dot[_ngcontent-%COMP%]{background:#4caf50}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%] .legend-item.status-warning[_ngcontent-%COMP%] .legend-dot[_ngcontent-%COMP%]{background:#ff9800}.threshold-info[_ngcontent-%COMP%] .status-legend[_ngcontent-%COMP%] .legend-item.status-critical[_ngcontent-%COMP%] .legend-dot[_ngcontent-%COMP%]{background:#f44336}.overview-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%], .table-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.suggestions-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{color:#ff9800}.performance-badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 12px;border-radius:var(--mat-sys-corner-full, 50%);font:var(--mat-sys-label-small);font-weight:700;letter-spacing:.5px}.performance-badge[data-score=EXCELLENT][_ngcontent-%COMP%]{background:#4caf50;color:#fff}.performance-badge[data-score=GOOD][_ngcontent-%COMP%]{background:#8bc34a;color:#fff}.performance-badge[data-score=FAIR][_ngcontent-%COMP%]{background:#ffc107;color:var(--mat-sys-on-surface)}.performance-badge[data-score=POOR][_ngcontent-%COMP%]{background:#ff9800;color:#fff}.performance-badge[data-score=CRITICAL][_ngcontent-%COMP%]{background:#f44336;color:#fff}.metrics-table[_ngcontent-%COMP%]{width:100%}.metrics-table[_ngcontent-%COMP%] .value-cell[_ngcontent-%COMP%], .metrics-table[_ngcontent-%COMP%] .threshold-cell[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font:var(--mat-sys-body-small)}.impact-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{color:#ff9800}.action-name[_ngcontent-%COMP%]{margin-left:8px;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font:var(--mat-sys-body-small)}.component-count[_ngcontent-%COMP%]{margin-left:8px;font:var(--mat-sys-label-small);color:var(--mat-sys-on-surface-variant)}.impact-details[_ngcontent-%COMP%]{padding:16px 0}.factors-section[_ngcontent-%COMP%], .recommendations-section[_ngcontent-%COMP%]{margin-bottom:16px}.factors-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .recommendations-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:var(--mat-sys-label-small);font-weight:600;margin:0 0 8px;text-transform:uppercase;color:var(--mat-sys-on-surface-variant);letter-spacing:.5px}.factors-section[_ngcontent-%COMP%] mat-list[_ngcontent-%COMP%], .recommendations-section[_ngcontent-%COMP%] mat-list[_ngcontent-%COMP%]{padding-top:0}.factor-details[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font:var(--mat-sys-label-small);color:var(--mat-sys-on-surface-variant)}.impact-score[_ngcontent-%COMP%]{color:#ff9800;font-weight:600;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.warnings-card[_ngcontent-%COMP%]{border-left:4px solid #f44336!important}.warnings-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{color:#f44336}.warnings-card[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{margin-top:8px}.severity-high[_ngcontent-%COMP%]{--mat-chip-label-text-color: white;--mat-chip-elevated-container-color: #f44336}.severity-medium[_ngcontent-%COMP%]{--mat-chip-label-text-color: white;--mat-chip-elevated-container-color: #ff9800}.severity-low[_ngcontent-%COMP%]{--mat-chip-label-text-color: var(--mat-sys-on-surface);--mat-chip-elevated-container-color: #ffc107}.warning-counts[_ngcontent-%COMP%]{display:flex;gap:8px;margin-top:8px}.warning-type[_ngcontent-%COMP%]{margin-left:8px;font-weight:500;text-transform:capitalize}.warning-content[_ngcontent-%COMP%]{padding:8px 0}.warning-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px;line-height:1.6}.suggestion-box[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;padding:12px;background:#4caf501a;border-radius:var(--mat-sys-corner-extra-small, 4px);border-left:3px solid #4caf50}.suggestion-box[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#4caf50;font-size:20px;width:20px;height:20px}.suggestion-box[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1;font:var(--mat-sys-body-small);line-height:1.5}.slowest-card[_ngcontent-%COMP%] mat-icon[mat-card-avatar][_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.rank-badge[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:var(--mat-sys-corner-full, 50%);background:var(--mat-sys-primary);color:var(--mat-sys-on-primary);display:flex;align-items:center;justify-content:center;font-weight:700;font:var(--mat-sys-body-medium);box-shadow:var(--mat-sys-level1, 0 2px 4px rgba(0, 0, 0, .1))}.execution-time[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-weight:600;font:var(--mat-sys-body-medium);color:#ff9800}.no-data-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px!important;text-align:center}.no-data-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:80px;width:80px;height:80px;opacity:.3;margin-bottom:16px}.no-data-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 8px;font:var(--mat-sys-title-medium)}.no-data-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font:var(--mat-sys-body-medium);color:var(--mat-sys-on-surface-variant)}"]})};var HI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=z({type:t});static \u0275inj=V({imports:[ue]})}return t})();function Hj(t,n){if(t&1&&(p(0,"span",8)(1,"mat-icon"),b(2,"bolt"),g(),b(3),p(4,"span",9),b(5),g()()),t&2){let e=n.$implicit,i=S(2);_(3),Ve(" ",e," "),_(2),Ve("(",i.getEffectCount(e),")")}}function zj(t,n){if(t&1&&(p(0,"div",3)(1,"h3")(2,"mat-icon"),b(3,"bolt"),g(),b(4," Registered Effects"),g(),p(5,"div",7),Jt(6,Hj,6,2,"span",8,Qi),g()()),t&2){let e=S();_(6),en(e.uniqueEffects())}}function Uj(t,n){t&1&&(p(0,"div",5)(1,"mat-icon"),b(2,"bolt"),g(),p(3,"p"),b(4,"No effect executions yet"),g(),p(5,"span"),b(6,"Effect events will appear here when effects run"),g()())}function $j(t,n){t&1&&(p(0,"mat-icon",10),b(1,"error"),g())}function Wj(t,n){t&1&&(p(0,"mat-icon",11),b(1,"play_circle"),g())}function Gj(t,n){if(t&1&&(p(0,"span",13),b(1),g()),t&2){let e=S().$implicit;W("matTooltip",e.emittedAction),_(),Ve(" \u2192 ",e.emittedAction," ")}}function qj(t,n){t&1&&(p(0,"span",14),b(1,"(no dispatch)"),g())}function Qj(t,n){if(t&1&&(p(0,"div",17)(1,"span",18),b(2,"Emitted Action:"),g(),p(3,"span",21),b(4),g()()),t&2){let e=S().$implicit;_(4),Ce(e.emittedAction)}}function Zj(t,n){if(t&1&&(p(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title"),F(3,$j,2,0,"mat-icon",10)(4,Wj,2,0,"mat-icon",11),p(5,"span",12),b(6),g(),F(7,Gj,2,2,"span",13)(8,qj,2,0,"span",14),g(),p(9,"mat-panel-description")(10,"span",15),b(11),ea(12,"date"),g()()(),p(13,"div",16)(14,"div",17)(15,"span",18),b(16,"Effect Class:"),g(),p(17,"span",19),b(18),g()(),p(19,"div",17)(20,"span",18),b(21,"Property:"),g(),p(22,"span",19),b(23),g()(),F(24,Qj,5,1,"div",17),p(25,"div",17)(26,"span",18),b(27,"Status:"),g(),p(28,"span",20),b(29),g()(),p(30,"div",17)(31,"span",18),b(32,"Time:"),g(),p(33,"span",19),b(34),ea(35,"date"),g()()()()),t&2){let e=n.$implicit;P("effect-action",!0)("error-effect",e.status==="error")("side-effect-action",e.status==="executed"),_(3),L(e.status==="error"?3:e.status==="executed"?4:-1),_(3),Ce(e.effectName),_(),L(e.emittedAction?7:e.status==="executed"?8:-1),_(4),Ce(ta(12,17,e.endTime,"medium")),_(7),Ce(e.sourceName),_(5),Ce(e.propertyName),_(),L(e.emittedAction?24:-1),_(4),Qe(e.status),_(),Ve(" ",e.status," "),_(5),Ce(ta(35,20,e.endTime,"medium"))}}var Jm=class t{set effectEvents(n){this._effectEvents.set(n||[])}_effectEvents=de([]);effectExecutions=Ze(()=>{let n=this._effectEvents(),e=[];for(let r of n){if(!r.effectEvent)continue;let{name:o,lifecycle:a,duration:s,executionId:c}=r.effectEvent,[l,d]=o.split("."),m=s||0;if(a!=="emitted"&&a!=="executed"&&a!=="error")continue;let h={effectName:o,sourceName:l||"Unknown",propertyName:d||"unknown",startTime:new Date(new Date(r.timestamp).getTime()-m),endTime:new Date(r.timestamp),duration:m,executionId:c},f={emitted:{status:"completed",emittedAction:r.action,dispatch:!0},executed:{status:"executed",dispatch:!1},error:{status:"error"}};e.push(C(C({},h),f[a]))}let i=e.reverse();return{running:[],completed:i,all:i}});stats=Ze(()=>{let n=this.effectExecutions(),e=new Map;for(let i of n.all){let r=e.get(i.effectName)||0;e.set(i.effectName,r+1)}return{byEffect:Array.from(e.entries()).map(([i,r])=>({name:i,count:r}))}});uniqueEffects=Ze(()=>{let n=this._effectEvents(),e=new Set;for(let i of n)i.effectEvent?.name&&e.add(i.effectEvent.name);return Array.from(e)});getStatusIcon(n){switch(n){case"completed":return"check_circle";case"executed":return"play_circle";case"error":return"error";default:return"help"}}getStatusColor(n){switch(n){case"completed":return"accent";case"executed":return"primary";case"error":return"warn";default:return""}}getEffectCount(n){return this.stats().byEffect.find(r=>r.name===n)?.count||0}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-effects-panel"]],inputs:{effectEvents:"effectEvents"},decls:9,vars:2,consts:[[1,"container"],[1,"actions-container"],["matSubheader",""],[1,"effects-summary"],[1,"actions"],[1,"empty-state"],[3,"effect-action","error-effect","side-effect-action"],[1,"effect-chips"],[1,"effect-chip"],[1,"chip-count"],[1,"action-icon","error-icon"],[1,"action-icon","side-effect-icon"],[1,"action-type"],[1,"emitted-action-text",3,"matTooltip"],[1,"no-dispatch-badge"],[1,"timestamp"],[1,"execution-details"],[1,"detail-row"],[1,"detail-label"],[1,"detail-value"],[1,"detail-value","status-value"],[1,"detail-value","emitted-action"]],template:function(e,i){e&1&&(p(0,"div",0)(1,"div",1)(2,"h2",2),b(3,"Effect Executions"),g(),F(4,zj,8,0,"div",3),p(5,"div",4),F(6,Uj,7,0,"div",5),Jt(7,Zj,36,23,"mat-expansion-panel",6,Dg),g()()()),e&2&&(_(4),L(i.uniqueEffects().length>0?4:-1),_(2),L(i.effectExecutions().completed.length===0?6:-1),_(),en(i.effectExecutions().completed))},dependencies:[ia,wa,Ca,ya,Ra,pm,Ym,ar,Si,jm,Uc,Fm,Bm,Lm,HI,Km,Hm,Js],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:100%;justify-content:center;align-items:flex-start;padding:12px}.actions-container[_ngcontent-%COMP%]{padding:12px;width:90%;margin-top:20px}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.effects-summary[_ngcontent-%COMP%]{margin-bottom:24px}.effects-summary[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;color:var(--mat-sys-on-surface);margin-bottom:12px;font-size:1rem;font-weight:500}.effects-summary[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#ff9800}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background:#ff980026;color:#ff9800;padding:4px 12px;border-radius:var(--mat-sys-corner-large, 16px);font-size:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.effects-summary[_ngcontent-%COMP%] .effect-chips[_ngcontent-%COMP%] .effect-chip[_ngcontent-%COMP%] .chip-count[_ngcontent-%COMP%]{opacity:.7}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:48px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-small, 8px);color:var(--mat-sys-on-surface-variant)}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:var(--mat-sys-on-surface-variant);margin-bottom:16px;opacity:.5}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--mat-sys-on-surface);margin:0 0 8px}.empty-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.85rem}.effect-action[_ngcontent-%COMP%]{border-left:4px solid #ff9800!important}.error-effect[_ngcontent-%COMP%]{border-left:4px solid #f44336!important}.side-effect-action[_ngcontent-%COMP%]{border-left:4px solid #9c27b0!important}.action-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;margin-right:8px}.action-icon.effect-icon[_ngcontent-%COMP%]{color:#81c784}.action-icon.error-icon[_ngcontent-%COMP%]{color:#f44336}.action-icon.side-effect-icon[_ngcontent-%COMP%]{color:#9c27b0}.no-dispatch-badge[_ngcontent-%COMP%]{font-size:11px;color:#9c27b0;margin-left:8px;opacity:.8}.spinning[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}mat-panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;overflow:visible!important}mat-panel-title[_ngcontent-%COMP%] .action-type[_ngcontent-%COMP%]{font-weight:500}.emitted-action-text[_ngcontent-%COMP%]{color:#81c784;font-size:var(--mat-sys-body-small);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.status-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;margin-right:12px}.status-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.status-badge.running[_ngcontent-%COMP%]{background-color:#2196f326;color:#64b5f6}.status-badge.running[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}.timestamp[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-size:var(--mat-sys-body-small)}.execution-details[_ngcontent-%COMP%]{padding:16px}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%]{display:flex;padding:8px 0;border-bottom:1px solid var(--mat-sys-outline-variant)}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-label[_ngcontent-%COMP%]{width:140px;color:var(--mat-sys-on-surface-variant);font-size:.85rem}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface);font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.trigger-action[_ngcontent-%COMP%]{color:#2196f3}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.emitted-action[_ngcontent-%COMP%]{color:#81c784}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value[_ngcontent-%COMP%]{text-transform:capitalize;font-weight:500}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.completed[_ngcontent-%COMP%]{color:#81c784}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.error[_ngcontent-%COMP%]{color:#f44336}.execution-details[_ngcontent-%COMP%] .detail-row[_ngcontent-%COMP%] .detail-value.status-value.running[_ngcontent-%COMP%]{color:#64b5f6}.lifecycle-events[_ngcontent-%COMP%]{padding:16px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-extra-small, 4px);margin-bottom:4px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-started[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#64b5f6}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-started[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#64b5f6}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-emitted[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#81c784}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-emitted[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#81c784}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#f44336}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-error[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:#f44336}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-complete[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.lifecycle-events[_ngcontent-%COMP%] .event-item.lifecycle-complete[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-lifecycle[_ngcontent-%COMP%]{font-weight:500;text-transform:capitalize;min-width:70px}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-action[_ngcontent-%COMP%]{color:#81c784;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem}.lifecycle-events[_ngcontent-%COMP%] .event-item[_ngcontent-%COMP%] .event-time[_ngcontent-%COMP%]{margin-left:auto;color:var(--mat-sys-on-surface-variant);font-size:.8rem}"]})};var Yj=(t,n)=>n.timestamp;function Kj(t,n){if(t&1&&(p(0,"span",23),b(1),g()),t&2){let e=S(2);_(),Ce(e.importedSessionName())}}function Xj(t,n){if(t&1&&(p(0,"span",8)(1,"mat-icon"),b(2,"history"),g(),b(3," Imported Session "),F(4,Kj,2,1,"span",23),g()),t&2){let e=S();_(4),L(e.importedSessionName()?4:-1)}}function Jj(t,n){if(t&1&&(p(0,"span",24),b(1),g()),t&2){let e=S(2);_(),Ce(e.messages().length)}}function eV(t,n){if(t&1&&(p(0,"mat-icon"),b(1,"list_alt"),g(),p(2,"span"),b(3,"Actions"),g(),F(4,Jj,2,1,"span",24)),t&2){let e=S();_(4),L(e.messages().length>0?4:-1)}}function tV(t,n){t&1&&(p(0,"mat-icon",26),b(1,"bolt"),g())}function nV(t,n){t&1&&(p(0,"mat-icon",27),b(1,"person"),g())}function iV(t,n){if(t&1&&(p(0,"span",29)(1,"mat-icon"),b(2,"functions"),g(),b(3),g()),t&2){let e=S(2).$implicit;W("matTooltip","Emitted by effect: "+e.effectName),_(3),Ve(" ",e.effectName," ")}}function rV(t,n){if(t&1&&(p(0,"mat-icon",31),b(1,"warning"),g()),t&2){let e=S(2).$implicit;W("matTooltip",e.performance.warnings.length+" performance warning(s)")}}function oV(t,n){if(t&1&&ne(0,"app-diff-viewer",38),t&2){let e=S(2).$implicit;W("previousState",e.prevState)("currentState",e.nextState)}}function aV(t,n){t&1&&ne(0,"mat-spinner",39)}function sV(t,n){t&1&&(p(0,"div"),b(1,"Click to load diff..."),g())}function cV(t,n){if(t&1){let e=$e();p(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title"),F(3,tV,2,0,"mat-icon",26)(4,nV,2,0,"mat-icon",27),p(5,"span",28),b(6),g(),F(7,iV,4,2,"span",29),g(),p(8,"mat-panel-description")(9,"button",30),ae("click",function(r){pe(e);let o=S().$implicit;return S().navigateToPerformance(o.action.type),ge(r.stopPropagation())}),p(10,"mat-icon"),b(11,"speed"),g()(),F(12,rV,2,1,"mat-icon",31),p(13,"span",32),b(14),ea(15,"date"),g()()(),p(16,"mat-tab-group",33),ae("selectedTabChange",function(r){pe(e);let o=S().$implicit,a=S();return ge(a.onTabChange(r,o))}),p(17,"mat-tab",34),ne(18,"app-json-tree",35),g(),p(19,"mat-tab",36),ne(20,"app-json-tree",35),g(),p(21,"mat-tab",37),F(22,oV,1,2,"app-diff-viewer",38)(23,aV,1,0,"mat-spinner",39)(24,sV,2,0,"div"),g()()()}if(t&2){let e=S().$implicit;P("effect-action",e.isEffectResult)("user-action",!e.isEffectResult),_(3),L(e.isEffectResult?3:4),_(3),Ce(e.action.type||"[Unknown Action]"),_(),L(e.effectName?7:-1),_(5),L(e.performance&&e.performance.warnings&&e.performance.warnings.length>0?12:-1),_(2),Ce(ta(15,12,e.timestamp,"medium")),_(4),W("jsonData",e.action),_(2),W("jsonData",e.nextState),_(2),L(e.diffLoaded?22:e.diffLoading?23:24)}}function lV(t,n){if(t&1&&F(0,cV,25,15,"mat-expansion-panel",25),t&2){let e=n.$implicit;L(e.action.type?0:-1)}}function dV(t,n){t&1&&(p(0,"div",20)(1,"mat-icon"),b(2,"list_alt"),g(),p(3,"p"),b(4,"No actions dispatched yet"),g(),p(5,"span"),b(6,"Actions will appear here when they are dispatched"),g()())}function uV(t,n){t&1&&(p(0,"mat-icon",40),b(1,"warning"),g())}function mV(t,n){if(t&1&&(p(0,"mat-icon"),b(1,"speed"),g(),p(2,"span"),b(3,"Performance"),g(),F(4,uV,2,0,"mat-icon",40)),t&2){let e=S();_(4),L(e.hasPerformanceWarnings()?4:-1)}}function fV(t,n){if(t&1&&(p(0,"span",24),b(1),g()),t&2){let e=S(2);_(),Ce(e.effectExecutionsCount())}}function hV(t,n){if(t&1&&(p(0,"mat-icon"),b(1,"bolt"),g(),p(2,"span"),b(3,"Effects"),g(),F(4,fV,2,1,"span",24)),t&2){let e=S();_(4),L(e.effectExecutionsCount()>0?4:-1)}}var ef=class t{title="ngrx-devtool-ui";messages=de([]);effectEvents=de([]);renderTimings=de(new Map);selectedActionType=de(null);isImportedSession=de(!1);importedSessionName=de(null);tabGroup;effectExecutionsCount=Ze(()=>this.effectEvents().filter(e=>e.effectEvent?.lifecycle==="emitted").length);messagesWithPrevState=Ze(()=>{let n=this.messages(),e=this.renderTimings(),i=this.effectEvents(),r=new Map;for(let o of i)o.effectEvent?.lifecycle==="emitted"&&o.action&&r.set(o.action,o.effectName||o.effectEvent.name);return n.map((o,a)=>{let s=a>0?n[a-1].nextState:void 0,c=o.timestamp?e.get(o.timestamp):void 0,l=o.action?.type,d=l?r.get(l):void 0,m=o.isEffectResult||!!d;return ie(C({},o),{prevState:s,renderTiming:c,effectName:d||o.effectName,isEffectResult:m})})});hasPerformanceWarnings=Ze(()=>this.messages().some(e=>(e.performance?.warnings?.length??0)>0));subscription;_webSocketService=u(Bu);_sessionService=u(ju);_snackBar=u(Gv);ngOnInit(){this._webSocketService.connect("ws://localhost:4000"),this.subscription=this._webSocketService.messages$?.subscribe(n=>{n&&this.handleWebSocketMessage(n)})}ngOnDestroy(){this._webSocketService.close(),this.subscription?.unsubscribe()}onTabChange(n,e){n.index===2&&!e.diffLoaded&&!e.diffLoading&&(e.diffLoading=!0,setTimeout(()=>{e.diffLoaded=!0,e.diffLoading=!1},0))}formatBytes(n){if(n===void 0||n===0)return"0 B";let e=1024,i=["B","KB","MB","GB"],r=Math.floor(Math.log(Math.abs(n))/Math.log(e));return`${(n/Math.pow(e,r)).toFixed(2)} ${i[r]}`}navigateToPerformance(n){this.selectedActionType.set(n),this.tabGroup.selectedIndex=1}exportSession(){let n=this.messages();if(n.length===0){this._snackBar.open("No session data to export","Close",{duration:3e3});return}this._sessionService.exportSession(n,this.effectEvents(),this.renderTimings()),this._snackBar.open("Session exported successfully","Close",{duration:3e3})}importSession(){return xe(this,null,function*(){try{let n=yield this._sessionService.importSession();this.messages.set([...n.messages]),this.effectEvents.set([...n.effectEvents]),this.renderTimings.set(new Map(n.renderTimings)),this.isImportedSession.set(!0),this.importedSessionName.set(n.appName||null),this._webSocketService.close(),this.subscription?.unsubscribe();let e=new Date(n.exportedAt).toLocaleString();this._snackBar.open(`Loaded session from ${e} (${n.messages.length} actions)`,"Close",{duration:5e3})}catch(n){let e=n instanceof Error?n.message:"Failed to import session";e!=="File selection cancelled"&&this._snackBar.open(e,"Close",{duration:3e3})}})}clearSession(){this.subscription?.unsubscribe(),this._webSocketService.send({type:"CLEAR_REQUEST",timestamp:new Date().toISOString()}),this.messages.set([]),this.effectEvents.set([]),this.renderTimings.set(new Map),this.isImportedSession.set(!1),this.importedSessionName.set(null),this._webSocketService.messages$||this._webSocketService.connect("ws://localhost:4000"),this.subscription=this._webSocketService.messages$?.subscribe(n=>{n&&this.handleWebSocketMessage(n)}),this._snackBar.open("Session cleared","Close",{duration:2e3})}handleWebSocketMessage(n){let e=n;if(e.type==="RENDER_TIMING"){let i=n;this.renderTimings.update(r=>{let o=new Map(r),a=this.messages();for(let s=a.length-1;s>=0;s--){let c=a[s];if(c.action?.type===i.actionType&&!c.renderTiming&&c.timestamp){o.set(c.timestamp,i),this.messages.update(l=>{let d=[...l];return d[s]=ie(C({},d[s]),{renderTiming:i}),d});break}}return o})}else e.type==="EFFECT_EVENT"?this.effectEvents.update(i=>[...i,n]):e.type==="STATE_CHANGE"&&this.messages.update(i=>[...i,e])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=R({type:t,selectors:[["app-root"]],viewQuery:function(e,i){if(e&1&&Se(Vm,5),e&2){let r;T(r=k())&&(i.tabGroup=r.first)}},decls:38,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg","id","Layer_1","viewBox","0 0 1920 646","width","120","height","40"],["d","m1648.297,304.2114c-27.093-9.3799-39.0689-15.626-39.0689-29.6889,0-8.8566,5.7298-22.4029,32.8157-22.4029,25.5224,0,52.6083,11.4596,52.6083,11.4596v-39.0689c-11.4597-4.6902-31.7758-9.3729-54.6951-9.3729-39.0691,0-76.5746,20.8325-76.5746,61.9884s37.5056,52.6083,63.0353,60.9484c23.9591,7.8094,40.1087,15.626,40.1087,31.2523,0,13.5465-9.38,23.9592-40.1087,23.9592-26.046,0-57.3055-10.4126-57.3055-10.4126v39.0617s30.2126,8.3401,59.3851,8.3401c38.5527,0,83.8678-13.5465,83.8678-64.0751,0-34.379-28.1257-49.4888-64.068-61.9884Z",1,"cls-1"],["d","m666.3826,427.6644v-212.527h-58.8631l-57.821,158.3555-57.8218-158.3555h-58.863v212.527h40.1102v-160.435l58.3424,160.435h33.859l60.947-160.435v160.435h40.1102Z",1,"cls-1"],["d","m807.0164,215.1374h-77.6137v41.1487c36.9857-1.5635,47.4034-2.0797,63.5509-2.0797,25.5225,0,40.6323,9.3729,40.6323,34.379v16.1495h-40.6323c-68.2387,0-89.0748,27.6093-89.0748,63.5516,0,46.3551,34.3804,61.9884,68.76,61.9884s55.2172-16.1498,61.9869-20.8397v18.2293h44.7987v-145.3324c0-48.9653-26.5623-67.1946-72.4081-67.1946Zm26.5695,167.2119c-11.4597,4.1667-32.2993,11.4598-52.0919,11.4598-18.7528,0-33.8583-8.3331-33.8583-28.6491,0-18.2365,11.4597-27.6093,36.4615-28.6493l49.4888-2.0867v47.9253Z",1,"cls-1"],["d","m1198.2295,251.5959h107.3034v-36.4585h-153.1492v212.527h153.1492v-36.4585h-107.3034v-51.5757h91.1537v-35.9422h-91.1537v-52.092Z",1,"cls-1"],["d","m1526.4073,427.6644v-212.527h-46.8785v161.9985c-11.4597,5.2134-27.6093,13.5465-51.0521,13.5465-29.1726,0-38.022-16.1498-38.022-50.5285v-125.0165h-46.8856v130.7461c0,54.6952,17.713,84.3913,73.4478,84.3913,31.2595,0,46.8857-11.4596,63.5516-20.8397v18.2293h45.8387Z",1,"cls-1"],["d","m1010.1779,215.1374h-84.3841v212.527h84.3841c71.3682,0,107.3106-32.8155,107.3106-108.3432,0-66.1618-39.0689-104.1838-107.3106-104.1838Zm-2.0868,175.545h-35.4188v-138.5628h35.4188c35.426,0,61.472,17.1893,61.472,67.2016,0,47.9183-17.1895,71.3612-61.472,71.3612Z",1,"cls-1"],["d","m309.0293,215.1374h-77.6173v41.1487c36.9843-1.5635,47.4027-2.0797,63.5516-2.0797,25.5239,0,40.6309,9.3729,40.6309,34.379v16.1495h-40.6309c-68.2401,0-89.0769,27.6093-89.0769,63.5516,0,46.3551,34.3804,61.9884,68.7608,61.9884s55.2179-16.1498,61.989-20.8397v18.2293h44.7988v-145.3324c0-48.9653-26.5659-67.1946-72.4059-67.1946Zm26.5652,167.2119c-11.4597,4.1667-32.2964,11.4598-52.0912,11.4598-18.7528,0-33.8598-8.3331-33.8598-28.6491,0-18.2365,11.4597-27.6093,36.4636-28.6493l49.4873-2.0867v47.9253Z",1,"cls-1"],[1,"imported-badge"],[1,"toolbar-spacer"],["mat-icon-button","","matTooltip","Export Session",3,"click"],["mat-icon-button","","matTooltip","Import Session",3,"click"],["mat-icon-button","","matTooltip","Clear Session",3,"click"],["fontIcon","help"],[1,"main-tabs"],["mat-tab-label",""],[1,"container"],[1,"actions-container"],["matSubheader",""],[1,"actions"],[1,"empty-state"],[3,"messages","selectedActionType"],[3,"effectEvents"],[1,"session-name"],[1,"tab-badge"],[3,"effect-action","user-action"],[1,"action-icon","effect-icon"],[1,"action-icon","user-icon"],[1,"action-type"],[1,"effect-source-badge",3,"matTooltip"],["mat-icon-button","","matTooltip","View in Performance Panel",1,"perf-link-btn",3,"click"],[1,"perf-warning-icon",3,"matTooltip"],[1,"timestamp"],[3,"selectedTabChange"],["label","Action"],[3,"jsonData"],["label","State"],["label","Diff"],[3,"previousState","currentState"],["diameter","30"],[1,"tab-warning-icon"]],template:function(e,i){e&1&&(p(0,"mat-toolbar"),xt(),p(1,"svg",0),ne(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4)(6,"path",5)(7,"path",6)(8,"path",7),g(),F(9,Xj,5,1,"span",8),hi(),ne(10,"span",9),p(11,"button",10),ae("click",function(){return i.exportSession()}),p(12,"mat-icon"),b(13,"save"),g()(),p(14,"button",11),ae("click",function(){return i.importSession()}),p(15,"mat-icon"),b(16,"folder_open"),g()(),p(17,"button",12),ae("click",function(){return i.clearSession()}),p(18,"mat-icon"),b(19,"delete_sweep"),g()(),ne(20,"mat-icon",13),g(),p(21,"mat-tab-group",14)(22,"mat-tab"),Ie(23,eV,5,1,"ng-template",15),p(24,"div",16)(25,"div",17)(26,"h2",18),b(27,"Dispatched Actions"),g(),p(28,"div",19),Jt(29,lV,1,1,null,null,Yj,!1,dV,7,0,"div",20),g()()()(),p(32,"mat-tab"),Ie(33,mV,5,1,"ng-template",15),ne(34,"app-performance-panel",21),g(),p(35,"mat-tab"),Ie(36,hV,5,1,"ng-template",15),ne(37,"app-effects-panel",22),g()()),e&2&&(_(9),L(i.isImportedSession()?9:-1),_(20),en(i.messagesWithPrevState()),_(5),W("messages",i.messages())("selectedActionType",i.selectedActionType()),_(3),W("effectEvents",i.effectEvents()))},dependencies:[VD,jD,Ca,ya,wa,Ra,pm,GM,jm,Uc,Fm,Bm,Lm,Hm,zv,Uv,Vm,cI,sI,ar,Si,sr,zc,uI,zm,$m,Xm,Jm,Js],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{display:block;height:100vh;overflow:hidden}.main-tabs[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:calc(100vh - 64px);margin-top:64px}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-header{position:sticky;top:0;z-index:200;background:var(--mat-sys-surface)}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-body-wrapper{flex:1;overflow:auto}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab-labels[_ngcontent-%COMP%]{background:var(--mat-sys-surface)}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}.main-tabs[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:8px}.tab-badge[_ngcontent-%COMP%]{background:#673ab7;color:#fff;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;margin-left:4px}.tab-badge.running[_ngcontent-%COMP%]{background:#64b5f6;animation:_ngcontent-%COMP%_pulse 1.5s infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{opacity:1}50%{opacity:.6}}.tab-warning-icon[_ngcontent-%COMP%]{color:#ff9800;font-size:18px;width:18px;height:18px;margin-left:4px}.container[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:100%;justify-content:center;align-items:flex-start;padding:12px}.actions-container[_ngcontent-%COMP%]{padding:12px;width:90%;margin-top:20px}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}mat-toolbar[_ngcontent-%COMP%]{background-color:var(--mat-sys-primary-container);color:var(--mat-sys-on-primary-container);position:fixed;top:0;left:0;right:0;z-index:1000;gap:8px}mat-toolbar[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container)}mat-toolbar[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]:hover{background:#ffffff1a}.imported-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;padding:2px 8px;background:#ff98001a;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;font-weight:500;color:#ff9800;margin-left:12px}.imported-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.imported-badge[_ngcontent-%COMP%] .session-name[_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container);opacity:.8}.cls-1[_ngcontent-%COMP%]{color:var(--mat-sys-on-primary-container)}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:48px;background:var(--mat-sys-surface-container);border-radius:var(--mat-sys-corner-small, 8px);color:var(--mat-sys-on-surface-variant)}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:var(--mat-sys-on-surface-variant);margin-bottom:16px;opacity:.5}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--mat-sys-on-surface);margin:0 0 8px}.empty-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.85rem}.timestamp[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);font-size:var(--mat-sys-body-small);margin-right:16px}.toolbar-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.effect-action[_ngcontent-%COMP%]{border-left:4px solid #ff9800!important}.user-action[_ngcontent-%COMP%]{border-left:4px solid #2196f3!important}mat-expansion-panel-header[_ngcontent-%COMP%]{overflow:visible!important;height:auto!important;min-height:48px}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title{overflow:visible!important;flex-basis:auto;flex-grow:1;margin-right:16px}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-description{overflow:visible!important;flex-shrink:0;justify-content:flex-end;margin-right:0}mat-expansion-panel-header[_ngcontent-%COMP%] .mat-content{overflow:visible!important}.action-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;margin-right:8px}.action-icon.effect-icon[_ngcontent-%COMP%]{color:#ff9800}.action-icon.user-icon[_ngcontent-%COMP%]{color:#2196f3}.correlation-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background-color:#673ab71a;color:#9c27b0;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:var(--mat-sys-body-small);margin-right:12px}.correlation-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.correlation-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;background-color:#9c27b00d;border-radius:var(--mat-sys-corner-extra-small, 4px);margin-bottom:16px}.correlation-info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#9c27b0}.correlation-info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#9c27b0}mat-panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;overflow:visible!important;flex-wrap:nowrap;min-width:0}mat-panel-title[_ngcontent-%COMP%] .action-type[_ngcontent-%COMP%]{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.effect-source-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;background-color:#ff980026;color:#ff9800;padding:2px 8px;border-radius:var(--mat-sys-corner-medium, 12px);font-size:11px;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;margin-left:8px;white-space:nowrap;flex-shrink:0}.effect-source-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-small);width:var(--mat-sys-body-small);height:var(--mat-sys-body-small)}.perf-link-btn[_ngcontent-%COMP%]{width:32px;height:32px;min-width:32px;padding:0!important;margin:0;color:#673ab7;transition:all .2s ease;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--mat-sys-corner-full, 50%)!important;overflow:visible!important;position:relative}.perf-link-btn[_ngcontent-%COMP%] .mat-mdc-button-touch-target{width:100%;height:100%;border-radius:var(--mat-sys-corner-full, 50%)}.perf-link-btn[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple{border-radius:var(--mat-sys-corner-full, 50%)!important}.perf-link-btn[_ngcontent-%COMP%] .mdc-button__ripple{border-radius:var(--mat-sys-corner-full, 50%)!important}.perf-link-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;line-height:20px}.perf-link-btn[_ngcontent-%COMP%]:hover{background:#673ab71a!important;color:#512da8;transform:scale(1.1)}.perf-link-btn[_ngcontent-%COMP%]:active{transform:scale(.95)}.perf-warning-icon[_ngcontent-%COMP%]{color:#ff9800;font-size:18px;width:18px;height:18px;margin-right:8px}.perf-time[_ngcontent-%COMP%]{font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace;font-size:var(--mat-sys-body-small);padding:2px 6px;border-radius:var(--mat-sys-corner-extra-small, 4px);background:#4caf501a;color:#4caf50;margin-right:12px}.perf-time.slow[_ngcontent-%COMP%]{background:#f443361a;color:#f44336}.action-performance[_ngcontent-%COMP%]{padding:16px}.perf-stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.perf-stat[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px;background:#ffffff08;border-radius:var(--mat-sys-corner-small, 8px)}.perf-stat[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#673ab7}.perf-stat-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.perf-stat-label[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-small);opacity:.7;text-transform:uppercase}.perf-stat-value[_ngcontent-%COMP%]{font-size:var(--mat-sys-body-medium);font-weight:500;font-family:Roboto Mono,Monaco,Menlo,Ubuntu Mono,monospace}.perf-stat-value.warning[_ngcontent-%COMP%]{color:#f44336}.perf-stat-value.positive[_ngcontent-%COMP%]{color:#4caf50}.perf-stat-value.negative[_ngcontent-%COMP%]{color:#2196f3}.perf-warnings[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#ff9800}.perf-warnings[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.perf-warning[_ngcontent-%COMP%]{padding:12px;border-radius:var(--mat-sys-corner-small, 8px);margin-bottom:8px}.perf-warning.severity-high[_ngcontent-%COMP%]{background:#f443361a;border-left:3px solid #f44336}.perf-warning.severity-medium[_ngcontent-%COMP%]{background:#ff98001a;border-left:3px solid #ff9800}.perf-warning.severity-low[_ngcontent-%COMP%]{background:#ffc1071a;border-left:3px solid #ffc107}.warning-message[_ngcontent-%COMP%]{display:block;margin-bottom:8px}.warning-suggestion[_ngcontent-%COMP%]{display:block;font-size:13px;opacity:.8}.render-time[_ngcontent-%COMP%]{color:#9c27b0!important}.total-time[_ngcontent-%COMP%]{color:#2196f3!important}.perf-time.slow[_ngcontent-%COMP%]{color:#f44336!important}.timing-breakdown[_ngcontent-%COMP%]{margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.timing-breakdown[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:14px}.timing-breakdown[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;opacity:.7}.timing-bar[_ngcontent-%COMP%]{display:flex;height:24px;border-radius:var(--mat-sys-corner-extra-small, 4px);overflow:hidden;background:#ffffff0d;margin-bottom:12px}.timing-segment[_ngcontent-%COMP%]{height:100%;min-width:4px;transition:width .3s ease}.timing-segment.reducer-segment[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4caf50,#8bc34a)}.timing-segment.render-segment[_ngcontent-%COMP%]{background:linear-gradient(135deg,#9c27b0,#e91e63)}.timing-legend[_ngcontent-%COMP%]{display:flex;gap:24px;font-size:var(--mat-sys-body-small)}.legend-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.legend-color[_ngcontent-%COMP%]{width:12px;height:12px;border-radius:2px}.legend-color.reducer[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4caf50,#8bc34a)}.legend-color.render[_ngcontent-%COMP%]{background:linear-gradient(135deg,#9c27b0,#e91e63)}"],changeDetection:0})};var tf=globalThis,nf=tf.ShadowRoot&&(tf.ShadyCSS===void 0||tf.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ib=Symbol(),zI=new WeakMap,qc=class{constructor(n,e,i){if(this._$cssResult$=!0,i!==ib)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=n,this.t=e}get styleSheet(){let n=this.o,e=this.t;if(nf&&n===void 0){let i=e!==void 0&&e.length===1;i&&(n=zI.get(e)),n===void 0&&((this.o=n=new CSSStyleSheet).replaceSync(this.cssText),i&&zI.set(e,n))}return n}toString(){return this.cssText}},UI=t=>new qc(typeof t=="string"?t:t+"",void 0,ib),rb=(t,...n)=>{let e=t.length===1?t[0]:n.reduce((i,r,o)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1],t[0]);return new qc(e,t,ib)},$I=(t,n)=>{if(nf)t.adoptedStyleSheets=n.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of n){let i=document.createElement("style"),r=tf.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,t.appendChild(i)}},ob=nf?t=>t:t=>t instanceof CSSStyleSheet?(n=>{let e="";for(let i of n.cssRules)e+=i.cssText;return UI(e)})(t):t;var{is:pV,defineProperty:gV,getOwnPropertyDescriptor:_V,getOwnPropertyNames:vV,getOwnPropertySymbols:bV,getPrototypeOf:yV}=Object,rf=globalThis,WI=rf.trustedTypes,CV=WI?WI.emptyScript:"",wV=rf.reactiveElementPolyfillSupport,Qc=(t,n)=>t,Zc={toAttribute(t,n){switch(n){case Boolean:t=t?CV:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,n){let e=t;switch(n){case Boolean:e=t!==null;break;case Number:e=t===null?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(i){e=null}}return e}},of=(t,n)=>!pV(t,n),GI={attribute:!0,type:String,converter:Zc,reflect:!1,useDefault:!1,hasChanged:of};Symbol.metadata??=Symbol("metadata"),rf.litPropertyMetadata??=new WeakMap;var Ti=class extends HTMLElement{static addInitializer(n){this._$Ei(),(this.l??=[]).push(n)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(n,e=GI){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(n)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(n,e),!e.noAccessor){let i=Symbol(),r=this.getPropertyDescriptor(n,i,e);r!==void 0&&gV(this.prototype,n,r)}}static getPropertyDescriptor(n,e,i){let{get:r,set:o}=_V(this.prototype,n)??{get(){return this[e]},set(a){this[e]=a}};return{get:r,set(a){let s=r?.call(this);o?.call(this,a),this.requestUpdate(n,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(n){return this.elementProperties.get(n)??GI}static _$Ei(){if(this.hasOwnProperty(Qc("elementProperties")))return;let n=yV(this);n.finalize(),n.l!==void 0&&(this.l=[...n.l]),this.elementProperties=new Map(n.elementProperties)}static finalize(){if(this.hasOwnProperty(Qc("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qc("properties"))){let e=this.properties,i=[...vV(e),...bV(e)];for(let r of i)this.createProperty(r,e[r])}let n=this[Symbol.metadata];if(n!==null){let e=litPropertyMetadata.get(n);if(e!==void 0)for(let[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(let[e,i]of this.elementProperties){let r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(n){let e=[];if(Array.isArray(n)){let i=new Set(n.flat(1/0).reverse());for(let r of i)e.unshift(ob(r))}else n!==void 0&&e.push(ob(n));return e}static _$Eu(n,e){let i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof n=="string"?n.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(n=>n(this))}addController(n){(this._$EO??=new Set).add(n),this.renderRoot!==void 0&&this.isConnected&&n.hostConnected?.()}removeController(n){this._$EO?.delete(n)}_$E_(){let n=new Map,e=this.constructor.elementProperties;for(let i of e.keys())this.hasOwnProperty(i)&&(n.set(i,this[i]),delete this[i]);n.size>0&&(this._$Ep=n)}createRenderRoot(){let n=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $I(n,this.constructor.elementStyles),n}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(n=>n.hostConnected?.())}enableUpdating(n){}disconnectedCallback(){this._$EO?.forEach(n=>n.hostDisconnected?.())}attributeChangedCallback(n,e,i){this._$AK(n,i)}_$ET(n,e){let i=this.constructor.elementProperties.get(n),r=this.constructor._$Eu(n,i);if(r!==void 0&&i.reflect===!0){let o=(i.converter?.toAttribute!==void 0?i.converter:Zc).toAttribute(e,i.type);this._$Em=n,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(n,e){let i=this.constructor,r=i._$Eh.get(n);if(r!==void 0&&this._$Em!==r){let o=i.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:Zc;this._$Em=r;let s=a.fromAttribute(e,o.type);this[r]=s??this._$Ej?.get(r)??s,this._$Em=null}}requestUpdate(n,e,i,r=!1,o){if(n!==void 0){let a=this.constructor;if(r===!1&&(o=this[n]),i??=a.getPropertyOptions(n),!((i.hasChanged??of)(o,e)||i.useDefault&&i.reflect&&o===this._$Ej?.get(n)&&!this.hasAttribute(a._$Eu(n,i))))return;this.C(n,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(n,e,{useDefault:i,reflect:r,wrapped:o},a){i&&!(this._$Ej??=new Map).has(n)&&(this._$Ej.set(n,a??e??this[n]),o!==!0||a!==void 0)||(this._$AL.has(n)||(this.hasUpdated||i||(e=void 0),this._$AL.set(n,e)),r===!0&&this._$Em!==n&&(this._$Eq??=new Set).add(n))}_$EP(){return xe(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}let n=this.scheduleUpdate();return n!=null&&(yield n),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,o]of this._$Ep)this[r]=o;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[r,o]of i){let{wrapped:a}=o,s=this[r];a!==!0||this._$AL.has(r)||s===void 0||this.C(r,void 0,o,s)}}let n=!1,e=this._$AL;try{n=this.shouldUpdate(e),n?(this.willUpdate(e),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(e)):this._$EM()}catch(i){throw n=!1,this._$EM(),i}n&&this._$AE(e)}willUpdate(n){}_$AE(n){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(n)),this.updated(n)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(n){return!0}update(n){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(n){}firstUpdated(n){}};Ti.elementStyles=[],Ti.shadowRootOptions={mode:"open"},Ti[Qc("elementProperties")]=new Map,Ti[Qc("finalized")]=new Map,wV?.({ReactiveElement:Ti}),(rf.reactiveElementVersions??=[]).push("2.1.2");var mb=globalThis,qI=t=>t,af=mb.trustedTypes,QI=af?af.createPolicy("lit-html",{createHTML:t=>t}):void 0,eS="$lit$",cr=`lit$${Math.random().toFixed(9).slice(2)}$`,tS="?"+cr,xV=`<${tS}>`,mo=document,Kc=()=>mo.createComment(""),Xc=t=>t===null||typeof t!="object"&&typeof t!="function",fb=Array.isArray,DV=t=>fb(t)||typeof t?.[Symbol.iterator]=="function",ab=`[
86
- \f\r]`,Yc=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ZI=/-->/g,YI=/>/g,lo=RegExp(`>|${ab}(?:([^\\s"'>=/]+)(${ab}*=${ab}*(?:[^
87
- \f\r"'\`<>=]|("|')|))|$)`,"g"),KI=/'/g,XI=/"/g,nS=/^(?:script|style|textarea|title)$/i,hb=t=>(n,...e)=>({_$litType$:t,strings:n,values:e}),fo=hb(1),Oue=hb(2),Pue=hb(3),ki=Symbol.for("lit-noChange"),ft=Symbol.for("lit-nothing"),JI=new WeakMap,uo=mo.createTreeWalker(mo,129);function iS(t,n){if(!fb(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return QI!==void 0?QI.createHTML(n):n}var EV=(t,n)=>{let e=t.length-1,i=[],r,o=n===2?"<svg>":n===3?"<math>":"",a=Yc;for(let s=0;s<e;s++){let c=t[s],l,d,m=-1,h=0;for(;h<c.length&&(a.lastIndex=h,d=a.exec(c),d!==null);)h=a.lastIndex,a===Yc?d[1]==="!--"?a=ZI:d[1]!==void 0?a=YI:d[2]!==void 0?(nS.test(d[2])&&(r=RegExp("</"+d[2],"g")),a=lo):d[3]!==void 0&&(a=lo):a===lo?d[0]===">"?(a=r??Yc,m=-1):d[1]===void 0?m=-2:(m=a.lastIndex-d[2].length,l=d[1],a=d[3]===void 0?lo:d[3]==='"'?XI:KI):a===XI||a===KI?a=lo:a===ZI||a===YI?a=Yc:(a=lo,r=void 0);let f=a===lo&&t[s+1].startsWith("/>")?" ":"";o+=a===Yc?c+xV:m>=0?(i.push(l),c.slice(0,m)+eS+c.slice(m)+cr+f):c+cr+(m===-2?s:f)}return[iS(t,o+(t[e]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),i]},Jc=class t{constructor({strings:n,_$litType$:e},i){let r;this.parts=[];let o=0,a=0,s=n.length-1,c=this.parts,[l,d]=EV(n,e);if(this.el=t.createElement(l,i),uo.currentNode=this.el.content,e===2||e===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(r=uo.nextNode())!==null&&c.length<s;){if(r.nodeType===1){if(r.hasAttributes())for(let m of r.getAttributeNames())if(m.endsWith(eS)){let h=d[a++],f=r.getAttribute(m).split(cr),y=/([.?@])?(.*)/.exec(h);c.push({type:1,index:o,name:y[2],strings:f,ctor:y[1]==="."?cb:y[1]==="?"?lb:y[1]==="@"?db:Va}),r.removeAttribute(m)}else m.startsWith(cr)&&(c.push({type:6,index:o}),r.removeAttribute(m));if(nS.test(r.tagName)){let m=r.textContent.split(cr),h=m.length-1;if(h>0){r.textContent=af?af.emptyScript:"";for(let f=0;f<h;f++)r.append(m[f],Kc()),uo.nextNode(),c.push({type:2,index:++o});r.append(m[h],Kc())}}}else if(r.nodeType===8)if(r.data===tS)c.push({type:2,index:o});else{let m=-1;for(;(m=r.data.indexOf(cr,m+1))!==-1;)c.push({type:7,index:o}),m+=cr.length-1}o++}}static createElement(n,e){let i=mo.createElement("template");return i.innerHTML=n,i}};function ja(t,n,e=t,i){if(n===ki)return n;let r=i!==void 0?e._$Co?.[i]:e._$Cl,o=Xc(n)?void 0:n._$litDirective$;return r?.constructor!==o&&(r?._$AO?.(!1),o===void 0?r=void 0:(r=new o(t),r._$AT(t,e,i)),i!==void 0?(e._$Co??=[])[i]=r:e._$Cl=r),r!==void 0&&(n=ja(t,r._$AS(t,n.values),r,i)),n}var sb=class{constructor(n,e){this._$AV=[],this._$AN=void 0,this._$AD=n,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(n){let{el:{content:e},parts:i}=this._$AD,r=(n?.creationScope??mo).importNode(e,!0);uo.currentNode=r;let o=uo.nextNode(),a=0,s=0,c=i[0];for(;c!==void 0;){if(a===c.index){let l;c.type===2?l=new el(o,o.nextSibling,this,n):c.type===1?l=new c.ctor(o,c.name,c.strings,this,n):c.type===6&&(l=new ub(o,this,n)),this._$AV.push(l),c=i[++s]}a!==c?.index&&(o=uo.nextNode(),a++)}return uo.currentNode=mo,r}p(n){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(n,i,e),e+=i.strings.length-2):i._$AI(n[e])),e++}},el=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(n,e,i,r){this.type=2,this._$AH=ft,this._$AN=void 0,this._$AA=n,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let n=this._$AA.parentNode,e=this._$AM;return e!==void 0&&n?.nodeType===11&&(n=e.parentNode),n}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(n,e=this){n=ja(this,n,e),Xc(n)?n===ft||n==null||n===""?(this._$AH!==ft&&this._$AR(),this._$AH=ft):n!==this._$AH&&n!==ki&&this._(n):n._$litType$!==void 0?this.$(n):n.nodeType!==void 0?this.T(n):DV(n)?this.k(n):this._(n)}O(n){return this._$AA.parentNode.insertBefore(n,this._$AB)}T(n){this._$AH!==n&&(this._$AR(),this._$AH=this.O(n))}_(n){this._$AH!==ft&&Xc(this._$AH)?this._$AA.nextSibling.data=n:this.T(mo.createTextNode(n)),this._$AH=n}$(n){let{values:e,_$litType$:i}=n,r=typeof i=="number"?this._$AC(n):(i.el===void 0&&(i.el=Jc.createElement(iS(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{let o=new sb(r,this),a=o.u(this.options);o.p(e),this.T(a),this._$AH=o}}_$AC(n){let e=JI.get(n.strings);return e===void 0&&JI.set(n.strings,e=new Jc(n)),e}k(n){fb(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,r=0;for(let o of n)r===e.length?e.push(i=new t(this.O(Kc()),this.O(Kc()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(n=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);n!==this._$AB;){let i=qI(n).nextSibling;qI(n).remove(),n=i}}setConnected(n){this._$AM===void 0&&(this._$Cv=n,this._$AP?.(n))}},Va=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(n,e,i,r,o){this.type=1,this._$AH=ft,this._$AN=void 0,this.element=n,this.name=e,this._$AM=r,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ft}_$AI(n,e=this,i,r){let o=this.strings,a=!1;if(o===void 0)n=ja(this,n,e,0),a=!Xc(n)||n!==this._$AH&&n!==ki,a&&(this._$AH=n);else{let s=n,c,l;for(n=o[0],c=0;c<o.length-1;c++)l=ja(this,s[i+c],e,c),l===ki&&(l=this._$AH[c]),a||=!Xc(l)||l!==this._$AH[c],l===ft?n=ft:n!==ft&&(n+=(l??"")+o[c+1]),this._$AH[c]=l}a&&!r&&this.j(n)}j(n){n===ft?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,n??"")}},cb=class extends Va{constructor(){super(...arguments),this.type=3}j(n){this.element[this.name]=n===ft?void 0:n}},lb=class extends Va{constructor(){super(...arguments),this.type=4}j(n){this.element.toggleAttribute(this.name,!!n&&n!==ft)}},db=class extends Va{constructor(n,e,i,r,o){super(n,e,i,r,o),this.type=5}_$AI(n,e=this){if((n=ja(this,n,e,0)??ft)===ki)return;let i=this._$AH,r=n===ft&&i!==ft||n.capture!==i.capture||n.once!==i.once||n.passive!==i.passive,o=n!==ft&&(i===ft||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,n),this._$AH=n}handleEvent(n){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,n):this._$AH.handleEvent(n)}},ub=class{constructor(n,e,i){this.element=n,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(n){ja(this,n)}};var MV=mb.litHtmlPolyfillSupport;MV?.(Jc,el),(mb.litHtmlVersions??=[]).push("3.3.2");var rS=(t,n,e)=>{let i=e?.renderBefore??n,r=i._$litPart$;if(r===void 0){let o=e?.renderBefore??null;i._$litPart$=r=new el(n.insertBefore(Kc(),o),o,void 0,e??{})}return r._$AI(t),r};var pb=globalThis,lr=class extends Ti{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let n=super.createRenderRoot();return this.renderOptions.renderBefore??=n.firstChild,n}update(n){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(n),this._$Do=rS(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ki}};lr._$litElement$=!0,lr.finalized=!0,pb.litElementHydrateSupport?.({LitElement:lr});var IV=pb.litElementPolyfillSupport;IV?.({LitElement:lr});(pb.litElementVersions??=[]).push("4.2.2");var SV={attribute:!0,type:String,converter:Zc,reflect:!1,hasChanged:of},TV=(t=SV,n,e)=>{let{kind:i,metadata:r}=e,o=globalThis.litPropertyMetadata.get(r);if(o===void 0&&globalThis.litPropertyMetadata.set(r,o=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),o.set(e.name,t),i==="accessor"){let{name:a}=e;return{set(s){let c=n.get.call(this);n.set.call(this,s),this.requestUpdate(a,c,t,!0,s)},init(s){return s!==void 0&&this.C(a,void 0,t,s),s}}}if(i==="setter"){let{name:a}=e;return function(s){let c=this[a];n.call(this,s),this.requestUpdate(a,c,t,!0,s)}}throw Error("Unsupported decorator location: "+i)};function sf(t){return(n,e)=>typeof e=="object"?TV(t,n,e):((i,r,o)=>{let a=r.hasOwnProperty(o);return r.constructor.createProperty(o,i),a?Object.getOwnPropertyDescriptor(r,o):void 0})(t,n,e)}function gb(t){return sf(ie(C({},t),{state:!0,attribute:!1}))}var Ha=(t,n,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof n!="object"&&Object.defineProperty(t,n,e),e);var kV;function oS(t){return(n,e)=>Ha(n,e,{get(){return(this.renderRoot??(kV??=document.createDocumentFragment())).querySelectorAll(t)}})}var aS={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},sS=t=>(...n)=>({_$litDirective$:t,values:n}),cf=class{constructor(n){}get _$AU(){return this._$AM._$AU}_$AT(n,e,i){this._$Ct=n,this._$AM=e,this._$Ci=i}_$AS(n,e){return this.update(n,e)}update(n,e){return this.render(...e)}};var cS=sS(class extends cf{constructor(t){if(super(t),t.type!==aS.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(n=>t[n]).join(" ")+" "}update(t,[n]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in n)n[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(n)}let e=t.element.classList;for(let i of this.st)i in n||(e.remove(i),this.st.delete(i));for(let i in n){let r=!!n[i];r===this.st.has(i)||this.nt?.has(i)||(r?(e.add(i),this.st.add(i)):(e.remove(i),this.st.delete(i)))}return ki}});function*lS(t,n){if(t!==void 0){let e=0;for(let i of t)yield n(i,e++)}}function lf(t,n,e){return t?n(t):e?.(t)}var AV=Object.defineProperty,RV=Object.getOwnPropertyDescriptor,uf=(t,n,e,i)=>{for(var r=i>1?void 0:i?RV(n,e):n,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(i?a(n,e,r):a(r))||r);return i&&r&&AV(n,e,r),r};function OV(t){return t instanceof RegExp}function _b(t){return t===null?"null":Array.isArray(t)?"array":t.constructor.name.toLowerCase()}function tl(t){return t!==Object(t)}function PV(t,{nodeCount:n=3,maxLength:e=15}={}){let i=Array.isArray(t),r=Object.keys(t),o=r.slice(0,n),a=[],s=d=>{switch(_b(d)){case"object":return Object.keys(d).length===0?"{ }":"{ ... }";case"array":return d.length===0?"[ ]":"[ ... ]";case"string":return`"${d.substring(0,e)}${d.length>e?"...":""}"`;default:return String(d)}},c=[];for(let d of o){let m=[],h=t[d];i||m.push(`${d}: `),m.push(s(h)),c.push(m.join(""))}r.length>n&&c.push("..."),a.push(c.join(", "));let l=a.join("");return i?`[ ${l} ]`:`{ ${l} }`}function*bb(t){let n=[[t,"",[]]];for(;n.length;){let[e,i,r]=n.shift();if(i&&(yield[e,i,r]),!tl(e))for(let[o,a]of Object.entries(e))n.push([a,`${i}${i?".":""}${o}`,[...r,i]])}}function NV(t,n){let e=t.split("."),i=n.split("."),r=c=>c==="*",o=c=>c==="**",a=0,s=0;for(;a<e.length;){let c=i[s],l=e[a];if(c===l||r(c))s++,a++;else if(o(c))s++,a=e.length-(i.length-s);else return!1}return s===i.length}var FV={fromAttribute:t=>t&&t.trim()?JSON.parse(t):void 0,toAttribute:t=>JSON.stringify(t)},vb=t=>t!==void 0,mS=(t,n)=>OV(n)?!!t.match(n):NV(t,n),LV=(t,n)=>n.split(".").reduce((e,i)=>e[i],t),dS=(t,n)=>e=>({expanded:ie(C({},e.expanded),{[t]:vb(n)?!!n:!e.expanded[t]})}),df=(t,n)=>(e,i)=>{let r={};if(t)for(let[,o,a]of bb(i.data))mS(o,t)&&(r[o]=n,a.forEach(s=>r[s]=n));return{expanded:r}},BV=t=>(n,e)=>{let i={};if(t)for(let[,r,o]of bb(e.data))mS(r,t)?(i[r]=!1,o.forEach(a=>i[a]=!1)):i[r]=!0;return{filtered:i}},jV=()=>()=>({filtered:{}}),uS=t=>()=>({highlight:t}),VV=rb`
88
- :where(:host) {
89
- --background-color: #2a2f3a;
90
- --color: #f8f8f2;
91
- --string-color: #a3eea0;
92
- --number-color: #d19a66;
93
- --boolean-color: #4ba7ef;
94
- --null-color: #df9cf3;
95
- --property-color: #6fb3d2;
96
- --preview-color: rgba(222, 175, 143, 0.9);
97
- --highlight-color: #c92a2a;
98
- --outline-color: #e0e4e5;
99
- --outline-width: 1px;
100
- --outline-style: dotted;
101
-
102
- --font-family: Nimbus Mono PS, Courier New, monospace;
103
- --font-size: 1rem;
104
- --line-height: 1.2rem;
105
-
106
- --indent-size: 0.5rem;
107
- --indentguide-size: 1px;
108
- --indentguide-style: solid;
109
- --indentguide-color: #495057;
110
- --indentguide-color-active: #ced4da;
111
- --indentguide: var(--indentguide-size) var(--indentguide-style) var(--indentguide-color);
112
- --indentguide-active: var(--indentguide-size) var(--indentguide-style) var(--indentguide-color-active);
113
- }
114
-
115
- :host {
116
- display: block;
117
- background-color: var(--background-color);
118
- color: var(--color);
119
- font-family: var(--font-family);
120
- font-size: var(--font-size);
121
- line-height: var(--line-height);
122
- }
123
-
124
- :focus {
125
- outline-color: var(--outline-color);
126
- outline-width: var(--outline-width);
127
- outline-style: var(--outline-style);
128
- }
129
-
130
- .preview {
131
- color: var(--preview-color);
132
- }
133
-
134
- .null {
135
- color: var(--null-color);
136
- }
137
-
138
- .key {
139
- color: var(--property-color);
140
- display: inline-flex;
141
- align-items: flex-start;
142
- }
143
-
144
- .collapsable::before {
145
- display: inline-flex;
146
- font-size: 0.8em;
147
- content: '▶';
148
- width: var(--line-height);
149
- height: var(--line-height);
150
- align-items: center;
151
- justify-content: center;
152
-
153
- transition: transform 195ms ease-out;
154
- transform: rotate(90deg);
155
-
156
- color: inherit;
157
- }
158
-
159
- .collapsable--collapsed::before {
160
- transform: rotate(0);
161
- }
162
-
163
- .collapsable {
164
- cursor: pointer;
165
- user-select: none;
166
- }
167
-
168
- .string {
169
- color: var(--string-color);
170
- }
171
-
172
- .number {
173
- color: var(--number-color);
174
- }
175
-
176
- .boolean {
177
- color: var(--boolean-color);
178
- }
179
-
180
- ul {
181
- padding: 0;
182
- clear: both;
183
- }
184
-
185
- ul,
186
- li {
187
- list-style: none;
188
- position: relative;
189
- }
190
-
191
- li ul > li {
192
- position: relative;
193
- margin-left: calc(var(--indent-size) + var(--line-height));
194
- padding-left: 0px;
195
- }
196
-
197
- ul ul::before {
198
- content: '';
199
- border-left: var(--indentguide);
200
- position: absolute;
201
- left: calc(var(--line-height) / 2 - var(--indentguide-size));
202
- top: 0.2rem;
203
- bottom: 0.2rem;
204
- }
205
-
206
- ul ul:hover::before {
207
- border-left: var(--indentguide-active);
208
- }
209
-
210
- mark {
211
- background-color: var(--highlight-color);
212
- }
213
- `,za=class extends lr{constructor(){super(),this.state={expanded:{},filtered:{},highlight:null},this.lastFocusedItem=null,this.#n=n=>e=>{e.preventDefault(),this.setState(dS(n))},this.#e=n=>{let e=n.target;n.target===this&&this.#i(this.lastFocusedItem||this.nodeElements[0]),e.matches('[role="treeitem"]')&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=e,this.tabIndex=-1,e.tabIndex=0)},this.#t=n=>{let e=n.relatedTarget;(!e||!this.contains(e))&&(this.tabIndex=0)},this.addEventListener("focusin",this.#e),this.addEventListener("focusout",this.#t)}static{this.styles=[VV]}static customRenderer(n,e){return JSON.stringify(n)}setState(n){return xe(this,null,function*(){let e=this.state;this.state=C(C({},e),n(e,this))})}connectedCallback(){!this.hasAttribute("data")&&!vb(this.data)&&this.setAttribute("data",this.innerText),this.setAttribute("role","node"),this.setAttribute("tabindex","0"),super.connectedCallback()}#n;#e;#t;#r(n){if(!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Home","End"].includes(n.key))return;let e=[...this.nodeElements],i=this.matches(":dir(ltr)"),r=this.matches(":dir(rtl)");if(e.length>0){n.preventDefault();let o=e.findIndex(m=>m.matches(":focus")),a=e[o],s=this.state.expanded[a.dataset.path],c=tl(LV(this.data,a.dataset.path)),l=m=>{let h=e[Math.max(Math.min(m,e.length-1),0)];this.#i(h)},d=m=>{this.setState(dS(a.dataset.path,m))};n.key==="ArrowDown"?l(o+1):n.key==="ArrowUp"?l(o-1):i&&n.key==="ArrowRight"||r&&n.key==="ArrowLeft"?!a||s||c?l(o+1):d(!0):i&&n.key==="ArrowLeft"||r&&n.key==="ArrowRight"?!a||!s||c?l(o-1):d(!1):n.key==="Home"?l(0):n.key==="End"&&l(e.length-1)}}#i(n){n.focus()}expand(n){this.setState(df(n,!0))}expandAll(){this.setState(df("**",!0))}collapseAll(){this.setState(df("**",!1))}collapse(n){this.setState(df(n,!1))}*search(n){for(let[e,i]of bb(this.data))tl(e)&&String(e).match(n)&&(this.expand(i),this.updateComplete.then(()=>{let r=this.shadowRoot.querySelector(`[data-path="${i}"]`);r.scrollIntoView({behavior:"smooth",inline:"center",block:"center"}),r.focus()}),this.setState(uS(i)),yield{value:e,path:i});this.setState(uS(null))}filter(n){this.setState(BV(n))}resetFilter(){this.setState(jV())}renderObject(n,e){return fo`
214
- <ul part="object" role="group">
215
- ${lS(Object.entries(n),([i,r])=>{let o=e?`${e}.${i}`:i,a=tl(r),s=this.state.expanded[o];return this.state.filtered[o]?ft:fo`
216
- <li
217
- part="property"
218
- role="treeitem"
219
- data-path="${o}"
220
- aria-expanded="${s?"true":"false"}"
221
- tabindex="-1"
222
- .hidden="${this.state.filtered[o]}"
223
- aria-hidden="${this.state.filtered[o]}"
224
- >
225
- <span
226
- part="key"
227
- class="${cS({key:i,collapsable:!a,"collapsable--collapsed":!this.state.expanded[o]})}"
228
- @click="${a?null:this.#n(o)}"
229
- >
230
- ${i}:
231
- ${lf(!a&&!s,()=>this.renderNodePreview(r))}
232
- </span>
233
-
234
- ${lf(a||s,()=>this.renderValue(r,o))}
235
- </li>
236
- `})}
237
- </ul>
238
- `}renderValue(n,e=""){return tl(n)?this.renderPrimitive(n,e):this.renderObject(n,e)}renderNodePreview(n){return fo`<span part="preview" class="preview"> ${PV(n)} </span>`}renderPrimitive(n,e){let i=this.state.highlight,r=_b(n),o=this.constructor.customRenderer(n,e),a=fo`
239
- <span part="primitive primitive-${r}" class="${_b(n)}"> ${o} </span>
240
- `;return e===i?fo`<mark part="highlight">${a}</mark>`:a}render(){let n=this.data;return fo`
241
- <div
242
- part="base"
243
- @keydown=${this.#r}
244
- @focusin="${this.#e}"
245
- @focusout="${this.#t}"
246
- >
247
- ${lf(vb(n),()=>this.renderValue(n))}
248
- </div>
249
- `}};uf([sf({converter:FV,type:Object})],za.prototype,"data",2);uf([gb()],za.prototype,"state",2);uf([gb()],za.prototype,"lastFocusedItem",2);uf([oS('[role="treeitem"]')],za.prototype,"nodeElements",2);customElements.define("json-viewer",za);qg(ef,PD).catch(t=>console.error(t));