mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-31 06:20:12 +03:00
1050 lines
545 KiB
JavaScript
1050 lines
545 KiB
JavaScript
var bS=Object.create;var ka=Object.defineProperty,_S=Object.defineProperties,DS=Object.getOwnPropertyDescriptor,ES=Object.getOwnPropertyDescriptors,wS=Object.getOwnPropertyNames,Oa=Object.getOwnPropertySymbols,CS=Object.getPrototypeOf,Sd=Object.prototype.hasOwnProperty,Cv=Object.prototype.propertyIsEnumerable;var wv=(t,n,e)=>n in t?ka(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,g=(t,n)=>{for(var e in n||={})Sd.call(n,e)&&wv(t,e,n[e]);if(Oa)for(var e of Oa(n))Cv.call(n,e)&&wv(t,e,n[e]);return t},F=(t,n)=>_S(t,ES(n));var IS=(t,n)=>{var e={};for(var r in t)Sd.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Oa)for(var r of Oa(t))n.indexOf(r)<0&&Cv.call(t,r)&&(e[r]=t[r]);return e};var CL=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}},IL=(t,n)=>{for(var e in n)ka(t,e,{get:n[e],enumerable:!0})},SS=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of wS(n))!Sd.call(t,o)&&o!==e&&ka(t,o,{get:()=>n[o],enumerable:!(r=DS(n,o))||r.enumerable});return t};var SL=(t,n,e)=>(e=t!=null?bS(CS(t)):{},SS(n||!t||!t.__esModule?ka(e,"default",{value:t,enumerable:!0}):e,t));function R(t){return typeof t=="function"}function Zn(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 Fa=Zn(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 wr(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(R(r))try{r()}catch(i){n=i instanceof Fa?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Iv(i)}catch(s){n=n??[],s instanceof Fa?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Fa(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Iv(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)&&wr(e,n)}remove(n){let{_finalizers:e}=this;e&&wr(e,n),n instanceof t&&n._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Md=G.EMPTY;function Pa(t){return t instanceof G||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function Iv(t){R(t)?t():t.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Do={setTimeout(t,n,...e){let{delegate:r}=Do;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Do;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function La(t){Do.setTimeout(()=>{let{onUnhandledError:n}=Nt;if(n)n(t);else throw t})}function Cr(){}var Sv=Td("C",void 0,void 0);function Mv(t){return Td("E",void 0,t)}function Tv(t){return Td("N",t,void 0)}function Td(t,n,e){return{kind:t,value:n,error:e}}var Ir=null;function Eo(t){if(Nt.useDeprecatedSynchronousErrorHandling){let n=!Ir;if(n&&(Ir={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Ir;if(Ir=null,e)throw r}}else t()}function xv(t){Nt.useDeprecatedSynchronousErrorHandling&&Ir&&(Ir.errorThrown=!0,Ir.error=t)}var Sr=class extends G{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Pa(n)&&n.add(this)):this.destination=xS}static create(n,e,r){return new Ot(n,e,r)}next(n){this.isStopped?Ad(Tv(n),this):this._next(n)}error(n){this.isStopped?Ad(Mv(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ad(Sv,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()}}},MS=Function.prototype.bind;function xd(t,n){return MS.call(t,n)}var Rd=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){ja(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){ja(r)}else ja(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){ja(e)}}},Ot=class extends Sr{constructor(n,e,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&Nt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&xd(n.next,i),error:n.error&&xd(n.error,i),complete:n.complete&&xd(n.complete,i)}):o=n}this.destination=new Rd(o)}};function ja(t){Nt.useDeprecatedSynchronousErrorHandling?xv(t):La(t)}function TS(t){throw t}function Ad(t,n){let{onStoppedNotification:e}=Nt;e&&Do.setTimeout(()=>e(t,n))}var xS={closed:!0,next:Cr,error:TS,complete:Cr};var wo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function st(t){return t}function Nd(...t){return Od(t)}function Od(t){return t.length===0?st:t.length===1?t[0]:function(e){return t.reduce((r,o)=>o(r),e)}}var O=(()=>{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=RS(e)?e:new Ot(e,r,o);return Eo(()=>{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=Av(r),new r((o,i)=>{let s=new Ot({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)}[wo](){return this}pipe(...e){return Od(e)(this)}toPromise(e){return e=Av(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 Av(t){var n;return(n=t??Nt.Promise)!==null&&n!==void 0?n:Promise}function AS(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}function RS(t){return t&&t instanceof Sr||AS(t)&&Pa(t)}var Rv=Zn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var S=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new Va(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Rv}next(e){Eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Eo(()=>{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(){Eo(()=>{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?Md:(this.currentObservers=null,i.push(e),new G(()=>{this.currentObservers=null,wr(i,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:o,isStopped:i}=this;r?e.error(o):i&&e.complete()}asObservable(){let e=new O;return e.source=this,e}}return t.create=(n,e)=>new Va(n,e),t})(),Va=class extends S{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:Md}};function kd(t){return R(t?.lift)}function k(t){return n=>{if(kd(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 N(t,n,e,r,o){return new Fd(t,n,e,r,o)}var Fd=class extends Sr{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 Ov(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 Nv(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 Mr(t){return this instanceof Mr?(this.v=t,this):new Mr(t)}function kv(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(E,I){i.push([p,_,E,I])>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 Mr?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 Fv(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 Nv=="function"?Nv(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 Co=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ba(t){return R(t?.then)}function Ua(t){return R(t[wo])}function Ha(t){return Symbol.asyncIterator&&R(t?.[Symbol.asyncIterator])}function $a(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 NS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var za=NS();function Ga(t){return R(t?.[za])}function Wa(t){return kv(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield Mr(e.read());if(o)return yield Mr(void 0);yield yield Mr(r)}}finally{e.releaseLock()}})}function qa(t){return R(t?.getReader)}function Y(t){if(t instanceof O)return t;if(t!=null){if(Ua(t))return OS(t);if(Co(t))return kS(t);if(Ba(t))return FS(t);if(Ha(t))return Pv(t);if(Ga(t))return PS(t);if(qa(t))return LS(t)}throw $a(t)}function OS(t){return new O(n=>{let e=t[wo]();if(R(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kS(t){return new O(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function FS(t){return new O(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,La)})}function PS(t){return new O(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Pv(t){return new O(n=>{jS(t,n).catch(e=>n.error(e))})}function LS(t){return Pv(Wa(t))}function jS(t,n){var e,r,o,i;return Ov(this,void 0,void 0,function*(){try{for(e=Fv(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 at(t){return k((n,e)=>{Y(t).subscribe(N(e,()=>e.complete(),Cr)),!e.closed&&n.subscribe(e)})}function Lv(){return k((t,n)=>{let e=null;t._refCount++;let r=N(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 ki=class extends O{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,kd(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(N(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 Lv()(this)}};var Io={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=Io;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}=Io;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Io;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ie=class extends S{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 Fi={now(){return(Fi.delegate||Date).now()},delegate:void 0};var Pi=class extends S{constructor(n=1/0,e=1/0,r=Fi){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 Ya=class extends G{constructor(n,e){super()}schedule(n,e=0){return this}};var Li={setInterval(t,n,...e){let{delegate:r}=Li;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Li;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Kn=class extends Ya{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 Li.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&&Li.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,wr(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var VS=1,Pd,Ld={};function jv(t){return t in Ld?(delete Ld[t],!0):!1}var Vv={setImmediate(t){let n=VS++;return Ld[n]=!0,Pd||(Pd=Promise.resolve()),Pd.then(()=>jv(n)&&t()),n},clearImmediate(t){jv(t)}};var{setImmediate:BS,clearImmediate:US}=Vv,ji={setImmediate(...t){let{delegate:n}=ji;return(n?.setImmediate||BS)(...t)},clearImmediate(t){let{delegate:n}=ji;return(n?.clearImmediate||US)(t)},delegate:void 0};var Za=class extends Kn{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=ji.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&&(ji.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var So=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)}};So.now=Fi.now;var Qn=class extends So{constructor(n,e=So.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 Ka=class extends Qn{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 jd=new Ka(Za);var kt=new Qn(Kn),Bv=kt;var Qa=class extends Kn{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=Io.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&&(Io.cancelAnimationFrame(e),n._scheduled=void 0)}};var Xa=class extends Qn{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 Vd=new Xa(Qa);var Se=new O(t=>t.complete());function Ja(t){return t&&R(t.schedule)}function Bd(t){return t[t.length-1]}function ec(t){return R(Bd(t))?t.pop():void 0}function nn(t){return Ja(Bd(t))?t.pop():void 0}function Uv(t,n){return typeof Bd(t)=="number"?t.pop():n}function $e(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 tc(t,n=0){return k((e,r)=>{e.subscribe(N(r,o=>$e(r,t,()=>r.next(o),n),()=>$e(r,t,()=>r.complete(),n),o=>$e(r,t,()=>r.error(o),n)))})}function nc(t,n=0){return k((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Hv(t,n){return Y(t).pipe(nc(n),tc(n))}function $v(t,n){return Y(t).pipe(nc(n),tc(n))}function zv(t,n){return new O(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function Gv(t,n){return new O(e=>{let r;return $e(e,n,()=>{r=t[za](),$e(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)}),()=>R(r?.return)&&r.return()})}function rc(t,n){if(!t)throw new Error("Iterable cannot be null");return new O(e=>{$e(e,n,()=>{let r=t[Symbol.asyncIterator]();$e(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function Wv(t,n){return rc(Wa(t),n)}function qv(t,n){if(t!=null){if(Ua(t))return Hv(t,n);if(Co(t))return zv(t,n);if(Ba(t))return $v(t,n);if(Ha(t))return rc(t,n);if(Ga(t))return Gv(t,n);if(qa(t))return Wv(t,n)}throw $a(t)}function se(t,n){return n?qv(t,n):Y(t)}function T(...t){let n=nn(t);return se(t,n)}function Tr(t,n){let e=R(t)?t:()=>t,r=o=>o.error(e());return new O(n?o=>n.schedule(r,0,o):r)}function Ft(t){return!!t&&(t instanceof O||R(t.lift)&&R(t.subscribe))}var In=Zn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function HS(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new Ot({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new In)}});t.subscribe(i)})}function oc(t){return t instanceof Date&&!isNaN(t)}var $S=Zn(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function zS(t,n){let{first:e,each:r,with:o=GS,scheduler:i=n??kt,meta:s=null}=oc(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&r==null)throw new TypeError("No timeout provided.");return k((a,c)=>{let l,u,d=null,h=0,p=m=>{u=$e(c,i,()=>{try{l.unsubscribe(),Y(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(_){c.error(_)}},m)};l=a.subscribe(N(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 GS(t){throw new $S(t)}function H(t,n){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>{r.next(t.call(n,i,o++))}))})}var{isArray:WS}=Array;function qS(t,n){return WS(n)?t(...n):t(n)}function Mo(t){return H(n=>qS(t,n))}var{isArray:YS}=Array,{getPrototypeOf:ZS,prototype:KS,keys:QS}=Object;function ic(t){if(t.length===1){let n=t[0];if(YS(n))return{args:n,keys:null};if(XS(n)){let e=QS(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function XS(t){return t&&typeof t=="object"&&ZS(t)===KS}function sc(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function To(...t){let n=nn(t),e=ec(t),{args:r,keys:o}=ic(t);if(r.length===0)return se([],n);let i=new O(JS(r,n,o?s=>sc(o,s):st));return e?i.pipe(Mo(e)):i}function JS(t,n,e=st){return r=>{Yv(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yv(n,()=>{let l=se(t[c],n),u=!1;l.subscribe(N(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yv(t,n,e){t?$e(e,t,n):n()}function Zv(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 E=!1;Y(e(_,u++)).subscribe(N(n,I=>{o?.(I),i?p(I):n.next(I)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let I=c.shift();s?$e(n,s,()=>m(I)):m(I)}h()}catch(I){n.error(I)}}))};return t.subscribe(N(n,p,()=>{d=!0,h()})),()=>{a?.()}}function ve(t,n,e=1/0){return R(n)?ve((r,o)=>H((i,s)=>n(r,i,o,s))(Y(t(r,o))),e):(typeof n=="number"&&(e=n),k((r,o)=>Zv(r,o,t,e)))}function rn(t=1/0){return ve(st,t)}function Kv(){return rn(1)}function on(...t){return Kv()(se(t,nn(t)))}function Vi(t){return new O(n=>{Y(t()).subscribe(n)})}function Ud(...t){let n=ec(t),{args:e,keys:r}=ic(t),o=new O(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;Y(e[u]).subscribe(N(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?sc(r,a):a),i.complete())}))}});return n?o.pipe(Mo(n)):o}var eM=["addListener","removeListener"],tM=["addEventListener","removeEventListener"],nM=["on","off"];function Hd(t,n,e,r){if(R(e)&&(r=e,e=void 0),r)return Hd(t,n,e).pipe(Mo(r));let[o,i]=iM(t)?tM.map(s=>a=>t[s](n,a,e)):rM(t)?eM.map(Qv(t,n)):oM(t)?nM.map(Qv(t,n)):[];if(!o&&Co(t))return ve(s=>Hd(s,n,e))(Y(t));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Qv(t,n){return e=>r=>t[e](n,r)}function rM(t){return R(t.addListener)&&R(t.removeListener)}function oM(t){return R(t.on)&&R(t.off)}function iM(t){return R(t.addEventListener)&&R(t.removeEventListener)}function xr(t=0,n,e=Bv){let r=-1;return n!=null&&(Ja(n)?e=n:r=n),new O(o=>{let i=oc(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 sM(t=0,n=kt){return t<0&&(t=0),xr(t,t,n)}function aM(...t){let n=nn(t),e=Uv(t,1/0),r=t;return r.length?r.length===1?Y(r[0]):rn(e)(se(r,n)):Se}function fe(t,n){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>t.call(n,i,o++)&&r.next(i)))})}function Xv(t){return k((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(N(e,l=>{r=!0,o=l,i||Y(t(l)).subscribe(i=N(e,a,c))},()=>{s=!0,(!r||!i||i.closed)&&e.complete()}))})}function Bi(t,n=kt){return Xv(()=>xr(t,n))}function sn(t){return k((n,e)=>{let r=null,o=!1,i;r=n.subscribe(N(e,void 0,void 0,s=>{i=Y(t(s,sn(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function Jv(t,n,e,r,o){return(i,s)=>{let a=e,c=n,l=0;i.subscribe(N(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 $d(t,n){return k(Jv(t,n,arguments.length>=2,!1,!0))}function Xn(t,n){return R(n)?ve(t,n,1):ve(t,1)}function cM(t){return $d((n,e,r)=>!t||t(e,r)?n+1:n,0)}function Ar(t,n=kt){return k((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(N(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 ey(t){return k((n,e)=>{let r=!1;n.subscribe(N(e,o=>{r=!0,e.next(o)},()=>{r||e.next(t),e.complete()}))})}function Ue(t){return t<=0?()=>Se:k((n,e)=>{let r=0;n.subscribe(N(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function ty(){return k((t,n)=>{t.subscribe(N(n,Cr))})}function zd(t){return H(()=>t)}function Gd(t,n){return n?e=>on(n.pipe(Ue(1),ty()),e.pipe(Gd(t))):ve((e,r)=>Y(t(e,r)).pipe(Ue(1),zd(e)))}function lM(t,n=kt){let e=xr(t,n);return Gd(()=>e)}function xo(t,n=st){return t=t??uM,k((e,r)=>{let o,i=!0;e.subscribe(N(r,s=>{let a=n(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function uM(t,n){return t===n}function ny(t=dM){return k((n,e)=>{let r=!1;n.subscribe(N(e,o=>{r=!0,e.next(o)},()=>r?e.complete():e.error(t())))})}function dM(){return new In}function Rr(t){return k((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Sn(t,n){let e=arguments.length>=2;return r=>r.pipe(t?fe((o,i)=>t(o,i,r)):st,Ue(1),e?ey(n):ny(()=>new In))}function ac(t){return t<=0?()=>Se:k((n,e)=>{let r=[];n.subscribe(N(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 ry(){return k((t,n)=>{let e,r=!1;t.subscribe(N(n,o=>{let i=e;e=o,r&&n.next([i,o]),r=!0}))})}function qd(t={}){let{connector:n=()=>new S,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 k((_,E)=>{l++,!d&&!u&&h();let I=c=c??n();E.add(()=>{l--,l===0&&!d&&!u&&(a=Wd(m,o))}),I.subscribe(E),!s&&l>0&&(s=new Ot({next:ee=>I.next(ee),error:ee=>{d=!0,h(),a=Wd(p,e,ee),I.error(ee)},complete:()=>{u=!0,h(),a=Wd(p,r),I.complete()}}),Y(_).subscribe(s))})(i)}}function Wd(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new Ot({next:()=>{r.unsubscribe(),t()}});return Y(n(...e)).subscribe(r)}function oy(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,qd({connector:()=>new Pi(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ui(t){return fe((n,e)=>t<=e)}function Nr(...t){let n=nn(t);return k((e,r)=>{(n?on(t,e,n):on(t,e)).subscribe(r)})}function He(t,n){return k((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(N(r,c=>{o?.unsubscribe();let l=0,u=i++;Y(t(c,u)).subscribe(o=N(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yd(t,n=!1){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>{let s=t(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function nt(t,n,e){let r=R(t)||n||e?{next:t,error:n,complete:e}:t;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):st}var ze=null,cc=!1,Zd=1,fM=null,pe=Symbol("SIGNAL");function x(t){let n=ze;return ze=t,n}function lc(){return ze}var Jn={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 Mn(t){if(cc)throw new Error("");if(ze===null)return;ze.consumerOnSignalRead(t);let n=ze.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=ze.recomputing;if(r&&(e=n!==void 0?n.nextProducer:ze.producers,e!==void 0&&e.producer===t)){ze.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===ze&&(!r||pM(o,ze)))return;let i=No(ze),s={producer:t,consumer:ze,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};ze.producersTail=s,n!==void 0?n.nextProducer=s:ze.producers=s,i&&cy(t,s)}function iy(){Zd++}function Fr(t){if(!(No(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Zd)){if(!t.producerMustRecompute(t)&&!Ro(t)){Ao(t);return}t.producerRecomputeValue(t),Ao(t)}}function Kd(t){if(t.consumers===void 0)return;let n=cc;cc=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||hM(r)}}finally{cc=n}}function Qd(){return ze?.consumerAllowSignalWrites!==!1}function hM(t){t.dirty=!0,Kd(t),t.consumerMarkedDirty?.(t)}function Ao(t){t.dirty=!1,t.lastCleanEpoch=Zd}function Tn(t){return t&&sy(t),x(t)}function sy(t){t.producersTail=void 0,t.recomputing=!0}function er(t,n){x(n),t&&ay(t)}function ay(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(No(t))do e=Xd(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Ro(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(Fr(e),r!==e.version))return!0}return!1}function tr(t){if(No(t)){let n=t.producers;for(;n!==void 0;)n=Xd(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function cy(t,n){let e=t.consumersTail,r=No(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)cy(o.producer,o)}function Xd(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,!No(n)){let i=n.producers;for(;i!==void 0;)i=Xd(i)}return e}function No(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Hi(t){fM?.(t)}function pM(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 $i(t,n){return Object.is(t,n)}function zi(t,n){let e=Object.create(mM);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(Fr(e),Mn(e),e.value===an)throw e.error;return e.value};return r[pe]=e,Hi(e),r}var Or=Symbol("UNSET"),kr=Symbol("COMPUTING"),an=Symbol("ERRORED"),mM=F(g({},Jn),{value:Or,dirty:!0,error:null,equal:$i,kind:"computed",producerMustRecompute(t){return t.value===Or||t.value===kr},producerRecomputeValue(t){if(t.value===kr)throw new Error("");let n=t.value;t.value=kr;let e=Tn(t),r,o=!1;try{r=t.computation(),x(null),o=n!==Or&&n!==an&&r!==an&&t.equal(n,r)}catch(i){r=an,t.error=i}finally{er(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function gM(){throw new Error}var ly=gM;function uy(t){ly(t)}function Jd(t){ly=t}var vM=null;function ef(t,n){let e=Object.create(Gi);e.value=t,n!==void 0&&(e.equal=n);let r=()=>dy(e);return r[pe]=e,Hi(e),[r,s=>nr(e,s),s=>uc(e,s)]}function dy(t){return Mn(t),t.value}function nr(t,n){Qd()||uy(t),t.equal(t.value,n)||(t.value=n,yM(t))}function uc(t,n){Qd()||uy(t),nr(t,n(t.value))}var Gi=F(g({},Jn),{equal:$i,value:void 0,kind:"signal"});function yM(t){t.version++,iy(),Kd(t),vM?.(t)}var tf=F(g({},Jn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function nf(t){if(t.dirty=!1,t.version>0&&!Ro(t))return;t.version++;let n=Tn(t);try{t.cleanup(),t.fn()}finally{er(t,n)}}var rf;function dc(){return rf}function cn(t){let n=rf;return rf=t,n}var fy=Symbol("NotFound");function Oo(t){return t===fy||t?.name==="\u0275NotFound"}function of(t,n,e){let r=Object.create(bM);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(Fr(r),Mn(r),r.value===an)throw r.error;return r.value};return i[pe]=r,Hi(r),i}function hy(t,n){Fr(t),nr(t,n),Ao(t)}function py(t,n){if(Fr(t),t.value===an)throw t.error;uc(t,n),Ao(t)}var bM=F(g({},Jn),{value:Or,dirty:!0,error:null,equal:$i,kind:"linkedSignal",producerMustRecompute(t){return t.value===Or||t.value===kr},producerRecomputeValue(t){if(t.value===kr)throw new Error("");let n=t.value;t.value=kr;let e=Tn(t),r,o=!1;try{let i=t.source(),s=n!==Or&&n!==an,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,x(null),o=s&&r!==an&&t.equal(n,r)}catch(i){r=an,t.error=i}finally{er(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function my(t){let n=x(null);try{return t()}finally{x(n)}}var yc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,e){super(Dt(n,e)),this.code=n}};function _M(t){return`NG0${Math.abs(t)}`}function Dt(t,n){return`${_M(t)}${n?": "+n:""}`}var ye=globalThis;function ne(t){for(let n in t)if(t[n]===ne)return n;throw Error("")}function _y(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Xi(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Xi).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 bc(t,n){return t?n?`${t} ${n}`:t:n||""}var DM=ne({__forward_ref__:ne});function be(t){return t.__forward_ref__=be,t}function Me(t){return yf(t)?t():t}function yf(t){return typeof t=="function"&&t.hasOwnProperty(DM)&&t.__forward_ref__===be}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ji(t){return EM(t,_c)}function bf(t){return Ji(t)!==null}function EM(t,n){return t.hasOwnProperty(n)&&t[n]||null}function wM(t){let n=t?.[_c]??null;return n||null}function af(t){return t&&t.hasOwnProperty(hc)?t[hc]:null}var _c=ne({\u0275prov:ne}),hc=ne({\u0275inj:ne}),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 _f(t){return t&&!!t.\u0275providers}var es=ne({\u0275cmp:ne}),ts=ne({\u0275dir:ne}),Df=ne({\u0275pipe:ne}),Ef=ne({\u0275mod:ne}),qi=ne({\u0275fac:ne}),Br=ne({__NG_ELEMENT_ID__:ne}),gy=ne({__NG_ENV_ID__:ne});function wf(t){return Ec(t,"@NgModule"),t[Ef]||null}function un(t){return Ec(t,"@Component"),t[es]||null}function Dc(t){return Ec(t,"@Directive"),t[ts]||null}function Dy(t){return Ec(t,"@Pipe"),t[Df]||null}function Ec(t,n){if(t==null)throw new b(-919,!1)}function dn(t){return typeof t=="string"?t:t==null?"":String(t)}var Ey=ne({ngErrorCode:ne}),CM=ne({ngErrorMessage:ne}),IM=ne({ngTokenPath:ne});function Cf(t,n){return wy("",-200,n)}function wc(t,n){throw new b(-201,!1)}function wy(t,n,e){let r=new b(n,t);return r[Ey]=n,r[CM]=t,e&&(r[IM]=e),r}function SM(t){return t[Ey]}var cf;function Cy(){return cf}function Ke(t){let n=cf;return cf=t,n}function If(t,n,e){let r=Ji(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;wc(t,"")}var MM={},Pr=MM,TM="__NG_DI_FLAG__",lf=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=Lr(e)||0;try{return this.injector.get(n,r&8?null:Pr,r)}catch(o){if(Oo(o))return o;throw o}}};function xM(t,n=0){let e=dc();if(e===void 0)throw new b(-203,!1);if(e===null)return If(t,void 0,n);{let r=AM(n),o=e.retrieve(t,r);if(Oo(o)){if(r.optional)return null;throw o}return o}}function w(t,n=0){return(Cy()||xM)(Me(t),n)}function f(t,n){return w(t,Lr(n))}function Lr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function AM(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function uf(t){let n=[];for(let e=0;e<t.length;e++){let r=Me(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=RM(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 RM(t){return t[TM]}function rr(t,n){let e=t.hasOwnProperty(qi);return e?t[qi]:null}function Iy(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 Sy(t){return t.flat(Number.POSITIVE_INFINITY)}function Cc(t,n){t.forEach(e=>Array.isArray(e)?Cc(e,n):n(e))}function Sf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function ns(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function My(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function Ty(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 Ic(t,n,e){let r=Fo(t,n);return r>=0?t[r|1]=e:(r=~r,Ty(t,r,n,e)),r}function Sc(t,n){let e=Fo(t,n);if(e>=0)return t[e|1]}function Fo(t,n){return NM(t,n,1)}function NM(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 Pt={},Ge=[],Ur=new y(""),Mf=new y("",-1),Tf=new y(""),Yi=class{get(n,e=Pr){if(e===Pr){let o=wy("",-201);throw o.name="\u0275NotFound",o}return e}};function sr(t){return{\u0275providers:t}}function xy(...t){return{\u0275providers:xf(!0,t),\u0275fromNgModule:!0}}function xf(t,...n){let e=[],r=new Set,o,i=s=>{e.push(s)};return Cc(n,s=>{let a=s;pc(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ay(o,i),e}function Ay(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:o}=t[e];Af(o,i=>{n(i,r)})}}function pc(t,n,e,r){if(t=Me(t),!t)return!1;let o=null,i=af(t),s=!i&&un(t);if(!i&&!s){let c=t.ngModule;if(i=af(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)pc(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Cc(i.imports,u=>{pc(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Ay(l,n)}if(!a){let l=rr(o)||(()=>new o);n({provide:o,useFactory:l,deps:Ge},o),n({provide:Tf,useValue:o,multi:!0},o),n({provide:Ur,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;Af(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Af(t,n){for(let e of t)_f(e)&&(e=e.\u0275providers),Array.isArray(e)?Af(e,n):n(e)}var OM=ne({provide:String,useValue:ne});function Ry(t){return t!==null&&typeof t=="object"&&OM in t}function kM(t){return!!(t&&t.useExisting)}function FM(t){return!!(t&&t.useFactory)}function jr(t){return typeof t=="function"}function Ny(t){return!!t.useClass}var rs=new y(""),fc={},vy={},sf;function Po(){return sf===void 0&&(sf=new Yi),sf}var re=class{},Vr=class extends re{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,ff(n,s=>this.processProvider(s)),this.records.set(Mf,ko(void 0,this)),o.has("environment")&&this.records.set(re,ko(void 0,this));let i=this.records.get(rs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Tf,Ge,{self:!0}))}retrieve(n,e){let r=Lr(e)||0;try{return this.get(n,Pr,r)}catch(o){if(Oo(o))return o;throw o}}destroy(){Wi(this),this._destroyed=!0;let n=x(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(),x(n)}}onDestroy(n){return Wi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Wi(this);let e=cn(this),r=Ke(void 0),o;try{return n()}finally{cn(e),Ke(r)}}get(n,e=Pr,r){if(Wi(this),n.hasOwnProperty(gy))return n[gy](this);let o=Lr(r),i,s=cn(this),a=Ke(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=BM(n)&&Ji(n);u&&this.injectableDefInScope(u)?l=ko(df(n),fc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Po():this.parent;return e=o&8&&e===Pr?null:e,c.get(n,e)}catch(c){let l=SM(c);throw l===-200||l===-201?new b(l,null):c}finally{Ke(a),cn(s)}}resolveInjectorInitializers(){let n=x(null),e=cn(this),r=Ke(void 0),o;try{let i=this.get(Ur,Ge,{self:!0});for(let s of i)s()}finally{cn(e),Ke(r),x(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=Me(n);let e=jr(n)?n:Me(n&&n.provide),r=LM(n);if(!jr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=ko(void 0,fc,!0),o.factory=()=>uf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=x(null);try{if(e.value===vy)throw Cf("");return e.value===fc&&(e.value=vy,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&VM(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{x(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Me(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 df(t){let n=Ji(t),e=n!==null?n.factory:rr(t);if(e!==null)return e;if(t instanceof y)throw new b(-204,!1);if(t instanceof Function)return PM(t);throw new b(-204,!1)}function PM(t){if(t.length>0)throw new b(-204,!1);let e=wM(t);return e!==null?()=>e.factory(t):()=>new t}function LM(t){if(Ry(t))return ko(void 0,t.useValue);{let n=Rf(t);return ko(n,fc)}}function Rf(t,n,e){let r;if(jr(t)){let o=Me(t);return rr(o)||df(o)}else if(Ry(t))r=()=>Me(t.useValue);else if(FM(t))r=()=>t.useFactory(...uf(t.deps||[]));else if(kM(t))r=(o,i)=>w(Me(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Me(t&&(t.useClass||t.provide));if(jM(t))r=()=>new o(...uf(t.deps));else return rr(o)||df(o)}return r}function Wi(t){if(t.destroyed)throw new b(-205,!1)}function ko(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function jM(t){return!!t.deps}function VM(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function BM(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function ff(t,n){for(let e of t)Array.isArray(e)?ff(e,n):e&&_f(e)?ff(e.\u0275providers,n):n(e)}function xe(t,n){let e;t instanceof Vr?(Wi(t),e=t):e=new lf(t);let r,o=cn(e),i=Ke(void 0);try{return n()}finally{cn(o),Ke(i)}}function Nf(){return Cy()!==void 0||dc()!=null}var Lt=0,A=1,P=2,Te=3,Et=4,Qe=5,Hr=6,Lo=7,me=8,An=9,jt=10,ie=11,jo=12,Of=13,$r=14,We=15,ar=16,zr=17,fn=18,Rn=19,kf=20,xn=21,Mc=22,or=23,ct=24,Gr=25,cr=26,le=27,Oy=1,Ff=6,lr=7,os=8,Wr=9,ge=10;function Nn(t){return Array.isArray(t)&&typeof t[Oy]=="object"}function Vt(t){return Array.isArray(t)&&t[Oy]===!0}function Pf(t){return(t.flags&4)!==0}function hn(t){return t.componentOffset>-1}function Vo(t){return(t.flags&1)===1}function Bt(t){return!!t.template}function Bo(t){return(t[P]&512)!==0}function qr(t){return(t[P]&256)===256}var Lf="svg",ky="math";function wt(t){for(;Array.isArray(t);)t=t[Lt];return t}function jf(t,n){return wt(n[t])}function Ct(t,n){return wt(n[t.index])}function Tc(t,n){return t.data[n]}function is(t,n){return t[n]}function Vf(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function It(t,n){let e=n[t];return Nn(e)?e:e[Lt]}function Fy(t){return(t[P]&4)===4}function xc(t){return(t[P]&128)===128}function Py(t){return Vt(t[Te])}function lt(t,n){return n==null?null:t[n]}function Bf(t){t[zr]=0}function Uf(t){t[P]&1024||(t[P]|=1024,xc(t)&&Yr(t))}function Ly(t,n){for(;t>0;)n=n[$r],t--;return n}function ss(t){return!!(t[P]&9216||t[ct]?.dirty)}function Ac(t){t[jt].changeDetectionScheduler?.notify(8),t[P]&64&&(t[P]|=1024),ss(t)&&Yr(t)}function Yr(t){t[jt].changeDetectionScheduler?.notify(0);let n=ir(t);for(;n!==null&&!(n[P]&8192||(n[P]|=8192,!xc(n)));)n=ir(n)}function Hf(t,n){if(qr(t))throw new b(911,!1);t[xn]===null&&(t[xn]=[]),t[xn].push(n)}function jy(t,n){if(t[xn]===null)return;let e=t[xn].indexOf(n);e!==-1&&t[xn].splice(e,1)}function ir(t){let n=t[Te];return Vt(n)?n[Te]:n}function $f(t){return t[Lo]??=[]}function zf(t){return t.cleanup??=[]}function Vy(t,n,e,r){let o=$f(n);o.push(e),t.firstCreatePass&&zf(t).push(r,o.length-1)}var B={lFrame:Xy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var hf=!1;function By(){return B.lFrame.elementDepthCount}function Uy(){B.lFrame.elementDepthCount++}function Gf(){B.lFrame.elementDepthCount--}function Rc(){return B.bindingsEnabled}function Wf(){return B.skipHydrationRootTNode!==null}function qf(t){return B.skipHydrationRootTNode===t}function Yf(){B.skipHydrationRootTNode=null}function C(){return B.lFrame.lView}function ce(){return B.lFrame.tView}function Hy(t){return B.lFrame.contextLView=t,t[me]}function $y(t){return B.lFrame.contextLView=null,t}function Ee(){let t=Zf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Zf(){return B.lFrame.currentTNode}function zy(){let t=B.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Uo(t,n){let e=B.lFrame;e.currentTNode=t,e.isParent=n}function Kf(){return B.lFrame.isParent}function Qf(){B.lFrame.isParent=!1}function Gy(){return B.lFrame.contextLView}function Xf(){return hf}function Zi(t){let n=hf;return hf=t,n}function pn(){let t=B.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Jf(){return B.lFrame.bindingIndex}function Wy(t){return B.lFrame.bindingIndex=t}function On(){return B.lFrame.bindingIndex++}function as(t){let n=B.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function qy(){return B.lFrame.inI18n}function Yy(t,n){let e=B.lFrame;e.bindingIndex=e.bindingRootIndex=t,Nc(n)}function Zy(){return B.lFrame.currentDirectiveIndex}function Nc(t){B.lFrame.currentDirectiveIndex=t}function Ky(t){let n=B.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Oc(){return B.lFrame.currentQueryIndex}function cs(t){B.lFrame.currentQueryIndex=t}function UM(t){let n=t[A];return n.type===2?n.declTNode:n.type===1?t[Qe]:null}function eh(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=UM(i),o===null||(i=i[$r],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=B.lFrame=Qy();return r.currentTNode=n,r.lView=t,!0}function kc(t){let n=Qy(),e=t[A];B.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Qy(){let t=B.lFrame,n=t===null?null:t.child;return n===null?Xy(t):n}function Xy(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 Jy(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var th=Jy;function Fc(){let t=Jy();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 eb(t){return(B.lFrame.contextLView=Ly(t,B.lFrame.contextLView))[me]}function Ut(){return B.lFrame.selectedIndex}function ur(t){B.lFrame.selectedIndex=t}function Ho(){let t=B.lFrame;return Tc(t.tView,t.selectedIndex)}function tb(){B.lFrame.currentNamespace=Lf}function nb(){HM()}function HM(){B.lFrame.currentNamespace=null}function nh(){return B.lFrame.currentNamespace}var rb=!0;function Pc(){return rb}function ls(t){rb=t}function pf(t,n=null,e=null,r){let o=rh(t,n,e,r);return o.resolveInjectorInitializers(),o}function rh(t,n=null,e=null,r,o=new Set){let i=[e||Ge,xy(t)],s;return new Vr(i,n||Po(),s||null,o)}var $=class t{static THROW_IF_NOT_FOUND=Pr;static NULL=new Yi;static create(n,e){if(Array.isArray(n))return pf({name:""},e,n,"");{let r=n.name??"";return pf({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>w(Mf)});static __NG_ELEMENT_ID__=-1},L=new y(""),Ae=(()=>{class t{static __NG_ELEMENT_ID__=$M;static __NG_ENV_ID__=e=>e}return t})(),mc=class extends Ae{_lView;constructor(n){super(),this._lView=n}get destroyed(){return qr(this._lView)}onDestroy(n){let e=this._lView;return Hf(e,n),()=>jy(e,n)}};function $M(){return new mc(C())}var ob=!1,ib=new y(""),kn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ie(!1);debugTaskTracker=f(ib,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(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})(),mf=class extends S{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Nf()&&(this.destroyRef=f(Ae,{optional:!0})??void 0,this.pendingTasks=f(kn,{optional:!0})??void 0)}emit(n){let e=x(null);try{super.next(n)}finally{x(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)}})}}},U=mf;function gc(...t){}function oh(t){let n,e;function r(){t=gc;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 sb(t){return queueMicrotask(()=>t()),()=>{t=gc}}var ih="isAngularZone",Ki=ih+"_ID",zM=0,j=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new U(!1);onMicrotaskEmpty=new U(!1);onStable=new U(!1);onError=new U(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ob}=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,qM(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ih)===!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,GM,gc,gc);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)}},GM={};function sh(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 WM(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){oh(()=>{t.callbackScheduled=!1,gf(t),t.isCheckStableRunning=!0,sh(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),gf(t)}function qM(t){let n=()=>{WM(t)},e=zM++;t._inner=t._inner.fork({name:"angular",properties:{[ih]:!0,[Ki]:e,[Ki+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(YM(c))return r.invokeTask(i,s,a,c);try{return yy(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),by(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return yy(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ZM(c)&&n(),by(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,gf(t),sh(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 gf(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function yy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function by(t){t._nesting--,sh(t)}var Qi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new U;onMicrotaskEmpty=new U;onStable=new U;onError=new U;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 YM(t){return ab(t,"__ignore_ng_zone__")}function ZM(t){return ab(t,"__scheduler_tick__")}function ab(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var _t=class{_console=console;handleError(n){this._console.error("ERROR",n)}},ut=new y("",{factory:()=>{let t=f(j),n=f(re),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(_t),e.handleError(r))})}}}),cb={provide:Ur,useValue:()=>{let t=f(_t,{optional:!0})},multi:!0};function W(t,n){let[e,r,o]=ef(t,n?.equal),i=e,s=i[pe];return i.set=r,i.update=o,i.asReadonly=us.bind(i),i}function us(){let t=this[pe];if(t.readonlyFn===void 0){let n=()=>this();n[pe]=t,t.readonlyFn=n}return t.readonlyFn}var $o=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=KM}return t})();function KM(){return new $o(C(),Ee())}var ln=class{},ds=new y("",{factory:()=>!0});var ah=new y(""),zo=(()=>{class t{internalPendingTasks=f(kn);scheduler=f(ln);errorHandler=f(ut);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})(),Lc=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new vf})}return t})(),vf=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}},vc=class{[pe];constructor(n){this[pe]=n}destroy(){this[pe].destroy()}};function Go(t,n){let e=n?.injector??f($),r=n?.manualCleanup!==!0?e.get(Ae):null,o,i=e.get($o,null,{optional:!0}),s=e.get(ln);return i!==null?(o=JM(i.view,s,t),r instanceof mc&&r._lView===i.view&&(r=null)):o=eT(t,e.get(Lc),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new vc(o)}var lb=F(g({},tf),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Zi(!1);try{nf(this)}finally{Zi(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=x(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],x(t)}}}),QM=F(g({},lb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(tr(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),XM=F(g({},lb),{consumerMarkedDirty(){this.view[P]|=8192,Yr(this.view),this.notifier.notify(13)},destroy(){if(tr(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[or]?.delete(this)}});function JM(t,n,e){let r=Object.create(XM);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=ub(r,e),t[or]??=new Set,t[or].add(r),r.consumerMarkedDirty(r),r}function eT(t,n,e){let r=Object.create(QM);return r.fn=ub(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 ub(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function ws(t){return{toString:t}.toString()}function aT(t){return typeof t=="function"}function Yb(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var qc=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Re=(()=>{let t=()=>Zb;return t.ngInherit=!0,t})();function Zb(t){return t.type.prototype.ngOnChanges&&(t.setInput=lT),cT}function cT(){let t=Qb(this),n=t?.current;if(n){let e=t.previous;if(e===Pt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function lT(t,n,e,r,o){let i=this.declaredInputs[r],s=Qb(t)||uT(t,{previous:Pt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qc(l&&l.currentValue,e,c===Pt),Yb(t,n,o,e)}var Kb="__ngSimpleChanges__";function Qb(t){return t[Kb]||null}function uT(t,n){return t[Kb]=n}var db=[];var oe=function(t,n=null,e){for(let r=0;r<db.length;r++){let o=db[r];o(t,n,e)}},K=(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})(K||{});function dT(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Zb(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 Xb(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 Hc(t,n,e){Jb(t,n,3,e)}function $c(t,n,e,r){(t[P]&3)===e&&Jb(t,n,e,r)}function ch(t,n){let e=t[P];(e&3)===n&&(e&=16383,e+=1,t[P]=e)}function Jb(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)&&(fT(t,e,n,c),t[zr]=(t[zr]&4294901760)+c+2),c++}function fb(t,n){oe(K.LifecycleHookStart,t,n);let e=x(null);try{n.call(t)}finally{x(e),oe(K.LifecycleHookEnd,t,n)}}function fT(t,n,e,r){let o=e[r]<0,i=e[r+1],s=o?-e[r]:e[r],a=t[s];o?t[P]>>14<t[zr]>>16&&(t[P]&3)===n&&(t[P]+=16384,fb(a,i)):fb(a,i)}var qo=-1,Kr=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 hT(t){return(t.flags&8)!==0}function pT(t){return(t.flags&16)!==0}function mT(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];gT(i)?t.setProperty(n,i,s):t.setAttribute(n,i,s),r++}}return r}function e_(t){return t===3||t===4||t===6}function gT(t){return t.charCodeAt(0)===64}function Yo(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?hb(t,e,o,null,n[++r]):hb(t,e,o,null,null))}}return t}function hb(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 t_(t){return t!==qo}function Yc(t){return t&32767}function vT(t){return t>>16}function Zc(t,n){let e=vT(t),r=n;for(;e>0;)r=r[$r],e--;return r}var bh=!0;function Kc(t){let n=bh;return bh=t,n}var yT=256,n_=yT-1,r_=5,bT=0,mn={};function _T(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Br)&&(r=e[Br]),r==null&&(r=e[Br]=bT++);let o=r&n_,i=1<<o;n.data[t+(o>>r_)]|=i}function Qc(t,n){let e=o_(t,n);if(e!==-1)return e;let r=n[A];r.firstCreatePass&&(t.injectorIndex=n.length,lh(r.data,t),lh(n,null),lh(r.blueprint,null));let o=rp(t,n),i=t.injectorIndex;if(t_(o)){let s=Yc(o),a=Zc(o,n),c=a[A].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function lh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function o_(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function rp(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=l_(o),r===null)return qo;if(e++,o=o[$r],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return qo}function _h(t,n,e){_T(t,n,e)}function DT(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(e_(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 i_(t,n,e){if(e&8||t!==void 0)return t;wc(n,"NodeInjector")}function s_(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let o=t[An],i=Ke(void 0);try{return o?o.get(n,r,e&8):If(n,r,e&8)}finally{Ke(i)}}return i_(r,n,e)}function a_(t,n,e,r=0,o){if(t!==null){if(n[P]&2048&&!(r&2)){let s=IT(t,n,e,r,mn);if(s!==mn)return s}let i=c_(t,n,e,r,mn);if(i!==mn)return i}return s_(n,e,r,o)}function c_(t,n,e,r,o){let i=wT(e);if(typeof i=="function"){if(!eh(n,t,r))return r&1?i_(o,e,r):s_(n,e,r,o);try{let s;if(s=i(r),s==null&&!(r&8))wc(e);else return s}finally{th()}}else if(typeof i=="number"){let s=null,a=o_(t,n),c=qo,l=r&1?n[We][Qe]:null;for((a===-1||r&4)&&(c=a===-1?rp(t,n):n[a+8],c===qo||!mb(r,!1)?a=-1:(s=n[A],a=Yc(c),n=Zc(c,n)));a!==-1;){let u=n[A];if(pb(i,a,u.data)){let d=ET(a,n,e,s,r,l);if(d!==mn)return d}c=n[a+8],c!==qo&&mb(r,n[A].data[a+8]===l)&&pb(i,a,n)?(s=u,a=Yc(c),n=Zc(c,n)):a=-1}}return o}function ET(t,n,e,r,o,i){let s=n[A],a=s.data[t+8],c=r==null?hn(a)&&bh:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=zc(a,s,e,c,l);return u!==null?gs(n,s,u,a,o):mn}function zc(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&&Bt(p)&&p.type===e)return c}return null}function gs(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof Kr){let a=i;if(a.resolving)throw Cf("");let c=Kc(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?Ke(a.injectImpl):null,h=eh(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&dT(e,s[e],n)}finally{d!==null&&Ke(d),Kc(c),a.resolving=!1,th()}}return i}function wT(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Br)?t[Br]:void 0;return typeof n=="number"?n>=0?n&n_:CT:n}function pb(t,n,e){let r=1<<t;return!!(e[n+(t>>r_)]&r)}function mb(t,n){return!(t&2)&&!(t&1&&n)}var Zr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return a_(this._tNode,this._lView,n,Lr(r),e)}};function CT(){return new Zr(Ee(),C())}function Ne(t){return ws(()=>{let n=t.prototype.constructor,e=n[qi]||Dh(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[qi]||Dh(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Dh(t){return yf(t)?()=>{let n=Dh(Me(t));return n&&n()}:rr(t)}function IT(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[P]&2048&&!Bo(s);){let a=c_(i,s,e,r|2,mn);if(a!==mn)return a;let c=i.parent;if(!c){let l=s[kf];if(l){let u=l.get(e,mn,r&-5);if(u!==mn)return u}c=l_(s),s=s[$r]}i=c}return o}function l_(t){let n=t[A],e=n.type;return e===2?n.declTNode:e===1?t[Qe]:null}function Cs(t){return DT(Ee(),t)}function ST(){return Jo(Ee(),C())}function Jo(t,n){return new z(Ct(t,n))}var z=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=ST}return t})();function u_(t){return t instanceof z?t.nativeElement:t}function MT(){return this._results[Symbol.iterator]()}var Fn=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 S}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=Sy(n);(this._changesDetected=!Iy(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]=MT};function d_(t){return(t.flags&128)===128}var op=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(op||{}),f_=new Map,TT=0;function xT(){return TT++}function AT(t){f_.set(t[Rn],t)}function Eh(t){f_.delete(t[Rn])}var gb="__ngContext__";function Zo(t,n){Nn(n)?(t[gb]=n[Rn],AT(n)):t[gb]=n}function h_(t){return m_(t[jo])}function p_(t){return m_(t[Et])}function m_(t){for(;t!==null&&!Vt(t);)t=t[Et];return t}var wh;function ip(t){wh=t}function g_(){if(wh!==void 0)return wh;if(typeof document<"u")return document;throw new b(210,!1)}var hr=new y("",{factory:()=>RT}),RT="ng";var dl=new y(""),Jr=new y("",{providedIn:"platform",factory:()=>"unknown"}),Is=new y(""),eo=new y("",{factory:()=>f(L).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var v_="r";var y_="di";var sp=new y(""),b_=!1,__=new y("",{factory:()=>b_});var fl=new y("");var vb=new WeakMap;function NT(t,n){if(t==null||typeof t!="object")return;let e=vb.get(t);e||(e=new WeakSet,vb.set(t,e)),e.add(n)}var OT=(t,n,e,r)=>{};function kT(t,n,e,r){OT(t,n,e,r)}function hl(t){return(t.flags&32)===32}var FT=()=>null;function D_(t,n,e=!1){return FT(t,n,e)}function E_(t,n){let e=t.contentQueries;if(e!==null){let r=x(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];cs(i),a.contentQueries(2,n[s],s)}}}finally{x(r)}}}function Ch(t,n,e){cs(0);let r=x(null);try{n(t,e)}finally{x(r)}}function ap(t,n,e){if(Pf(n)){let r=x(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{x(r)}}}var zt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(zt||{});var jc;function PT(){if(jc===void 0&&(jc=null,ye.trustedTypes))try{jc=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jc}function pl(t){return PT()?.createHTML(t)||t}var Vc;function w_(){if(Vc===void 0&&(Vc=null,ye.trustedTypes))try{Vc=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vc}function yb(t){return w_()?.createHTML(t)||t}function bb(t){return w_()?.createScriptURL(t)||t}var Pn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yc})`}},Ih=class extends Pn{getTypeName(){return"HTML"}},Sh=class extends Pn{getTypeName(){return"Style"}},Mh=class extends Pn{getTypeName(){return"Script"}},Th=class extends Pn{getTypeName(){return"URL"}},xh=class extends Pn{getTypeName(){return"ResourceURL"}};function ft(t){return t instanceof Pn?t.changingThisBreaksApplicationSecurity:t}function vn(t,n){let e=C_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${yc})`)}return e===n}function C_(t){return t instanceof Pn&&t.getTypeName()||null}function cp(t){return new Ih(t)}function lp(t){return new Sh(t)}function up(t){return new Mh(t)}function dp(t){return new Th(t)}function fp(t){return new xh(t)}function LT(t){let n=new Rh(t);return jT()?new Ah(n):n}var Ah=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(pl(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Rh=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=pl(n),e}};function jT(){try{return!!new window.DOMParser().parseFromString(pl(""),"text/html")}catch{return!1}}var VT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ss(t){return t=String(t),t.match(VT)?t:"unsafe:"+t}function Ln(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Ms(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var I_=Ln("area,br,col,hr,img,wbr"),S_=Ln("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),M_=Ln("rp,rt"),BT=Ms(M_,S_),UT=Ms(S_,Ln("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")),HT=Ms(M_,Ln("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")),_b=Ms(I_,UT,HT,BT),T_=Ln("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$T=Ln("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"),zT=Ln("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"),GT=Ms(T_,$T,zT),WT=Ln("script,style,template"),Nh=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=ZT(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=YT(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=Db(n).toLowerCase();if(!_b.hasOwnProperty(e))return this.sanitizedSomething=!0,!WT.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(!GT.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;T_[a]&&(c=Ss(c)),this.buf.push(" ",s,'="',Eb(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=Db(n).toLowerCase();_b.hasOwnProperty(e)&&!I_.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Eb(n))}};function qT(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function YT(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw x_(n);return n}function ZT(t){let n=t.firstChild;if(n&&qT(t,n))throw x_(n);return n}function Db(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function x_(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var KT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QT=/([^\#-~ |!])/g;function Eb(t){return t.replace(/&/g,"&").replace(KT,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(QT,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Bc;function ml(t,n){let e=null;try{Bc=Bc||LT(t);let r=n?String(n):"";e=Bc.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=Bc.getInertBodyElement(r)}while(r!==i);let a=new Nh().sanitizeChildren(wb(e)||e);return pl(a)}finally{if(e){let r=wb(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function wb(t){return"content"in t&&XT(t)?t.content:null}function XT(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var JT=/^>|^->|<!--|-->|--!>|<!-$/g,e0=/(<|>)/g,t0="\u200B$1\u200B";function n0(t){return t.replace(JT,n=>n.replace(e0,t0))}function r0(t,n){return t.createText(n)}function o0(t,n,e){t.setValue(n,e)}function i0(t,n){return t.createComment(n0(n))}function A_(t,n,e){return t.createElement(n,e)}function Xc(t,n,e,r,o){t.insertBefore(n,e,r,o)}function R_(t,n,e){t.appendChild(n,e)}function Cb(t,n,e,r,o){r!==null?Xc(t,n,e,r,o):R_(t,n,e)}function N_(t,n,e,r){t.removeChild(null,n,e,r)}function s0(t,n,e){t.setAttribute(n,"style",e)}function a0(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function O_(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&&mT(t,n,r),o!==null&&a0(t,n,o),i!==null&&s0(t,n,i)}var ot=(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})(ot||{});function c0(t){let n=pp();return n?yb(n.sanitize(ot.HTML,t)||""):vn(t,"HTML")?yb(ft(t)):ml(g_(),dn(t))}function k_(t){let n=pp();return n?n.sanitize(ot.URL,t)||"":vn(t,"URL")?ft(t):Ss(dn(t))}function F_(t){let n=pp();if(n)return bb(n.sanitize(ot.RESOURCE_URL,t)||"");if(vn(t,"ResourceURL"))return bb(ft(t));throw new b(904,!1)}var l0={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function u0(t,n){return l0[t.toLowerCase()]?.[n.toLowerCase()]===!0?F_:k_}function hp(t,n,e){return u0(n,e)(t)}function pp(){let t=C();return t&&t[jt].sanitizer}function d0(t){return t.ownerDocument.defaultView}function f0(t){return t.ownerDocument}function P_(t){return t instanceof Function?t():t}function h0(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 L_="ng-template";function p0(t,n,e,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&h0(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(mp(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 mp(t){return t.type===4&&t.value!==L_}function m0(t,n,e){let r=t.type===4&&!e?L_:t.value;return n===r}function g0(t,n,e){let r=4,o=t.attrs,i=o!==null?b0(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ht(r)&&!Ht(c))return!1;if(s&&Ht(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!m0(t,c,e)||c===""&&n.length===1){if(Ht(r))return!1;s=!0}}else if(r&8){if(o===null||!p0(t,o,c,e)){if(Ht(r))return!1;s=!0}}else{let l=n[++a],u=v0(c,o,mp(t),e);if(u===-1){if(Ht(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ht(r))return!1;s=!0}}}}return Ht(r)||s}function Ht(t){return(t&1)===0}function v0(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 _0(n,t)}function j_(t,n,e=!1){for(let r=0;r<n.length;r++)if(g0(t,n[r],e))return!0;return!1}function y0(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function b0(t){for(let n=0;n<t.length;n++){let e=t[n];if(e_(e))return n}return t.length}function _0(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 D0(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 Ib(t,n){return t?":not("+n.trim()+")":n}function E0(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!==""&&!Ht(s)&&(n+=Ib(i,o),o=""),r=s,i=i||!Ht(r);e++}return o!==""&&(n+=Ib(i,o)),n}function w0(t){return t.map(E0).join(",")}function C0(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(!Ht(o))break;o=i}r++}return e.length&&n.push(1,...e),n}var Ve={};function gp(t,n,e,r,o,i,s,a,c,l,u){let d=le+r,h=d+o,p=I0(d,h),m=typeof l=="function"?l():l;return p[A]={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 I0(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Ve);return e}function S0(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=gp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function vp(t,n,e,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[Lt]=o,d[P]=r|4|128|8|64|1024,(l!==null||t&&t[P]&2048)&&(d[P]|=2048),Bf(d),d[Te]=d[$r]=t,d[me]=e,d[jt]=s||t&&t[jt],d[ie]=a||t&&t[ie],d[An]=c||t&&t[An]||null,d[Qe]=i,d[Rn]=xT(),d[Hr]=u,d[kf]=l,d[We]=n.type==2?t[We]:d,d}function M0(t,n,e){let r=Ct(n,t),o=S0(e),i=t[jt].rendererFactory,s=yp(t,vp(t,o,null,V_(e),r,n,null,i.createRenderer(r,e),null,null,null));return t[n.index]=s}function V_(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function B_(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 yp(t,n){return t[jo]?t[Of][Et]=n:t[jo]=n,t[Of]=n,n}function bp(t=1){U_(ce(),C(),Ut()+t,!1)}function U_(t,n,e,r){if(!r)if((n[P]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Hc(n,i,e)}else{let i=t.preOrderHooks;i!==null&&$c(n,i,0,e)}ur(e)}var gl=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(gl||{});function Oh(t,n,e,r){let o=x(null);try{let[i,s,a]=t.inputs[e],c=null;(s&gl.SignalBased)!==0&&(c=n[i][pe]),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):Yb(n,c,i,r)}finally{x(o)}}var Gt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Gt||{}),T0;function _p(t,n){return T0(t,n)}var w8=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var kh=new WeakMap,hs=new WeakSet;function x0(t,n){let e=kh.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),hs.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 A0(t,n){let e=kh.get(t);e?e.includes(n)||e.push(n):kh.set(t,[n])}var Qr=new Set,vl=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(vl||{}),Wt=new y(""),Sb=new Set;function qt(t){Sb.has(t)||(Sb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var yl=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Dp=[0,1,2,3],Ep=(()=>{class t{ngZone=f(j);scheduler=f(ln);errorHandler=f(_t,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Wt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&oe(K.AfterRenderHooksStart),this.executing=!0;for(let r of Dp)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&&oe(K.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[Gr]??=[]).push(e),Yr(r),r[P]|=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(vl.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),vs=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?.[Gr];n&&(this.view[Gr]=n.filter(e=>e!==this))}};function ht(t,n){let e=n?.injector??f($);return qt("NgAfterNextRender"),N0(t,e,n,!0)}function R0(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function N0(t,n,e,r){let o=n.get(yl);o.impl??=n.get(Ep);let i=n.get(Wt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Ae):null,a=n.get($o,null,{optional:!0}),c=new vs(o.impl,R0(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var H_=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(re)})});function $_(t,n,e){let r=t.get(H_);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 O0(t,n){let e=t.get(H_);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function k0(t,n){for(let[e,r]of n)$_(t,r.animateFns)}function Mb(t,n,e,r){let o=t?.[cr]?.enter;n!==null&&o&&o.has(e.index)&&k0(r,o)}function Wo(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;Vt(o)?c=o:Nn(o)&&(l=!0,o=o[Lt]);let u=wt(o);t===0&&r!==null?(Mb(a,r,i,e),s==null?R_(n,r,u):Xc(n,r,u,s||null,!0)):t===1&&r!==null?(Mb(a,r,i,e),Xc(n,r,u,s||null,!0),x0(i,u)):t===2?(a?.[cr]?.leave?.has(i.index)&&A0(i,u),hs.delete(u),Tb(a,i,e,d=>{if(hs.has(u)){hs.delete(u);return}N_(n,u,l,d)})):t===3&&(hs.delete(u),Tb(a,i,e,()=>{n.destroyNode(u)})),c!=null&&G0(n,t,e,c,i,r,s)}}function F0(t,n){z_(t,n),n[Lt]=null,n[Qe]=null}function P0(t,n,e,r,o,i){r[Lt]=o,r[Qe]=n,_l(t,r,e,1,o,i)}function z_(t,n){n[jt].changeDetectionScheduler?.notify(9),_l(t,n,n[ie],2,null,null)}function L0(t){let n=t[jo];if(!n)return uh(t[A],t);for(;n;){let e=null;if(Nn(n))e=n[jo];else{let r=n[ge];r&&(e=r)}if(!e){for(;n&&!n[Et]&&n!==t;)Nn(n)&&uh(n[A],n),n=n[Te];n===null&&(n=t),Nn(n)&&uh(n[A],n),e=n&&n[Et]}n=e}}function wp(t,n){let e=t[Wr],r=e.indexOf(n);e.splice(r,1)}function bl(t,n){if(qr(n))return;let e=n[ie];e.destroyNode&&_l(t,n,e,3,null,null),L0(n)}function uh(t,n){if(qr(n))return;let e=x(null);try{n[P]&=-129,n[P]|=256,n[ct]&&tr(n[ct]),B0(t,n),V0(t,n),n[A].type===1&&n[ie].destroy();let r=n[ar];if(r!==null&&Vt(n[Te])){r!==n[Te]&&wp(r,n);let o=n[fn];o!==null&&o.detachView(t)}Eh(n)}finally{x(e)}}function Tb(t,n,e,r){let o=t?.[cr];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&Qr.add(t[Rn]),$_(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),j0(t,r)}else t&&Qr.delete(t[Rn]),r(!1)},o)}function j0(t,n){let e=t[cr]?.running;if(e){e.then(()=>{t[cr].running=void 0,Qr.delete(t[Rn]),n(!0)});return}n(!1)}function V0(t,n){let e=t.cleanup,r=n[Lo];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[Lo]=null);let o=n[xn];if(o!==null){n[xn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[or];if(i!==null){n[or]=null;for(let s of i)s.destroy()}}function B0(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 Kr)){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];oe(K.LifecycleHookStart,a,c);try{c.call(a)}finally{oe(K.LifecycleHookEnd,a,c)}}else{oe(K.LifecycleHookStart,o,i);try{i.call(o)}finally{oe(K.LifecycleHookEnd,o,i)}}}}}function G_(t,n,e){return U0(t,n.parent,e)}function U0(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[Lt];if(hn(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===zt.None||o===zt.Emulated)return null}return Ct(r,e)}function W_(t,n,e){return $0(t,n,e)}function H0(t,n,e){return t.type&40?Ct(t,e):null}var $0=H0,xb;function Cp(t,n,e,r){let o=G_(t,r,n),i=n[ie],s=r.parent||n[Qe],a=W_(s,r,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Cb(i,o,e[c],a,!1);else Cb(i,o,e,a,!1);xb!==void 0&&xb(i,r,n,e,o)}function ps(t,n){if(n!==null){let e=n.type;if(e&3)return Ct(n,t);if(e&4)return Fh(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return ps(t,r);{let o=t[n.index];return Vt(o)?Fh(-1,o):wt(o)}}else{if(e&128)return ps(t,n.next);if(e&32)return _p(n,t)()||wt(t[n.index]);{let r=q_(t,n);if(r!==null){if(Array.isArray(r))return r[0];let o=ir(t[We]);return ps(o,r)}else return ps(t,n.next)}}}return null}function q_(t,n){if(n!==null){let r=t[We][Qe],o=n.projection;return r.projection[o]}return null}function Fh(t,n){let e=ge+t+1;if(e<n.length){let r=n[e],o=r[A].firstChild;if(o!==null)return ps(r,o)}return n[lr]}function Ip(t,n,e,r,o,i,s){for(;e!=null;){let a=r[An];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&Zo(wt(c),r),e.flags|=2),!hl(e))if(l&8)Ip(t,n,e.child,r,o,i,!1),Wo(n,t,a,o,c,e,i,r);else if(l&32){let u=_p(e,r),d;for(;d=u();)Wo(n,t,a,o,d,e,i,r);Wo(n,t,a,o,c,e,i,r)}else l&16?Y_(t,n,r,e,o,i):Wo(n,t,a,o,c,e,i,r);e=s?e.projectionNext:e.next}}function _l(t,n,e,r,o,i){Ip(e,r,t.firstChild,n,o,i,!1)}function z0(t,n,e){let r=n[ie],o=G_(t,e,n),i=e.parent||n[Qe],s=W_(i,e,n);Y_(r,0,n,e,o,s)}function Y_(t,n,e,r,o,i){let s=e[We],c=s[Qe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Wo(n,t,e[An],o,u,r,i,e)}else{let l=c,u=s[Te];d_(r)&&(l.flags|=128),Ip(t,n,l,u,o,i,!0)}}function G0(t,n,e,r,o,i,s){let a=r[lr],c=wt(r);a!==c&&Wo(n,t,e,i,a,o,s);for(let l=ge;l<r.length;l++){let u=r[l];_l(u[A],u,t,n,i,a)}}function W0(t,n,e,r,o){if(n)o?t.addClass(e,r):t.removeClass(e,r);else{let i=r.indexOf("-")===-1?void 0:Gt.DashCase;o==null?t.removeStyle(e,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Gt.Important),t.setStyle(e,r,o,i))}}function Z_(t,n,e,r,o){let i=Ut(),s=r&2;try{ur(-1),s&&n.length>le&&U_(t,n,le,!1);let a=s?K.TemplateUpdateStart:K.TemplateCreateStart;oe(a,o,e),e(r,o)}finally{ur(i);let a=s?K.TemplateUpdateEnd:K.TemplateCreateEnd;oe(a,o,e)}}function Dl(t,n,e){Q0(t,n,e),(e.flags&64)===64&&X0(t,n,e)}function Ts(t,n,e=Ct){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 q0(t,n,e,r){let i=r.get(__,b_)||e===zt.ShadowDom||e===zt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,i);return Y0(s),s}function Y0(t){Z0(t)}var Z0=()=>null;function K0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function K_(t,n,e,r,o,i){let s=n[A];if(El(t,s,n,e,r)){hn(t)&&X_(n,t.index);return}t.type&3&&(e=K0(e)),Q_(t,n,e,r,o,i)}function Q_(t,n,e,r,o,i){if(t.type&3){let s=Ct(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function X_(t,n){let e=It(n,t);e[P]&16||(e[P]|=64)}function Q0(t,n,e){let r=e.directiveStart,o=e.directiveEnd;hn(e)&&M0(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Qc(e,n);let i=e.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],c=gs(n,t,s,e);if(Zo(c,n),i!==null&&tx(n,s-r,c,a,e,i),Bt(a)){let l=It(e.index,n);l[me]=gs(n,t,s,e)}}}function X0(t,n,e){let r=e.directiveStart,o=e.directiveEnd,i=e.index,s=Zy();try{ur(i);for(let a=r;a<o;a++){let c=t.data[a],l=n[a];Nc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&J0(c,l)}}finally{ur(-1),Nc(s)}}function J0(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Sp(t,n){let e=t.directiveRegistry,r=null;if(e)for(let o=0;o<e.length;o++){let i=e[o];j_(n,i.selectors,!1)&&(r??=[],Bt(i)?r.unshift(i):r.push(i))}return r}function ex(t,n,e,r,o,i){let s=Ct(t,n);J_(n[ie],s,i,t.value,e,r,o)}function J_(t,n,e,r,o,i,s){if(i==null)t.removeAttribute(n,o,e);else{let a=s==null?dn(i):s(i,r||"",o);t.setAttribute(n,o,a,e)}}function tx(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];Oh(r,e,c,l)}}function Mp(t,n,e,r,o){let i=le+e,s=n[A],a=o(s,n,t,r,e);n[i]=a,Uo(t,!0);let c=t.type===2;return c?(O_(n[ie],a,t),(By()===0||Vo(t))&&Zo(a,n),Uy()):Zo(a,n),Pc()&&(!c||!hl(t))&&Cp(s,n,a,t),t}function Tp(t){let n=t;return Kf()?Qf():(n=n.parent,Uo(n,!1)),n}function nx(t,n){let e=t[An];if(!e)return;let r;try{r=e.get(ut,null)}catch{r=null}r?.(n)}function El(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];Oh(d,e[l],u,o),a=!0}if(i)for(let c of i){let l=e[c],u=n.data[c];Oh(u,l,r,o),a=!0}return a}function rx(t,n){let e=It(n,t),r=e[A];ox(r,e);let o=e[Lt];o!==null&&e[Hr]===null&&(e[Hr]=D_(o,e[An])),oe(K.ComponentStart);try{xp(r,e,e[me])}finally{oe(K.ComponentEnd,e[me])}}function ox(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function xp(t,n,e){kc(n);try{let r=t.viewQuery;r!==null&&Ch(1,r,e);let o=t.template;o!==null&&Z_(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[fn]?.finishViewCreation(t),t.staticContentQueries&&E_(t,n),t.staticViewQueries&&Ch(2,t.viewQuery,e);let i=t.components;i!==null&&ix(n,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[P]&=-5,Fc()}}function ix(t,n){for(let e=0;e<n.length;e++)rx(t,n[e])}function xs(t,n,e,r){let o=x(null);try{let i=n.tView,a=t[P]&4096?4096:16,c=vp(t,i,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[ar]=l;let u=t[fn];return u!==null&&(c[fn]=u.createEmbeddedView(i)),xp(i,c,e),c}finally{x(o)}}function Ko(t,n){return!n||n.firstChild===null||d_(t)}function ys(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(wt(i)),Vt(i)&&eD(i,r);let s=e.type;if(s&8)ys(t,n,e.child,r);else if(s&32){let a=_p(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=q_(n,e);if(Array.isArray(a))r.push(...a);else{let c=ir(n[We]);ys(c[A],c,a,r,!0)}}e=o?e.projectionNext:e.next}return r}function eD(t,n){for(let e=ge;e<t.length;e++){let r=t[e],o=r[A].firstChild;o!==null&&ys(r[A],r,o,n)}t[lr]!==t[Lt]&&n.push(t[lr])}function tD(t){if(t[Gr]!==null){for(let n of t[Gr])n.impl.addSequence(n);t[Gr].length=0}}var nD=[];function sx(t){return t[ct]??ax(t)}function ax(t){let n=nD.pop()??Object.create(lx);return n.lView=t,n}function cx(t){t.lView[ct]!==t&&(t.lView=null,nD.push(t))}var lx=F(g({},Jn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Yr(t.lView)},consumerOnSignalRead(){this.lView[ct]=this}});function ux(t){let n=t[ct]??Object.create(dx);return n.lView=t,n}var dx=F(g({},Jn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=ir(t.lView);for(;n&&!rD(n[A]);)n=ir(n);n&&Uf(n)},consumerOnSignalRead(){this.lView[ct]=this}});function rD(t){return t.type!==2}function oD(t){if(t[or]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[or])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[P]&8192)}}var fx=100;function iD(t,n=0){let r=t[jt].rendererFactory,o=!1;o||r.begin?.();try{hx(t,n)}finally{o||r.end?.()}}function hx(t,n){let e=Xf();try{Zi(!0),Ph(t,n);let r=0;for(;ss(t);){if(r===fx)throw new b(103,!1);r++,Ph(t,1)}}finally{Zi(e)}}function px(t,n,e,r){if(qr(n))return;let o=n[P],i=!1,s=!1;kc(n);let a=!0,c=null,l=null;i||(rD(t)?(l=sx(n),c=Tn(l)):lc()===null?(a=!1,l=ux(n),c=Tn(l)):n[ct]&&(tr(n[ct]),n[ct]=null));try{Bf(n),Wy(t.bindingStartIndex),e!==null&&Z_(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let p=t.preOrderCheckHooks;p!==null&&Hc(n,p,null)}else{let p=t.preOrderHooks;p!==null&&$c(n,p,0,null),ch(n,0)}if(s||mx(n),oD(n),sD(n,0),t.contentQueries!==null&&E_(t,n),!i)if(u){let p=t.contentCheckHooks;p!==null&&Hc(n,p)}else{let p=t.contentHooks;p!==null&&$c(n,p,1),ch(n,1)}vx(t,n);let d=t.components;d!==null&&cD(n,d,0);let h=t.viewQuery;if(h!==null&&Ch(2,h,r),!i)if(u){let p=t.viewCheckHooks;p!==null&&Hc(n,p)}else{let p=t.viewHooks;p!==null&&$c(n,p,2),ch(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Mc]){for(let p of n[Mc])p();n[Mc]=null}i||(tD(n),n[P]&=-73)}catch(u){throw i||Yr(n),u}finally{l!==null&&(er(l,c),a&&cx(l)),Fc()}}function sD(t,n){for(let e=h_(t);e!==null;e=p_(e))for(let r=ge;r<e.length;r++){let o=e[r];aD(o,n)}}function mx(t){for(let n=h_(t);n!==null;n=p_(n)){if(!(n[P]&2))continue;let e=n[Wr];for(let r=0;r<e.length;r++){let o=e[r];Uf(o)}}}function gx(t,n,e){oe(K.ComponentStart);let r=It(n,t);try{aD(r,e)}finally{oe(K.ComponentEnd,r[me])}}function aD(t,n){xc(t)&&Ph(t,n)}function Ph(t,n){let r=t[A],o=t[P],i=t[ct],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ro(i)),s||=!1,i&&(i.dirty=!1),t[P]&=-9217,s)px(r,t,r.template,t[me]);else if(o&8192){let a=x(null);try{oD(t),sD(t,1);let c=r.components;c!==null&&cD(t,c,1),tD(t)}finally{x(a)}}}function cD(t,n,e){for(let r=0;r<n.length;r++)gx(t,n[r],e)}function vx(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)ur(~o);else{let i=o,s=e[++r],a=e[++r];Yy(s,i);let c=n[i];oe(K.HostBindingsUpdateStart,c);try{a(2,c)}finally{oe(K.HostBindingsUpdateEnd,c)}}}}finally{ur(-1)}}function Ap(t,n){let e=Xf()?64:1088;for(t[jt].changeDetectionScheduler?.notify(n);t;){t[P]|=e;let r=ir(t);if(Bo(t)&&!r)return t;t=r}return null}function lD(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function uD(t,n){let e=ge+n;if(e<t.length)return t[e]}function As(t,n,e,r=!0){let o=n[A];if(yx(o,n,t,e),r){let s=Fh(e,t),a=n[ie],c=a.parentNode(t[lr]);c!==null&&P0(o,t[Qe],a,n,c,s)}let i=n[Hr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function dD(t,n){let e=bs(t,n);return e!==void 0&&bl(e[A],e),e}function bs(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e];if(r){let o=r[ar];o!==null&&o!==t&&wp(o,r),n>0&&(t[e-1][Et]=r[Et]);let i=ns(t,ge+n);F0(r[A],r);let s=i[fn];s!==null&&s.detachView(i[A]),r[Te]=null,r[Et]=null,r[P]&=-129}return r}function yx(t,n,e,r){let o=ge+r,i=e.length;r>0&&(e[o-1][Et]=n),r<i-ge?(n[Et]=e[o],Sf(e,ge+r,n)):(e.push(n),n[Et]=null),n[Te]=e;let s=n[ar];s!==null&&e!==s&&fD(s,n);let a=n[fn];a!==null&&a.insertView(t),Ac(n),n[P]|=128}function fD(t,n){let e=t[Wr],r=n[Te];if(Nn(r))t[P]|=2;else{let o=r[Te][We];n[We]!==o&&(t[P]|=2)}e===null?t[Wr]=[n]:e.push(n)}var dr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[A];return ys(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return qr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Te];if(Vt(n)){let e=n[os],r=e?e.indexOf(this):-1;r>-1&&(bs(n,r),ns(e,r))}this._attachedToViewContainer=!1}bl(this._lView[A],this._lView)}onDestroy(n){Hf(this._lView,n)}markForCheck(){Ap(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){Ac(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,iD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Bo(this._lView),e=this._lView[ar];e!==null&&!n&&wp(e,this._lView),z_(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let e=Bo(this._lView),r=this._lView[ar];r!==null&&!e&&fD(r,this._lView),Ac(this._lView)}};var dt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=bx;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=xs(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new dr(i)}}return t})();function bx(){return wl(Ee(),C())}function wl(t,n){return t.type&4?new dt(n,t,Jo(t,n)):null}function ei(t,n,e,r,o){let i=t.data[n];if(i===null)i=_x(t,n,e,r,o),qy()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=zy();i.injectorIndex=s===null?-1:s.injectorIndex}return Uo(i,!0),i}function _x(t,n,e,r,o){let i=Zf(),s=Kf(),a=s?i:i&&i.parent,c=t.data[n]=Ex(t,a,e,n,r,o);return Dx(t,c,i,s),c}function Dx(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 Ex(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Wf()&&(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:nh(),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 wx(t){let n=t[Ff]??[],r=t[Te][ie],o=[];for(let i of n)i.data[y_]!==void 0?o.push(i):Cx(i,r);t[Ff]=o}function Cx(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[v_];for(;e<o;){let i=r.nextSibling;N_(n,r,!1),r=i,e++}}}var Ix=()=>null,Sx=()=>null;function Jc(t,n){return Ix(t,n)}function hD(t,n,e){return Sx(t,n,e)}var pD=class{},Cl=class{},Lh=class{resolveComponentFactory(n){throw new b(917,!1)}},Rs=class{static NULL=new Lh},je=class{},Oe=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Mx()}return t})();function Mx(){let t=C(),n=Ee(),e=It(n.index,t);return(Nn(e)?e:t)[ie]}var mD=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})();var Gc={},jh=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,Gc,r);return o!==Gc||e===Gc?o:this.parentInjector.get(n,e,r)}};function el(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=bc(o,a);else if(i==2){let c=a,l=n[++s];r=bc(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=o:t.classesWithoutHost=o}function D(t,n=0){let e=C();if(e===null)return w(t,n);let r=Ee();return a_(r,e,Me(t),n)}function Rp(){let t="invalid";throw new Error(t)}function gD(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}Ax(t,n,e,a,i,c,l)}i!==null&&r!==null&&Tx(e,r,i)}function Tx(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 xx(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Ax(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&&Bt(p)&&(c=p,xx(t,e,h)),_h(Qc(e,n),t,p.type)}Px(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=B_(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(e.mergedAttrs=Yo(e.mergedAttrs,p.hostAttrs),Nx(t,e,n,d,p),Fx(d,p,o),s!==null&&s.has(p)){let[_,E]=s.get(p);e.directiveToIndex.set(p.type,[d,_+e.directiveStart,E+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++}Rx(t,e,i)}function Rx(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=t.data[r];if(e===null||!e.has(o))Ab(0,n,o,r),Ab(1,n,o,r),Nb(n,r,!1);else{let i=e.get(o);Rb(0,n,i,r),Rb(1,n,i,r),Nb(n,r,!0)}}}function Ab(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),vD(n,i)}}function Rb(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),vD(n,s)}}function vD(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function Nb(t,n,e){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!e&&o===null||e&&i===null||mp(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 Nx(t,n,e,r,o){t.data[r]=o;let i=o.factory||(o.factory=rr(o.type,!0)),s=new Kr(i,Bt(o),D,null);t.blueprint[r]=s,e[r]=s,Ox(t,n,r,B_(t,e,o.hostVars,Ve),o)}function Ox(t,n,e,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;kx(s)!=a&&s.push(a),s.push(e,r,i)}}function kx(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function Fx(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;Bt(n)&&(e[""]=t)}}function Px(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Np(t,n,e,r,o,i,s,a){let c=n[A],l=c.consts,u=lt(l,s),d=ei(c,t,e,r,u);return i&&gD(c,n,d,lt(l,a),o),d.mergedAttrs=Yo(d.mergedAttrs,d.attrs),d.attrs!==null&&el(d,d.attrs,!1),d.mergedAttrs!==null&&el(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Op(t,n){Xb(t,n),Pf(n)&&t.queries.elementEnd(n)}function Lx(t,n,e,r,o,i){let s=n.consts,a=lt(s,o),c=ei(n,t,e,r,a);if(c.mergedAttrs=Yo(c.mergedAttrs,c.attrs),i!=null){let l=lt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&el(c,c.attrs,!1),c.mergedAttrs!==null&&el(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function kp(t){return Il(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function yD(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 Il(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ti(t,n,e){return t[n]=e}function bD(t,n){return t[n]}function rt(t,n,e){if(e===Ve)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function _s(t,n,e,r){let o=rt(t,n,e);return rt(t,n+1,r)||o}function _D(t,n,e,r,o){let i=_s(t,n,e,r);return rt(t,n+2,o)||i}function jx(t,n,e,r,o,i){let s=_s(t,n,e,r);return _s(t,n+2,o,i)||s}function Wc(t,n,e){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&NT(o,i);let s=hn(t)?It(t.index,n):n;Ap(s,5);let a=n[me],c=Ob(n,a,e,o),l=r.__ngNextListenerFn__;for(;l;)c=Ob(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Ob(t,n,e,r){let o=x(null);try{return oe(K.OutputStart,n,e),e(r)!==!1}catch(i){return nx(t,i),!1}finally{oe(K.OutputEnd,n,e),x(o)}}function DD(t,n,e,r,o,i,s,a){let c=Vo(t),l=!1,u=null;if(!r&&c&&(u=Bx(n,e,i,t.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ct(t,e),h=r?r(d):d;kT(e,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!Vx(i)){let m=r?_=>r(wt(_[t.index])):t.index;ED(m,n,e,i,a,p,!1)}}return l}function Vx(t){return t.startsWith("animation")||t.startsWith("transition")}function Bx(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[Lo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ED(t,n,e,r,o,i,s){let a=n.firstCreatePass?zf(n):null,c=$f(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function kb(t,n,e,r,o,i){let s=n[e],a=n[A],l=a.data[e].outputs[r],d=s[l].subscribe(i);ED(t.index,a,n,o,i,d,!0)}var Vh=Symbol("BINDING");function wD(t){return t.debugInfo?.className||t.type.name||null}var tl=class extends Rs{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=un(n);return new fr(e,this.ngModule)}};function Ux(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&gl.SignalBased)!==0};return o&&(i.transform=o),i})}function Hx(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function $x(t,n,e){let r=n instanceof re?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new jh(e,r):e}function zx(t){let n=t.get(je,null);if(n===null)throw new b(407,!1);let e=t.get(mD,null),r=t.get(ln,null),o=t.get(Wt,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Gx(t,n){let e=CD(t);return A_(n,e,e==="svg"?Lf:e==="math"?ky:null)}function Wx(t){if(t?.toLowerCase()==="script")throw new b(905,!1)}function CD(t){return(t.selectors[0][0]||"div").toLowerCase()}var fr=class extends Cl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Ux(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Hx(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=w0(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){oe(K.DynamicComponentStart);let a=x(null);try{let c=this.componentDef,l=$x(c,o||this.ngModule,n),u=zx(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(wD(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{x(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=qx(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?q0(l,o,a.encapsulation,e):Gx(a,l);Wx(u?.tagName);let d=s?.some(Fb)||i?.some(m=>typeof m!="function"&&m.bindings.some(Fb)),h=vp(null,c,null,512|V_(a),null,null,n,l,e,null,D_(u,e,!0));h[le]=u,kc(h);let p=null;try{let m=Np(le,h,2,"#host",()=>c.directiveRegistry,!0,0);O_(l,u,m),Zo(u,h),Dl(c,h,m),ap(c,m,h),Op(c,m),r!==void 0&&Zx(m,this.ngContentSelectors,r),p=It(m.index,h),h[me]=p[me],xp(c,h,null)}catch(m){throw p!==null&&Eh(p),Eh(h),m}finally{oe(K.DynamicComponentEnd),Fc()}return new nl(this.componentType,h,!!d)}};function qx(t,n,e,r){let o=t?["ng-version","21.2.18"]:C0(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Vh].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[Vh].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=Dc(d);c.push(h)}return gp(0,null,Yx(i,s),1,a,c,null,null,null,[o],null)}function Yx(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 Fb(t){let n=t[Vh].kind;return n==="input"||n==="twoWay"}var nl=class extends pD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Tc(e[A],le),this.location=Jo(this._tNode,e),this.instance=It(this._tNode.index,e)[me],this.hostView=this.changeDetectorRef=new dr(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=El(r,o[A],o,n,e);this.previousInputValues.set(n,e);let s=It(r.index,o);Ap(s,1)}get injector(){return new Zr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Zx(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__=Kx}return t})();function Kx(){let t=Ee();return ID(t,C())}var Bh=class t extends qe{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new Zr(this._hostTNode,this._hostLView)}get parentInjector(){let n=rp(this._hostTNode,this._hostLView);if(t_(n)){let e=Zc(n,this._hostLView),r=Yc(n),o=e[A].data[r+8];return new Zr(o,e)}else return new Zr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Pb(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,Ko(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!aT(n),l;if(c)l=e;else{let E=e||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?n:new fr(un(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let I=(c?d:this.parentInjector).get(re,null);I&&(i=I)}let h=un(u.componentType??{}),p=Jc(this._lContainer,h?.id??null),m=p?.firstChild??null,_=u.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,l,Ko(this._hostTNode,p)),_}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(Py(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[Te],l=new t(c,c[Qe],c[Te]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return As(s,o,i,r),n.attachToViewContainerRef(),Sf(dh(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Pb(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=bs(this._lContainer,e);r&&(ns(dh(this._lContainer),e),bl(r[A],r))}detach(n){let e=this._adjustIndex(n,-1),r=bs(this._lContainer,e);return r&&ns(dh(this._lContainer),e)!=null?new dr(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function Pb(t){return t[os]}function dh(t){return t[os]||(t[os]=[])}function ID(t,n){let e,r=n[t.index];return Vt(r)?e=r:(e=lD(r,n,null,t),n[t.index]=e,yp(n,e)),Xx(e,n,t,r),new Bh(e,t,n)}function Qx(t,n){let e=t[ie],r=e.createComment(""),o=Ct(n,t),i=e.parentNode(o);return Xc(e,i,r,e.nextSibling(o),!1),r}var Xx=tA,Jx=()=>!1;function eA(t,n,e){return Jx(t,n,e)}function tA(t,n,e,r){if(t[lr])return;let o;e.type&8?o=wt(r):o=Qx(n,e),t[lr]=o}var Uh=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Hh=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++)Pp(n,e).matches!==null&&this.queries[e].setDirty()}},rl=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=sA(n):this.predicate=n}},$h=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)}},zh=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,nA(e,i)),this.matchTNodeWithReadOption(n,e,zc(e,n,i,!1,!1))}else r===dt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,zc(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===dt&&e.type&4)this.addMatch(e.index,-2);else{let i=zc(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 nA(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 rA(t,n){return t.type&11?Jo(t,n):t.type&4?wl(t,n):null}function oA(t,n,e,r){return e===-1?rA(n,t):e===-2?iA(t,n,r):gs(t,t[A],e,n)}function iA(t,n,e){if(e===z)return Jo(n,t);if(e===dt)return wl(n,t);if(e===qe)return ID(n,t)}function SD(t,n,e,r){let o=n[fn].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(oA(n,u,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function Gh(t,n,e,r){let o=t.queries.getByIndex(e),i=o.matches;if(i!==null){let s=SD(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=ge;d<u.length;d++){let h=u[d];h[ar]===h[Te]&&Gh(h[A],h,l,r)}if(u[Wr]!==null){let d=u[Wr];for(let h=0;h<d.length;h++){let p=d[h];Gh(p[A],p,l,r)}}}}}return r}function Fp(t,n){return t[fn].queries[n].queryList}function MD(t,n,e){let r=new Fn((e&4)===4);return Vy(t,n,r,r.destroy),(n[fn]??=new Hh).queries.push(new Uh(r))-1}function TD(t,n,e){let r=ce();return r.firstCreatePass&&(AD(r,new rl(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),MD(r,C(),n)}function xD(t,n,e,r){let o=ce();if(o.firstCreatePass){let i=Ee();AD(o,new rl(n,e,r),i.index),aA(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return MD(o,C(),e)}function sA(t){return t.split(",").map(n=>n.trim())}function AD(t,n,e){t.queries===null&&(t.queries=new $h),t.queries.track(new zh(n,e))}function aA(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 Pp(t,n){return t.queries.getByIndex(n)}function RD(t,n){let e=t[A],r=Pp(e,n);return r.crossesNgTemplate?Gh(e,t,n,[]):SD(e,t,r,n)}function Lp(t,n,e){let r,o=zi(()=>{r._dirtyCounter();let i=cA(r,t);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[pe],r._dirtyCounter=W(0),r._flatValue=void 0,o}function jp(t){return Lp(!0,!1,t)}function Vp(t){return Lp(!0,!0,t)}function ND(t){return Lp(!1,!1,t)}function OD(t,n){let e=t[pe];e._lView=C(),e._queryIndex=n,e._queryList=Fp(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function cA(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[P]&4)return n?void 0:Ge;let o=Fp(e,r),i=RD(e,r);return o.reset(i,u_),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var gn=class{},Sl=class{};var ol=class extends gn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new tl(this);constructor(n,e,r,o=!0){super(),this.ngModuleType=n,this._parent=e;let i=wf(n);this._bootstrapComponents=P_(i.bootstrap),this._r3Injector=rh(n,e,[{provide:gn,useValue:this},{provide:Rs,useValue:this.componentFactoryResolver},...r],Xi(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)}},il=class extends Sl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ol(this.moduleType,n,[])}};var Ds=class extends gn{injector;componentFactoryResolver=new tl(this);instance=null;constructor(n){super();let e=new Vr([...n.providers,{provide:gn,useValue:this},{provide:Rs,useValue:this.componentFactoryResolver}],n.parent||Po(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function ni(t,n,e=null){return new Ds({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var lA=(()=>{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=xf(!1,e.type),o=r.length>0?ni([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(re))})}return t})();function ke(t){return ws(()=>{let n=kD(t),e=F(g({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===op.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(lA).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||zt.Emulated,styles:t.styles||Ge,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&qt("NgStandalone"),FD(e);let r=t.dependencies;return e.directiveDefs=Lb(r,uA),e.pipeDefs=Lb(r,Dy),e.id=hA(e),e})}function uA(t){return un(t)||Dc(t)}function X(t){return ws(()=>({type:t.type,bootstrap:t.bootstrap||Ge,declarations:t.declarations||Ge,imports:t.imports||Ge,exports:t.exports||Ge,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function dA(t,n){if(t==null)return Pt;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=gl.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function fA(t){if(t==null)return Pt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function M(t){return ws(()=>{let n=kD(t);return FD(n),n})}function Ns(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 kD(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||Pt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ge,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:dA(t.inputs,n),outputs:fA(t.outputs),debugInfo:null}}function FD(t){t.features?.forEach(n=>n(t))}function Lb(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 hA(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 pA(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=mA,e.hostDirectives=r?t.map(Wh):[t]):r?e.hostDirectives.unshift(...t.map(Wh)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function mA(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,PD(s,n,r),o.set(s,[a,n.length-1])}i===0&&Bt(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 PD(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)jb(Wh(i),n,e)}else jb(r,n,e)}function jb(t,n,e){let r=Dc(t.directive);gA(r.declaredInputs,t.inputs),PD(r,n,e),e.set(r,t),n.push(r)}function Wh(t){return typeof t=="function"?{directive:Me(t),inputs:Pt,outputs:Pt}:{directive:Me(t.directive),inputs:Vb(t.inputs),outputs:Vb(t.outputs)}}function Vb(t){if(t===void 0||t.length===0)return Pt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function gA(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],o=t[e];t[r]=o}}function vA(t){return Object.getPrototypeOf(t.prototype).constructor}function J(t){let n=vA(t.type),e=!0,r=[t];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,es)?n[es]:void 0,s=Object.hasOwn(n,ts)?n[ts]:void 0;if(Bt(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=fh(t.inputs),c.declaredInputs=fh(t.declaredInputs),c.outputs=fh(t.outputs);let l=o.hostBindings;l&&EA(t,l);let u=o.viewQuery,d=o.contentQueries;if(u&&_A(t,u),d&&DA(t,d),yA(t,o),_y(t.outputs,o.outputs),Bt(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===J&&(e=!1)}}n=Object.getPrototypeOf(n)}bA(r)}function yA(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 bA(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=Yo(o.hostAttrs,e=Yo(e,o.hostAttrs))}}function fh(t){return t===Pt?{}:t===Ge?[]:t}function _A(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function DA(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function EA(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function LD(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=Yo(t.mergedAttrs,t.attrs);let u=t.tView=gp(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),Uo(t,!1);let c=CA(e,n,t,r);Pc()&&Cp(e,n,c,t),Zo(c,n);let l=lD(c,n,c,t);n[r+le]=l,yp(n,l),eA(l,t,n)}function wA(t,n,e,r,o,i,s,a,c,l,u){let d=e+le,h;return n.firstCreatePass?(h=ei(n,d,4,s||null,a||null),Rc()&&gD(n,t,h,lt(n.consts,l),Sp),Xb(n,h)):h=n.data[d],LD(h,t,n,e,r,o,i,c),Vo(h)&&Dl(n,t,h),l!=null&&Ts(t,h,u),h}function Qo(t,n,e,r,o,i,s,a,c,l,u){let d=e+le,h;if(n.firstCreatePass){if(h=ei(n,d,4,s||null,a||null),l!=null){let p=lt(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 LD(h,t,n,e,r,o,i,c),l!=null&&Ts(t,h,u),h}function jD(t,n,e,r,o,i,s,a){let c=C(),l=ce(),u=lt(l.consts,i);return wA(c,l,t,n,e,r,o,u,void 0,s,a),jD}function VD(t,n,e,r,o,i,s,a){let c=C(),l=ce(),u=lt(l.consts,i);return Qo(c,l,t,n,e,r,o,u,void 0,s,a),VD}var CA=IA;function IA(t,n,e,r){return ls(!0),n[ie].createComment("")}var Ml=(()=>{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 ri(t){return typeof t=="function"&&t[pe]!==void 0}function Bp(t){return ri(t)&&typeof t.set=="function"}var Tl=new y(""),xl=new y(""),Os=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,o){this._ngZone=e,this.registry=r,Nf()&&(this._destroyRef=f(Ae,{optional:!0})??void 0),Up||(UD(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:()=>{j.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(j),w(BD),w(xl))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),BD=(()=>{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 Up?.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 UD(t){Up=t}var Up;function jn(t){return!!t&&typeof t.then=="function"}function Al(t){return!!t&&typeof t.subscribe=="function"}var Hp=new y("");function Rl(t){return sr([{provide:Hp,multi:!0,useValue:t}])}var $p=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f(Hp,{optional:!0})??[];injector=f($);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=xe(this.injector,o);if(jn(i))e.push(i);else if(Al(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})(),Nl=new y("");function HD(){Jd(()=>{let t="";throw new b(600,t)})}function $D(t){return t.isBoundToModule}var SA=10;var Be=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(ut);afterRenderManager=f(yl);zonelessEnabled=f(ds);rootEffectScheduler=f(Lc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new S;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(kn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(H(e=>!e))}constructor(){f(Wt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=$.NULL){return this._injector.get(j).run(()=>{oe(K.BootstrapComponentStart);let s=e instanceof Cl;if(!this._injector.get($p).done){let m="";throw new b(405,m)}let c;s?c=e:c=this._injector.get(Rs).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=$D(c)?void 0:this._injector.get(gn),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(Tl,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),ms(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),oe(K.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){oe(K.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(vl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw oe(K.ChangeDetectionEnd),new b(101,!1);let e=x(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,x(e),this.afterTick.next(),oe(K.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(je,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<SA;){oe(K.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{oe(K.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&&!ss(o))continue;let i=r&&!this.zonelessEnabled?0:1;iD(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})=>ss(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;ms(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(Nl,[]).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),()=>ms(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 ms(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function zD(t,n){let e=C(),r=On();if(rt(e,r,n)){let o=ce(),i=Ho();if(El(i,o,e,t,n))hn(i)&&X_(e,i.index);else{let a=Ct(i,e);J_(e[ie],a,null,i.value,t,n,null)}}return zD}function Yt(t,n,e,r){let o=C(),i=On();if(rt(o,i,n)){let s=ce(),a=Ho();ex(a,o,t,n,e,r)}return Yt}function MA(){return C()[We][me]}var qh=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 hh(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function TA(t,n,e,r){let o,i,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){x(r);let l=n.length-1;for(x(null);s<=a&&s<=l;){let u=t.at(s),d=n[s],h=hh(s,u,s,d,e);if(h!==0){h<0&&t.updateValue(s,d),s++;continue}let p=t.at(a),m=n[l],_=hh(a,p,l,m,e);if(_!==0){_<0&&t.updateValue(a,m),a--,l--;continue}let E=e(s,u),I=e(a,p),ee=e(s,d);if(Object.is(ee,I)){let Pe=e(l,m);Object.is(Pe,E)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(o??=new sl,i??=Ub(t,s,a,e),Yh(t,o,s,ee))t.updateValue(s,d),s++,a++;else if(i.has(ee))o.set(E,t.detach(s)),a--;else{let Pe=t.create(s,n[s]);t.attach(s,Pe),s++,a++}}for(;s<=l;)Bb(t,o,e,s,n[s]),s++}else if(n!=null){x(r);let l=n[Symbol.iterator]();x(null);let u=l.next();for(;!u.done&&s<=a;){let d=t.at(s),h=u.value,p=hh(s,d,s,h,e);if(p!==0)p<0&&t.updateValue(s,h),s++,u=l.next();else{o??=new sl,i??=Ub(t,s,a,e);let m=e(s,h);if(Yh(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;)Bb(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 Yh(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function Bb(t,n,e,r,o){if(Yh(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Ub(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 sl=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 xA(t,n,e,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=ce(),u=lt(l.consts,i);return Qo(c,l,t,n,e,r,o,u,256,s,a),zp}function zp(t,n,e,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=ce(),u=lt(l.consts,i);return Qo(c,l,t,n,e,r,o,u,512,s,a),zp}function AA(t,n){qt("NgControlFlow");let e=C(),r=On(),o=e[r]!==Ve?e[r]:-1,i=o!==-1?al(e,le+o):void 0,s=0;if(rt(e,r,t)){let a=x(null);try{if(i!==void 0&&dD(i,s),t!==-1){let c=le+t,l=al(e,c),u=Xh(e[A],c),d=hD(l,u,e),h=xs(e,u,n,{dehydratedView:d});As(l,h,s,Ko(u,d))}}finally{x(a)}}else if(i!==void 0){let a=uD(i,s);a!==void 0&&(a[me]=n)}}var Zh=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-ge}};function RA(t){return t}function NA(t,n){return n}var Kh=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function OA(t,n,e,r,o,i,s,a,c,l,u,d,h){qt("NgControlFlow");let p=C(),m=ce(),_=c!==void 0,E=C(),I=a?s.bind(E[We][me]):s,ee=new Kh(_,I);E[le+t]=ee,Qo(p,m,t+1,n,e,r,o,lt(m.consts,i),256),_&&Qo(p,m,t+2,c,l,u,d,lt(m.consts,h),512)}var Qh=class extends qh{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-ge}at(n){return this.getLView(n)[me].$implicit}attach(n,e){let r=e[Hr];this.needsIndexUpdate||=n!==this.length,As(this.lContainer,e,n,Ko(this.templateTNode,r)),FA(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,PA(this.lContainer,n),LA(this.lContainer,n)}create(n,e){let r=Jc(this.lContainer,this.templateTNode.tView.ssrId);return xs(this.hostLView,this.templateTNode,new Zh(this.lContainer,e,n),{dehydratedView:r})}destroy(n){bl(n[A],n)}updateValue(n,e){this.getLView(n)[me].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[me].$index=n}getLView(n){return jA(this.lContainer,n)}};function kA(t){let n=x(null),e=Ut();try{let r=C(),o=r[A],i=r[e],s=e+1,a=al(r,s);if(i.liveCollection===void 0){let l=Xh(o,s);i.liveCollection=new Qh(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(TA(c,t,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=On(),u=c.length===0;if(rt(r,l,u)){let d=e+2,h=al(r,d);if(u){let p=Xh(o,d),m=hD(h,p,r),_=xs(r,p,void 0,{dehydratedView:m});As(h,_,0,Ko(p,m))}else o.firstUpdatePass&&wx(h),dD(h,0)}}}finally{x(n)}}function al(t,n){return t[n]}function FA(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e],o=r?r[cr]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[An];O0(i,o),Qr.delete(r[Rn]),o.detachedLeaveAnimationFns=void 0}}function PA(t,n){if(t.length<=ge)return;let e=ge+n,r=t[e],o=r?r[cr]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function LA(t,n){return bs(t,n)}function jA(t,n){return uD(t,n)}function Xh(t,n){return Tc(t,n)}function GD(t,n,e){let r=C(),o=On();if(rt(r,o,n)){let i=ce(),s=Ho();K_(s,r,t,n,r[ie],e)}return GD}function Jh(t,n,e,r,o){El(n,t,e,o?"class":"style",r)}function cl(t,n,e,r){let o=C(),i=o[A],s=t+le,a=i.firstCreatePass?Np(s,o,2,n,Sp,Rc(),e,r):i.data[s];if(hn(a)){let c=o[jt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(wD(l),()=>(Hb(t,n,o,a,r),cl))}}return Hb(t,n,o,a,r),cl}function Hb(t,n,e,r,o){if(Mp(r,e,t,n,WD),Vo(r)){let i=e[A];Dl(i,e,r),ap(i,r,e)}o!=null&&Ts(e,r)}function Gp(){let t=ce(),n=Ee(),e=Tp(n);return t.firstCreatePass&&Op(t,e),qf(e)&&Yf(),Gf(),e.classesWithoutHost!=null&&hT(e)&&Jh(t,e,C(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&pT(e)&&Jh(t,e,C(),e.stylesWithoutHost,!1),Gp}function Ol(t,n,e,r){return cl(t,n,e,r),Gp(),Ol}function to(t,n,e,r){let o=C(),i=o[A],s=t+le,a=i.firstCreatePass?Lx(s,i,2,n,e,r):i.data[s];return Mp(a,o,t,n,WD),r!=null&&Ts(o,a),to}function no(){let t=Ee(),n=Tp(t);return qf(n)&&Yf(),Gf(),no}function yn(t,n,e,r){return to(t,n,e,r),no(),yn}var WD=(t,n,e,r,o)=>(ls(!0),A_(n[ie],r,nh()));function Wp(t,n,e){let r=C(),o=r[A],i=t+le,s=o.firstCreatePass?Np(i,r,8,"ng-container",Sp,Rc(),n,e):o.data[i];if(Mp(s,r,t,"ng-container",VA),Vo(s)){let a=r[A];Dl(a,r,s),ap(a,s,r)}return e!=null&&Ts(r,s),Wp}function qp(){let t=ce(),n=Ee(),e=Tp(n);return t.firstCreatePass&&Op(t,e),qp}function qD(t,n,e){return Wp(t,n,e),qp(),qD}var VA=(t,n,e,r,o)=>(ls(!0),i0(n[ie],""));function BA(){return C()}function YD(t,n,e){let r=C(),o=On();if(rt(r,o,n)){let i=ce(),s=Ho();Q_(s,r,t,n,r[ie],e)}return YD}var fs=void 0;function UA(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var HA=["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"]],fs,[["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"]],fs,[["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}",fs,fs,fs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",UA],ph=Object.create(null);function pt(t){let n=$A(t),e=$b(n);if(e)return e;let r=n.split("-")[0];if(e=$b(r),e)return e;if(r==="en")return HA;throw new b(701,!1)}function $b(t){if(!(t in ph)){let n=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t];return n!==void 0&&(ph[t]=n),n}return ph[t]}var _e=(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})(_e||{});function $A(t){return t.toLowerCase().replace(/_/g,"-")}var ks="en-US";var zA=ks;function ZD(t){typeof t=="string"&&(zA=t.toLowerCase().replace(/_/g,"-"))}function Zt(t,n,e){let r=C(),o=ce(),i=Ee();return QD(o,r,r[ie],i,t,n,e),Zt}function KD(t,n,e){let r=C(),o=ce(),i=Ee();return(i.type&3||e)&&DD(i,o,r,e,r[ie],t,n,Wc(i,r,n)),KD}function QD(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Wc(r,n,i),DD(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??=Wc(r,n,i),kb(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=Wc(r,n,i),kb(r,n,d,o,o,c)}}function GA(t=1){return eb(t)}function WA(t,n){let e=null,r=y0(t);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){e=o;continue}if(r===null?j_(t,i,!0):D0(r,i))return o}return e}function ro(t){let n=C()[We][Qe];if(!n.projection){let e=t?t.length:1,r=n.projection=My(e,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=t?WA(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Vn(t,n=0,e,r,o,i){let s=C(),a=ce(),c=r?t+1:null;c!==null&&Qo(s,a,c,r,o,i,null,e);let l=ei(a,le+t,16,null,e||null);l.projection===null&&(l.projection=n),Qf();let d=!s[Hr]||Wf();s[We][Qe].projection[l.projection]===null&&c!==null?qA(s,a,c):d&&!hl(l)&&z0(a,s,l)}function qA(t,n,e){let r=le+e,o=n.data[r],i=t[r],s=Jc(i,o.tView.ssrId),a=xs(t,o,void 0,{dehydratedView:s});As(i,a,0,Ko(o,s))}function kl(t,n,e,r){return xD(t,n,e,r),kl}function Fl(t,n,e){return TD(t,n,e),Fl}function Fs(t){let n=C(),e=ce(),r=Oc();cs(r+1);let o=Pp(e,r);if(t.dirty&&Fy(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=RD(n,r);t.reset(i,u_),t.notifyOnChanges()}return!0}return!1}function Ps(){return Fp(C(),Oc())}function XD(t,n,e,r,o){return OD(n,xD(t,e,r,o)),XD}function JD(t,n,e,r){return OD(t,TD(n,e,r)),JD}function YA(t=1){cs(Oc()+t)}function ZA(t){let n=Gy();return is(n,le+t)}function Uc(t,n){return t<<17|n<<2}function Xr(t){return t>>17&32767}function KA(t){return(t&2)==2}function QA(t,n){return t&131071|n<<17}function ep(t){return t|2}function Xo(t){return(t&131068)>>2}function mh(t,n){return t&-131069|n<<2}function XA(t){return(t&1)===1}function tp(t){return t|1}function JA(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Xr(s),c=Xo(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||Fo(d,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let h=Xr(t[a+1]);t[r+1]=Uc(h,a),h!==0&&(t[h+1]=mh(t[h+1],r)),t[a+1]=QA(t[a+1],r)}else t[r+1]=Uc(a,0),a!==0&&(t[a+1]=mh(t[a+1],r)),a=r;else t[r+1]=Uc(c,0),a===0?a=r:t[c+1]=mh(t[c+1],r),c=r;l&&(t[r+1]=ep(t[r+1])),zb(t,u,r,!0),zb(t,u,r,!1),eR(n,u,t,r,i),s=Uc(a,c),i?n.classBindings=s:n.styleBindings=s}function eR(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&Fo(i,n)>=0&&(e[r+1]=tp(e[r+1]))}function zb(t,n,e,r){let o=t[e+1],i=n===null,s=r?Xr(o):Xo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];tR(c,n)&&(a=!0,t[s+1]=r?tp(l):ep(l)),s=r?Xr(l):Xo(l)}a&&(t[e+1]=r?ep(o):tp(o))}function tR(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Fo(t,n)>=0:!1}var $t={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nR(t){return t.substring($t.key,$t.keyEnd)}function rR(t){return oR(t),eE(t,tE(t,0,$t.textEnd))}function eE(t,n){let e=$t.textEnd;return e===n?-1:(n=$t.keyEnd=iR(t,$t.key=n,e),tE(t,n,e))}function oR(t){$t.key=0,$t.keyEnd=0,$t.value=0,$t.valueEnd=0,$t.textEnd=t.length}function tE(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function iR(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function Pl(t,n,e){return nE(t,n,e,!1),Pl}function Xe(t,n){return nE(t,n,null,!0),Xe}function Yp(t){aR(hR,sR,t,!0)}function sR(t,n){for(let e=rR(n);e>=0;e=eE(n,e))Ic(t,nR(n),!0)}function nE(t,n,e,r){let o=C(),i=ce(),s=as(2);if(i.firstUpdatePass&&oE(i,t,s,r),n!==Ve&&rt(o,s,n)){let a=i.data[Ut()];iE(i,a,o,o[ie],t,o[s+1]=mR(n,e),r,s)}}function aR(t,n,e,r){let o=ce(),i=as(2);o.firstUpdatePass&&oE(o,null,i,r);let s=C();if(e!==Ve&&rt(s,i,e)){let a=o.data[Ut()];if(sE(a,r)&&!rE(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=bc(c,e||"")),Jh(o,a,s,e,r)}else pR(o,a,s,s[ie],s[i+1],s[i+1]=fR(t,n,e),r,i)}}function rE(t,n){return n>=t.expandoStartIndex}function oE(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[Ut()],s=rE(t,e);sE(i,r)&&n===null&&!s&&(n=!1),n=cR(o,i,n,r),JA(o,i,n,e,s,r)}}function cR(t,n,e,r){let o=Ky(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=gh(null,t,n,e,r),e=Es(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=gh(o,t,n,e,r),i===null){let c=lR(t,n,r);c!==void 0&&Array.isArray(c)&&(c=gh(null,t,n,c[1],r),c=Es(c,n.attrs,r),uR(t,n,r,c))}else i=dR(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function lR(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Xo(r)!==0)return t[Xr(r)]}function uR(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[Xr(o)]=r}function dR(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=Es(r,s,e)}return Es(r,n.attrs,e)}function gh(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=Es(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function Es(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]),Ic(t,s,e?!0:n[++i]))}return t===void 0?null:t}function fR(t,n,e){if(e==null||e==="")return Ge;let r=[],o=ft(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 hR(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&Ic(t,r,e)}function pR(t,n,e,r,o,i,s,a){o===Ve&&(o=Ge);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&&iE(t,n,e,r,m,_,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function iE(t,n,e,r,o,i,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=XA(l)?Gb(c,n,e,o,Xo(l),s):void 0;if(!ll(u)){ll(i)||KA(l)&&(i=Gb(c,null,e,o,a,s));let d=jf(Ut(),e);W0(r,s,d,o,i)}}function Gb(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===Ve&&(h=d?Ge:void 0);let p=d?Sc(h,r):u===r?h:void 0;if(l&&!ll(p)&&(p=Sc(c,r)),ll(p)&&(a=p,s))return a;let m=t[o+1];o=s?Xr(m):Xo(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Sc(c,r))}return a}function ll(t){return t!==void 0}function mR(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Xi(ft(t)))),t}function sE(t,n){return(t.flags&(n?8:16))!==0}function gR(t,n=""){let e=C(),r=ce(),o=t+le,i=r.firstCreatePass?ei(r,o,1,n,null):r.data[o],s=vR(r,e,i,n);e[o]=s,Pc()&&Cp(r,e,s,i),Uo(i,!1)}var vR=(t,n,e,r)=>(ls(!0),r0(n[ie],r));function aE(t,n,e,r=""){return rt(t,On(),e)?n+dn(e)+r:Ve}function yR(t,n,e,r,o,i=""){let s=Jf(),a=_s(t,s,e,o);return as(2),a?n+dn(e)+r+dn(o)+i:Ve}function bR(t,n,e,r,o,i,s,a=""){let c=Jf(),l=_D(t,c,e,o,s);return as(3),l?n+dn(e)+r+dn(o)+i+dn(s)+a:Ve}function cE(t){return Zp("",t),cE}function Zp(t,n,e){let r=C(),o=aE(r,t,n,e);return o!==Ve&&Kp(r,Ut(),o),Zp}function lE(t,n,e,r,o){let i=C(),s=yR(i,t,n,e,r,o);return s!==Ve&&Kp(i,Ut(),s),lE}function uE(t,n,e,r,o,i,s){let a=C(),c=bR(a,t,n,e,r,o,i,s);return c!==Ve&&Kp(a,Ut(),c),uE}function Kp(t,n,e){let r=jf(n,t);o0(t[ie],r,e)}function dE(t,n,e){Bp(n)&&(n=n());let r=C(),o=On();if(rt(r,o,n)){let i=ce(),s=Ho();K_(s,r,t,n,r[ie],e)}return dE}function _R(t,n){let e=Bp(t);return e&&t.set(n),e}function fE(t,n){let e=C(),r=ce(),o=Ee();return QD(r,e,e[ie],o,t,n),fE}function DR(t,n,e=""){return aE(C(),t,n,e)}function ER(t,n,e){let r=pn()+t,o=C();return o[r]===Ve?ti(o,r,n(e,o)):bD(o,r)}function Wb(t,n,e){let r=ce();r.firstCreatePass&&hE(n,r.data,r.blueprint,Bt(t),e)}function hE(t,n,e,r,o){if(t=Me(t),Array.isArray(t))for(let i=0;i<t.length;i++)hE(t[i],n,e,r,o);else{let i=ce(),s=C(),a=Ee(),c=jr(t)?t:Me(t.provide),l=Rf(t),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(jr(t)||!t.multi){let p=new Kr(l,o,D,null),m=yh(c,n,o?u:u+h,d);m===-1?(_h(Qc(a,s),i,c),vh(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=yh(c,n,u+h,d),m=yh(c,n,u,u+h),_=p>=0&&e[p],E=m>=0&&e[m];if(o&&!E||!o&&!_){_h(Qc(a,s),i,c);let I=IR(o?CR:wR,e.length,o,r,l,t);!o&&E&&(e[m].providerFactory=I),vh(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(I),s.push(I)}else{let I=pE(e[o?m:p],l,!o&&r);vh(i,t,p>-1?p:m,I)}!o&&r&&E&&e[m].componentProviders++}}}function vh(t,n,e,r){let o=jr(n),i=Ny(n);if(o||i){let c=(i?Me(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 pE(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function yh(t,n,e,r){for(let o=e;o<r;o++)if(n[o]===t)return o;return-1}function wR(t,n,e,r,o){return np(this.multi,[])}function CR(t,n,e,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=gs(r,r[A],this.providerFactory.index,o);s=c.slice(0,a),np(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],np(i,s);return s}function np(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function IR(t,n,e,r,o,i){let s=new Kr(t,e,D,null);return s.multi=[],s.index=n,s.componentProviders=0,pE(s,o,r&&!e),s}function we(t,n){return e=>{e.providersResolver=(r,o)=>Wb(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>Wb(r,o?o(n):n,!0))}}function SR(t,n){let e=pn()+t,r=C();return r[e]===Ve?ti(r,e,n()):bD(r,e)}function MR(t,n,e){return mE(C(),pn(),t,n,e)}function TR(t,n,e,r){return gE(C(),pn(),t,n,e,r)}function xR(t,n,e,r,o){return vE(C(),pn(),t,n,e,r,o)}function AR(t,n,e,r,o,i,s){return RR(C(),pn(),t,n,e,r,o,i)}function Ll(t,n){let e=t[n];return e===Ve?void 0:e}function mE(t,n,e,r,o,i){let s=n+e;return rt(t,s,o)?ti(t,s+1,i?r.call(i,o):r(o)):Ll(t,s+1)}function gE(t,n,e,r,o,i,s){let a=n+e;return _s(t,a,o,i)?ti(t,a+2,s?r.call(s,o,i):r(o,i)):Ll(t,a+2)}function vE(t,n,e,r,o,i,s,a){let c=n+e;return _D(t,c,o,i,s)?ti(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ll(t,c+3)}function RR(t,n,e,r,o,i,s,a,c){let l=n+e;return jx(t,l,o,i,s,a)?ti(t,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ll(t,l+4)}function NR(t,n){let e=ce(),r,o=t+le;e.firstCreatePass?(r=OR(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=rr(r.type,!0)),s,a=Ke(D);try{let c=Kc(!1),l=i();return Kc(c),Vf(e,C(),o,l),l}finally{Ke(a)}}function OR(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function kR(t,n,e){let r=t+le,o=C(),i=is(o,r);return Qp(o,r)?mE(o,pn(),n,i.transform,e,i):i.transform(e)}function FR(t,n,e,r){let o=t+le,i=C(),s=is(i,o);return Qp(i,o)?gE(i,pn(),n,s.transform,e,r,s):s.transform(e,r)}function PR(t,n,e,r,o){let i=t+le,s=C(),a=is(s,i);return Qp(s,i)?vE(s,pn(),n,a.transform,e,r,o,a):a.transform(e,r,o)}function Qp(t,n){return t[A].data[n].pure}function LR(t,n){return wl(t,n)}var ul=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Xp=(()=>{class t{compileModuleSync(e){return new il(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),o=wf(e),i=P_(o.declarations).reduce((s,a)=>{let c=un(a);return c&&s.push(new fr(c)),s},[]);return new ul(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 yE=(()=>{class t{applicationErrorHandler=f(ut);appRef=f(Be);taskService=f(kn);ngZone=f(j);zonelessEnabled=f(ds);tracing=f(Wt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ki):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(ah,{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?sb:oh;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(Ki+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 jR(){return qt("NgZoneless"),sr([...Jp(),[]])}function Jp(){return[{provide:ln,useExisting:yE},{provide:j,useClass:Qi},{provide:ds,useValue:!0}]}function VR(){return typeof $localize<"u"&&$localize.locale||ks}var Ls=new y("",{factory:()=>f(Ls,{optional:!0,skipSelf:!0})||VR()});var js=class{destroyed=!1;listeners=null;errorHandler=f(_t,{optional:!0});destroyRef=f(Ae);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(Dt(953,!1));return}if(this.listeners===null)return;let e=x(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{x(e)}}};function q(t){return my(t)}function Kt(t,n){return zi(t,n?.equal)}var BR=t=>t;function em(t,n){if(typeof t=="function"){let e=of(t,BR,n?.equal);return bE(e,n?.debugName)}else{let e=of(t.source,t.computation,t.equal);return bE(e,t.debugName)}}function bE(t,n){let e=t[pe],r=t;return r.set=o=>hy(e,o),r.update=o=>py(e,o),r.asReadonly=us.bind(t),r}var Ul=Symbol("InputSignalNode#UNSET"),xE=F(g({},Gi),{transformFn:void 0,applyValueToInputSignal(t,n){nr(t,n)}});function AE(t,n){let e=Object.create(xE);e.value=t,e.transformFn=n?.transform;function r(){if(Mn(e),e.value===Ul){let o=null;throw new b(-950,o)}return e.value}return r[pe]=e,r}var Vl=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Cs(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Zq=(()=>{let t=new y("");return t.__NG_ELEMENT_ID__=n=>{let e=Ee();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 Kq(t){return new js}function _E(t,n){return AE(t,n)}function QR(t){return AE(Ul,t)}var RE=(_E.required=QR,_E);function DE(t,n){return jp(n)}function XR(t,n){return Vp(n)}var Qq=(DE.required=XR,DE);function Xq(t,n){return ND(n)}function EE(t,n){return jp(n)}function JR(t,n){return Vp(n)}var Jq=(EE.required=JR,EE);function NE(t,n){let e=Object.create(xE),r=new js;e.value=t;function o(){return Mn(e),wE(e.value),e.value}return o[pe]=e,o.asReadonly=us.bind(o),o.set=i=>{e.equal(e.value,i)||(nr(e,i),r.emit(i))},o.update=i=>{wE(e.value),o.set(i(e.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function wE(t){if(t===Ul)throw new b(952,!1)}function CE(t,n){return NE(t,n)}function eN(t){return NE(Ul,t)}var e5=(CE.required=eN,CE);var nm=new y(""),tN=new y("");function Vs(t){return!t.moduleRef}function nN(t){let n=Vs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(j);return e.run(()=>{Vs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(ut),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),Vs(t)){let i=()=>n.destroy(),s=t.platformInjector.get(nm);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(nm);s.add(i),t.moduleRef.onDestroy(()=>{ms(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return oN(r,e,()=>{let i=n.get(kn),s=i.add(),a=n.get($p);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ls,ks);if(ZD(c||ks),!n.get(tN,!0))return Vs(t)?n.get(Be):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Vs(t)){let u=n.get(Be);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return rN?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var rN;function oN(t,n,e){try{let r=e();return jn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var jl=null;function iN(t=[],n){return $.create({name:n,providers:[{provide:rs,useValue:"platform"},{provide:nm,useValue:new Set([()=>jl=null])},...t]})}function sN(t=[]){if(jl)return jl;let n=iN(t);return jl=n,HD(),aN(n),n}function aN(t){let n=t.get(dl,null);xe(t,()=>{n?.forEach(e=>e())})}var cN=1e4;var t5=cN-1e3;var St=(()=>{class t{static __NG_ELEMENT_ID__=lN}return t})();function lN(t){return uN(Ee(),C(),(t&16)===16)}function uN(t,n,e){if(hn(t)&&!e){let r=It(t.index,n);return new dr(r,r)}else if(t.type&175){let r=n[We];return new dr(r,n)}return null}var rm=class{supports(n){return kp(n)}create(n){return new om(n)}},dN=(t,n)=>n,om=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||dN}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<IE(r,o,i)?e:r,a=IE(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=[]),!kp(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,yD(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 im(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 Bl),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 Bl),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}},im=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}},sm=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}},Bl=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new sm,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 IE(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 am=class{supports(n){return n instanceof Map||Il(n)}create(){return new cm}},cm=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||Il(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 lm(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))}},lm=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function SE(){return new Hl([new rm])}var Hl=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:SE});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||SE())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new b(901,!1)}}return t})();function ME(){return new fm([new am])}var fm=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:ME});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||ME())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r)return r;throw new b(901,!1)}}return t})();var OE=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(w(Be))};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function kE(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;oe(K.BootstrapApplicationStart);try{let i=o?.injector??sN(r),s=[Jp(),cb,...e||[]],a=new Ds({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return nN({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{oe(K.BootstrapApplicationEnd)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function hm(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var tm=Symbol("NOT_SET"),FE=new Set,fN=F(g({},Gi),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:tm,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!==tm&&!Ro(this))return this.signal;try{for(let o of this.cleanup??FE)o()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Tn(this),r;try{r=this.userFn.apply(null,n)}finally{er(this,e)}return(this.value===tm||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),um=class extends vs{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(Ae),s),this.scheduler=o;for(let a of Dp){let c=e[a];if(c===void 0)continue;let l=Object.create(fN);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Mn(l),l.value),l.signal[pe]=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??FE)e()}finally{tr(n)}}};function n5(t,n){let e=n?.injector??f($),r=e.get(ln),o=e.get(yl),i=e.get(Wt,null,{optional:!0});o.impl??=e.get(Ep);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get($o,null,{optional:!0}),c=new um(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function $l(t,n){let e=un(t),r=n.elementInjector||Po();return new fr(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function PE(t){let n=un(t);if(!n)return null;let e=new fr(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 LE=null;function mt(){return LE}function pm(t){LE??=t}var Bs=class{},Bn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(jE),providedIn:"platform"})}return t})(),mm=new y(""),jE=(()=>{class t extends Bn{_location;_history;_doc=f(L);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mt().getBaseHref(this._doc)}onPopState(e){let r=mt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=mt().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 zl(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function VE(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Qt(t){return t&&t[0]!=="?"?`?${t}`:t}var Xt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(Wl),providedIn:"root"})}return t})(),Gl=new y(""),Wl=(()=>{class t extends Xt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(L).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 zl(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Qt(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Qt(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(Bn),w(Gl,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var bn=(()=>{class t{_subject=new S;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=mN(VE(BE(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+Qt(r))}normalize(e){return t.stripTrailingSlash(pN(this._basePath,BE(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+Qt(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qt(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=Qt;static joinWithSlash=zl;static stripTrailingSlash=VE;static \u0275fac=function(r){return new(r||t)(w(Xt))};static \u0275prov=v({token:t,factory:()=>hN(),providedIn:"root"})}return t})();function hN(){return new bn(w(Xt))}function pN(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function BE(t){return t.replace(/\/index\.html$/,"")}function mN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Em=(()=>{class t extends Xt{_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=zl(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Qt(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Qt(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(Bn),w(Gl,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Ye=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Ye||{}),ae=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(ae||{}),it=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(it||{}),Hn={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 GE(t){return pt(t)[_e.LocaleId]}function WE(t,n,e){let r=pt(t),o=[r[_e.DayPeriodsFormat],r[_e.DayPeriodsStandalone]],i=Mt(o,n);return Mt(i,e)}function qE(t,n,e){let r=pt(t),o=[r[_e.DaysFormat],r[_e.DaysStandalone]],i=Mt(o,n);return Mt(i,e)}function YE(t,n,e){let r=pt(t),o=[r[_e.MonthsFormat],r[_e.MonthsStandalone]],i=Mt(o,n);return Mt(i,e)}function ZE(t,n){let r=pt(t)[_e.Eras];return Mt(r,n)}function Us(t,n){let e=pt(t);return Mt(e[_e.DateFormat],n)}function Hs(t,n){let e=pt(t);return Mt(e[_e.TimeFormat],n)}function $s(t,n){let r=pt(t)[_e.DateTimeFormat];return Mt(r,n)}function zs(t,n){let e=pt(t),r=e[_e.NumberSymbols][n];if(typeof r>"u"){if(n===Hn.CurrencyDecimal)return e[_e.NumberSymbols][Hn.Decimal];if(n===Hn.CurrencyGroup)return e[_e.NumberSymbols][Hn.Group]}return r}function KE(t){if(!t[_e.ExtraData])throw new b(2303,!1)}function QE(t){let n=pt(t);return KE(n),(n[_e.ExtraData][2]||[]).map(r=>typeof r=="string"?gm(r):[gm(r[0]),gm(r[1])])}function XE(t,n,e){let r=pt(t);KE(r);let o=[r[_e.ExtraData][0],r[_e.ExtraData][1]],i=Mt(o,n)||[];return Mt(i,e)||[]}function Mt(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new b(2304,!1)}function gm(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var gN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ql={},vN=/((?:[^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]*)/,yN=256;function JE(t,n,e,r){let o=TN(t);bN(n),n=Un(e,n)||n;let s=[],a;for(;n;)if(a=vN.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=tw(r,c),o=MN(o,r));let l="";return s.forEach(u=>{let d=IN(u);l+=d?d(o,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function bN(t){if(t.length>yN)throw new b(2300,!1)}function Xl(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function Un(t,n){let e=GE(t);if(ql[e]??={},ql[e][n])return ql[e][n];let r="";switch(n){case"shortDate":r=Us(t,it.Short);break;case"mediumDate":r=Us(t,it.Medium);break;case"longDate":r=Us(t,it.Long);break;case"fullDate":r=Us(t,it.Full);break;case"shortTime":r=Hs(t,it.Short);break;case"mediumTime":r=Hs(t,it.Medium);break;case"longTime":r=Hs(t,it.Long);break;case"fullTime":r=Hs(t,it.Full);break;case"short":let o=Un(t,"shortTime"),i=Un(t,"shortDate");r=Yl($s(t,it.Short),[o,i]);break;case"medium":let s=Un(t,"mediumTime"),a=Un(t,"mediumDate");r=Yl($s(t,it.Medium),[s,a]);break;case"long":let c=Un(t,"longTime"),l=Un(t,"longDate");r=Yl($s(t,it.Long),[c,l]);break;case"full":let u=Un(t,"fullTime"),d=Un(t,"fullDate");r=Yl($s(t,it.Full),[u,d]);break}return r&&(ql[e][n]=r),r}function Yl(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function Jt(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 _N(t,n){return Jt(t,3).substring(0,n)}function Ce(t,n,e=0,r=!1,o=!1){return function(i,s){let a=DN(t,i);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return _N(a,n);let c=zs(s,Hn.MinusSign);return Jt(a,n,c,r,o)}}function DN(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 de(t,n,e=Ye.Format,r=!1){return function(o,i){return EN(o,i,t,n,e,r)}}function EN(t,n,e,r,o,i){switch(e){case 2:return YE(n,o,r)[t.getMonth()];case 1:return qE(n,o,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(i){let l=QE(n),u=XE(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,_=s>=p.hours&&a>=p.minutes,E=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(_&&E)return!0}else if(_||E)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return WE(n,o,r)[s<12?0:1];case 3:return ZE(n,r)[t.getFullYear()<=0?0:1];default:let c=e;throw new b(2302,!1)}}function Zl(t){return function(n,e,r){let o=-1*r,i=zs(e,Hn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case 0:return(o>=0?"+":"")+Jt(s,2,i)+Jt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Jt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Jt(s,2,i)+":"+Jt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Jt(s,2,i)+":"+Jt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var wN=0,Ql=4;function CN(t){let n=Xl(t,wN,1).getDay();return Xl(t,0,1+(n<=Ql?Ql:Ql+7)-n)}function ew(t){let n=t.getDay(),e=n===0?-3:Ql-n;return Xl(t.getFullYear(),t.getMonth(),t.getDate()+e)}function vm(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=ew(e),s=CN(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Jt(o,t,zs(r,Hn.MinusSign))}}function Kl(t,n=!1){return function(e,r){let i=ew(e).getFullYear();return Jt(i,t,zs(r,Hn.MinusSign),n)}}var ym={};function IN(t){if(ym[t])return ym[t];let n;switch(t){case"G":case"GG":case"GGG":n=de(3,ae.Abbreviated);break;case"GGGG":n=de(3,ae.Wide);break;case"GGGGG":n=de(3,ae.Narrow);break;case"y":n=Ce(0,1,0,!1,!0);break;case"yy":n=Ce(0,2,0,!0,!0);break;case"yyy":n=Ce(0,3,0,!1,!0);break;case"yyyy":n=Ce(0,4,0,!1,!0);break;case"Y":n=Kl(1);break;case"YY":n=Kl(2,!0);break;case"YYY":n=Kl(3);break;case"YYYY":n=Kl(4);break;case"M":case"L":n=Ce(1,1,1);break;case"MM":case"LL":n=Ce(1,2,1);break;case"MMM":n=de(2,ae.Abbreviated);break;case"MMMM":n=de(2,ae.Wide);break;case"MMMMM":n=de(2,ae.Narrow);break;case"LLL":n=de(2,ae.Abbreviated,Ye.Standalone);break;case"LLLL":n=de(2,ae.Wide,Ye.Standalone);break;case"LLLLL":n=de(2,ae.Narrow,Ye.Standalone);break;case"w":n=vm(1);break;case"ww":n=vm(2);break;case"W":n=vm(1,!0);break;case"d":n=Ce(2,1);break;case"dd":n=Ce(2,2);break;case"c":case"cc":n=Ce(7,1);break;case"ccc":n=de(1,ae.Abbreviated,Ye.Standalone);break;case"cccc":n=de(1,ae.Wide,Ye.Standalone);break;case"ccccc":n=de(1,ae.Narrow,Ye.Standalone);break;case"cccccc":n=de(1,ae.Short,Ye.Standalone);break;case"E":case"EE":case"EEE":n=de(1,ae.Abbreviated);break;case"EEEE":n=de(1,ae.Wide);break;case"EEEEE":n=de(1,ae.Narrow);break;case"EEEEEE":n=de(1,ae.Short);break;case"a":case"aa":case"aaa":n=de(0,ae.Abbreviated);break;case"aaaa":n=de(0,ae.Wide);break;case"aaaaa":n=de(0,ae.Narrow);break;case"b":case"bb":case"bbb":n=de(0,ae.Abbreviated,Ye.Standalone,!0);break;case"bbbb":n=de(0,ae.Wide,Ye.Standalone,!0);break;case"bbbbb":n=de(0,ae.Narrow,Ye.Standalone,!0);break;case"B":case"BB":case"BBB":n=de(0,ae.Abbreviated,Ye.Format,!0);break;case"BBBB":n=de(0,ae.Wide,Ye.Format,!0);break;case"BBBBB":n=de(0,ae.Narrow,Ye.Format,!0);break;case"h":n=Ce(3,1,-12);break;case"hh":n=Ce(3,2,-12);break;case"H":n=Ce(3,1);break;case"HH":n=Ce(3,2);break;case"m":n=Ce(4,1);break;case"mm":n=Ce(4,2);break;case"s":n=Ce(5,1);break;case"ss":n=Ce(5,2);break;case"S":n=Ce(6,1);break;case"SS":n=Ce(6,2);break;case"SSS":n=Ce(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Zl(0);break;case"ZZZZZ":n=Zl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Zl(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Zl(2);break;default:return null}return ym[t]=n,n}function tw(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function SN(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function MN(t,n,e){let o=t.getTimezoneOffset(),i=tw(n,o);return SN(t,-1*(i-o))}function TN(t){if(UE(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 Xl(o,i-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(gN))return xN(r)}let n=new Date(t);if(!UE(n))throw new b(2311,!1);return n}function xN(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 UE(t){return t instanceof Date&&!isNaN(t.valueOf())}var bm=/\s+/,HE=[],AN=(()=>{class t{_ngEl;_renderer;initialClasses=HE;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(bm):HE}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(bm):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(bm).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)(D(z),D(Oe))};static \u0275dir=M({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Jl=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}},nw=(()=>{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 Jl(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),$E(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);$E(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(D(qe),D(dt),D(Hl))};static \u0275dir=M({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function $E(t,n){t.context.$implicit=n.item}var RN=(()=>{class t{_viewContainer;_context=new eu;_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){zE(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){zE(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)(D(qe),D(dt))};static \u0275dir=M({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),eu=class{$implicit=null;ngIf=null};function zE(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var NN=(()=>{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:Gt.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)(D(z),D(fm),D(Oe))};static \u0275dir=M({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),ON=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f($);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)(D(qe))};static \u0275dir=M({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Re]})}return t})();function wm(t,n){return new b(2100,!1)}var _m=class{createSubscription(n,e,r){return q(()=>n.subscribe({next:e,error:r}))}dispose(n){q(()=>n.unsubscribe())}},Dm=class{createSubscription(n,e,r){return n.then(o=>e?.(o),o=>r?.(o)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},kN=new Dm,FN=new _m,PN=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(ut);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(jn(e))return kN;if(Al(e))return FN;throw wm(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)(D(St,16))};static \u0275pipe=Ns({name:"async",type:t,pure:!1})}return t})();var LN=/(?:[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,jN=(()=>{class t{transform(e){return e==null?null:(VN(t,e),e.replace(LN,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=Ns({name:"titlecase",type:t,pure:!0})}return t})();function VN(t,n){if(typeof n!="string")throw wm(t,n)}var BN="mediumDate",rw=new y(""),ow=new y(""),UN=(()=>{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??BN,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return JE(e,s,i||this.locale,a)}catch(s){throw wm(t,s.message)}}static \u0275fac=function(r){return new(r||t)(D(Ls,16),D(rw,24),D(ow,24))};static \u0275pipe=Ns({name:"date",type:t,pure:!0})}return t})();var Cm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function Gs(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 oo=class{};var Sm="browser";function iw(t){return t===Sm}var Mm=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Im(f(L),window)})}return t})(),Im=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=HN(this.document,n);r&&(this.scrollToElement(r,e),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Dt(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 HN(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 Ws=class{_doc;constructor(n){this._doc=n}manager},tu=(()=>{class t extends Ws{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(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ou=new y(""),Rm=(()=>{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 tu));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof tu);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(ou),w(j))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Tm="ng-app-id";function sw(t){for(let n of t)n.remove()}function aw(t,n){let e=n.createElement("style");return e.textContent=t,e}function zN(t,n,e,r){let o=t.head?.querySelectorAll(`style[${Tm}="${n}"],link[${Tm}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Tm),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 Am(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Nm=(()=>{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,zN(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,aw);r?.forEach(o=>this.addUsage(o,this.external,Am))}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,aw(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,Am(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(L),w(hr),w(eo,8),w(Jr))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),xm={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"},Om=/%COMP%/g;var lw="%COMP%",GN=`_nghost-${lw}`,WN=`_ngcontent-${lw}`,qN=!0,YN=new y("",{factory:()=>qN});function ZN(t){return WN.replace(Om,t)}function KN(t){return GN.replace(Om,t)}function uw(t,n){return n.map(e=>e.replace(Om,t))}var km=(()=>{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 qs(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof ru?o.applyToHost(e):o instanceof Ys&&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 zt.Emulated:i=new ru(c,l,r,this.appId,u,s,a,d);break;case zt.ShadowDom:return new nu(c,e,r,s,a,this.nonce,d,l);case zt.ExperimentalIsolatedShadowDom:return new nu(c,e,r,s,a,this.nonce,d);default:i=new Ys(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(Rm),w(Nm),w(hr),w(YN),w(L),w(j),w(eo),w(Wt,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),qs=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(xm[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(cw(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(cw(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=xm[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=xm[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&(Gt.DashCase|Gt.Important)?n.style.setProperty(e,r,o&Gt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Gt.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=mt().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 cw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var nu=class extends qs{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=uw(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=Am(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)}},Ys=class extends qs{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?uw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Qr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ru=class extends Ys{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=ZN(l),this.hostAttr=KN(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 iu=class t extends Bs{supportsDOMEvents=!0;static makeCurrent(){pm(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=QN();return e==null?null:XN(e)}resetBaseElement(){Zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Gs(document.cookie,n)}},Zs=null;function QN(){return Zs=Zs||document.head.querySelector("base"),Zs?Zs.getAttribute("href"):null}function XN(t){return new URL(t,document.baseURI).pathname}var su=class{addToWindow(n){ye.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new b(5103,!1);return i},ye.getAllAngularTestabilities=()=>n.getAllTestabilities(),ye.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let o=ye.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let o=n.getTestability(e);return o??(r?mt().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},JN=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),dw=["alt","control","meta","shift"],eO={"\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"},tO={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},fw=(()=>{class t extends Ws{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(()=>mt().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."),dw.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=eO[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"),dw.forEach(s=>{if(s!==o){let a=tO[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(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();async function nO(t,n,e){let r=g({rootComponent:t},rO(n,e));return kE(r)}function rO(t,n){return{platformRef:n?.platformRef,appProviders:[...hw,...t?.providers??[]],platformProviders:aO}}function oO(){iu.makeCurrent()}function iO(){return new _t}function sO(){return ip(document),document}var aO=[{provide:Jr,useValue:Sm},{provide:dl,useValue:oO,multi:!0},{provide:L,useFactory:sO}];var cO=[{provide:xl,useClass:su},{provide:Tl,useClass:Os},{provide:Os,useClass:Os}],hw=[{provide:rs,useValue:"root"},{provide:_t,useFactory:iO},{provide:ou,useClass:tu,multi:!0},{provide:ou,useClass:fw,multi:!0},km,Nm,Rm,{provide:je,useExisting:km},{provide:oo,useClass:JN},[]],lO=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[...hw,...cO],imports:[Cm,OE]})}return t})();var _n=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(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let 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):void 0)||[];o.push(...r),this.headers.set(e,o);break;case"d":let i=n.value;if(!i)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}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 cu=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()}},lu=class{encodeKey(n){return pw(n)}encodeValue(n){return pw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function uO(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 dO=/%(\d[a-f0-9])/gi,fO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function pw(t){return encodeURIComponent(t).replace(dO,(n,e)=>fO[e]??n)}function au(t){return`${t}`}var $n=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new lu,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=uO(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(au):[au(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(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(au(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(au(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 hO(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function mw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function gw(t){return typeof Blob<"u"&&t instanceof Blob}function vw(t){return typeof FormData<"u"&&t instanceof FormData}function pO(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var yw="Content-Type",bw="Accept",Dw="text/plain",Ew="application/json",mO=`${Ew}, ${Dw}, */*`,oi=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(hO(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 _n,this.context??=new cu,!this.params)this.params=new $n,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"||mw(this.body)||gw(this.body)||vw(this.body)||pO(this.body)?this.body:this.body instanceof $n?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||vw(this.body)?null:gw(this.body)?this.body.type||null:mw(this.body)?null:typeof this.body=="string"?Dw:this.body instanceof $n?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ew: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,E=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,ee=n.reportProgress??this.reportProgress,Pe=n.headers||this.headers,Le=n.params||this.params,Ni=n.context??this.context;return n.setHeaders!==void 0&&(Pe=Object.keys(n.setHeaders).reduce((Oi,Er)=>Oi.set(Er,n.setHeaders[Er]),Pe)),n.setParams&&(Le=Object.keys(n.setParams).reduce((Oi,Er)=>Oi.set(Er,n.setParams[Er]),Le)),new t(e,r,E,{params:Le,headers:Pe,context:Ni,reportProgress:ee,responseType:o,withCredentials:I,transferCache:m,keepalive:i,cache:a,priority:s,timeout:_,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},io=(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})(io||{}),si=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new _n,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}},uu=class t extends si{constructor(n={}){super(n)}type=io.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})}},Ks=class t extends si{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=io.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})}},ii=class extends si{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}},gO=200,vO=204;var yO=new y("");var bO=/^\)\]\}',?\n/;var Pm=(()=>{class t{xhrFactory;tracingService=f(Wt,{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 T(null).pipe(He(()=>new O(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((E,I)=>s.setRequestHeader(E,I.join(","))),e.headers.has(bw)||s.setRequestHeader(bw,mO),!e.headers.has(yw)){let E=e.detectContentTypeHeader();E!==null&&s.setRequestHeader(yw,E)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let E=e.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let E=s.statusText||"OK",I=new _n(s.getAllResponseHeaders()),ee=s.responseURL||e.url;return c=new uu({headers:I,status:s.status,statusText:E,url:ee}),c},u=this.maybePropagateTrace(()=>{let{headers:E,status:I,statusText:ee,url:Pe}=l(),Le=null;I!==vO&&(Le=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=Le?gO:0);let Ni=I>=200&&I<300;if(e.responseType==="json"&&typeof Le=="string"){let Oi=Le;Le=Le.replace(bO,"");try{Le=Le!==""?JSON.parse(Le):null}catch(Er){Le=Oi,Ni&&(Ni=!1,Le={error:Er,text:Le})}}Ni?(i.next(new Ks({body:Le,headers:E,status:I,statusText:ee,url:Pe||void 0})),i.complete()):i.error(new ii({error:Le,headers:E,status:I,statusText:ee,url:Pe||void 0}))}),d=this.maybePropagateTrace(E=>{let{url:I}=l(),ee=new ii({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(ee)}),h=d;e.timeout&&(h=this.maybePropagateTrace(E=>{let{url:I}=l(),ee=new ii({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(ee)}));let p=!1,m=this.maybePropagateTrace(E=>{p||(i.next(l()),p=!0);let I={type:io.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),_=this.maybePropagateTrace(E=>{let I={type:io.UploadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),i.next(I)});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:io.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(oo))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ww(t,n){return n(t)}function _O(t,n){return(e,r)=>n.intercept(e,{handle:o=>t(o,r)})}function DO(t,n,e){return(r,o)=>xe(e,()=>n(r,i=>t(i,o)))}var Cw=new y(""),Lm=new y("",{factory:()=>[]}),Iw=new y(""),jm=new y("",{factory:()=>!0});function EO(){let t=null;return(n,e)=>{t===null&&(t=(f(Cw,{optional:!0})??[]).reduceRight(_O,ww));let r=f(zo);if(f(jm)){let i=r.add();return t(n,e).pipe(Rr(i))}else return t(n,e)}}var Vm=(()=>{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(Pm),o},providedIn:"root"})}return t})();var du=(()=>{class t{backend;injector;chain=null;pendingTasks=f(zo);contributeToStability=f(jm);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Lm),...this.injector.get(Iw,[])]));this.chain=r.reduceRight((o,i)=>DO(o,i,this.injector),ww)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Rr(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(w(Vm),w(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bm=(()=>{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(du),o},providedIn:"root"})}return t})();function Fm(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 fu=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof oi)i=e;else{let c;o.headers instanceof _n?c=o.headers:c=new _n(o.headers);let l;o.params&&(o.params instanceof $n?l=o.params:l=new $n({fromObject:o.params})),i=new oi(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=T(i).pipe(Xn(c=>this.handler.handle(c)));if(e instanceof oi||o.observe==="events")return s;let a=s.pipe(fe(c=>c instanceof Ks));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(H(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(H(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 $n().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,Fm(o,r))}post(e,r,o={}){return this.request("POST",e,Fm(o,r))}put(e,r,o={}){return this.request("PUT",e,Fm(o,r))}static \u0275fac=function(r){return new(r||t)(w(Bm))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wO=new y("",{factory:()=>!0}),CO="XSRF-TOKEN",IO=new y("",{factory:()=>CO}),SO="X-XSRF-TOKEN",MO=new y("",{factory:()=>SO}),TO=(()=>{class t{cookieName=f(IO);doc=f(L);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Gs(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})(),Sw=(()=>{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(TO),o},providedIn:"root"})}return t})();function xO(t,n){if(!f(wO)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=f(Bn).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(Sw).getToken(),r=f(MO);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Um=(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})(Um||{});function AO(t,n){return{\u0275kind:t,\u0275providers:n}}function Mw(...t){let n=[fu,du,{provide:Bm,useExisting:du},{provide:Vm,useFactory:()=>f(yO,{optional:!0})??f(Pm)},{provide:Lm,useValue:xO,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return sr(n)}var _w=new y("");function Tw(){return AO(Um.LegacyInterceptors,[{provide:_w,useFactory:EO},{provide:Lm,useExisting:_w,multi:!0}])}var RO=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Mw(Tw())]})}return t})();var xw=(()=>{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(L))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function OO(t,n){if(typeof COMPILED>"u"||!COMPILED){let e=ye.ng=ye.ng||{};e[t]=n}}var Hm=class{msPerTick;numTicks;constructor(n,e){this.msPerTick=n,this.numTicks=e}},$m=class{appRef;constructor(n){this.appRef=n.injector.get(Be)}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 Hm(a,i)}},kO="profiler";function k9(t){return OO(kO,new $m(t)),t}var zm=(()=>{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(FO),o},providedIn:"root"})}return t})(),FO=(()=>{class t extends zm{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ot.NONE:return r;case ot.HTML:return vn(r,"HTML")?ft(r):ml(this._doc,String(r)).toString();case ot.STYLE:return vn(r,"Style")?ft(r):r;case ot.SCRIPT:if(vn(r,"Script"))return ft(r);throw new b(5200,!1);case ot.URL:return vn(r,"URL")?ft(r):Ss(String(r));case ot.RESOURCE_URL:if(vn(r,"ResourceURL"))return ft(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return cp(e)}bypassSecurityTrustStyle(e){return lp(e)}bypassSecurityTrustScript(e){return up(e)}bypassSecurityTrustUrl(e){return dp(e)}bypassSecurityTrustResourceUrl(e){return fp(e)}static \u0275fac=function(r){return new(r||t)(w(L))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Qs(t){return t.buttons===0||t.detail===0}function Xs(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 Gm;function Aw(){if(Gm==null){let t=typeof document<"u"?document.head:null;Gm=!!(t&&(t.createShadowRoot||t.attachShadow))}return Gm}function Wm(t){if(Aw()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function LO(){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 Je(t){return t.composedPath?t.composedPath()[0]:t.target}var qm;try{qm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qm=!1}var he=(()=>{class t{_platformId=f(Jr);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||qm)&&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 Js;function Rw(){if(Js==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Js=!0}))}finally{Js=Js||!1}return Js}function ai(t){return Rw()?t:!!t.capture}function so(t,n=0){return Nw(t)?Number(t):arguments.length===2?n:0}function Nw(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Tt(t){return t instanceof z?t.nativeElement:t}var Ow=new y("cdk-input-modality-detector-options"),kw={ignoreKeys:[18,17,224,91,16]},Fw=650,Ym={passive:!0,capture:!0},Pw=(()=>{class t{_platform=f(he);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ie(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Je(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Fw||(this._modality.next(Qs(e)?"keyboard":"mouse"),this._mostRecentTarget=Je(e))};_onTouchstart=e=>{if(Xs(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Je(e)};constructor(){let e=f(j),r=f(L),o=f(Ow,{optional:!0});if(this._options=g(g({},kw),o),this.modalityDetected=this._modality.pipe(Ui(1)),this.modalityChanged=this.modalityDetected.pipe(xo()),this._platform.isBrowser){let i=f(je).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,Ym),i.listen(r,"mousedown",this._onMousedown,Ym),i.listen(r,"touchstart",this._onTouchstart,Ym)])}}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})(),ea=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(ea||{}),Lw=new y("cdk-focus-monitor-default-options"),hu=ai({passive:!0,capture:!0}),pu=(()=>{class t{_ngZone=f(j);_platform=f(he);_inputModalityDetector=f(Pw);_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(L);_stopInputModalityDetector=new S;constructor(){let e=f(Lw,{optional:!0});this._detectionMode=e?.detectionMode||ea.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Je(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=Tt(e);if(!this._platform.isBrowser||o.nodeType!==1)return T();let i=Wm(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new S,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Tt(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=Tt(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===ea.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===ea.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Fw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,r){let o=this._elementInfo.get(r),i=Je(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,hu),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,hu)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(at(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,hu),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hu),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})(),jO=(()=>{class t{_elementRef=f(z);_focusMonitor=f(pu);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new U;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})();var mu=new WeakMap,xt=(()=>{class t{_appRef;_injector=f($);_environmentInjector=f(re);load(e){let r=this._appRef=this._appRef||this._injector.get(Be),o=mu.get(r);o||(o={loaders:new Set,refs:[]},mu.set(r,o),r.onDestroy(()=>{mu.get(r)?.refs.forEach(i=>i.destroy()),mu.delete(r)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push($l(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 vu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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})(),gu;function VO(){if(gu===void 0&&(gu=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(gu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return gu}function BO(t){return VO()?.createHTML(t)||t}function jw(t,n,e){let r=e.sanitize(ot.HTML,n);t.innerHTML=BO(r||"")}function ao(t){return Array.isArray(t)?t:[t]}var Vw=new Set,co,yu=(()=>{class t{_platform=f(he);_nonce=f(eo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):HO}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&UO(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 UO(t,n){if(!Vw.has(t))try{co||(co=document.createElement("style"),n&&co.setAttribute("nonce",n),co.setAttribute("type","text/css"),document.head.appendChild(co)),co.sheet&&(co.sheet.insertRule(`@media ${t} {body{ }}`,0),Vw.add(t))}catch(e){console.error(e)}}function HO(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Zm=(()=>{class t{_mediaMatcher=f(yu);_zone=f(j);_queries=new Map;_destroySubject=new S;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Bw(ao(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Bw(ao(e)).map(s=>this._registerQuery(s).observable),i=To(o);return i=on(i.pipe(Ue(1)),i.pipe(Ui(1),Ar(0))),i.pipe(H(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 O(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Nr(r),H(({matches:s})=>({query:e,matches:s})),at(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 Bw(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function $O(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 Uw=(()=>{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})(),Hw=(()=>{class t{_mutationObserverFactory=f(Uw);_observedElements=new Map;_ngZone=f(j);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Tt(e);return new O(o=>{let s=this._observeElement(r).pipe(H(a=>a.filter(c=>!$O(c))),fe(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 S,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})(),FY=(()=>{class t{_contentObserver=f(Hw);_elementRef=f(z);event=new U;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=so(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(Ar(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})(),$w=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Uw]})}return t})();var zO=(()=>{class t{_platform=f(he);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return WO(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=GO(ek(e));if(r&&(zw(r)===-1||!this.isVisible(r)))return!1;let o=e.nodeName.toLowerCase(),i=zw(e);return e.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!XO(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 JO(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 GO(t){try{return t.frameElement}catch{return null}}function WO(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function qO(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function YO(t){return KO(t)&&t.type=="hidden"}function ZO(t){return QO(t)&&t.hasAttribute("href")}function KO(t){return t.nodeName.toLowerCase()=="input"}function QO(t){return t.nodeName.toLowerCase()=="a"}function qw(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function zw(t){if(!qw(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function XO(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function JO(t){return YO(t)?!1:qO(t)||ZO(t)||t.hasAttribute("contenteditable")||qw(t)}function ek(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Qm=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?ht(n,{injector:this._injector}):setTimeout(n)}},tk=(()=>{class t{_checker=f(zO);_ngZone=f(j);_document=f(L);_injector=f($);constructor(){f(xt).load(vu)}create(e,r=!1){return new Qm(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 Yw=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),Zw=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nk=0,rk=(()=>{class t{_ngZone=f(j);_defaultOptions=f(Zw,{optional:!0});_liveElement;_document=f(L);_sanitizer=f(zm);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(Yw,{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:jw(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-${nk++}`,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 pr=(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})(pr||{}),Gw="cdk-high-contrast-black-on-white",Ww="cdk-high-contrast-white-on-black",Km="cdk-high-contrast-active",Kw=(()=>{class t{_platform=f(he);_hasCheckedHighContrastMode=!1;_document=f(L);_breakpointSubscription;constructor(){this._breakpointSubscription=f(Zm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return pr.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 pr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return pr.BLACK_ON_WHITE}return pr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Km,Gw,Ww),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===pr.BLACK_ON_WHITE?e.add(Km,Gw):r===pr.WHITE_ON_BLACK&&e.add(Km,Ww)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ok=(()=>{class t{constructor(){f(Kw)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[$w]})}return t})();var ik=200,ci=class{_letterKeyStream=new S;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new S;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:ik;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(nt(e=>this._pressedLetters.push(e)),Ar(n),fe(()=>this._pressedLetters.length>0),H(()=>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 bu(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var li=class{_items;_activeItemIndex=W(-1);_activeItem=W(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 Fn?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):ri(n)&&(this._effectRef=Go(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new S;change=new S;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 ci(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||bu(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 ri(this._items)?this._items():this._items instanceof Fn?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 Xm=class extends li{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Jm=class extends li{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function eg(t){return Ft(t)?t:T(t)}var tg=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 Fn?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Ft(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 S;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 ci(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()?eg(this._activeItem.getChildren()).pipe(Ue(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=eg(n.getChildren()):e=T(this._items.filter(r=>r.getParent()===null)),e.pipe(Ue(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},TZ=new y("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new tg(t,n)});var ng={},ta=class t{_appId=f(hr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),ng.hasOwnProperty(n)||(ng[n]=0),`${n}${e?t._infix+"-":""}${ng[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var Xw=" ";function sk(t,n,e){let r=Du(t,n);e=e.trim(),!r.some(o=>o.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(Xw)))}function ak(t,n,e){let r=Du(t,n);e=e.trim();let o=r.filter(i=>i!==e);o.length?t.setAttribute(n,o.join(Xw)):t.removeAttribute(n)}function Du(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var Jw="cdk-describedby-message",_u="cdk-describedby-host",og=0,UZ=(()=>{class t{_platform=f(he);_document=f(L);_messageRegistry=new Map;_messagesContainer=null;_id=`${og++}`;constructor(){f(xt).load(vu),this._id=f(hr)+"-"+og++}describe(e,r,o){if(!this._canBeDescribed(e,r))return;let i=rg(r,o);typeof r!="string"?(Qw(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=rg(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(`[${_u}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(_u);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let o=this._document.createElement("div");Qw(o,this._id),o.textContent=e,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(rg(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=Du(e,"aria-describedby").filter(o=>o.indexOf(Jw)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let o=this._messageRegistry.get(r);sk(e,"aria-describedby",o.messageElement.id),e.setAttribute(_u,this._id),o.referenceCount++}_removeMessageReference(e,r){let o=this._messageRegistry.get(r);o.referenceCount--,ak(e,"aria-describedby",o.messageElement.id),e.removeAttribute(_u)}_isElementDescribedByMessage(e,r){let o=Du(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 rg(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function Qw(t,n){t.id||(t.id=`${Jw}-${n}-${og++}`)}var en=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(en||{}),Eu,lo;function wu(){if(lo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return lo=!1,lo;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)lo=!0;else{let t=Element.prototype.scrollTo;t?lo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):lo=!1}}return lo}function ui(){if(typeof document!="object"||!document)return en.NORMAL;if(Eu==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),Eu=en.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Eu=t.scrollLeft===0?en.NEGATED:en.INVERTED),t.remove()}return Eu}function ig(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var di,eC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function QZ(){if(di)return di;if(typeof document!="object"||!document)return di=new Set(eC),di;let t=document.createElement("input");return di=new Set(eC.filter(n=>(t.setAttribute("type",n),t.type===n))),di}var n7={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 ck=new y("MATERIAL_ANIMATIONS"),tC=null;function lk(){return f(ck,{optional:!0})?.animationsDisabled||f(Is,{optional:!0})==="NoopAnimations"?"di-disabled":(tC??=f(yu).matchMedia("(prefers-reduced-motion)").matches,tC?"reduced-motion":"enabled")}function mr(){return lk()!=="enabled"}function De(t){return t==null?"":typeof t=="string"?t:`${t}px`}function l7(t){return t!=null&&`${t}`!="false"}var At=(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})(At||{}),sg=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=At.HIDDEN;constructor(n,e,r,o=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},nC=ai({passive:!0,capture:!0}),ag=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,nC)})}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,nC)))}_delegateEventHandler=n=>{let e=Je(n);e&&this._events.get(n.type)?.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(i=>i.handleEvent(n))})}},na={enterDuration:225,exitDuration:150},uk=800,rC=ai({passive:!0,capture:!0}),oC=["mousedown","touchstart"],iC=["mouseup","mouseleave","touchend","touchcancel"],dk=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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})(),ra=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new ag;constructor(n,e,r,o,i){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Tt(r)),i&&i.get(xt).load(dk)}fadeInRipple(n,e,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=g(g({},na),r.animation);r.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=r.radius||fk(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 sg(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=At.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let E=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>{E&&(E.fallbackTimer=null),clearTimeout(Pe),this._finishRippleTransition(_)},ee=()=>this._destroyRipple(_),Pe=setTimeout(ee,l+100);u.addEventListener("transitionend",I),u.addEventListener("transitioncancel",ee),E={onTransitionEnd:I,onTransitionCancel:ee,fallbackTimer:Pe}}),this._activeRipples.set(_,E),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===At.FADING_OUT||n.state===At.HIDDEN)return;let e=n.element,r=g(g({},na),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=At.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=Tt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,oC.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(()=>{iC.forEach(e=>{this._triggerElement.addEventListener(e,this,rC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===At.FADING_IN?this._startFadeOutTransition(n):n.state===At.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=At.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=At.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=Qs(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+uk;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Xs(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===At.VISIBLE||n.config.terminateOnPointerUp&&n.state===At.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(oC.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(iC.forEach(e=>n.removeEventListener(e,this,rC)),this._pointerUpEventsRegistered=!1))}};function fk(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 cg=new y("mat-ripple-global-options"),C7=(()=>{class t{_elementRef=f(z);_animationsDisabled=mr();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(j),r=f(he),o=f(cg,{optional:!0}),i=f($);this._globalOptions=o||{},this._rippleRenderer=new ra(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 hk={capture:!0},pk=["focus","mousedown","mouseenter","touchstart"],lg="mat-ripple-loader-uninitialized",ug="mat-ripple-loader-class-name",sC="mat-ripple-loader-centered",Cu="mat-ripple-loader-disabled",aC=(()=>{class t{_document=f(L);_animationsDisabled=mr();_globalRippleOptions=f(cg,{optional:!0});_platform=f(he);_ngZone=f(j);_injector=f($);_eventCleanups;_hosts=new Map;constructor(){let e=f(je).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>pk.map(r=>e.listen(this._document,r,this._onInteraction,hk)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(lg,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(ug))&&e.setAttribute(ug,r.className||""),r.centered&&e.setAttribute(sC,""),r.disabled&&e.setAttribute(Cu,"")}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(Cu,""):e.removeAttribute(Cu)}_onInteraction=e=>{let r=Je(e);if(r instanceof HTMLElement){let o=r.closest(`[${lg}="${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(ug)),e.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??na.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??na.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(Cu),rippleConfig:{centered:e.hasAttribute(sC),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new ra(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(lg)}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 cC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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 mk=["mat-icon-button",""],gk=["*"],vk=new y("MAT_BUTTON_CONFIG");function lC(t){return t==null?void 0:hm(t)}var dg=(()=>{class t{_elementRef=f(z);_ngZone=f(j);_animationsDisabled=mr();_config=f(vk,{optional:!0});_focusMonitor=f(pu);_cleanupClick;_renderer=f(Oe);_rippleLoader=f(aC);_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(xt).load(cC);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&&(Yt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),Yp(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",lC],_tabindex:[2,"tabindex","_tabindex",lC]}})}return t})(),yk=(()=>{class t extends dg{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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:[J],attrs:mk,ngContentSelectors:gk,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&&(ro(),yn(0,"span",0),Vn(1),yn(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 bk=new y("cdk-dir-doc",{providedIn:"root",factory:()=>f(L)}),_k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function uC(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?_k.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var fi=(()=>{class t{get value(){return this.valueSignal()}valueSignal=W("ltr");change=new U;constructor(){let e=f(bk,{optional:!0});if(e){let r=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(uC(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 zn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var dC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[zn]})}return t})();var Dk=["matButton",""],Ek=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],wk=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var fC=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"]]]),nK=(()=>{class t extends dg{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=Ck(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?fC.get(this._appearance):null,i=fC.get(e);o&&r.remove(...o),r.add(...i),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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:[J],attrs:Dk,ngContentSelectors:wk,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&&(ro(Ek),yn(0,"span",0),Vn(1),to(2,"span",1),Vn(3,1),no(),Vn(4,2),yn(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 Ck(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 rK=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[dC,zn]})}return t})();var Iu={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var oa=class{};function Ik(t){return t&&typeof t.connect=="function"&&!(t instanceof ki)}var fg=class extends oa{_data;constructor(n){super(),this._data=n}connect(){return Ft(this._data)?this._data:T(this._data)}disconnect(){}},Dn=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Dn||{}),hg=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?Dn.INSERTED:Dn.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=Dn.REMOVED):(l=this._moveView(a,c,e,o(s)),u=Dn.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 Sk=["contentWrapper"],Mk=["*"],pC=new y("VIRTUAL_SCROLL_STRATEGY"),pg=class{_scrolledIndexChange=new S;scrolledIndexChange=this._scrolledIndexChange.pipe(xo());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,r){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,r){r<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(e.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(o,e.start+c))}let a=i-e.start*this._itemSize;if(a<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(i+r);if(c<this._minBufferPx&&e.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(o,e.end+l),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function Tk(t){return t._scrollStrategy}var xk=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=so(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=so(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=so(e)}_maxBufferPx=200;_scrollStrategy=new pg(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[we([{provide:pC,useFactory:Tk,deps:[be(()=>t)]}]),Re]})}return t})(),Ak=20,ia=(()=>{class t{_ngZone=f(j);_platform=f(he);_renderer=f(je).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new S;_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=Ak){return this._platform.isBrowser?new O(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(Bi(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):T()}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(fe(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=Tt(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})(),gg=(()=>{class t{elementRef=f(z);scrollDispatcher=f(ia);ngZone=f(j);dir=f(fi,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new S;_renderer=f(Oe);_cleanupScroll;_elementScrolled=new S;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&&ui()!=en.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),ui()==en.INVERTED?e.left=e.right:ui()==en.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;wu()?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&&ui()==en.INVERTED?e==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&ui()==en.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})(),Rk=20,uo=(()=>{class t{_platform=f(he);_listeners;_viewportSize=null;_change=new S;_document=f(L);constructor(){let e=f(j),r=f(je).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=Rk){return e>0?this._change.pipe(Bi(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})(),hC=new y("VIRTUAL_SCROLLABLE"),Nk=(()=>{class t extends gg{constructor(){super()}measureViewportSize(e){let r=this.elementRef.nativeElement;return e==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,features:[J]})}return t})();function Ok(t,n){return t.start==n.start&&t.end==n.end}var kk=typeof requestAnimationFrame<"u"?Vd:jd,Fk=new y("CDK_VIRTUAL_SCROLL_VIEWPORT"),Pk=(()=>{class t extends Nk{elementRef=f(z);_changeDetectorRef=f(St);_scrollStrategy=f(pC,{optional:!0});scrollable=f(hC,{optional:!0});_platform=f(he);_detachedSubject=new S;_renderedRangeSubject=new S;_renderedContentOffsetSubject=new S;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new O(e=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(fe(e=>e!==null),xo());_totalContentSize=0;_totalContentWidth=W("");_totalContentHeight=W("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=W(!1);_runAfterChangeDetection=[];_viewportChanges=G.EMPTY;_injector=f($);_isDestroyed=!1;constructor(){super();let e=f(uo);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=Go(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(Be).injector});f(Ae).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Nr(null),Bi(0,kk),at(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(at(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){Ok(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,r="to-start"){e=this.appendOnly&&r==="to-start"?0:e;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*e)}px)`;this._renderedContentOffset=e,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=e:o.top=e,this.scrollable.scrollTo(o)}scrollToIndex(e,r="auto"){this._scrollStrategy.scrollToIndex(e,r)}measureScrollOffset(e){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let r,o="left",i="right",s=this.dir?.value=="rtl";e=="start"?r=s?i:o:e=="end"?r=s?o:i:e?r=e:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!q(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),ht(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of e)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&Fl(Sk,7),r&2){let i;Fs(i=Ps())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&Xe("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",ue]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[we([{provide:gg,useFactory:()=>f(hC,{optional:!0})||f(t)},{provide:Fk,useExisting:t}]),J],ngContentSelectors:Mk,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(ro(),to(0,"div",1,0),Vn(2),no(),yn(3,"div",2)),r&2&&(bp(3),Pl("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
display: block;
|
|
position: relative;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.cdk-virtual-scrollable {
|
|
overflow: auto;
|
|
will-change: scroll-position;
|
|
contain: strict;
|
|
}
|
|
|
|
.cdk-virtual-scroll-content-wrapper {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
contain: content;
|
|
}
|
|
[dir=rtl] .cdk-virtual-scroll-content-wrapper {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {
|
|
min-height: 100%;
|
|
}
|
|
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
border-left-width: 0;
|
|
border-right-width: 0;
|
|
outline: none;
|
|
}
|
|
|
|
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
|
|
min-width: 100%;
|
|
}
|
|
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
border-top-width: 0;
|
|
border-bottom-width: 0;
|
|
outline: none;
|
|
}
|
|
|
|
.cdk-virtual-scroll-spacer {
|
|
height: 1px;
|
|
transform-origin: 0 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
transform-origin: 100% 0;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return t})();var mg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})(),vg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[zn,mg,zn,mg]})}return t})();var sa=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}},yg=class extends sa{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}},hi=class extends sa{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()}},bg=class extends sa{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},Su=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof yg)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof hi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof bg)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)}},Mu=class extends Su{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(gn,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||$.NULL,i=o.get(re,r.injector);e=$l(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]}},kK=(()=>{class t extends hi{constructor(){let e=f(dt),r=f(qe);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=M({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[J]})}return t})(),FK=(()=>{class t extends Su{_moduleRef=f(gn,{optional:!0});_document=f(L);_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 U;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:[J]})}return t})(),mC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var gC=wu();function wC(t){return new Tu(t.get(uo),t.get(L))}var Tu=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=De(-this._previousScrollPosition.left),n.style.top=De(-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"),gC&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),gC&&(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 CC(t,n){return new xu(t.get(ia),t.get(j),t.get(uo),n)}var xu=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(fe(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 aa=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 vC(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 Au(t.get(ia),t.get(uo),t.get(j),n)}var Au=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}},IC=(()=>{class t{_injector=f($);constructor(){}noop=()=>new aa;close=e=>CC(this._injector,e);block=()=>wC(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 aa;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 Ru=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var SC=(()=>{class t{_attachedOverlays=[];_document=f(L);_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})(),MC=(()=>{class t extends SC{_ngZone=f(j);_renderer=f(je).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=Ne(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),TC=(()=>{class t extends SC{_platform=f(he);_ngZone=f(j);_renderer=f(je).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=Je(e)};_clickListener=e=>{let r=Je(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(yC(a.overlayElement,r)||yC(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=Ne(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yC(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 xC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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})(),Cg=(()=>{class t{_platform=f(he);_containerElement;_document=f(L);_styleLoader=f(xt);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||ig()){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),ig()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(xC)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dg=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 Ig(t){return t&&t.nodeType===1}var Nu=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new S;_attachments=new S;_detachments=new S;_positionStrategy;_scrollStrategy;_locationChanges=G.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new S;_outsidePointerEvents=new S;_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=ht(()=>{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=De(this._config.width),n.height=De(this._config.height),n.minWidth=De(this._config.minWidth),n.minHeight=De(this._config.minHeight),n.maxWidth=De(this._config.maxWidth),n.maxHeight=De(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;Ig(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 Dg(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=ao(e||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=ht(()=>{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?.()}},bC="cdk-overlay-connected-position-bounding-box",Lk=/([A-Za-z%]+)$/;function Sg(t,n){return new Ou(n,t.get(uo),t.get(L),t.get(he),t.get(Cg))}var Ou=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 S;_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(bC),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&&fo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bC),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:Ig(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=DC(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),E=m*_;return{visibleArea:E,isCompletelyWithinViewport:i.width*i.height===E,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=_C(this._overlayRef.getConfig().minHeight),a=_C(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=DC(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||!jk(this._lastScrollVisibility,r)){let o=new Ru(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=De(r.width),o.height=De(r.height),o.top=De(r.top)||"auto",o.bottom=De(r.bottom)||"auto",o.left=De(r.left)||"auto",o.right=De(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=De(i)),s&&(o.maxWidth=De(s))}this._lastBoundingBoxSize=r,fo(this._boundingBox.style,o)}_resetBoundingBoxStyles(){fo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){fo(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();fo(r,this._getExactOverlayY(e,n,u)),fo(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=De(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=De(s.maxWidth):i&&(r.maxWidth="")),fo(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=De(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=De(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:vC(n,r),isOriginOutsideView:_g(n,r),isOverlayClipped:vC(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&&ao(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 fo(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function _C(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Lk);return!e||e==="px"?parseFloat(n):null}return t||null}function DC(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 jk(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var EC="cdk-global-overlay-wrapper";function AC(t){return new ku}var ku=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(EC),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(EC),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},RC=(()=>{class t{_injector=f($);constructor(){}global(){return AC()}flexibleConnectedTo(e){return Sg(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mg=new y("OVERLAY_DEFAULT_CONFIG");function Tg(t,n){t.get(xt).load(xC);let e=t.get(Cg),r=t.get(L),o=t.get(ta),i=t.get(Be),s=t.get(fi),a=t.get(Oe,null,{optional:!0})||t.get(je).createRenderer(null,null),c=new ca(n),l=t.get(Mg,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 Ig(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):e.getContainerElement().appendChild(d),new Nu(new Mu(u,i,t),d,u,c,t.get(j),t.get(MC),r,t.get(bn),t.get(TC),n?.disableAnimations??t.get(Is,null,{optional:!0})==="NoopAnimations",t.get(re),a)}var NC=(()=>{class t{scrollStrategies=f(IC);_positionBuilder=f(RC);_injector=f($);constructor(){}create(e){return Tg(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})(),Vk=[{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"}],Bk=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f($);return()=>wg(t)}}),Eg=(()=>{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})(),OC=new y("cdk-connected-overlay-default-config"),Uk=(()=>{class t{_dir=f(fi,{optional:!0});_injector=f($);_overlayRef;_templatePortal;_backdropSubscription=G.EMPTY;_attachSubscription=G.EMPTY;_detachSubscription=G.EMPTY;_positionSubscription=G.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(Bk);_ngZone=f(j);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 U;positionChange=new U;attach=new U;detach=new U;overlayKeydown=new U;overlayOutsideClick=new U;constructor(){let e=f(dt),r=f(qe),o=f(OC,{optional:!0}),i=f(Mg,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new hi(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=Vk);let e=this._overlayRef=Tg(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&&!bu(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Je(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=Sg(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Eg?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Eg?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(Yd(()=>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:[Re]})}return t})(),Hk=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[NC],imports:[zn,mC,vg,vg]})}return t})();var $C=(()=>{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)(D(Oe),D(z))};static \u0275dir=M({type:t})}return t})(),Gu=(()=>{class t extends $C{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(t)))(o||t)}})();static \u0275dir=M({type:t,features:[J]})}return t})(),po=new y("");var $k={provide:po,useExisting:be(()=>zC),multi:!0};function zk(){let t=mt()?mt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Gk=new y(""),zC=(()=>{class t extends $C{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!zk())}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)(D(Oe),D(z),D(Gk,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&&Zt("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:[we([$k]),J]})}return t})();function Ng(t){return t==null||Og(t)===0}function Og(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var En=new y(""),mo=new y(""),Wk=/^(?=.{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])?)*$/,kC=class{static min(n){return GC(n)}static max(n){return WC(n)}static required(n){return qC(n)}static requiredTrue(n){return qk(n)}static email(n){return Yk(n)}static minLength(n){return Zk(n)}static maxLength(n){return Kk(n)}static pattern(n){return Qk(n)}static nullValidator(n){return Pu()}static compose(n){return JC(n)}static composeAsync(n){return eI(n)}};function GC(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 WC(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 qC(t){return Ng(t.value)?{required:!0}:null}function qk(t){return t.value===!0?null:{required:!0}}function Yk(t){return Ng(t.value)||Wk.test(t.value)?null:{email:!0}}function Zk(t){return n=>{let e=n.value?.length??Og(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function Kk(t){return n=>{let e=n.value?.length??Og(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function Qk(t){if(!t)return Pu;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(Ng(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Pu(t){return null}function YC(t){return t!=null}function ZC(t){return jn(t)?se(t):t}function KC(t){let n={};return t.forEach(e=>{n=e!=null?g(g({},n),e):n}),Object.keys(n).length===0?null:n}function QC(t,n){return n.map(e=>e(t))}function Xk(t){return!t.validate}function XC(t){return t.map(n=>Xk(n)?n:e=>n.validate(e))}function JC(t){if(!t)return null;let n=t.filter(YC);return n.length==0?null:function(e){return KC(QC(e,n))}}function kg(t){return t!=null?JC(XC(t)):null}function eI(t){if(!t)return null;let n=t.filter(YC);return n.length==0?null:function(e){let r=QC(e,n).map(ZC);return Ud(r).pipe(H(KC))}}function Fg(t){return t!=null?eI(XC(t)):null}function FC(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function tI(t){return t._rawValidators}function nI(t){return t._rawAsyncValidators}function xg(t){return t?Array.isArray(t)?t:[t]:[]}function Lu(t,n){return Array.isArray(t)?t.includes(n):t===n}function PC(t,n){let e=xg(n);return xg(t).forEach(o=>{Lu(e,o)||e.push(o)}),e}function LC(t,n){return xg(n).filter(e=>!Lu(t,e))}var ju=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=kg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Fg(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}},et=class extends ju{name;get formDirective(){return null}get path(){return null}},Gn=class extends ju{_parent=null;name=null;valueAccessor=null},Vu=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 BQ=(()=>{class t extends Vu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(Gn,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:[J]})}return t})(),UQ=(()=>{class t extends Vu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(et,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:[J]})}return t})();var la="VALID",Fu="INVALID",pi="PENDING",ua="DISABLED",gr=class{},Bu=class extends gr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},fa=class extends gr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ha=class extends gr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},mi=class extends gr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Uu=class extends gr{source;constructor(n){super(),this.source=n}},pa=class extends gr{source;constructor(n){super(),this.source=n}};function Pg(t){return(Wu(t)?t.validators:t)||null}function Jk(t){return Array.isArray(t)?kg(t):t||null}function Lg(t,n){return(Wu(n)?n.asyncValidators:t)||null}function eF(t){return Array.isArray(t)?Fg(t):t||null}function Wu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function rI(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 oI(t,n,e){t._forEachChild((r,o)=>{if(e[o]===void 0)throw new b(-1002,"")})}var vi=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 q(this.statusReactive)}set status(n){q(()=>this.statusReactive.set(n))}_status=Kt(()=>this.statusReactive());statusReactive=W(void 0);get valid(){return this.status===la}get invalid(){return this.status===Fu}get pending(){return this.status===pi}get disabled(){return this.status===ua}get enabled(){return this.status!==ua}errors;get pristine(){return q(this.pristineReactive)}set pristine(n){q(()=>this.pristineReactive.set(n))}_pristine=Kt(()=>this.pristineReactive());pristineReactive=W(!0);get dirty(){return!this.pristine}get touched(){return q(this.touchedReactive)}set touched(n){q(()=>this.touchedReactive.set(n))}_touched=Kt(()=>this.touchedReactive());touchedReactive=W(!1);get untouched(){return!this.touched}_events=new S;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(PC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(PC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(LC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(LC(n,this._rawAsyncValidators))}hasValidator(n){return Lu(this._rawValidators,n)}hasAsyncValidator(n){return Lu(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 ha(!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 ha(!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 fa(!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 fa(!0,r))}markAsPending(n={}){this.status=pi;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new mi(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=ua,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 Bu(this.value,r)),this._events.next(new mi(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=la,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===la||this.status===pi)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Bu(this.value,e)),this._events.next(new mi(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()?ua:la}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=pi,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=ZC(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 mi(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?ua:this.errors?Fu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pi)?pi:this._anyControlsHaveStatus(Fu)?Fu:la}_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 fa(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ha(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Wu(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=Jk(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=eF(this._rawAsyncValidators)}},ho=class extends vi{constructor(n,e,r){super(Pg(e),Lg(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={}){oI(this,!0,n),Object.keys(n).forEach(r=>{rI(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 pa(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 HQ=ho;var Ag=class extends ho{};var yi=new y("",{factory:()=>qu}),qu="always";function Yu(t,n){return[...n.path,t]}function ma(t,n,e=qu){jg(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),nF(t,n),oF(t,n),rF(t,n),tF(t,n)}function Hu(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),zu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function $u(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function tF(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function jg(t,n){let e=tI(t);n.validator!==null?t.setValidators(FC(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=nI(t);n.asyncValidator!==null?t.setAsyncValidators(FC(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();$u(n._rawValidators,o),$u(n._rawAsyncValidators,o)}function zu(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=tI(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=nI(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 $u(n._rawValidators,r),$u(n._rawAsyncValidators,r),e}function nF(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&iI(t,n)})}function rF(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&iI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function iI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function oF(t,n){let e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function sI(t,n){t==null,jg(t,n)}function iF(t,n){return zu(t,n)}function Vg(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function sF(t){return Object.getPrototypeOf(t.constructor)===Gu}function aI(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Bg(t,n){if(!n)return null;Array.isArray(n);let e,r,o;return n.forEach(i=>{i.constructor===zC?e=i:sF(i)?r=i:o=i}),o||r||e||null}function aF(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var cF={provide:et,useExisting:be(()=>lF)},da=Promise.resolve(),lF=(()=>{class t extends et{callSetDisabledState;get submitted(){return q(this.submittedReactive)}_submitted=Kt(()=>this.submittedReactive());submittedReactive=W(!1);_directives=new Set;form;ngSubmit=new U;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new ho({},kg(e),Fg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){da.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),ma(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){da.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){da.then(()=>{let r=this._findContainer(e.path),o=new ho({});sI(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){da.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){da.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),aI(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Uu(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)(D(En,10),D(mo,10),D(yi,8))};static \u0275dir=M({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Zt("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:[we([cF]),J]})}return t})();function jC(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function VC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var gi=class extends vi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(Pg(e),Lg(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(VC(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 pa(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){jC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){jC(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){VC(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}},zQ=gi,uF=t=>t instanceof gi,dF=(()=>{class t extends et{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Yu(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=Ne(t)))(o||t)}})();static \u0275dir=M({type:t,standalone:!1,features:[J]})}return t})();var fF={provide:Gn,useExisting:be(()=>hF)},BC=Promise.resolve(),hF=(()=>{class t extends Gn{_changeDetectorRef;callSetDisabledState;control=new gi;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new U;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=Bg(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),Vg(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(){ma(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){BC.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,o=r!==0&&ue(r);BC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Yu(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(D(et,9),D(En,10),D(mo,10),D(po,10),D(St,8),D(yi,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:[we([fF]),J,Re]})}return t})();var GQ=(()=>{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})(),pF={provide:po,useExisting:be(()=>mF),multi:!0},mF=(()=>{class t extends Gu{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=Ne(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&&Zt("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[we([pF]),J]})}return t})();var Rg=class extends vi{constructor(n,e,r){super(Pg(e),Lg(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={}){oI(this,!1,n),n.forEach((r,o)=>{rI(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 pa(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 cI=(()=>{class t extends et{callSetDisabledState;get submitted(){return q(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Kt(()=>this._submittedReactive());_submittedReactive=W(!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&&(zu(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 ma(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Hu(e.control||null,e,!1),aF(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,aI(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Uu(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,o=this.form.get(e.path);r!==o&&(Hu(r||null,e),uF(o)&&(ma(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);sI(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&iF(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){jg(this.form,this),this._oldForm&&zu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(D(En,10),D(mo,10),D(yi,8))};static \u0275dir=M({type:t,features:[J,Re]})}return t})();var Ug=new y(""),gF={provide:Gn,useExisting:be(()=>vF)},vF=(()=>{class t extends Gn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new U;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=Bg(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&Hu(r,this,!1),ma(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Vg(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Hu(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)(D(En,10),D(mo,10),D(po,10),D(Ug,8),D(yi,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:[we([gF]),J,Re]})}return t})(),yF={provide:et,useExisting:be(()=>lI)},lI=(()=>{class t extends dF{name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){dI(this._parent)}static \u0275fac=function(r){return new(r||t)(D(et,13),D(En,10),D(mo,10))};static \u0275dir=M({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[we([yF]),J]})}return t})(),bF={provide:et,useExisting:be(()=>uI)},uI=(()=>{class t extends et{_parent;name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){dI(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 Yu(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||t)(D(et,13),D(En,10),D(mo,10))};static \u0275dir=M({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[we([bF]),J]})}return t})();function dI(t){return!(t instanceof lI)&&!(t instanceof cI)&&!(t instanceof uI)}var _F={provide:Gn,useExisting:be(()=>DF)},DF=(()=>{class t extends Gn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new U;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=Bg(this,i)}ngOnChanges(e){this._added||this._setUpControl(),Vg(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 Yu(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)(D(et,13),D(En,10),D(mo,10),D(po,10),D(Ug,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:[we([_F]),J,Re]})}return t})();var EF={provide:et,useExisting:be(()=>wF)},wF=(()=>{class t extends cI{form=null;ngSubmit=new U;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Zt("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:[we([EF]),J]})}return t})(),CF={provide:po,useExisting:be(()=>hI),multi:!0};function fI(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function IF(t){return t.split(":")[0]}var hI=(()=>{class t extends Gu{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(Be).injector;destroyRef=f(Ae);cdr=f(St);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,ht({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=fI(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=IF(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(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&&Zt("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[we([CF]),J]})}return t})(),WQ=(()=>{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(fI(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)(D(z),D(Oe),D(hI,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),SF={provide:po,useExisting:be(()=>pI),multi:!0};function UC(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function MF(t){return t.split(":")[0]}var pI=(()=>{class t extends Gu{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=MF(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(t)))(o||t)}})();static \u0275dir=M({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Zt("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[we([SF]),J]})}return t})(),qQ=(()=>{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(UC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(UC(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)(D(z),D(Oe),D(pI,9))};static \u0275dir=M({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function mI(t){return typeof t=="number"?t:parseFloat(t)}var Hg=(()=>{class t{_validator=Pu;_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):Pu,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:[Re]})}return t})(),TF={provide:En,useExisting:be(()=>xF),multi:!0},xF=(()=>{class t extends Hg{max;inputName="max";normalizeInput=e=>mI(e);createValidator=e=>WC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(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&&Yt("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[we([TF]),J]})}return t})(),AF={provide:En,useExisting:be(()=>RF),multi:!0},RF=(()=>{class t extends Hg{min;inputName="min";normalizeInput=e=>mI(e);createValidator=e=>GC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(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&&Yt("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[we([AF]),J]})}return t})(),NF={provide:En,useExisting:be(()=>OF),multi:!0};var OF=(()=>{class t extends Hg{required;inputName="required";normalizeInput=ue;createValidator=e=>qC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(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&&Yt("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[we([NF]),J]})}return t})();var gI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function HC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var kF=(()=>{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 HC(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new ho(o,i)}record(e,r=null){let o=this._reduceControls(e);return new Ag(o,r)}control(e,r,o){let i={};return this.useNonNullable?(HC(r)?i=r:(i.validators=r,i.asyncValidators=o),new gi(e,F(g({},i),{nonNullable:!0}))):new gi(e,r,o)}array(e,r,o){let i=e.map(s=>this._createControl(s));return new Rg(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 gi)return e;if(e instanceof vi)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 YQ=(()=>{class t extends kF{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=Ne(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZQ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:yi,useValue:e.callSetDisabledState??qu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[gI]})}return t})(),KQ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ug,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:yi,useValue:e.callSetDisabledState??qu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[gI]})}return t})();var V="primary",Ta=Symbol("RouteTitle"),qg=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 vo(t){return new qg(t)}function $g(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 wI(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 $g(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!$g(i,t.slice(0,i.length),a)||!$g(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function ed(t){return new Promise((n,e)=>{t.pipe(Sn()).subscribe({next:r=>n(r),error:r=>e(r)})})}function FF(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!wn(t[e],n[e]))return!1;return!0}function wn(t,n){let e=t?Yg(t):void 0,r=n?Yg(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],!CI(t[o],n[o]))return!1;return!0}function Yg(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function CI(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 PF(t){return t.length>0?t[t.length-1]:null}function bo(t){return Ft(t)?t:jn(t)?se(Promise.resolve(t)):T(t)}function II(t){return Ft(t)?ed(t):Promise.resolve(t)}var LF={exact:MI,subset:TI},SI={exact:jF,subset:VF,ignored:()=>!0},cv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_a={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function lv(t,n,e){let r=t instanceof tt?t:n.parseUrl(t);return Kt(()=>Zg(n.lastSuccessfulNavigation()?.finalUrl??new tt,r,g(g({},_a),e)))}function Zg(t,n,e){return LF[e.paths](t.root,n.root,e.matrixParams)&&SI[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function jF(t,n){return wn(t,n)}function MI(t,n,e){if(!go(t.segments,n.segments)||!Qu(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!MI(t.children[r],n.children[r],e))return!1;return!0}function VF(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>CI(t[e],n[e]))}function TI(t,n,e){return xI(t,n,n.segments,e)}function xI(t,n,e,r){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!go(o,e)||n.hasChildren()||!Qu(o,e,r))}else if(t.segments.length===e.length){if(!go(t.segments,e)||!Qu(t.segments,e,r))return!1;for(let o in n.children)if(!t.children[o]||!TI(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!go(t.segments,o)||!Qu(t.segments,o,r)||!t.children[V]?!1:xI(t.children[V],n,i,r)}}function Qu(t,n,e){return n.every((r,o)=>SI[e](t[o].parameters,r.parameters))}var tt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new te([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=vo(this.queryParams),this._queryParamMap}toString(){return HF.serialize(this)}},te=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 Xu(this)}},vr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=vo(this.parameters),this._parameterMap}toString(){return RI(this)}};function BF(t,n){return go(t,n)&&t.every((e,r)=>wn(e.parameters,n[r].parameters))}function go(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function UF(t,n){let e=[];return Object.entries(t.children).forEach(([r,o])=>{r===V&&(e=e.concat(n(o,r)))}),Object.entries(t.children).forEach(([r,o])=>{r!==V&&(e=e.concat(n(o,r)))}),e}var _r=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new qn,providedIn:"root"})}return t})(),qn=class{parse(n){let e=new Qg(n);return new tt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${ga(n.root,!0)}`,r=GF(n.queryParams),o=typeof n.fragment=="string"?`#${$F(n.fragment)}`:"";return`${e}${r}${o}`}},HF=new qn;function Xu(t){return t.segments.map(n=>RI(n)).join("/")}function ga(t,n){if(!t.hasChildren())return Xu(t);if(n){let e=t.children[V]?ga(t.children[V],!1):"",r=[];return Object.entries(t.children).forEach(([o,i])=>{o!==V&&r.push(`${o}:${ga(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=UF(t,(r,o)=>o===V?[ga(t.children[V],!1)]:[`${o}:${ga(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[V]!=null?`${Xu(t)}/${e[0]}`:`${Xu(t)}/(${e.join("//")})`}}function AI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zu(t){return AI(t).replace(/%3B/gi,";")}function $F(t){return encodeURI(t)}function Kg(t){return AI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ju(t){return decodeURIComponent(t)}function vI(t){return Ju(t.replace(/\+/g,"%20"))}function RI(t){return`${Kg(t.path)}${zF(t.parameters)}`}function zF(t){return Object.entries(t).map(([n,e])=>`;${Kg(n)}=${Kg(e)}`).join("")}function GF(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(o=>`${Zu(e)}=${Zu(o)}`).join("&"):`${Zu(e)}=${Zu(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var WF=/^[^\/()?;#]+/;function zg(t){let n=t.match(WF);return n?n[0]:""}var qF=/^[^\/()?;=#]+/;function YF(t){let n=t.match(qF);return n?n[0]:""}var ZF=/^[^=?&#]+/;function KF(t){let n=t.match(ZF);return n?n[0]:""}var QF=/^[^&#]+/;function XF(t){let n=t.match(QF);return n?n[0]:""}var Qg=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],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[V]=new te(e,r)),o}parseSegment(){let n=zg(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new vr(Ju(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=YF(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=zg(this.remaining);o&&(r=o,this.capture(r))}n[Ju(e)]=Ju(r)}parseQueryParam(n){let e=KF(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=XF(this.remaining);s&&(r=s,this.capture(r))}let o=vI(e),i=vI(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=zg(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=V);let a=this.parseChildren(e+1);r[s??V]=Object.keys(a).length===1&&a[V]?a[V]:new te([],a),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 NI(t){return t.segments.length>0?new te([],{[V]:t}):t}function OI(t){let n={};for(let[r,o]of Object.entries(t.children)){let i=OI(o);if(r===V&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let e=new te(t.segments,n);return JF(e)}function JF(t){if(t.numberOfChildren===1&&t.children[V]){let n=t.children[V];return new te(t.segments.concat(n.segments),n.children)}return t}function yr(t){return t instanceof tt}function kI(t,n,e=null,r=null,o=new qn){let i=FI(t);return PI(i,n,e,r,o)}function FI(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 te(i.url,s);return i===t&&(n=a),a}let r=e(t.root),o=NI(r);return n??o}function PI(t,n,e,r,o){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Gg(i,i,i,e,r,o);let s=eP(n);if(s.toRoot())return Gg(i,i,new te([],{}),e,r,o);let a=tP(s,i,t),c=a.processChildren?ya(a.segmentGroup,a.index,s.commands):jI(a.segmentGroup,a.index,s.commands);return Gg(i,a.segmentGroup,c,e,r,o)}function td(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Da(t){return typeof t=="object"&&t!=null&&t.outlets}function yI(t,n,e){t||="\u0275";let r=new tt;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Gg(t,n,e,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>yI(l,d,i)):yI(l,u,i);let a;t===n?a=e:a=LI(t,n,e);let c=NI(OI(a));return new tt(c,s,o)}function LI(t,n,e){let r={};return Object.entries(t.children).forEach(([o,i])=>{i===n?r[o]=e:r[o]=LI(i,n,e)}),new te(t.segments,r)}var nd=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&td(r[0]))throw new b(4003,!1);let o=r.find(Da);if(o&&o!==PF(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function eP(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new nd(!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 nd(e,n,r)}var _i=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function tP(t,n,e){if(t.isAbsolute)return new _i(n,!0,0);if(!e)return new _i(n,!1,NaN);if(e.parent===null)return new _i(e,!0,0);let r=td(t.commands[0])?0:1,o=e.segments.length-1+r;return nP(e,o,t.numberOfDoubleDots)}function nP(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 _i(r,!1,o-i)}function rP(t){return Da(t[0])?t[0].outlets:{[V]:t}}function jI(t,n,e){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return ya(t,n,e);let r=oP(t,n,e),o=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let i=new te(t.segments.slice(0,r.pathIndex),{});return i.children[V]=new te(t.segments.slice(r.pathIndex),t.children),ya(i,0,o)}else return r.match&&o.length===0?new te(t.segments,{}):r.match&&!t.hasChildren()?Xg(t,n,e):r.match?ya(t,0,o):Xg(t,n,e)}function ya(t,n,e){if(e.length===0)return new te(t.segments,{});{let r=rP(e),o={};if(Object.keys(r).some(i=>i!==V)&&t.children[V]&&t.numberOfChildren===1&&t.children[V].segments.length===0){let i=ya(t.children[V],n,e);return new te(t.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=jI(t.children[i],n,s))}),Object.entries(t.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new te(t.segments,o)}}function oP(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(Da(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(!_I(c,l,s))return i;r+=2}else{if(!_I(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Xg(t,n,e){let r=t.segments.slice(0,n),o=0;for(;o<e.length;){let i=e[o];if(Da(i)){let c=iP(i.outlets);return new te(r,c)}if(o===0&&td(e[0])){let c=t.segments[n];r.push(new vr(c.path,bI(e[0]))),o++;continue}let s=Da(i)?i.outlets[V]:`${i}`,a=o<e.length-1?e[o+1]:null;s&&a&&td(a)?(r.push(new vr(s,bI(a))),o+=2):(r.push(new vr(s,{})),o++)}return new te(r,{})}function iP(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Xg(new te([],{}),0,r))}),n}function bI(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function _I(t,n,e){return t==e.path&&wn(n,e.parameters)}var Di="imperative",Fe=(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})(Fe||{}),vt=class{id;url;constructor(n,e){this.id=n,this.url=e}},br=class extends vt{type=Fe.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}')`}},yt=class extends vt{urlAfterRedirects;type=Fe.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=(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})(Ze||{}),wi=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(wi||{}),Rt=class extends vt{reason;code;type=Fe.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 VI(t){return t instanceof Rt&&(t.code===Ze.Redirect||t.code===Ze.SupersededByNewNavigation)}var Cn=class extends vt{reason;code;type=Fe.NavigationSkipped;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}},yo=class extends vt{error;target;type=Fe.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})`}},Ea=class extends vt{urlAfterRedirects;state;type=Fe.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})`}},rd=class extends vt{urlAfterRedirects;state;type=Fe.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})`}},od=class extends vt{urlAfterRedirects;state;shouldActivate;type=Fe.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})`}},id=class extends vt{urlAfterRedirects;state;type=Fe.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})`}},sd=class extends vt{urlAfterRedirects;state;type=Fe.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})`}},ad=class{route;type=Fe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},cd=class{route;type=Fe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ld=class{snapshot;type=Fe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ud=class{snapshot;type=Fe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dd=class{snapshot;type=Fe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fd=class{snapshot;type=Fe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ci=class{routerEvent;position;anchor;scrollBehavior;type=Fe.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}')`}},Ii=class{},wa=class{},Si=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function sP(t){return!(t instanceof Ii)&&!(t instanceof Si)&&!(t instanceof wa)}var hd=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 _o(this.rootInjector)}},_o=(()=>{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 hd(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(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pd=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=Jg(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Jg(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=ev(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return ev(n,this._root).map(e=>e.value)}};function Jg(t,n){if(t===n.value)return n;for(let e of n.children){let r=Jg(t,e);if(r)return r}return null}function ev(t,n){if(t===n.value)return[n];for(let e of n.children){let r=ev(t,e);if(r.length)return r.unshift(n),r}return[]}var gt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function bi(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ca=class extends pd{snapshot;constructor(n,e){super(n),this.snapshot=e,dv(this,n)}toString(){return this.snapshot.toString()}};function BI(t,n){let e=aP(t,n),r=new Ie([new vr("",{})]),o=new Ie({}),i=new Ie({}),s=new Ie({}),a=new Ie(""),c=new Yn(r,o,s,a,i,V,t,e.root);return c.snapshot=e.root,new Ca(new gt(c,[]),e)}function aP(t,n){let e={},r={},o={},s=new Mi([],e,o,"",r,V,t,null,{},n);return new Ia("",new gt(s,[]))}var Yn=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(H(l=>l[Ta]))??T(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(H(n=>vo(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(H(n=>vo(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function uv(t,n,e="emptyOnly"){let r,{routeConfig:o}=t;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),t.params),data:g(g({},n.data),t.data),resolve:g(g(g(g({},t.data),n.data),o?.data),t._resolvedData)}:r={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},o&&HI(o)&&(r.resolve[Ta]=o.title),r}var Mi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ta]}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??=vo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vo(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}')`}},Ia=class extends pd{url;constructor(n,e){super(e),this.url=n,dv(this,e)}toString(){return UI(this._root)}};function dv(t,n){n.value._routerState=t,n.children.forEach(e=>dv(t,e))}function UI(t){let n=t.children.length>0?` { ${t.children.map(UI).join(", ")} } `:"";return`${t.value}${n}`}function Wg(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,wn(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),wn(n.params,e.params)||t.paramsSubject.next(e.params),FF(n.url,e.url)||t.urlSubject.next(e.url),wn(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function tv(t,n){let e=wn(t.params,n.params)&&BF(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||tv(t.parent,n.parent))}function HI(t){return typeof t.title=="string"||t.title===null}var $I=new y(""),fv=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=V;activateEvents=new U;deactivateEvents=new U;attachEvents=new U;detachEvents=new U;routerOutletData=RE();parentContexts=f(_o);location=f(qe);changeDetector=f(St);inputBinder=f(xa,{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 nv(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:[Re]})}return t})(),nv=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===Yn?this.route:n===_o?this.childContexts:n===$I?this.outletData:this.parent.get(n,e)}},xa=new y(""),hv=(()=>{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=To([r.queryParams,r.params,r.data]).pipe(He(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?T(a):Promise.resolve(a)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=PE(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})(),pv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Ol(0,"router-outlet")},dependencies:[fv],encapsulation:2})}return t})();function mv(t){let n=t.children&&t.children.map(mv),e=n?F(g({},t),{children:n}):g({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==V&&(e.component=pv),e}function cP(t,n,e){let r=Sa(t,n._root,e?e._root:void 0);return new Ca(r,n)}function Sa(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let o=lP(t,n,e);return new gt(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=>Sa(t,a)),s}}let r=uP(n.value),o=n.children.map(i=>Sa(t,i));return new gt(r,o)}}function lP(t,n,e){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return Sa(t,r,o);return Sa(t,r)})}function uP(t){return new Yn(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Ti=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},zI="ngNavigationCancelingError";function md(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=yr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=GI(!1,Ze.Redirect);return o.url=e,o.navigationBehaviorOptions=r,o}function GI(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[zI]=!0,e.cancellationCode=n,e}function dP(t){return WI(t)&&yr(t.url)}function WI(t){return!!t&&t[zI]}var rv=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),Wg(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let o=bi(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=bi(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=bi(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=bi(e);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new fd(i.value.snapshot))}),n.children.length&&this.forwardEvent(new ud(n.value.snapshot))}activateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if(Wg(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),Wg(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)}},gd=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ei=class{component;route;constructor(n,e){this.component=n,this.route=e}};function fP(t,n,e){let r=t._root,o=n?n._root:null;return va(r,o,e,[r.value])}function hP(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ai(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!bf(t)?t:n.get(t):r}function va(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=bi(n);return t.children.forEach(s=>{pP(s,i[s.value.outlet],e,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ba(a,e.getContext(s),o)),o}function pP(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=mP(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new gd(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?va(t,n,a?a.children:null,r,o):va(t,n,e,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ei(a.outlet.component,s))}else s&&ba(n,a,o),o.canActivateChecks.push(new gd(r)),i.component?va(t,null,a?a.children:null,r,o):va(t,null,e,r,o);return o}function mP(t,n,e){if(typeof e=="function")return xe(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!go(t.url,n.url);case"pathParamsOrQueryParamsChange":return!go(t.url,n.url)||!wn(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tv(t,n)||!wn(t.queryParams,n.queryParams);default:return!tv(t,n)}}function ba(t,n,e){let r=bi(t),o=t.value;Object.entries(r).forEach(([i,s])=>{o.component?n?ba(s,n.children.getContext(i),e):ba(s,null,e):ba(s,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ei(n.outlet.component,o)):e.canDeactivateChecks.push(new Ei(null,o)):e.canDeactivateChecks.push(new Ei(null,o))}function Aa(t){return typeof t=="function"}function gP(t){return typeof t=="boolean"}function vP(t){return t&&Aa(t.canLoad)}function yP(t){return t&&Aa(t.canActivate)}function bP(t){return t&&Aa(t.canActivateChild)}function _P(t){return t&&Aa(t.canDeactivate)}function DP(t){return t&&Aa(t.canMatch)}function qI(t){return t instanceof In||t?.name==="EmptyError"}var Ku=Symbol("INITIAL_VALUE");function xi(){return He(t=>To(t.map(n=>n.pipe(Ue(1),Nr(Ku)))).pipe(H(n=>{for(let e of n)if(e!==!0){if(e===Ku)return Ku;if(e===!1||EP(e))return e}return!0}),fe(n=>n!==Ku),Ue(1)))}function EP(t){return yr(t)||t instanceof Ti}function YI(t){return t.aborted?T(void 0).pipe(Ue(1)):new O(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function ZI(t){return at(YI(t))}function wP(t){return ve(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?T(F(g({},n),{guardsResult:!0})):CP(i,e,r).pipe(ve(s=>s&&gP(s)?IP(e,o,t):T(s)),H(s=>F(g({},n),{guardsResult:s})))})}function CP(t,n,e){return se(t).pipe(ve(r=>AP(r.component,r.route,e,n)),Sn(r=>r!==!0,!0))}function IP(t,n,e){return se(n).pipe(Xn(r=>on(MP(r.route.parent,e),SP(r.route,e),xP(t,r.path),TP(t,r.route))),Sn(r=>r!==!0,!0))}function SP(t,n){return t!==null&&n&&n(new dd(t)),T(!0)}function MP(t,n){return t!==null&&n&&n(new ld(t)),T(!0)}function TP(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return T(!0);let r=e.map(o=>Vi(()=>{let i=n._environmentInjector,s=Ai(o,i),a=yP(s)?s.canActivate(n,t):xe(i,()=>s(n,t));return bo(a).pipe(Sn())}));return T(r).pipe(xi())}function xP(t,n){let e=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>hP(i)).filter(i=>i!==null).map(i=>Vi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Ai(a,c),u=bP(l)?l.canActivateChild(e,t):xe(c,()=>l(e,t));return bo(u).pipe(Sn())});return T(s).pipe(xi())}));return T(o).pipe(xi())}function AP(t,n,e,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Ai(s,a),l=_P(c)?c.canDeactivate(t,n,e,r):xe(a,()=>c(t,n,e,r));return bo(l).pipe(Sn())});return T(i).pipe(xi())}function RP(t,n,e,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return T(!0);let s=i.map(a=>{let c=Ai(a,t),l=vP(c)?c.canLoad(n,e):xe(t,()=>c(n,e)),u=bo(l);return o?u.pipe(ZI(o)):u});return T(s).pipe(xi(),KI(r))}function KI(t){return Nd(nt(n=>{if(typeof n!="boolean")throw md(t,n)}),H(n=>n===!0))}function NP(t,n,e,r,o,i){let s=n.canMatch;if(!s||s.length===0)return T(!0);let a=s.map(c=>{let l=Ai(c,t),u=DP(l)?l.canMatch(n,e,o):xe(t,()=>l(n,e,o));return bo(u).pipe(ZI(i))});return T(a).pipe(xi(),KI(r))}var Wn=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Ma=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function OP(t){throw new b(4e3,!1)}function kP(t){throw GI(!1,Ze.GuardRejected)}var ov=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[V])throw OP(`${n.redirectTo}`);o=o.children[V]}}async applyRedirectCommands(n,e,r,o,i){let s=await FP(e,o,i);if(s instanceof tt)throw new Ma(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Ma(a);return a}applyRedirectCreateUrlTree(n,e,r,o){let i=this.createSegmentGroup(n,e.root,r,o);return new tt(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 te(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 FP(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return ed(bo(xe(e,()=>r(n))))}function PP(t,n){return t.providers&&!t._injector&&(t._injector=ni(t.providers,n,`Route: ${t.path}`)),t._injector??n}function tn(t){return t.outlet||V}function LP(t,n){let e=t.filter(r=>tn(r)===n);return e.push(...t.filter(r=>tn(r)!==n)),e}var iv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function QI(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 jP(t,n,e,r,o,i,s){let a=XI(t,n,e);if(!a.matched)return T(a);let c=QI(i(a));return r=PP(n,r),NP(r,n,e,o,c,s).pipe(H(l=>l===!0?a:g({},iv)))}function XI(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?g({},iv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||wI)(e,t,n);if(!o)return g({},iv);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 DI(t,n,e,r,o){return e.length>0&&UP(t,e,r,o)?{segmentGroup:new te(n,BP(r,new te(e,t.children))),slicedSegments:[]}:e.length===0&&HP(t,e,r)?{segmentGroup:new te(t.segments,VP(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new te(t.segments,t.children),slicedSegments:e}}function VP(t,n,e,r){let o={};for(let i of e)if(yd(t,n,i)&&!r[tn(i)]){let s=new te([],{});o[tn(i)]=s}return g(g({},r),o)}function BP(t,n){let e={};e[V]=n;for(let r of t)if(r.path===""&&tn(r)!==V){let o=new te([],{});e[tn(r)]=o}return e}function UP(t,n,e,r){return e.some(o=>!yd(t,n,o)||!(tn(o)!==V)?!1:!(r!==void 0&&tn(o)===r))}function HP(t,n,e){return e.some(r=>yd(t,n,r))}function yd(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $P(t,n,e){return n.length===0&&!t.children[e]}var sv=class{};async function zP(t,n,e,r,o,i,s="emptyOnly",a){return new av(t,n,e,r,o,s,i,a).recognize()}var GP=31,av=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;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 ov(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}async recognize(){let n=DI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new gt(r,e),i=new Ia("",o),s=kI(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 Mi([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),V,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,V,e),rootSnapshot:e}}catch(r){if(r instanceof Ma)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Wn?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 gt?[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=LP(e,c),d=await this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=JI(s);return WP(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 Wn||qI(l))continue;throw l}if($P(r,o,i))return new sv;throw new Wn(r)}async processSegmentAgainstRoute(n,e,r,o,i,s,a,c){if(tn(r)!==s&&(s===V||!yd(o,i,r)))throw new Wn(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 Wn(o)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=XI(e,o,i);if(!c)throw new Wn(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GP&&(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,QI(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 Mi(r,o,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,YP(e),tn(e),e.component??e._loadedComponent??null,e,ZP(e),n),a=uv(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,e,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=Pe=>this.createSnapshot(n,r,Pe.consumedSegments,Pe.parameters,s),c=await ed(jP(e,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new Wn(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:E}=DI(e,h,p,l,i);if(E.length===0&&_.hasChildren()){let Pe=await this.processChildren(u,l,_,m);return new gt(m,Pe)}if(l.length===0&&E.length===0)return new gt(m,[]);let I=tn(r)===i,ee=await this.processSegment(u,l,_,E,I?V:i,!0,m);return new gt(m,ee instanceof gt?[ee]:[])}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 ed(RP(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 kP(e)}return{routes:[],injector:n}}};function WP(t){t.sort((n,e)=>n.value.outlet===V?-1:e.value.outlet===V?1:n.value.outlet.localeCompare(e.value.outlet))}function qP(t){let n=t.value.routeConfig;return n&&n.path===""}function JI(t){let n=[],e=new Set;for(let r of t){if(!qP(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=JI(r.children);n.push(new gt(r.value,o))}return n.filter(r=>!e.has(r))}function YP(t){return t.data||{}}function ZP(t){return t.resolve||{}}function KP(t,n,e,r,o,i,s){return ve(async a=>{let{state:c,tree:l}=await zP(t,n,e,r,a.extractedUrl,o,i,s);return F(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function QP(t){return ve(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return T(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 eS(a))i.add(c);let s=0;return se(i).pipe(Xn(a=>o.has(a)?XP(a,e,t):(a.data=uv(a,a.parent,t).resolve,T(void 0))),nt(()=>s++),ac(1),ve(a=>s===i.size?T(n):Se))})}function eS(t){let n=t.children.map(e=>eS(e)).flat();return[t,...n]}function XP(t,n,e){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!HI(r)&&(o[Ta]=r.title),Vi(()=>(t.data=uv(t,t.parent,e).resolve,JP(o,t,n).pipe(H(i=>(t._resolvedData=i,t.data=g(g({},t.data),i),null)))))}function JP(t,n,e){let r=Yg(t);if(r.length===0)return T({});let o={};return se(r).pipe(ve(i=>eL(t[i],n,e).pipe(Sn(),nt(s=>{if(s instanceof Ti)throw md(new qn,s);o[i]=s}))),ac(1),H(()=>o),sn(i=>qI(i)?Se:Tr(i)))}function eL(t,n,e){let r=n._environmentInjector,o=Ai(t,r),i=o.resolve?o.resolve(n,e):xe(r,()=>o(n,e));return bo(i)}function EI(t){return He(n=>{let e=t(n);return e?se(e).pipe(H(()=>n)):T(n)})}var gv=(()=>{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===V);return r}getResolvedTitleForRoute(e){return e.data[Ta]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(tS),providedIn:"root"})}return t})(),tS=(()=>{class t extends gv{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(xw))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dr=new y("",{factory:()=>({})}),Ri=new y(""),bd=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(Xp);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 II(xe(e,()=>r.loadComponent())),s=await oS(rS(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 nS(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 nS(t,n,e,r){let o=await II(xe(e,()=>t.loadChildren())),i=await oS(rS(o)),s;i instanceof Sl||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(Ri,[],{optional:!0,self:!0}).flat()),{routes:c.map(mv),injector:a,factory:u}}function tL(t){return t&&typeof t=="object"&&"default"in t}function rS(t){return tL(t)?t.default:t}async function oS(t){return t}var _d=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(nL),providedIn:"root"})}return t})(),nL=(()=>{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})(),vv=new y(""),yv=new y("");function iS(t,n,e){let r=t.get(yv),o=t.get(L);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(),rL(t)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&xe(t,()=>c({transition:a,from:n,to:e})),s}function rL(t){return new Promise(n=>{ht({read:()=>setTimeout(n)},{injector:t})})}var oL=()=>{},bv=new y(""),Dd=(()=>{class t{currentNavigation=W(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=W(null);events=new S;transitionAbortWithErrorSubject=new S;configLoader=f(bd);environmentInjector=f(re);destroyRef=f(Ae);urlSerializer=f(_r);rootContexts=f(_o);location=f(bn);inputBindingEnabled=f(xa,{optional:!0})!==null;titleStrategy=f(gv);options=f(Dr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(_d);createViewTransition=f(vv,{optional:!0});navigationErrorHandler=f(bv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new ad(o)),r=o=>this.events.next(new cd(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;q(()=>{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 Ie(null),this.transitions.pipe(fe(r=>r!==null),He(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return T(r).pipe(He(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),Se;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 Cn(a.id,this.urlSerializer.serialize(a.rawUrl),"",wi.IgnoredSameUrlNavigation)),a.resolve(!1),Se;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return T(a).pipe(He(d=>(this.events.next(new br(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Se:Promise.resolve(d))),KP(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),nt(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new wa)}),He(d=>se(r.routesRecognizeHandler.deferredHandle??T(void 0)).pipe(H(()=>d))),nt(()=>{let d=new Ea(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,E=new br(d,this.urlSerializer.serialize(h),p,m);this.events.next(E);let I=BI(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(g({},a),{targetSnapshot:I,urlAfterRedirects:h,extras:F(g({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=h,ee)),T(r)}else return this.events.next(new Cn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",wi.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Se}),H(a=>{let c=new rd(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:fP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),wP(a=>this.events.next(a)),He(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw md(this.urlSerializer,a.guardsResult);let c=new od(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Se;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ze.GuardRejected),Se;if(a.guards.canActivateChecks.length===0)return T(a);let l=new id(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Se;let u=!1;return T(a).pipe(QP(this.paramsInheritanceStrategy),nt({next:()=>{u=!0;let d=new sd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",Ze.NoDataFromResolver)}}))}),EI(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?T(a):se(Promise.all(l).then(()=>a))}),EI(()=>this.afterPreactivation()),He(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?se(l).pipe(H(()=>r)):T(r)}),Ue(1),He(a=>{let c=cP(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 Ii);let l=r.beforeActivateHandler.deferredHandle;return l?se(l.then(()=>a)):T(a)}),nt(a=>{new rv(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=oL,c)),this.lastSuccessfulNavigation.set(q(this.currentNavigation)),this.events.next(new yt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),at(YI(i.signal).pipe(fe(()=>!o&&!r.targetRouterState),nt(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",Ze.Aborted)}))),nt({complete:()=>{o=!0}}),at(this.transitionAbortWithErrorSubject.pipe(nt(a=>{throw a}))),Rr(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),sn(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Se;if(WI(a))this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),dP(a)?this.events.next(new Si(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new yo(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=xe(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Ti){let{message:u,cancellationCode:d}=md(this.urlSerializer,l);this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new Si(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Se}))}))}cancelNavigationTransition(e,r,o){let i=new Rt(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=q(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 iL(t){return t!==Di}var sS=new y("");var aS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(sL),providedIn:"root"})}return t})(),vd=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}},sL=(()=>{class t extends vd{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ne(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ed=(()=>{class t{urlSerializer=f(_r);options=f(Dr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(bn);urlHandlingStrategy=f(_d);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new tt;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 tt?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=BI(null,f(re));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(aL),providedIn:"root"})}return t})(),aL=(()=>{class t extends Ed{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 br?this.updateStateMemento():e instanceof Cn?this.commitTransition(r):e instanceof Ea?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ii?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Rt&&!VI(e)?this.restoreHistory(r):e instanceof yo?this.restoreHistory(r,!0):e instanceof yt&&(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=Ne(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wd(t,n){t.events.pipe(fe(e=>e instanceof yt||e instanceof Rt||e instanceof yo||e instanceof Cn),H(e=>e instanceof yt||e instanceof Cn?0:(e instanceof Rt?e.code===Ze.Redirect||e.code===Ze.SupersededByNewNavigation:!1)?2:1),fe(e=>e!==2),Ue(1)).subscribe(()=>{n()})}var bt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(Ml);stateManager=f(Ed);options=f(Dr,{optional:!0})||{};pendingTasks=f(kn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(Dd);urlSerializer=f(_r);location=f(bn);urlHandlingStrategy=f(_d);injector=f(re);_events=new S;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(aS);injectorCleanup=f(sS,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(Ri,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(xa,{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=q(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Rt&&r.code!==Ze.Redirect&&r.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof yt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Si){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"||iL(o.source)},s);this.scheduleNavigation(a,Di,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}sP(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),Di,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(ut)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return q(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(mv),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=FI(h)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return PI(d,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let o=yr(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Di,null,r)}navigate(e,r={skipLocationChange:!1}){return cL(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(Dt(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let o;if(r===!0?o=g({},cv):r===!1?o=g({},_a):o=g(g({},_a),r),yr(e))return Zg(this.currentUrlTree,e,o);let i=this.parseUrl(e);return Zg(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 wd(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 cL(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b(4008,!1)}var lL=(()=>{class t{router=f(bt);stateManager=f(Ed);fragment=W("");queryParams=W({});path=W("");serializer=f(_r);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof yt&&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 tt(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=f(new Vl("href"),{optional:!0});reactiveHref=em(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return q(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return q(this._target)}_target=W(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return q(this._queryParams)}_queryParams=W(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return q(this._fragment)}_fragment=W(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return q(this._queryParamsHandling)}_queryParamsHandling=W(void 0);set state(e){this._state.set(e)}get state(){return q(this._state)}_state=W(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return q(this._info)}_info=W(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return q(this._relativeTo)}_relativeTo=W(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return q(this._preserveFragment)}_preserveFragment=W(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return q(this._skipLocationChange)}_skipLocationChange=W(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return q(this._replaceUrl)}_replaceUrl=W(!1);isAnchorElement;onChanges=new S;applicationErrorHandler=f(ut);options=f(Dr,{optional:!0});reactiveRouterState=f(lL);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=W(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(yr(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)}_urlTree=Kt(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=o=>o==="preserve"||o==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:yr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return q(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(D(bt),D(Yn),Cs("tabindex"),D(Oe),D(z),D(Xt))};static \u0275dir=M({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&Zt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Yt("href",o.reactiveHref(),hp)("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:[Re]})}return t})(),uL=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new U;link=f(Cd,{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 yt&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(rn()).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=se(e).pipe(rn()).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=dL(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},cv):g({},_a);return o=>{let i=o.urlTree;return i?q(lv(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)(D(bt),D(z),D(Oe),D(St))};static \u0275dir=M({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&kl(i,Cd,5),r&2){let s;Fs(s=Ps())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Re]})}return t})();function dL(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Ra=class{};var cS=(()=>{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(fe(e=>e instanceof yt),Xn(()=>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=ni(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 se(o).pipe(rn())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return T(null);let o;r.loadChildren&&r.canLoad===void 0?o=se(this.loader.loadChildren(e,r)):o=T(null);let i=o.pipe(ve(s=>s===null?T(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 se([i,s]).pipe(rn())}else return i})}static \u0275fac=function(r){return new(r||t)(w(bt),w(re),w(Ra),w(bd))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lS=new y(""),fL=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Di;restoredId=0;store={};isHydrating=f(sp,{optional:!0})??!1;urlSerializer=f(_r);zone=f(j);viewportScroller=f(Mm);transitions=f(Dd);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&f(Be).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 br?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof yt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Cn&&e.code===wi.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 Ci)||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=q(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 Ci(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Rp()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function hL(){return f(bt).routerState.root}function Na(t,n){return{\u0275kind:t,\u0275providers:n}}function pL(){let t=f($);return n=>{let e=t.get(Be);if(n!==e.components[0])return;let r=t.get(bt),o=t.get(uS);t.get(Dv)===1&&r.initialNavigation(),t.get(hS,null,{optional:!0})?.setUpPreloading(),t.get(lS,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var uS=new y("",{factory:()=>new S}),Dv=new y("",{factory:()=>1});function dS(){let t=[{provide:fl,useValue:!0},{provide:Dv,useValue:0},Rl(()=>{let n=f($);return n.get(mm,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(bt),i=n.get(uS);wd(o,()=>{r(!0)}),n.get(Dd).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))})];return Na(2,t)}function fS(){let t=[Rl(()=>{f(bt).setUpLocationChangeListener()}),{provide:Dv,useValue:2}];return Na(3,t)}var hS=new y("");function pS(t){return Na(0,[{provide:hS,useExisting:cS},{provide:Ra,useExisting:t}])}function mS(){return Na(8,[hv,{provide:xa,useExisting:hv}])}function gS(t){qt("NgRouterViewTransitions");let n=[{provide:vv,useValue:iS},{provide:yv,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Na(9,n)}var vS=[bn,{provide:_r,useClass:qn},bt,_o,{provide:Yn,useFactory:hL},bd,[]],mL=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[vS,[],{provide:Ri,multi:!0,useValue:e},[],r?.errorHandler?{provide:bv,useValue:r.errorHandler}:[],{provide:Dr,useValue:r||{}},r?.useHash?vL():yL(),gL(),r?.preloadingStrategy?pS(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?bL(r):[],r?.bindToComponentInputs?mS().\u0275providers:[],r?.enableViewTransitions?gS().\u0275providers:[],_L()]}}static forChild(e){return{ngModule:t,providers:[{provide:Ri,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function gL(){return{provide:lS,useFactory:()=>{let t=f(Mm),n=f(Dr);return n.scrollOffset&&t.setOffset(n.scrollOffset),new fL(n)}}}function vL(){return{provide:Xt,useClass:Em}}function yL(){return{provide:Xt,useClass:Wl}}function bL(t){return[t.initialNavigation==="disabled"?fS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?dS().\u0275providers:[]]}var _v=new y("");function _L(){return[{provide:_v,useFactory:pL},{provide:Nl,multi:!0,useExisting:_v}]}var Id=class t extends Error{originalError;constructor(n){super(n)}static fromError(n,e){let r=new t(n);return r.originalError=e,r}},EL=(()=>{class t{handleError(e){let r=e;return e.name==="HttpErrorResponse"&&e.status===0?r=Id.fromError("Controller is unreachable",e):e.error?.message&&(r=Id.fromError(e.error.message,e)),Tr(()=>r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),tJ=(()=>{class t{http;errorHandler;router;requestsNotificationEmitter=new U;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}/${Iu.current_version}${r}`):r=`/${Iu.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(sn(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),Tr(()=>c))}))}retryAfterRefresh(e,r,o,i,s,a){return this.isRefreshing?new O(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(He(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))),sn(c=>(this.isRefreshing=!1,this.processQueue(c),c.status===401&&this.redirectToLogin(e),Tr(()=>c)))))}doRefreshToken(e,r){let o=`${e.protocol}//${e.host}:${e.port}/${Iu.current_version}/access/users/refresh`;return this.http.post(o,{refresh_token:r},{headers:new _n({"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(fu),w(EL),w(bt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Ev=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 S;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 wL=(()=>{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 yS=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=Dn.INSERTED}else c==null?(e.remove(a),u=Dn.REMOVED):(l=e.get(a),e.move(l,c),u=Dn.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){}};var mJ=(()=>{class t{_animationsDisabled=mr();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ke({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,IS as c,CL as d,IL as e,SL as f,G as g,O as h,S as i,Ie as j,Pi as k,jd as l,Vd as m,Se as n,se as o,T as p,Tr as q,Ft as r,HS as s,zS as t,H as u,To as v,ve as w,on as x,Vi as y,Ud as z,Hd as A,xr as B,sM as C,aM as D,fe as E,Bi as F,sn as G,$d as H,Xn as I,cM as J,Ar as K,Ue as L,zd as M,lM as N,xo as O,Rr as P,ac as Q,ry as R,qd as S,oy as T,Ui as U,Nr as V,He as W,at as X,nt as Y,b as Z,be as _,v as $,Z as aa,y as ba,w as ca,f as da,xy as ea,re as fa,Hy as ga,$y as ha,tb as ia,nb as ja,$ as ka,L as la,Ae as ma,U as na,j as oa,_t as pa,W as qa,Go as ra,Re as sa,Ne as ta,z as ua,Fn as va,Jr as wa,Is as xa,ot as ya,c0 as za,k_ as Aa,F_ as Ba,d0 as Ca,f0 as Da,bp as Ea,ht as Fa,dt as Ga,je as Ha,Oe as Ia,D as Ja,Rp as Ka,qe as La,ke as Ma,X as Na,M as Oa,Ns as Pa,pA as Qa,J as Ra,jD as Sa,VD as Ta,ri as Ua,Be as Va,zD as Wa,Yt as Xa,MA as Ya,xA as Za,zp as _a,AA as $a,RA as ab,NA as bb,OA as cb,kA as db,GD as eb,cl as fb,Gp as gb,Ol as hb,to as ib,no as jb,yn as kb,Wp as lb,qp as mb,qD as nb,BA as ob,YD as pb,Zt as qb,KD as rb,GA as sb,ro as tb,Vn as ub,kl as vb,Fl as wb,Fs as xb,Ps as yb,XD as zb,JD as Ab,YA as Bb,ZA as Cb,Pl as Db,Xe as Eb,Yp as Fb,gR as Gb,cE as Hb,Zp as Ib,lE as Jb,uE as Kb,dE as Lb,_R as Mb,fE as Nb,DR as Ob,ER as Pb,we as Qb,SR as Rb,MR as Sb,TR as Tb,xR as Ub,AR as Vb,NR as Wb,kR as Xb,FR as Yb,PR as Zb,LR as _b,jR as $b,q as ac,Kt as bc,Vl as cc,Zq as dc,Kq as ec,RE as fc,Qq as gc,Xq as hc,Jq as ic,e5 as jc,St as kc,Hl as lc,ue as mc,hm as nc,n5 as oc,bn as pc,AN as qc,nw as rc,RN as sc,NN as tc,ON as uc,PN as vc,jN as wc,UN as xc,Cm as yc,iw as zc,km as Ac,nO as Bc,lO as Cc,_n as Dc,$n as Ec,oi as Fc,io as Gc,ii as Hc,Cw as Ic,fu as Jc,RO as Kc,xw as Lc,k9 as Mc,zm as Nc,xt as Oc,Wm as Pc,LO as Qc,Je as Rc,Qs as Sc,Xs as Tc,so as Uc,Nw as Vc,Tt as Wc,he as Xc,fi as Yc,oa as Zc,Ik as _c,fg as $c,Dn as ad,hg as bd,zn as cd,xk as dd,ia as ed,gg as fd,uo as gd,Fk as hd,Pk as id,mg as jd,vg as kd,ta as ld,ao as md,yg as nd,hi as od,Su as pd,Mu as qd,kK as rd,FK as sd,mC as td,bu as ud,wC as vd,wg as wd,ca as xd,Cg as yd,Nu as zd,Sg as Ad,AC as Bd,Mg as Cd,Tg as Dd,Eg as Ed,Uk as Fd,Hk as Gd,yS as Hd,po as Id,zC as Jd,En as Kd,kC as Ld,et as Md,Gn as Nd,BQ as Od,UQ as Pd,ho as Qd,HQ as Rd,lF as Sd,gi as Td,zQ as Ud,hF as Vd,GQ as Wd,mF as Xd,vF as Yd,lI as Zd,uI as _d,DF as $d,wF as ae,WQ as be,qQ as ce,xF as de,RF as ee,OF as fe,kF as ge,YQ as he,ZQ as ie,KQ as je,pu as ke,jO as le,vu as me,BO as ne,yu as oe,Zm as pe,FY as qe,$w as re,zO as se,tk as te,rk as ue,ok as ve,Xm as we,Jm as xe,eg as ye,TZ as ze,sk as Ae,ak as Be,UZ as Ce,l7 as De,QZ as Ee,n7 as Fe,lk as Ge,mr as He,br as Ie,yt as Je,Rt as Ke,yo as Le,Yn as Me,fv as Ne,bt as Oe,Cd as Pe,uL as Qe,mL as Re,ra as Se,cg as Te,C7 as Ue,aC as Ve,cC as We,yk as Xe,dC as Ye,nK as Ze,rK as _e,Iu as $e,EL as af,tJ as bf,Ev as cf,wL as df,mJ as ef};
|