mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
1029 lines
554 KiB
JavaScript
1029 lines
554 KiB
JavaScript
var YS=Object.create;var $a=Object.defineProperty,ZS=Object.defineProperties,KS=Object.getOwnPropertyDescriptor,QS=Object.getOwnPropertyDescriptors,XS=Object.getOwnPropertyNames,Ha=Object.getOwnPropertySymbols,JS=Object.getPrototypeOf,zd=Object.prototype.hasOwnProperty,kv=Object.prototype.propertyIsEnumerable;var Ov=(t,n,e)=>n in t?$a(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,g=(t,n)=>{for(var e in n||={})zd.call(n,e)&&Ov(t,e,n[e]);if(Ha)for(var e of Ha(n))kv.call(n,e)&&Ov(t,e,n[e]);return t},F=(t,n)=>ZS(t,QS(n));var eM=(t,n)=>{var e={};for(var r in t)zd.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Ha)for(var r of Ha(t))n.indexOf(r)<0&&kv.call(t,r)&&(e[r]=t[r]);return e};var h1=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}},p1=(t,n)=>{for(var e in n)$a(t,e,{get:n[e],enumerable:!0})},tM=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of XS(n))!zd.call(t,o)&&o!==e&&$a(t,o,{get:()=>n[o],enumerable:!(r=KS(n,o))||r.enumerable});return t};var m1=(t,n,e)=>(e=t!=null?YS(JS(t)):{},tM(n||!t||!t.__esModule?$a(e,"default",{value:t,enumerable:!0}):e,t));function O(t){return typeof t=="function"}function tr(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var za=tr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
${e.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function Rr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var G=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 i of e)i.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(O(r))try{r()}catch(i){n=i instanceof za?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Fv(i)}catch(s){n=n??[],s instanceof za?n=[...n,...s.errors]:n.push(s)}}if(n)throw new za(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Fv(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)&&Rr(e,n)}remove(n){let{_finalizers:e}=this;e&&Rr(e,n),n instanceof t&&n._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Gd=G.EMPTY;function Ga(t){return t instanceof G||t&&"closed"in t&&O(t.remove)&&O(t.add)&&O(t.unsubscribe)}function Fv(t){O(t)?t():t.unsubscribe()}var Pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Co={setTimeout(t,n,...e){let{delegate:r}=Co;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Co;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Wa(t){Co.setTimeout(()=>{let{onUnhandledError:n}=Pt;if(n)n(t);else throw t})}function Nr(){}var Pv=Wd("C",void 0,void 0);function Lv(t){return Wd("E",void 0,t)}function jv(t){return Wd("N",t,void 0)}function Wd(t,n,e){return{kind:t,value:n,error:e}}var Or=null;function Io(t){if(Pt.useDeprecatedSynchronousErrorHandling){let n=!Or;if(n&&(Or={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Or;if(Or=null,e)throw r}}else t()}function Vv(t){Pt.useDeprecatedSynchronousErrorHandling&&Or&&(Or.errorThrown=!0,Or.error=t)}var kr=class extends G{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ga(n)&&n.add(this)):this.destination=oM}static create(n,e,r){return new Lt(n,e,r)}next(n){this.isStopped?Yd(jv(n),this):this._next(n)}error(n){this.isStopped?Yd(Lv(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Yd(Pv,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()}}},nM=Function.prototype.bind;function qd(t,n){return nM.call(t,n)}var Zd=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){qa(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){qa(r)}else qa(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){qa(e)}}},Lt=class extends kr{constructor(n,e,r){super();let o;if(O(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&Pt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&qd(n.next,i),error:n.error&&qd(n.error,i),complete:n.complete&&qd(n.complete,i)}):o=n}this.destination=new Zd(o)}};function qa(t){Pt.useDeprecatedSynchronousErrorHandling?Vv(t):Wa(t)}function rM(t){throw t}function Yd(t,n){let{onStoppedNotification:e}=Pt;e&&Co.setTimeout(()=>e(t,n))}var oM={closed:!0,next:Nr,error:rM,complete:Nr};var So=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ht(t){return t}function Kd(...t){return Qd(t)}function Qd(t){return t.length===0?ht:t.length===1?t[0]:function(e){return t.reduce((r,o)=>o(r),e)}}var P=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,o){let i=sM(e)?e:new Lt(e,r,o);return Io(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=Bv(r),new r((o,i)=>{let s=new Lt({next:a=>{try{e(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[So](){return this}pipe(...e){return Qd(e)(this)}toPromise(e){return e=Bv(e),new e((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=n=>new t(n),t})();function Bv(t){var n;return(n=t??Pt.Promise)!==null&&n!==void 0?n:Promise}function iM(t){return t&&O(t.next)&&O(t.error)&&O(t.complete)}function sM(t){return t&&t instanceof kr||iM(t)&&Ga(t)}var Uv=tr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=(()=>{class t extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new Ya(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Uv}next(e){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){Io(()=>{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:r,isStopped:o,observers:i}=this;return r||o?Gd:(this.currentObservers=null,i.push(e),new G(()=>{this.currentObservers=null,Rr(i,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:o,isStopped:i}=this;r?e.error(o):i&&e.complete()}asObservable(){let e=new P;return e.source=this,e}}return t.create=(n,e)=>new Ya(n,e),t})(),Ya=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.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,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Gd}};function Xd(t){return O(t?.lift)}function x(t){return n=>{if(Xd(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,n,e,r,o){return new Jd(t,n,e,r,o)}var Jd=class extends kr{constructor(n,e,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}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 $v(t,n,e,r){function o(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(t,n||[])).next())})}function Hv(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fr(t){return this instanceof Fr?(this.v=t,this):new Fr(t)}function zv(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(_){return new Promise(function(D,C){i.push([p,_,D,C])>1||c(p,_)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(_){h(i[0][3],_)}}function l(p){p.value instanceof Fr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Gv(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 Hv=="function"?Hv(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Mo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Za(t){return O(t?.then)}function Ka(t){return O(t[So])}function Qa(t){return Symbol.asyncIterator&&O(t?.[Symbol.asyncIterator])}function Xa(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 aM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ja=aM();function ec(t){return O(t?.[Ja])}function tc(t){return zv(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield Fr(e.read());if(o)return yield Fr(void 0);yield yield Fr(r)}}finally{e.releaseLock()}})}function nc(t){return O(t?.getReader)}function q(t){if(t instanceof P)return t;if(t!=null){if(Ka(t))return cM(t);if(Mo(t))return lM(t);if(Za(t))return uM(t);if(Qa(t))return Wv(t);if(ec(t))return dM(t);if(nc(t))return fM(t)}throw Xa(t)}function cM(t){return new P(n=>{let e=t[So]();if(O(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lM(t){return new P(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function uM(t){return new P(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Wa)})}function dM(t){return new P(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Wv(t){return new P(n=>{hM(t,n).catch(e=>n.error(e))})}function fM(t){return Wv(tc(t))}function hM(t,n){var e,r,o,i;return $v(this,void 0,void 0,function*(){try{for(e=Gv(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}n.complete()})}function jt(t){return x((n,e)=>{q(t).subscribe(A(e,()=>e.complete(),Nr)),!e.closed&&n.subscribe(e)})}function qv(){return x((t,n)=>{let e=null;t._refCount++;let r=A(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,i=e;e=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var Ui=class extends P{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Xd(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 G;let e=this.getSubject();n.add(this.source.subscribe(A(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=G.EMPTY)}return n}refCount(){return qv()(this)}};var To={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=To;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let o=n(i=>{e=void 0,t(i)});return new G(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=To;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=To;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Re=class extends R{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:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Hi={now(){return(Hi.delegate||Date).now()},delegate:void 0};var $i=class extends R{constructor(n=1/0,e=1/0,r=Hi){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=r,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:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;e||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=e.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var rc=class extends G{constructor(n,e){super()}schedule(n,e=0){return this}};var zi={setInterval(t,n,...e){let{delegate:r}=zi;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=zi;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var nr=class extends rc{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,e)),this.pending=!0,this.delay=e,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,e),this}requestAsyncId(n,e,r=0){return zi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return e;e!=null&&zi.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Rr(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var pM=1,ef,tf={};function Yv(t){return t in tf?(delete tf[t],!0):!1}var Zv={setImmediate(t){let n=pM++;return tf[n]=!0,ef||(ef=Promise.resolve()),ef.then(()=>Yv(n)&&t()),n},clearImmediate(t){Yv(t)}};var{setImmediate:mM,clearImmediate:gM}=Zv,Gi={setImmediate(...t){let{delegate:n}=Gi;return(n?.setImmediate||mM)(...t)},clearImmediate(t){let{delegate:n}=Gi;return(n?.clearImmediate||gM)(t)},delegate:void 0};var oc=class extends nr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=Gi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(Gi.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var xo=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,r){return new this.schedulerActionCtor(this,n).schedule(r,e)}};xo.now=Hi.now;var rr=class extends xo{constructor(n,e=xo.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var ic=class extends rr{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var Kv=new ic(oc);var Ct=new rr(nr),nf=Ct;var sc=class extends nr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=To.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&e===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(To.cancelAnimationFrame(e),n._scheduled=void 0)}};var ac=class extends rr{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var Qv=new ac(sc);var Ne=new P(t=>t.complete());function cc(t){return t&&O(t.schedule)}function rf(t){return t[t.length-1]}function lc(t){return O(rf(t))?t.pop():void 0}function an(t){return cc(rf(t))?t.pop():void 0}function Xv(t,n){return typeof rf(t)=="number"?t.pop():n}function We(t,n,e,r=0,o=!1){let i=n.schedule(function(){e(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function uc(t,n=0){return x((e,r)=>{e.subscribe(A(r,o=>We(r,t,()=>r.next(o),n),()=>We(r,t,()=>r.complete(),n),o=>We(r,t,()=>r.error(o),n)))})}function Wi(t,n=0){return x((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Jv(t,n){return q(t).pipe(Wi(n),uc(n))}function ey(t,n){return q(t).pipe(Wi(n),uc(n))}function ty(t,n){return new P(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function ny(t,n){return new P(e=>{let r;return We(e,n,()=>{r=t[Ja](),We(e,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){e.error(s);return}i?e.complete():e.next(o)},0,!0)}),()=>O(r?.return)&&r.return()})}function dc(t,n){if(!t)throw new Error("Iterable cannot be null");return new P(e=>{We(e,n,()=>{let r=t[Symbol.asyncIterator]();We(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function ry(t,n){return dc(tc(t),n)}function oy(t,n){if(t!=null){if(Ka(t))return Jv(t,n);if(Mo(t))return ty(t,n);if(Za(t))return ey(t,n);if(Qa(t))return dc(t,n);if(ec(t))return ny(t,n);if(nc(t))return ry(t,n)}throw Xa(t)}function ae(t,n){return n?oy(t,n):q(t)}function S(...t){let n=an(t);return ae(t,n)}function xn(t,n){let e=O(t)?t:()=>t,r=o=>o.error(e());return new P(n?o=>n.schedule(r,0,o):r)}function Vt(t){return!!t&&(t instanceof P||O(t.lift)&&O(t.subscribe))}var An=tr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function vM(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new Lt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new An)}});t.subscribe(i)})}function fc(t){return t instanceof Date&&!isNaN(t)}var yM=tr(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function bM(t,n){let{first:e,each:r,with:o=_M,scheduler:i=n??Ct,meta:s=null}=fc(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&r==null)throw new TypeError("No timeout provided.");return x((a,c)=>{let l,u,d=null,h=0,p=m=>{u=We(c,i,()=>{try{l.unsubscribe(),q(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(_){c.error(_)}},m)};l=a.subscribe(A(c,m=>{u?.unsubscribe(),h++,c.next(d=m),r>0&&p(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!h&&p(e!=null?typeof e=="number"?e:+e-i.now():r)})}function _M(t){throw new yM(t)}function L(t,n){return x((e,r)=>{let o=0;e.subscribe(A(r,i=>{r.next(t.call(n,i,o++))}))})}var{isArray:DM}=Array;function EM(t,n){return DM(n)?t(...n):t(n)}function Ao(t){return L(n=>EM(t,n))}var{isArray:wM}=Array,{getPrototypeOf:CM,prototype:IM,keys:SM}=Object;function hc(t){if(t.length===1){let n=t[0];if(wM(n))return{args:n,keys:null};if(MM(n)){let e=SM(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function MM(t){return t&&typeof t=="object"&&CM(t)===IM}function pc(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function Ro(...t){let n=an(t),e=lc(t),{args:r,keys:o}=hc(t);if(r.length===0)return ae([],n);let i=new P(TM(r,n,o?s=>pc(o,s):ht));return e?i.pipe(Ao(e)):i}function TM(t,n,e=ht){return r=>{iy(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)iy(n,()=>{let l=ae(t[c],n),u=!1;l.subscribe(A(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function iy(t,n,e){t?We(e,t,n):n()}function sy(t,n,e,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=_=>l<r?m(_):c.push(_),m=_=>{i&&n.next(_),l++;let D=!1;q(e(_,u++)).subscribe(A(n,C=>{o?.(C),i?p(C):n.next(C)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;c.length&&l<r;){let C=c.shift();s?We(n,s,()=>m(C)):m(C)}h()}catch(C){n.error(C)}}))};return t.subscribe(A(n,p,()=>{d=!0,h()})),()=>{a?.()}}function Ee(t,n,e=1/0){return O(n)?Ee((r,o)=>L((i,s)=>n(r,i,o,s))(q(t(r,o))),e):(typeof n=="number"&&(e=n),x((r,o)=>sy(r,o,t,e)))}function cn(t=1/0){return Ee(ht,t)}function ay(){return cn(1)}function ln(...t){return ay()(ae(t,an(t)))}function qi(t){return new P(n=>{q(t()).subscribe(n)})}function Yi(...t){let n=lc(t),{args:e,keys:r}=hc(t),o=new P(i=>{let{length:s}=e;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;q(e[u]).subscribe(A(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?pc(r,a):a),i.complete())}))}});return n?o.pipe(Ao(n)):o}var xM=["addListener","removeListener"],AM=["addEventListener","removeEventListener"],RM=["on","off"];function of(t,n,e,r){if(O(e)&&(r=e,e=void 0),r)return of(t,n,e).pipe(Ao(r));let[o,i]=kM(t)?AM.map(s=>a=>t[s](n,a,e)):NM(t)?xM.map(cy(t,n)):OM(t)?RM.map(cy(t,n)):[];if(!o&&Mo(t))return Ee(s=>of(s,n,e))(q(t));if(!o)throw new TypeError("Invalid event target");return new P(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function cy(t,n){return e=>r=>t[e](n,r)}function NM(t){return O(t.addListener)&&O(t.removeListener)}function OM(t){return O(t.on)&&O(t.off)}function kM(t){return O(t.addEventListener)&&O(t.removeEventListener)}function Pr(t=0,n,e=nf){let r=-1;return n!=null&&(cc(n)?e=n:r=n),new P(o=>{let i=fc(t)?+t-e.now():t;i<0&&(i=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function FM(t=0,n=Ct){return t<0&&(t=0),Pr(t,t,n)}function PM(...t){let n=an(t),e=Xv(t,1/0),r=t;return r.length?r.length===1?q(r[0]):cn(e)(ae(r,n)):Ne}function he(t,n){return x((e,r)=>{let o=0;e.subscribe(A(r,i=>t.call(n,i,o++)&&r.next(i)))})}function ly(t){return x((n,e)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,e.next(l)}s&&e.complete()},c=()=>{i=null,s&&e.complete()};n.subscribe(A(e,l=>{r=!0,o=l,i||q(t(l)).subscribe(i=A(e,a,c))},()=>{s=!0,(!r||!i||i.closed)&&e.complete()}))})}function mc(t,n=Ct){return ly(()=>Pr(t,n))}function It(t){return x((n,e)=>{let r=null,o=!1,i;r=n.subscribe(A(e,void 0,void 0,s=>{i=q(t(s,It(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function uy(t,n,e,r,o){return(i,s)=>{let a=e,c=n,l=0;i.subscribe(A(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function sf(t,n){return x(uy(t,n,arguments.length>=2,!1,!0))}var LM=(t,n)=>(t.push(n),t);function jM(){return x((t,n)=>{sf(LM,[])(t).subscribe(n)})}function or(t,n){return O(n)?Ee(t,n,1):Ee(t,1)}function Lr(t,n=Ct){return x((e,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+t,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}e.subscribe(A(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function dy(t){return x((n,e)=>{let r=!1;n.subscribe(A(e,o=>{r=!0,e.next(o)},()=>{r||e.next(t),e.complete()}))})}function Oe(t){return t<=0?()=>Ne:x((n,e)=>{let r=0;n.subscribe(A(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function fy(){return x((t,n)=>{t.subscribe(A(n,Nr))})}function af(t){return L(()=>t)}function cf(t,n){return n?e=>ln(n.pipe(Oe(1),fy()),e.pipe(cf(t))):Ee((e,r)=>q(t(e,r)).pipe(Oe(1),af(e)))}function VM(t,n=Ct){let e=Pr(t,n);return cf(()=>e)}function gc(t,n=ht){return t=t??BM,x((e,r)=>{let o,i=!0;e.subscribe(A(r,s=>{let a=n(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function BM(t,n){return t===n}function hy(t=UM){return x((n,e)=>{let r=!1;n.subscribe(A(e,o=>{r=!0,e.next(o)},()=>r?e.complete():e.error(t())))})}function UM(){return new An}function py(t,n){return n?e=>e.pipe(py((r,o)=>q(t(r,o)).pipe(L((i,s)=>n(r,i,o,s))))):x((e,r)=>{let o=0,i=null,s=!1;e.subscribe(A(r,a=>{i||(i=A(r,void 0,()=>{i=null,s&&r.complete()}),q(t(a,o++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}function Rn(t){return x((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Nn(t,n){let e=arguments.length>=2;return r=>r.pipe(t?he((o,i)=>t(o,i,r)):ht,Oe(1),e?dy(n):hy(()=>new An))}function vc(t){return t<=0?()=>Ne:x((n,e)=>{let r=[];n.subscribe(A(e,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)e.next(o);e.complete()},void 0,()=>{r=null}))})}function my(){return x((t,n)=>{let e,r=!1;t.subscribe(A(n,o=>{let i=e;e=o,r&&n.next([i,o]),r=!0}))})}function Zi(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let _=s;p(),_?.unsubscribe()};return x((_,D)=>{l++,!d&&!u&&h();let C=c=c??n();D.add(()=>{l--,l===0&&!d&&!u&&(a=lf(m,o))}),C.subscribe(D),!s&&l>0&&(s=new Lt({next:$=>C.next($),error:$=>{d=!0,h(),a=lf(p,e,$),C.error($)},complete:()=>{u=!0,h(),a=lf(p,r),C.complete()}}),q(_).subscribe(s))})(i)}}function lf(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new Lt({next:()=>{r.unsubscribe(),t()}});return q(n(...e)).subscribe(r)}function gy(t,n,e){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:r=t??1/0,Zi({connector:()=>new $i(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ki(t){return he((n,e)=>t<=e)}function No(...t){let n=an(t);return x((e,r)=>{(n?ln(t,e,n):ln(t,e)).subscribe(r)})}function Be(t,n){return x((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(A(r,c=>{o?.unsubscribe();let l=0,u=i++;q(t(c,u)).subscribe(o=A(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yc(t,n=!1){return x((e,r)=>{let o=0;e.subscribe(A(r,i=>{let s=t(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Ue(t,n,e){let r=O(t)||n||e?{next:t,error:n,complete:e}:t;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ht}var qe=null,bc=!1,uf=1,HM=null,me=Symbol("SIGNAL");function T(t){let n=qe;return qe=t,n}function _c(){return qe}var ir={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 On(t){if(bc)throw new Error("");if(qe===null)return;qe.consumerOnSignalRead(t);let n=qe.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=qe.recomputing;if(r&&(e=n!==void 0?n.nextProducer:qe.producers,e!==void 0&&e.producer===t)){qe.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===qe&&(!r||zM(o,qe)))return;let i=Fo(qe),s={producer:t,consumer:qe,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};qe.producersTail=s,n!==void 0?n.nextProducer=s:qe.producers=s,i&&_y(t,s)}function vy(){uf++}function Br(t){if(!(Fo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===uf)){if(!t.producerMustRecompute(t)&&!ko(t)){Oo(t);return}t.producerRecomputeValue(t),Oo(t)}}function df(t){if(t.consumers===void 0)return;let n=bc;bc=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||$M(r)}}finally{bc=n}}function ff(){return qe?.consumerAllowSignalWrites!==!1}function $M(t){t.dirty=!0,df(t),t.consumerMarkedDirty?.(t)}function Oo(t){t.dirty=!1,t.lastCleanEpoch=uf}function kn(t){return t&&yy(t),T(t)}function yy(t){t.producersTail=void 0,t.recomputing=!0}function sr(t,n){T(n),t&&by(t)}function by(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Fo(t))do e=hf(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function ko(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(Br(e),r!==e.version))return!0}return!1}function ar(t){if(Fo(t)){let n=t.producers;for(;n!==void 0;)n=hf(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function _y(t,n){let e=t.consumersTail,r=Fo(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,!r)for(let o=t.producers;o!==void 0;o=o.nextProducer)_y(o.producer,o)}function hf(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Fo(n)){let i=n.producers;for(;i!==void 0;)i=hf(i)}return e}function Fo(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Qi(t){HM?.(t)}function zM(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function Xi(t,n){return Object.is(t,n)}function Ji(t,n){let e=Object.create(GM);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(Br(e),On(e),e.value===un)throw e.error;return e.value};return r[me]=e,Qi(e),r}var jr=Symbol("UNSET"),Vr=Symbol("COMPUTING"),un=Symbol("ERRORED"),GM=F(g({},ir),{value:jr,dirty:!0,error:null,equal:Xi,kind:"computed",producerMustRecompute(t){return t.value===jr||t.value===Vr},producerRecomputeValue(t){if(t.value===Vr)throw new Error("");let n=t.value;t.value=Vr;let e=kn(t),r,o=!1;try{r=t.computation(),T(null),o=n!==jr&&n!==un&&r!==un&&t.equal(n,r)}catch(i){r=un,t.error=i}finally{sr(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function WM(){throw new Error}var Dy=WM;function Ey(t){Dy(t)}function pf(t){Dy=t}var qM=null;function mf(t,n){let e=Object.create(es);e.value=t,n!==void 0&&(e.equal=n);let r=()=>wy(e);return r[me]=e,Qi(e),[r,s=>cr(e,s),s=>Dc(e,s)]}function wy(t){return On(t),t.value}function cr(t,n){ff()||Ey(t),t.equal(t.value,n)||(t.value=n,YM(t))}function Dc(t,n){ff()||Ey(t),cr(t,n(t.value))}var es=F(g({},ir),{equal:Xi,value:void 0,kind:"signal"});function YM(t){t.version++,vy(),df(t),qM?.(t)}var gf=F(g({},ir),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function vf(t){if(t.dirty=!1,t.version>0&&!ko(t))return;t.version++;let n=kn(t);try{t.cleanup(),t.fn()}finally{sr(t,n)}}var yf;function Ec(){return yf}function dn(t){let n=yf;return yf=t,n}var Cy=Symbol("NotFound");function Po(t){return t===Cy||t?.name==="\u0275NotFound"}function bf(t,n,e){let r=Object.create(ZM);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(Br(r),On(r),r.value===un)throw r.error;return r.value};return i[me]=r,Qi(r),i}function Iy(t,n){Br(t),cr(t,n),Oo(t)}function Sy(t,n){if(Br(t),t.value===un)throw t.error;Dc(t,n),Oo(t)}var ZM=F(g({},ir),{value:jr,dirty:!0,error:null,equal:Xi,kind:"linkedSignal",producerMustRecompute(t){return t.value===jr||t.value===Vr},producerRecomputeValue(t){if(t.value===Vr)throw new Error("");let n=t.value;t.value=Vr;let e=kn(t),r,o=!1;try{let i=t.source(),s=n!==jr&&n!==un,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,T(null),o=s&&r!==un&&t.equal(n,r)}catch(i){r=un,t.error=i}finally{sr(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function My(t){let n=T(null);try{return t()}finally{T(n)}}var Ac="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,e){super(St(n,e)),this.code=n}};function KM(t){return`NG0${Math.abs(t)}`}function St(t,n){return`${KM(t)}${n?": "+n:""}`}var we=globalThis;function re(t){for(let n in t)if(t[n]===re)return n;throw Error("")}function Ny(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function cs(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(cs).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 r=e.indexOf(`
|
|
`);return r>=0?e.slice(0,r):e}function Rc(t,n){return t?n?`${t} ${n}`:t:n||""}var QM=re({__forward_ref__:re});function Ce(t){return t.__forward_ref__=Ce,t}function ke(t){return Nf(t)?t():t}function Nf(t){return typeof t=="function"&&t.hasOwnProperty(QM)&&t.__forward_ref__===Ce}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Y(t){return{providers:t.providers||[],imports:t.imports||[]}}function ls(t){return XM(t,Nc)}function Of(t){return ls(t)!==null}function XM(t,n){return t.hasOwnProperty(n)&&t[n]||null}function JM(t){let n=t?.[Nc]??null;return n||null}function Df(t){return t&&t.hasOwnProperty(Ic)?t[Ic]:null}var Nc=re({\u0275prov:re}),Ic=re({\u0275inj:re}),y=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=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function kf(t){return t&&!!t.\u0275providers}var us=re({\u0275cmp:re}),ds=re({\u0275dir:re}),Ff=re({\u0275pipe:re}),Pf=re({\u0275mod:re}),ns=re({\u0275fac:re}),Gr=re({__NG_ELEMENT_ID__:re}),Ty=re({__NG_ENV_ID__:re});function Lf(t){return kc(t,"@NgModule"),t[Pf]||null}function hn(t){return kc(t,"@Component"),t[us]||null}function Oc(t){return kc(t,"@Directive"),t[ds]||null}function Oy(t){return kc(t,"@Pipe"),t[Ff]||null}function kc(t,n){if(t==null)throw new b(-919,!1)}function Se(t){return typeof t=="string"?t:t==null?"":String(t)}var ky=re({ngErrorCode:re}),eT=re({ngErrorMessage:re}),tT=re({ngTokenPath:re});function jf(t,n){return Fy("",-200,n)}function Fc(t,n){throw new b(-201,!1)}function Fy(t,n,e){let r=new b(n,t);return r[ky]=n,r[eT]=t,e&&(r[tT]=e),r}function nT(t){return t[ky]}var Ef;function Py(){return Ef}function tt(t){let n=Ef;return Ef=t,n}function Vf(t,n,e){let r=ls(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Fc(t,"")}var rT={},Ur=rT,oT="__NG_DI_FLAG__",wf=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=Hr(e)||0;try{return this.injector.get(n,r&8?null:Ur,r)}catch(o){if(Po(o))return o;throw o}}};function iT(t,n=0){let e=Ec();if(e===void 0)throw new b(-203,!1);if(e===null)return Vf(t,void 0,n);{let r=sT(n),o=e.retrieve(t,r);if(Po(o)){if(r.optional)return null;throw o}return o}}function w(t,n=0){return(Py()||iT)(ke(t),n)}function f(t,n){return w(t,Hr(n))}function Hr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function sT(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Cf(t){let n=[];for(let e=0;e<t.length;e++){let r=ke(t[e]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=aT(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(w(o,i))}else n.push(w(r))}return n}function aT(t){return t[oT]}function ur(t,n){let e=t.hasOwnProperty(ns);return e?t[ns]:null}function Ly(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=n[r];if(e&&(o=e(o),i=e(i)),i!==o)return!1}return!0}function jy(t){return t.flat(Number.POSITIVE_INFINITY)}function Pc(t,n){t.forEach(e=>Array.isArray(e)?Pc(e,n):n(e))}function Bf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function fs(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Vy(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function By(t,n,e,r){let o=t.length;if(o==n)t.push(e,r);else if(o===1)t.push(r,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let i=o-2;t[o]=t[i],o--}t[n]=e,t[n+1]=r}}function Lc(t,n,e){let r=jo(t,n);return r>=0?t[r|1]=e:(r=~r,By(t,r,n,e)),r}function jc(t,n){let e=jo(t,n);if(e>=0)return t[e|1]}function jo(t,n){return cT(t,n,1)}function cT(t,n,e){let r=0,o=t.length>>e;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<e];if(n===s)return i<<e;s>n?o=i:r=i+1}return~(o<<e)}var Bt={},Ye=[],Wr=new y(""),Uf=new y("",-1),Hf=new y(""),rs=class{get(n,e=Ur){if(e===Ur){let o=Fy("",-201);throw o.name="\u0275NotFound",o}return e}};function hr(t){return{\u0275providers:t}}function Uy(...t){return{\u0275providers:$f(!0,t),\u0275fromNgModule:!0}}function $f(t,...n){let e=[],r=new Set,o,i=s=>{e.push(s)};return Pc(n,s=>{let a=s;Sc(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Hy(o,i),e}function Hy(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:o}=t[e];zf(o,i=>{n(i,r)})}}function Sc(t,n,e,r){if(t=ke(t),!t)return!1;let o=null,i=Df(t),s=!i&&hn(t);if(!i&&!s){let c=t.ngModule;if(i=Df(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Sc(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Pc(i.imports,u=>{Sc(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Hy(l,n)}if(!a){let l=ur(o)||(()=>new o);n({provide:o,useFactory:l,deps:Ye},o),n({provide:Hf,useValue:o,multi:!0},o),n({provide:Wr,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;zf(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function zf(t,n){for(let e of t)kf(e)&&(e=e.\u0275providers),Array.isArray(e)?zf(e,n):n(e)}var lT=re({provide:String,useValue:re});function $y(t){return t!==null&&typeof t=="object"&&lT in t}function uT(t){return!!(t&&t.useExisting)}function dT(t){return!!(t&&t.useFactory)}function $r(t){return typeof t=="function"}function zy(t){return!!t.useClass}var hs=new y(""),wc={},xy={},_f;function Vo(){return _f===void 0&&(_f=new rs),_f}var oe=class{},zr=class extends oe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,o){super(),this.parent=e,this.source=r,this.scopes=o,Sf(n,s=>this.processProvider(s)),this.records.set(Uf,Lo(void 0,this)),o.has("environment")&&this.records.set(oe,Lo(void 0,this));let i=this.records.get(hs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hf,Ye,{self:!0}))}retrieve(n,e){let r=Hr(e)||0;try{return this.get(n,Ur,r)}catch(o){if(Po(o))return o;throw o}}destroy(){ts(this),this._destroyed=!0;let n=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(n)}}onDestroy(n){return ts(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ts(this);let e=dn(this),r=tt(void 0),o;try{return n()}finally{dn(e),tt(r)}}get(n,e=Ur,r){if(ts(this),n.hasOwnProperty(Ty))return n[Ty](this);let o=Hr(r),i,s=dn(this),a=tt(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=gT(n)&&ls(n);u&&this.injectableDefInScope(u)?l=Lo(If(n),wc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Vo():this.parent;return e=o&8&&e===Ur?null:e,c.get(n,e)}catch(c){let l=nT(c);throw l===-200||l===-201?new b(l,null):c}finally{tt(a),dn(s)}}resolveInjectorInitializers(){let n=T(null),e=dn(this),r=tt(void 0),o;try{let i=this.get(Wr,Ye,{self:!0});for(let s of i)s()}finally{dn(e),tt(r),T(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=ke(n);let e=$r(n)?n:ke(n&&n.provide),r=hT(n);if(!$r(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Lo(void 0,wc,!0),o.factory=()=>Cf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=T(null);try{if(e.value===xy)throw jf("");return e.value===wc&&(e.value=xy,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&mT(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{T(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=ke(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 If(t){let n=ls(t),e=n!==null?n.factory:ur(t);if(e!==null)return e;if(t instanceof y)throw new b(-204,!1);if(t instanceof Function)return fT(t);throw new b(-204,!1)}function fT(t){if(t.length>0)throw new b(-204,!1);let e=JM(t);return e!==null?()=>e.factory(t):()=>new t}function hT(t){if($y(t))return Lo(void 0,t.useValue);{let n=Gf(t);return Lo(n,wc)}}function Gf(t,n,e){let r;if($r(t)){let o=ke(t);return ur(o)||If(o)}else if($y(t))r=()=>ke(t.useValue);else if(dT(t))r=()=>t.useFactory(...Cf(t.deps||[]));else if(uT(t))r=(o,i)=>w(ke(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ke(t&&(t.useClass||t.provide));if(pT(t))r=()=>new o(...Cf(t.deps));else return ur(o)||If(o)}return r}function ts(t){if(t.destroyed)throw new b(-205,!1)}function Lo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function pT(t){return!!t.deps}function mT(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function gT(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Sf(t,n){for(let e of t)Array.isArray(e)?Sf(e,n):e&&kf(e)?Sf(e.\u0275providers,n):n(e)}function Pe(t,n){let e;t instanceof zr?(ts(t),e=t):e=new wf(t);let r,o=dn(e),i=tt(void 0);try{return n()}finally{dn(o),tt(i)}}function Wf(){return Py()!==void 0||Ec()!=null}var Ut=0,N=1,j=2,Fe=3,Mt=4,nt=5,qr=6,Bo=7,ge=8,Pn=9,Ht=10,se=11,Uo=12,qf=13,Yr=14,Ke=15,pr=16,Zr=17,pn=18,Ln=19,Yf=20,Fn=21,Vc=22,dr=23,pt=24,Kr=25,mr=26,de=27,Gy=1,Zf=6,gr=7,ps=8,Qr=9,ve=10;function jn(t){return Array.isArray(t)&&typeof t[Gy]=="object"}function $t(t){return Array.isArray(t)&&t[Gy]===!0}function Kf(t){return(t.flags&4)!==0}function mn(t){return t.componentOffset>-1}function Ho(t){return(t.flags&1)===1}function zt(t){return!!t.template}function $o(t){return(t[j]&512)!==0}function Xr(t){return(t[j]&256)===256}var J=(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[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(J||{}),Cc,os="svg",Qf="math";function Wy(){return Cc||(Cc={},lr(J.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),lr(J.STYLE,void 0,[["*",["style"]]]),lr(J.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),lr(J.URL,Qf,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),lr(J.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),lr(J.URL,os,[["a",["href","xlink:href"]]]),lr(J.ATTRIBUTE_NO_BINDING,os,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),lr(J.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Cc}function lr(t,n,e){for(let[r,o]of e){let i=n&&r!=="unknown"?`:${n}:${r}`:r;i=i.toLowerCase();for(let s of o)Cc[`${i}|${s.toLowerCase()}`]=t}}function qy(t,n,e){let r=Wy(),o=t.toLowerCase(),i=n.toLowerCase(),s=e&&o!=="*"&&o!=="unknown"?r[`:${e}:${o}|${i}`]:void 0,a=e?r[`:${e}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??J.NONE}function Tt(t){for(;Array.isArray(t);)t=t[Ut];return t}function Xf(t,n){return Tt(n[t])}function mt(t,n){return Tt(n[t.index])}function Bc(t,n){return t.data[n]}function ms(t,n){return t[n]}function Jf(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function xt(t,n){let e=n[t];return jn(e)?e:e[Ut]}function Yy(t){return(t[j]&4)===4}function Uc(t){return(t[j]&128)===128}function Zy(t){return $t(t[Fe])}function gt(t,n){return n==null?null:t[n]}function eh(t){t[Zr]=0}function th(t){t[j]&1024||(t[j]|=1024,Uc(t)&&Jr(t))}function Ky(t,n){for(;t>0;)n=n[Yr],t--;return n}function gs(t){return!!(t[j]&9216||t[pt]?.dirty)}function Hc(t){t[Ht].changeDetectionScheduler?.notify(8),t[j]&64&&(t[j]|=1024),gs(t)&&Jr(t)}function Jr(t){t[Ht].changeDetectionScheduler?.notify(0);let n=fr(t);for(;n!==null&&!(n[j]&8192||(n[j]|=8192,!Uc(n)));)n=fr(n)}function nh(t,n){if(Xr(t))throw new b(911,!1);t[Fn]===null&&(t[Fn]=[]),t[Fn].push(n)}function Qy(t,n){if(t[Fn]===null)return;let e=t[Fn].indexOf(n);e!==-1&&t[Fn].splice(e,1)}function fr(t){let n=t[Fe];return $t(n)?n[Fe]:n}function rh(t){return t[Bo]??=[]}function oh(t){return t.cleanup??=[]}function Xy(t,n,e,r){let o=rh(n);o.push(e),t.firstCreatePass&&oh(t).push(r,o.length-1)}var U={lFrame:db(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Mf=!1;function Jy(){return U.lFrame.elementDepthCount}function eb(){U.lFrame.elementDepthCount++}function ih(){U.lFrame.elementDepthCount--}function $c(){return U.bindingsEnabled}function sh(){return U.skipHydrationRootTNode!==null}function ah(t){return U.skipHydrationRootTNode===t}function ch(){U.skipHydrationRootTNode=null}function I(){return U.lFrame.lView}function le(){return U.lFrame.tView}function tb(t){return U.lFrame.contextLView=t,t[ge]}function nb(t){return U.lFrame.contextLView=null,t}function Me(){let t=lh();for(;t!==null&&t.type===64;)t=t.parent;return t}function lh(){return U.lFrame.currentTNode}function rb(){let t=U.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function zo(t,n){let e=U.lFrame;e.currentTNode=t,e.isParent=n}function uh(){return U.lFrame.isParent}function dh(){U.lFrame.isParent=!1}function ob(){return U.lFrame.contextLView}function fh(){return Mf}function is(t){let n=Mf;return Mf=t,n}function gn(){let t=U.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function vs(){return U.lFrame.bindingIndex}function ib(t){return U.lFrame.bindingIndex=t}function Vn(){return U.lFrame.bindingIndex++}function eo(t){let n=U.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function sb(){return U.lFrame.inI18n}function ab(t,n){let e=U.lFrame;e.bindingIndex=e.bindingRootIndex=t,zc(n)}function cb(){return U.lFrame.currentDirectiveIndex}function zc(t){U.lFrame.currentDirectiveIndex=t}function lb(t){let n=U.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Gc(){return U.lFrame.currentQueryIndex}function ys(t){U.lFrame.currentQueryIndex=t}function vT(t){let n=t[N];return n.type===2?n.declTNode:n.type===1?t[nt]:null}function hh(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=vT(i),o===null||(i=i[Yr],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=U.lFrame=ub();return r.currentTNode=n,r.lView=t,!0}function Wc(t){let n=ub(),e=t[N];U.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function ub(){let t=U.lFrame,n=t===null?null:t.child;return n===null?db(t):n}function db(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 fb(){let t=U.lFrame;return U.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ph=fb;function qc(){let t=fb();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 hb(t){return(U.lFrame.contextLView=Ky(t,U.lFrame.contextLView))[ge]}function at(){return U.lFrame.selectedIndex}function vr(t){U.lFrame.selectedIndex=t}function to(){let t=U.lFrame;return Bc(t.tView,t.selectedIndex)}function pb(){U.lFrame.currentNamespace=os}function mb(){yT()}function yT(){U.lFrame.currentNamespace=null}function mh(){return U.lFrame.currentNamespace}var gb=!0;function Yc(){return gb}function bs(t){gb=t}function Tf(t,n=null,e=null,r){let o=gh(t,n,e,r);return o.resolveInjectorInitializers(),o}function gh(t,n=null,e=null,r,o=new Set){let i=[e||Ye,Uy(t)],s;return new zr(i,n||Vo(),s||null,o)}var W=class t{static THROW_IF_NOT_FOUND=Ur;static NULL=new rs;static create(n,e){if(Array.isArray(n))return Tf({name:""},e,n,"");{let r=n.name??"";return Tf({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>w(Uf)});static __NG_ELEMENT_ID__=-1},k=new y(""),He=(()=>{class t{static __NG_ELEMENT_ID__=bT;static __NG_ENV_ID__=e=>e}return t})(),Mc=class extends He{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Xr(this._lView)}onDestroy(n){let e=this._lView;return nh(e,n),()=>Qy(e,n)}};function bT(){return new Mc(I())}var vb=!1,yb=new y(""),Bn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Re(!1);debugTaskTracker=f(yb,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new P(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=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),xf=class extends R{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Wf()&&(this.destroyRef=f(He,{optional:!0})??void 0,this.pendingTasks=f(Bn,{optional:!0})??void 0)}emit(n){let e=T(null);try{super.next(n)}finally{T(e)}}subscribe(n,e,r){let o=n,i=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof G&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},H=xf;function Tc(...t){}function vh(t){let n,e;function r(){t=Tc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function bb(t){return queueMicrotask(()=>t()),()=>{t=Tc}}var yh="isAngularZone",ss=yh+"_ID",_T=0,V=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=vb}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,wT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yh)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new b(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,DT,Tc,Tc);try{return i.runTask(s,e,r)}finally{i.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},DT={};function bh(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 ET(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){vh(()=>{t.callbackScheduled=!1,Af(t),t.isCheckStableRunning=!0,bh(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Af(t)}function wT(t){let n=()=>{ET(t)},e=_T++;t._inner=t._inner.fork({name:"angular",properties:{[yh]:!0,[ss]:e,[ss+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(CT(c))return r.invokeTask(i,s,a,c);try{return Ay(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Ry(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Ay(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!IT(c)&&n(),Ry(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Af(t),bh(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Af(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ay(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ry(t){t._nesting--,bh(t)}var as=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,o){return n.apply(e,r)}};function CT(t){return _b(t,"__ignore_ng_zone__")}function IT(t){return _b(t,"__scheduler_tick__")}function _b(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Ze=class{_console=console;handleError(n){this._console.error("ERROR",n)}},vt=new y("",{factory:()=>{let t=f(V),n=f(oe),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(Ze),e.handleError(r))})}}}),Db={provide:Wr,useValue:()=>{let t=f(Ze,{optional:!0})},multi:!0};function Q(t,n){let[e,r,o]=mf(t,n?.equal),i=e,s=i[me];return i.set=r,i.update=o,i.asReadonly=_s.bind(i),i}function _s(){let t=this[me];if(t.readonlyFn===void 0){let n=()=>this();n[me]=t,t.readonlyFn=n}return t.readonlyFn}var Go=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=ST}return t})();function ST(){return new Go(I(),Me())}var fn=class{},Ds=new y("",{factory:()=>!0});var _h=new y(""),Wo=(()=>{class t{internalPendingTasks=f(Bn);scheduler=f(fn);errorHandler=f(vt);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Zc=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Rf})}return t})(),Rf=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,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},xc=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Es(t,n){let e=n?.injector??f(W),r=n?.manualCleanup!==!0?e.get(He):null,o,i=e.get(Go,null,{optional:!0}),s=e.get(fn);return i!==null?(o=xT(i.view,s,t),r instanceof Mc&&r._lView===i.view&&(r=null)):o=AT(t,e.get(Zc),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new xc(o)}var Eb=F(g({},gf),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=is(!1);try{vf(this)}finally{is(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(t)}}}),MT=F(g({},Eb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ar(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),TT=F(g({},Eb),{consumerMarkedDirty(){this.view[j]|=8192,Jr(this.view),this.notifier.notify(13)},destroy(){if(ar(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[dr]?.delete(this)}});function xT(t,n,e){let r=Object.create(TT);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=wb(r,e),t[dr]??=new Set,t[dr].add(r),r.consumerMarkedDirty(r),r}function AT(t,n,e){let r=Object.create(MT);return r.fn=wb(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function wb(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Os(t){return{toString:t}.toString()}function LT(t){return typeof t=="function"}function a_(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var il=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},ze=(()=>{let t=()=>c_;return t.ngInherit=!0,t})();function c_(t){return t.type.prototype.ngOnChanges&&(t.setInput=VT),jT}function jT(){let t=u_(this),n=t?.current;if(n){let e=t.previous;if(e===Bt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function VT(t,n,e,r,o){let i=this.declaredInputs[r],s=u_(t)||BT(t,{previous:Bt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new il(l&&l.currentValue,e,c===Bt),a_(t,n,o,e)}var l_="__ngSimpleChanges__";function u_(t){return t[l_]||null}function BT(t,n){return t[l_]=n}var Cb=[];var ie=function(t,n=null,e){for(let r=0;r<Cb.length;r++){let o=Cb[r];o(t,n,e)}},ee=(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})(ee||{});function UT(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=c_(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),i&&((e.preOrderHooks??=[]).push(t,i),(e.preOrderCheckHooks??=[]).push(t,i))}function d_(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let i=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function el(t,n,e){f_(t,n,3,e)}function tl(t,n,e,r){(t[j]&3)===e&&f_(t,n,e,r)}function Dh(t,n){let e=t[j];(e&3)===n&&(e&=16383,e+=1,t[j]=e)}function f_(t,n,e,r){let o=r!==void 0?t[Zr]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(t[Zr]+=65536),(a<i||i==-1)&&(HT(t,e,n,c),t[Zr]=(t[Zr]&4294901760)+c+2),c++}function Ib(t,n){ie(ee.LifecycleHookStart,t,n);let e=T(null);try{n.call(t)}finally{T(e),ie(ee.LifecycleHookEnd,t,n)}}function HT(t,n,e,r){let o=e[r]<0,i=e[r+1],s=o?-e[r]:e[r],a=t[s];o?t[j]>>14<t[Zr]>>16&&(t[j]&3)===n&&(t[j]+=16384,Ib(a,i)):Ib(a,i)}var Yo=-1,ro=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=e,this.injectImpl=r}};function $T(t){return(t.flags&8)!==0}function zT(t){return(t.flags&16)!==0}function GT(t,n,e){let r=0;for(;r<e.length;){let o=e[r];if(typeof o=="number"){if(o!==0)break;r++;let i=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,i)}else{let i=o,s=e[++r];WT(i)?t.setProperty(n,i,s):t.setAttribute(n,i,s),r++}}return r}function h_(t){return t===3||t===4||t===6}function WT(t){return t.charCodeAt(0)===64}function Zo(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?e=o:e===0||(e===-1||e===2?Sb(t,e,o,null,n[++r]):Sb(t,e,o,null,null))}}return t}function Sb(t,n,e,r,o){let i=0,s=t.length;if(n===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===e){o!==null&&(t[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(t.splice(s,0,n),i=s+1),t.splice(i++,0,e),o!==null&&t.splice(i++,0,o)}function p_(t){return t!==Yo}function sl(t){return t&32767}function qT(t){return t>>16}function al(t,n){let e=qT(t),r=n;for(;e>0;)r=r[Yr],e--;return r}var Nh=!0;function cl(t){let n=Nh;return Nh=t,n}var YT=256,m_=YT-1,g_=5,ZT=0,vn={};function KT(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Gr)&&(r=e[Gr]),r==null&&(r=e[Gr]=ZT++);let o=r&m_,i=1<<o;n.data[t+(o>>g_)]|=i}function ll(t,n){let e=v_(t,n);if(e!==-1)return e;let r=n[N];r.firstCreatePass&&(t.injectorIndex=n.length,Eh(r.data,t),Eh(n,null),Eh(r.blueprint,null));let o=gp(t,n),i=t.injectorIndex;if(p_(o)){let s=sl(o),a=al(o,n),c=a[N].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Eh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function v_(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function gp(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,o=n;for(;o!==null;){if(r=E_(o),r===null)return Yo;if(e++,o=o[Yr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Yo}function Oh(t,n,e){KT(t,n,e)}function QT(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,o=0;for(;o<r;){let i=e[o];if(h_(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof e[o]=="string";)o++;else{if(i===n)return e[o+1];o=o+2}}}return null}function y_(t,n,e){if(e&8||t!==void 0)return t;Fc(n,"NodeInjector")}function b_(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let o=t[Pn],i=tt(void 0);try{return o?o.get(n,r,e&8):Vf(n,r,e&8)}finally{tt(i)}}return y_(r,n,e)}function __(t,n,e,r=0,o){if(t!==null){if(n[j]&2048&&!(r&2)){let s=t0(t,n,e,r,vn);if(s!==vn)return s}let i=D_(t,n,e,r,vn);if(i!==vn)return i}return b_(n,e,r,o)}function D_(t,n,e,r,o){let i=JT(e);if(typeof i=="function"){if(!hh(n,t,r))return r&1?y_(o,e,r):b_(n,e,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Fc(e);else return s}finally{ph()}}else if(typeof i=="number"){let s=null,a=v_(t,n),c=Yo,l=r&1?n[Ke][nt]:null;for((a===-1||r&4)&&(c=a===-1?gp(t,n):n[a+8],c===Yo||!Tb(r,!1)?a=-1:(s=n[N],a=sl(c),n=al(c,n)));a!==-1;){let u=n[N];if(Mb(i,a,u.data)){let d=XT(a,n,e,s,r,l);if(d!==vn)return d}c=n[a+8],c!==Yo&&Tb(r,n[N].data[a+8]===l)&&Mb(i,a,n)?(s=u,a=sl(c),n=al(c,n)):a=-1}}return o}function XT(t,n,e,r,o,i){let s=n[N],a=s.data[t+8],c=r==null?mn(a)&&Nh:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=nl(a,s,e,c,l);return u!==null?Ms(n,s,u,a,o):vn}function nl(t,n,e,r,o){let i=t.providerIndexes,s=n.data,a=i&1048575,c=t.directiveStart,l=t.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&e===m||p>=c&&m.type===e)return p}if(o){let p=s[c];if(p&&zt(p)&&p.type===e)return c}return null}function Ms(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof ro){let a=i;if(a.resolving)throw jf("");let c=cl(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?tt(a.injectImpl):null,h=hh(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&UT(e,s[e],n)}finally{d!==null&&tt(d),cl(c),a.resolving=!1,ph()}}return i}function JT(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Gr)?t[Gr]:void 0;return typeof n=="number"?n>=0?n&m_:e0:n}function Mb(t,n,e){let r=1<<t;return!!(e[n+(t>>g_)]&r)}function Tb(t,n){return!(t&2)&&!(t&1&&n)}var no=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return __(this._tNode,this._lView,n,Hr(r),e)}};function e0(){return new no(Me(),I())}function Te(t){return Os(()=>{let n=t.prototype.constructor,e=n[ns]||kh(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[ns]||kh(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function kh(t){return Nf(t)?()=>{let n=kh(ke(t));return n&&n()}:ur(t)}function t0(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[j]&2048&&!$o(s);){let a=D_(i,s,e,r|2,vn);if(a!==vn)return a;let c=i.parent;if(!c){let l=s[Yf];if(l){let u=l.get(e,vn,r&-5);if(u!==vn)return u}c=E_(s),s=s[Yr]}i=c}return o}function E_(t){let n=t[N],e=n.type;return e===2?n.declTNode:e===1?t[nt]:null}function ks(t){return QT(Me(),t)}function n0(){return ti(Me(),I())}function ti(t,n){return new z(mt(t,n))}var z=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=n0}return t})();function w_(t){return t instanceof z?t.nativeElement:t}function r0(){return this._results[Symbol.iterator]()}var Un=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 R}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 r=jy(n);(this._changesDetected=!Ly(this._results,r,e))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=r0};function C_(t){return(t.flags&128)===128}var vp=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(vp||{}),I_=new Map,o0=0;function i0(){return o0++}function s0(t){I_.set(t[Ln],t)}function Fh(t){I_.delete(t[Ln])}var xb="__ngContext__";function Ko(t,n){jn(n)?(t[xb]=n[Ln],s0(n)):t[xb]=n}function S_(t){return T_(t[Uo])}function M_(t){return T_(t[Mt])}function T_(t){for(;t!==null&&!$t(t);)t=t[Mt];return t}var Ph;function yp(t){Ph=t}function x_(){if(Ph!==void 0)return Ph;if(typeof document<"u")return document;throw new b(210,!1)}var _r=new y("",{factory:()=>a0}),a0="ng";var wl=new y(""),so=new y("",{providedIn:"platform",factory:()=>"unknown"}),Fs=new y(""),ao=new y("",{factory:()=>f(k).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var A_="r";var R_="di";var bp=new y(""),N_=!1,O_=new y("",{factory:()=>N_});var Cl=new y("");var Ab=new WeakMap;function c0(t,n){if(t==null||typeof t!="object")return;let e=Ab.get(t);e||(e=new WeakSet,Ab.set(t,e)),e.add(n)}var l0=(t,n,e,r)=>{};function u0(t,n,e,r){l0(t,n,e,r)}function Il(t){return(t.flags&32)===32}var d0=()=>null;function k_(t,n,e=!1){return d0(t,n,e)}function F_(t,n){let e=t.contentQueries;if(e!==null){let r=T(null);try{for(let o=0;o<e.length;o+=2){let i=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];ys(i),a.contentQueries(2,n[s],s)}}}finally{T(r)}}}function Lh(t,n,e){ys(0);let r=T(null);try{n(t,e)}finally{T(r)}}function _p(t,n,e){if(Kf(n)){let r=T(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=e[s];a.contentQueries(1,c,s)}}}finally{T(r)}}}var qt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(qt||{});var f0="svg",h0="math",p0={"http://www.w3.org/2000/svg":f0,"http://www.w3.org/1998/Math/MathML":h0},Kc;function m0(){if(Kc===void 0&&(Kc=null,we.trustedTypes))try{Kc=we.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Kc}function Sl(t){return m0()?.createHTML(t)||t}var Qc;function P_(){if(Qc===void 0&&(Qc=null,we.trustedTypes))try{Qc=we.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Qc}function Rb(t){return P_()?.createHTML(t)||t}function Nb(t){return P_()?.createScriptURL(t)||t}var Hn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ac})`}},jh=class extends Hn{getTypeName(){return"HTML"}},Vh=class extends Hn{getTypeName(){return"Style"}},Bh=class extends Hn{getTypeName(){return"Script"}},Uh=class extends Hn{getTypeName(){return"URL"}},Hh=class extends Hn{getTypeName(){return"ResourceURL"}};function bt(t){return t instanceof Hn?t.changingThisBreaksApplicationSecurity:t}function bn(t,n){let e=L_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Ac})`)}return e===n}function L_(t){return t instanceof Hn&&t.getTypeName()||null}function Dp(t){return new jh(t)}function Ep(t){return new Vh(t)}function wp(t){return new Bh(t)}function Cp(t){return new Uh(t)}function Ip(t){return new Hh(t)}function g0(t){let n=new zh(t);return v0()?new $h(n):n}var $h=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Sl(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},zh=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=Sl(n),e}};function v0(){try{return!!new window.DOMParser().parseFromString(Sl(""),"text/html")}catch{return!1}}var y0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ps(t){return t=String(t),t.match(y0)?t:"unsafe:"+t}function $n(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Ls(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var j_=$n("area,br,col,hr,img,wbr"),V_=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),B_=$n("rp,rt"),b0=Ls(B_,V_),_0=Ls(V_,$n("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")),D0=Ls(B_,$n("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")),Ob=Ls(j_,_0,D0,b0),U_=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),E0=$n("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"),w0=$n("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"),C0=Ls(U_,E0,w0),I0=$n("script,style,template"),Gh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){o.push(e),e=T0(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=M0(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=kb(n).toLowerCase();if(!Ob.hasOwnProperty(e))return this.sanitizedSomething=!0,!I0.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!C0.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;U_[a]&&(c=Ps(c)),this.buf.push(" ",s,'="',Fb(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=kb(n).toLowerCase();Ob.hasOwnProperty(e)&&!j_.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Fb(n))}};function S0(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function M0(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw H_(n);return n}function T0(t){let n=t.firstChild;if(n&&S0(t,n))throw H_(n);return n}function kb(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function H_(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var x0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,A0=/([^\#-~ |!])/g;function Fb(t){return t.replace(/&/g,"&").replace(x0,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(A0,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Xc;function Ml(t,n){let e=null;try{Xc=Xc||g0(t);let r=n?String(n):"";e=Xc.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=e.innerHTML,e=Xc.getInertBodyElement(r)}while(r!==i);let a=new Gh().sanitizeChildren(Pb(e)||e);return Sl(a)}finally{if(e){let r=Pb(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Pb(t){return"content"in t&&R0(t)?t.content:null}function R0(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var N0=/^>|^->|<!--|-->|--!>|<!-$/g,O0=/(<|>)/g,k0="\u200B$1\u200B";function F0(t){return t.replace(N0,n=>n.replace(O0,k0))}function P0(t,n){return t.createText(n)}function L0(t,n,e){t.setValue(n,e)}function j0(t,n){return t.createComment(F0(n))}function $_(t,n,e){return t.createElement(n,e)}function ul(t,n,e,r,o){t.insertBefore(n,e,r,o)}function z_(t,n,e){t.appendChild(n,e)}function Lb(t,n,e,r,o){r!==null?ul(t,n,e,r,o):z_(t,n,e)}function G_(t,n,e,r){t.removeChild(null,n,e,r)}function V0(t,n,e){t.setAttribute(n,"style",e)}function B0(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function W_(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&>(t,n,r),o!==null&&B0(t,n,o),i!==null&&V0(t,n,i)}function U0(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function H0(t,n,e){if(n!==void 0&&e!==void 0&&Z_(n,e)!==J.HTML)return t;let r=Mp();return r?Rb(r.sanitize(J.HTML,t)||""):bn(t,"HTML")?Rb(bt(t)):Ml(x_(),Se(t))}function q_(t){let n=Mp();return n?n.sanitize(J.URL,t)||"":bn(t,"URL")?bt(t):Ps(Se(t))}function Y_(t){let n=Mp();if(n)return Nb(n.sanitize(J.RESOURCE_URL,t)||"");if(bn(t,"ResourceURL"))return Nb(bt(t));throw new b(904,!1)}function $0(t,n){switch(Z_(t,n)){case J.RESOURCE_URL:return Y_;case J.URL:return q_;default:return null}}function Sp(t,n,e){return $0(n,e)?.(t)??t}function Mp(){let t=I();return t&&t[Ht].sanitizer}function Z_(t,n){let[e,r]=z0(t);return qy(r,n,e)}function z0(t){t=t.toLowerCase();let n=U0(t,!1);if(n[0])return n;let r=at()===-1?null:to(),o=r?.namespace;if(t==="#host"&&r?.type===2){let i=mt(r,I());if(i.tagName&&(t=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&p0[s]}}return[o,t]}function G0(t){return t.ownerDocument.defaultView}function W0(t){return t.ownerDocument}function K_(t){return t instanceof Function?t():t}function q0(t,n,e){let r=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}e=o+1}}var Q_="ng-template";function Y0(t,n,e,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&q0(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Tp(t))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===e)return!0}return!1}function Tp(t){return t.type===4&&t.value!==Q_}function Z0(t,n,e){let r=t.type===4&&!e?Q_:t.value;return n===r}function K0(t,n,e){let r=4,o=t.attrs,i=o!==null?J0(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Gt(r)&&!Gt(c))return!1;if(s&&Gt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Z0(t,c,e)||c===""&&n.length===1){if(Gt(r))return!1;s=!0}}else if(r&8){if(o===null||!Y0(t,o,c,e)){if(Gt(r))return!1;s=!0}}else{let l=n[++a],u=Q0(c,o,Tp(t),e);if(u===-1){if(Gt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Gt(r))return!1;s=!0}}}}return Gt(r)||s}function Gt(t){return(t&1)===0}function Q0(t,n,e,r){if(n===null)return-1;let o=0;if(r||!e){let i=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return ex(n,t)}function X_(t,n,e=!1){for(let r=0;r<n.length;r++)if(K0(t,n[r],e))return!0;return!1}function X0(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function J0(t){for(let n=0;n<t.length;n++){let e=t[n];if(h_(e))return n}return t.length}function ex(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function tx(t,n){e:for(let e=0;e<n.length;e++){let r=n[e];if(t.length===r.length){for(let o=0;o<t.length;o++)if(t[o]!==r[o])continue e;return!0}}return!1}function jb(t,n){return t?":not("+n.trim()+")":n}function nx(t){let n=t[0],e=1,r=2,o="",i=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Gt(s)&&(n+=jb(i,o),o=""),r=s,i=i||!Gt(r);e++}return o!==""&&(n+=jb(i,o)),n}function rx(t){return t.map(nx).join(",")}function ox(t){let n=[],e=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&n.push(i,t[++r]):o===8&&e.push(i);else{if(!Gt(o))break;o=i}r++}return e.length&&n.push(1,...e),n}var ye={};function xp(t,n,e,r,o,i,s,a,c,l,u){let d=de+r,h=d+o,p=ix(d,h),m=typeof l=="function"?l():l;return p[N]={type:t,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,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 i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function ix(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:ye);return e}function sx(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=xp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Ap(t,n,e,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[Ut]=o,d[j]=r|4|128|8|64|1024,(l!==null||t&&t[j]&2048)&&(d[j]|=2048),eh(d),d[Fe]=d[Yr]=t,d[ge]=e,d[Ht]=s||t&&t[Ht],d[se]=a||t&&t[se],d[Pn]=c||t&&t[Pn]||null,d[nt]=i,d[Ln]=i0(),d[qr]=u,d[Yf]=l,d[Ke]=n.type==2?t[Ke]:d,d}function ax(t,n,e){let r=mt(n,t),o=sx(e),i=t[Ht].rendererFactory,s=Rp(t,Ap(t,o,null,J_(e),r,n,null,i.createRenderer(r,e),null,null,null));return t[n.index]=s}function J_(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function eD(t,n,e,r){if(e===0)return-1;let o=n.length;for(let i=0;i<e;i++)n.push(r),t.blueprint.push(r),t.data.push(null);return o}function Rp(t,n){return t[Uo]?t[qf][Mt]=n:t[Uo]=n,t[qf]=n,n}function tD(t=1){nD(le(),I(),at()+t,!1)}function nD(t,n,e,r){if(!r)if((n[j]&3)===3){let i=t.preOrderCheckHooks;i!==null&&el(n,i,e)}else{let i=t.preOrderHooks;i!==null&&tl(n,i,0,e)}vr(e)}var Tl=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Tl||{});function Wh(t,n,e,r){let o=T(null);try{let[i,s,a]=t.inputs[e],c=null;(s&Tl.SignalBased)!==0&&(c=n[i][me]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,c,r,e,i):a_(n,c,i,r)}finally{T(o)}}var Yt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Yt||{}),cx;function Np(t,n){return cx(t,n)}var wG=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var qh=new WeakMap,Cs=new WeakSet;function lx(t,n){let e=qh.get(t);if(!e||e.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=e.length-1;i>=0;i--){let s=e[i],a=s.parentNode;s===n?(e.splice(i,1),Cs.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(e.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function ux(t,n){let e=qh.get(t);e?e.includes(n)||e.push(n):qh.set(t,[n])}var oo=new Set,xl=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(xl||{}),Zt=new y(""),Vb=new Set;function Kt(t){Vb.has(t)||(Vb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Al=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Op=[0,1,2,3],kp=(()=>{class t{ngZone=f(V);scheduler=f(fn);errorHandler=f(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Zt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&ie(ee.AfterRenderHooksStart),this.executing=!0;for(let r of Op)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&ie(ee.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[Kr]??=[]).push(e),Jr(r),r[j]|=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,r){return r?r.run(xl.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ts=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,o,i,s=null){this.impl=n,this.hooks=e,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Kr];n&&(this.view[Kr]=n.filter(e=>e!==this))}};function At(t,n){let e=n?.injector??f(W);return Kt("NgAfterNextRender"),fx(t,e,n,!0)}function dx(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function fx(t,n,e,r){let o=n.get(Al);o.impl??=n.get(kp);let i=n.get(Zt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(He):null,a=n.get(Go,null,{optional:!0}),c=new Ts(o.impl,dx(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var rD=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(oe)})});function oD(t,n,e){let r=t.get(rD);if(Array.isArray(n))for(let o of n)r.queue.add(o),e?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function hx(t,n){let e=t.get(rD);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function px(t,n){for(let[e,r]of n)oD(t,r.animateFns)}function Bb(t,n,e,r){let o=t?.[mr]?.enter;n!==null&&o&&o.has(e.index)&&px(r,o)}function qo(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;$t(o)?c=o:jn(o)&&(l=!0,o=o[Ut]);let u=Tt(o);t===0&&r!==null?(Bb(a,r,i,e),s==null?z_(n,r,u):ul(n,r,u,s||null,!0)):t===1&&r!==null?(Bb(a,r,i,e),ul(n,r,u,s||null,!0),lx(i,u)):t===2?(a?.[mr]?.leave?.has(i.index)&&ux(i,u),Cs.delete(u),Ub(a,i,e,d=>{if(Cs.has(u)){Cs.delete(u);return}G_(n,u,l,d)})):t===3&&(Cs.delete(u),Ub(a,i,e,()=>{n.destroyNode(u)})),c!=null&&Ix(n,t,e,c,i,r,s)}}function mx(t,n){iD(t,n),n[Ut]=null,n[nt]=null}function gx(t,n,e,r,o,i){r[Ut]=o,r[nt]=n,Nl(t,r,e,1,o,i)}function iD(t,n){n[Ht].changeDetectionScheduler?.notify(9),Nl(t,n,n[se],2,null,null)}function vx(t){let n=t[Uo];if(!n)return wh(t[N],t);for(;n;){let e=null;if(jn(n))e=n[Uo];else{let r=n[ve];r&&(e=r)}if(!e){for(;n&&!n[Mt]&&n!==t;)jn(n)&&wh(n[N],n),n=n[Fe];n===null&&(n=t),jn(n)&&wh(n[N],n),e=n&&n[Mt]}n=e}}function Fp(t,n){let e=t[Qr],r=e.indexOf(n);e.splice(r,1)}function Rl(t,n){if(Xr(n))return;let e=n[se];e.destroyNode&&Nl(t,n,e,3,null,null),vx(n)}function wh(t,n){if(Xr(n))return;let e=T(null);try{n[j]&=-129,n[j]|=256,n[pt]&&ar(n[pt]),_x(t,n),bx(t,n),n[N].type===1&&n[se].destroy();let r=n[pr];if(r!==null&&$t(n[Fe])){r!==n[Fe]&&Fp(r,n);let o=n[pn];o!==null&&o.detachView(t)}Fh(n)}finally{T(e)}}function Ub(t,n,e,r){let o=t?.[mr];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&oo.add(t[Ln]),oD(e,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),yx(t,r)}else t&&oo.delete(t[Ln]),r(!1)},o)}function yx(t,n){let e=t[mr]?.running;if(e){e.then(()=>{t[mr].running=void 0,oo.delete(t[Ln]),n(!0)});return}n(!1)}function bx(t,n){let e=t.cleanup,r=n[Bo];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[Bo]=null);let o=n[Fn];if(o!==null){n[Fn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[dr];if(i!==null){n[dr]=null;for(let s of i)s.destroy()}}function _x(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let o=n[e[r]];if(!(o instanceof ro)){let i=e[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];ie(ee.LifecycleHookStart,a,c);try{c.call(a)}finally{ie(ee.LifecycleHookEnd,a,c)}}else{ie(ee.LifecycleHookStart,o,i);try{i.call(o)}finally{ie(ee.LifecycleHookEnd,o,i)}}}}}function sD(t,n,e){return Dx(t,n.parent,e)}function Dx(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[Ut];if(mn(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===qt.None||o===qt.Emulated)return null}return mt(r,e)}function aD(t,n,e){return wx(t,n,e)}function Ex(t,n,e){return t.type&40?mt(t,e):null}var wx=Ex,Hb;function Pp(t,n,e,r){let o=sD(t,r,n),i=n[se],s=r.parent||n[nt],a=aD(s,r,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Lb(i,o,e[c],a,!1);else Lb(i,o,e,a,!1);Hb!==void 0&&Hb(i,r,n,e,o)}function Is(t,n){if(n!==null){let e=n.type;if(e&3)return mt(n,t);if(e&4)return Yh(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return Is(t,r);{let o=t[n.index];return $t(o)?Yh(-1,o):Tt(o)}}else{if(e&128)return Is(t,n.next);if(e&32)return Np(n,t)()||Tt(t[n.index]);{let r=cD(t,n);if(r!==null){if(Array.isArray(r))return r[0];let o=fr(t[Ke]);return Is(o,r)}else return Is(t,n.next)}}}return null}function cD(t,n){if(n!==null){let r=t[Ke][nt],o=n.projection;return r.projection[o]}return null}function Yh(t,n){let e=ve+t+1;if(e<n.length){let r=n[e],o=r[N].firstChild;if(o!==null)return Is(r,o)}return n[gr]}function Lp(t,n,e,r,o,i,s){for(;e!=null;){let a=r[Pn];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&Ko(Tt(c),r),e.flags|=2),!Il(e))if(l&8)Lp(t,n,e.child,r,o,i,!1),qo(n,t,a,o,c,e,i,r);else if(l&32){let u=Np(e,r),d;for(;d=u();)qo(n,t,a,o,d,e,i,r);qo(n,t,a,o,c,e,i,r)}else l&16?lD(t,n,r,e,o,i):qo(n,t,a,o,c,e,i,r);e=s?e.projectionNext:e.next}}function Nl(t,n,e,r,o,i){Lp(e,r,t.firstChild,n,o,i,!1)}function Cx(t,n,e){let r=n[se],o=sD(t,e,n),i=e.parent||n[nt],s=aD(i,e,n);lD(r,0,n,e,o,s)}function lD(t,n,e,r,o,i){let s=e[Ke],c=s[nt].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];qo(n,t,e[Pn],o,u,r,i,e)}else{let l=c,u=s[Fe];C_(r)&&(l.flags|=128),Lp(t,n,l,u,o,i,!0)}}function Ix(t,n,e,r,o,i,s){let a=r[gr],c=Tt(r);a!==c&&qo(n,t,e,i,a,o,s);for(let l=ve;l<r.length;l++){let u=r[l];Nl(u[N],u,t,n,i,a)}}function Sx(t,n,e,r,o){if(n)o?t.addClass(e,r):t.removeClass(e,r);else{let i=r.indexOf("-")===-1?void 0:Yt.DashCase;o==null?t.removeStyle(e,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Yt.Important),t.setStyle(e,r,o,i))}}function uD(t,n,e,r,o){let i=at(),s=r&2;try{vr(-1),s&&n.length>de&&nD(t,n,de,!1);let a=s?ee.TemplateUpdateStart:ee.TemplateCreateStart;ie(a,o,e),e(r,o)}finally{vr(i);let a=s?ee.TemplateUpdateEnd:ee.TemplateCreateEnd;ie(a,o,e)}}function Ol(t,n,e){Rx(t,n,e),(e.flags&64)===64&&Nx(t,n,e)}function js(t,n,e=mt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function Mx(t,n,e,r){let i=r.get(O_,N_)||e===qt.ShadowDom||e===qt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,i);return Tx(s),s}function Tx(t){xx(t)}var xx=()=>null;function Ax(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function dD(t,n,e,r,o,i){let s=n[N];if(kl(t,s,n,e,r)){mn(t)&&hD(n,t.index);return}t.type&3&&(e=Ax(e)),fD(t,n,e,r,o,i)}function fD(t,n,e,r,o,i){if(t.type&3){let s=mt(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function hD(t,n){let e=xt(n,t);e[j]&16||(e[j]|=64)}function Rx(t,n,e){let r=e.directiveStart,o=e.directiveEnd;mn(e)&&ax(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||ll(e,n);let i=e.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],c=Ms(n,t,s,e);if(Ko(c,n),i!==null&&Fx(n,s-r,c,a,e,i),zt(a)){let l=xt(e.index,n);l[ge]=Ms(n,t,s,e)}}}function Nx(t,n,e){let r=e.directiveStart,o=e.directiveEnd,i=e.index,s=cb();try{vr(i);for(let a=r;a<o;a++){let c=t.data[a],l=n[a];zc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ox(c,l)}}finally{vr(-1),zc(s)}}function Ox(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function jp(t,n){let e=t.directiveRegistry,r=null;if(e)for(let o=0;o<e.length;o++){let i=e[o];X_(n,i.selectors,!1)&&(r??=[],zt(i)?r.unshift(i):r.push(i))}return r}function kx(t,n,e,r,o,i){let s=mt(t,n);pD(n[se],s,i,t.value,e,r,o)}function pD(t,n,e,r,o,i,s){if(i==null)t.removeAttribute(n,o,e);else{let a=s==null?Se(i):s(i,r||"",o);t.setAttribute(n,o,a,e)}}function Fx(t,n,e,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Wh(r,e,c,l)}}function Vp(t,n,e,r,o){let i=de+e,s=n[N],a=o(s,n,t,r,e);n[i]=a,zo(t,!0);let c=t.type===2;return c?(W_(n[se],a,t),(Jy()===0||Ho(t))&&Ko(a,n),eb()):Ko(a,n),Yc()&&(!c||!Il(t))&&Pp(s,n,a,t),t}function Bp(t){let n=t;return uh()?dh():(n=n.parent,zo(n,!1)),n}function Px(t,n){let e=t[Pn];if(!e)return;let r;try{r=e.get(vt,null)}catch{r=null}r?.(n)}function kl(t,n,e,r,o){let i=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];Wh(d,e[l],u,o),a=!0}if(i)for(let c of i){let l=e[c],u=n.data[c];Wh(u,l,r,o),a=!0}return a}function Lx(t,n){let e=xt(n,t),r=e[N];jx(r,e);let o=e[Ut];o!==null&&e[qr]===null&&(e[qr]=k_(o,e[Pn])),ie(ee.ComponentStart);try{Up(r,e,e[ge])}finally{ie(ee.ComponentEnd,e[ge])}}function jx(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Up(t,n,e){Wc(n);try{let r=t.viewQuery;r!==null&&Lh(1,r,e);let o=t.template;o!==null&&uD(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[pn]?.finishViewCreation(t),t.staticContentQueries&&F_(t,n),t.staticViewQueries&&Lh(2,t.viewQuery,e);let i=t.components;i!==null&&Vx(n,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[j]&=-5,qc()}}function Vx(t,n){for(let e=0;e<n.length;e++)Lx(t,n[e])}function Vs(t,n,e,r){let o=T(null);try{let i=n.tView,a=t[j]&4096?4096:16,c=Ap(t,i,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[pr]=l;let u=t[pn];return u!==null&&(c[pn]=u.createEmbeddedView(i)),Up(i,c,e),c}finally{T(o)}}function Qo(t,n){return!n||n.firstChild===null||C_(t)}function xs(t,n,e,r,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let i=n[e.index];i!==null&&r.push(Tt(i)),$t(i)&&mD(i,r);let s=e.type;if(s&8)xs(t,n,e.child,r);else if(s&32){let a=Np(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=cD(n,e);if(Array.isArray(a))r.push(...a);else{let c=fr(n[Ke]);xs(c[N],c,a,r,!0)}}e=o?e.projectionNext:e.next}return r}function mD(t,n){for(let e=ve;e<t.length;e++){let r=t[e],o=r[N].firstChild;o!==null&&xs(r[N],r,o,n)}t[gr]!==t[Ut]&&n.push(t[gr])}function gD(t){if(t[Kr]!==null){for(let n of t[Kr])n.impl.addSequence(n);t[Kr].length=0}}var vD=[];function Bx(t){return t[pt]??Ux(t)}function Ux(t){let n=vD.pop()??Object.create($x);return n.lView=t,n}function Hx(t){t.lView[pt]!==t&&(t.lView=null,vD.push(t))}var $x=F(g({},ir),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Jr(t.lView)},consumerOnSignalRead(){this.lView[pt]=this}});function zx(t){let n=t[pt]??Object.create(Gx);return n.lView=t,n}var Gx=F(g({},ir),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=fr(t.lView);for(;n&&!yD(n[N]);)n=fr(n);n&&th(n)},consumerOnSignalRead(){this.lView[pt]=this}});function yD(t){return t.type!==2}function bD(t){if(t[dr]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[dr])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[j]&8192)}}var Wx=100;function _D(t,n=0){let r=t[Ht].rendererFactory,o=!1;o||r.begin?.();try{qx(t,n)}finally{o||r.end?.()}}function qx(t,n){let e=fh();try{is(!0),Zh(t,n);let r=0;for(;gs(t);){if(r===Wx)throw new b(103,!1);r++,Zh(t,1)}}finally{is(e)}}function Yx(t,n,e,r){if(Xr(n))return;let o=n[j],i=!1,s=!1;Wc(n);let a=!0,c=null,l=null;i||(yD(t)?(l=Bx(n),c=kn(l)):_c()===null?(a=!1,l=zx(n),c=kn(l)):n[pt]&&(ar(n[pt]),n[pt]=null));try{eh(n),ib(t.bindingStartIndex),e!==null&&uD(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let p=t.preOrderCheckHooks;p!==null&&el(n,p,null)}else{let p=t.preOrderHooks;p!==null&&tl(n,p,0,null),Dh(n,0)}if(s||Zx(n),bD(n),DD(n,0),t.contentQueries!==null&&F_(t,n),!i)if(u){let p=t.contentCheckHooks;p!==null&&el(n,p)}else{let p=t.contentHooks;p!==null&&tl(n,p,1),Dh(n,1)}Qx(t,n);let d=t.components;d!==null&&wD(n,d,0);let h=t.viewQuery;if(h!==null&&Lh(2,h,r),!i)if(u){let p=t.viewCheckHooks;p!==null&&el(n,p)}else{let p=t.viewHooks;p!==null&&tl(n,p,2),Dh(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Vc]){for(let p of n[Vc])p();n[Vc]=null}i||(gD(n),n[j]&=-73)}catch(u){throw i||Jr(n),u}finally{l!==null&&(sr(l,c),a&&Hx(l)),qc()}}function DD(t,n){for(let e=S_(t);e!==null;e=M_(e))for(let r=ve;r<e.length;r++){let o=e[r];ED(o,n)}}function Zx(t){for(let n=S_(t);n!==null;n=M_(n)){if(!(n[j]&2))continue;let e=n[Qr];for(let r=0;r<e.length;r++){let o=e[r];th(o)}}}function Kx(t,n,e){ie(ee.ComponentStart);let r=xt(n,t);try{ED(r,e)}finally{ie(ee.ComponentEnd,r[ge])}}function ED(t,n){Uc(t)&&Zh(t,n)}function Zh(t,n){let r=t[N],o=t[j],i=t[pt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ko(i)),s||=!1,i&&(i.dirty=!1),t[j]&=-9217,s)Yx(r,t,r.template,t[ge]);else if(o&8192){let a=T(null);try{bD(t),DD(t,1);let c=r.components;c!==null&&wD(t,c,1),gD(t)}finally{T(a)}}}function wD(t,n,e){for(let r=0;r<n.length;r++)Kx(t,n[r],e)}function Qx(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let o=e[r];if(o<0)vr(~o);else{let i=o,s=e[++r],a=e[++r];ab(s,i);let c=n[i];ie(ee.HostBindingsUpdateStart,c);try{a(2,c)}finally{ie(ee.HostBindingsUpdateEnd,c)}}}}finally{vr(-1)}}function Hp(t,n){let e=fh()?64:1088;for(t[Ht].changeDetectionScheduler?.notify(n);t;){t[j]|=e;let r=fr(t);if($o(t)&&!r)return t;t=r}return null}function CD(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function ID(t,n){let e=ve+n;if(e<t.length)return t[e]}function Bs(t,n,e,r=!0){let o=n[N];if(Xx(o,n,t,e),r){let s=Yh(e,t),a=n[se],c=a.parentNode(t[gr]);c!==null&&gx(o,t[nt],a,n,c,s)}let i=n[qr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function SD(t,n){let e=As(t,n);return e!==void 0&&Rl(e[N],e),e}function As(t,n){if(t.length<=ve)return;let e=ve+n,r=t[e];if(r){let o=r[pr];o!==null&&o!==t&&Fp(o,r),n>0&&(t[e-1][Mt]=r[Mt]);let i=fs(t,ve+n);mx(r[N],r);let s=i[pn];s!==null&&s.detachView(i[N]),r[Fe]=null,r[Mt]=null,r[j]&=-129}return r}function Xx(t,n,e,r){let o=ve+r,i=e.length;r>0&&(e[o-1][Mt]=n),r<i-ve?(n[Mt]=e[o],Bf(e,ve+r,n)):(e.push(n),n[Mt]=null),n[Fe]=e;let s=n[pr];s!==null&&e!==s&&MD(s,n);let a=n[pn];a!==null&&a.insertView(t),Hc(n),n[j]|=128}function MD(t,n){let e=t[Qr],r=n[Fe];if(jn(r))t[j]|=2;else{let o=r[Fe][Ke];n[Ke]!==o&&(t[j]|=2)}e===null?t[Qr]=[n]:e.push(n)}var yr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[N];return xs(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[ge]}set context(n){this._lView[ge]=n}get destroyed(){return Xr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Fe];if($t(n)){let e=n[ps],r=e?e.indexOf(this):-1;r>-1&&(As(n,r),fs(e,r))}this._attachedToViewContainer=!1}Rl(this._lView[N],this._lView)}onDestroy(n){nh(this._lView,n)}markForCheck(){Hp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[j]&=-129}reattach(){Hc(this._lView),this._lView[j]|=128}detectChanges(){this._lView[j]|=1024,_D(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=$o(this._lView),e=this._lView[pr];e!==null&&!n&&Fp(e,this._lView),iD(this._lView[N],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let e=$o(this._lView),r=this._lView[pr];r!==null&&!e&&MD(r,this._lView),Hc(this._lView)}};var yt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Jx;constructor(e,r,o){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,o){let i=Vs(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new yr(i)}}return t})();function Jx(){return Fl(Me(),I())}function Fl(t,n){return t.type&4?new yt(n,t,ti(t,n)):null}function ni(t,n,e,r,o){let i=t.data[n];if(i===null)i=eA(t,n,e,r,o),sb()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=rb();i.injectorIndex=s===null?-1:s.injectorIndex}return zo(i,!0),i}function eA(t,n,e,r,o){let i=lh(),s=uh(),a=s?i:i&&i.parent,c=t.data[n]=nA(t,a,e,n,r,o);return tA(t,c,i,s),c}function tA(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function nA(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return sh()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:mh(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function rA(t){let n=t[Zf]??[],r=t[Fe][se],o=[];for(let i of n)i.data[R_]!==void 0?o.push(i):oA(i,r);t[Zf]=o}function oA(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[A_];for(;e<o;){let i=r.nextSibling;G_(n,r,!1),r=i,e++}}}var iA=()=>null,sA=()=>null;function dl(t,n){return iA(t,n)}function TD(t,n,e){return sA(t,n,e)}var xD=class{},Pl=class{},Kh=class{resolveComponentFactory(n){throw new b(917,!1)}},Us=class{static NULL=new Kh},$e=class{},Le=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>aA()}return t})();function aA(){let t=I(),n=Me(),e=xt(n.index,t);return(jn(e)?e:t)[se]}var AD=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})();var rl={},Qh=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,rl,r);return o!==rl||e===rl?o:this.parentInjector.get(n,e,r)}};function fl(t,n,e){let r=e?t.styles:null,o=e?t.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Rc(o,a);else if(i==2){let c=a,l=n[++s];r=Rc(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=o:t.classesWithoutHost=o}function E(t,n=0){let e=I();if(e===null)return w(t,n);let r=Me();return __(r,e,ke(t),n)}function $p(){let t="invalid";throw new Error(t)}function RD(t,n,e,r,o){let i=r===null?null:{"":-1},s=o(t,e);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}uA(t,n,e,a,i,c,l)}i!==null&&r!==null&&cA(e,r,i)}function cA(t,n,e){let r=t.localNames=[];for(let o=0;o<n.length;o+=2){let i=e[n[o+1]];if(i==null)throw new b(-301,!1);r.push(n[o],i)}}function lA(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function uA(t,n,e,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&zt(p)&&(c=p,lA(t,e,h)),Oh(ll(e,n),t,p.type)}gA(e,t.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=eD(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(e.mergedAttrs=Zo(e.mergedAttrs,p.hostAttrs),fA(t,e,n,d,p),mA(d,p,o),s!==null&&s.has(p)){let[_,D]=s.get(p);e.directiveToIndex.set(p.type,[d,_+e.directiveStart,D+e.directiveStart])}else(i===null||!i.has(p))&&e.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),d++}dA(t,e,i)}function dA(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=t.data[r];if(e===null||!e.has(o))$b(0,n,o,r),$b(1,n,o,r),Gb(n,r,!1);else{let i=e.get(o);zb(0,n,i,r),zb(1,n,i,r),Gb(n,r,!0)}}}function $b(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),ND(n,i)}}function zb(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ND(n,s)}}function ND(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function Gb(t,n,e){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!e&&o===null||e&&i===null||Tp(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!e&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(e&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function fA(t,n,e,r,o){t.data[r]=o;let i=o.factory||(o.factory=ur(o.type,!0)),s=new ro(i,zt(o),E,null);t.blueprint[r]=s,e[r]=s,hA(t,n,r,eD(t,e,o.hostVars,ye),o)}function hA(t,n,e,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;pA(s)!=a&&s.push(a),s.push(e,r,i)}}function pA(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function mA(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;zt(n)&&(e[""]=t)}}function gA(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function zp(t,n,e,r,o,i,s,a){let c=n[N],l=c.consts,u=gt(l,s),d=ni(c,t,e,r,u);return i&&RD(c,n,d,gt(l,a),o),d.mergedAttrs=Zo(d.mergedAttrs,d.attrs),d.attrs!==null&&fl(d,d.attrs,!1),d.mergedAttrs!==null&&fl(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Gp(t,n){d_(t,n),Kf(n)&&t.queries.elementEnd(n)}function vA(t,n,e,r,o,i){let s=n.consts,a=gt(s,o),c=ni(n,t,e,r,a);if(c.mergedAttrs=Zo(c.mergedAttrs,c.attrs),i!=null){let l=gt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&fl(c,c.attrs,!1),c.mergedAttrs!==null&&fl(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Wp(t){return Ll(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function OD(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),r;for(;!(r=e.next()).done;)n(r.value)}}function Ll(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ri(t,n,e){return t[n]=e}function kD(t,n){return t[n]}function ct(t,n,e){if(e===ye)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function Xo(t,n,e,r){let o=ct(t,n,e);return ct(t,n+1,r)||o}function FD(t,n,e,r,o){let i=Xo(t,n,e,r);return ct(t,n+2,o)||i}function qp(t,n,e,r,o,i){let s=Xo(t,n,e,r);return Xo(t,n+2,o,i)||s}function ol(t,n,e){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&c0(o,i);let s=mn(t)?xt(t.index,n):n;Hp(s,5);let a=n[ge],c=Wb(n,a,e,o),l=r.__ngNextListenerFn__;for(;l;)c=Wb(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Wb(t,n,e,r){let o=T(null);try{return ie(ee.OutputStart,n,e),e(r)!==!1}catch(i){return Px(t,i),!1}finally{ie(ee.OutputEnd,n,e),T(o)}}function PD(t,n,e,r,o,i,s,a){let c=Ho(t),l=!1,u=null;if(!r&&c&&(u=bA(n,e,i,t.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=mt(t,e),h=r?r(d):d;u0(e,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!yA(i)){let m=r?_=>r(Tt(_[t.index])):t.index;LD(m,n,e,i,a,p,!1)}}return l}function yA(t){return t.startsWith("animation")||t.startsWith("transition")}function bA(t,n,e,r){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===e&&o[i+1]===r){let a=n[Bo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function LD(t,n,e,r,o,i,s){let a=n.firstCreatePass?oh(n):null,c=rh(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function qb(t,n,e,r,o,i){let s=n[e],a=n[N],l=a.data[e].outputs[r],d=s[l].subscribe(i);LD(t.index,a,n,o,i,d,!0)}var Xh=Symbol("BINDING");function jD(t){return t.debugInfo?.className||t.type.name||null}var hl=class extends Us{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=hn(n);return new br(e,this.ngModule)}};function _A(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&Tl.SignalBased)!==0};return o&&(i.transform=o),i})}function DA(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function EA(t,n,e){let r=n instanceof oe?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Qh(e,r):e}function wA(t){let n=t.get($e,null);if(n===null)throw new b(407,!1);let e=t.get(AD,null),r=t.get(fn,null),o=t.get(Zt,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function CA(t,n){let e=VD(t);return $_(n,e,e==="svg"?os:e==="math"?Qf:null)}function IA(t){if(t?.toLowerCase()==="script")throw new b(905,!1)}function VD(t){return(t.selectors[0][0]||"div").toLowerCase()}var br=class extends Pl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=_A(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=DA(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=rx(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){ie(ee.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,l=EA(c,o||this.ngModule,n),u=wA(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(jD(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{T(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=SA(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?Mx(l,o,a.encapsulation,e):CA(a,l);IA(u?.tagName);let d=s?.some(Yb)||i?.some(m=>typeof m!="function"&&m.bindings.some(Yb)),h=Ap(null,c,null,512|J_(a),null,null,n,l,e,null,k_(u,e,!0));h[de]=u,Wc(h);let p=null;try{let m=zp(de,h,2,"#host",()=>c.directiveRegistry,!0,0);W_(l,u,m),Ko(u,h),Ol(c,h,m),_p(c,m,h),Gp(c,m),r!==void 0&&TA(m,this.ngContentSelectors,r),p=xt(m.index,h),h[ge]=p[ge],Up(c,h,null)}catch(m){throw p!==null&&Fh(p),Fh(h),m}finally{ie(ee.DynamicComponentEnd),qc()}return new pl(this.componentType,h,!!d)}};function SA(t,n,e,r){let o=t?["ng-version","21.2.25"]:ox(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Xh].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[Xh].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Oc(d);c.push(h)}return xp(0,null,MA(i,s),1,a,c,null,null,null,[o],null)}function MA(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function Yb(t){let n=t[Xh].kind;return n==="input"||n==="twoWay"}var pl=class extends xD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Bc(e[N],de),this.location=ti(this._tNode,e),this.instance=xt(this._tNode.index,e)[ge],this.hostView=this.changeDetectorRef=new yr(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView,i=kl(r,o[N],o,n,e);this.previousInputValues.set(n,e);let s=xt(r.index,o);Hp(s,1)}get injector(){return new no(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function TA(t,n,e){let r=t.projection=[];for(let o=0;o<n.length;o++){let i=e[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Qe=(()=>{class t{static __NG_ELEMENT_ID__=xA}return t})();function xA(){let t=Me();return BD(t,I())}var Jh=class t extends Qe{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return ti(this._hostTNode,this._hostLView)}get injector(){return new no(this._hostTNode,this._hostLView)}get parentInjector(){let n=gp(this._hostTNode,this._hostLView);if(p_(n)){let e=al(n,this._hostLView),r=sl(n),o=e[N].data[r+8];return new no(o,e)}else return new no(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Zb(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=dl(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,Qo(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!LT(n),l;if(c)l=e;else{let D=e||{};l=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let u=c?n:new br(hn(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let C=(c?d:this.parentInjector).get(oe,null);C&&(i=C)}let h=hn(u.componentType??{}),p=dl(this._lContainer,h?.id??null),m=p?.firstChild??null,_=u.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,l,Qo(this._hostTNode,p)),_}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(Zy(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[Fe],l=new t(c,c[nt],c[Fe]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return Bs(s,o,i,r),n.attachToViewContainerRef(),Bf(Ch(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Zb(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=As(this._lContainer,e);r&&(fs(Ch(this._lContainer),e),Rl(r[N],r))}detach(n){let e=this._adjustIndex(n,-1),r=As(this._lContainer,e);return r&&fs(Ch(this._lContainer),e)!=null?new yr(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function Zb(t){return t[ps]}function Ch(t){return t[ps]||(t[ps]=[])}function BD(t,n){let e,r=n[t.index];return $t(r)?e=r:(e=CD(r,n,null,t),n[t.index]=e,Rp(n,e)),RA(e,n,t,r),new Jh(e,t,n)}function AA(t,n){let e=t[se],r=e.createComment(""),o=mt(n,t),i=e.parentNode(o);return ul(e,i,r,e.nextSibling(o),!1),r}var RA=kA,NA=()=>!1;function OA(t,n,e){return NA(t,n,e)}function kA(t,n,e,r){if(t[gr])return;let o;e.type&8?o=Tt(r):o=AA(n,e),t[gr]=o}var ep=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},tp=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let i=0;i<r;i++){let s=e.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}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++)Zp(n,e).matches!==null&&this.queries[e].setDirty()}},ml=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=VA(n):this.predicate=n}},np=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){let o=e!==null?e.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,e!==null?e.push(i):e=[i])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},rp=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,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,e,FA(e,i)),this.matchTNodeWithReadOption(n,e,nl(e,n,i,!1,!1))}else r===yt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,nl(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===z||o===Qe||o===yt&&e.type&4)this.addMatch(e.index,-2);else{let i=nl(e,n,o,!1,!1);i!==null&&this.addMatch(e.index,i)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function FA(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function PA(t,n){return t.type&11?ti(t,n):t.type&4?Fl(t,n):null}function LA(t,n,e,r){return e===-1?PA(n,t):e===-2?jA(t,n,r):Ms(t,t[N],e,n)}function jA(t,n,e){if(e===z)return ti(n,t);if(e===yt)return Fl(n,t);if(e===Qe)return BD(n,t)}function UD(t,n,e,r){let o=n[pn].queries[r];if(o.matches===null){let i=t.data,s=e.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(LA(n,u,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function op(t,n,e,r){let o=t.queries.getByIndex(e),i=o.matches;if(i!==null){let s=UD(t,n,o,e);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=ve;d<u.length;d++){let h=u[d];h[pr]===h[Fe]&&op(h[N],h,l,r)}if(u[Qr]!==null){let d=u[Qr];for(let h=0;h<d.length;h++){let p=d[h];op(p[N],p,l,r)}}}}}return r}function Yp(t,n){return t[pn].queries[n].queryList}function HD(t,n,e){let r=new Un((e&4)===4);return Xy(t,n,r,r.destroy),(n[pn]??=new tp).queries.push(new ep(r))-1}function $D(t,n,e){let r=le();return r.firstCreatePass&&(GD(r,new ml(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),HD(r,I(),n)}function zD(t,n,e,r){let o=le();if(o.firstCreatePass){let i=Me();GD(o,new ml(n,e,r),i.index),BA(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return HD(o,I(),e)}function VA(t){return t.split(",").map(n=>n.trim())}function GD(t,n,e){t.queries===null&&(t.queries=new np),t.queries.track(new rp(n,e))}function BA(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function Zp(t,n){return t.queries.getByIndex(n)}function WD(t,n){let e=t[N],r=Zp(e,n);return r.crossesNgTemplate?op(e,t,n,[]):UD(e,t,r,n)}function Kp(t,n,e){let r,o=Ji(()=>{r._dirtyCounter();let i=UA(r,t);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[me],r._dirtyCounter=Q(0),r._flatValue=void 0,o}function Qp(t){return Kp(!0,!1,t)}function Xp(t){return Kp(!0,!0,t)}function qD(t){return Kp(!1,!1,t)}function YD(t,n){let e=t[me];e._lView=I(),e._queryIndex=n,e._queryList=Yp(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function UA(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[j]&4)return n?void 0:Ye;let o=Yp(e,r),i=WD(e,r);return o.reset(i,w_),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var yn=class{},jl=class{};var gl=class extends yn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new hl(this);constructor(n,e,r,o=!0){super(),this.ngModuleType=n,this._parent=e;let i=Lf(n);this._bootstrapComponents=K_(i.bootstrap),this._r3Injector=gh(n,e,[{provide:yn,useValue:this},{provide:Us,useValue:this.componentFactoryResolver},...r],cs(n),new Set(["environment"])),o&&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)}},vl=class extends jl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new gl(this.moduleType,n,[])}};var Rs=class extends yn{injector;componentFactoryResolver=new hl(this);instance=null;constructor(n){super();let e=new zr([...n.providers,{provide:yn,useValue:this},{provide:Us,useValue:this.componentFactoryResolver}],n.parent||Vo(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function oi(t,n,e=null){return new Rs({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var HA=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=$f(!1,e.type),o=r.length>0?oi([r],this._injector,""):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(w(oe))})}return t})();function xe(t){return Os(()=>{let n=ZD(t),e=F(g({},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?o=>o.get(HA).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||Ye,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Kt("NgStandalone"),KD(e);let r=t.dependencies;return e.directiveDefs=Kb(r,$A),e.pipeDefs=Kb(r,Oy),e.id=WA(e),e})}function $A(t){return hn(t)||Oc(t)}function X(t){return Os(()=>({type:t.type,bootstrap:t.bootstrap||Ye,declarations:t.declarations||Ye,imports:t.imports||Ye,exports:t.exports||Ye,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function zA(t,n){if(t==null)return Bt;let e={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Tl.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function GA(t){if(t==null)return Bt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function M(t){return Os(()=>{let n=ZD(t);return KD(n),n})}function ii(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 ZD(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||Bt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ye,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:zA(t.inputs,n),outputs:GA(t.outputs),debugInfo:null}}function KD(t){t.features?.forEach(n=>n(t))}function Kb(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let o of e){let i=n(o);i!==null&&r.push(i)}return r}:null}function WA(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[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 i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function qA(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=YA,e.hostDirectives=r?t.map(ip):[t]):r?e.hostDirectives.unshift(...t.map(ip)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function YA(t){let n=[],e=!1,r=null,o=null;for(let i=0;i<t.length;i++){let s=t[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,QD(s,n,r),o.set(s,[a,n.length-1])}i===0&&zt(s)&&(e=!0,n.push(s))}for(let i=e?1:0;i<t.length;i++)n.push(t[i]);return[n,r,o]}function QD(t,n,e){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Qb(ip(i),n,e)}else Qb(r,n,e)}function Qb(t,n,e){let r=Oc(t.directive);ZA(r.declaredInputs,t.inputs),QD(r,n,e),e.set(r,t),n.push(r)}function ip(t){return typeof t=="function"?{directive:ke(t),inputs:Bt,outputs:Bt}:{directive:ke(t.directive),inputs:Xb(t.inputs),outputs:Xb(t.outputs)}}function Xb(t){if(t===void 0||t.length===0)return Bt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function ZA(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],o=t[e];t[r]=o}}function KA(t){return Object.getPrototypeOf(t.prototype).constructor}function te(t){let n=KA(t.type),e=!0,r=[t];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,us)?n[us]:void 0,s=Object.hasOwn(n,ds)?n[ds]:void 0;if(zt(t))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(e){r.push(o);let c=t;c.inputs=Ih(t.inputs),c.declaredInputs=Ih(t.declaredInputs),c.outputs=Ih(t.outputs);let l=o.hostBindings;l&&tR(t,l);let u=o.viewQuery,d=o.contentQueries;if(u&&JA(t,u),d&&eR(t,d),QA(t,o),Ny(t.outputs,o.outputs),zt(o)&&o.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(t),l===te&&(e=!1)}}n=Object.getPrototypeOf(n)}XA(r)}function QA(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function XA(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Zo(o.hostAttrs,e=Zo(e,o.hostAttrs))}}function Ih(t){return t===Bt?{}:t===Ye?[]:t}function JA(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function eR(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function tR(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function XD(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=Zo(t.mergedAttrs,t.attrs);let u=t.tView=xp(2,t,o,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),zo(t,!1);let c=rR(e,n,t,r);Yc()&&Pp(e,n,c,t),Ko(c,n);let l=CD(c,n,c,t);n[r+de]=l,Rp(n,l),OA(l,t,n)}function nR(t,n,e,r,o,i,s,a,c,l,u){let d=e+de,h;return n.firstCreatePass?(h=ni(n,d,4,s||null,a||null),$c()&&RD(n,t,h,gt(n.consts,l),jp),d_(n,h)):h=n.data[d],XD(h,t,n,e,r,o,i,c),Ho(h)&&Ol(n,t,h),l!=null&&js(t,h,u),h}function Jo(t,n,e,r,o,i,s,a,c,l,u){let d=e+de,h;if(n.firstCreatePass){if(h=ni(n,d,4,s||null,a||null),l!=null){let p=gt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return XD(h,t,n,e,r,o,i,c),l!=null&&js(t,h,u),h}function JD(t,n,e,r,o,i,s,a){let c=I(),l=le(),u=gt(l.consts,i);return nR(c,l,t,n,e,r,o,u,void 0,s,a),JD}function eE(t,n,e,r,o,i,s,a){let c=I(),l=le(),u=gt(l.consts,i);return Jo(c,l,t,n,e,r,o,u,void 0,s,a),eE}var rR=oR;function oR(t,n,e,r){return bs(!0),n[se].createComment("")}var Vl=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function si(t){return typeof t=="function"&&t[me]!==void 0}function Jp(t){return si(t)&&typeof t.set=="function"}var Bl=new y(""),Ul=new y(""),Hs=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,o){this._ngZone=e,this.registry=r,Wf()&&(this._destroyRef=f(He,{optional:!0})??void 0),em||(nE(o),o.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(e)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),e()},r)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:o})}whenStable(e,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,o){return[]}static \u0275fac=function(r){return new(r||t)(w(V),w(tE),w(Ul))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),tE=(()=>{class t{_applications=new Map;registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return em?.findTestabilityInTree(this,e,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function nE(t){em=t}var em;function zn(t){return!!t&&typeof t.then=="function"}function Hl(t){return!!t&&typeof t.subscribe=="function"}var tm=new y("");function $l(t){return hr([{provide:tm,multi:!0,useValue:t}])}var nm=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f(tm,{optional:!0})??[];injector=f(W);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=Pe(this.injector,o);if(zn(i))e.push(i);else if(Hl(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(o=>{this.reject(o)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zl=new y("");function rE(){pf(()=>{let t="";throw new b(600,t)})}function oE(t){return t.isBoundToModule}var iR=10;var Ge=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(vt);afterRenderManager=f(Al);zonelessEnabled=f(Ds);rootEffectScheduler=f(Zc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new R;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(Bn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(L(e=>!e))}constructor(){f(Zt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=W.NULL){return this._injector.get(V).run(()=>{ie(ee.BootstrapComponentStart);let s=e instanceof Pl;if(!this._injector.get(nm).done){let m="";throw new b(405,m)}let c;s?c=e:c=this._injector.get(Us).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=oE(c)?void 0:this._injector.get(yn),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(Bl,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Ss(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),ie(ee.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ie(ee.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(xl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ie(ee.ChangeDetectionEnd),new b(101,!1);let e=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(e),this.afterTick.next(),ie(ee.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($e,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<iR;){ie(ee.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ie(ee.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!gs(o))continue;let i=r&&!this.zonelessEnabled?0:1;_D(o,i),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})=>gs(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;Ss(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(e),this._injector.get(zl,[]).forEach(o=>o(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),()=>Ss(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new b(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ss(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function iE(t,n){let e=I(),r=Vn();if(ct(e,r,n)){let o=le(),i=to();if(kl(i,o,e,t,n))mn(i)&&hD(e,i.index);else{let a=mt(i,e);pD(e[se],a,null,i.value,t,n,null)}}return iE}function lt(t,n,e,r){let o=I(),i=Vn();if(ct(o,i,n)){let s=le(),a=to();kx(a,o,t,n,e,r)}return lt}function sR(){return I()[Ke][ge]}var sp=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),o=Math.max(n,e),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,e){this.attach(e,this.detach(n))}};function Sh(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function aR(t,n,e,r){let o,i,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){T(r);let l=n.length-1;for(T(null);s<=a&&s<=l;){let u=t.at(s),d=n[s],h=Sh(s,u,s,d,e);if(h!==0){h<0&&t.updateValue(s,d),s++;continue}let p=t.at(a),m=n[l],_=Sh(a,p,l,m,e);if(_!==0){_<0&&t.updateValue(a,m),a--,l--;continue}let D=e(s,u),C=e(a,p),$=e(s,d);if(Object.is($,C)){let De=e(l,m);Object.is(De,D)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(o??=new yl,i??=e_(t,s,a,e),ap(t,o,s,$))t.updateValue(s,d),s++,a++;else if(i.has($))o.set(D,t.detach(s)),a--;else{let De=t.create(s,n[s]);t.attach(s,De),s++,a++}}for(;s<=l;)Jb(t,o,e,s,n[s]),s++}else if(n!=null){T(r);let l=n[Symbol.iterator]();T(null);let u=l.next();for(;!u.done&&s<=a;){let d=t.at(s),h=u.value,p=Sh(s,d,s,h,e);if(p!==0)p<0&&t.updateValue(s,h),s++,u=l.next();else{o??=new yl,i??=e_(t,s,a,e);let m=e(s,h);if(ap(t,o,s,m))t.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))t.attach(s,t.create(s,h)),s++,a++,u=l.next();else{let _=e(s,d);o.set(_,t.detach(s)),a--}}}for(;!u.done;)Jb(t,o,e,t.length,u.value),u=l.next()}for(;s<=a;)t.destroy(t.detach(a--));o?.forEach(l=>{t.destroy(l)})}function ap(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function Jb(t,n,e,r,o){if(ap(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function e_(t,n,e,r){let o=new Set;for(let i=n;i<=e;i++)o.add(r(i,t.at(i)));return o}var yl=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 r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,e)}}};function cR(t,n,e,r,o,i,s,a){Kt("NgControlFlow");let c=I(),l=le(),u=gt(l.consts,i);return Jo(c,l,t,n,e,r,o,u,256,s,a),rm}function rm(t,n,e,r,o,i,s,a){Kt("NgControlFlow");let c=I(),l=le(),u=gt(l.consts,i);return Jo(c,l,t,n,e,r,o,u,512,s,a),rm}function lR(t,n){Kt("NgControlFlow");let e=I(),r=Vn(),o=e[r]!==ye?e[r]:-1,i=o!==-1?bl(e,de+o):void 0,s=0;if(ct(e,r,t)){let a=T(null);try{if(i!==void 0&&SD(i,s),t!==-1){let c=de+t,l=bl(e,c),u=dp(e[N],c),d=TD(l,u,e),h=Vs(e,u,n,{dehydratedView:d});Bs(l,h,s,Qo(u,d))}}finally{T(a)}}else if(i!==void 0){let a=ID(i,s);a!==void 0&&(a[ge]=n)}}var cp=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-ve}};function uR(t){return t}function dR(t,n){return n}var lp=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function fR(t,n,e,r,o,i,s,a,c,l,u,d,h){Kt("NgControlFlow");let p=I(),m=le(),_=c!==void 0,D=I(),C=a?s.bind(D[Ke][ge]):s,$=new lp(_,C);D[de+t]=$,Jo(p,m,t+1,n,e,r,o,gt(m.consts,i),256),_&&Jo(p,m,t+2,c,l,u,d,gt(m.consts,h),512)}var up=class extends sp{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-ve}at(n){return this.getLView(n)[ge].$implicit}attach(n,e){let r=e[qr];this.needsIndexUpdate||=n!==this.length,Bs(this.lContainer,e,n,Qo(this.templateTNode,r)),pR(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,mR(this.lContainer,n),gR(this.lContainer,n)}create(n,e){let r=dl(this.lContainer,this.templateTNode.tView.ssrId);return Vs(this.hostLView,this.templateTNode,new cp(this.lContainer,e,n),{dehydratedView:r})}destroy(n){Rl(n[N],n)}updateValue(n,e){this.getLView(n)[ge].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ge].$index=n}getLView(n){return vR(this.lContainer,n)}};function hR(t){let n=T(null),e=at();try{let r=I(),o=r[N],i=r[e],s=e+1,a=bl(r,s);if(i.liveCollection===void 0){let l=dp(o,s);i.liveCollection=new up(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(aR(c,t,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Vn(),u=c.length===0;if(ct(r,l,u)){let d=e+2,h=bl(r,d);if(u){let p=dp(o,d),m=TD(h,p,r),_=Vs(r,p,void 0,{dehydratedView:m});Bs(h,_,0,Qo(p,m))}else o.firstUpdatePass&&rA(h),SD(h,0)}}}finally{T(n)}}function bl(t,n){return t[n]}function pR(t,n){if(t.length<=ve)return;let e=ve+n,r=t[e],o=r?r[mr]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Pn];hx(i,o),oo.delete(r[Ln]),o.detachedLeaveAnimationFns=void 0}}function mR(t,n){if(t.length<=ve)return;let e=ve+n,r=t[e],o=r?r[mr]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function gR(t,n){return As(t,n)}function vR(t,n){return ID(t,n)}function dp(t,n){return Bc(t,n)}function sE(t,n,e){let r=I(),o=Vn();if(ct(r,o,n)){let i=le(),s=to();dD(s,r,t,n,r[se],e)}return sE}function fp(t,n,e,r,o){kl(n,t,e,o?"class":"style",r)}function _l(t,n,e,r){let o=I(),i=o[N],s=t+de,a=i.firstCreatePass?zp(s,o,2,n,jp,$c(),e,r):i.data[s];if(mn(a)){let c=o[Ht].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(jD(l),()=>(t_(t,n,o,a,r),_l))}}return t_(t,n,o,a,r),_l}function t_(t,n,e,r,o){if(Vp(r,e,t,n,aE),Ho(r)){let i=e[N];Ol(i,e,r),_p(i,r,e)}o!=null&&js(e,r)}function om(){let t=le(),n=Me(),e=Bp(n);return t.firstCreatePass&&Gp(t,e),ah(e)&&ch(),ih(),e.classesWithoutHost!=null&&$T(e)&&fp(t,e,I(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&zT(e)&&fp(t,e,I(),e.stylesWithoutHost,!1),om}function Gl(t,n,e,r){return _l(t,n,e,r),om(),Gl}function ai(t,n,e,r){let o=I(),i=o[N],s=t+de,a=i.firstCreatePass?vA(s,i,2,n,e,r):i.data[s];return Vp(a,o,t,n,aE),r!=null&&js(o,a),ai}function ci(){let t=Me(),n=Bp(t);return ah(n)&&ch(),ih(),ci}function Gn(t,n,e,r){return ai(t,n,e,r),ci(),Gn}var aE=(t,n,e,r,o)=>(bs(!0),$_(n[se],r,mh()));function im(t,n,e){let r=I(),o=r[N],i=t+de,s=o.firstCreatePass?zp(i,r,8,"ng-container",jp,$c(),n,e):o.data[i];if(Vp(s,r,t,"ng-container",yR),Ho(s)){let a=r[N];Ol(a,r,s),_p(a,s,r)}return e!=null&&js(r,s),im}function sm(){let t=le(),n=Me(),e=Bp(n);return t.firstCreatePass&&Gp(t,e),sm}function cE(t,n,e){return im(t,n,e),sm(),cE}var yR=(t,n,e,r,o)=>(bs(!0),j0(n[se],""));function bR(){return I()}function lE(t,n,e){let r=I(),o=Vn();if(ct(r,o,n)){let i=le(),s=to();fD(s,r,t,n,r[se],e)}return lE}var ws=void 0;function _R(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var DR=["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"]],ws,[["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"]],ws,[["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}",ws,ws,ws],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_R],Mh=Object.create(null);function ut(t){let n=ER(t),e=n_(n);if(e)return e;let r=n.split("-")[0];if(e=n_(r),e)return e;if(r==="en")return DR;throw new b(701,!1)}function n_(t){if(!(t in Mh)){let n=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[t];return n!==void 0&&(Mh[t]=n),n}return Mh[t]}var be=(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})(be||{});function ER(t){return t.toLowerCase().replace(/_/g,"-")}var $s="en-US";var wR=$s;function uE(t){typeof t=="string"&&(wR=t.toLowerCase().replace(/_/g,"-"))}function Qt(t,n,e){let r=I(),o=le(),i=Me();return fE(o,r,r[se],i,t,n,e),Qt}function dE(t,n,e){let r=I(),o=le(),i=Me();return(i.type&3||e)&&PD(i,o,r,e,r[se],t,n,ol(i,r,n)),dE}function fE(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ol(r,n,i),PD(r,t,n,s,e,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],p=u[d+1];c??=ol(r,n,i),qb(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=ol(r,n,i),qb(r,n,d,o,o,c)}}function CR(t=1){return hb(t)}function IR(t,n){let e=null,r=X0(t);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){e=o;continue}if(r===null?X_(t,i,!0):tx(r,i))return o}return e}function Dr(t){let n=I()[Ke][nt];if(!n.projection){let e=t?t.length:1,r=n.projection=Vy(e,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=t?IR(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function _n(t,n=0,e,r,o,i){let s=I(),a=le(),c=r?t+1:null;c!==null&&Jo(s,a,c,r,o,i,null,e);let l=ni(a,de+t,16,null,e||null);l.projection===null&&(l.projection=n),dh();let d=!s[qr]||sh();s[Ke][nt].projection[l.projection]===null&&c!==null?SR(s,a,c):d&&!Il(l)&&Cx(a,s,l)}function SR(t,n,e){let r=de+e,o=n.data[r],i=t[r],s=dl(i,o.tView.ssrId),a=Vs(t,o,void 0,{dehydratedView:s});Bs(i,a,0,Qo(o,s))}function Wl(t,n,e,r){return zD(t,n,e,r),Wl}function am(t,n,e){return $D(t,n,e),am}function ql(t){let n=I(),e=le(),r=Gc();ys(r+1);let o=Zp(e,r);if(t.dirty&&Yy(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=WD(n,r);t.reset(i,w_),t.notifyOnChanges()}return!0}return!1}function Yl(){return Yp(I(),Gc())}function hE(t,n,e,r,o){return YD(n,zD(t,e,r,o)),hE}function pE(t,n,e,r){return YD(t,$D(n,e,r)),pE}function MR(t=1){ys(Gc()+t)}function TR(t){let n=ob();return ms(n,de+t)}function Jc(t,n){return t<<17|n<<2}function io(t){return t>>17&32767}function xR(t){return(t&2)==2}function AR(t,n){return t&131071|n<<17}function hp(t){return t|2}function ei(t){return(t&131068)>>2}function Th(t,n){return t&-131069|n<<2}function RR(t){return(t&1)===1}function pp(t){return t|1}function NR(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=io(s),c=ei(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||jo(d,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let h=io(t[a+1]);t[r+1]=Jc(h,a),h!==0&&(t[h+1]=Th(t[h+1],r)),t[a+1]=AR(t[a+1],r)}else t[r+1]=Jc(a,0),a!==0&&(t[a+1]=Th(t[a+1],r)),a=r;else t[r+1]=Jc(c,0),a===0?a=r:t[c+1]=Th(t[c+1],r),c=r;l&&(t[r+1]=hp(t[r+1])),r_(t,u,r,!0),r_(t,u,r,!1),OR(n,u,t,r,i),s=Jc(a,c),i?n.classBindings=s:n.styleBindings=s}function OR(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&jo(i,n)>=0&&(e[r+1]=pp(e[r+1]))}function r_(t,n,e,r){let o=t[e+1],i=n===null,s=r?io(o):ei(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];kR(c,n)&&(a=!0,t[s+1]=r?pp(l):hp(l)),s=r?io(l):ei(l)}a&&(t[e+1]=r?hp(o):pp(o))}function kR(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?jo(t,n)>=0:!1}var Wt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function FR(t){return t.substring(Wt.key,Wt.keyEnd)}function PR(t){return LR(t),mE(t,gE(t,0,Wt.textEnd))}function mE(t,n){let e=Wt.textEnd;return e===n?-1:(n=Wt.keyEnd=jR(t,Wt.key=n,e),gE(t,n,e))}function LR(t){Wt.key=0,Wt.keyEnd=0,Wt.value=0,Wt.valueEnd=0,Wt.textEnd=t.length}function gE(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function jR(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function cm(t,n,e){return vE(t,n,e,!1),cm}function Xe(t,n){return vE(t,n,null,!0),Xe}function zs(t){BR(WR,VR,t,!0)}function VR(t,n){for(let e=PR(n);e>=0;e=mE(n,e))Lc(t,FR(n),!0)}function vE(t,n,e,r){let o=I(),i=le(),s=eo(2);if(i.firstUpdatePass&&bE(i,t,s,r),n!==ye&&ct(o,s,n)){let a=i.data[at()];_E(i,a,o,o[se],t,o[s+1]=YR(n,e),r,s)}}function BR(t,n,e,r){let o=le(),i=eo(2);o.firstUpdatePass&&bE(o,null,i,r);let s=I();if(e!==ye&&ct(s,i,e)){let a=o.data[at()];if(DE(a,r)&&!yE(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=Rc(c,e||"")),fp(o,a,s,e,r)}else qR(o,a,s,s[se],s[i+1],s[i+1]=GR(t,n,e),r,i)}}function yE(t,n){return n>=t.expandoStartIndex}function bE(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[at()],s=yE(t,e);DE(i,r)&&n===null&&!s&&(n=!1),n=UR(o,i,n,r),NR(o,i,n,e,s,r)}}function UR(t,n,e,r){let o=lb(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=xh(null,t,n,e,r),e=Ns(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=xh(o,t,n,e,r),i===null){let c=HR(t,n,r);c!==void 0&&Array.isArray(c)&&(c=xh(null,t,n,c[1],r),c=Ns(c,n.attrs,r),$R(t,n,r,c))}else i=zR(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function HR(t,n,e){let r=e?n.classBindings:n.styleBindings;if(ei(r)!==0)return t[io(r)]}function $R(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[io(o)]=r}function zR(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=Ns(r,s,e)}return Ns(r,n.attrs,e)}function xh(t,n,e,r,o){let i=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(i=n[a],r=Ns(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function Ns(t,n,e){let r=e?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Lc(t,s,e?!0:n[++i]))}return t===void 0?null:t}function GR(t,n,e){if(e==null||e==="")return Ye;let r=[],o=bt(e);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(o instanceof Set)for(let i of o)t(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function WR(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&Lc(t,r,e)}function qR(t,n,e,r,o,i,s,a){o===ye&&(o=Ye);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,_;u===d?(c+=2,l+=2,h!==p&&(m=d,_=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,_=p),m!==null&&_E(t,n,e,r,m,_,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function _E(t,n,e,r,o,i,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=RR(l)?o_(c,n,e,o,ei(l),s):void 0;if(!Dl(u)){Dl(i)||xR(l)&&(i=o_(c,null,e,o,a,s));let d=Xf(at(),e);Sx(r,s,d,o,i)}}function o_(t,n,e,r,o,i){let s=n===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=e[o+1];h===ye&&(h=d?Ye:void 0);let p=d?jc(h,r):u===r?h:void 0;if(l&&!Dl(p)&&(p=jc(c,r)),Dl(p)&&(a=p,s))return a;let m=t[o+1];o=s?io(m):ei(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=jc(c,r))}return a}function Dl(t){return t!==void 0}function YR(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=cs(bt(t)))),t}function DE(t,n){return(t.flags&(n?8:16))!==0}function ZR(t,n=""){let e=I(),r=le(),o=t+de,i=r.firstCreatePass?ni(r,o,1,n,null):r.data[o],s=KR(r,e,i,n);e[o]=s,Yc()&&Pp(r,e,s,i),zo(i,!1)}var KR=(t,n,e,r)=>(bs(!0),P0(n[se],r));function EE(t,n,e,r=""){return ct(t,Vn(),e)?n+Se(e)+r:ye}function QR(t,n,e,r,o,i=""){let s=vs(),a=Xo(t,s,e,o);return eo(2),a?n+Se(e)+r+Se(o)+i:ye}function XR(t,n,e,r,o,i,s,a=""){let c=vs(),l=FD(t,c,e,o,s);return eo(3),l?n+Se(e)+r+Se(o)+i+Se(s)+a:ye}function JR(t,n,e,r,o,i,s,a,c,l=""){let u=vs(),d=qp(t,u,e,o,s,c);return eo(4),d?n+Se(e)+r+Se(o)+i+Se(s)+a+Se(c)+l:ye}function eN(t,n,e,r,o,i,s,a,c,l,u,d,h,p=""){let m=vs(),_=qp(t,m,e,o,s,c);return _=Xo(t,m+4,u,h)||_,eo(6),_?n+Se(e)+r+Se(o)+i+Se(s)+a+Se(c)+l+Se(u)+d+Se(h)+p:ye}function wE(t){return lm("",t),wE}function lm(t,n,e){let r=I(),o=EE(r,t,n,e);return o!==ye&&Gs(r,at(),o),lm}function CE(t,n,e,r,o){let i=I(),s=QR(i,t,n,e,r,o);return s!==ye&&Gs(i,at(),s),CE}function IE(t,n,e,r,o,i,s){let a=I(),c=XR(a,t,n,e,r,o,i,s);return c!==ye&&Gs(a,at(),c),IE}function SE(t,n,e,r,o,i,s,a,c){let l=I(),u=JR(l,t,n,e,r,o,i,s,a,c);return u!==ye&&Gs(l,at(),u),SE}function ME(t,n,e,r,o,i,s,a,c,l,u,d,h){let p=I(),m=eN(p,t,n,e,r,o,i,s,a,c,l,u,d,h);return m!==ye&&Gs(p,at(),m),ME}function Gs(t,n,e){let r=Xf(n,t);L0(t[se],r,e)}function TE(t,n,e){Jp(n)&&(n=n());let r=I(),o=Vn();if(ct(r,o,n)){let i=le(),s=to();dD(s,r,t,n,r[se],e)}return TE}function tN(t,n){let e=Jp(t);return e&&t.set(n),e}function xE(t,n){let e=I(),r=le(),o=Me();return fE(r,e,e[se],o,t,n),xE}function nN(t,n,e=""){return EE(I(),t,n,e)}function rN(t,n,e){let r=gn()+t,o=I();return o[r]===ye?ri(o,r,n(e,o)):kD(o,r)}function i_(t,n,e){let r=le();r.firstCreatePass&&AE(n,r.data,r.blueprint,zt(t),e)}function AE(t,n,e,r,o){if(t=ke(t),Array.isArray(t))for(let i=0;i<t.length;i++)AE(t[i],n,e,r,o);else{let i=le(),s=I(),a=Me(),c=$r(t)?t:ke(t.provide),l=Gf(t),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if($r(t)||!t.multi){let p=new ro(l,o,E,null),m=Rh(c,n,o?u:u+h,d);m===-1?(Oh(ll(a,s),i,c),Ah(i,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{let p=Rh(c,n,u+h,d),m=Rh(c,n,u,u+h),_=p>=0&&e[p],D=m>=0&&e[m];if(o&&!D||!o&&!_){Oh(ll(a,s),i,c);let C=sN(o?iN:oN,e.length,o,r,l,t);!o&&D&&(e[m].providerFactory=C),Ah(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)}else{let C=RE(e[o?m:p],l,!o&&r);Ah(i,t,p>-1?p:m,C)}!o&&r&&D&&e[m].componentProviders++}}}function Ah(t,n,e,r){let o=$r(n),i=zy(n);if(o||i){let c=(i?ke(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function RE(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Rh(t,n,e,r){for(let o=e;o<r;o++)if(n[o]===t)return o;return-1}function oN(t,n,e,r,o){return mp(this.multi,[])}function iN(t,n,e,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ms(r,r[N],this.providerFactory.index,o);s=c.slice(0,a),mp(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],mp(i,s);return s}function mp(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function sN(t,n,e,r,o,i){let s=new ro(t,e,E,null);return s.multi=[],s.index=n,s.componentProviders=0,RE(s,o,r&&!e),s}function je(t,n){return e=>{e.providersResolver=(r,o)=>i_(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>i_(r,o?o(n):n,!0))}}function aN(t,n){let e=gn()+t,r=I();return r[e]===ye?ri(r,e,n()):kD(r,e)}function cN(t,n,e){return NE(I(),gn(),t,n,e)}function lN(t,n,e,r){return OE(I(),gn(),t,n,e,r)}function uN(t,n,e,r,o){return kE(I(),gn(),t,n,e,r,o)}function dN(t,n,e,r,o,i,s){return fN(I(),gn(),t,n,e,r,o,i)}function Zl(t,n){let e=t[n];return e===ye?void 0:e}function NE(t,n,e,r,o,i){let s=n+e;return ct(t,s,o)?ri(t,s+1,i?r.call(i,o):r(o)):Zl(t,s+1)}function OE(t,n,e,r,o,i,s){let a=n+e;return Xo(t,a,o,i)?ri(t,a+2,s?r.call(s,o,i):r(o,i)):Zl(t,a+2)}function kE(t,n,e,r,o,i,s,a){let c=n+e;return FD(t,c,o,i,s)?ri(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):Zl(t,c+3)}function fN(t,n,e,r,o,i,s,a,c){let l=n+e;return qp(t,l,o,i,s,a)?ri(t,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Zl(t,l+4)}function hN(t,n){let e=le(),r,o=t+de;e.firstCreatePass?(r=pN(n,e.pipeRegistry),e.data[o]=r,r.onDestroy&&(e.destroyHooks??=[]).push(o,r.onDestroy)):r=e.data[o];let i=r.factory||(r.factory=ur(r.type,!0)),s,a=tt(E);try{let c=cl(!1),l=i();return cl(c),Jf(e,I(),o,l),l}finally{tt(a)}}function pN(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function mN(t,n,e){let r=t+de,o=I(),i=ms(o,r);return um(o,r)?NE(o,gn(),n,i.transform,e,i):i.transform(e)}function gN(t,n,e,r){let o=t+de,i=I(),s=ms(i,o);return um(i,o)?OE(i,gn(),n,s.transform,e,r,s):s.transform(e,r)}function vN(t,n,e,r,o){let i=t+de,s=I(),a=ms(s,i);return um(s,i)?kE(s,gn(),n,a.transform,e,r,o,a):a.transform(e,r,o)}function um(t,n){return t[N].data[n].pure}function yN(t,n){return Fl(t,n)}var El=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},dm=(()=>{class t{compileModuleSync(e){return new vl(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),o=Lf(e),i=K_(o.declarations).reduce((s,a)=>{let c=hn(a);return c&&s.push(new br(c)),s},[]);return new El(r,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var FE=(()=>{class t{applicationErrorHandler=f(vt);appRef=f(Ge);taskService=f(Bn);ngZone=f(V);zonelessEnabled=f(Ds);tracing=f(Zt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ss):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(_h,{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 r=this.useMicrotaskScheduler?bb:vh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ss+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(r){this.applicationErrorHandler(r)}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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bN(){return Kt("NgZoneless"),hr([...fm(),[]])}function fm(){return[{provide:fn,useExisting:FE},{provide:V,useClass:as},{provide:Ds,useValue:!0}]}function _N(){return typeof $localize<"u"&&$localize.locale||$s}var li=new y("",{factory:()=>f(li,{optional:!0,skipSelf:!0})||_N()});var Ws=class{destroyed=!1;listeners=null;errorHandler=f(Ze,{optional:!0});destroyRef=f(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(St(953,!1));return}if(this.listeners===null)return;let e=T(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{T(e)}}};function Z(t){return My(t)}function Wn(t,n){return Ji(t,n?.equal)}var DN=t=>t;function hm(t,n){if(typeof t=="function"){let e=bf(t,DN,n?.equal);return PE(e,n?.debugName)}else{let e=bf(t.source,t.computation,t.equal);return PE(e,t.debugName)}}function PE(t,n){let e=t[me],r=t;return r.set=o=>Iy(e,o),r.update=o=>Sy(e,o),r.asReadonly=_s.bind(t),r}var Xl=Symbol("InputSignalNode#UNSET"),WE=F(g({},es),{transformFn:void 0,applyValueToInputSignal(t,n){cr(t,n)}});function qE(t,n){let e=Object.create(WE);e.value=t,e.transformFn=n?.transform;function r(){if(On(e),e.value===Xl){let o=null;throw new b(-950,o)}return e.value}return r[me]=e,r}var ui=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ks(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},q5=(()=>{let t=new y("");return t.__NG_ELEMENT_ID__=n=>{let e=Me();if(e===null)throw new b(-204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new b(-204,!1)},t})();function Y5(t){return new Ws}function LE(t,n){return qE(t,n)}function NN(t){return qE(Xl,t)}var YE=(LE.required=NN,LE);function jE(t,n){return Qp(n)}function ON(t,n){return Xp(n)}var Z5=(jE.required=ON,jE);function K5(t,n){return qD(n)}function VE(t,n){return Qp(n)}function kN(t,n){return Xp(n)}var Q5=(VE.required=kN,VE);function ZE(t,n){let e=Object.create(WE),r=new Ws;e.value=t;function o(){return On(e),BE(e.value),e.value}return o[me]=e,o.asReadonly=_s.bind(o),o.set=i=>{e.equal(e.value,i)||(cr(e,i),r.emit(i))},o.update=i=>{BE(e.value),o.set(i(e.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function BE(t){if(t===Xl)throw new b(952,!1)}function UE(t,n){return ZE(t,n)}function FN(t){return ZE(Xl,t)}var X5=(UE.required=FN,UE);var mm=new y(""),PN=new y("");function qs(t){return!t.moduleRef}function LN(t){let n=qs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(V);return e.run(()=>{qs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(vt),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),qs(t)){let i=()=>n.destroy(),s=t.platformInjector.get(mm);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(mm);s.add(i),t.moduleRef.onDestroy(()=>{Ss(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return VN(r,e,()=>{let i=n.get(Bn),s=i.add(),a=n.get(nm);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(li,$s);if(uE(c||$s),!n.get(PN,!0))return qs(t)?n.get(Ge):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(qs(t)){let u=n.get(Ge);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return jN?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var jN;function VN(t,n,e){try{let r=e();return zn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Kl=null;function BN(t=[],n){return W.create({name:n,providers:[{provide:hs,useValue:"platform"},{provide:mm,useValue:new Set([()=>Kl=null])},...t]})}function UN(t=[]){if(Kl)return Kl;let n=BN(t);return Kl=n,rE(),HN(n),n}function HN(t){let n=t.get(wl,null);Pe(t,()=>{n?.forEach(e=>e())})}var $N=1e4;var J5=$N-1e3;var Xt=(()=>{class t{static __NG_ELEMENT_ID__=zN}return t})();function zN(t){return GN(Me(),I(),(t&16)===16)}function GN(t,n,e){if(mn(t)&&!e){let r=xt(t.index,n);return new yr(r,r)}else if(t.type&175){let r=n[Ke];return new yr(r,n)}return null}var gm=class{supports(n){return Wp(n)}create(n){return new vm(n)}},WN=(t,n)=>n,vm=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||WN}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,o=0,i=null;for(;e||r;){let s=!r||e&&e.currentIndex<HE(r,o,i)?e:r,a=HE(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,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=[]),!Wp(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,i,s,a),r=!0):(r&&(e=this._verifyReinsertion(e,i,s,a)),Object.is(e.item,i)||this._addIdentityChange(e,i)),e=e._next}else o=0,OD(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;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,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,i,o)):n=this._addAfter(new ym(e,r),i,o)),n}_verifyReinsertion(n,e,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Ql),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._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 Ql),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}},ym=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}},bm=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 r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Ql=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new bm,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,o=this.map.get(r);return o?o.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 HE(t,n,e){let r=t.previousIndex;if(r===null)return r;let o=0;return e&&r<e.length&&(o=e[r]),r+n+o}var _m=class{supports(n){return n instanceof Map||Ll(n)}create(){return new Dm}},Dm=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ll(n)))throw new b(900,!1);return this.check(n)?this:null}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let i=this._getOrCreateRecordForKey(o,r);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let r=n._prev;return e._next=n,e._prev=r,n._prev=e,r&&(r._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Em(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(r=>e(n[r],r))}},Em=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function $E(){return new Jl([new gm])}var Jl=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:$E});constructor(e){this.factories=e}static create(e,r){if(r!=null){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||$E())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new b(901,!1)}}return t})();function zE(){return new Im([new _m])}var Im=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:zE});factories;constructor(e){this.factories=e}static create(e,r){if(r){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||zE())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r)return r;throw new b(901,!1)}}return t})();var KE=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(w(Ge))};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function QE(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;ie(ee.BootstrapApplicationStart);try{let i=o?.injector??UN(r),s=[fm(),Db,...e||[]],a=new Rs({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return LN({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{ie(ee.BootstrapApplicationEnd)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Sm(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var pm=Symbol("NOT_SET"),XE=new Set,qN=F(g({},es),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:pm,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!==pm&&!ko(this))return this.signal;try{for(let o of this.cleanup??XE)o()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=kn(this),r;try{r=this.userFn.apply(null,n)}finally{sr(this,e)}return(this.value===pm||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),wm=class extends Ts{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of Op){let c=e[a];if(c===void 0)continue;let l=Object.create(qN);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(On(l),l.value),l.signal[me]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}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??XE)e()}finally{ar(n)}}};function e6(t,n){let e=n?.injector??f(W),r=e.get(fn),o=e.get(Al),i=e.get(Zt,null,{optional:!0});o.impl??=e.get(kp);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(Go,null,{optional:!0}),c=new wm(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function eu(t,n){let e=hn(t),r=n.elementInjector||Vo();return new br(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function JE(t){let n=hn(t);if(!n)return null;let e=new br(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var ew=null;function _t(){return ew}function Mm(t){ew??=t}var Ys=class{},qn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(tw),providedIn:"platform"})}return t})(),Tm=new y(""),tw=(()=>{class t extends qn{_location;_history;_doc=f(k);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _t().getBaseHref(this._doc)}onPopState(e){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.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,r,o){this._history.pushState(e,r,o)}replaceState(e,r,o){this._history.replaceState(e,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function tu(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function nw(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Jt(t){return t&&t[0]!=="?"?`?${t}`:t}var en=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(ru),providedIn:"root"})}return t})(),nu=new y(""),ru=(()=>{class t extends en{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(k).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 tu(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Jt(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Jt(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Jt(i));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(qn),w(nu,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dn=(()=>{class t{_subject=new R;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=KN(nw(rw(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Jt(r))}normalize(e){return t.stripTrailingSlash(ZN(this._basePath,rw(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",o=null){this._locationStrategy.pushState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Jt(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Jt(r)),o)}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(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(o=>o(e,r))}subscribe(e,r,o){return this._subject.subscribe({next:e,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Jt;static joinWithSlash=tu;static stripTrailingSlash=nw;static \u0275fac=function(r){return new(r||t)(w(en))};static \u0275prov=v({token:t,factory:()=>YN(),providedIn:"root"})}return t})();function YN(){return new Dn(w(en))}function ZN(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function rw(t){return t.replace(/\/index\.html$/,"")}function KN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Lm=(()=>{class t extends en{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}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}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=tu(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Jt(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Jt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(qn),w(nu,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var jm=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(jm||{});var Je=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Je||{}),ce=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(ce||{}),dt=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(dt||{}),ft={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 lw(t){return ut(t)[be.LocaleId]}function uw(t,n,e){let r=ut(t),o=[r[be.DayPeriodsFormat],r[be.DayPeriodsStandalone]],i=Rt(o,n);return Rt(i,e)}function dw(t,n,e){let r=ut(t),o=[r[be.DaysFormat],r[be.DaysStandalone]],i=Rt(o,n);return Rt(i,e)}function fw(t,n,e){let r=ut(t),o=[r[be.MonthsFormat],r[be.MonthsStandalone]],i=Rt(o,n);return Rt(i,e)}function hw(t,n){let r=ut(t)[be.Eras];return Rt(r,n)}function Zs(t,n){let e=ut(t);return Rt(e[be.DateFormat],n)}function Ks(t,n){let e=ut(t);return Rt(e[be.TimeFormat],n)}function Qs(t,n){let r=ut(t)[be.DateTimeFormat];return Rt(r,n)}function En(t,n){let e=ut(t),r=e[be.NumberSymbols][n];if(typeof r>"u"){if(n===ft.CurrencyDecimal)return e[be.NumberSymbols][ft.Decimal];if(n===ft.CurrencyGroup)return e[be.NumberSymbols][ft.Group]}return r}function pw(t,n){return ut(t)[be.NumberFormats][n]}function mw(t){if(!t[be.ExtraData])throw new b(2303,!1)}function gw(t){let n=ut(t);return mw(n),(n[be.ExtraData][2]||[]).map(r=>typeof r=="string"?xm(r):[xm(r[0]),xm(r[1])])}function vw(t,n,e){let r=ut(t);mw(r);let o=[r[be.ExtraData][0],r[be.ExtraData][1]],i=Rt(o,n)||[];return Rt(i,e)||[]}function Rt(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new b(2304,!1)}function xm(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var QN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ou={},XN=/((?:[^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]*)/,JN=256;function yw(t,n,e,r){let o=lO(t);eO(n),n=Yn(e,n)||n;let s=[],a;for(;n;)if(a=XN.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=_w(r,c),o=cO(o,r));let l="";return s.forEach(u=>{let d=sO(u);l+=d?d(o,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function eO(t){if(t.length>JN)throw new b(2300,!1)}function lu(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function Yn(t,n){let e=lw(t);if(ou[e]??={},ou[e][n])return ou[e][n];let r="";switch(n){case"shortDate":r=Zs(t,dt.Short);break;case"mediumDate":r=Zs(t,dt.Medium);break;case"longDate":r=Zs(t,dt.Long);break;case"fullDate":r=Zs(t,dt.Full);break;case"shortTime":r=Ks(t,dt.Short);break;case"mediumTime":r=Ks(t,dt.Medium);break;case"longTime":r=Ks(t,dt.Long);break;case"fullTime":r=Ks(t,dt.Full);break;case"short":let o=Yn(t,"shortTime"),i=Yn(t,"shortDate");r=iu(Qs(t,dt.Short),[o,i]);break;case"medium":let s=Yn(t,"mediumTime"),a=Yn(t,"mediumDate");r=iu(Qs(t,dt.Medium),[s,a]);break;case"long":let c=Yn(t,"longTime"),l=Yn(t,"longDate");r=iu(Qs(t,dt.Long),[c,l]);break;case"full":let u=Yn(t,"fullTime"),d=Yn(t,"fullDate");r=iu(Qs(t,dt.Full),[u,d]);break}return r&&(ou[e][n]=r),r}function iu(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function tn(t,n,e="-",r,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function tO(t,n){return tn(t,3).substring(0,n)}function Ae(t,n,e=0,r=!1,o=!1){return function(i,s){let a=nO(t,i);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return tO(a,n);let c=En(s,ft.MinusSign);return tn(a,n,c,r,o)}}function nO(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 b(2301,!1)}}function fe(t,n,e=Je.Format,r=!1){return function(o,i){return rO(o,i,t,n,e,r)}}function rO(t,n,e,r,o,i){switch(e){case 2:return fw(n,o,r)[t.getMonth()];case 1:return dw(n,o,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(i){let l=gw(n),u=vw(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,_=s>=p.hours&&a>=p.minutes,D=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(_&&D)return!0}else if(_||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return uw(n,o,r)[s<12?0:1];case 3:return hw(n,r)[t.getFullYear()<=0?0:1];default:let c=e;throw new b(2302,!1)}}function su(t){return function(n,e,r){let o=-1*r,i=En(e,ft.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case 0:return(o>=0?"+":"")+tn(s,2,i)+tn(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+tn(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+tn(s,2,i)+":"+tn(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+tn(s,2,i)+":"+tn(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var oO=0,cu=4;function iO(t){let n=lu(t,oO,1).getDay();return lu(t,0,1+(n<=cu?cu:cu+7)-n)}function bw(t){let n=t.getDay(),e=n===0?-3:cu-n;return lu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Am(t,n=!1){return function(e,r){let o;if(n){let i=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();o=1+Math.floor((s+i)/7)}else{let i=bw(e),s=iO(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return tn(o,t,En(r,ft.MinusSign))}}function au(t,n=!1){return function(e,r){let i=bw(e).getFullYear();return tn(i,t,En(r,ft.MinusSign),n)}}var Rm={};function sO(t){if(Rm[t])return Rm[t];let n;switch(t){case"G":case"GG":case"GGG":n=fe(3,ce.Abbreviated);break;case"GGGG":n=fe(3,ce.Wide);break;case"GGGGG":n=fe(3,ce.Narrow);break;case"y":n=Ae(0,1,0,!1,!0);break;case"yy":n=Ae(0,2,0,!0,!0);break;case"yyy":n=Ae(0,3,0,!1,!0);break;case"yyyy":n=Ae(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=Ae(1,1,1);break;case"MM":case"LL":n=Ae(1,2,1);break;case"MMM":n=fe(2,ce.Abbreviated);break;case"MMMM":n=fe(2,ce.Wide);break;case"MMMMM":n=fe(2,ce.Narrow);break;case"LLL":n=fe(2,ce.Abbreviated,Je.Standalone);break;case"LLLL":n=fe(2,ce.Wide,Je.Standalone);break;case"LLLLL":n=fe(2,ce.Narrow,Je.Standalone);break;case"w":n=Am(1);break;case"ww":n=Am(2);break;case"W":n=Am(1,!0);break;case"d":n=Ae(2,1);break;case"dd":n=Ae(2,2);break;case"c":case"cc":n=Ae(7,1);break;case"ccc":n=fe(1,ce.Abbreviated,Je.Standalone);break;case"cccc":n=fe(1,ce.Wide,Je.Standalone);break;case"ccccc":n=fe(1,ce.Narrow,Je.Standalone);break;case"cccccc":n=fe(1,ce.Short,Je.Standalone);break;case"E":case"EE":case"EEE":n=fe(1,ce.Abbreviated);break;case"EEEE":n=fe(1,ce.Wide);break;case"EEEEE":n=fe(1,ce.Narrow);break;case"EEEEEE":n=fe(1,ce.Short);break;case"a":case"aa":case"aaa":n=fe(0,ce.Abbreviated);break;case"aaaa":n=fe(0,ce.Wide);break;case"aaaaa":n=fe(0,ce.Narrow);break;case"b":case"bb":case"bbb":n=fe(0,ce.Abbreviated,Je.Standalone,!0);break;case"bbbb":n=fe(0,ce.Wide,Je.Standalone,!0);break;case"bbbbb":n=fe(0,ce.Narrow,Je.Standalone,!0);break;case"B":case"BB":case"BBB":n=fe(0,ce.Abbreviated,Je.Format,!0);break;case"BBBB":n=fe(0,ce.Wide,Je.Format,!0);break;case"BBBBB":n=fe(0,ce.Narrow,Je.Format,!0);break;case"h":n=Ae(3,1,-12);break;case"hh":n=Ae(3,2,-12);break;case"H":n=Ae(3,1);break;case"HH":n=Ae(3,2);break;case"m":n=Ae(4,1);break;case"mm":n=Ae(4,2);break;case"s":n=Ae(5,1);break;case"ss":n=Ae(5,2);break;case"S":n=Ae(6,1);break;case"SS":n=Ae(6,2);break;case"SSS":n=Ae(6,3);break;case"Z":case"ZZ":case"ZZZ":n=su(0);break;case"ZZZZZ":n=su(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=su(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=su(2);break;default:return null}return Rm[t]=n,n}function _w(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function aO(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function cO(t,n,e){let o=t.getTimezoneOffset(),i=_w(n,o);return aO(t,-1*(i-o))}function lO(t){if(ow(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[o,i=1,s=1]=t.split("-").map(a=>+a);return lu(o,i-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(QN))return uO(r)}let n=new Date(t);if(!ow(n))throw new b(2311,!1);return n}function uO(t){let n=new Date(0),e=0,r=0,o=t[8]?n.setUTCFullYear:n.setFullYear,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),o.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(n,s,a,c,l),n}function ow(t){return t instanceof Date&&!isNaN(t.valueOf())}var dO=/^(\d+)?\.((\d+)(-(\d+))?)?$/,iw=22,uu=".",Xs="0",fO=";",hO=",",Nm="#";function pO(t,n,e,r,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=En(e,ft.Infinity);else{let l=vO(t);s&&(l=gO(l));let u=n.minInt,d=n.minFrac,h=n.maxFrac;if(i){let $=i.match(dO);if($===null)throw new b(2306,!1);let De=$[1],pe=$[3],er=$[5];De!=null&&(u=Om(De)),pe!=null&&(d=Om(pe)),er!=null?h=Om(er):pe!=null&&d>h&&(h=d);let Tn=100;if(u>Tn||d>Tn||h>Tn)throw new b(2306,!1)}yO(l,d,h);let p=l.digits,m=l.integerLen,_=l.exponent,D=[];for(c=p.every($=>!$);m<u;m++)p.unshift(0);for(;m<0;m++)p.unshift(0);m>0?D=p.splice(m,p.length):(D=p,p=[0]);let C=[];for(p.length>=n.lgSize&&C.unshift(p.splice(-n.lgSize,p.length).join(""));p.length>n.gSize;)C.unshift(p.splice(-n.gSize,p.length).join(""));p.length&&C.unshift(p.join("")),a=C.join(En(e,r)),D.length&&(a+=En(e,o)+D.join("")),_&&(a+=En(e,ft.Exponential)+"+"+_)}return t<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function Dw(t,n,e){let r=pw(n,jm.Decimal),o=mO(r,En(n,ft.MinusSign));return pO(t,o,n,ft.Group,ft.Decimal,e)}function mO(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(fO),o=r[0],i=r[1],s=o.indexOf(uu)!==-1?o.split(uu):[o.substring(0,o.lastIndexOf(Xs)+1),o.substring(o.lastIndexOf(Xs)+1)],a=s[0],c=s[1]||"";e.posPre=a.substring(0,a.indexOf(Nm));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Xs?e.minFrac=e.maxFrac=u+1:d===Nm?e.maxFrac=u+1:e.posSuf+=d}let l=a.split(hO);if(e.gSize=l[1]?l[1].length:0,e.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-e.posPre.length-e.posSuf.length,d=i.indexOf(Nm);e.negPre=i.substring(0,d).replace(/'/g,""),e.negSuf=i.slice(d+u).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function gO(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function vO(t){let n=Math.abs(t)+"",e=0,r,o,i,s,a;for((o=n.indexOf(uu))>-1&&(n=n.replace(uu,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Xs;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Xs;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>iw&&(r=r.splice(0,iw-1),e=o-1,o=1),{digits:r,exponent:e,integerLen:o}}function yO(t,n,e){if(n>e)throw new b(2307,!1);let r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(n,o),e),s=i+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),t.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=n+t.integerLen,u=r.reduceRight(function(d,h,p,m){return h=h+d,m[p]=h<10?h:h-10,c&&(m[p]===0&&p>=l?m.pop():c=!1),h>=10?1:0},0);u&&(r.unshift(u),t.integerLen++)}function Om(t){let n=parseInt(t);if(isNaN(n))throw new b(2305,!1);return n}var km=/\s+/,sw=[],bO=(()=>{class t{_ngEl;_renderer;initialClasses=sw;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(km):sw}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(km):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],o=e[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(km).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||t)(E(z),E(Le))};static \u0275dir=M({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var du=class{$implicit;ngForOf;index;count;constructor(n,e,r,o){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ew=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,o){this._viewContainer=e,this._template=r,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new du(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),aw(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);aw(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(E(Qe),E(yt),E(Jl))};static \u0275dir=M({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function aw(t,n){t.context.$implicit=n.item}var _O=(()=>{class t{_viewContainer;_context=new fu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){cw(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){cw(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(E(Qe),E(yt))};static \u0275dir=M({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),fu=class{$implicit=null;ngIf=null};function cw(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var DO=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,o){this._ngEl=e,this._differs=r,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[o,i]=e.split("."),s=o.indexOf("-")===-1?void 0:Yt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(E(z),E(Im),E(Le))};static \u0275dir=M({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),EO=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(W);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(e,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||t)(E(Qe))};static \u0275dir=M({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ze]})}return t})();function hu(t,n){return new b(2100,!1)}var Fm=class{createSubscription(n,e,r){return Z(()=>n.subscribe({next:e,error:r}))}dispose(n){Z(()=>n.unsubscribe())}},Pm=class{createSubscription(n,e,r){return n.then(o=>e?.(o),o=>r?.(o)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},wO=new Pm,CO=new Fm,IO=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(vt);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(zn(e))return wO;if(Hl(e))return CO;throw hu(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(E(Xt,16))};static \u0275pipe=ii({name:"async",type:t,pure:!1})}return t})();var SO=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,MO=(()=>{class t{transform(e){return e==null?null:(TO(t,e),e.replace(SO,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ii({name:"titlecase",type:t,pure:!0})}return t})();function TO(t,n){if(typeof n!="string")throw hu(t,n)}var xO="mediumDate",ww=new y(""),Cw=new y(""),AO=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,o){this.locale=e,this.defaultTimezone=r,this.defaultOptions=o}transform(e,r,o,i){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??xO,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return yw(e,s,i||this.locale,a)}catch(s){throw hu(t,s.message)}}static \u0275fac=function(r){return new(r||t)(E(li,16),E(ww,24),E(Cw,24))};static \u0275pipe=ii({name:"date",type:t,pure:!0})}return t})();var RO=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,r,o){if(!NO(e))return null;o||=this._locale;try{let i=OO(e);return Dw(i,o,r)}catch(i){throw hu(t,i.message)}}static \u0275fac=function(r){return new(r||t)(E(li,16))};static \u0275pipe=ii({name:"number",type:t,pure:!0})}return t})();function NO(t){return!(t==null||t===""||t!==t)}function OO(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new b(2309,!1);return t}var Vm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function Js(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[o,i]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var co=class{};var Um="browser";function Iw(t){return t===Um}var Hm=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Bm(f(k),window)})}return t})(),Bm=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(F(g({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=kO(this.document,n);r&&(this.scrollToElement(r,e),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(St(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(g({},e),{left:o-s[0],top:i-s[1]}))}};function kO(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var ea=class{_doc;constructor(n){this._doc=n}manager},pu=(()=>{class t extends ea{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,o,i){return e.addEventListener(r,o,i),()=>this.removeEventListener(e,r,o,i)}removeEventListener(e,r,o,i){return e.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||t)(w(k))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),vu=new y(""),Wm=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let o=e.filter(s=>!(s instanceof pu));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof pu);i&&this._plugins.push(i)}addEventListener(e,r,o,i){return this._findPluginFor(r).addEventListener(e,r,o,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(i=>i.supports(e)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(w(vu),w(V))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),$m="ng-app-id";function Sw(t){for(let n of t)n.remove()}function Mw(t,n){let e=n.createElement("style");return e.textContent=t,e}function PO(t,n,e,r){let o=t.head?.querySelectorAll(`style[${$m}="${n}"],link[${$m}="${n}"]`);if(o)for(let i of o)i.removeAttribute($m),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&e.set(i.textContent,{usage:0,elements:[i]})}function Gm(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var qm=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,o,i={}){this.doc=e,this.appId=r,this.nonce=o,PO(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,Mw);r?.forEach(o=>this.addUsage(o,this.external,Gm))}removeStyles(e,r){for(let o of e)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,r,o){let i=r.get(e);i?i.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(e,this.doc)))})}removeUsage(e,r){let o=r.get(e);o&&(o.usage--,o.usage<=0&&(Sw(o.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Sw(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(e,Mw(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,Gm(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(w(k),w(_r),w(ao,8),w(so))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),zm={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"},Ym=/%COMP%/g;var xw="%COMP%",LO=`_nghost-${xw}`,jO=`_ngcontent-${xw}`,VO=!0,BO=new y("",{factory:()=>VO});function UO(t){return jO.replace(Ym,t)}function HO(t){return LO.replace(Ym,t)}function Aw(t,n){return n.map(e=>e.replace(Ym,t))}var Zm=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,o,i,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new ta(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof gu?o.applyToHost(e):o instanceof na&&o.applyStyles(),o}getOrCreateRenderer(e,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case qt.Emulated:i=new gu(c,l,r,this.appId,u,s,a,d);break;case qt.ShadowDom:return new mu(c,e,r,s,a,this.nonce,d,l);case qt.ExperimentalIsolatedShadowDom:return new mu(c,e,r,s,a,this.nonce,d);default:i=new na(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(w(Wm),w(qm),w(_r),w(BO),w(k),w(V),w(ao),w(Zt,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ta=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(zm[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Tw(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Tw(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,o){if(o){e=o+":"+e;let i=zm[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=zm[r];o?n.removeAttributeNS(o,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,o){o&(Yt.DashCase|Yt.Important)?n.style.setProperty(e,r,o&Yt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Yt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,o){if(typeof n=="string"&&(n=_t().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,e,i)),this.eventManager.addEventListener(n,e,i,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Tw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var mu=class extends ta{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Aw(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Gm(d,o);s&&h.setAttribute("nonce",s),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,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}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)}},na=class extends ta{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Aw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&oo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gu=class extends na{contentAttr;hostAttr;constructor(n,e,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,e,r,i,s,a,c,l),this.contentAttr=UO(l),this.hostAttr=HO(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var yu=class t extends Ys{supportsDOMEvents=!0;static makeCurrent(){Mm(new t)}onAndCancel(n,e,r,o){return n.addEventListener(e,r,o),()=>{n.removeEventListener(e,r,o)}}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=$O();return e==null?null:zO(e)}resetBaseElement(){ra=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Js(document.cookie,n)}},ra=null;function $O(){return ra=ra||document.head.querySelector("base"),ra?ra.getAttribute("href"):null}function zO(t){return new URL(t,document.baseURI).pathname}var bu=class{addToWindow(n){we.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new b(5103,!1);return i},we.getAllAngularTestabilities=()=>n.getAllTestabilities(),we.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let o=we.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let o=n.getTestability(e);return o??(r?_t().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},GO=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Rw=["alt","control","meta","shift"],WO={"\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"},qO={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Nw=(()=>{class t extends ea{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,o,i){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_t().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){let r=e.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Rw.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let o=WO[e.key]||e.key,i="";return r.indexOf("code.")>-1&&(o=e.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Rw.forEach(s=>{if(s!==o){let a=qO[s];a(e)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(e,r,o){return i=>{t.matchEventFullKeyCode(i,e)&&o.runGuarded(()=>r(i))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(w(k))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();async function YO(t,n,e){let r=g({rootComponent:t},ZO(n,e));return QE(r)}function ZO(t,n){return{platformRef:n?.platformRef,appProviders:[...Ow,...t?.providers??[]],platformProviders:JO}}function KO(){yu.makeCurrent()}function QO(){return new Ze}function XO(){return yp(document),document}var JO=[{provide:so,useValue:Um},{provide:wl,useValue:KO,multi:!0},{provide:k,useFactory:XO}];var ek=[{provide:Ul,useClass:bu},{provide:Bl,useClass:Hs},{provide:Hs,useClass:Hs}],Ow=[{provide:hs,useValue:"root"},{provide:Ze,useFactory:QO},{provide:vu,useClass:pu,multi:!0},{provide:vu,useClass:Nw,multi:!0},Zm,qm,Wm,{provide:$e,useExisting:Zm},{provide:co,useClass:GO},[]],tk=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[...Ow,...ek],imports:[Vm,KE]})}return t})();var wn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let o=e.slice(0,r),i=e.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}: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();for(let[e,r]of n.headers.entries())this.headers.set(e,r),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 r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=n.op==="a"?(this.headers.get(e)||[]).slice():[];o.push(...r),this.headers.set(e,o);break;case"d":let i=n.value;if(i===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(e);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Du=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()}},Eu=class{encodeKey(n){return kw(n)}encodeValue(n){return kw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function nk(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var rk=/%(\d[a-f0-9])/gi,ok={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kw(t){return encodeURIComponent(t).replace(rk,(n,e)=>ok[e]??n)}function _u(t){return`${t}`}var Zn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Eu,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=nk(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],o=Array.isArray(r)?r.map(_u):[_u(r)];this.map.set(e,o)})):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(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{e.push({param:r,value:i,op:"a"})}):e.push({param:r,value:o,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(r=>e+"="+this.encoder.encodeValue(r)).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(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(_u(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),o=r.indexOf(_u(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function ik(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Pw(t){return typeof Blob<"u"&&t instanceof Blob}function Lw(t){return typeof FormData<"u"&&t instanceof FormData}function sk(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var jw="Content-Type",Vw="Accept",Uw="text/plain",Hw="application/json",ak=`${Hw}, ${Uw}, */*`,di=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,r,o){this.url=e,this.method=n.toUpperCase();let i;if(ik(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new wn,this.context??=new Du,!this.params)this.params=new Zn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Fw(this.body)||Pw(this.body)||Lw(this.body)||sk(this.body)?this.body:this.body instanceof Zn?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||Lw(this.body)?null:Pw(this.body)?this.body.type||null:Fw(this.body)?null:typeof this.body=="string"?Uw:this.body instanceof Zn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Hw:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer??this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,_=n.timeout??this.timeout,D=n.body!==void 0?n.body:this.body,C=n.withCredentials??this.withCredentials,$=n.reportProgress??this.reportProgress,De=n.headers||this.headers,pe=n.params||this.params,er=n.context??this.context;return n.setHeaders!==void 0&&(De=Object.keys(n.setHeaders).reduce((Tn,Ar)=>Tn.set(Ar,n.setHeaders[Ar]),De)),n.setParams&&(pe=Object.keys(n.setParams).reduce((Tn,Ar)=>Tn.set(Ar,n.setParams[Ar]),pe)),new t(e,r,D,{params:pe,headers:De,context:er,reportProgress:$,responseType:o,withCredentials:C,transferCache:m,keepalive:i,cache:a,priority:s,timeout:_,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},lo=(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})(lo||{}),hi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new wn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},wu=class t extends hi{constructor(n={}){super(n)}type=lo.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})}},oa=class t extends hi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=lo.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})}},fi=class extends hi{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}},ck=200,lk=204;var uk=new y("");var dk=/^\)\]\}',?\n/;var Qm=(()=>{class t{xhrFactory;tracingService=f(Zt,{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 b(-2800,!1);let r=this.xhrFactory;return S(null).pipe(Be(()=>new P(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((D,C)=>s.setRequestHeader(D,C.join(","))),e.headers.has(Vw)||s.setRequestHeader(Vw,ak),!e.headers.has(jw)){let D=e.detectContentTypeHeader();D!==null&&s.setRequestHeader(jw,D)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let D=e.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let D=s.statusText||"OK",C=new wn(s.getAllResponseHeaders()),$=s.responseURL||e.url;return c=new wu({headers:C,status:s.status,statusText:D,url:$}),c},u=this.maybePropagateTrace(()=>{let{headers:D,status:C,statusText:$,url:De}=l(),pe=null;C!==lk&&(pe=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=pe?ck:0);let er=C>=200&&C<300;if(e.responseType==="json"&&typeof pe=="string"){let Tn=pe;pe=pe.replace(dk,"");try{pe=pe!==""?JSON.parse(pe):null}catch(Ar){pe=Tn,er&&(er=!1,pe={error:Ar,text:pe})}}er?(i.next(new oa({body:pe,headers:D,status:C,statusText:$,url:De||void 0})),i.complete()):i.error(new fi({error:pe,headers:D,status:C,statusText:$,url:De||void 0}))}),d=this.maybePropagateTrace(D=>{let{url:C}=l(),$=new fi({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error($)}),h=d;e.timeout&&(h=this.maybePropagateTrace(D=>{let{url:C}=l(),$=new fi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:C||void 0});i.error($)}));let p=!1,m=this.maybePropagateTrace(D=>{p||(i.next(l()),p=!0);let C={type:lo.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),e.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)}),_=this.maybePropagateTrace(D=>{let C={type:lo.UploadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),i.next(C)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:lo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(w(co))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fk=new y("",{factory:()=>!0}),hk="XSRF-TOKEN",pk=new y("",{factory:()=>hk}),mk="X-XSRF-TOKEN",gk=new y("",{factory:()=>mk}),vk=(()=>{class t{cookieName=f(pk);doc=f(k);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Js(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$w=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(vk),o},providedIn:"root"})}return t})();function zw(t,n){if(!f(fk)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=f(qn).href,{origin:i}=new URL(o),{origin:s}=new URL(t.url,i);if(i!==s)return n(t)}catch{return n(t)}let e=f($w).getToken(),r=f(gk);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function Gw(t,n){return n(t)}function yk(t,n){return(e,r)=>n.intercept(e,{handle:o=>t(o,r)})}function bk(t,n,e){return(r,o)=>Pe(e,()=>n(r,i=>t(i,o)))}var Ww=new y(""),Xm=new y("",{factory:()=>[zw]}),qw=new y(""),Jm=new y("",{factory:()=>!0});function _k(){let t=null;return(n,e)=>{t===null&&(t=(f(Ww,{optional:!0})??[]).reduceRight(yk,Gw));let r=f(Wo);if(f(Jm)){let i=r.add();return t(n,e).pipe(Rn(i))}else return t(n,e)}}var eg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(Qm),o},providedIn:"root"})}return t})();var Cu=(()=>{class t{backend;injector;chain=null;pendingTasks=f(Wo);contributeToStability=f(Jm);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=this.injector.get(Iu,null,{skipSelf:!0}),o=r!==null&&this.backend===r,i=this.injector.get(qw,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(Xm),...i]));this.chain=s.reduceRight((a,c)=>bk(a,c,this.injector),Gw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Rn(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(w(eg),w(oe))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Iu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(Cu),o},providedIn:"root"})}return t})();function Km(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 pi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof di)i=e;else{let c;o.headers instanceof wn?c=o.headers:c=new wn(o.headers);let l;o.params&&(o.params instanceof Zn?l=o.params:l=new Zn({fromObject:o.params})),i=new di(e,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=S(i).pipe(or(c=>this.handler.handle(c)));if(e instanceof di||o.observe==="events")return s;let a=s.pipe(he(c=>c instanceof oa));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(L(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(L(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(L(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(L(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new Zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,o={}){return this.request("PATCH",e,Km(o,r))}post(e,r,o={}){return this.request("POST",e,Km(o,r))}put(e,r,o={}){return this.request("PUT",e,Km(o,r))}static \u0275fac=function(r){return new(r||t)(w(Iu))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var tg=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(tg||{});function Dk(t,n){return{\u0275kind:t,\u0275providers:n}}function Yw(...t){let n=[pi,Cu,{provide:Iu,useExisting:Cu},{provide:eg,useFactory:()=>f(uk,{optional:!0})??f(Qm)},{provide:Xm,useValue:zw,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return hr(n)}var Bw=new y("");function Zw(){return Dk(tg.LegacyInterceptors,[{provide:Bw,useFactory:_k},{provide:Xm,useExisting:Bw,multi:!0}])}var Ek=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[Yw(Zw())]})}return t})();var Qw=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(w(k))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wk(t,n){if(typeof COMPILED>"u"||!COMPILED){let e=we.ng=we.ng||{};e[t]=n}}var ng=class{msPerTick;numTicks;constructor(n,e){this.msPerTick=n,this.numTicks=e}},rg=class{appRef;constructor(n){this.appRef=n.injector.get(Ge)}timeChangeDetection(n){let e=n&&n.record,r="Change Detection";e&&"profile"in console&&typeof console.profile=="function"&&console.profile(r);let o=performance.now(),i=0;for(;i<5||performance.now()-o<500;)this.appRef.tick(),i++;let s=performance.now();e&&"profileEnd"in console&&typeof console.profileEnd=="function"&&console.profileEnd(r);let a=(s-o)/i;return console.log(`ran ${i} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new ng(a,i)}},Ck="profiler";function TY(t){return wk(Ck,new rg(t)),t}var ia=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(Ik),o},providedIn:"root"})}return t})(),Ik=(()=>{class t extends ia{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case J.NONE:return r;case J.HTML:return bn(r,"HTML")?bt(r):Ml(this._doc,String(r)).toString();case J.STYLE:return bn(r,"Style")?bt(r):r;case J.SCRIPT:if(bn(r,"Script"))return bt(r);throw new b(5200,!1);case J.URL:return bn(r,"URL")?bt(r):Ps(String(r));case J.RESOURCE_URL:if(bn(r,"ResourceURL"))return bt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return Dp(e)}bypassSecurityTrustStyle(e){return Ep(e)}bypassSecurityTrustScript(e){return wp(e)}bypassSecurityTrustUrl(e){return Cp(e)}bypassSecurityTrustResourceUrl(e){return Ip(e)}static \u0275fac=function(r){return new(r||t)(w(k))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cC=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(E(Le),E(z))};static \u0275dir=M({type:t})}return t})(),Pu=(()=>{class t extends cC{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,features:[te]})}return t})(),fo=new y("");var Sk={provide:fo,useExisting:Ce(()=>lC),multi:!0};function Mk(){let t=_t()?_t().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Tk=new y(""),lC=(()=>{class t extends cC{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Mk())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(E(Le),E(z),E(Tk,8))};static \u0275dir=M({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Qt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[je([Sk]),te]})}return t})();function ag(t){return t==null||cg(t)===0}function cg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var nn=new y(""),ho=new y(""),xk=/^(?=.{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])?)*$/,Jw=class{static min(n){return uC(n)}static max(n){return dC(n)}static required(n){return fC(n)}static requiredTrue(n){return Ak(n)}static email(n){return Rk(n)}static minLength(n){return Nk(n)}static maxLength(n){return hC(n)}static pattern(n){return Ok(n)}static nullValidator(n){return Mu()}static compose(n){return bC(n)}static composeAsync(n){return _C(n)}};function uC(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 dC(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 fC(t){return ag(t.value)?{required:!0}:null}function Ak(t){return t.value===!0?null:{required:!0}}function Rk(t){return ag(t.value)||xk.test(t.value)?null:{email:!0}}function Nk(t){return n=>{let e=n.value?.length??cg(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function hC(t){return n=>{let e=n.value?.length??cg(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function Ok(t){if(!t)return Mu;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),r=>{if(ag(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Mu(t){return null}function pC(t){return t!=null}function mC(t){return zn(t)?ae(t):t}function gC(t){let n={};return t.forEach(e=>{n=e!=null?g(g({},n),e):n}),Object.keys(n).length===0?null:n}function vC(t,n){return n.map(e=>e(t))}function kk(t){return!t.validate}function yC(t){return t.map(n=>kk(n)?n:e=>n.validate(e))}function bC(t){if(!t)return null;let n=t.filter(pC);return n.length==0?null:function(e){return gC(vC(e,n))}}function lg(t){return t!=null?bC(yC(t)):null}function _C(t){if(!t)return null;let n=t.filter(pC);return n.length==0?null:function(e){let r=vC(e,n).map(mC);return Yi(r).pipe(L(gC))}}function ug(t){return t!=null?_C(yC(t)):null}function eC(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function DC(t){return t._rawValidators}function EC(t){return t._rawAsyncValidators}function og(t){return t?Array.isArray(t)?t:[t]:[]}function Tu(t,n){return Array.isArray(t)?t.includes(n):t===n}function tC(t,n){let e=og(n);return og(t).forEach(o=>{Tu(e,o)||e.push(o)}),e}function nC(t,n){return og(n).filter(e=>!Tu(t,e))}var xu=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=lg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ug(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}},rt=class extends xu{name;get formDirective(){return null}get path(){return null}},Kn=class extends xu{_parent=null;name=null;valueAccessor=null},Au=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var GY=(()=>{class t extends Au{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(E(Kn,2))};static \u0275dir=M({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[te]})}return t})(),WY=(()=>{class t extends Au{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(E(rt,10))};static \u0275dir=M({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[te]})}return t})();var sa="VALID",Su="INVALID",mi="PENDING",aa="DISABLED",Er=class{},Ru=class extends Er{value;source;constructor(n,e){super(),this.value=n,this.source=e}},la=class extends Er{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ua=class extends Er{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},gi=class extends Er{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Nu=class extends Er{source;constructor(n){super(),this.source=n}},da=class extends Er{source;constructor(n){super(),this.source=n}};function dg(t){return(Lu(t)?t.validators:t)||null}function Fk(t){return Array.isArray(t)?lg(t):t||null}function fg(t,n){return(Lu(n)?n.asyncValidators:t)||null}function Pk(t){return Array.isArray(t)?ug(t):t||null}function Lu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function wC(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[e])throw new b(1001,"")}function CC(t,n,e){t._forEachChild((r,o)=>{if(e[o]===void 0)throw new b(-1002,"")})}var yi=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 Z(this.statusReactive)}set status(n){Z(()=>this.statusReactive.set(n))}_status=Wn(()=>this.statusReactive());statusReactive=Q(void 0);get valid(){return this.status===sa}get invalid(){return this.status===Su}get pending(){return this.status===mi}get disabled(){return this.status===aa}get enabled(){return this.status!==aa}errors;get pristine(){return Z(this.pristineReactive)}set pristine(n){Z(()=>this.pristineReactive.set(n))}_pristine=Wn(()=>this.pristineReactive());pristineReactive=Q(!0);get dirty(){return!this.pristine}get touched(){return Z(this.touchedReactive)}set touched(n){Z(()=>this.touchedReactive.set(n))}_touched=Wn(()=>this.touchedReactive());touchedReactive=Q(!1);get untouched(){return!this.touched}_events=new R;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(tC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(tC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(nC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(nC(n,this._rawAsyncValidators))}hasValidator(n){return Tu(this._rawValidators,n)}hasAsyncValidator(n){return Tu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new ua(!0,r))}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 r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new ua(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new la(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new la(!0,r))}markAsPending(n={}){this.status=mi;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new gi(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(F(g({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=aa,this.errors=null,this._forEachChild(o=>{o.disable(F(g({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ru(this.value,r)),this._events.next(new gi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=sa,this._forEachChild(r=>{r.enable(F(g({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!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 r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sa||this.status===mi)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ru(this.value,e)),this._events.next(new gi(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(F(g({},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()?aa:sa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=mi,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=mC(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{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((r,o)=>r&&r._find(o),this)}getError(n,e){let r=e?this.get(e):this;return r?.errors?r.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,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new gi(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?aa:this.errors?Su:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mi)?mi:this._anyControlsHaveStatus(Su)?Su:sa}_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 r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),o&&this._events.next(new la(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ua(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Lu(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=Fk(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Pk(this._rawAsyncValidators)}},uo=class extends yi{constructor(n,e,r){super(dg(e),fg(r,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,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.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,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){CC(this,!0,n),Object.keys(n).forEach(r=>{wC(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new da(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,o)=>((r.enabled||this.disabled)&&(e[o]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((o,i)=>{r=e(r,o,i)}),r}_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 qY=uo;var ig=class extends uo{};var bi=new y("",{factory:()=>ju}),ju="always";function Vu(t,n){return[...n.path,t]}function fa(t,n,e=ju){hg(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),jk(t,n),Bk(t,n),Vk(t,n),Lk(t,n)}function Ou(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),Fu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ku(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Lk(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function hg(t,n){let e=DC(t);n.validator!==null?t.setValidators(eC(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=EC(t);n.asyncValidator!==null?t.setAsyncValidators(eC(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();ku(n._rawValidators,o),ku(n._rawAsyncValidators,o)}function Fu(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=DC(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(e=!0,t.setValidators(i))}}if(n.asyncValidator!==null){let o=EC(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(e=!0,t.setAsyncValidators(i))}}}let r=()=>{};return ku(n._rawValidators,r),ku(n._rawAsyncValidators,r),e}function jk(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&IC(t,n)})}function Vk(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&IC(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function IC(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Bk(t,n){let e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function SC(t,n){t==null,hg(t,n)}function Uk(t,n){return Fu(t,n)}function pg(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Hk(t){return Object.getPrototypeOf(t.constructor)===Pu}function MC(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function mg(t,n){if(!n)return null;Array.isArray(n);let e,r,o;return n.forEach(i=>{i.constructor===lC?e=i:Hk(i)?r=i:o=i}),o||r||e||null}function $k(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var zk={provide:rt,useExisting:Ce(()=>Gk)},ca=Promise.resolve(),Gk=(()=>{class t extends rt{callSetDisabledState;get submitted(){return Z(this.submittedReactive)}_submitted=Wn(()=>this.submittedReactive());submittedReactive=Q(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new uo({},lg(e),ug(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ca.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),fa(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ca.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ca.then(()=>{let r=this._findContainer(e.path),o=new uo({});SC(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ca.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){ca.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),MC(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Nu(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(r){return new(r||t)(E(nn,10),E(ho,10),E(bi,8))};static \u0275dir=M({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Qt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[je([zk]),te]})}return t})();function rC(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function oC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var vi=class extends yi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(dg(e),fg(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Lu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(oC(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(r=>r(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 da(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){rC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){rC(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){oC(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}},ZY=vi,Wk=t=>t instanceof vi,qk=(()=>{class t extends rt{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,standalone:!1,features:[te]})}return t})();var Yk={provide:Kn,useExisting:Ce(()=>Zk)},iC=Promise.resolve(),Zk=(()=>{class t extends Kn{_changeDetectorRef;callSetDisabledState;control=new vi;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=mg(this,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),pg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){fa(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){iC.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,o=r!==0&&ue(r);iC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Vu(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(E(rt,9),E(nn,10),E(ho,10),E(fo,10),E(Xt,8),E(bi,8))};static \u0275dir=M({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[je([Yk]),te,ze]})}return t})();var KY=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),Kk={provide:fo,useExisting:Ce(()=>Qk),multi:!0},Qk=(()=>{class t extends Pu{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&Qt("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[je([Kk]),te]})}return t})();var sg=class extends yi{constructor(n,e,r){super(dg(e),fg(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,r={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,e={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){CC(this,!1,n),n.forEach((r,o)=>{wC(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((r,o)=>{r.reset(n[o],F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new da(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,r)=>r._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,r)=>{n(e,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var TC=(()=>{class t extends rt{callSetDisabledState;get submitted(){return Z(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Wn(()=>this._submittedReactive());_submittedReactive=Q(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(r)}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&&(Fu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return fa(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Ou(e.control||null,e,!1),$k(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,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,MC(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Nu(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,o=this.form.get(e.path);r!==o&&(Ou(r||null,e),Wk(o)&&(fa(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);SC(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&Uk(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){hg(this.form,this),this._oldForm&&Fu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(E(nn,10),E(ho,10),E(bi,8))};static \u0275dir=M({type:t,features:[te,ze]})}return t})();var gg=new y(""),Xk={provide:Kn,useExisting:Ce(()=>Jk)},Jk=(()=>{class t extends Kn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=mg(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&Ou(r,this,!1),fa(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}pg(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ou(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(E(nn,10),E(ho,10),E(fo,10),E(gg,8),E(bi,8))};static \u0275dir=M({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[je([Xk]),te,ze]})}return t})(),eF={provide:rt,useExisting:Ce(()=>xC)},xC=(()=>{class t extends qk{name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){RC(this._parent)}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(nn,10),E(ho,10))};static \u0275dir=M({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[je([eF]),te]})}return t})(),tF={provide:rt,useExisting:Ce(()=>AC)},AC=(()=>{class t extends rt{_parent;name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){RC(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vu(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(nn,10),E(ho,10))};static \u0275dir=M({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[je([tF]),te]})}return t})();function RC(t){return!(t instanceof xC)&&!(t instanceof TC)&&!(t instanceof AC)}var nF={provide:Kn,useExisting:Ce(()=>rF)},rF=(()=>{class t extends Kn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=mg(this,i)}ngOnChanges(e){this._added||this._setUpControl(),pg(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Vu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(nn,10),E(ho,10),E(fo,10),E(gg,8))};static \u0275dir=M({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[je([nF]),te,ze]})}return t})();var oF={provide:rt,useExisting:Ce(()=>iF)},iF=(()=>{class t extends TC{form=null;ngSubmit=new H;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Qt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[je([oF]),te]})}return t})(),sF={provide:fo,useExisting:Ce(()=>OC),multi:!0};function NC(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function aF(t){return t.split(":")[0]}var OC=(()=>{class t extends Pu{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(Ge).injector;destroyRef=f(He);cdr=f(Xt);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,At({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let r=this._getOptionId(e),o=NC(r,e);this.setProperty("value",o)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){let r=aF(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&Qt("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[je([sF]),te]})}return t})(),QY=(()=>{class t{_element;_renderer;_select;id;constructor(e,r,o){this._element=e,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(NC(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||t)(E(z),E(Le),E(OC,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),cF={provide:fo,useExisting:Ce(()=>kC),multi:!0};function sC(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function lF(t){return t.split(":")[0]}var kC=(()=>{class t extends Pu{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let r;if(Array.isArray(e)){let o=e.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s)>-1)}}else r=o=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a<s.length;a++){let c=s[a],l=this._getOptionValue(c.value);o.push(l)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let l=this._getOptionValue(c.value);o.push(l)}}}this.value=o,e(o)}}_registerOption(e){let r=(this._idCounter++).toString();return this._optionMap.set(r,e),r}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,e))return r;return null}_getOptionValue(e){let r=lF(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Qt("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[je([cF]),te]})}return t})(),XY=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,r,o){this._element=e,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(sC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(sC(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||t)(E(z),E(Le),E(kC,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function uF(t){return typeof t=="number"?t:parseInt(t,10)}function FC(t){return typeof t=="number"?t:parseFloat(t)}var Bu=(()=>{class t{_validator=Mu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Mu,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,features:[ze]})}return t})(),dF={provide:nn,useExisting:Ce(()=>fF),multi:!0},fF=(()=>{class t extends Bu{max;inputName="max";normalizeInput=e=>FC(e);createValidator=e=>dC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&<("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[je([dF]),te]})}return t})(),hF={provide:nn,useExisting:Ce(()=>pF),multi:!0},pF=(()=>{class t extends Bu{min;inputName="min";normalizeInput=e=>FC(e);createValidator=e=>uC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&<("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[je([hF]),te]})}return t})(),mF={provide:nn,useExisting:Ce(()=>gF),multi:!0};var gF=(()=>{class t extends Bu{required;inputName="required";normalizeInput=ue;createValidator=e=>fC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&<("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[je([mF]),te]})}return t})();var vF={provide:nn,useExisting:Ce(()=>yF),multi:!0},yF=(()=>{class t extends Bu{maxlength;inputName="maxlength";normalizeInput=e=>uF(e);createValidator=e=>hC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&<("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[je([vF]),te]})}return t})();var PC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function aC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var bF=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,r=null){let o=this._reduceControls(e),i={};return aC(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new uo(o,i)}record(e,r=null){let o=this._reduceControls(e);return new ig(o,r)}control(e,r,o){let i={};return this.useNonNullable?(aC(r)?i=r:(i.validators=r,i.asyncValidators=o),new vi(e,F(g({},i),{nonNullable:!0}))):new vi(e,r,o)}array(e,r,o){let i=e.map(s=>this._createControl(s));return new sg(i,r,o)}_reduceControls(e){let r={};return Object.keys(e).forEach(o=>{r[o]=this._createControl(e[o])}),r}_createControl(e){if(e instanceof vi)return e;if(e instanceof yi)return e;if(Array.isArray(e)){let r=e[0],o=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(r,o,i)}else return this.control(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var JY=(()=>{class t extends bF{group(e,r=null){return super.group(e,r)}control(e,r,o){return super.control(e,r,o)}array(e,r,o){return super.array(e,r,o)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),eZ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:bi,useValue:e.callSetDisabledState??ju}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[PC]})}return t})(),tZ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:gg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:bi,useValue:e.callSetDisabledState??ju}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[PC]})}return t})();var Uu=new WeakMap,Nt=(()=>{class t{_appRef;_injector=f(W);_environmentInjector=f(oe);load(e){let r=this._appRef=this._appRef||this._injector.get(Ge),o=Uu.get(r);o||(o={loaders:new Set,refs:[]},Uu.set(r,o),r.onDestroy(()=>{Uu.get(r)?.refs.forEach(i=>i.destroy()),Uu.delete(r)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(eu(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $u=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},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;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})(),Hu;function _F(){if(Hu===void 0&&(Hu=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Hu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Hu}function po(t){return _F()?.createHTML(t)||t}function LC(t,n,e){let r=e.sanitize(J.HTML,n);t.innerHTML=po(r||"")}function jC(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 VC(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function BC(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Qn=class{url;svgText;options;svgElement=null;constructor(n,e,r){this.url=n,this.svgText=e,this.options=r}},HC=(()=>{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,r,o,i){this._httpClient=e,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(e,r,o){return this.addSvgIconInNamespace("",e,r,o)}addSvgIconLiteral(e,r,o){return this.addSvgIconLiteralInNamespace("",e,r,o)}addSvgIconInNamespace(e,r,o,i){return this._addSvgIconConfig(e,r,new Qn(o,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,o,i){let s=this._sanitizer.sanitize(J.HTML,o);if(!s)throw BC(o);let a=po(s);return this._addSvgIconConfig(e,r,new Qn("",a,i))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,o){return this._addSvgIconSetConfig(e,new Qn(r,null,o))}addSvgIconSetLiteralInNamespace(e,r,o){let i=this._sanitizer.sanitize(J.HTML,r);if(!i)throw BC(r);let s=po(i);return this._addSvgIconSetConfig(e,new Qn("",s,o))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let r=this._sanitizer.sanitize(J.RESOURCE_URL,e);if(!r)throw VC(e);let o=this._cachedIconsByUrl.get(r);return o?S(zu(o)):this._loadSvgIconFromConfig(new Qn(e,null)).pipe(Ue(i=>this._cachedIconsByUrl.set(r,i)),L(i=>zu(i)))}getNamedSvgIcon(e,r=""){let o=UC(r,e),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,e),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(e,s):xn(jC(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?S(zu(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(L(r=>zu(r)))}_getSvgFromIconSetConfigs(e,r){let o=this._extractIconWithNameFromAnySet(e,r);if(o)return S(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(It(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(J.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),S(null)})));return Yi(i).pipe(L(()=>{let s=this._extractIconWithNameFromAnySet(e,r);if(!s)throw jC(e);return s}))}_extractIconWithNameFromAnySet(e,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,e,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ue(r=>e.svgText=r),L(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?S(null):this._fetchIcon(e).pipe(Ue(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,o){let i=e.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(po("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){let r=this._document.createElement("DIV");r.innerHTML=e;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(e){let r=this._svgElementFromString(po("<svg></svg>")),o=e.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i];s!=="id"&&r.setAttribute(s,a)}for(let i=0;i<e.childNodes.length;i++)e.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){let{url:r,options:o}=e,i=o?.withCredentials??!1;if(!this._httpClient)throw DF();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(J.RESOURCE_URL,r);if(!s)throw VC(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(L(l=>po(l)),Rn(()=>this._inProgressUrlFetches.delete(s)),Zi());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,r,o){return this._svgIconConfigs.set(UC(e,r),o),this}_addSvgIconSetConfig(e,r){let o=this._iconSetConfigs.get(e);return o?o.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){let r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,e);if(i)return EF(i)?new Qn(i.url,null,i.options):new Qn(i,null)}}static \u0275fac=function(r){return new(r||t)(w(pi,8),w(ia),w(k,8),w(Ze))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zu(t){return t.cloneNode(!0)}function UC(t,n){return t+":"+n}function EF(t){return!!(t.url&&t.options)}var wF=new y("cdk-dir-doc",{providedIn:"root",factory:()=>f(k)}),CF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function $C(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?CF.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var _i=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Q("ltr");change=new H;constructor(){let e=f(wF,{optional:!0});if(e){let r=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set($C(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var IF=["*"],SF=new y("MAT_ICON_DEFAULT_OPTIONS"),MF=new y("mat-icon-location",{providedIn:"root",factory:()=>{let t=f(k),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),zC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],TF=zC.map(t=>`[${t}]`).join(", "),xF=/^url\(['"]?#(.*?)['"]?\)$/,PZ=(()=>{class t{_elementRef=f(z);_iconRegistry=f(HC);_location=f(MF);_errorHandler=f(Ze);_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 r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=G.EMPTY;constructor(){let e=f(new ui("aria-hidden"),{optional:!0}),r=f(SF,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=e.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),r.forEach(o=>e.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.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 r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let r=e.querySelectorAll(TF),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)zC.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(xF):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[r,o]=this._splitIconName(e);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Oe(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(lt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),zs(o.color?"mat-"+o.color:""),Xe("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ue],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:IF,decls:1,vars:0,template:function(r,o){r&1&&(Dr(),_n(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;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})(),LZ=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[rn]})}return t})();function ha(t){return t.buttons===0||t.detail===0}function pa(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 vg;function GC(){if(vg==null){let t=typeof document<"u"?document.head:null;vg=!!(t&&(t.createShadowRoot||t.attachShadow))}return vg}function yg(t){if(GC()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function AF(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function ot(t){return t.composedPath?t.composedPath()[0]:t.target}var bg;try{bg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{bg=!1}var _e=(()=>{class t{_platformId=f(so);isBrowser=this._platformId?Iw(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||bg)&&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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ma;function WC(){if(ma==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ma=!0}))}finally{ma=ma||!1}return ma}function Di(t){return WC()?t:!!t.capture}function Gu(t,n=0){return qC(t)?Number(t):arguments.length===2?n:0}function qC(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ot(t){return t instanceof z?t.nativeElement:t}var YC=new y("cdk-input-modality-detector-options"),ZC={ignoreKeys:[18,17,224,91,16]},KC=650,_g={passive:!0,capture:!0},QC=(()=>{class t{_platform=f(_e);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Re(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ot(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<KC||(this._modality.next(ha(e)?"keyboard":"mouse"),this._mostRecentTarget=ot(e))};_onTouchstart=e=>{if(pa(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ot(e)};constructor(){let e=f(V),r=f(k),o=f(YC,{optional:!0});if(this._options=g(g({},ZC),o),this.modalityDetected=this._modality.pipe(Ki(1)),this.modalityChanged=this.modalityDetected.pipe(gc()),this._platform.isBrowser){let i=f($e).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,_g),i.listen(r,"mousedown",this._onMousedown,_g),i.listen(r,"touchstart",this._onTouchstart,_g)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ga=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(ga||{}),XC=new y("cdk-focus-monitor-default-options"),Wu=Di({passive:!0,capture:!0}),qu=(()=>{class t{_ngZone=f(V);_platform=f(_e);_inputModalityDetector=f(QC);_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=f(k);_stopInputModalityDetector=new R;constructor(){let e=f(XC,{optional:!0});this._detectionMode=e?.detectionMode||ga.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=ot(e);for(let o=r;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,r=!1){let o=Ot(e);if(!this._platform.isBrowser||o.nodeType!==1)return S();let i=yg(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new R,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Ot(e),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(e,r,o){let i=Ot(e),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_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===ga.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===ga.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?KC:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,r){let o=this._elementInfo.get(r),i=ot(e);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(e,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wu),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wu)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jt(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wu),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wu),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,o){this._setClasses(e,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((o,i)=>{(i===e||o.checkChildren&&i.contains(e))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let i=e.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RF=(()=>{class t{_elementRef=f(z);_focusMonitor=f(qu);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new H;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(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();function mo(t){return Array.isArray(t)?t:[t]}var JC=new Set,go,Yu=(()=>{class t{_platform=f(_e);_nonce=f(ao,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):OF}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&NF(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function NF(t,n){if(!JC.has(t))try{go||(go=document.createElement("style"),n&&go.setAttribute("nonce",n),go.setAttribute("type","text/css"),document.head.appendChild(go)),go.sheet&&(go.sheet.insertRule(`@media ${t} {body{ }}`,0),JC.add(t))}catch(e){console.error(e)}}function OF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Dg=(()=>{class t{_mediaMatcher=f(Yu);_zone=f(V);_queries=new Map;_destroySubject=new R;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return eI(mo(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=eI(mo(e)).map(s=>this._registerQuery(s).observable),i=Ro(o);return i=ln(i.pipe(Oe(1)),i.pipe(Ki(1),Lr(0))),i.pipe(L(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),i={observable:new P(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(No(r),L(({matches:s})=>({query:e,matches:s})),jt(this._destroySubject)),mql:r};return this._queries.set(e,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function eI(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function kF(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 tI=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nI=(()=>{class t{_mutationObserverFactory=f(tI);_observedElements=new Map;_ngZone=f(V);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Ot(e);return new P(o=>{let s=this._observeElement(r).pipe(L(a=>a.filter(c=>!kF(c))),he(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new R,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:r,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:r,stream:o}=this._observedElements.get(e);r&&r.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x7=(()=>{class t{_contentObserver=f(nI);_elementRef=f(z);event=new H;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=Gu(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(Lr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ue],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),rI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[tI]})}return t})();var aI=(()=>{class t{_platform=f(_e);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return PF(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=FF(zF(e));if(r&&(oI(r)===-1||!this.isVisible(r)))return!1;let o=e.nodeName.toLowerCase(),i=oI(e);return e.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!HF(e)?!1:o==="audio"?e.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return $F(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function FF(t){try{return t.frameElement}catch{return null}}function PF(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function LF(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function jF(t){return BF(t)&&t.type=="hidden"}function VF(t){return UF(t)&&t.hasAttribute("href")}function BF(t){return t.nodeName.toLowerCase()=="input"}function UF(t){return t.nodeName.toLowerCase()=="a"}function cI(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function oI(t){if(!cI(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function HF(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function $F(t){return jF(t)?!1:LF(t)||VF(t)||t.hasAttribute("contenteditable")||cI(t)}function zF(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zu=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,r,o,i=!1,s){this._element=n,this._checker=e,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=0;r<e.length;r++){let o=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=e.length-1;r>=0;r--){let o=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?At(n,{injector:this._injector}):setTimeout(n)}},GF=(()=>{class t{_checker=f(aI);_ngZone=f(V);_document=f(k);_injector=f(W);constructor(){f(Nt).load($u)}create(e,r=!1){return new Zu(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var lI=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),uI=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),WF=0,qF=(()=>{class t{_ngZone=f(V);_defaultOptions=f(uI,{optional:!0});_liveElement;_document=f(k);_sanitizer=f(ia);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(lI,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:LC(this._liveElement,e,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),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",r=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(e),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${WF++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(e){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(e)===-1&&i.setAttribute("aria-owns",s+" "+e):i.setAttribute("aria-owns",e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wr=(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})(wr||{}),iI="cdk-high-contrast-black-on-white",sI="cdk-high-contrast-white-on-black",Eg="cdk-high-contrast-active",dI=(()=>{class t{_platform=f(_e);_hasCheckedHighContrastMode=!1;_document=f(k);_breakpointSubscription;constructor(){this._breakpointSubscription=f(Dg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return wr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(e):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return wr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return wr.BLACK_ON_WHITE}return wr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Eg,iI,sI),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===wr.BLACK_ON_WHITE?e.add(Eg,iI):r===wr.WHITE_ON_BLACK&&e.add(Eg,sI)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),YF=(()=>{class t{constructor(){f(dI)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[rI]})}return t})();var ZF=200,Ei=class{_letterKeyStream=new R;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new R;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:ZF;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}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(Ue(e=>this._pressedLetters.push(e)),Lr(n),he(()=>this._pressedLetters.length>0),L(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function Ku(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var wi=class{_items;_activeItemIndex=Q(-1);_activeItem=Q(null);_wrap=!1;_typeaheadSubscription=G.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 Un?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):si(n)&&(this._effectRef=Es(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new R;change=new R;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 Ei(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),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,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Ku(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(),r=typeof n=="number"?n:e.indexOf(n),o=e[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}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 r=1;r<=e.length;r++){let o=(this._activeItemIndex()+n*r+e.length)%e.length,i=e[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=e,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return si(this._items)?this._items():this._items instanceof Un?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let r=n.indexOf(e);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var wg=class extends wi{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Cg=class extends wi{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function Ig(t){return Vt(t)?t:S(t)}var Sg=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=G.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof Un?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Vt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new R;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Ei(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Ig(this._activeItem.getChildren()).pipe(Oe(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=Ig(n.getChildren()):e=S(this._items.filter(r=>r.getParent()===null)),e.pipe(Oe(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},EK=new y("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new Sg(t,n)});var Mg={},va=class t{_appId=f(_r);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),Mg.hasOwnProperty(n)||(Mg[n]=0),`${n}${e?t._infix+"-":""}${Mg[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var hI=" ";function KF(t,n,e){let r=Xu(t,n);e=e.trim(),!r.some(o=>o.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(hI)))}function QF(t,n,e){let r=Xu(t,n);e=e.trim();let o=r.filter(i=>i!==e);o.length?t.setAttribute(n,o.join(hI)):t.removeAttribute(n)}function Xu(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var pI="cdk-describedby-message",Qu="cdk-describedby-host",xg=0,PK=(()=>{class t{_platform=f(_e);_document=f(k);_messageRegistry=new Map;_messagesContainer=null;_id=`${xg++}`;constructor(){f(Nt).load($u),this._id=f(_r)+"-"+xg++}describe(e,r,o){if(!this._canBeDescribed(e,r))return;let i=Tg(r,o);typeof r!="string"?(fI(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,r,o){if(!r||!this._isElementNode(e))return;let i=Tg(r,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),typeof r=="string"){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Qu}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(Qu);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let o=this._document.createElement("div");fI(o,this._id),o.textContent=e,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Tg(e,r),{messageElement:o,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",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(e),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(e){let r=Xu(e,"aria-describedby").filter(o=>o.indexOf(pI)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let o=this._messageRegistry.get(r);KF(e,"aria-describedby",o.messageElement.id),e.setAttribute(Qu,this._id),o.referenceCount++}_removeMessageReference(e,r){let o=this._messageRegistry.get(r);o.referenceCount--,QF(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Qu)}_isElementDescribedByMessage(e,r){let o=Xu(e,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=e.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Tg(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function fI(t,n){t.id||(t.id=`${pI}-${n}-${xg++}`)}var on=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(on||{}),Ju,vo;function ed(){if(vo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return vo=!1,vo;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)vo=!0;else{let t=Element.prototype.scrollTo;t?vo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):vo=!1}}return vo}function Ci(){if(typeof document!="object"||!document)return on.NORMAL;if(Ju==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"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),Ju=on.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ju=t.scrollLeft===0?on.NEGATED:on.INVERTED),t.remove()}return Ju}function Ag(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ii,mI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function WK(){if(Ii)return Ii;if(typeof document!="object"||!document)return Ii=new Set(mI),Ii;let t=document.createElement("input");return Ii=new Set(mI.filter(n=>(t.setAttribute("type",n),t.type===n))),Ii}var QK={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 XF=new y("MATERIAL_ANIMATIONS"),gI=null;function JF(){return f(XF,{optional:!0})?.animationsDisabled||f(Fs,{optional:!0})==="NoopAnimations"?"di-disabled":(gI??=f(Yu).matchMedia("(prefers-reduced-motion)").matches,gI?"reduced-motion":"enabled")}function Cr(){return JF()!=="enabled"}function Ie(t){return t==null?"":typeof t=="string"?t:`${t}px`}function oQ(t){return t!=null&&`${t}`!="false"}var kt=(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})(kt||{}),Rg=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=kt.HIDDEN;constructor(n,e,r,o=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},vI=Di({passive:!0,capture:!0}),Ng=class{_events=new Map;addHandler(n,e,r,o){let i=this._events.get(e);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(e,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vI)})}removeHandler(n,e,r){let o=this._events.get(n);if(!o)return;let i=o.get(e);i&&(i.delete(r),i.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vI)))}_delegateEventHandler=n=>{let e=ot(n);e&&this._events.get(n.type)?.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(i=>i.handleEvent(n))})}},ya={enterDuration:225,exitDuration:150},eP=800,yI=Di({passive:!0,capture:!0}),bI=["mousedown","touchstart"],_I=["mouseup","mouseleave","touchend","touchcancel"],tP=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},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;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})(),ba=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Ng;constructor(n,e,r,o,i){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Ot(r)),i&&i.get(Nt).load(tP)}fadeInRipple(n,e,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=g(g({},ya),r.animation);r.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=r.radius||nP(n,e,o),a=n-o.left,c=e-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),h=d.transitionProperty,p=d.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||o.width===0&&o.height===0,_=new Rg(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=kt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let D=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>{D&&(D.fallbackTimer=null),clearTimeout(De),this._finishRippleTransition(_)},$=()=>this._destroyRipple(_),De=setTimeout($,l+100);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",$),D={onTransitionEnd:C,onTransitionCancel:$,fallbackTimer:De}}),this._activeRipples.set(_,D),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===kt.FADING_OUT||n.state===kt.HIDDEN)return;let e=n.element,r=g(g({},ya),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=kt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.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=Ot(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,bI.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_I.forEach(e=>{this._triggerElement.addEventListener(e,this,yI)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===kt.FADING_IN?this._startFadeOutTransition(n):n.state===kt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=kt.VISIBLE,!r&&(!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=kt.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=ha(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+eP;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!pa(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===kt.VISIBLE||n.config.terminateOnPointerUp&&n.state===kt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(bI.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(_I.forEach(e=>n.removeEventListener(e,this,yI)),this._pointerUpEventsRegistered=!1))}};function nP(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+o*o)}var Og=new y("mat-ripple-global-options"),bQ=(()=>{class t{_elementRef=f(z);_animationsDisabled=Cr();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=f(V),r=f(_e),o=f(Og,{optional:!0}),i=f(W);this._globalOptions=o||{},this._rippleRenderer=new ba(this,e,this._elementRef,r,i)}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:g(g(g({},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,r=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&Xe("mat-ripple-unbounded",o.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 rP={capture:!0},oP=["focus","mousedown","mouseenter","touchstart"],kg="mat-ripple-loader-uninitialized",Fg="mat-ripple-loader-class-name",DI="mat-ripple-loader-centered",td="mat-ripple-loader-disabled",EI=(()=>{class t{_document=f(k);_animationsDisabled=Cr();_globalRippleOptions=f(Og,{optional:!0});_platform=f(_e);_ngZone=f(V);_injector=f(W);_eventCleanups;_hosts=new Map;constructor(){let e=f($e).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>oP.map(r=>e.listen(this._document,r,this._onInteraction,rP)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(kg,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(Fg))&&e.setAttribute(Fg,r.className||""),r.centered&&e.setAttribute(DI,""),r.disabled&&e.setAttribute(td,"")}setDisabled(e,r){let o=this._hosts.get(e);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):r?e.setAttribute(td,""):e.removeAttribute(td)}_onInteraction=e=>{let r=ot(e);if(r instanceof HTMLElement){let o=r.closest(`[${kg}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(Fg)),e.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??ya.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??ya.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(td),rippleConfig:{centered:e.hasAttribute(DI),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new ba(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:c,hasSetUpEvents:l}),e.removeAttribute(kg)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},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;
|
|
}
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})();var iP=["mat-icon-button",""],sP=["*"],aP=new y("MAT_BUTTON_CONFIG");function CI(t){return t==null?void 0:Sm(t)}var Pg=(()=>{class t{_elementRef=f(z);_ngZone=f(V);_animationsDisabled=Cr();_config=f(aP,{optional:!0});_focusMonitor=f(qu);_cleanupClick;_renderer=f(Le);_rippleLoader=f(EI);_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(){f(Nt).load(wI);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",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_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(r){return new(r||t)};static \u0275dir=M({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(lt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),zs(o.color?"mat-"+o.color:""),Xe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ue],disabled:[2,"disabled","disabled",ue],ariaDisabled:[2,"aria-disabled","ariaDisabled",ue],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ue],tabIndex:[2,"tabIndex","tabIndex",CI],_tabindex:[2,"tabindex","_tabindex",CI]}})}return t})(),cP=(()=>{class t extends Pg{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({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:[te],attrs:iP,ngContentSelectors:sP,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(r,o){r&1&&(Dr(),Gn(0,"span",0),_n(1),Gn(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: transparent;
|
|
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: transparent;
|
|
}
|
|
.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: transparent;
|
|
opacity: 1;
|
|
}
|
|
`,`@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;
|
|
}
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})();var II=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[rn]})}return t})();var lP=["matButton",""],uP=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],dP=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var SI=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"]]]),WQ=(()=>{class t extends Pg{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=fP(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?SI.get(this._appearance):null,i=SI.get(e);o&&r.remove(...o),r.add(...i),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({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:[te],attrs:lP,ngContentSelectors:dP,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(r,o){r&1&&(Dr(uP),Gn(0,"span",0),_n(1),ai(2,"span",1),_n(3,1),ci(),_n(4,2),Gn(5,"span",2)(6,"span",3)),r&2&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._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: transparent;
|
|
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: transparent;
|
|
}
|
|
.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);
|
|
}
|
|
`,`@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;
|
|
}
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})();function fP(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 qQ=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[II,rn]})}return t})();var nd={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var _a=class{};function hP(t){return t&&typeof t.connect=="function"&&!(t instanceof Ui)}var Lg=class extends _a{_data;constructor(n){super(),this._data=n}connect(){return Vt(this._data)?this._data:S(this._data)}disconnect(){}},Cn=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Cn||{}),jg=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,e,o(s)),u=l?Cn.INSERTED:Cn.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=Cn.REMOVED):(l=this._moveView(a,c,e,o(s)),u=Cn.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,o){let i=this._insertViewFromCache(e,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,o){let i=r.get(n);return r.move(i,e),i.context.$implicit=o,i}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=e.indexOf(n);r===-1?n.destroy():e.remove(r)}}_insertViewFromCache(n,e){let r=this._viewCache.pop();return r&&e.insert(r,n),r||null}};var pP=20,Da=(()=>{class t{_ngZone=f(V);_platform=f(_e);_renderer=f($e).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new R;_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 r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=pP){return this._platform.isBrowser?new P(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(mc(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):S()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let o=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(he(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,e)&&r.push(i)}),r}_scrollableContainsElement(e,r){let o=Ot(r),i=e.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mP=(()=>{class t{elementRef=f(z);scrollDispatcher=f(Da);ngZone=f(V);dir=f(_i,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new R;_renderer=f(Le);_cleanupScroll;_elementScrolled=new R;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 r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),o&&Ci()!=on.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),Ci()==on.INVERTED?e.left=e.right:Ci()==on.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;ed()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",o="right",i=this.elementRef.nativeElement;if(e=="top")return i.scrollTop;if(e=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:r:e=="end"&&(e=s?r:o),s&&Ci()==on.INVERTED?e==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Ci()==on.NEGATED?e==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),gP=20,Si=(()=>{class t{_platform=f(_e);_listeners;_viewportSize=null;_change=new R;_document=f(k);constructor(){let e=f(V),r=f($e).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}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:r,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),o=e.documentElement,i=o.getBoundingClientRect(),s=-i.top||e.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||e.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(e=gP){return e>0?this._change.pipe(mc(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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yX=new y("CDK_VIRTUAL_SCROLL_VIEWPORT");var Vg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})(),Bg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[rn,Vg,rn,Vg]})}return t})();var Ea=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}},Ug=class extends Ea{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,r,o,i){super(),this.component=n,this.viewContainerRef=e,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Mi=class extends Ea{templateRef;viewContainerRef;context;injector;constructor(n,e,r,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=o}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()}},Hg=class extends Ea{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},rd=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Ug)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Mi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Hg)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)}},od=class extends rd{outletElement;_appRef;_defaultInjector;constructor(n,e,r){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(yn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||W.NULL,i=o.get(oe,r.injector);e=eu(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(r);o!==-1&&e.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},IX=(()=>{class t extends Mi{constructor(){let e=f(yt),r=f(Qe);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[te]})}return t})(),SX=(()=>{class t extends rd{_moduleRef=f(yn,{optional:!0});_document=f(k);_viewContainerRef=f(Qe);_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 H;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[te]})}return t})(),MI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var TI=ed();function FI(t){return new id(t.get(Si),t.get(k))}var id=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=Ie(-this._previousScrollPosition.left),n.style.top=Ie(-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,r=n.style,o=e.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),TI&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),TI&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};function PI(t,n){return new sd(t.get(Da),t.get(V),t.get(Si),n)}var sd=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(he(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 wa=class{enable(){}disable(){}attach(){}};function $g(t,n){return n.some(e=>{let r=t.bottom<e.top,o=t.top>e.bottom,i=t.right<e.left,s=t.left>e.right;return r||o||i||s})}function xI(t,n){return n.some(e=>{let r=t.top<e.top,o=t.bottom>e.bottom,i=t.left<e.left,s=t.right>e.right;return r||o||i||s})}function Wg(t,n){return new ad(t.get(Da),t.get(Si),t.get(V),n)}var ad=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=o}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:r,height:o}=this._viewportRuler.getViewportSize();$g(e,[{width:r,height:o,bottom:o,right:r,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}},LI=(()=>{class t{_injector=f(W);constructor(){}noop=()=>new wa;close=e=>PI(this._injector,e);block=()=>FI(this._injector);reposition=e=>Wg(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ca=class{positionStrategy;scrollStrategy=new wa;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 r of e)n[r]!==void 0&&(this[r]=n[r])}}};var cd=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var jI=(()=>{class t{_attachedOverlays=[];_document=f(k);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,r,o){return o.observers.length<1?!1:e.eventPredicate?e.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),VI=(()=>{class t extends jI{_ngZone=f(V);_renderer=f($e).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 r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,e,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BI=(()=>{class t extends jI{_platform=f(_e);_ngZone=f(V);_renderer=f($e).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,"pointerdown",this._pointerDownListener,o),i.listen(r,"click",this._clickListener,o),i.listen(r,"auxclick",this._clickListener,o),i.listen(r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.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=ot(e)};_clickListener=e=>{let r=ot(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,e,c))){if(AI(a.overlayElement,r)||AI(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function AI(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var UI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},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: transparent;
|
|
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: 0.6;
|
|
}
|
|
}
|
|
|
|
@layer cdk-overlay {
|
|
.cdk-overlay-dark-backdrop {
|
|
background: rgba(0, 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;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})(),qg=(()=>{class t{_platform=f(_e);_containerElement;_document=f(k);_styleLoader=f(Nt);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||Ag()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement("div");r.classList.add(e),Ag()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(UI)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zg=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,r,o){this._renderer=e,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",o)}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 Yg(t){return t&&t.nodeType===1}var ld=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new R;_attachments=new R;_detachments=new R;_positionStrategy;_scrollStrategy;_locationChanges=G.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new R;_outsidePointerEvents=new R;_afterNextRenderRef;constructor(n,e,r,o,i,s,a,c,l,u=!1,d,h){this._portalOutlet=n,this._host=e,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=h,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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=At(()=>{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=g(g({},this._config),n),this._updateElementSize()}setDirection(n){this._config=F(g({},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=Ie(this._config.width),n.height=Ie(this._config.height),n.minWidth=Ie(this._config.minWidth),n.minHeight=Ie(this._config.minHeight),n.maxWidth=Ie(this._config.maxWidth),n.maxHeight=Ie(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;Yg(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{}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new zg(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,r){let o=mo(e||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=At(()=>{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?.()}},RI="cdk-overlay-connected-position-bounding-box",vP=/([A-Za-z%]+)$/;function Zg(t,n){return new ud(n,t.get(Si),t.get(k),t.get(_e),t.get(qg))}var ud=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 R;_resizeSubscription=G.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,o,i){this._viewportRuler=e,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(RI),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,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,e,a),u=this._getOverlayFit(l,e,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:e})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&yo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(RI),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 z?this._origin.nativeElement:Yg(this._origin)?this._origin:null}_getOriginPoint(n,e,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}e.left<0&&(o-=e.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,e.top<0&&(i-=e.top),{x:o,y:i}}_getOverlayPoint(n,e,r){let o;r.overlayX=="center"?o=-e.width/2:r.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let i;return r.overlayY=="center"?i=-e.height/2:i=r.overlayY=="top"?0:-e.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,e,r,o){let i=OI(e),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),_=this._subtractOverflows(i.height,h,p),D=m*_;return{visibleArea:D,isCompletelyWithinViewport:i.width*i.height===D,fitsInViewportVertically:_===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let o=r.bottom-e.y,i=r.right-e.x,s=NI(this._overlayRef.getConfig().minHeight),a=NI(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=OI(e),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=n.x<this._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._getViewportMarginTop()?i.top-r.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_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 r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!yP(this._lastScrollVisibility,r)){let o=new cd(n,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(n,e){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(e.overlayY==="top")s=n.y,i=r.height-s+this._getViewportMarginBottom();else if(e.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,l=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,u,d,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=Ie(r.width),o.height=Ie(r.height),o.top=Ie(r.top)||"auto",o.bottom=Ie(r.bottom)||"auto",o.left=Ie(r.left)||"auto",o.right=Ie(r.right)||"auto",e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=Ie(i)),s&&(o.maxWidth=Ie(s))}this._lastBoundingBoxSize=r,yo(this._boundingBox.style,o)}_resetBoundingBoxStyles(){yo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){yo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();yo(r,this._getExactOverlayY(e,n,u)),yo(r,this._getExactOverlayX(e,n,u))}else r.position="static";let a="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=Ie(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=Ie(s.maxWidth):i&&(r.maxWidth="")),yo(this._pane.style,r)}_getExactOverlayY(n,e,r){let o={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=Ie(i.y);return o}_getExactOverlayX(n,e,r){let o={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=Ie(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xI(n,r),isOriginOutsideView:$g(n,r),isOverlayClipped:xI(e,r),isOverlayOutsideView:$g(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.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&&mo(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 z)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let r=e.getBoundingClientRect();return n&&(e.style.display=""),r}};function yo(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function NI(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(vP);return!e||e==="px"?parseFloat(n):null}return t||null}function OI(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 yP(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var kI="cdk-global-overlay-wrapper";function HI(t){return new dd}var dd=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(kI),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,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",_="";c?_="flex-start":u==="center"?(_="center",h?m=d:p=d):h?u==="left"||u==="end"?(_="flex-end",p=d):(u==="right"||u==="start")&&(_="flex-start",m=d):u==="left"||u==="start"?(_="flex-start",p=d):(u==="right"||u==="end")&&(_="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,e.justifyContent=_,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(kI),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},$I=(()=>{class t{_injector=f(W);constructor(){}global(){return HI()}flexibleConnectedTo(e){return Zg(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kg=new y("OVERLAY_DEFAULT_CONFIG");function Qg(t,n){t.get(Nt).load(UI);let e=t.get(qg),r=t.get(k),o=t.get(va),i=t.get(Ge),s=t.get(_i),a=t.get(Le,null,{optional:!0})||t.get($e).createRenderer(null,null),c=new Ca(n),l=t.get(Kg,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Yg(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):e.getContainerElement().appendChild(d),new ld(new od(u,i,t),d,u,c,t.get(V),t.get(VI),r,t.get(Dn),t.get(BI),n?.disableAnimations??t.get(Fs,null,{optional:!0})==="NoopAnimations",t.get(oe),a)}var zI=(()=>{class t{scrollStrategies=f(LI);_positionBuilder=f($I);_injector=f(W);constructor(){}create(e){return Qg(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bP=[{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"}],_P=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(W);return()=>Wg(t)}}),Gg=(()=>{class t{elementRef=f(z);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),GI=new y("cdk-connected-overlay-default-config"),DP=(()=>{class t{_dir=f(_i,{optional:!0});_injector=f(W);_overlayRef;_templatePortal;_backdropSubscription=G.EMPTY;_attachSubscription=G.EMPTY;_detachSubscription=G.EMPTY;_positionSubscription=G.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(_P);_ngZone=f(V);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 H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=f(yt),r=f(Qe),o=f(GI,{optional:!0}),i=f(Kg,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Mi(e,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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=bP);let e=this._overlayRef=Qg(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Ku(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=ot(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Ca({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(r).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=Zg(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Gg?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gg?this.origin.elementRef.nativeElement:this.origin instanceof z?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(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(yc(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),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(r){return new(r||t)};static \u0275dir=M({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",ue],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ue],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ue],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ue],push:[2,"cdkConnectedOverlayPush","push",ue],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ue],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ue],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ze]})}return t})(),EP=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[zI],imports:[rn,MI,Bg,Bg]})}return t})();var B="primary",La=Symbol("RouteTitle"),rv=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 _o(t){return new rv(t)}function Xg(t,n,e){for(let r=0;r<t.length;r++){let o=t[r],i=n[r];if(o[0]===":")e[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function XI(t,n,e){let r=e.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let c={},l=t.slice(0,r.length);return Xg(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Xg(i,t.slice(0,i.length),a)||!Xg(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function vd(t){return new Promise((n,e)=>{t.pipe(Nn()).subscribe({next:r=>n(r),error:r=>e(r)})})}function wP(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Sn(t[e],n[e]))return!1;return!0}function Sn(t,n){let e=t?ov(t):void 0,r=n?ov(n):void 0;if(!e||!r||e.length!=r.length)return!1;let o;for(let i=0;i<e.length;i++)if(o=e[i],!JI(t[o],n[o]))return!1;return!0}function ov(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function JI(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((o,i)=>r[i]===o)}else return t===n}function CP(t){return t.length>0?t[t.length-1]:null}function Eo(t){return Vt(t)?t:zn(t)?ae(Promise.resolve(t)):S(t)}function eS(t){return Vt(t)?vd(t):Promise.resolve(t)}var IP={exact:nS,subset:rS},tS={exact:SP,subset:MP,ignored:()=>!0},yv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function bv(t,n,e){let r=t instanceof st?t:n.parseUrl(t);return Wn(()=>iv(n.lastSuccessfulNavigation()?.finalUrl??new st,r,g(g({},xa),e)))}function iv(t,n,e){return IP[e.paths](t.root,n.root,e.matrixParams)&&tS[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function SP(t,n){return Sn(t,n)}function nS(t,n,e){if(!bo(t.segments,n.segments)||!pd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!nS(t.children[r],n.children[r],e))return!1;return!0}function MP(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>JI(t[e],n[e]))}function rS(t,n,e){return oS(t,n,n.segments,e)}function oS(t,n,e,r){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!bo(o,e)||n.hasChildren()||!pd(o,e,r))}else if(t.segments.length===e.length){if(!bo(t.segments,e)||!pd(t.segments,e,r))return!1;for(let o in n.children)if(!t.children[o]||!rS(t.children[o],n.children[o],r))return!1;return!0}else{let o=e.slice(0,t.segments.length),i=e.slice(t.segments.length);return!bo(t.segments,o)||!pd(t.segments,o,r)||!t.children[B]?!1:oS(t.children[B],n,i,r)}}function pd(t,n,e){return n.every((r,o)=>tS[e](t[o].parameters,r.parameters))}var st=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ne([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){return AP.serialize(this)}},ne=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return md(this)}},Ir=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=_o(this.parameters),this._parameterMap}toString(){return sS(this)}};function TP(t,n){return bo(t,n)&&t.every((e,r)=>Sn(e.parameters,n[r].parameters))}function bo(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function xP(t,n){let e=[];return Object.entries(t.children).forEach(([r,o])=>{r===B&&(e=e.concat(n(o,r)))}),Object.entries(t.children).forEach(([r,o])=>{r!==B&&(e=e.concat(n(o,r)))}),e}var Tr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new Xn,providedIn:"root"})}return t})(),Xn=class{parse(n){let e=new av(n);return new st(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ia(n.root,!0)}`,r=OP(n.queryParams),o=typeof n.fragment=="string"?`#${RP(n.fragment)}`:"";return`${e}${r}${o}`}},AP=new Xn;function md(t){return t.segments.map(n=>sS(n)).join("/")}function Ia(t,n){if(!t.hasChildren())return md(t);if(n){let e=t.children[B]?Ia(t.children[B],!1):"",r=[];return Object.entries(t.children).forEach(([o,i])=>{o!==B&&r.push(`${o}:${Ia(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=xP(t,(r,o)=>o===B?[Ia(t.children[B],!1)]:[`${o}:${Ia(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[B]!=null?`${md(t)}/${e[0]}`:`${md(t)}/(${e.join("//")})`}}function iS(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fd(t){return iS(t).replace(/%3B/gi,";")}function RP(t){return encodeURI(t)}function sv(t){return iS(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gd(t){return decodeURIComponent(t)}function WI(t){return gd(t.replace(/\+/g,"%20"))}function sS(t){return`${sv(t.path)}${NP(t.parameters)}`}function NP(t){return Object.entries(t).map(([n,e])=>`;${sv(n)}=${sv(e)}`).join("")}function OP(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(o=>`${fd(e)}=${fd(o)}`).join("&"):`${fd(e)}=${fd(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Jg=1073741824;function yd(t,n,e){Number(n)>=32&&!Object.hasOwn(t,Jg)&&(t[Jg]=e,delete t[Jg]),t[n]=e}var kP=/^[^\/()?;#]+/;function ev(t){let n=t.match(kP);return n?n[0]:""}var FP=/^[^\/()?;=#]+/;function PP(t){let n=t.match(FP);return n?n[0]:""}var LP=/^[^=?&#]+/;function jP(t){let n=t.match(LP);return n?n[0]:""}var VP=/^[^&#]+/;function BP(t){let n=t.match(VP);return n?n[0]:""}var av=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],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 b(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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(o[B]=new ne(e,r)),o}parseSegment(){let n=ev(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new Ir(gd(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=PP(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=ev(this.remaining);o&&(r=o,this.capture(r))}yd(n,gd(e),gd(r))}parseQueryParam(n){let e=jP(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=BP(this.remaining);s&&(r=s,this.capture(r))}let o=WI(e),i=WI(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=ev(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new b(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=B);let a=this.parseChildren(e+1),c=Object.keys(a).length===1&&a[B]?a[B]:new ne([],a);yd(r,s??B,c),this.consumeOptional("//")}return r}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 b(4011,!1)}};function aS(t){return t.segments.length>0?new ne([],{[B]:t}):t}function cS(t){let n={};for(let[r,o]of Object.entries(t.children)){let i=cS(o);if(r===B&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))yd(n,s,a);else(i.segments.length>0||i.hasChildren())&&yd(n,r,i)}let e=new ne(t.segments,n);return UP(e)}function UP(t){if(t.numberOfChildren===1&&t.children[B]){let n=t.children[B];return new ne(t.segments.concat(n.segments),n.children)}return t}function Sr(t){return t instanceof st}function lS(t,n,e=null,r=null,o=new Xn){let i=uS(t);return dS(i,n,e,r,o)}function uS(t){let n;function e(i){let s={};for(let c of i.children){let l=e(c);s[c.outlet]=l}let a=new ne(i.url,s);return i===t&&(n=a),a}let r=e(t.root),o=aS(r);return n??o}function dS(t,n,e,r,o){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return tv(i,i,i,e,r,o);let s=HP(n);if(s.toRoot())return tv(i,i,new ne([],{}),e,r,o);let a=$P(s,i,t),c=a.processChildren?Ma(a.segmentGroup,a.index,s.commands):hS(a.segmentGroup,a.index,s.commands);return tv(i,a.segmentGroup,c,e,r,o)}function bd(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Aa(t){return typeof t=="object"&&t!=null&&t.outlets}function qI(t,n,e){t||="\u0275";let r=new st;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function tv(t,n,e,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>qI(l,d,i)):qI(l,u,i);let a;t===n?a=e:a=fS(t,n,e);let c=aS(cS(a));return new st(c,s,o)}function fS(t,n,e){let r={};return Object.entries(t.children).forEach(([o,i])=>{i===n?r[o]=e:r[o]=fS(i,n,e)}),new ne(t.segments,r)}var _d=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&bd(r[0]))throw new b(4003,!1);let o=r.find(Aa);if(o&&o!==CP(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function HP(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new _d(!0,0,t);let n=0,e=!1,r=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new _d(e,n,r)}var xi=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function $P(t,n,e){if(t.isAbsolute)return new xi(n,!0,0);if(!e)return new xi(n,!1,NaN);if(e.parent===null)return new xi(e,!0,0);let r=bd(t.commands[0])?0:1,o=e.segments.length-1+r;return zP(e,o,t.numberOfDoubleDots)}function zP(t,n,e){let r=t,o=n,i=e;for(;i>o;){if(i-=o,r=r.parent,!r)throw new b(4005,!1);o=r.segments.length}return new xi(r,!1,o-i)}function GP(t){return Aa(t[0])?t[0].outlets:{[B]:t}}function hS(t,n,e){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return Ma(t,n,e);let r=WP(t,n,e),o=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let i=new ne(t.segments.slice(0,r.pathIndex),{});return i.children[B]=new ne(t.segments.slice(r.pathIndex),t.children),Ma(i,0,o)}else return r.match&&o.length===0?new ne(t.segments,{}):r.match&&!t.hasChildren()?cv(t,n,e):r.match?Ma(t,0,o):cv(t,n,e)}function Ma(t,n,e){if(e.length===0)return new ne(t.segments,{});{let r=GP(e),o={};if(Object.keys(r).some(i=>i!==B)&&t.children[B]&&t.numberOfChildren===1&&t.children[B].segments.length===0){let i=Ma(t.children[B],n,e);return new ne(t.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=hS(t.children[i],n,s))}),Object.entries(t.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new ne(t.segments,o)}}function WP(t,n,e){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=e.length)return i;let s=t.segments[o],a=e[r];if(Aa(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!ZI(c,l,s))return i;r+=2}else{if(!ZI(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function cv(t,n,e){let r=t.segments.slice(0,n),o=0;for(;o<e.length;){let i=e[o];if(Aa(i)){let c=qP(i.outlets);return new ne(r,c)}if(o===0&&bd(e[0])){let c=t.segments[n];r.push(new Ir(c.path,YI(e[0]))),o++;continue}let s=Aa(i)?i.outlets[B]:`${i}`,a=o<e.length-1?e[o+1]:null;s&&a&&bd(a)?(r.push(new Ir(s,YI(a))),o+=2):(r.push(new Ir(s,{})),o++)}return new ne(r,{})}function qP(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=cv(new ne([],{}),0,r))}),n}function YI(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function ZI(t,n,e){return t==e.path&&Sn(n,e.parameters)}var Ai="imperative",Ve=(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})(Ve||{}),Dt=class{id;url;constructor(n,e){this.id=n,this.url=e}},Mr=class extends Dt{type=Ve.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",o=null){super(n,e),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends Dt{urlAfterRedirects;type=Ve.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},et=(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})(et||{}),Ni=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Ni||{}),Ft=class extends Dt{reason;code;type=Ve.NavigationCancel;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function pS(t){return t instanceof Ft&&(t.code===et.Redirect||t.code===et.SupersededByNewNavigation)}var Mn=class extends Dt{reason;code;type=Ve.NavigationSkipped;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}},Do=class extends Dt{error;target;type=Ve.NavigationError;constructor(n,e,r,o){super(n,e),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ra=class extends Dt{urlAfterRedirects;state;type=Ve.RoutesRecognized;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dd=class extends Dt{urlAfterRedirects;state;type=Ve.GuardsCheckStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ed=class extends Dt{urlAfterRedirects;state;shouldActivate;type=Ve.GuardsCheckEnd;constructor(n,e,r,o,i){super(n,e),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wd=class extends Dt{urlAfterRedirects;state;type=Ve.ResolveStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cd=class extends Dt{urlAfterRedirects;state;type=Ve.ResolveEnd;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Id=class{route;type=Ve.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Sd=class{route;type=Ve.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Md=class{snapshot;type=Ve.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Td=class{snapshot;type=Ve.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xd=class{snapshot;type=Ve.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ad=class{snapshot;type=Ve.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oi=class{routerEvent;position;anchor;scrollBehavior;type=Ve.Scroll;constructor(n,e,r,o){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=o}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ki=class{},Na=class{},Fi=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function YP(t){return!(t instanceof ki)&&!(t instanceof Fi)&&!(t instanceof Na)}var Rd=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 wo(this.rootInjector)}},wo=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let o=this.getOrCreateContext(e);o.outlet=r,this.contexts.set(e,o)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Rd(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(w(oe))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nd=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=lv(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=lv(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=uv(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return uv(n,this._root).map(e=>e.value)}};function lv(t,n){if(t===n.value)return n;for(let e of n.children){let r=lv(t,e);if(r)return r}return null}function uv(t,n){if(t===n.value)return[n];for(let e of n.children){let r=uv(t,e);if(r.length)return r.unshift(n),r}return[]}var it=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ti(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Oa=class extends Nd{snapshot;constructor(n,e){super(n),this.snapshot=e,Dv(this,n)}toString(){return this.snapshot.toString()}};function mS(t,n){let e=ZP(t,n),r=new Re([new Ir("",{})]),o=new Re({}),i=new Re({}),s=new Re({}),a=new Re(""),c=new Jn(r,o,s,a,i,B,t,e.root);return c.snapshot=e.root,new Oa(new it(c,[]),e)}function ZP(t,n){let e={},r={},o={},s=new Pi([],e,o,"",r,B,t,null,{},n);return new ka("",new it(s,[]))}var Jn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(l=>l[La]))??S(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(n=>_o(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(n=>_o(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _v(t,n,e="emptyOnly"){let r,{routeConfig:o}=t;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:Object.keys(t.params).length===0?n.params:Object.freeze(g(g({},n.params),t.params)),data:Object.freeze(g(g({},n.data),t.data)),resolve:g(g(g(g({},t.data),n.data),o?.data),t._resolvedData)}:r={params:Object.freeze(g({},t.params)),data:Object.freeze(g({},t.data)),resolve:g(g({},t.data),t._resolvedData??{})},o&&vS(o)&&(r.resolve[La]=o.title),r}var Pi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[La]}constructor(n,e,r,o,i,s,a,c,l,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_o(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},ka=class extends Nd{url;constructor(n,e){super(e),this.url=n,Dv(this,e)}toString(){return gS(this._root)}};function Dv(t,n){n.value._routerState=t,n.children.forEach(e=>Dv(t,e))}function gS(t){let n=t.children.length>0?` { ${t.children.map(gS).join(", ")} } `:"";return`${t.value}${n}`}function nv(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Sn(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Sn(n.params,e.params)||t.paramsSubject.next(e.params),wP(n.url,e.url)||t.urlSubject.next(e.url),Sn(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dv(t,n){let e=Sn(t.params,n.params)&&TP(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||dv(t.parent,n.parent))}function vS(t){return typeof t.title=="string"||t.title===null}var yS=new y(""),Ev=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=B;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=YE();parentContexts=f(wo);location=f(Qe);changeDetector=f(Xt);inputBinder=f(ja,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:o}=e.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(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 b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,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,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new fv(e,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ze]})}return t})(),fv=class{route;childContexts;parent;outletData;constructor(n,e,r,o){this.route=n,this.childContexts=e,this.parent=r,this.outletData=o}get(n,e){return n===Jn?this.route:n===wo?this.childContexts:n===yS?this.outletData:this.parent.get(n,e)}},ja=new y(""),wv=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,o=Ro([r.queryParams,r.params,r.data]).pipe(Be(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?S(a):Promise.resolve(a)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=JE(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Cv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Gl(0,"router-outlet")},dependencies:[Ev],encapsulation:2})}return t})();function Iv(t){let n=t.children&&t.children.map(Iv),e=n?F(g({},t),{children:n}):g({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==B&&(e.component=Cv),e}function KP(t,n,e){let r=Fa(t,n._root,e?e._root:void 0);return new Oa(r,n)}function Fa(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let o=QP(t,n,e);return new it(r,o)}else{if(t.shouldAttach(n.value)){let i=t.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Fa(t,a)),s}}let r=XP(n.value),o=n.children.map(i=>Fa(t,i));return new it(r,o)}}function QP(t,n,e){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return Fa(t,r,o);return Fa(t,r)})}function XP(t){return new Jn(new Re(t.url),new Re(t.params),new Re(t.queryParams),new Re(t.fragment),new Re(t.data),t.outlet,t.component,t)}var Li=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},bS="ngNavigationCancelingError";function Od(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Sr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=_S(!1,et.Redirect);return o.url=e,o.navigationBehaviorOptions=r,o}function _S(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[bS]=!0,e.cancellationCode=n,e}function JP(t){return DS(t)&&Sr(t.url)}function DS(t){return!!t&&t[bS]}var hv=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,o,i){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),nv(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let o=Ti(e);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else i&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ti(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ti(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let o=Ti(e);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ad(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Td(n.value.snapshot))}activateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if(nv(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),nv(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},kd=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ri=class{component;route;constructor(n,e){this.component=n,this.route=e}};function eL(t,n,e){let r=t._root,o=n?n._root:null;return Sa(r,o,e,[r.value])}function tL(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Vi(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Of(t)?t:n.get(t):r}function Sa(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ti(n);return t.children.forEach(s=>{nL(s,i[s.value.outlet],e,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ta(a,e.getContext(s),o)),o}function nL(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=rL(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new kd(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Sa(t,n,a?a.children:null,r,o):Sa(t,n,e,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ri(a.outlet.component,s))}else s&&Ta(n,a,o),o.canActivateChecks.push(new kd(r)),i.component?Sa(t,null,a?a.children:null,r,o):Sa(t,null,e,r,o);return o}function rL(t,n,e){if(typeof e=="function")return Pe(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!bo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!bo(t.url,n.url)||!Sn(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dv(t,n)||!Sn(t.queryParams,n.queryParams);default:return!dv(t,n)}}function Ta(t,n,e){let r=Ti(t),o=t.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ta(s,n.children.getContext(i),e):Ta(s,null,e):Ta(s,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ri(n.outlet.component,o)):e.canDeactivateChecks.push(new Ri(null,o)):e.canDeactivateChecks.push(new Ri(null,o))}function Va(t){return typeof t=="function"}function oL(t){return typeof t=="boolean"}function iL(t){return t&&Va(t.canLoad)}function sL(t){return t&&Va(t.canActivate)}function aL(t){return t&&Va(t.canActivateChild)}function cL(t){return t&&Va(t.canDeactivate)}function lL(t){return t&&Va(t.canMatch)}function ES(t){return t instanceof An||t?.name==="EmptyError"}var hd=Symbol("INITIAL_VALUE");function ji(){return Be(t=>Ro(t.map(n=>n.pipe(Oe(1),No(hd)))).pipe(L(n=>{for(let e of n)if(e!==!0){if(e===hd)return hd;if(e===!1||uL(e))return e}return!0}),he(n=>n!==hd),Oe(1)))}function uL(t){return Sr(t)||t instanceof Li}function wS(t){return t.aborted?S(void 0).pipe(Oe(1)):new P(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function CS(t){return jt(wS(t))}function dL(t){return Ee(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?S(F(g({},n),{guardsResult:!0})):fL(i,e,r).pipe(Ee(s=>s&&oL(s)?hL(e,o,t):S(s)),L(s=>F(g({},n),{guardsResult:s})))})}function fL(t,n,e){return ae(t).pipe(Ee(r=>yL(r.component,r.route,e,n)),Nn(r=>r!==!0,!0))}function hL(t,n,e){return ae(n).pipe(or(r=>ln(mL(r.route.parent,e),pL(r.route,e),vL(t,r.path),gL(t,r.route))),Nn(r=>r!==!0,!0))}function pL(t,n){return t!==null&&n&&n(new xd(t)),S(!0)}function mL(t,n){return t!==null&&n&&n(new Md(t)),S(!0)}function gL(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return S(!0);let r=e.map(o=>qi(()=>{let i=n._environmentInjector,s=Vi(o,i),a=sL(s)?s.canActivate(n,t):Pe(i,()=>s(n,t));return Eo(a).pipe(Nn())}));return S(r).pipe(ji())}function vL(t,n){let e=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>tL(i)).filter(i=>i!==null).map(i=>qi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Vi(a,c),u=aL(l)?l.canActivateChild(e,t):Pe(c,()=>l(e,t));return Eo(u).pipe(Nn())});return S(s).pipe(ji())}));return S(o).pipe(ji())}function yL(t,n,e,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Vi(s,a),l=cL(c)?c.canDeactivate(t,n,e,r):Pe(a,()=>c(t,n,e,r));return Eo(l).pipe(Nn())});return S(i).pipe(ji())}function bL(t,n,e,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return S(!0);let s=i.map(a=>{let c=Vi(a,t),l=iL(c)?c.canLoad(n,e):Pe(t,()=>c(n,e)),u=Eo(l);return o?u.pipe(CS(o)):u});return S(s).pipe(ji(),IS(r))}function IS(t){return Kd(Ue(n=>{if(typeof n!="boolean")throw Od(t,n)}),L(n=>n===!0))}function _L(t,n,e,r,o,i){let s=n.canMatch;if(!s||s.length===0)return S(!0);let a=s.map(c=>{let l=Vi(c,t),u=lL(l)?l.canMatch(n,e,o):Pe(t,()=>l(n,e,o));return Eo(u).pipe(CS(i))});return S(a).pipe(ji(),IS(r))}var In=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Pa=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function DL(t){throw new b(4e3,!1)}function EL(t){throw _S(!1,et.GuardRejected)}var pv=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],o=e.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[B])throw DL(`${n.redirectTo}`);o=o.children[B]}}async applyRedirectCommands(n,e,r,o,i){let s=await wL(e,o,i);if(s instanceof st)throw new Pa(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Pa(a);return a}applyRedirectCreateUrlTree(n,e,r,o){let i=this.createSegmentGroup(n,e.root,r,o);return new st(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=e[a]}else r[o]=i}),r}createSegmentGroup(n,e,r,o){let i=this.createSegments(n,e.segments,r,o),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new ne(i,s)}createSegments(n,e,r,o){return e.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,e,r){let o=r[e.path.substring(1)];if(!o)throw new b(4001,!1);return o}findOrReturn(n,e){let r=0;for(let o of e){if(o.path===n.path)return e.splice(r),o;r++}return n}};function wL(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return vd(Eo(Pe(e,()=>r(n))))}function CL(t,n){return t.providers&&!t._injector&&(t._injector=oi(t.providers,n,`Route: ${t.path}`)),t._injector??n}function sn(t){return t.outlet||B}function IL(t,n){let e=t.filter(r=>sn(r)===n);return e.push(...t.filter(r=>sn(r)!==n)),e}var mv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function SS(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function SL(t,n,e,r,o,i,s){let a=MS(t,n,e);if(!a.matched)return S(a);let c=SS(i(a));return r=CL(n,r),_L(r,n,e,o,c,s).pipe(L(l=>l===!0?a:g({},mv)))}function MS(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?g({},mv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||XI)(e,t,n);if(!o)return g({},mv);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function KI(t,n,e,r,o){return e.length>0&&xL(t,e,r,o)?{segmentGroup:new ne(n,TL(r,new ne(e,t.children))),slicedSegments:[]}:e.length===0&&AL(t,e,r)?{segmentGroup:new ne(t.segments,ML(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:e}}function ML(t,n,e,r){let o={};for(let i of e)if(Pd(t,n,i)&&!r[sn(i)]){let s=new ne([],{});o[sn(i)]=s}return g(g({},r),o)}function TL(t,n){let e={};e[B]=n;for(let r of t)if(r.path===""&&sn(r)!==B){let o=new ne([],{});e[sn(r)]=o}return e}function xL(t,n,e,r){return e.some(o=>!Pd(t,n,o)||!(sn(o)!==B)?!1:!(r!==void 0&&sn(o)===r))}function AL(t,n,e){return e.some(r=>Pd(t,n,r))}function Pd(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function RL(t,n,e){return n.length===0&&!t.hasChildren()}var gv=class{};async function NL(t,n,e,r,o,i,s="emptyOnly",a){return new vv(t,n,e,r,o,s,i,a).recognize()}var OL=31,vv=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,r,o,i,s,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new pv(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(g({},this.urlTree.queryParams))}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}async recognize(){let n=KI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new it(r,e),i=new ka("",o),s=lS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let e=new Pi([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),B,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,B,e),rootSnapshot:e}}catch(r){if(r instanceof Pa)return this.urlTree=r.urlTree,this.queryParams=Object.freeze(g({},this.urlTree.queryParams)),this.match(r.urlTree.root);throw r instanceof In?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,i);let s=await this.processSegment(n,e,r,r.segments,o,!0,i);return s instanceof it?[s]:[]}async processChildren(n,e,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=IL(e,c),d=await this.processSegment(n,u,l,l.segments,c,!0,o);d instanceof it&&s.push(d)}let a=TS(s);return kL(a),a}async processSegment(n,e,r,o,i,s,a){for(let c of e)try{return await this.processSegmentAgainstRoute(c._injector??n,e,c,r,o,i,s,a)}catch(l){if(l instanceof In||ES(l))continue;throw l}if(RL(r,o))return new gv;throw new In(r)}async processSegmentAgainstRoute(n,e,r,o,i,s,a,c){if(sn(r)!==s&&(s===B||!Pd(o,i,r)||!r.children?.length&&!r.loadChildren||i.length===0&&!o.hasChildren()))throw new In(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,e,r,i,s,c);throw new In(o)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=MS(e,o,i);if(!c)throw new In(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OL&&(this.allowRedirects=!1));let p=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,SS(p),n),_=await this.applyRedirects.lineralizeSegments(o,m);return this.processSegment(n,r,e,_.concat(h),s,!1,a)}createSnapshot(n,e,r,o,i){let s=new Pi(r,o,this.queryParams,this.urlTree.fragment,LL(e),sn(e),e.component??e._loadedComponent??null,e,jL(e),n),a=_v(s,i,this.paramsInheritanceStrategy);return s.params=a.params,s.data=a.data,s}async matchSegmentAgainstRoute(n,e,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=De=>this.createSnapshot(n,r,De.consumedSegments,De.parameters,s),c=await vd(SL(e,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new In(e);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:p}=c,m=this.createSnapshot(n,r,h,d,s),{segmentGroup:_,slicedSegments:D}=KI(e,h,p,l,i),C=sn(r)===i;if(C&&D.length===0&&_.hasChildren()){let De=await this.processChildren(u,l,_,m);return new it(m,De)}if(C&&l.length===0&&D.length===0)return new it(m,[]);let $=await this.processSegment(u,l,_,D,C?B:i,!0,m);if(!C&&!($ instanceof it))throw new In(e);return new it(m,$ instanceof it?[$]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let i=e._loadedNgModuleFactory;return i&&!e._loadedInjector&&(e._loadedInjector=i.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await vd(bL(n,e,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=i.routes,e._loadedInjector=i.injector,e._loadedNgModuleFactory=i.factory,i}throw EL(e)}return{routes:[],injector:n}}};function kL(t){t.sort((n,e)=>n.value.outlet===B?-1:e.value.outlet===B?1:n.value.outlet.localeCompare(e.value.outlet))}function FL(t){let n=t.value.routeConfig;return n&&n.path===""}function TS(t){let n=[],e=new Set;for(let o of t){if(!FL(o)){n.push(o);continue}let i=n.find(s=>o.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...o.children),e.add(i)):n.push(o)}for(let o of e){let i=TS(o.children);n.push(new it(o.value,i))}let r=n.filter(o=>!e.has(o));return PL(r),r}function PL(t){let n=Object.create(null);t.forEach(e=>{let r=n[e.value.outlet];if(r){let o=r.url.map(s=>s.toString()).join("/"),i=e.value.url.map(s=>s.toString()).join("/");throw new b(4006,!1)}n[e.value.outlet]=e.value})}function LL(t){return t.data||{}}function jL(t){return t.resolve||{}}function VL(t,n,e,r,o,i,s){return Ee(async a=>{let{state:c,tree:l}=await NL(t,n,e,r,a.extractedUrl,o,i,s);return F(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function BL(t){return Ee(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return S(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of xS(a))i.add(c);let s=0;return ae(i).pipe(or(a=>o.has(a)?UL(a,e,t):(a.data=_v(a,a.parent,t).resolve,S(void 0))),Ue(()=>s++),vc(1),Ee(a=>s===i.size?S(n):Ne))})}function xS(t){let n=t.children.map(e=>xS(e)).flat();return[t,...n]}function UL(t,n,e){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!vS(r)&&(o[La]=r.title),qi(()=>(t.data=_v(t,t.parent,e).resolve,HL(o,t,n).pipe(L(i=>(t._resolvedData=i,t.data=g(g({},t.data),i),null)))))}function HL(t,n,e){let r=ov(t);if(r.length===0)return S({});let o={};return ae(r).pipe(Ee(i=>$L(t[i],n,e).pipe(Nn(),Ue(s=>{if(s instanceof Li)throw Od(new Xn,s);o[i]=s}))),vc(1),L(()=>o),It(i=>ES(i)?Ne:xn(i)))}function $L(t,n,e){let r=n._environmentInjector,o=Vi(t,r),i=o.resolve?o.resolve(n,e):Pe(r,()=>o(n,e));return Eo(i)}function QI(t){return Be(n=>{let e=t(n);return e?ae(e).pipe(L(()=>n)):S(n)})}var Sv=(()=>{class t{buildTitle(e){let r,o=e.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===B);return r}getResolvedTitleForRoute(e){return e.data[La]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(AS),providedIn:"root"})}return t})(),AS=(()=>{class t extends Sv{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(w(Qw))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xr=new y("",{factory:()=>({})}),Bi=new y(""),Ld=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(dm);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await eS(Pe(e,()=>r.loadComponent())),s=await OS(NS(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await RS(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();async function RS(t,n,e,r){let o=await eS(Pe(e,()=>t.loadChildren())),i=await OS(NS(o)),s;i instanceof jl||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(t);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,u=s,c=a.get(Bi,[],{optional:!0,self:!0}).flat()),{routes:c.map(Iv),injector:a,factory:u}}function zL(t){return t&&typeof t=="object"&&"default"in t}function NS(t){return zL(t)?t.default:t}async function OS(t){return t}var jd=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(GL),providedIn:"root"})}return t})(),GL=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mv=new y(""),Tv=new y("");function kS(t,n,e){let r=t.get(Tv),o=t.get(k);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),WL(t)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&Pe(t,()=>c({transition:a,from:n,to:e})),s}function WL(t){return new Promise(n=>{At({read:()=>setTimeout(n)},{injector:t})})}var qL=()=>{},xv=new y(""),Vd=(()=>{class t{currentNavigation=Q(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Q(null);events=new R;transitionAbortWithErrorSubject=new R;configLoader=f(Ld);environmentInjector=f(oe);destroyRef=f(He);urlSerializer=f(Tr);rootContexts=f(wo);location=f(Dn);inputBindingEnabled=f(ja,{optional:!0})!==null;titleStrategy=f(Sv);options=f(xr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(jd);createViewTransition=f(Mv,{optional:!0});navigationErrorHandler=f(xv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new Id(o)),r=o=>this.events.next(new Sd(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Z(()=>{this.transitions?.next(F(g({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Re(null),this.transitions.pipe(he(r=>r!==null),Be(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return S(r).pipe(Be(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",et.SupersededByNewNavigation),Ne;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?F(g({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new Mn(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ni.IgnoredSameUrlNavigation)),a.resolve(!1),Ne;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return S(a).pipe(Be(d=>(this.events.next(new Mr(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Ne:Promise.resolve(d))),VL(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Ue(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new Na)}),Be(d=>ae(r.routesRecognizeHandler.deferredHandle??S(void 0)).pipe(L(()=>d))),Ue(()=>{let d=new Ra(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:_}=a,D=new Mr(d,this.urlSerializer.serialize(h),p,m);this.events.next(D);let C=mS(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(g({},a),{targetSnapshot:C,urlAfterRedirects:h,extras:F(g({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update($=>($.finalUrl=h,$)),S(r)}else return this.events.next(new Mn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ni.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ne}),L(a=>{let c=new Dd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=F(g({},a),{guards:eL(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),dL(a=>this.events.next(a)),Be(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Od(this.urlSerializer,a.guardsResult);let c=new Ed(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Ne;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",et.GuardRejected),Ne;if(a.guards.canActivateChecks.length===0)return S(a);let l=new wd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Ne;let u=!1;return S(a).pipe(BL(this.paramsInheritanceStrategy),Ue({next:()=>{u=!0;let d=new Cd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",et.NoDataFromResolver)}}))}),QI(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let h=u._environmentInjector;d.push(this.configLoader.loadComponent(h,u.routeConfig).then(p=>{u.component=p}))}for(let h of u.children)d.push(...c(h));return d},l=c(a.targetSnapshot.root);return l.length===0?S(a):ae(Promise.all(l).then(()=>a))}),QI(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?ae(l).pipe(L(()=>r)):S(r)}),Oe(1),Be(a=>{let c=KP(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=F(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new ki);let l=r.beforeActivateHandler.deferredHandle;return l?ae(l.then(()=>a)):S(a)}),Ue(a=>{new hv(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=qL,c)),this.lastSuccessfulNavigation.set(Z(this.currentNavigation)),this.events.next(new Et(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),jt(wS(i.signal).pipe(he(()=>!o&&!r.targetRouterState),Ue(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",et.Aborted)}))),Ue({complete:()=>{o=!0}}),jt(this.transitionAbortWithErrorSubject.pipe(Ue(a=>{throw a}))),Rn(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",et.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),It(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Ne;if(DS(a))this.events.next(new Ft(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),JP(a)?this.events.next(new Fi(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Do(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=Pe(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Li){let{message:u,cancellationCode:d}=Od(this.urlSerializer,l);this.events.next(new Ft(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new Fi(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Ne}))}))}cancelNavigationTransition(e,r,o){let i=new Ft(e.id,this.urlSerializer.serialize(e.extractedUrl),r,o);this.events.next(i),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))),r=Z(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function YL(t){return t!==Ai}var FS=new y("");var PS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(ZL),providedIn:"root"})}return t})(),Fd=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}},ZL=(()=>{class t extends Fd{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bd=(()=>{class t{urlSerializer=f(Tr);options=f(xr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(Dn);urlHandlingStrategy=f(jd);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new st;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:o}){let i=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=o??i;return s instanceof st?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:o}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=e):this.rawUrlTree=o}routerState=mS(null,f(oe));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(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(KL),providedIn:"root"})}return t})(),KL=(()=>{class t extends Bd{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof Mr?this.updateStateMemento():e instanceof Mn?this.commitTransition(r):e instanceof Ra?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ki?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ft&&!pS(e)?this.restoreHistory(r):e instanceof Do?this.restoreHistory(r,!0):e instanceof Et&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(e)||s){let c=this.browserPageId,l=g(g({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(e,"",l)}else{let c=g(g({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(e,"",c)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===e.finalUrl&&i===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&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,r,o){return this.canceledNavigationResolution==="computed"?g({navigationId:e,\u0275routerPageId:r},this.routerUrlState(o)):g({navigationId:e},this.routerUrlState(o))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Te(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ud(t,n){t.events.pipe(he(e=>e instanceof Et||e instanceof Ft||e instanceof Do||e instanceof Mn),L(e=>e instanceof Et||e instanceof Mn?0:(e instanceof Ft?e.code===et.Redirect||e.code===et.SupersededByNewNavigation:!1)?2:1),he(e=>e!==2),Oe(1)).subscribe(()=>{n()})}var wt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(Vl);stateManager=f(Bd);options=f(xr,{optional:!0})||{};pendingTasks=f(Bn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(Vd);urlSerializer=f(Tr);location=f(Dn);urlHandlingStrategy=f(jd);injector=f(oe);_events=new R;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(PS);injectorCleanup=f(FS,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(Bi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(ja,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Z(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ft&&r.code!==et.Redirect&&r.code!==et.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Et)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Fi){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||YL(o.source)},s);this.scheduleNavigation(a,Ai,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}YP(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});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),Ai,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,o,i)=>{this.navigateToSyncWithBrowser(e,o,r,i)})}navigateToSyncWithBrowser(e,r,o,i){let s=o?.navigationId?o:null,a=o?.\u0275routerUrl??e;if(o?.\u0275routerUrl&&(i=F(g({},i),{browserUrl:e})),o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,Object.keys(l).length!==0&&(i.state=l)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,i).catch(l=>{this.disposed||this.injector.get(vt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Z(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Iv),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,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=uS(h)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return dS(d,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let o=Sr(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ai,null,r)}navigate(e,r={skipLocationChange:!1}){return QL(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(St(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let o;if(r===!0?o=g({},yv):r===!1?o=g({},xa):o=g(g({},xa),r),Sr(e))return iv(this.currentUrlTree,e,o);let i=this.parseUrl(e);return iv(this.currentUrlTree,i,o)}removeEmptyProps(e){return Object.entries(e).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(e,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,h)=>{a=d,c=h});let u=this.pendingTasks.add();return Ud(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QL(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b(4008,!1)}var XL=(()=>{class t{router=f(wt);stateManager=f(Bd);fragment=Q("");queryParams=Q({});path=Q("");serializer=f(Tr);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Et&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(o),this.path.set(this.serializer.serialize(new st(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=f(new ui("href"),{optional:!0});reactiveHref=hm(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r==="preserve"||r==="merge";return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return Z(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Z(this._target)}_target=Q(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Z(this._queryParams)}_queryParams=Q(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Z(this._fragment)}_fragment=Q(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Z(this._queryParamsHandling)}_queryParamsHandling=Q(void 0);set state(e){this._state.set(e)}get state(){return Z(this._state)}_state=Q(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Z(this._info)}_info=Q(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Z(this._relativeTo)}_relativeTo=Q(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Z(this._preserveFragment)}_preserveFragment=Q(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Z(this._skipLocationChange)}_skipLocationChange=Q(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Z(this._replaceUrl)}_replaceUrl=Q(!1);isAnchorElement;onChanges=new R;applicationErrorHandler=f(vt);options=f(xr,{optional:!0});reactiveRouterState=f(XL);constructor(e,r,o,i,s,a){this.router=e,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Q(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Sr(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,e,r):o.removeAttribute(i,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:Sr(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return Z(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(E(wt),E(Jn),ks("tabindex"),E(Le),E(z),E(en))};static \u0275dir=M({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&Qt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&<("href",o.reactiveHref(),Sp)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ue],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ue],replaceUrl:[2,"replaceUrl","replaceUrl",ue],routerLink:"routerLink"},features:[ze]})}return t})(),JL=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new H;link=f(Hd,{optional:!0});constructor(e,r,o,i){this.router=e,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Et&&this.update()})}ngAfterContentInit(){S(this.links.changes,S(null)).pipe(cn()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ae(e).pipe(cn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=e1(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},yv):g({},xa);return o=>{let i=o.urlTree;return i?Z(bv(i,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(E(wt),E(z),E(Le),E(Xt))};static \u0275dir=M({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Wl(i,Hd,5),r&2){let s;ql(s=Yl())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ze]})}return t})();function e1(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Ba=class{};var LS=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,o,i){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(he(e=>e instanceof Et),or(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=oi(i.providers,e,""));let s=i._injector??e;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return ae(o).pipe(cn())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return S(null);let o;r.loadChildren&&r.canLoad===void 0?o=ae(this.loader.loadChildren(e,r)):o=S(null);let i=o.pipe(Ee(s=>s===null?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return ae([i,s]).pipe(cn())}else return i})}static \u0275fac=function(r){return new(r||t)(w(wt),w(oe),w(Ba),w(Ld))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jS=new y(""),t1=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ai;restoredId=0;store={};isHydrating=f(bp,{optional:!0})??!1;urlSerializer=f(Tr);zone=f(V);viewportScroller=f(Hm);transitions=f(Vd);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&f(Ge).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Et?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Mn&&e.code===Ni.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Oi)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let o=Z(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Oi(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){$p()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function n1(){return f(wt).routerState.root}function Ua(t,n){return{\u0275kind:t,\u0275providers:n}}function r1(){let t=f(W);return n=>{let e=t.get(Ge);if(n!==e.components[0])return;let r=t.get(wt),o=t.get(VS);t.get(Rv)===1&&r.initialNavigation(),t.get(HS,null,{optional:!0})?.setUpPreloading(),t.get(jS,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var VS=new y("",{factory:()=>new R}),Rv=new y("",{factory:()=>1});function BS(){let t=[{provide:Cl,useValue:!0},{provide:Rv,useValue:0},$l(()=>{let n=f(W);return n.get(Tm,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(wt),i=n.get(VS);Ud(o,()=>{r(!0)}),n.get(Vd).afterPreactivation=()=>(r(!0),i.closed?S(void 0):i),o.initialNavigation()}))})];return Ua(2,t)}function US(){let t=[$l(()=>{f(wt).setUpLocationChangeListener()}),{provide:Rv,useValue:2}];return Ua(3,t)}var HS=new y("");function $S(t){return Ua(0,[{provide:HS,useExisting:LS},{provide:Ba,useExisting:t}])}function zS(){return Ua(8,[wv,{provide:ja,useExisting:wv}])}function GS(t){Kt("NgRouterViewTransitions");let n=[{provide:Mv,useValue:kS},{provide:Tv,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ua(9,n)}var WS=[Dn,{provide:Tr,useClass:Xn},wt,wo,{provide:Jn,useFactory:n1},Ld,[]],o1=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[WS,[],{provide:Bi,multi:!0,useValue:e},[],r?.errorHandler?{provide:xv,useValue:r.errorHandler}:[],{provide:xr,useValue:r||{}},r?.useHash?s1():a1(),i1(),r?.preloadingStrategy?$S(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?c1(r):[],r?.bindToComponentInputs?zS().\u0275providers:[],r?.enableViewTransitions?GS().\u0275providers:[],l1()]}}static forChild(e){return{ngModule:t,providers:[{provide:Bi,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function i1(){return{provide:jS,useFactory:()=>{let t=f(Hm),n=f(xr);return n.scrollOffset&&t.setOffset(n.scrollOffset),new t1(n)}}}function s1(){return{provide:en,useClass:Lm}}function a1(){return{provide:en,useClass:ru}}function c1(t){return[t.initialNavigation==="disabled"?US().\u0275providers:[],t.initialNavigation==="enabledBlocking"?BS().\u0275providers:[]]}var Av=new y("");function l1(){return[{provide:Av,useFactory:r1},{provide:zl,multi:!0,useExisting:Av}]}var $d=class t extends Error{originalError;constructor(n){super(n)}static fromError(n,e){let r=new t(n);return r.originalError=e,r}},d1=(()=>{class t{handleError(e){let r=e;return e.name==="HttpErrorResponse"&&e.status===0?r=$d.fromError("Controller is unreachable",e):e.error?.message&&(r=$d.fromError(e.error.message,e)),xn(()=>r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),_ee=(()=>{class t{http;errorHandler;router;requestsNotificationEmitter=new H;isRefreshing=!1;failedQueue=[];constructor(e,r,o){this.http=e,this.errorHandler=r,this.router=o}get(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}getText(e,r,o){o=this.getTextOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}getBlob(e,r,o){o=this.getBlobOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}post(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,o,s.options),"POST",r,o,i)}postBlob(e,r,o){let i={responseType:"blob",headers:{}},s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,o,s.options),"POST",r,o,i)}put(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`PUT ${s.url}`),this.handleResponse(e,this.http.put(s.url,o,s.options),"PUT",r,o,i)}delete(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`DELETE ${i.url}`),this.handleResponse(e,this.http.delete(i.url,i.options),"DELETE",r,null,o)}patch(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.handleResponse(e,this.http.patch(s.url,o,s.options),"PATCH",r,o,i)}head(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.handleResponse(e,this.http.head(i.url,i.options),"HEAD",r,null,o)}options(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.handleResponse(e,this.http.options(i.url,i.options),"OPTIONS",r,null,o)}getJsonOptions(e){return e||{responseType:"json"}}getTextOptions(e){return e||{responseType:"text"}}getBlobOptions(e){return e||{responseType:"blob"}}getOptionsForController(e,r,o){return e&&e.host&&e.port?(e.protocol||(e.protocol=location.protocol),r=`${e.protocol}//${e.host}:${e.port}/${nd.current_version}${r}`):r=`/${nd.current_version}${r}`,o.headers||(o.headers={}),e&&e.authToken&&!e.tokenExpired&&(o.headers.Authorization=`Bearer ${e.authToken}`),{url:r,options:o}}handleResponse(e,r,o,i,s,a){return r.pipe(It(c=>{if(c.status!==401)return this.errorHandler.handleError(c);if(i.endsWith("/access/users/login")||i.endsWith("/access/users/authenticate")||i.endsWith("/access/users/refresh"))return this.errorHandler.handleError(c);let l=localStorage.getItem(`refresh_token_${e.id}`);return l?this.retryAfterRefresh(e,o,i,s,a,l):(this.redirectToLogin(e),xn(()=>c))}))}retryAfterRefresh(e,r,o,i,s,a){return this.isRefreshing?new P(c=>{this.failedQueue.push({resolve:()=>{this.executeRequest(e,r,o,i,s).subscribe({next:l=>{c.next(l),c.complete()},error:l=>c.error(l)})},reject:l=>c.error(l)})}):(this.isRefreshing=!0,this.doRefreshToken(e,a).pipe(Be(c=>(e.authToken=c.access_token,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),c.refresh_token&&localStorage.setItem(`refresh_token_${e.id}`,c.refresh_token),this.isRefreshing=!1,this.processQueue(null),this.executeRequest(e,r,o,i,s))),It(c=>(this.isRefreshing=!1,this.processQueue(c),c.status===401&&this.redirectToLogin(e),xn(()=>c)))))}doRefreshToken(e,r){let o=`${e.protocol}//${e.host}:${e.port}/${nd.current_version}/access/users/refresh`;return this.http.post(o,{refresh_token:r},{headers:new wn({"Content-Type":"application/json"})})}executeRequest(e,r,o,i,s){let a=this.getOptionsForController(e,o,s);return this.requestsNotificationEmitter.emit(`${r} ${a.url}`),this.http.request(r,a.url,{body:i,headers:a.options.headers,params:a.options.params,responseType:a.options.responseType||"json"})}processQueue(e){e?this.failedQueue.forEach(r=>r.reject(e)):this.failedQueue.forEach(r=>r.resolve()),this.failedQueue=[]}clearTokens(e){localStorage.removeItem(`refresh_token_${e.id}`),e.authToken=null,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e))}redirectToLogin(e){this.clearTokens(e),e.tokenExpired=!0,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),this.isRefreshing=!1,this.processQueue(new Error("Session expired, redirecting to login")),this.router.navigate(["/controller",e.id,"login"])}static \u0275fac=function(r){return new(r||t)(w(pi),w(d1),w(wt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Nv=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 R;constructor(n=!1,e,r=!0,o){this._multiple=n,this._emitChanges=r,this.compareWith=o,e&&e.length&&(n?e.forEach(i=>this._markSelected(i)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(r=>this._markSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,r=new Set(n.map(i=>this._getConcreteValue(i)));n.forEach(i=>this._markSelected(i)),e.filter(i=>!r.has(this._getConcreteValue(i,r))).forEach(i=>this._unmarkSelected(i));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}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 r of e)if(this.compareWith(n,r))return r;return n}else return n}};var f1=(()=>{class t{_listeners=[];notify(e,r){for(let o of this._listeners)o(e,r)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(r=>e!==r)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qS=class{applyChanges(n,e,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=r(s,a,c);l=e.createEmbeddedView(d.templateRef,d.context,d.index),u=Cn.INSERTED}else c==null?(e.remove(a),u=Cn.REMOVED):(l=e.get(a),e.move(l,c),u=Cn.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){}};var kee=(()=>{class t{_animationsDisabled=Cr();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=xe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&Xe("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,o){},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: transparent;
|
|
}
|
|
.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;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})();export{g as a,F as b,eM as c,h1 as d,p1 as e,m1 as f,G as g,P as h,R as i,Re as j,$i as k,Kv as l,Ct as m,Qv as n,Ne as o,Wi as p,ae as q,S as r,xn as s,Vt as t,vM as u,bM as v,L as w,Ro as x,Ee as y,ln as z,qi as A,Yi as B,of as C,Pr as D,FM as E,PM as F,he as G,mc as H,It as I,sf as J,jM as K,or as L,Lr as M,Oe as N,af as O,VM as P,gc as Q,py as R,Rn as S,my as T,Zi as U,gy as V,Ki as W,No as X,Be as Y,jt as Z,yc as _,Ue as $,b as aa,Ce as ba,v as ca,Y as da,y as ea,w as fa,f as ga,Uy as ha,oe as ia,J as ja,tb as ka,nb as la,pb as ma,mb as na,W as oa,k as pa,He as qa,H as ra,V as sa,Ze as ta,Q as ua,Es as va,ze as wa,Te as xa,z as ya,Un as za,so as Aa,Fs as Ba,H0 as Ca,q_ as Da,Y_ as Ea,G0 as Fa,W0 as Ga,tD as Ha,At as Ia,yt as Ja,$e as Ka,Le as La,E as Ma,$p as Na,Qe as Oa,xe as Pa,X as Qa,M as Ra,ii as Sa,qA as Ta,te as Ua,JD as Va,eE as Wa,si as Xa,Ge as Ya,iE as Za,lt as _a,sR as $a,cR as ab,rm as bb,lR as cb,uR as db,dR as eb,fR as fb,hR as gb,sE as hb,_l as ib,om as jb,Gl as kb,ai as lb,ci as mb,Gn as nb,im as ob,sm as pb,cE as qb,bR as rb,lE as sb,Qt as tb,dE as ub,CR as vb,Dr as wb,_n as xb,Wl as yb,am as zb,ql as Ab,Yl as Bb,hE as Cb,pE as Db,MR as Eb,TR as Fb,cm as Gb,Xe as Hb,zs as Ib,ZR as Jb,wE as Kb,lm as Lb,CE as Mb,IE as Nb,SE as Ob,ME as Pb,TE as Qb,tN as Rb,xE as Sb,nN as Tb,rN as Ub,je as Vb,aN as Wb,cN as Xb,lN as Yb,uN as Zb,dN as _b,hN as $b,mN as ac,gN as bc,vN as cc,yN as dc,bN as ec,Z as fc,Wn as gc,ui as hc,q5 as ic,Y5 as jc,YE as kc,Z5 as lc,K5 as mc,Q5 as nc,X5 as oc,Xt as pc,Jl as qc,ue as rc,Sm as sc,e6 as tc,Dn as uc,bO as vc,Ew as wc,_O as xc,DO as yc,EO as zc,IO as Ac,MO as Bc,AO as Cc,RO as Dc,Vm as Ec,Iw as Fc,Zm as Gc,YO as Hc,tk as Ic,wn as Jc,Zn as Kc,di as Lc,lo as Mc,fi as Nc,Ww as Oc,pi as Pc,Ek as Qc,Qw as Rc,TY as Sc,ia as Tc,Nt as Uc,yg as Vc,AF as Wc,ot as Xc,ha as Yc,pa as Zc,Gu as _c,qC as $c,Ot as ad,_e as bd,_i as cd,_a as dd,hP as ed,Lg as fd,Cn as gd,jg as hd,rn as id,Da as jd,mP as kd,Si as ld,yX as md,Vg as nd,Bg as od,va as pd,mo as qd,Ug as rd,Mi as sd,rd as td,od as ud,IX as vd,SX as wd,MI as xd,Ku as yd,FI as zd,Wg as Ad,Ca as Bd,qg as Cd,ld as Dd,Zg as Ed,HI as Fd,Kg as Gd,Qg as Hd,Gg as Id,DP as Jd,EP as Kd,qS as Ld,fo as Md,lC as Nd,nn as Od,Jw as Pd,rt as Qd,Kn as Rd,GY as Sd,WY as Td,uo as Ud,qY as Vd,Gk as Wd,vi as Xd,ZY as Yd,Zk as Zd,KY as _d,Qk as $d,Jk as ae,xC as be,AC as ce,rF as de,iF as ee,QY as fe,XY as ge,fF as he,pF as ie,gF as je,yF as ke,bF as le,JY as me,eZ as ne,tZ as oe,qu as pe,RF as qe,$u as re,Yu as se,Dg as te,x7 as ue,rI as ve,aI as we,GF as xe,qF as ye,YF as ze,wg as Ae,Cg as Be,Ig as Ce,EK as De,KF as Ee,QF as Fe,PK as Ge,oQ as He,WK as Ie,QK as Je,JF as Ke,Cr as Le,Mr as Me,Et as Ne,Ft as Oe,Do as Pe,Jn as Qe,Ev as Re,wt as Se,Hd as Te,JL as Ue,o1 as Ve,HC as We,PZ as Xe,LZ as Ye,ba as Ze,Og as _e,bQ as $e,EI as af,wI as bf,cP as cf,II as df,WQ as ef,qQ as ff,nd as gf,d1 as hf,_ee as if,Nv as jf,f1 as kf,kee as lf};
|