mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-25 21:30:21 +03:00
16 lines
460 KiB
JavaScript
16 lines
460 KiB
JavaScript
var UE=Object.create;var bs=Object.defineProperty,$E=Object.defineProperties,zE=Object.getOwnPropertyDescriptor,GE=Object.getOwnPropertyDescriptors,WE=Object.getOwnPropertyNames,vs=Object.getOwnPropertySymbols,qE=Object.getPrototypeOf,Sl=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable;var Up=(t,n,e)=>n in t?bs(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,w=(t,n)=>{for(var e in n||={})Sl.call(n,e)&&Up(t,e,n[e]);if(vs)for(var e of vs(n))$p.call(n,e)&&Up(t,e,n[e]);return t},V=(t,n)=>$E(t,GE(n));var YE=(t,n)=>{var e={};for(var r in t)Sl.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&vs)for(var r of vs(t))n.indexOf(r)<0&&$p.call(t,r)&&(e[r]=t[r]);return e};var dR=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),fR=(t,n)=>{for(var e in n)bs(t,e,{get:n[e],enumerable:!0})},ZE=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of WE(n))!Sl.call(t,o)&&o!==e&&bs(t,o,{get:()=>n[o],enumerable:!(r=zE(n,o))||r.enumerable});return t};var hR=(t,n,e)=>(e=t!=null?UE(qE(t)):{},ZE(n||!t||!t.__esModule?bs(e,"default",{value:t,enumerable:!0}):e,t));function x(t){return typeof t=="function"}function mn(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 _s=mn(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 Bn(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var B=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(x(r))try{r()}catch(i){n=i instanceof _s?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{zp(i)}catch(s){n=n??[],s instanceof _s?n=[...n,...s.errors]:n.push(s)}}if(n)throw new _s(n)}}add(n){var e;if(n&&n!==this)if(this.closed)zp(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)&&Bn(e,n)}remove(n){let{_finalizers:e}=this;e&&Bn(e,n),n instanceof t&&n._removeParent(this)}};B.EMPTY=(()=>{let t=new B;return t.closed=!0,t})();var Tl=B.EMPTY;function Ds(t){return t instanceof B||t&&"closed"in t&&x(t.remove)&&x(t.add)&&x(t.unsubscribe)}function zp(t){x(t)?t():t.unsubscribe()}var ut={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var kr={setTimeout(t,n,...e){let{delegate:r}=kr;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=kr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Es(t){kr.setTimeout(()=>{let{onUnhandledError:n}=ut;if(n)n(t);else throw t})}function Hn(){}var Gp=xl("C",void 0,void 0);function Wp(t){return xl("E",void 0,t)}function qp(t){return xl("N",t,void 0)}function xl(t,n,e){return{kind:t,value:n,error:e}}var Un=null;function Fr(t){if(ut.useDeprecatedSynchronousErrorHandling){let n=!Un;if(n&&(Un={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Un;if(Un=null,e)throw r}}else t()}function Yp(t){ut.useDeprecatedSynchronousErrorHandling&&Un&&(Un.errorThrown=!0,Un.error=t)}var $n=class extends B{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ds(n)&&n.add(this)):this.destination=QE}static create(n,e,r){return new dt(n,e,r)}next(n){this.isStopped?Nl(qp(n),this):this._next(n)}error(n){this.isStopped?Nl(Wp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Nl(Gp,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()}}},KE=Function.prototype.bind;function Al(t,n){return KE.call(t,n)}var Rl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){ws(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){ws(r)}else ws(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){ws(e)}}},dt=class extends $n{constructor(n,e,r){super();let o;if(x(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&ut.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Al(n.next,i),error:n.error&&Al(n.error,i),complete:n.complete&&Al(n.complete,i)}):o=n}this.destination=new Rl(o)}};function ws(t){ut.useDeprecatedSynchronousErrorHandling?Yp(t):Es(t)}function XE(t){throw t}function Nl(t,n){let{onStoppedNotification:e}=ut;e&&kr.setTimeout(()=>e(t,n))}var QE={closed:!0,next:Hn,error:XE,complete:Hn};var Pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function qe(t){return t}function JE(...t){return Ol(t)}function Ol(t){return t.length===0?qe: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=tw(e)?e:new dt(e,r,o);return Fr(()=>{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=Zp(r),new r((o,i)=>{let s=new dt({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)}[Pr](){return this}pipe(...e){return Ol(e)(this)}toPromise(e){return e=Zp(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 Zp(t){var n;return(n=t??ut.Promise)!==null&&n!==void 0?n:Promise}function ew(t){return t&&x(t.next)&&x(t.error)&&x(t.complete)}function tw(t){return t&&t instanceof $n||ew(t)&&Ds(t)}var Kp=mn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=(()=>{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 Cs(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Kp}next(e){Fr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Fr(()=>{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(){Fr(()=>{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?Tl:(this.currentObservers=null,i.push(e),new B(()=>{this.currentObservers=null,Bn(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 Cs(n,e),t})(),Cs=class extends N{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:Tl}};function kl(t){return x(t?.lift)}function R(t){return n=>{if(kl(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,n,e,r,o){return new Fl(t,n,e,r,o)}var Fl=class extends $n{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 Qp(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 Xp(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 zn(t){return this instanceof zn?(this.v=t,this):new zn(t)}function Jp(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(h){return function(m){return Promise.resolve(m).then(h,d)}}function a(h,m){r[h]&&(o[h]=function(b){return new Promise(function(_,C){i.push([h,b,_,C])>1||c(h,b)})},m&&(o[h]=m(o[h])))}function c(h,m){try{l(r[h](m))}catch(b){p(i[0][3],b)}}function l(h){h.value instanceof zn?Promise.resolve(h.value.v).then(u,d):p(i[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function p(h,m){h(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function em(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 Xp=="function"?Xp(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 Lr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Is(t){return x(t?.then)}function Ms(t){return x(t[Pr])}function Ss(t){return Symbol.asyncIterator&&x(t?.[Symbol.asyncIterator])}function Ts(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 nw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xs=nw();function As(t){return x(t?.[xs])}function Ns(t){return Jp(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield zn(e.read());if(o)return yield zn(void 0);yield yield zn(r)}}finally{e.releaseLock()}})}function Rs(t){return x(t?.getReader)}function $(t){if(t instanceof O)return t;if(t!=null){if(Ms(t))return rw(t);if(Lr(t))return ow(t);if(Is(t))return iw(t);if(Ss(t))return tm(t);if(As(t))return sw(t);if(Rs(t))return aw(t)}throw Ts(t)}function rw(t){return new O(n=>{let e=t[Pr]();if(x(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ow(t){return new O(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function iw(t){return new O(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Es)})}function sw(t){return new O(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function tm(t){return new O(n=>{cw(t,n).catch(e=>n.error(e))})}function aw(t){return tm(Ns(t))}function cw(t,n){var e,r,o,i;return Qp(this,void 0,void 0,function*(){try{for(e=em(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 qt(t){return R((n,e)=>{$(t).subscribe(A(e,()=>e.complete(),Hn)),!e.closed&&n.subscribe(e)})}function nm(){return R((t,n)=>{let e=null;t._refCount++;let r=A(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,i=e;e=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var jo=class extends O{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,kl(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 B;let e=this.getSubject();n.add(this.source.subscribe(A(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=B.EMPTY)}return n}refCount(){return nm()(this)}};var Vr={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=Vr;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let o=n(i=>{e=void 0,t(i)});return new B(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=Vr;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Vr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Gn=class extends N{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 Bo={now(){return(Bo.delegate||Date).now()},delegate:void 0};var Ho=class extends N{constructor(n=1/0,e=1/0,r=Bo){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 Os=class extends B{constructor(n,e){super()}schedule(n,e=0){return this}};var Uo={setInterval(t,n,...e){let{delegate:r}=Uo;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Uo;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var gn=class extends Os{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 Uo.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&&Uo.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,Bn(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var lw=1,Pl,Ll={};function rm(t){return t in Ll?(delete Ll[t],!0):!1}var om={setImmediate(t){let n=lw++;return Ll[n]=!0,Pl||(Pl=Promise.resolve()),Pl.then(()=>rm(n)&&t()),n},clearImmediate(t){rm(t)}};var{setImmediate:uw,clearImmediate:dw}=om,$o={setImmediate(...t){let{delegate:n}=$o;return(n?.setImmediate||uw)(...t)},clearImmediate(t){let{delegate:n}=$o;return(n?.clearImmediate||dw)(t)},delegate:void 0};var ks=class extends gn{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=$o.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&&($o.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var jr=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)}};jr.now=Bo.now;var yn=class extends jr{constructor(n,e=jr.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 Fs=class extends yn{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 Vl=new Fs(ks);var ft=new yn(gn),im=ft;var Ps=class extends gn{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=Vr.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&&(Vr.cancelAnimationFrame(e),n._scheduled=void 0)}};var Ls=class extends yn{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 jl=new Ls(Ps);var Wn=new O(t=>t.complete());function Vs(t){return t&&x(t.schedule)}function Bl(t){return t[t.length-1]}function js(t){return x(Bl(t))?t.pop():void 0}function xt(t){return Vs(Bl(t))?t.pop():void 0}function sm(t,n){return typeof Bl(t)=="number"?t.pop():n}function Ie(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 Bs(t,n=0){return R((e,r)=>{e.subscribe(A(r,o=>Ie(r,t,()=>r.next(o),n),()=>Ie(r,t,()=>r.complete(),n),o=>Ie(r,t,()=>r.error(o),n)))})}function Hs(t,n=0){return R((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function am(t,n){return $(t).pipe(Hs(n),Bs(n))}function cm(t,n){return $(t).pipe(Hs(n),Bs(n))}function lm(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 um(t,n){return new O(e=>{let r;return Ie(e,n,()=>{r=t[xs](),Ie(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)}),()=>x(r?.return)&&r.return()})}function Us(t,n){if(!t)throw new Error("Iterable cannot be null");return new O(e=>{Ie(e,n,()=>{let r=t[Symbol.asyncIterator]();Ie(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function dm(t,n){return Us(Ns(t),n)}function fm(t,n){if(t!=null){if(Ms(t))return am(t,n);if(Lr(t))return lm(t,n);if(Is(t))return cm(t,n);if(Ss(t))return Us(t,n);if(As(t))return um(t,n);if(Rs(t))return dm(t,n)}throw Ts(t)}function et(t,n){return n?fm(t,n):$(t)}function Be(...t){let n=xt(t);return et(t,n)}function zo(t,n){let e=x(t)?t:()=>t,r=o=>o.error(e());return new O(n?o=>n.schedule(r,0,o):r)}function vn(t){return!!t&&(t instanceof O||x(t.lift)&&x(t.subscribe))}var qn=mn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function fw(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new qn)}});t.subscribe(i)})}function $s(t){return t instanceof Date&&!isNaN(t)}var hw=mn(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function pw(t,n){let{first:e,each:r,with:o=mw,scheduler:i=n??ft,meta:s=null}=$s(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&r==null)throw new TypeError("No timeout provided.");return R((a,c)=>{let l,u,d=null,p=0,h=m=>{u=Ie(c,i,()=>{try{l.unsubscribe(),$(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(b){c.error(b)}},m)};l=a.subscribe(A(c,m=>{u?.unsubscribe(),p++,c.next(d=m),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&h(e!=null?typeof e=="number"?e:+e-i.now():r)})}function mw(t){throw new hw(t)}function re(t,n){return R((e,r)=>{let o=0;e.subscribe(A(r,i=>{r.next(t.call(n,i,o++))}))})}var{isArray:gw}=Array;function yw(t,n){return gw(n)?t(...n):t(n)}function Br(t){return re(n=>yw(t,n))}var{isArray:vw}=Array,{getPrototypeOf:bw,prototype:_w,keys:Dw}=Object;function zs(t){if(t.length===1){let n=t[0];if(vw(n))return{args:n,keys:null};if(Ew(n)){let e=Dw(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function Ew(t){return t&&typeof t=="object"&&bw(t)===_w}function Gs(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function Hl(...t){let n=xt(t),e=js(t),{args:r,keys:o}=zs(t);if(r.length===0)return et([],n);let i=new O(ww(r,n,o?s=>Gs(o,s):qe));return e?i.pipe(Br(e)):i}function ww(t,n,e=qe){return r=>{hm(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)hm(n,()=>{let l=et(t[c],n),u=!1;l.subscribe(A(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function hm(t,n,e){t?Ie(e,t,n):n()}function pm(t,n,e,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},h=b=>l<r?m(b):c.push(b),m=b=>{i&&n.next(b),l++;let _=!1;$(e(b,u++)).subscribe(A(n,C=>{o?.(C),i?h(C):n.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let C=c.shift();s?Ie(n,s,()=>m(C)):m(C)}p()}catch(C){n.error(C)}}))};return t.subscribe(A(n,h,()=>{d=!0,p()})),()=>{a?.()}}function ht(t,n,e=1/0){return x(n)?ht((r,o)=>re((i,s)=>n(r,i,o,s))($(t(r,o))),e):(typeof n=="number"&&(e=n),R((r,o)=>pm(r,o,t,e)))}function Go(t=1/0){return ht(qe,t)}function mm(){return Go(1)}function bn(...t){return mm()(et(t,xt(t)))}function Cw(t){return new O(n=>{$(t()).subscribe(n)})}function Ul(...t){let n=js(t),{args:e,keys:r}=zs(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;$(e[u]).subscribe(A(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Gs(r,a):a),i.complete())}))}});return n?o.pipe(Br(n)):o}var Iw=["addListener","removeListener"],Mw=["addEventListener","removeEventListener"],Sw=["on","off"];function $l(t,n,e,r){if(x(e)&&(r=e,e=void 0),r)return $l(t,n,e).pipe(Br(r));let[o,i]=Aw(t)?Mw.map(s=>a=>t[s](n,a,e)):Tw(t)?Iw.map(gm(t,n)):xw(t)?Sw.map(gm(t,n)):[];if(!o&&Lr(t))return ht(s=>$l(s,n,e))($(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 gm(t,n){return e=>r=>t[e](n,r)}function Tw(t){return x(t.addListener)&&x(t.removeListener)}function xw(t){return x(t.on)&&x(t.off)}function Aw(t){return x(t.addEventListener)&&x(t.removeEventListener)}function Yn(t=0,n,e=im){let r=-1;return n!=null&&(Vs(n)?e=n:r=n),new O(o=>{let i=$s(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 Nw(t=0,n=ft){return t<0&&(t=0),Yn(t,t,n)}function Rw(...t){let n=xt(t),e=sm(t,1/0),r=t;return r.length?r.length===1?$(r[0]):Go(e)(et(r,n)):Wn}function we(t,n){return R((e,r)=>{let o=0;e.subscribe(A(r,i=>t.call(n,i,o++)&&r.next(i)))})}function ym(t){return R((n,e)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,e.next(l)}s&&e.complete()},c=()=>{i=null,s&&e.complete()};n.subscribe(A(e,l=>{r=!0,o=l,i||$(t(l)).subscribe(i=A(e,a,c))},()=>{s=!0,(!r||!i||i.closed)&&e.complete()}))})}function Wo(t,n=ft){return ym(()=>Yn(t,n))}function Hr(t){return R((n,e)=>{let r=null,o=!1,i;r=n.subscribe(A(e,void 0,void 0,s=>{i=$(t(s,Hr(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function vm(t,n,e,r,o){return(i,s)=>{let a=e,c=n,l=0;i.subscribe(A(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function zl(t,n){return R(vm(t,n,arguments.length>=2,!1,!0))}function Gl(t,n){return x(n)?ht(t,n,1):ht(t,1)}function Ow(t){return zl((n,e,r)=>!t||t(e,r)?n+1:n,0)}function Zn(t,n=ft){return R((e,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+t,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}e.subscribe(A(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function bm(t){return R((n,e)=>{let r=!1;n.subscribe(A(e,o=>{r=!0,e.next(o)},()=>{r||e.next(t),e.complete()}))})}function pt(t){return t<=0?()=>Wn:R((n,e)=>{let r=0;n.subscribe(A(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function _m(){return R((t,n)=>{t.subscribe(A(n,Hn))})}function Wl(t){return re(()=>t)}function ql(t,n){return n?e=>bn(n.pipe(pt(1),_m()),e.pipe(ql(t))):ht((e,r)=>$(t(e,r)).pipe(pt(1),Wl(e)))}function kw(t,n=ft){let e=Yn(t,n);return ql(()=>e)}function Ur(t,n=qe){return t=t??Fw,R((e,r)=>{let o,i=!0;e.subscribe(A(r,s=>{let a=n(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Fw(t,n){return t===n}function Dm(t=Pw){return R((n,e)=>{let r=!1;n.subscribe(A(e,o=>{r=!0,e.next(o)},()=>r?e.complete():e.error(t())))})}function Pw(){return new qn}function Ws(t){return R((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Lw(t,n){let e=arguments.length>=2;return r=>r.pipe(t?we((o,i)=>t(o,i,r)):qe,pt(1),e?bm(n):Dm(()=>new qn))}function Vw(t){return t<=0?()=>Wn:R((n,e)=>{let r=[];n.subscribe(A(e,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)e.next(o);e.complete()},void 0,()=>{r=null}))})}function Em(){return R((t,n)=>{let e,r=!1;t.subscribe(A(n,o=>{let i=e;e=o,r&&n.next([i,o]),r=!0}))})}function Zl(t={}){let{connector:n=()=>new N,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},h=()=>{p(),s=c=void 0,u=d=!1},m=()=>{let b=s;h(),b?.unsubscribe()};return R((b,_)=>{l++,!d&&!u&&p();let C=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Yl(m,o))}),C.subscribe(_),!s&&l>0&&(s=new dt({next:ne=>C.next(ne),error:ne=>{d=!0,p(),a=Yl(h,e,ne),C.error(ne)},complete:()=>{u=!0,p(),a=Yl(h,r),C.complete()}}),$(b).subscribe(s))})(i)}}function Yl(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new dt({next:()=>{r.unsubscribe(),t()}});return $(n(...e)).subscribe(r)}function wm(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,Zl({connector:()=>new Ho(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function qo(t){return we((n,e)=>t<=e)}function Yo(...t){let n=xt(t);return R((e,r)=>{(n?bn(t,e,n):bn(t,e)).subscribe(r)})}function $r(t,n){return R((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(A(r,c=>{o?.unsubscribe();let l=0,u=i++;$(t(c,u)).subscribe(o=A(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kl(t,n=!1){return R((e,r)=>{let o=0;e.subscribe(A(r,i=>{let s=t(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Xl(t,n,e){let r=x(t)||n||e?{next:t,error:n,complete:e}:t;return r?R((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):qe}var Me=null,qs=!1,Ql=1,jw=null,ie=Symbol("SIGNAL");function M(t){let n=Me;return Me=t,n}function Ys(){return Me}var _n={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 Yt(t){if(qs)throw new Error("");if(Me===null)return;Me.consumerOnSignalRead(t);let n=Me.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=Me.recomputing;if(r&&(e=n!==void 0?n.nextProducer:Me.producers,e!==void 0&&e.producer===t)){Me.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===Me&&(!r||Hw(o,Me)))return;let i=Wr(Me),s={producer:t,consumer:Me,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};Me.producersTail=s,n!==void 0?n.nextProducer=s:Me.producers=s,i&&Sm(t,s)}function Cm(){Ql++}function Qn(t){if(!(Wr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ql)){if(!t.producerMustRecompute(t)&&!Gr(t)){zr(t);return}t.producerRecomputeValue(t),zr(t)}}function Jl(t){if(t.consumers===void 0)return;let n=qs;qs=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||Bw(r)}}finally{qs=n}}function eu(){return Me?.consumerAllowSignalWrites!==!1}function Bw(t){t.dirty=!0,Jl(t),t.consumerMarkedDirty?.(t)}function zr(t){t.dirty=!1,t.lastCleanEpoch=Ql}function Zt(t){return t&&Im(t),M(t)}function Im(t){t.producersTail=void 0,t.recomputing=!0}function Dn(t,n){M(n),t&&Mm(t)}function Mm(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Wr(t))do e=tu(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Gr(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(Qn(e),r!==e.version))return!0}return!1}function En(t){if(Wr(t)){let n=t.producers;for(;n!==void 0;)n=tu(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Sm(t,n){let e=t.consumersTail,r=Wr(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)Sm(o.producer,o)}function tu(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,!Wr(n)){let i=n.producers;for(;i!==void 0;)i=tu(i)}return e}function Wr(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Zo(t){jw?.(t)}function Hw(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 Ko(t,n){return Object.is(t,n)}function Xo(t,n){let e=Object.create(Uw);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(Qn(e),Yt(e),e.value===At)throw e.error;return e.value};return r[ie]=e,Zo(e),r}var Kn=Symbol("UNSET"),Xn=Symbol("COMPUTING"),At=Symbol("ERRORED"),Uw=V(w({},_n),{value:Kn,dirty:!0,error:null,equal:Ko,kind:"computed",producerMustRecompute(t){return t.value===Kn||t.value===Xn},producerRecomputeValue(t){if(t.value===Xn)throw new Error("");let n=t.value;t.value=Xn;let e=Zt(t),r,o=!1;try{r=t.computation(),M(null),o=n!==Kn&&n!==At&&r!==At&&t.equal(n,r)}catch(i){r=At,t.error=i}finally{Dn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function $w(){throw new Error}var Tm=$w;function xm(t){Tm(t)}function nu(t){Tm=t}var zw=null;function ru(t,n){let e=Object.create(Qo);e.value=t,n!==void 0&&(e.equal=n);let r=()=>Am(e);return r[ie]=e,Zo(e),[r,s=>wn(e,s),s=>Zs(e,s)]}function Am(t){return Yt(t),t.value}function wn(t,n){eu()||xm(t),t.equal(t.value,n)||(t.value=n,Gw(t))}function Zs(t,n){eu()||xm(t),wn(t,n(t.value))}var Qo=V(w({},_n),{equal:Ko,value:void 0,kind:"signal"});function Gw(t){t.version++,Cm(),Jl(t),zw?.(t)}var ou=V(w({},_n),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function iu(t){if(t.dirty=!1,t.version>0&&!Gr(t))return;t.version++;let n=Zt(t);try{t.cleanup(),t.fn()}finally{Dn(t,n)}}var su;function Ks(){return su}function Nt(t){let n=su;return su=t,n}var Nm=Symbol("NotFound");function qr(t){return t===Nm||t?.name==="\u0275NotFound"}function au(t,n,e){let r=Object.create(Ww);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(Qn(r),Yt(r),r.value===At)throw r.error;return r.value};return i[ie]=r,Zo(r),i}function Rm(t,n){Qn(t),wn(t,n),zr(t)}function Om(t,n){if(Qn(t),t.value===At)throw t.error;Zs(t,n),zr(t)}var Ww=V(w({},_n),{value:Kn,dirty:!0,error:null,equal:Ko,kind:"linkedSignal",producerMustRecompute(t){return t.value===Kn||t.value===Xn},producerRecomputeValue(t){if(t.value===Xn)throw new Error("");let n=t.value;t.value=Xn;let e=Zt(t),r,o=!1;try{let i=t.source(),s=n!==Kn&&n!==At,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,M(null),o=s&&r!==At&&t.equal(n,r)}catch(i){r=At,t.error=i}finally{Dn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function km(t){let n=M(null);try{return t()}finally{M(n)}}var ra="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(n,e){super(Ot(n,e)),this.code=n}};function qw(t){return`NG0${Math.abs(t)}`}function Ot(t,n){return`${qw(t)}${n?": "+n:""}`}var ue=globalThis;function Y(t){for(let n in t)if(t[n]===Y)return n;throw Error("")}function jm(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function ii(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(ii).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 oa(t,n){return t?n?`${t} ${n}`:t:n||""}var Yw=Y({__forward_ref__:Y});function de(t){return t.__forward_ref__=de,t}function ye(t){return _u(t)?t():t}function _u(t){return typeof t=="function"&&t.hasOwnProperty(Yw)&&t.__forward_ref__===de}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function W(t){return{providers:t.providers||[],imports:t.imports||[]}}function si(t){return Kw(t,ia)}function Zw(t){return si(t)!==null}function Kw(t,n){return t.hasOwnProperty(n)&&t[n]||null}function Xw(t){let n=t?.[ia]??null;return n||null}function lu(t){return t&&t.hasOwnProperty(Qs)?t[Qs]:null}var ia=Y({\u0275prov:Y}),Qs=Y({\u0275inj:Y}),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=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Du(t){return t&&!!t.\u0275providers}var Eu=Y({\u0275cmp:Y}),wu=Y({\u0275dir:Y}),Cu=Y({\u0275pipe:Y}),Iu=Y({\u0275mod:Y}),ei=Y({\u0275fac:Y}),rr=Y({__NG_ELEMENT_ID__:Y}),Fm=Y({__NG_ENV_ID__:Y});function Mu(t){return aa(t,"@NgModule"),t[Iu]||null}function kt(t){return aa(t,"@Component"),t[Eu]||null}function sa(t){return aa(t,"@Directive"),t[wu]||null}function Bm(t){return aa(t,"@Pipe"),t[Cu]||null}function aa(t,n){if(t==null)throw new v(-919,!1)}function Ft(t){return typeof t=="string"?t:t==null?"":String(t)}var Hm=Y({ngErrorCode:Y}),Qw=Y({ngErrorMessage:Y}),Jw=Y({ngTokenPath:Y});function Su(t,n){return Um("",-200,n)}function ca(t,n){throw new v(-201,!1)}function Um(t,n,e){let r=new v(n,t);return r[Hm]=n,r[Qw]=t,e&&(r[Jw]=e),r}function eC(t){return t[Hm]}var uu;function $m(){return uu}function Oe(t){let n=uu;return uu=t,n}function Tu(t,n,e){let r=si(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;ca(t,"")}var tC={},Jn=tC,nC="__NG_DI_FLAG__",du=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=er(e)||0;try{return this.injector.get(n,r&8?null:Jn,r)}catch(o){if(qr(o))return o;throw o}}};function rC(t,n=0){let e=Ks();if(e===void 0)throw new v(-203,!1);if(e===null)return Tu(t,void 0,n);{let r=oC(n),o=e.retrieve(t,r);if(qr(o)){if(r.optional)return null;throw o}return o}}function I(t,n=0){return($m()||rC)(ye(t),n)}function f(t,n){return I(t,er(n))}function er(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function oC(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function fu(t){let n=[];for(let e=0;e<t.length;e++){let r=ye(t[e]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iC(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(I(o,i))}else n.push(I(r))}return n}function iC(t){return t[nC]}function Cn(t,n){let e=t.hasOwnProperty(ei);return e?t[ei]:null}function zm(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 Gm(t){return t.flat(Number.POSITIVE_INFINITY)}function la(t,n){t.forEach(e=>Array.isArray(e)?la(e,n):n(e))}function xu(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function ai(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Wm(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function qm(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 ua(t,n,e){let r=Zr(t,n);return r>=0?t[r|1]=e:(r=~r,qm(t,r,n,e)),r}function da(t,n){let e=Zr(t,n);if(e>=0)return t[e|1]}function Zr(t,n){return sC(t,n,1)}function sC(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 mt={},Se=[],Kr=new y(""),Au=new y("",-1),Nu=new y(""),ti=class{get(n,e=Jn){if(e===Jn){let o=Um("",-201);throw o.name="\u0275NotFound",o}return e}};function or(t){return{\u0275providers:t}}function Ym(...t){return{\u0275providers:Ru(!0,t),\u0275fromNgModule:!0}}function Ru(t,...n){let e=[],r=new Set,o,i=s=>{e.push(s)};return la(n,s=>{let a=s;Js(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Zm(o,i),e}function Zm(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:o}=t[e];Ou(o,i=>{n(i,r)})}}function Js(t,n,e,r){if(t=ye(t),!t)return!1;let o=null,i=lu(t),s=!i&&kt(t);if(!i&&!s){let c=t.ngModule;if(i=lu(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)Js(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;la(i.imports,u=>{Js(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Zm(l,n)}if(!a){let l=Cn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Se},o),n({provide:Nu,useValue:o,multi:!0},o),n({provide:Kr,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;Ou(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Ou(t,n){for(let e of t)Du(e)&&(e=e.\u0275providers),Array.isArray(e)?Ou(e,n):n(e)}var aC=Y({provide:String,useValue:Y});function Km(t){return t!==null&&typeof t=="object"&&aC in t}function cC(t){return!!(t&&t.useExisting)}function lC(t){return!!(t&&t.useFactory)}function tr(t){return typeof t=="function"}function Xm(t){return!!t.useClass}var ci=new y(""),Xs={},Pm={},cu;function Xr(){return cu===void 0&&(cu=new ti),cu}var le=class{},nr=class extends le{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,pu(n,s=>this.processProvider(s)),this.records.set(Au,Yr(void 0,this)),o.has("environment")&&this.records.set(le,Yr(void 0,this));let i=this.records.get(ci);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Nu,Se,{self:!0}))}retrieve(n,e){let r=er(e)||0;try{return this.get(n,Jn,r)}catch(o){if(qr(o))return o;throw o}}destroy(){Jo(this),this._destroyed=!0;let n=M(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(),M(n)}}onDestroy(n){return Jo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Jo(this);let e=Nt(this),r=Oe(void 0),o;try{return n()}finally{Nt(e),Oe(r)}}get(n,e=Jn,r){if(Jo(this),n.hasOwnProperty(Fm))return n[Fm](this);let o=er(r),i,s=Nt(this),a=Oe(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=pC(n)&&si(n);u&&this.injectableDefInScope(u)?l=Yr(hu(n),Xs):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Xr():this.parent;return e=o&8&&e===Jn?null:e,c.get(n,e)}catch(c){let l=eC(c);throw l===-200||l===-201?new v(l,null):c}finally{Oe(a),Nt(s)}}resolveInjectorInitializers(){let n=M(null),e=Nt(this),r=Oe(void 0),o;try{let i=this.get(Kr,Se,{self:!0});for(let s of i)s()}finally{Nt(e),Oe(r),M(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=ye(n);let e=tr(n)?n:ye(n&&n.provide),r=dC(n);if(!tr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Yr(void 0,Xs,!0),o.factory=()=>fu(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=M(null);try{if(e.value===Pm)throw Su("");return e.value===Xs&&(e.value=Pm,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&hC(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{M(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=ye(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 hu(t){let n=si(t),e=n!==null?n.factory:Cn(t);if(e!==null)return e;if(t instanceof y)throw new v(-204,!1);if(t instanceof Function)return uC(t);throw new v(-204,!1)}function uC(t){if(t.length>0)throw new v(-204,!1);let e=Xw(t);return e!==null?()=>e.factory(t):()=>new t}function dC(t){if(Km(t))return Yr(void 0,t.useValue);{let n=ku(t);return Yr(n,Xs)}}function ku(t,n,e){let r;if(tr(t)){let o=ye(t);return Cn(o)||hu(o)}else if(Km(t))r=()=>ye(t.useValue);else if(lC(t))r=()=>t.useFactory(...fu(t.deps||[]));else if(cC(t))r=(o,i)=>I(ye(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ye(t&&(t.useClass||t.provide));if(fC(t))r=()=>new o(...fu(t.deps));else return Cn(o)||hu(o)}return r}function Jo(t){if(t.destroyed)throw new v(-205,!1)}function Yr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function fC(t){return!!t.deps}function hC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function pC(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function pu(t,n){for(let e of t)Array.isArray(e)?pu(e,n):e&&Du(e)?pu(e.\u0275providers,n):n(e)}function Qr(t,n){let e;t instanceof nr?(Jo(t),e=t):e=new du(t);let r,o=Nt(e),i=Oe(void 0);try{return n()}finally{Nt(o),Oe(i)}}function Fu(){return $m()!==void 0||Ks()!=null}var gt=0,S=1,k=2,ve=3,nt=4,ke=5,ir=6,Jr=7,se=8,Xt=9,yt=10,X=11,eo=12,Pu=13,sr=14,Te=15,Sn=16,ar=17,Pt=18,Qt=19,Lu=20,Kt=21,fa=22,In=23,Ye=24,cr=25,Tn=26,ee=27,Qm=1,Vu=6,xn=7,li=8,lr=9,ae=10;function Jt(t){return Array.isArray(t)&&typeof t[Qm]=="object"}function vt(t){return Array.isArray(t)&&t[Qm]===!0}function ju(t){return(t.flags&4)!==0}function Lt(t){return t.componentOffset>-1}function to(t){return(t.flags&1)===1}function bt(t){return!!t.template}function no(t){return(t[k]&512)!==0}function ur(t){return(t[k]&256)===256}var Bu="svg",Jm="math";function rt(t){for(;Array.isArray(t);)t=t[gt];return t}function Hu(t,n){return rt(n[t])}function ot(t,n){return rt(n[t.index])}function ha(t,n){return t.data[n]}function ui(t,n){return t[n]}function Uu(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 Jt(e)?e:e[gt]}function eg(t){return(t[k]&4)===4}function pa(t){return(t[k]&128)===128}function tg(t){return vt(t[ve])}function Ze(t,n){return n==null?null:t[n]}function $u(t){t[ar]=0}function zu(t){t[k]&1024||(t[k]|=1024,pa(t)&&dr(t))}function ng(t,n){for(;t>0;)n=n[sr],t--;return n}function di(t){return!!(t[k]&9216||t[Ye]?.dirty)}function ma(t){t[yt].changeDetectionScheduler?.notify(8),t[k]&64&&(t[k]|=1024),di(t)&&dr(t)}function dr(t){t[yt].changeDetectionScheduler?.notify(0);let n=Mn(t);for(;n!==null&&!(n[k]&8192||(n[k]|=8192,!pa(n)));)n=Mn(n)}function Gu(t,n){if(ur(t))throw new v(911,!1);t[Kt]===null&&(t[Kt]=[]),t[Kt].push(n)}function rg(t,n){if(t[Kt]===null)return;let e=t[Kt].indexOf(n);e!==-1&&t[Kt].splice(e,1)}function Mn(t){let n=t[ve];return vt(n)?n[ve]:n}function Wu(t){return t[Jr]??=[]}function qu(t){return t.cleanup??=[]}function og(t,n,e,r){let o=Wu(n);o.push(e),t.firstCreatePass&&qu(t).push(r,o.length-1)}var L={lFrame:yg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var mu=!1;function ig(){return L.lFrame.elementDepthCount}function sg(){L.lFrame.elementDepthCount++}function Yu(){L.lFrame.elementDepthCount--}function ga(){return L.bindingsEnabled}function Zu(){return L.skipHydrationRootTNode!==null}function Ku(t){return L.skipHydrationRootTNode===t}function Xu(){L.skipHydrationRootTNode=null}function E(){return L.lFrame.lView}function J(){return L.lFrame.tView}function ag(t){return L.lFrame.contextLView=t,t[se]}function cg(t){return L.lFrame.contextLView=null,t}function pe(){let t=Qu();for(;t!==null&&t.type===64;)t=t.parent;return t}function Qu(){return L.lFrame.currentTNode}function lg(){let t=L.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function ro(t,n){let e=L.lFrame;e.currentTNode=t,e.isParent=n}function Ju(){return L.lFrame.isParent}function ed(){L.lFrame.isParent=!1}function ug(){return L.lFrame.contextLView}function td(){return mu}function ni(t){let n=mu;return mu=t,n}function Vt(){let t=L.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function nd(){return L.lFrame.bindingIndex}function dg(t){return L.lFrame.bindingIndex=t}function en(){return L.lFrame.bindingIndex++}function fi(t){let n=L.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function fg(){return L.lFrame.inI18n}function hg(t,n){let e=L.lFrame;e.bindingIndex=e.bindingRootIndex=t,ya(n)}function pg(){return L.lFrame.currentDirectiveIndex}function ya(t){L.lFrame.currentDirectiveIndex=t}function mg(t){let n=L.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function va(){return L.lFrame.currentQueryIndex}function hi(t){L.lFrame.currentQueryIndex=t}function mC(t){let n=t[S];return n.type===2?n.declTNode:n.type===1?t[ke]:null}function rd(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=mC(i),o===null||(i=i[sr],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=L.lFrame=gg();return r.currentTNode=n,r.lView=t,!0}function ba(t){let n=gg(),e=t[S];L.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function gg(){let t=L.lFrame,n=t===null?null:t.child;return n===null?yg(t):n}function yg(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 vg(){let t=L.lFrame;return L.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var od=vg;function _a(){let t=vg();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 bg(t){return(L.lFrame.contextLView=ng(t,L.lFrame.contextLView))[se]}function _t(){return L.lFrame.selectedIndex}function An(t){L.lFrame.selectedIndex=t}function oo(){let t=L.lFrame;return ha(t.tView,t.selectedIndex)}function _g(){L.lFrame.currentNamespace=Bu}function Dg(){gC()}function gC(){L.lFrame.currentNamespace=null}function Eg(){return L.lFrame.currentNamespace}var wg=!0;function Da(){return wg}function pi(t){wg=t}function gu(t,n=null,e=null,r){let o=id(t,n,e,r);return o.resolveInjectorInitializers(),o}function id(t,n=null,e=null,r,o=new Set){let i=[e||Se,Ym(t)],s;return new nr(i,n||Xr(),s||null,o)}var j=class t{static THROW_IF_NOT_FOUND=Jn;static NULL=new ti;static create(n,e){if(Array.isArray(n))return gu({name:""},e,n,"");{let r=n.name??"";return gu({name:r},n.parent,n.providers,r)}}static \u0275prov=g({token:t,providedIn:"any",factory:()=>I(Au)});static __NG_ELEMENT_ID__=-1},F=new y(""),xe=(()=>{class t{static __NG_ELEMENT_ID__=yC;static __NG_ENV_ID__=e=>e}return t})(),ea=class extends xe{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ur(this._lView)}onDestroy(n){let e=this._lView;return Gu(e,n),()=>rg(e,n)}};function yC(){return new ea(E())}var Cg=!1,Ig=new y(""),fr=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Gn(!1);debugTaskTracker=f(Ig,{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=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),yu=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Fu()&&(this.destroyRef=f(xe,{optional:!0})??void 0,this.pendingTasks=f(fr,{optional:!0})??void 0)}emit(n){let e=M(null);try{super.next(n)}finally{M(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 B&&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=yu;function ta(...t){}function sd(t){let n,e;function r(){t=ta;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 Mg(t){return queueMicrotask(()=>t()),()=>{t=ta}}var ad="isAngularZone",ri=ad+"_ID",vC=0,P=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=Cg}=n;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,DC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ad)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(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,bC,ta,ta);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)}},bC={};function cd(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 _C(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){sd(()=>{t.callbackScheduled=!1,vu(t),t.isCheckStableRunning=!0,cd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),vu(t)}function DC(t){let n=()=>{_C(t)},e=vC++;t._inner=t._inner.fork({name:"angular",properties:{[ad]:!0,[ri]:e,[ri+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(EC(c))return r.invokeTask(i,s,a,c);try{return Lm(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Vm(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Lm(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!wC(c)&&n(),Vm(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,vu(t),cd(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 vu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Lm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Vm(t){t._nesting--,cd(t)}var oi=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 EC(t){return Sg(t,"__ignore_ng_zone__")}function wC(t){return Sg(t,"__scheduler_tick__")}function Sg(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var tt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},tn=new y("",{factory:()=>{let t=f(P),n=f(le),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(tt),e.handleError(r))})}}}),Tg={provide:Kr,useValue:()=>{let t=f(tt,{optional:!0})},multi:!0};function be(t,n){let[e,r,o]=ru(t,n?.equal),i=e,s=i[ie];return i.set=r,i.update=o,i.asReadonly=mi.bind(i),i}function mi(){let t=this[ie];if(t.readonlyFn===void 0){let n=()=>this();n[ie]=t,t.readonlyFn=n}return t.readonlyFn}var io=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=CC}return t})();function CC(){return new io(E(),pe())}var Rt=class{},gi=new y("",{factory:()=>!0});var ld=new y(""),so=(()=>{class t{internalPendingTasks=f(fr);scheduler=f(Rt);errorHandler=f(tn);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=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ea=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>new bu})}return t})(),bu=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}},na=class{[ie];constructor(n){this[ie]=n}destroy(){this[ie].destroy()}};function ao(t,n){let e=n?.injector??f(j),r=n?.manualCleanup!==!0?e.get(xe):null,o,i=e.get(io,null,{optional:!0}),s=e.get(Rt);return i!==null?(o=SC(i.view,s,t),r instanceof ea&&r._lView===i.view&&(r=null)):o=TC(t,e.get(Ea),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new na(o)}var xg=V(w({},ou),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=ni(!1);try{iu(this)}finally{ni(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(t)}}}),IC=V(w({},xg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(En(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),MC=V(w({},xg),{consumerMarkedDirty(){this.view[k]|=8192,dr(this.view),this.notifier.notify(13)},destroy(){if(En(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[In]?.delete(this)}});function SC(t,n,e){let r=Object.create(MC);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Ag(r,e),t[In]??=new Set,t[In].add(r),r.consumerMarkedDirty(r),r}function TC(t,n,e){let r=Object.create(IC);return r.fn=Ag(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 Ag(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Ti(t){return{toString:t}.toString()}function FC(t){return typeof t=="function"}function fy(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var Ra=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Ue=(()=>{let t=()=>hy;return t.ngInherit=!0,t})();function hy(t){return t.type.prototype.ngOnChanges&&(t.setInput=LC),PC}function PC(){let t=my(this),n=t?.current;if(n){let e=t.previous;if(e===mt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function LC(t,n,e,r,o){let i=this.declaredInputs[r],s=my(t)||VC(t,{previous:mt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ra(l&&l.currentValue,e,c===mt),fy(t,n,o,e)}var py="__ngSimpleChanges__";function my(t){return t[py]||null}function VC(t,n){return t[py]=n}var Ng=[];var Z=function(t,n=null,e){for(let r=0;r<Ng.length;r++){let o=Ng[r];o(t,n,e)}},z=(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})(z||{});function jC(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=hy(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 gy(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 Sa(t,n,e){yy(t,n,3,e)}function Ta(t,n,e,r){(t[k]&3)===e&&yy(t,n,e,r)}function ud(t,n){let e=t[k];(e&3)===n&&(e&=16383,e+=1,t[k]=e)}function yy(t,n,e,r){let o=r!==void 0?t[ar]&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[ar]+=65536),(a<i||i==-1)&&(BC(t,e,n,c),t[ar]=(t[ar]&4294901760)+c+2),c++}function Rg(t,n){Z(z.LifecycleHookStart,t,n);let e=M(null);try{n.call(t)}finally{M(e),Z(z.LifecycleHookEnd,t,n)}}function BC(t,n,e,r){let o=e[r]<0,i=e[r+1],s=o?-e[r]:e[r],a=t[s];o?t[k]>>14<t[ar]>>16&&(t[k]&3)===n&&(t[k]+=16384,Rg(a,i)):Rg(a,i)}var lo=-1,pr=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 HC(t){return(t.flags&8)!==0}function UC(t){return(t.flags&16)!==0}function $C(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];zC(i)?t.setProperty(n,i,s):t.setAttribute(n,i,s),r++}}return r}function vy(t){return t===3||t===4||t===6}function zC(t){return t.charCodeAt(0)===64}function uo(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?Og(t,e,o,null,n[++r]):Og(t,e,o,null,null))}}return t}function Og(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 by(t){return t!==lo}function Oa(t){return t&32767}function GC(t){return t>>16}function ka(t,n){let e=GC(t),r=n;for(;e>0;)r=r[sr],e--;return r}var Dd=!0;function Fa(t){let n=Dd;return Dd=t,n}var WC=256,_y=WC-1,Dy=5,qC=0,jt={};function YC(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(rr)&&(r=e[rr]),r==null&&(r=e[rr]=qC++);let o=r&_y,i=1<<o;n.data[t+(o>>Dy)]|=i}function Pa(t,n){let e=Ey(t,n);if(e!==-1)return e;let r=n[S];r.firstCreatePass&&(t.injectorIndex=n.length,dd(r.data,t),dd(n,null),dd(r.blueprint,null));let o=sf(t,n),i=t.injectorIndex;if(by(o)){let s=Oa(o),a=ka(o,n),c=a[S].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function dd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Ey(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function sf(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=Sy(o),r===null)return lo;if(e++,o=o[sr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return lo}function Ed(t,n,e){YC(t,n,e)}function ZC(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(vy(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 wy(t,n,e){if(e&8||t!==void 0)return t;ca(n,"NodeInjector")}function Cy(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let o=t[Xt],i=Oe(void 0);try{return o?o.get(n,r,e&8):Tu(n,r,e&8)}finally{Oe(i)}}return wy(r,n,e)}function Iy(t,n,e,r=0,o){if(t!==null){if(n[k]&2048&&!(r&2)){let s=JC(t,n,e,r,jt);if(s!==jt)return s}let i=My(t,n,e,r,jt);if(i!==jt)return i}return Cy(n,e,r,o)}function My(t,n,e,r,o){let i=XC(e);if(typeof i=="function"){if(!rd(n,t,r))return r&1?wy(o,e,r):Cy(n,e,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ca(e);else return s}finally{od()}}else if(typeof i=="number"){let s=null,a=Ey(t,n),c=lo,l=r&1?n[Te][ke]:null;for((a===-1||r&4)&&(c=a===-1?sf(t,n):n[a+8],c===lo||!Fg(r,!1)?a=-1:(s=n[S],a=Oa(c),n=ka(c,n)));a!==-1;){let u=n[S];if(kg(i,a,u.data)){let d=KC(a,n,e,s,r,l);if(d!==jt)return d}c=n[a+8],c!==lo&&Fg(r,n[S].data[a+8]===l)&&kg(i,a,n)?(s=u,a=Oa(c),n=ka(c,n)):a=-1}}return o}function KC(t,n,e,r,o,i){let s=n[S],a=s.data[t+8],c=r==null?Lt(a)&&Dd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=xa(a,s,e,c,l);return u!==null?Di(n,s,u,a,o):jt}function xa(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,p=o?a+u:l;for(let h=d;h<p;h++){let m=s[h];if(h<c&&e===m||h>=c&&m.type===e)return h}if(o){let h=s[c];if(h&&bt(h)&&h.type===e)return c}return null}function Di(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof pr){let a=i;if(a.resolving)throw Su("");let c=Fa(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?Oe(a.injectImpl):null,p=rd(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&jC(e,s[e],n)}finally{d!==null&&Oe(d),Fa(c),a.resolving=!1,od()}}return i}function XC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(rr)?t[rr]:void 0;return typeof n=="number"?n>=0?n&_y:QC:n}function kg(t,n,e){let r=1<<t;return!!(e[n+(t>>Dy)]&r)}function Fg(t,n){return!(t&2)&&!(t&1&&n)}var hr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return Iy(this._tNode,this._lView,n,er(r),e)}};function QC(){return new hr(pe(),E())}function Ae(t){return Ti(()=>{let n=t.prototype.constructor,e=n[ei]||wd(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[ei]||wd(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wd(t){return _u(t)?()=>{let n=wd(ye(t));return n&&n()}:Cn(t)}function JC(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[k]&2048&&!no(s);){let a=My(i,s,e,r|2,jt);if(a!==jt)return a;let c=i.parent;if(!c){let l=s[Lu];if(l){let u=l.get(e,jt,r&-5);if(u!==jt)return u}c=Sy(s),s=s[sr]}i=c}return o}function Sy(t){let n=t[S],e=n.type;return e===2?n.declTNode:e===1?t[ke]:null}function af(t){return ZC(pe(),t)}function eI(){return go(pe(),E())}function go(t,n){return new H(ot(t,n))}var H=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=eI}return t})();function Ty(t){return t instanceof H?t.nativeElement:t}function tI(){return this._results[Symbol.iterator]()}var nn=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 N}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=Gm(n);(this._changesDetected=!zm(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]=tI};function xy(t){return(t.flags&128)===128}var cf=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(cf||{}),Ay=new Map,nI=0;function rI(){return nI++}function oI(t){Ay.set(t[Qt],t)}function Cd(t){Ay.delete(t[Qt])}var Pg="__ngContext__";function fo(t,n){Jt(n)?(t[Pg]=n[Qt],oI(n)):t[Pg]=n}function Ny(t){return Oy(t[eo])}function Ry(t){return Oy(t[nt])}function Oy(t){for(;t!==null&&!vt(t);)t=t[nt];return t}var Id;function lf(t){Id=t}function ky(){if(Id!==void 0)return Id;if(typeof document<"u")return document;throw new v(210,!1)}var On=new y("",{factory:()=>iI}),iI="ng";var Ka=new y(""),yr=new y("",{providedIn:"platform",factory:()=>"unknown"}),xi=new y(""),yo=new y("",{factory:()=>f(F).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Fy="r";var Py="di";var Ly=!1,Vy=new y("",{factory:()=>Ly});var jy=new y("");var sI=(t,n,e,r)=>{};function aI(t,n,e,r){sI(t,n,e,r)}function Xa(t){return(t.flags&32)===32}var cI=()=>null;function By(t,n,e=!1){return cI(t,n,e)}function Hy(t,n){let e=t.contentQueries;if(e!==null){let r=M(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];hi(i),a.contentQueries(2,n[s],s)}}}finally{M(r)}}}function Md(t,n,e){hi(0);let r=M(null);try{n(t,e)}finally{M(r)}}function uf(t,n,e){if(ju(n)){let r=M(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{M(r)}}}var wt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(wt||{});var wa;function lI(){if(wa===void 0&&(wa=null,ue.trustedTypes))try{wa=ue.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return wa}function Qa(t){return lI()?.createHTML(t)||t}var Ca;function Uy(){if(Ca===void 0&&(Ca=null,ue.trustedTypes))try{Ca=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ca}function Lg(t){return Uy()?.createHTML(t)||t}function Vg(t){return Uy()?.createScriptURL(t)||t}var rn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ra})`}},Sd=class extends rn{getTypeName(){return"HTML"}},Td=class extends rn{getTypeName(){return"Style"}},xd=class extends rn{getTypeName(){return"Script"}},Ad=class extends rn{getTypeName(){return"URL"}},Nd=class extends rn{getTypeName(){return"ResourceURL"}};function Xe(t){return t instanceof rn?t.changingThisBreaksApplicationSecurity:t}function Ht(t,n){let e=$y(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${ra})`)}return e===n}function $y(t){return t instanceof rn&&t.getTypeName()||null}function df(t){return new Sd(t)}function ff(t){return new Td(t)}function hf(t){return new xd(t)}function pf(t){return new Ad(t)}function mf(t){return new Nd(t)}function uI(t){let n=new Od(t);return dI()?new Rd(n):n}var Rd=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Qa(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Od=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=Qa(n),e}};function dI(){try{return!!new window.DOMParser().parseFromString(Qa(""),"text/html")}catch{return!1}}var fI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ai(t){return t=String(t),t.match(fI)?t:"unsafe:"+t}function on(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Ni(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var zy=on("area,br,col,hr,img,wbr"),Gy=on("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wy=on("rp,rt"),hI=Ni(Wy,Gy),pI=Ni(Gy,on("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")),mI=Ni(Wy,on("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")),jg=Ni(zy,pI,mI,hI),qy=on("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gI=on("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"),yI=on("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"),vI=Ni(qy,gI,yI),bI=on("script,style,template");var kd=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=EI(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=DI(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=Bg(n).toLowerCase();if(!jg.hasOwnProperty(e))return this.sanitizedSomething=!0,!bI.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(!vI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;qy[a]&&(c=Ai(c)),this.buf.push(" ",s,'="',Hg(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=Bg(n).toLowerCase();jg.hasOwnProperty(e)&&!zy.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Hg(n))}};function _I(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DI(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Yy(n);return n}function EI(t){let n=t.firstChild;if(n&&_I(t,n))throw Yy(n);return n}function Bg(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Yy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var wI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,CI=/([^\#-~ |!])/g;function Hg(t){return t.replace(/&/g,"&").replace(wI,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(CI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ia;function Ja(t,n){let e=null;try{Ia=Ia||uI(t);let r=n?String(n):"";e=Ia.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=Ia.getInertBodyElement(r)}while(r!==i);let a=new kd().sanitizeChildren(Ug(e)||e);return Qa(a)}finally{if(e){let r=Ug(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Ug(t){return"content"in t&&II(t)?t.content:null}function II(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var MI=/^>|^->|<!--|-->|--!>|<!-$/g,SI=/(<|>)/g,TI="\u200B$1\u200B";function xI(t){return t.replace(MI,n=>n.replace(SI,TI))}function AI(t,n){return t.createText(n)}function NI(t,n,e){t.setValue(n,e)}function RI(t,n){return t.createComment(xI(n))}function Zy(t,n,e){return t.createElement(n,e)}function La(t,n,e,r,o){t.insertBefore(n,e,r,o)}function Ky(t,n,e){t.appendChild(n,e)}function $g(t,n,e,r,o){r!==null?La(t,n,e,r,o):Ky(t,n,e)}function Xy(t,n,e,r){t.removeChild(null,n,e,r)}function OI(t,n,e){t.setAttribute(n,"style",e)}function kI(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Qy(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&&$C(t,n,r),o!==null&&kI(t,n,o),i!==null&&OI(t,n,i)}var $e=(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})($e||{});function FI(t){let n=gf();return n?Lg(n.sanitize($e.HTML,t)||""):Ht(t,"HTML")?Lg(Xe(t)):Ja(ky(),Ft(t))}function Jy(t){let n=gf();return n?n.sanitize($e.URL,t)||"":Ht(t,"URL")?Xe(t):Ai(Ft(t))}function ev(t){let n=gf();if(n)return Vg(n.sanitize($e.RESOURCE_URL,t)||"");if(Ht(t,"ResourceURL"))return Vg(Xe(t));throw new v(904,!1)}var PI=new Set(["embed","frame","iframe","media","script"]),LI=new Set(["base","link","script"]);function VI(t,n){return n==="src"&&PI.has(t)||n==="href"&&LI.has(t)||n==="xlink:href"&&t==="script"?ev:Jy}function jI(t,n,e){return VI(n,e)(t)}function gf(){let t=E();return t&&t[yt].sanitizer}function BI(t){return t.ownerDocument.defaultView}function HI(t){return t.ownerDocument}function tv(t){return t instanceof Function?t():t}function UI(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 nv="ng-template";function $I(t,n,e,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&UI(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(yf(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 yf(t){return t.type===4&&t.value!==nv}function zI(t,n,e){let r=t.type===4&&!e?nv:t.value;return n===r}function GI(t,n,e){let r=4,o=t.attrs,i=o!==null?YI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Dt(r)&&!Dt(c))return!1;if(s&&Dt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!zI(t,c,e)||c===""&&n.length===1){if(Dt(r))return!1;s=!0}}else if(r&8){if(o===null||!$I(t,o,c,e)){if(Dt(r))return!1;s=!0}}else{let l=n[++a],u=WI(c,o,yf(t),e);if(u===-1){if(Dt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Dt(r))return!1;s=!0}}}}return Dt(r)||s}function Dt(t){return(t&1)===0}function WI(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 ZI(n,t)}function rv(t,n,e=!1){for(let r=0;r<n.length;r++)if(GI(t,n[r],e))return!0;return!1}function qI(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function YI(t){for(let n=0;n<t.length;n++){let e=t[n];if(vy(e))return n}return t.length}function ZI(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 KI(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 zg(t,n){return t?":not("+n.trim()+")":n}function XI(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!==""&&!Dt(s)&&(n+=zg(i,o),o=""),r=s,i=i||!Dt(r);e++}return o!==""&&(n+=zg(i,o)),n}function QI(t){return t.map(XI).join(",")}function JI(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(!Dt(o))break;o=i}r++}return e.length&&n.push(1,...e),n}var Ee={};function vf(t,n,e,r,o,i,s,a,c,l,u){let d=ee+r,p=d+o,h=eM(d,p),m=typeof l=="function"?l():l;return h[S]={type:t,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function eM(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Ee);return e}function tM(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=vf(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function bf(t,n,e,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[gt]=o,d[k]=r|4|128|8|64|1024,(l!==null||t&&t[k]&2048)&&(d[k]|=2048),$u(d),d[ve]=d[sr]=t,d[se]=e,d[yt]=s||t&&t[yt],d[X]=a||t&&t[X],d[Xt]=c||t&&t[Xt]||null,d[ke]=i,d[Qt]=rI(),d[ir]=u,d[Lu]=l,d[Te]=n.type==2?t[Te]:d,d}function nM(t,n,e){let r=ot(n,t),o=tM(e),i=t[yt].rendererFactory,s=_f(t,bf(t,o,null,ov(e),r,n,null,i.createRenderer(r,e),null,null,null));return t[n.index]=s}function ov(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function iv(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 _f(t,n){return t[eo]?t[Pu][nt]=n:t[eo]=n,t[Pu]=n,n}function Df(t=1){sv(J(),E(),_t()+t,!1)}function sv(t,n,e,r){if(!r)if((n[k]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Sa(n,i,e)}else{let i=t.preOrderHooks;i!==null&&Ta(n,i,0,e)}An(e)}var ec=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(ec||{});function Fd(t,n,e,r){let o=M(null);try{let[i,s,a]=t.inputs[e],c=null;(s&ec.SignalBased)!==0&&(c=n[i][ie]),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):fy(n,c,i,r)}finally{M(o)}}var Ct=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Ct||{}),rM;function Ef(t,n){return rM(t,n)}var lH=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Pd=new WeakMap,vi=new WeakSet;function oM(t,n){let e=Pd.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),vi.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 iM(t,n){let e=Pd.get(t);e?e.includes(n)||e.push(n):Pd.set(t,[n])}var mr=new Set,tc=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(tc||{}),It=new y(""),Gg=new Set;function sn(t){Gg.has(t)||(Gg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var nc=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),wf=[0,1,2,3],Cf=(()=>{class t{ngZone=f(P);scheduler=f(Rt);errorHandler=f(tt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(It,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Z(z.AfterRenderHooksStart),this.executing=!0;for(let r of wf)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&&Z(z.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[cr]??=[]).push(e),dr(r),r[k]|=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(tc.AFTER_NEXT_RENDER,e):e()}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ei=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?.[cr];n&&(this.view[cr]=n.filter(e=>e!==this))}};function Ut(t,n){let e=n?.injector??f(j);return sn("NgAfterNextRender"),aM(t,e,n,!0)}function sM(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function aM(t,n,e,r){let o=n.get(nc);o.impl??=n.get(Cf);let i=n.get(It,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(xe):null,a=n.get(io,null,{optional:!0}),c=new Ei(o.impl,sM(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var av=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(le)})});function cv(t,n,e){let r=t.get(av);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 cM(t,n){let e=t.get(av);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function lM(t,n){for(let[e,r]of n)cv(t,r.animateFns)}function Wg(t,n,e,r){let o=t?.[Tn]?.enter;n!==null&&o&&o.has(e.index)&&lM(r,o)}function co(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;vt(o)?c=o:Jt(o)&&(l=!0,o=o[gt]);let u=rt(o);t===0&&r!==null?(Wg(a,r,i,e),s==null?Ky(n,r,u):La(n,r,u,s||null,!0)):t===1&&r!==null?(Wg(a,r,i,e),La(n,r,u,s||null,!0),oM(i,u)):t===2?(a?.[Tn]?.leave?.has(i.index)&&iM(i,u),vi.delete(u),qg(a,i,e,d=>{if(vi.has(u)){vi.delete(u);return}Xy(n,u,l,d)})):t===3&&(vi.delete(u),qg(a,i,e,()=>{n.destroyNode(u)})),c!=null&&_M(n,t,e,c,i,r,s)}}function uM(t,n){lv(t,n),n[gt]=null,n[ke]=null}function dM(t,n,e,r,o,i){r[gt]=o,r[ke]=n,oc(t,r,e,1,o,i)}function lv(t,n){n[yt].changeDetectionScheduler?.notify(9),oc(t,n,n[X],2,null,null)}function fM(t){let n=t[eo];if(!n)return fd(t[S],t);for(;n;){let e=null;if(Jt(n))e=n[eo];else{let r=n[ae];r&&(e=r)}if(!e){for(;n&&!n[nt]&&n!==t;)Jt(n)&&fd(n[S],n),n=n[ve];n===null&&(n=t),Jt(n)&&fd(n[S],n),e=n&&n[nt]}n=e}}function If(t,n){let e=t[lr],r=e.indexOf(n);e.splice(r,1)}function rc(t,n){if(ur(n))return;let e=n[X];e.destroyNode&&oc(t,n,e,3,null,null),fM(n)}function fd(t,n){if(ur(n))return;let e=M(null);try{n[k]&=-129,n[k]|=256,n[Ye]&&En(n[Ye]),mM(t,n),pM(t,n),n[S].type===1&&n[X].destroy();let r=n[Sn];if(r!==null&&vt(n[ve])){r!==n[ve]&&If(r,n);let o=n[Pt];o!==null&&o.detachView(t)}Cd(n)}finally{M(e)}}function qg(t,n,e,r){let o=t?.[Tn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&mr.add(t[Qt]),cv(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),hM(t,r)}else t&&mr.delete(t[Qt]),r(!1)},o)}function hM(t,n){let e=t[Tn]?.running;if(e){e.then(()=>{t[Tn].running=void 0,mr.delete(t[Qt]),n(!0)});return}n(!1)}function pM(t,n){let e=t.cleanup,r=n[Jr];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[Jr]=null);let o=n[Kt];if(o!==null){n[Kt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[In];if(i!==null){n[In]=null;for(let s of i)s.destroy()}}function mM(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 pr)){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];Z(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Z(z.LifecycleHookEnd,a,c)}}else{Z(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Z(z.LifecycleHookEnd,o,i)}}}}}function uv(t,n,e){return gM(t,n.parent,e)}function gM(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[gt];if(Lt(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===wt.None||o===wt.Emulated)return null}return ot(r,e)}function dv(t,n,e){return vM(t,n,e)}function yM(t,n,e){return t.type&40?ot(t,e):null}var vM=yM,Yg;function Mf(t,n,e,r){let o=uv(t,r,n),i=n[X],s=r.parent||n[ke],a=dv(s,r,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)$g(i,o,e[c],a,!1);else $g(i,o,e,a,!1);Yg!==void 0&&Yg(i,r,n,e,o)}function bi(t,n){if(n!==null){let e=n.type;if(e&3)return ot(n,t);if(e&4)return Ld(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return bi(t,r);{let o=t[n.index];return vt(o)?Ld(-1,o):rt(o)}}else{if(e&128)return bi(t,n.next);if(e&32)return Ef(n,t)()||rt(t[n.index]);{let r=fv(t,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Mn(t[Te]);return bi(o,r)}else return bi(t,n.next)}}}return null}function fv(t,n){if(n!==null){let r=t[Te][ke],o=n.projection;return r.projection[o]}return null}function Ld(t,n){let e=ae+t+1;if(e<n.length){let r=n[e],o=r[S].firstChild;if(o!==null)return bi(r,o)}return n[xn]}function Sf(t,n,e,r,o,i,s){for(;e!=null;){let a=r[Xt];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&fo(rt(c),r),e.flags|=2),!Xa(e))if(l&8)Sf(t,n,e.child,r,o,i,!1),co(n,t,a,o,c,e,i,r);else if(l&32){let u=Ef(e,r),d;for(;d=u();)co(n,t,a,o,d,e,i,r);co(n,t,a,o,c,e,i,r)}else l&16?hv(t,n,r,e,o,i):co(n,t,a,o,c,e,i,r);e=s?e.projectionNext:e.next}}function oc(t,n,e,r,o,i){Sf(e,r,t.firstChild,n,o,i,!1)}function bM(t,n,e){let r=n[X],o=uv(t,e,n),i=e.parent||n[ke],s=dv(i,e,n);hv(r,0,n,e,o,s)}function hv(t,n,e,r,o,i){let s=e[Te],c=s[ke].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];co(n,t,e[Xt],o,u,r,i,e)}else{let l=c,u=s[ve];xy(r)&&(l.flags|=128),Sf(t,n,l,u,o,i,!0)}}function _M(t,n,e,r,o,i,s){let a=r[xn],c=rt(r);a!==c&&co(n,t,e,i,a,o,s);for(let l=ae;l<r.length;l++){let u=r[l];oc(u[S],u,t,n,i,a)}}function DM(t,n,e,r,o){if(n)o?t.addClass(e,r):t.removeClass(e,r);else{let i=r.indexOf("-")===-1?void 0:Ct.DashCase;o==null?t.removeStyle(e,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ct.Important),t.setStyle(e,r,o,i))}}function pv(t,n,e,r,o){let i=_t(),s=r&2;try{An(-1),s&&n.length>ee&&sv(t,n,ee,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Z(a,o,e),e(r,o)}finally{An(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Z(a,o,e)}}function ic(t,n,e){MM(t,n,e),(e.flags&64)===64&&SM(t,n,e)}function Ri(t,n,e=ot){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 EM(t,n,e,r){let i=r.get(Vy,Ly)||e===wt.ShadowDom||e===wt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,i);return wM(s),s}function wM(t){CM(t)}var CM=()=>null;function IM(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function mv(t,n,e,r,o,i){let s=n[S];if(sc(t,s,n,e,r)){Lt(t)&&yv(n,t.index);return}t.type&3&&(e=IM(e)),gv(t,n,e,r,o,i)}function gv(t,n,e,r,o,i){if(t.type&3){let s=ot(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function yv(t,n){let e=it(n,t);e[k]&16||(e[k]|=64)}function MM(t,n,e){let r=e.directiveStart,o=e.directiveEnd;Lt(e)&&nM(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Pa(e,n);let i=e.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],c=Di(n,t,s,e);if(fo(c,n),i!==null&&AM(n,s-r,c,a,e,i),bt(a)){let l=it(e.index,n);l[se]=Di(n,t,s,e)}}}function SM(t,n,e){let r=e.directiveStart,o=e.directiveEnd,i=e.index,s=pg();try{An(i);for(let a=r;a<o;a++){let c=t.data[a],l=n[a];ya(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&TM(c,l)}}finally{An(-1),ya(s)}}function TM(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Tf(t,n){let e=t.directiveRegistry,r=null;if(e)for(let o=0;o<e.length;o++){let i=e[o];rv(n,i.selectors,!1)&&(r??=[],bt(i)?r.unshift(i):r.push(i))}return r}function xM(t,n,e,r,o,i){let s=ot(t,n);vv(n[X],s,i,t.value,e,r,o)}function vv(t,n,e,r,o,i,s){if(i==null)t.removeAttribute(n,o,e);else{let a=s==null?Ft(i):s(i,r||"",o);t.setAttribute(n,o,a,e)}}function AM(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];Fd(r,e,c,l)}}function xf(t,n,e,r,o){let i=ee+e,s=n[S],a=o(s,n,t,r,e);n[i]=a,ro(t,!0);let c=t.type===2;return c?(Qy(n[X],a,t),(ig()===0||to(t))&&fo(a,n),sg()):fo(a,n),Da()&&(!c||!Xa(t))&&Mf(s,n,a,t),t}function Af(t){let n=t;return Ju()?ed():(n=n.parent,ro(n,!1)),n}function NM(t,n){let e=t[Xt];if(!e)return;let r;try{r=e.get(tn,null)}catch{r=null}r?.(n)}function sc(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];Fd(d,e[l],u,o),a=!0}if(i)for(let c of i){let l=e[c],u=n.data[c];Fd(u,l,r,o),a=!0}return a}function RM(t,n){let e=it(n,t),r=e[S];OM(r,e);let o=e[gt];o!==null&&e[ir]===null&&(e[ir]=By(o,e[Xt])),Z(z.ComponentStart);try{Nf(r,e,e[se])}finally{Z(z.ComponentEnd,e[se])}}function OM(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Nf(t,n,e){ba(n);try{let r=t.viewQuery;r!==null&&Md(1,r,e);let o=t.template;o!==null&&pv(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Pt]?.finishViewCreation(t),t.staticContentQueries&&Hy(t,n),t.staticViewQueries&&Md(2,t.viewQuery,e);let i=t.components;i!==null&&kM(n,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[k]&=-5,_a()}}function kM(t,n){for(let e=0;e<n.length;e++)RM(t,n[e])}function Oi(t,n,e,r){let o=M(null);try{let i=n.tView,a=t[k]&4096?4096:16,c=bf(t,i,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[Sn]=l;let u=t[Pt];return u!==null&&(c[Pt]=u.createEmbeddedView(i)),Nf(i,c,e),c}finally{M(o)}}function ho(t,n){return!n||n.firstChild===null||xy(t)}function wi(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(rt(i)),vt(i)&&bv(i,r);let s=e.type;if(s&8)wi(t,n,e.child,r);else if(s&32){let a=Ef(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=fv(n,e);if(Array.isArray(a))r.push(...a);else{let c=Mn(n[Te]);wi(c[S],c,a,r,!0)}}e=o?e.projectionNext:e.next}return r}function bv(t,n){for(let e=ae;e<t.length;e++){let r=t[e],o=r[S].firstChild;o!==null&&wi(r[S],r,o,n)}t[xn]!==t[gt]&&n.push(t[xn])}function _v(t){if(t[cr]!==null){for(let n of t[cr])n.impl.addSequence(n);t[cr].length=0}}var Dv=[];function FM(t){return t[Ye]??PM(t)}function PM(t){let n=Dv.pop()??Object.create(VM);return n.lView=t,n}function LM(t){t.lView[Ye]!==t&&(t.lView=null,Dv.push(t))}var VM=V(w({},_n),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{dr(t.lView)},consumerOnSignalRead(){this.lView[Ye]=this}});function jM(t){let n=t[Ye]??Object.create(BM);return n.lView=t,n}var BM=V(w({},_n),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Mn(t.lView);for(;n&&!Ev(n[S]);)n=Mn(n);n&&zu(n)},consumerOnSignalRead(){this.lView[Ye]=this}});function Ev(t){return t.type!==2}function wv(t){if(t[In]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[In])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[k]&8192)}}var HM=100;function Cv(t,n=0){let r=t[yt].rendererFactory,o=!1;o||r.begin?.();try{UM(t,n)}finally{o||r.end?.()}}function UM(t,n){let e=td();try{ni(!0),Vd(t,n);let r=0;for(;di(t);){if(r===HM)throw new v(103,!1);r++,Vd(t,1)}}finally{ni(e)}}function $M(t,n,e,r){if(ur(n))return;let o=n[k],i=!1,s=!1;ba(n);let a=!0,c=null,l=null;i||(Ev(t)?(l=FM(n),c=Zt(l)):Ys()===null?(a=!1,l=jM(n),c=Zt(l)):n[Ye]&&(En(n[Ye]),n[Ye]=null));try{$u(n),dg(t.bindingStartIndex),e!==null&&pv(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let h=t.preOrderCheckHooks;h!==null&&Sa(n,h,null)}else{let h=t.preOrderHooks;h!==null&&Ta(n,h,0,null),ud(n,0)}if(s||zM(n),wv(n),Iv(n,0),t.contentQueries!==null&&Hy(t,n),!i)if(u){let h=t.contentCheckHooks;h!==null&&Sa(n,h)}else{let h=t.contentHooks;h!==null&&Ta(n,h,1),ud(n,1)}WM(t,n);let d=t.components;d!==null&&Sv(n,d,0);let p=t.viewQuery;if(p!==null&&Md(2,p,r),!i)if(u){let h=t.viewCheckHooks;h!==null&&Sa(n,h)}else{let h=t.viewHooks;h!==null&&Ta(n,h,2),ud(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[fa]){for(let h of n[fa])h();n[fa]=null}i||(_v(n),n[k]&=-73)}catch(u){throw i||dr(n),u}finally{l!==null&&(Dn(l,c),a&&LM(l)),_a()}}function Iv(t,n){for(let e=Ny(t);e!==null;e=Ry(e))for(let r=ae;r<e.length;r++){let o=e[r];Mv(o,n)}}function zM(t){for(let n=Ny(t);n!==null;n=Ry(n)){if(!(n[k]&2))continue;let e=n[lr];for(let r=0;r<e.length;r++){let o=e[r];zu(o)}}}function GM(t,n,e){Z(z.ComponentStart);let r=it(n,t);try{Mv(r,e)}finally{Z(z.ComponentEnd,r[se])}}function Mv(t,n){pa(t)&&Vd(t,n)}function Vd(t,n){let r=t[S],o=t[k],i=t[Ye],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Gr(i)),s||=!1,i&&(i.dirty=!1),t[k]&=-9217,s)$M(r,t,r.template,t[se]);else if(o&8192){let a=M(null);try{wv(t),Iv(t,1);let c=r.components;c!==null&&Sv(t,c,1),_v(t)}finally{M(a)}}}function Sv(t,n,e){for(let r=0;r<n.length;r++)GM(t,n[r],e)}function WM(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)An(~o);else{let i=o,s=e[++r],a=e[++r];hg(s,i);let c=n[i];Z(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Z(z.HostBindingsUpdateEnd,c)}}}}finally{An(-1)}}function Rf(t,n){let e=td()?64:1088;for(t[yt].changeDetectionScheduler?.notify(n);t;){t[k]|=e;let r=Mn(t);if(no(t)&&!r)return t;t=r}return null}function Tv(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function xv(t,n){let e=ae+n;if(e<t.length)return t[e]}function ki(t,n,e,r=!0){let o=n[S];if(qM(o,n,t,e),r){let s=Ld(e,t),a=n[X],c=a.parentNode(t[xn]);c!==null&&dM(o,t[ke],a,n,c,s)}let i=n[ir];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Av(t,n){let e=Ci(t,n);return e!==void 0&&rc(e[S],e),e}function Ci(t,n){if(t.length<=ae)return;let e=ae+n,r=t[e];if(r){let o=r[Sn];o!==null&&o!==t&&If(o,r),n>0&&(t[e-1][nt]=r[nt]);let i=ai(t,ae+n);uM(r[S],r);let s=i[Pt];s!==null&&s.detachView(i[S]),r[ve]=null,r[nt]=null,r[k]&=-129}return r}function qM(t,n,e,r){let o=ae+r,i=e.length;r>0&&(e[o-1][nt]=n),r<i-ae?(n[nt]=e[o],xu(e,ae+r,n)):(e.push(n),n[nt]=null),n[ve]=e;let s=n[Sn];s!==null&&e!==s&&Nv(s,n);let a=n[Pt];a!==null&&a.insertView(t),ma(n),n[k]|=128}function Nv(t,n){let e=t[lr],r=n[ve];if(Jt(r))t[k]|=2;else{let o=r[ve][Te];n[Te]!==o&&(t[k]|=2)}e===null?t[lr]=[n]:e.push(n)}var Nn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[S];return wi(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[se]}set context(n){this._lView[se]=n}get destroyed(){return ur(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ve];if(vt(n)){let e=n[li],r=e?e.indexOf(this):-1;r>-1&&(Ci(n,r),ai(e,r))}this._attachedToViewContainer=!1}rc(this._lView[S],this._lView)}onDestroy(n){Gu(this._lView,n)}markForCheck(){Rf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){ma(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,Cv(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=no(this._lView),e=this._lView[Sn];e!==null&&!n&&If(e,this._lView),lv(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=n;let e=no(this._lView),r=this._lView[Sn];r!==null&&!e&&Nv(r,this._lView),ma(this._lView)}};var Ke=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=YM;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=Oi(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new Nn(i)}}return t})();function YM(){return ac(pe(),E())}function ac(t,n){return t.type&4?new Ke(n,t,go(t,n)):null}function vo(t,n,e,r,o){let i=t.data[n];if(i===null)i=ZM(t,n,e,r,o),fg()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=lg();i.injectorIndex=s===null?-1:s.injectorIndex}return ro(i,!0),i}function ZM(t,n,e,r,o){let i=Qu(),s=Ju(),a=s?i:i&&i.parent,c=t.data[n]=XM(t,a,e,n,r,o);return KM(t,c,i,s),c}function KM(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 XM(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Zu()&&(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,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 QM(t){let n=t[Vu]??[],r=t[ve][X],o=[];for(let i of n)i.data[Py]!==void 0?o.push(i):JM(i,r);t[Vu]=o}function JM(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[Fy];for(;e<o;){let i=r.nextSibling;Xy(n,r,!1),r=i,e++}}}var eS=()=>null,tS=()=>null;function Va(t,n){return eS(t,n)}function Rv(t,n,e){return tS(t,n,e)}var Ov=class{},cc=class{},jd=class{resolveComponentFactory(n){throw new v(917,!1)}},Fi=class{static NULL=new jd},De=class{},Ne=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>nS()}return t})();function nS(){let t=E(),n=pe(),e=it(n.index,t);return(Jt(e)?e:t)[X]}var kv=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>null})}return t})();var Aa={},Bd=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,Aa,r);return o!==Aa||e===Aa?o:this.parentInjector.get(n,e,r)}};function ja(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=oa(o,a);else if(i==2){let c=a,l=n[++s];r=oa(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=o:t.classesWithoutHost=o}function D(t,n=0){let e=E();if(e===null)return I(t,n);let r=pe();return Iy(r,e,ye(t),n)}function rS(){let t="invalid";throw new Error(t)}function Fv(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}sS(t,n,e,a,i,c,l)}i!==null&&r!==null&&oS(e,r,i)}function oS(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 v(-301,!1);r.push(n[o],i)}}function iS(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function sS(t,n,e,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let h=r[p];c===null&&bt(h)&&(c=h,iS(t,e,p)),Ed(Pa(e,n),t,h.type)}fS(e,t.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let h=r[p];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=iv(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let p=0;p<a;p++){let h=r[p];if(e.mergedAttrs=uo(e.mergedAttrs,h.hostAttrs),cS(t,e,n,d,h),dS(d,h,o),s!==null&&s.has(h)){let[b,_]=s.get(h);e.directiveToIndex.set(h.type,[d,b+e.directiveStart,_+e.directiveStart])}else(i===null||!i.has(h))&&e.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(e.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(e.flags|=64);let m=h.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++}aS(t,e,i)}function aS(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=t.data[r];if(e===null||!e.has(o))Zg(0,n,o,r),Zg(1,n,o,r),Xg(n,r,!1);else{let i=e.get(o);Kg(0,n,i,r),Kg(1,n,i,r),Xg(n,r,!0)}}}function Zg(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),Pv(n,i)}}function Kg(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),Pv(n,s)}}function Pv(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function Xg(t,n,e){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!e&&o===null||e&&i===null||yf(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 cS(t,n,e,r,o){t.data[r]=o;let i=o.factory||(o.factory=Cn(o.type,!0)),s=new pr(i,bt(o),D,null);t.blueprint[r]=s,e[r]=s,lS(t,n,r,iv(t,e,o.hostVars,Ee),o)}function lS(t,n,e,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;uS(s)!=a&&s.push(a),s.push(e,r,i)}}function uS(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function dS(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 fS(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Of(t,n,e,r,o,i,s,a){let c=n[S],l=c.consts,u=Ze(l,s),d=vo(c,t,e,r,u);return i&&Fv(c,n,d,Ze(l,a),o),d.mergedAttrs=uo(d.mergedAttrs,d.attrs),d.attrs!==null&&ja(d,d.attrs,!1),d.mergedAttrs!==null&&ja(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function kf(t,n){gy(t,n),ju(n)&&t.queries.elementEnd(n)}function hS(t,n,e,r,o,i){let s=n.consts,a=Ze(s,o),c=vo(n,t,e,r,a);if(c.mergedAttrs=uo(c.mergedAttrs,c.attrs),i!=null){let l=Ze(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ja(c,c.attrs,!1),c.mergedAttrs!==null&&ja(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Ff(t){return lc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Lv(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 lc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function bo(t,n,e){return t[n]=e}function Vv(t,n){return t[n]}function He(t,n,e){if(e===Ee)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function Ii(t,n,e,r){let o=He(t,n,e);return He(t,n+1,r)||o}function jv(t,n,e,r,o){let i=Ii(t,n,e,r);return He(t,n+2,o)||i}function pS(t,n,e,r,o,i){let s=Ii(t,n,e,r);return Ii(t,n+2,o,i)||s}function Na(t,n,e){return function r(o){let i=Lt(t)?it(t.index,n):n;Rf(i,5);let s=n[se],a=Qg(n,s,e,o),c=r.__ngNextListenerFn__;for(;c;)a=Qg(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Qg(t,n,e,r){let o=M(null);try{return Z(z.OutputStart,n,e),e(r)!==!1}catch(i){return NM(t,i),!1}finally{Z(z.OutputEnd,n,e),M(o)}}function Bv(t,n,e,r,o,i,s,a){let c=to(t),l=!1,u=null;if(!r&&c&&(u=gS(n,e,i,t.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ot(t,e),p=r?r(d):d;aI(e,p,i,a);let h=o.listen(p,i,a);if(!mS(i)){let m=r?b=>r(rt(b[t.index])):t.index;Hv(m,n,e,i,a,h,!1)}}return l}function mS(t){return t.startsWith("animation")||t.startsWith("transition")}function gS(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[Jr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Hv(t,n,e,r,o,i,s){let a=n.firstCreatePass?qu(n):null,c=Wu(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function Jg(t,n,e,r,o,i){let s=n[e],a=n[S],l=a.data[e].outputs[r],d=s[l].subscribe(i);Hv(t.index,a,n,o,i,d,!0)}var Hd=Symbol("BINDING");function Uv(t){return t.debugInfo?.className||t.type.name||null}var Ba=class extends Fi{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=kt(n);return new Rn(e,this.ngModule)}};function yS(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&ec.SignalBased)!==0};return o&&(i.transform=o),i})}function vS(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function bS(t,n,e){let r=n instanceof le?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Bd(e,r):e}function _S(t){let n=t.get(De,null);if(n===null)throw new v(407,!1);let e=t.get(kv,null),r=t.get(Rt,null),o=t.get(It,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function DS(t,n){let e=$v(t);return Zy(n,e,e==="svg"?Bu:e==="math"?Jm:null)}function $v(t){return(t.selectors[0][0]||"div").toLowerCase()}var Rn=class extends cc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=yS(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=vS(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=QI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){Z(z.DynamicComponentStart);let a=M(null);try{let c=this.componentDef,l=bS(c,o||this.ngModule,n),u=_S(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Uv(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{M(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=ES(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?EM(l,o,a.encapsulation,e):DS(a,l),d=s?.some(ey)||i?.some(m=>typeof m!="function"&&m.bindings.some(ey)),p=bf(null,c,null,512|ov(a),null,null,n,l,e,null,By(u,e,!0));p[ee]=u,ba(p);let h=null;try{let m=Of(ee,p,2,"#host",()=>c.directiveRegistry,!0,0);Qy(l,u,m),fo(u,p),ic(c,p,m),uf(c,m,p),kf(c,m),r!==void 0&&CS(m,this.ngContentSelectors,r),h=it(m.index,p),p[se]=h[se],Nf(c,p,null)}catch(m){throw h!==null&&Cd(h),Cd(p),m}finally{Z(z.DynamicComponentEnd),_a()}return new Ha(this.componentType,p,!!d)}};function ES(t,n,e,r){let o=t?["ng-version","21.2.6"]:JI(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Hd].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 p of d.bindings){a+=p[Hd].requiredVars;let h=u+1;p.create&&(p.targetIdx=h,(i??=[]).push(p)),p.update&&(p.targetIdx=h,(s??=[]).push(p))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=sa(d);c.push(p)}return vf(0,null,wS(i,s),1,a,c,null,null,null,[o],null)}function wS(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 ey(t){let n=t[Hd].kind;return n==="input"||n==="twoWay"}var Ha=class extends Ov{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=ha(e[S],ee),this.location=go(this._tNode,e),this.instance=it(this._tNode.index,e)[se],this.hostView=this.changeDetectorRef=new Nn(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=sc(r,o[S],o,n,e);this.previousInputValues.set(n,e);let s=it(r.index,o);Rf(s,1)}get injector(){return new hr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function CS(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 ze=(()=>{class t{static __NG_ELEMENT_ID__=IS}return t})();function IS(){let t=pe();return zv(t,E())}var Ud=class t extends ze{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new hr(this._hostTNode,this._hostLView)}get parentInjector(){let n=sf(this._hostTNode,this._hostLView);if(by(n)){let e=ka(n,this._hostLView),r=Oa(n),o=e[S].data[r+8];return new hr(o,e)}else return new hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=ty(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ae}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Va(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,ho(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!FC(n),l;if(c)l=e;else{let _=e||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Rn(kt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let C=(c?d:this.parentInjector).get(le,null);C&&(i=C)}let p=kt(u.componentType??{}),h=Va(this._lContainer,p?.id??null),m=h?.firstChild??null,b=u.create(d,o,m,i,s,a);return this.insertImpl(b.hostView,l,ho(this._hostTNode,h)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(tg(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ve],l=new t(c,c[ke],c[ve]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return ki(s,o,i,r),n.attachToViewContainerRef(),xu(hd(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=ty(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=Ci(this._lContainer,e);r&&(ai(hd(this._lContainer),e),rc(r[S],r))}detach(n){let e=this._adjustIndex(n,-1),r=Ci(this._lContainer,e);return r&&ai(hd(this._lContainer),e)!=null?new Nn(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function ty(t){return t[li]}function hd(t){return t[li]||(t[li]=[])}function zv(t,n){let e,r=n[t.index];return vt(r)?e=r:(e=Tv(r,n,null,t),n[t.index]=e,_f(n,e)),SS(e,n,t,r),new Ud(e,t,n)}function MS(t,n){let e=t[X],r=e.createComment(""),o=ot(n,t),i=e.parentNode(o);return La(e,i,r,e.nextSibling(o),!1),r}var SS=AS,TS=()=>!1;function xS(t,n,e){return TS(t,n,e)}function AS(t,n,e,r){if(t[xn])return;let o;e.type&8?o=rt(r):o=MS(n,e),t[xn]=o}var $d=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},zd=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++)Lf(n,e).matches!==null&&this.queries[e].setDirty()}},Ua=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=FS(n):this.predicate=n}},Gd=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)}},Wd=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,NS(e,i)),this.matchTNodeWithReadOption(n,e,xa(e,n,i,!1,!1))}else r===Ke?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,xa(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===H||o===ze||o===Ke&&e.type&4)this.addMatch(e.index,-2);else{let i=xa(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 NS(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 RS(t,n){return t.type&11?go(t,n):t.type&4?ac(t,n):null}function OS(t,n,e,r){return e===-1?RS(n,t):e===-2?kS(t,n,r):Di(t,t[S],e,n)}function kS(t,n,e){if(e===H)return go(n,t);if(e===Ke)return ac(n,t);if(e===ze)return zv(n,t)}function Gv(t,n,e,r){let o=n[Pt].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(OS(n,u,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function qd(t,n,e,r){let o=t.queries.getByIndex(e),i=o.matches;if(i!==null){let s=Gv(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=ae;d<u.length;d++){let p=u[d];p[Sn]===p[ve]&&qd(p[S],p,l,r)}if(u[lr]!==null){let d=u[lr];for(let p=0;p<d.length;p++){let h=d[p];qd(h[S],h,l,r)}}}}}return r}function Pf(t,n){return t[Pt].queries[n].queryList}function Wv(t,n,e){let r=new nn((e&4)===4);return og(t,n,r,r.destroy),(n[Pt]??=new zd).queries.push(new $d(r))-1}function qv(t,n,e){let r=J();return r.firstCreatePass&&(Zv(r,new Ua(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),Wv(r,E(),n)}function Yv(t,n,e,r){let o=J();if(o.firstCreatePass){let i=pe();Zv(o,new Ua(n,e,r),i.index),PS(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return Wv(o,E(),e)}function FS(t){return t.split(",").map(n=>n.trim())}function Zv(t,n,e){t.queries===null&&(t.queries=new Gd),t.queries.track(new Wd(n,e))}function PS(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 Lf(t,n){return t.queries.getByIndex(n)}function Kv(t,n){let e=t[S],r=Lf(e,n);return r.crossesNgTemplate?qd(e,t,n,[]):Gv(e,t,r,n)}function Vf(t,n,e){let r,o=Xo(()=>{r._dirtyCounter();let i=LS(r,t);if(n&&i===void 0)throw new v(-951,!1);return i});return r=o[ie],r._dirtyCounter=be(0),r._flatValue=void 0,o}function jf(t){return Vf(!0,!1,t)}function Bf(t){return Vf(!0,!0,t)}function Xv(t){return Vf(!1,!1,t)}function Qv(t,n){let e=t[ie];e._lView=E(),e._queryIndex=n,e._queryList=Pf(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function LS(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[k]&4)return n?void 0:Se;let o=Pf(e,r),i=Kv(e,r);return o.reset(i,Ty),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var Bt=class{},Jv=class{};var $a=class extends Bt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ba(this);constructor(n,e,r,o=!0){super(),this.ngModuleType=n,this._parent=e;let i=Mu(n);this._bootstrapComponents=tv(i.bootstrap),this._r3Injector=id(n,e,[{provide:Bt,useValue:this},{provide:Fi,useValue:this.componentFactoryResolver},...r],ii(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)}},za=class extends Jv{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new $a(this.moduleType,n,[])}};var Mi=class extends Bt{injector;componentFactoryResolver=new Ba(this);instance=null;constructor(n){super();let e=new nr([...n.providers,{provide:Bt,useValue:this},{provide:Fi,useValue:this.componentFactoryResolver}],n.parent||Xr(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function eb(t,n,e=null){return new Mi({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var VS=(()=>{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=Ru(!1,e.type),o=r.length>0?eb([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=g({token:t,providedIn:"environment",factory:()=>new t(I(le))})}return t})();function Ce(t){return Ti(()=>{let n=tb(t),e=V(w({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===cf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(VS).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,styles:t.styles||Se,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&sn("NgStandalone"),nb(e);let r=t.dependencies;return e.directiveDefs=ny(r,jS),e.pipeDefs=ny(r,Bm),e.id=US(e),e})}function jS(t){return kt(t)||sa(t)}function K(t){return Ti(()=>({type:t.type,bootstrap:t.bootstrap||Se,declarations:t.declarations||Se,imports:t.imports||Se,exports:t.exports||Se,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function BS(t,n){if(t==null)return mt;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=ec.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function HS(t){if(t==null)return mt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function T(t){return Ti(()=>{let n=tb(t);return nb(n),n})}function Pi(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 tb(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||mt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Se,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:BS(t.inputs,n),outputs:HS(t.outputs),debugInfo:null}}function nb(t){t.features?.forEach(n=>n(t))}function ny(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 US(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 $S(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=zS,e.hostDirectives=r?t.map(Yd):[t]):r?e.hostDirectives.unshift(...t.map(Yd)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function zS(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,rb(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 rb(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)ry(Yd(i),n,e)}else ry(r,n,e)}function ry(t,n,e){let r=sa(t.directive);GS(r.declaredInputs,t.inputs),rb(r,n,e),e.set(r,t),n.push(r)}function Yd(t){return typeof t=="function"?{directive:ye(t),inputs:mt,outputs:mt}:{directive:ye(t.directive),inputs:oy(t.inputs),outputs:oy(t.outputs)}}function oy(t){if(t===void 0||t.length===0)return mt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function GS(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],o=t[e];t[r]=o}}function WS(t){return Object.getPrototypeOf(t.prototype).constructor}function G(t){let n=WS(t.type),e=!0,r=[t];for(;n;){let o;if(bt(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new v(903,!1);o=n.\u0275dir}if(o){if(e){r.push(o);let s=t;s.inputs=pd(t.inputs),s.declaredInputs=pd(t.declaredInputs),s.outputs=pd(t.outputs);let a=o.hostBindings;a&&XS(t,a);let c=o.viewQuery,l=o.contentQueries;if(c&&ZS(t,c),l&&KS(t,l),qS(t,o),jm(t.outputs,o.outputs),bt(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===G&&(e=!1)}}n=Object.getPrototypeOf(n)}YS(r)}function qS(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 YS(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=uo(o.hostAttrs,e=uo(e,o.hostAttrs))}}function pd(t){return t===mt?{}:t===Se?[]:t}function ZS(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function KS(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function XS(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function ob(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=uo(t.mergedAttrs,t.attrs);let u=t.tView=vf(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),ro(t,!1);let c=JS(e,n,t,r);Da()&&Mf(e,n,c,t),fo(c,n);let l=Tv(c,n,c,t);n[r+ee]=l,_f(n,l),xS(l,t,n)}function QS(t,n,e,r,o,i,s,a,c,l,u){let d=e+ee,p;return n.firstCreatePass?(p=vo(n,d,4,s||null,a||null),ga()&&Fv(n,t,p,Ze(n.consts,l),Tf),gy(n,p)):p=n.data[d],ob(p,t,n,e,r,o,i,c),to(p)&&ic(n,t,p),l!=null&&Ri(t,p,u),p}function po(t,n,e,r,o,i,s,a,c,l,u){let d=e+ee,p;if(n.firstCreatePass){if(p=vo(n,d,4,s||null,a||null),l!=null){let h=Ze(n.consts,l);p.localNames=[];for(let m=0;m<h.length;m+=2)p.localNames.push(h[m],-1)}}else p=n.data[d];return ob(p,t,n,e,r,o,i,c),l!=null&&Ri(t,p,u),p}function ib(t,n,e,r,o,i,s,a){let c=E(),l=J(),u=Ze(l.consts,i);return QS(c,l,t,n,e,r,o,u,void 0,s,a),ib}function sb(t,n,e,r,o,i,s,a){let c=E(),l=J(),u=Ze(l.consts,i);return po(c,l,t,n,e,r,o,u,void 0,s,a),sb}var JS=eT;function eT(t,n,e,r){return pi(!0),n[X].createComment("")}var ab=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function _o(t){return typeof t=="function"&&t[ie]!==void 0}function Hf(t){return _o(t)&&typeof t.set=="function"}var uc=new y(""),dc=new y(""),Li=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,o){this._ngZone=e,this.registry=r,Fu()&&(this._destroyRef=f(xe,{optional:!0})??void 0),Uf||(lb(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:()=>{P.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)(I(P),I(cb),I(dc))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),cb=(()=>{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 Uf?.findTestabilityInTree(this,e,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function lb(t){Uf=t}var Uf;function vr(t){return!!t&&typeof t.then=="function"}function fc(t){return!!t&&typeof t.subscribe=="function"}var $f=new y("");function tT(t){return or([{provide:$f,multi:!0,useValue:t}])}var zf=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f($f,{optional:!0})??[];injector=f(j);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=Qr(this.injector,o);if(vr(i))e.push(i);else if(fc(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ub=new y("");function db(){nu(()=>{let t="";throw new v(600,t)})}function fb(t){return t.isBoundToModule}var nT=10;var Fe=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(tn);afterRenderManager=f(nc);zonelessEnabled=f(gi);rootEffectScheduler=f(Ea);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new N;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(fr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(re(e=>!e))}constructor(){f(It,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=j.NULL){return this._injector.get(P).run(()=>{Z(z.BootstrapComponentStart);let s=e instanceof cc;if(!this._injector.get(zf).done){let m="";throw new v(405,m)}let c;s?c=e:c=this._injector.get(Fi).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=fb(c)?void 0:this._injector.get(Bt),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,h=d.injector.get(uc,null);return h?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),_i(this.components,d),h?.unregisterApplication(p)}),this._loadComponent(d),Z(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Z(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(tc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Z(z.ChangeDetectionEnd),new v(101,!1);let e=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(e),this.afterTick.next(),Z(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(De,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<nT;){Z(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Z(z.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&&!di(o))continue;let i=r&&!this.zonelessEnabled?0:1;Cv(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})=>di(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;_i(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(ub,[]).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),()=>_i(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new v(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function _i(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function hb(t,n){let e=E(),r=en();if(He(e,r,n)){let o=J(),i=oo();if(sc(i,o,e,t,n))Lt(i)&&yv(e,i.index);else{let a=ot(i,e);vv(e[X],a,null,i.value,t,n,null)}}return hb}function an(t,n,e,r){let o=E(),i=en();if(He(o,i,n)){let s=J(),a=oo();xM(a,o,t,n,e,r)}return an}function rT(){return E()[Te][se]}var Zd=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 md(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function oT(t,n,e,r){let o,i,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){M(r);let l=n.length-1;for(M(null);s<=a&&s<=l;){let u=t.at(s),d=n[s],p=md(s,u,s,d,e);if(p!==0){p<0&&t.updateValue(s,d),s++;continue}let h=t.at(a),m=n[l],b=md(a,h,l,m,e);if(b!==0){b<0&&t.updateValue(a,m),a--,l--;continue}let _=e(s,u),C=e(a,h),ne=e(s,d);if(Object.is(ne,C)){let We=e(l,m);Object.is(We,_)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(o??=new Ga,i??=sy(t,s,a,e),Kd(t,o,s,ne))t.updateValue(s,d),s++,a++;else if(i.has(ne))o.set(_,t.detach(s)),a--;else{let We=t.create(s,n[s]);t.attach(s,We),s++,a++}}for(;s<=l;)iy(t,o,e,s,n[s]),s++}else if(n!=null){M(r);let l=n[Symbol.iterator]();M(null);let u=l.next();for(;!u.done&&s<=a;){let d=t.at(s),p=u.value,h=md(s,d,s,p,e);if(h!==0)h<0&&t.updateValue(s,p),s++,u=l.next();else{o??=new Ga,i??=sy(t,s,a,e);let m=e(s,p);if(Kd(t,o,s,m))t.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(m))t.attach(s,t.create(s,p)),s++,a++,u=l.next();else{let b=e(s,d);o.set(b,t.detach(s)),a--}}}for(;!u.done;)iy(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 Kd(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function iy(t,n,e,r,o){if(Kd(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function sy(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 Ga=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 iT(t,n,e,r,o,i,s,a){sn("NgControlFlow");let c=E(),l=J(),u=Ze(l.consts,i);return po(c,l,t,n,e,r,o,u,256,s,a),Gf}function Gf(t,n,e,r,o,i,s,a){sn("NgControlFlow");let c=E(),l=J(),u=Ze(l.consts,i);return po(c,l,t,n,e,r,o,u,512,s,a),Gf}function sT(t,n){sn("NgControlFlow");let e=E(),r=en(),o=e[r]!==Ee?e[r]:-1,i=o!==-1?Wa(e,ee+o):void 0,s=0;if(He(e,r,t)){let a=M(null);try{if(i!==void 0&&Av(i,s),t!==-1){let c=ee+t,l=Wa(e,c),u=ef(e[S],c),d=Rv(l,u,e),p=Oi(e,u,n,{dehydratedView:d});ki(l,p,s,ho(u,d))}}finally{M(a)}}else if(i!==void 0){let a=xv(i,s);a!==void 0&&(a[se]=n)}}var Xd=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-ae}};function aT(t){return t}function cT(t,n){return n}var Qd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function lT(t,n,e,r,o,i,s,a,c,l,u,d,p){sn("NgControlFlow");let h=E(),m=J(),b=c!==void 0,_=E(),C=a?s.bind(_[Te][se]):s,ne=new Qd(b,C);_[ee+t]=ne,po(h,m,t+1,n,e,r,o,Ze(m.consts,i),256),b&&po(h,m,t+2,c,l,u,d,Ze(m.consts,p),512)}var Jd=class extends Zd{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-ae}at(n){return this.getLView(n)[se].$implicit}attach(n,e){let r=e[ir];this.needsIndexUpdate||=n!==this.length,ki(this.lContainer,e,n,ho(this.templateTNode,r)),dT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,fT(this.lContainer,n),hT(this.lContainer,n)}create(n,e){let r=Va(this.lContainer,this.templateTNode.tView.ssrId);return Oi(this.hostLView,this.templateTNode,new Xd(this.lContainer,e,n),{dehydratedView:r})}destroy(n){rc(n[S],n)}updateValue(n,e){this.getLView(n)[se].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[se].$index=n}getLView(n){return pT(this.lContainer,n)}};function uT(t){let n=M(null),e=_t();try{let r=E(),o=r[S],i=r[e],s=e+1,a=Wa(r,s);if(i.liveCollection===void 0){let l=ef(o,s);i.liveCollection=new Jd(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(oT(c,t,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=en(),u=c.length===0;if(He(r,l,u)){let d=e+2,p=Wa(r,d);if(u){let h=ef(o,d),m=Rv(p,h,r),b=Oi(r,h,void 0,{dehydratedView:m});ki(p,b,0,ho(h,m))}else o.firstUpdatePass&&QM(p),Av(p,0)}}}finally{M(n)}}function Wa(t,n){return t[n]}function dT(t,n){if(t.length<=ae)return;let e=ae+n,r=t[e],o=r?r[Tn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Xt];cM(i,o),mr.delete(r[Qt]),o.detachedLeaveAnimationFns=void 0}}function fT(t,n){if(t.length<=ae)return;let e=ae+n,r=t[e],o=r?r[Tn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function hT(t,n){return Ci(t,n)}function pT(t,n){return xv(t,n)}function ef(t,n){return ha(t,n)}function pb(t,n,e){let r=E(),o=en();if(He(r,o,n)){let i=J(),s=oo();mv(s,r,t,n,r[X],e)}return pb}function tf(t,n,e,r,o){sc(n,t,e,o?"class":"style",r)}function qa(t,n,e,r){let o=E(),i=o[S],s=t+ee,a=i.firstCreatePass?Of(s,o,2,n,Tf,ga(),e,r):i.data[s];if(Lt(a)){let c=o[yt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Uv(l),()=>(ay(t,n,o,a,r),qa))}}return ay(t,n,o,a,r),qa}function ay(t,n,e,r,o){if(xf(r,e,t,n,gb),to(r)){let i=e[S];ic(i,e,r),uf(i,r,e)}o!=null&&Ri(e,r)}function Wf(){let t=J(),n=pe(),e=Af(n);return t.firstCreatePass&&kf(t,e),Ku(e)&&Xu(),Yu(),e.classesWithoutHost!=null&&HC(e)&&tf(t,e,E(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&UC(e)&&tf(t,e,E(),e.stylesWithoutHost,!1),Wf}function mb(t,n,e,r){return qa(t,n,e,r),Wf(),mb}function br(t,n,e,r){let o=E(),i=o[S],s=t+ee,a=i.firstCreatePass?hS(s,i,2,n,e,r):i.data[s];return xf(a,o,t,n,gb),r!=null&&Ri(o,a),br}function _r(){let t=pe(),n=Af(t);return Ku(n)&&Xu(),Yu(),_r}function $t(t,n,e,r){return br(t,n,e,r),_r(),$t}var gb=(t,n,e,r,o)=>(pi(!0),Zy(n[X],r,Eg()));function qf(t,n,e){let r=E(),o=r[S],i=t+ee,s=o.firstCreatePass?Of(i,r,8,"ng-container",Tf,ga(),n,e):o.data[i];if(xf(s,r,t,"ng-container",mT),to(s)){let a=r[S];ic(a,r,s),uf(a,s,r)}return e!=null&&Ri(r,s),qf}function Yf(){let t=J(),n=pe(),e=Af(n);return t.firstCreatePass&&kf(t,e),Yf}function yb(t,n,e){return qf(t,n,e),Yf(),yb}var mT=(t,n,e,r,o)=>(pi(!0),RI(n[X],""));function gT(){return E()}function vb(t,n,e){let r=E(),o=en();if(He(r,o,n)){let i=J(),s=oo();gv(s,r,t,n,r[X],e)}return vb}var yi=void 0;function yT(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var vT=["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"]],yi,[["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"]],yi,[["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}",yi,yi,yi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",yT],gd={};function Qe(t){let n=bT(t),e=cy(n);if(e)return e;let r=n.split("-")[0];if(e=cy(r),e)return e;if(r==="en")return vT;throw new v(701,!1)}function cy(t){return t in gd||(gd[t]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[t]),gd[t]}var fe=(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})(fe||{});function bT(t){return t.toLowerCase().replace(/_/g,"-")}var Vi="en-US";var _T=Vi;function bb(t){typeof t=="string"&&(_T=t.toLowerCase().replace(/_/g,"-"))}function cn(t,n,e){let r=E(),o=J(),i=pe();return Db(o,r,r[X],i,t,n,e),cn}function _b(t,n,e){let r=E(),o=J(),i=pe();return(i.type&3||e)&&Bv(i,o,r,e,r[X],t,n,Na(i,r,n)),_b}function Db(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Na(r,n,i),Bv(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 p=u[d],h=u[d+1];c??=Na(r,n,i),Jg(r,n,p,h,o,c)}if(l&&l.length)for(let d of l)c??=Na(r,n,i),Jg(r,n,d,o,o,c)}}function DT(t=1){return bg(t)}function ET(t,n){let e=null,r=qI(t);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){e=o;continue}if(r===null?rv(t,i,!0):KI(r,i))return o}return e}function Dr(t){let n=E()[Te][ke];if(!n.projection){let e=t?t.length:1,r=n.projection=Wm(e,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=t?ET(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ln(t,n=0,e,r,o,i){let s=E(),a=J(),c=r?t+1:null;c!==null&&po(s,a,c,r,o,i,null,e);let l=vo(a,ee+t,16,null,e||null);l.projection===null&&(l.projection=n),ed();let d=!s[ir]||Zu();s[Te][ke].projection[l.projection]===null&&c!==null?wT(s,a,c):d&&!Xa(l)&&bM(a,s,l)}function wT(t,n,e){let r=ee+e,o=n.data[r],i=t[r],s=Va(i,o.tView.ssrId),a=Oi(t,o,void 0,{dehydratedView:s});ki(i,a,0,ho(o,s))}function Eb(t,n,e,r){return Yv(t,n,e,r),Eb}function hc(t,n,e){return qv(t,n,e),hc}function Zf(t){let n=E(),e=J(),r=va();hi(r+1);let o=Lf(e,r);if(t.dirty&&eg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=Kv(n,r);t.reset(i,Ty),t.notifyOnChanges()}return!0}return!1}function Kf(){return Pf(E(),va())}function wb(t,n,e,r,o){return Qv(n,Yv(t,e,r,o)),wb}function Cb(t,n,e,r){return Qv(t,qv(n,e,r)),Cb}function CT(t=1){hi(va()+t)}function IT(t){let n=ug();return ui(n,ee+t)}function Ma(t,n){return t<<17|n<<2}function gr(t){return t>>17&32767}function MT(t){return(t&2)==2}function ST(t,n){return t&131071|n<<17}function nf(t){return t|2}function mo(t){return(t&131068)>>2}function yd(t,n){return t&-131069|n<<2}function TT(t){return(t&1)===1}function rf(t){return t|1}function xT(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=gr(s),c=mo(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||Zr(d,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let p=gr(t[a+1]);t[r+1]=Ma(p,a),p!==0&&(t[p+1]=yd(t[p+1],r)),t[a+1]=ST(t[a+1],r)}else t[r+1]=Ma(a,0),a!==0&&(t[a+1]=yd(t[a+1],r)),a=r;else t[r+1]=Ma(c,0),a===0?a=r:t[c+1]=yd(t[c+1],r),c=r;l&&(t[r+1]=nf(t[r+1])),ly(t,u,r,!0),ly(t,u,r,!1),AT(n,u,t,r,i),s=Ma(a,c),i?n.classBindings=s:n.styleBindings=s}function AT(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&Zr(i,n)>=0&&(e[r+1]=rf(e[r+1]))}function ly(t,n,e,r){let o=t[e+1],i=n===null,s=r?gr(o):mo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];NT(c,n)&&(a=!0,t[s+1]=r?rf(l):nf(l)),s=r?gr(l):mo(l)}a&&(t[e+1]=r?nf(o):rf(o))}function NT(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Zr(t,n)>=0:!1}var Et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function RT(t){return t.substring(Et.key,Et.keyEnd)}function OT(t){return kT(t),Ib(t,Mb(t,0,Et.textEnd))}function Ib(t,n){let e=Et.textEnd;return e===n?-1:(n=Et.keyEnd=FT(t,Et.key=n,e),Mb(t,n,e))}function kT(t){Et.key=0,Et.keyEnd=0,Et.value=0,Et.valueEnd=0,Et.textEnd=t.length}function Mb(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function FT(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function pc(t,n,e){return Sb(t,n,e,!1),pc}function Pe(t,n){return Sb(t,n,null,!0),Pe}function Xf(t){LT($T,PT,t,!0)}function PT(t,n){for(let e=OT(n);e>=0;e=Ib(n,e))ua(t,RT(n),!0)}function Sb(t,n,e,r){let o=E(),i=J(),s=fi(2);if(i.firstUpdatePass&&xb(i,t,s,r),n!==Ee&&He(o,s,n)){let a=i.data[_t()];Ab(i,a,o,o[X],t,o[s+1]=GT(n,e),r,s)}}function LT(t,n,e,r){let o=J(),i=fi(2);o.firstUpdatePass&&xb(o,null,i,r);let s=E();if(e!==Ee&&He(s,i,e)){let a=o.data[_t()];if(Nb(a,r)&&!Tb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=oa(c,e||"")),tf(o,a,s,e,r)}else zT(o,a,s,s[X],s[i+1],s[i+1]=UT(t,n,e),r,i)}}function Tb(t,n){return n>=t.expandoStartIndex}function xb(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[_t()],s=Tb(t,e);Nb(i,r)&&n===null&&!s&&(n=!1),n=VT(o,i,n,r),xT(o,i,n,e,s,r)}}function VT(t,n,e,r){let o=mg(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=vd(null,t,n,e,r),e=Si(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=vd(o,t,n,e,r),i===null){let c=jT(t,n,r);c!==void 0&&Array.isArray(c)&&(c=vd(null,t,n,c[1],r),c=Si(c,n.attrs,r),BT(t,n,r,c))}else i=HT(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function jT(t,n,e){let r=e?n.classBindings:n.styleBindings;if(mo(r)!==0)return t[gr(r)]}function BT(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[gr(o)]=r}function HT(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=Si(r,s,e)}return Si(r,n.attrs,e)}function vd(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=Si(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function Si(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]),ua(t,s,e?!0:n[++i]))}return t===void 0?null:t}function UT(t,n,e){if(e==null||e==="")return Se;let r=[],o=Xe(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 $T(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&ua(t,r,e)}function zT(t,n,e,r,o,i,s,a){o===Ee&&(o=Se);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 p=c<o.length?o[c+1]:void 0,h=l<i.length?i[l+1]:void 0,m=null,b;u===d?(c+=2,l+=2,p!==h&&(m=d,b=h)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,b=h),m!==null&&Ab(t,n,e,r,m,b,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Ab(t,n,e,r,o,i,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=TT(l)?uy(c,n,e,o,mo(l),s):void 0;if(!Ya(u)){Ya(i)||MT(l)&&(i=uy(c,null,e,o,a,s));let d=Hu(_t(),e);DM(r,s,d,o,i)}}function uy(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,p=e[o+1];p===Ee&&(p=d?Se:void 0);let h=d?da(p,r):u===r?p:void 0;if(l&&!Ya(h)&&(h=da(c,r)),Ya(h)&&(a=h,s))return a;let m=t[o+1];o=s?gr(m):mo(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=da(c,r))}return a}function Ya(t){return t!==void 0}function GT(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=ii(Xe(t)))),t}function Nb(t,n){return(t.flags&(n?8:16))!==0}function WT(t,n=""){let e=E(),r=J(),o=t+ee,i=r.firstCreatePass?vo(r,o,1,n,null):r.data[o],s=qT(r,e,i,n);e[o]=s,Da()&&Mf(r,e,s,i),ro(i,!1)}var qT=(t,n,e,r)=>(pi(!0),AI(n[X],r));function Rb(t,n,e,r=""){return He(t,en(),e)?n+Ft(e)+r:Ee}function YT(t,n,e,r,o,i=""){let s=nd(),a=Ii(t,s,e,o);return fi(2),a?n+Ft(e)+r+Ft(o)+i:Ee}function ZT(t,n,e,r,o,i,s,a=""){let c=nd(),l=jv(t,c,e,o,s);return fi(3),l?n+Ft(e)+r+Ft(o)+i+Ft(s)+a:Ee}function Ob(t){return Qf("",t),Ob}function Qf(t,n,e){let r=E(),o=Rb(r,t,n,e);return o!==Ee&&Jf(r,_t(),o),Qf}function kb(t,n,e,r,o){let i=E(),s=YT(i,t,n,e,r,o);return s!==Ee&&Jf(i,_t(),s),kb}function Fb(t,n,e,r,o,i,s){let a=E(),c=ZT(a,t,n,e,r,o,i,s);return c!==Ee&&Jf(a,_t(),c),Fb}function Jf(t,n,e){let r=Hu(n,t);NI(t[X],r,e)}function Pb(t,n,e){Hf(n)&&(n=n());let r=E(),o=en();if(He(r,o,n)){let i=J(),s=oo();mv(s,r,t,n,r[X],e)}return Pb}function KT(t,n){let e=Hf(t);return e&&t.set(n),e}function Lb(t,n){let e=E(),r=J(),o=pe();return Db(r,e,e[X],o,t,n),Lb}function XT(t,n,e=""){return Rb(E(),t,n,e)}function QT(t,n,e){let r=Vt()+t,o=E();return o[r]===Ee?bo(o,r,n(e,o)):Vv(o,r)}function dy(t,n,e){let r=J();r.firstCreatePass&&Vb(n,r.data,r.blueprint,bt(t),e)}function Vb(t,n,e,r,o){if(t=ye(t),Array.isArray(t))for(let i=0;i<t.length;i++)Vb(t[i],n,e,r,o);else{let i=J(),s=E(),a=pe(),c=tr(t)?t:ye(t.provide),l=ku(t),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(tr(t)||!t.multi){let h=new pr(l,o,D,null),m=_d(c,n,o?u:u+p,d);m===-1?(Ed(Pa(a,s),i,c),bd(i,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[m]=h,s[m]=h)}else{let h=_d(c,n,u+p,d),m=_d(c,n,u,u+p),b=h>=0&&e[h],_=m>=0&&e[m];if(o&&!_||!o&&!b){Ed(Pa(a,s),i,c);let C=t0(o?e0:JT,e.length,o,r,l,t);!o&&_&&(e[m].providerFactory=C),bd(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)}else{let C=jb(e[o?m:h],l,!o&&r);bd(i,t,h>-1?h:m,C)}!o&&r&&_&&e[m].componentProviders++}}}function bd(t,n,e,r){let o=tr(n),i=Xm(n);if(o||i){let c=(i?ye(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 jb(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function _d(t,n,e,r){for(let o=e;o<r;o++)if(n[o]===t)return o;return-1}function JT(t,n,e,r,o){return of(this.multi,[])}function e0(t,n,e,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Di(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),of(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],of(i,s);return s}function of(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function t0(t,n,e,r,o,i){let s=new pr(t,e,D,null);return s.multi=[],s.index=n,s.componentProviders=0,jb(s,o,r&&!e),s}function me(t,n){return e=>{e.providersResolver=(r,o)=>dy(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>dy(r,o?o(n):n,!0))}}function n0(t,n){let e=Vt()+t,r=E();return r[e]===Ee?bo(r,e,n()):Vv(r,e)}function r0(t,n,e){return Bb(E(),Vt(),t,n,e)}function o0(t,n,e,r){return Hb(E(),Vt(),t,n,e,r)}function i0(t,n,e,r,o){return Ub(E(),Vt(),t,n,e,r,o)}function s0(t,n,e,r,o,i,s){return a0(E(),Vt(),t,n,e,r,o,i)}function mc(t,n){let e=t[n];return e===Ee?void 0:e}function Bb(t,n,e,r,o,i){let s=n+e;return He(t,s,o)?bo(t,s+1,i?r.call(i,o):r(o)):mc(t,s+1)}function Hb(t,n,e,r,o,i,s){let a=n+e;return Ii(t,a,o,i)?bo(t,a+2,s?r.call(s,o,i):r(o,i)):mc(t,a+2)}function Ub(t,n,e,r,o,i,s,a){let c=n+e;return jv(t,c,o,i,s)?bo(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):mc(t,c+3)}function a0(t,n,e,r,o,i,s,a,c){let l=n+e;return pS(t,l,o,i,s,a)?bo(t,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):mc(t,l+4)}function c0(t,n){let e=J(),r,o=t+ee;e.firstCreatePass?(r=l0(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=Cn(r.type,!0)),s,a=Oe(D);try{let c=Fa(!1),l=i();return Fa(c),Uu(e,E(),o,l),l}finally{Oe(a)}}function l0(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function u0(t,n,e){let r=t+ee,o=E(),i=ui(o,r);return eh(o,r)?Bb(o,Vt(),n,i.transform,e,i):i.transform(e)}function d0(t,n,e,r){let o=t+ee,i=E(),s=ui(i,o);return eh(i,o)?Hb(i,Vt(),n,s.transform,e,r,s):s.transform(e,r)}function f0(t,n,e,r,o){let i=t+ee,s=E(),a=ui(s,i);return eh(s,i)?Ub(s,Vt(),n,a.transform,e,r,o,a):a.transform(e,r,o)}function eh(t,n){return t[S].data[n].pure}function h0(t,n){return ac(t,n)}var Za=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},p0=(()=>{class t{compileModuleSync(e){return new za(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),o=Mu(e),i=tv(o.declarations).reduce((s,a)=>{let c=kt(a);return c&&s.push(new Rn(c)),s},[]);return new Za(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $b=(()=>{class t{applicationErrorHandler=f(tn);appRef=f(Fe);taskService=f(fr);ngZone=f(P);zonelessEnabled=f(gi);tracing=f(It,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ri):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(ld,{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?Mg:sd;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(ri+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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function m0(){return sn("NgZoneless"),or([...th(),[]])}function th(){return[{provide:Rt,useExisting:$b},{provide:P,useClass:oi},{provide:gi,useValue:!0}]}function g0(){return typeof $localize<"u"&&$localize.locale||Vi}var ji=new y("",{factory:()=>f(ji,{optional:!0,skipSelf:!0})||g0()});var Bi=class{destroyed=!1;listeners=null;errorHandler=f(tt,{optional:!0});destroyRef=f(xe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new v(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(Ot(953,!1));return}if(this.listeners===null)return;let e=M(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{M(e)}}};function Le(t){return km(t)}function Er(t,n){return Xo(t,n?.equal)}var y0=t=>t;function v0(t,n){if(typeof t=="function"){let e=au(t,y0,n?.equal);return zb(e,n?.debugName)}else{let e=au(t.source,t.computation,t.equal);return zb(e,t.debugName)}}function zb(t,n){let e=t[ie],r=t;return r.set=o=>Rm(e,o),r.update=o=>Om(e,o),r.asReadonly=mi.bind(t),r}var vc=Symbol("InputSignalNode#UNSET"),t_=V(w({},Qo),{transformFn:void 0,applyValueToInputSignal(t,n){wn(t,n)}});function n_(t,n){let e=Object.create(t_);e.value=t,e.transformFn=n?.transform;function r(){if(Yt(e),e.value===vc){let o=null;throw new v(-950,o)}return e.value}return r[ie]=e,r}var Gb=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>af(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},j8=(()=>{let t=new y("");return t.__NG_ELEMENT_ID__=n=>{let e=pe();if(e===null)throw new v(-204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new v(-204,!1)},t})();function B8(t){return new Bi}function Wb(t,n){return n_(t,n)}function S0(t){return n_(vc,t)}var H8=(Wb.required=S0,Wb);function qb(t,n){return jf(n)}function T0(t,n){return Bf(n)}var U8=(qb.required=T0,qb);function $8(t,n){return Xv(n)}function Yb(t,n){return jf(n)}function x0(t,n){return Bf(n)}var z8=(Yb.required=x0,Yb);function r_(t,n){let e=Object.create(t_),r=new Bi;e.value=t;function o(){return Yt(e),Zb(e.value),e.value}return o[ie]=e,o.asReadonly=mi.bind(o),o.set=i=>{e.equal(e.value,i)||(wn(e,i),r.emit(i))},o.update=i=>{Zb(e.value),o.set(i(e.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Zb(t){if(t===vc)throw new v(952,!1)}function Kb(t,n){return r_(t,n)}function A0(t){return r_(vc,t)}var G8=(Kb.required=A0,Kb);var rh=new y(""),N0=new y("");function Hi(t){return!t.moduleRef}function R0(t){let n=Hi(t)?t.r3Injector:t.moduleRef.injector,e=n.get(P);return e.run(()=>{Hi(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(tn),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),Hi(t)){let i=()=>n.destroy(),s=t.platformInjector.get(rh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(rh);s.add(i),t.moduleRef.onDestroy(()=>{_i(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return k0(r,e,()=>{let i=n.get(fr),s=i.add(),a=n.get(zf);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(ji,Vi);if(bb(c||Vi),!n.get(N0,!0))return Hi(t)?n.get(Fe):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Hi(t)){let u=n.get(Fe);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return O0?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var O0;function k0(t,n,e){try{let r=e();return vr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var gc=null;function F0(t=[],n){return j.create({name:n,providers:[{provide:ci,useValue:"platform"},{provide:rh,useValue:new Set([()=>gc=null])},...t]})}function P0(t=[]){if(gc)return gc;let n=F0(t);return gc=n,db(),L0(n),n}function L0(t){let n=t.get(Ka,null);Qr(t,()=>{n?.forEach(e=>e())})}var V0=1e4;var W8=V0-1e3;var kn=(()=>{class t{static __NG_ELEMENT_ID__=j0}return t})();function j0(t){return B0(pe(),E(),(t&16)===16)}function B0(t,n,e){if(Lt(t)&&!e){let r=it(t.index,n);return new Nn(r,r)}else if(t.type&175){let r=n[Te];return new Nn(r,n)}return null}var oh=class{supports(n){return Ff(n)}create(n){return new ih(n)}},H0=(t,n)=>n,ih=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||H0}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<Xb(r,o,i)?e:r,a=Xb(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 p=0;p<l;p++){let h=p<i.length?i[p]:i[p]=0,m=h+p;u<=m&&m<l&&(i[p]=h+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=[]),!Ff(n))throw new v(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,Lv(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 sh(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 yc),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 yc),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}},sh=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}},ah=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}},yc=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new ah,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 Xb(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 ch=class{supports(n){return n instanceof Map||lc(n)}create(){return new lh}},lh=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||lc(n)))throw new v(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 uh(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))}},uh=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Qb(){return new bc([new oh])}var bc=(()=>{class t{factories;static \u0275prov=g({token:t,providedIn:"root",factory:Qb});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||Qb())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new v(901,!1)}}return t})();function Jb(){return new hh([new ch])}var hh=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:Jb});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||Jb())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r)return r;throw new v(901,!1)}}return t})();var o_=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(I(Fe))};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})();function i_(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;Z(z.BootstrapApplicationStart);try{let i=o?.injector??P0(r),s=[th(),Tg,...e||[]],a=new Mi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return R0({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Z(z.BootstrapApplicationEnd)}}function ce(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ph(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var nh=Symbol("NOT_SET"),s_=new Set,U0=V(w({},Qo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:nh,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!==nh&&!Gr(this))return this.signal;try{for(let o of this.cleanup??s_)o()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Zt(this),r;try{r=this.userFn.apply(null,n)}finally{Dn(this,e)}return(this.value===nh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),dh=class extends Ei{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(xe),s),this.scheduler=o;for(let a of wf){let c=e[a];if(c===void 0)continue;let l=Object.create(U0);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Yt(l),l.value),l.signal[ie]=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??s_)e()}finally{En(n)}}};function q8(t,n){let e=n?.injector??f(j),r=e.get(Rt),o=e.get(nc),i=e.get(It,null,{optional:!0});o.impl??=e.get(Cf);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(io,null,{optional:!0}),c=new dh(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function _c(t,n){let e=kt(t),r=n.elementInjector||Xr();return new Rn(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function Y8(t){let n=kt(t);if(!n)return null;let e=new Rn(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 a_=null;function Je(){return a_}function mh(t){a_??=t}var Ui=class{},Fn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>f(c_),providedIn:"platform"})}return t})(),$0=new y(""),c_=(()=>{class t extends Fn{_location;_history;_doc=f(F);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Je().getBaseHref(this._doc)}onPopState(e){let r=Je().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=Je().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=g({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Dc(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function l_(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Mt(t){return t&&t[0]!=="?"?`?${t}`:t}var Do=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>f(d_),providedIn:"root"})}return t})(),Ec=new y(""),d_=(()=>{class t extends Do{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(F).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 Dc(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Mt(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)(I(Fn),I(Ec,8))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wc=(()=>{class t{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=W0(l_(u_(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+Mt(r))}normalize(e){return t.stripTrailingSlash(G0(this._basePath,u_(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+Mt(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mt(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=Mt;static joinWithSlash=Dc;static stripTrailingSlash=l_;static \u0275fac=function(r){return new(r||t)(I(Do))};static \u0275prov=g({token:t,factory:()=>z0(),providedIn:"root"})}return t})();function z0(){return new wc(I(Do))}function G0(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function u_(t){return t.replace(/\/index.html$/,"")}function W0(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var q0=(()=>{class t extends Do{_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=Dc(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+Mt(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+Mt(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)(I(Fn),I(Ec,8))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var Re=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Re||{}),Q=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(Q||{}),Ge=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(Ge||{}),dn={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 g_(t){return Qe(t)[fe.LocaleId]}function y_(t,n,e){let r=Qe(t),o=[r[fe.DayPeriodsFormat],r[fe.DayPeriodsStandalone]],i=st(o,n);return st(i,e)}function v_(t,n,e){let r=Qe(t),o=[r[fe.DaysFormat],r[fe.DaysStandalone]],i=st(o,n);return st(i,e)}function b_(t,n,e){let r=Qe(t),o=[r[fe.MonthsFormat],r[fe.MonthsStandalone]],i=st(o,n);return st(i,e)}function __(t,n){let r=Qe(t)[fe.Eras];return st(r,n)}function $i(t,n){let e=Qe(t);return st(e[fe.DateFormat],n)}function zi(t,n){let e=Qe(t);return st(e[fe.TimeFormat],n)}function Gi(t,n){let r=Qe(t)[fe.DateTimeFormat];return st(r,n)}function Wi(t,n){let e=Qe(t),r=e[fe.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return e[fe.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return e[fe.NumberSymbols][dn.Group]}return r}function D_(t){if(!t[fe.ExtraData])throw new v(2303,!1)}function E_(t){let n=Qe(t);return D_(n),(n[fe.ExtraData][2]||[]).map(r=>typeof r=="string"?gh(r):[gh(r[0]),gh(r[1])])}function w_(t,n,e){let r=Qe(t);D_(r);let o=[r[fe.ExtraData][0],r[fe.ExtraData][1]],i=st(o,n)||[];return st(i,e)||[]}function st(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new v(2304,!1)}function gh(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var Y0=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Cc={},Z0=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function C_(t,n,e,r){let o=ox(t);n=un(e,n)||n;let s=[],a;for(;n;)if(a=Z0.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=M_(r,c),o=rx(o,r));let l="";return s.forEach(u=>{let d=tx(u);l+=d?d(o,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function xc(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=g_(t);if(Cc[e]??={},Cc[e][n])return Cc[e][n];let r="";switch(n){case"shortDate":r=$i(t,Ge.Short);break;case"mediumDate":r=$i(t,Ge.Medium);break;case"longDate":r=$i(t,Ge.Long);break;case"fullDate":r=$i(t,Ge.Full);break;case"shortTime":r=zi(t,Ge.Short);break;case"mediumTime":r=zi(t,Ge.Medium);break;case"longTime":r=zi(t,Ge.Long);break;case"fullTime":r=zi(t,Ge.Full);break;case"short":let o=un(t,"shortTime"),i=un(t,"shortDate");r=Ic(Gi(t,Ge.Short),[o,i]);break;case"medium":let s=un(t,"mediumTime"),a=un(t,"mediumDate");r=Ic(Gi(t,Ge.Medium),[s,a]);break;case"long":let c=un(t,"longTime"),l=un(t,"longDate");r=Ic(Gi(t,Ge.Long),[c,l]);break;case"full":let u=un(t,"fullTime"),d=un(t,"fullDate");r=Ic(Gi(t,Ge.Full),[u,d]);break}return r&&(Cc[e][n]=r),r}function Ic(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function St(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 K0(t,n){return St(t,3).substring(0,n)}function ge(t,n,e=0,r=!1,o=!1){return function(i,s){let a=X0(t,i);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return K0(a,n);let c=Wi(s,dn.MinusSign);return St(a,n,c,r,o)}}function X0(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 v(2301,!1)}}function te(t,n,e=Re.Format,r=!1){return function(o,i){return Q0(o,i,t,n,e,r)}}function Q0(t,n,e,r,o,i){switch(e){case 2:return b_(n,o,r)[t.getMonth()];case 1:return v_(n,o,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(i){let l=E_(n),u=w_(n,o,r),d=l.findIndex(p=>{if(Array.isArray(p)){let[h,m]=p,b=s>=h.hours&&a>=h.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(b&&_)return!0}else if(b||_)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return y_(n,o,r)[s<12?0:1];case 3:return __(n,r)[t.getFullYear()<=0?0:1];default:let c=e;throw new v(2302,!1)}}function Mc(t){return function(n,e,r){let o=-1*r,i=Wi(e,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case 0:return(o>=0?"+":"")+St(s,2,i)+St(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+St(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+St(s,2,i)+":"+St(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+St(s,2,i)+":"+St(Math.abs(o%60),2,i);default:throw new v(2310,!1)}}}var J0=0,Tc=4;function ex(t){let n=xc(t,J0,1).getDay();return xc(t,0,1+(n<=Tc?Tc:Tc+7)-n)}function I_(t){let n=t.getDay(),e=n===0?-3:Tc-n;return xc(t.getFullYear(),t.getMonth(),t.getDate()+e)}function yh(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=I_(e),s=ex(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return St(o,t,Wi(r,dn.MinusSign))}}function Sc(t,n=!1){return function(e,r){let i=I_(e).getFullYear();return St(i,t,Wi(r,dn.MinusSign),n)}}var vh={};function tx(t){if(vh[t])return vh[t];let n;switch(t){case"G":case"GG":case"GGG":n=te(3,Q.Abbreviated);break;case"GGGG":n=te(3,Q.Wide);break;case"GGGGG":n=te(3,Q.Narrow);break;case"y":n=ge(0,1,0,!1,!0);break;case"yy":n=ge(0,2,0,!0,!0);break;case"yyy":n=ge(0,3,0,!1,!0);break;case"yyyy":n=ge(0,4,0,!1,!0);break;case"Y":n=Sc(1);break;case"YY":n=Sc(2,!0);break;case"YYY":n=Sc(3);break;case"YYYY":n=Sc(4);break;case"M":case"L":n=ge(1,1,1);break;case"MM":case"LL":n=ge(1,2,1);break;case"MMM":n=te(2,Q.Abbreviated);break;case"MMMM":n=te(2,Q.Wide);break;case"MMMMM":n=te(2,Q.Narrow);break;case"LLL":n=te(2,Q.Abbreviated,Re.Standalone);break;case"LLLL":n=te(2,Q.Wide,Re.Standalone);break;case"LLLLL":n=te(2,Q.Narrow,Re.Standalone);break;case"w":n=yh(1);break;case"ww":n=yh(2);break;case"W":n=yh(1,!0);break;case"d":n=ge(2,1);break;case"dd":n=ge(2,2);break;case"c":case"cc":n=ge(7,1);break;case"ccc":n=te(1,Q.Abbreviated,Re.Standalone);break;case"cccc":n=te(1,Q.Wide,Re.Standalone);break;case"ccccc":n=te(1,Q.Narrow,Re.Standalone);break;case"cccccc":n=te(1,Q.Short,Re.Standalone);break;case"E":case"EE":case"EEE":n=te(1,Q.Abbreviated);break;case"EEEE":n=te(1,Q.Wide);break;case"EEEEE":n=te(1,Q.Narrow);break;case"EEEEEE":n=te(1,Q.Short);break;case"a":case"aa":case"aaa":n=te(0,Q.Abbreviated);break;case"aaaa":n=te(0,Q.Wide);break;case"aaaaa":n=te(0,Q.Narrow);break;case"b":case"bb":case"bbb":n=te(0,Q.Abbreviated,Re.Standalone,!0);break;case"bbbb":n=te(0,Q.Wide,Re.Standalone,!0);break;case"bbbbb":n=te(0,Q.Narrow,Re.Standalone,!0);break;case"B":case"BB":case"BBB":n=te(0,Q.Abbreviated,Re.Format,!0);break;case"BBBB":n=te(0,Q.Wide,Re.Format,!0);break;case"BBBBB":n=te(0,Q.Narrow,Re.Format,!0);break;case"h":n=ge(3,1,-12);break;case"hh":n=ge(3,2,-12);break;case"H":n=ge(3,1);break;case"HH":n=ge(3,2);break;case"m":n=ge(4,1);break;case"mm":n=ge(4,2);break;case"s":n=ge(5,1);break;case"ss":n=ge(5,2);break;case"S":n=ge(6,1);break;case"SS":n=ge(6,2);break;case"SSS":n=ge(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Mc(0);break;case"ZZZZZ":n=Mc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Mc(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Mc(2);break;default:return null}return vh[t]=n,n}function M_(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function nx(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function rx(t,n,e){let o=t.getTimezoneOffset(),i=M_(n,o);return nx(t,-1*(i-o))}function ox(t){if(f_(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 xc(o,i-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(Y0))return ix(r)}let n=new Date(t);if(!f_(n))throw new v(2311,!1);return n}function ix(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 f_(t){return t instanceof Date&&!isNaN(t.valueOf())}var bh=/\s+/,h_=[],sx=(()=>{class t{_ngEl;_renderer;initialClasses=h_;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(bh):h_}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(bh):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(bh).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(H),D(Ne))};static \u0275dir=T({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Ac=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}},S_=(()=>{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 Ac(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),p_(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);p_(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(D(ze),D(Ke),D(bc))};static \u0275dir=T({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function p_(t,n){t.context.$implicit=n.item}var ax=(()=>{class t{_viewContainer;_context=new Nc;_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){m_(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){m_(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(ze),D(Ke))};static \u0275dir=T({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Nc=class{$implicit=null;ngIf=null};function m_(t,n){if(t&&!t.createEmbeddedView)throw new v(2020,!1)}var cx=(()=>{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:Ct.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(H),D(hh),D(Ne))};static \u0275dir=T({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),lx=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(j);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(ze))};static \u0275dir=T({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ue]})}return t})();function Eh(t,n){return new v(2100,!1)}var _h=class{createSubscription(n,e,r){return Le(()=>n.subscribe({next:e,error:r}))}dispose(n){Le(()=>n.unsubscribe())}},Dh=class{createSubscription(n,e,r){return n.then(o=>e?.(o),o=>r?.(o)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},ux=new Dh,dx=new _h,fx=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(tn);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(vr(e))return ux;if(fc(e))return dx;throw Eh(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(kn,16))};static \u0275pipe=Pi({name:"async",type:t,pure:!1})}return t})();var hx=/(?:[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,px=(()=>{class t{transform(e){return e==null?null:(mx(t,e),e.replace(hx,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=Pi({name:"titlecase",type:t,pure:!0})}return t})();function mx(t,n){if(typeof n!="string")throw Eh(t,n)}var gx="mediumDate",T_=new y(""),x_=new y(""),yx=(()=>{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??gx,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return C_(e,s,i||this.locale,a)}catch(s){throw Eh(t,s.message)}}static \u0275fac=function(r){return new(r||t)(D(ji,16),D(T_,24),D(x_,24))};static \u0275pipe=Pi({name:"date",type:t,pure:!0})}return t})();var wh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})();function qi(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 wr=class{};var Ih="browser";function A_(t){return t===Ih}var hW=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>new Ch(f(F),window)})}return t})(),Ch=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(V(w({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=vx(this.document,n);r&&(this.scrollToElement(r,e),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Ot(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(V(w({},e),{left:o-s[0],top:i-s[1]}))}};function vx(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 Yi=class{_doc;constructor(n){this._doc=n}manager},Rc=(()=>{class t extends Yi{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)(I(F))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Fc=new y(""),xh=(()=>{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 Rc));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof Rc);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 v(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(I(Fc),I(P))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Mh="ng-app-id";function N_(t){for(let n of t)n.remove()}function R_(t,n){let e=n.createElement("style");return e.textContent=t,e}function bx(t,n,e,r){let o=t.head?.querySelectorAll(`style[${Mh}="${n}"],link[${Mh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Mh),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 Th(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Ah=(()=>{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,bx(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,R_);r?.forEach(o=>this.addUsage(o,this.external,Th))}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&&(N_(o.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])N_(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(e,R_(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,Th(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)(I(F),I(On),I(yo,8),I(yr))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Sh={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"},Nh=/%COMP%/g;var k_="%COMP%",_x=`_nghost-${k_}`,Dx=`_ngcontent-${k_}`,Ex=!0,wx=new y("",{factory:()=>Ex});function Cx(t){return Dx.replace(Nh,t)}function Ix(t){return _x.replace(Nh,t)}function F_(t,n){return n.map(e=>e.replace(Nh,t))}var Rh=(()=>{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 Zi(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof kc?o.applyToHost(e):o instanceof Ki&&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 wt.Emulated:i=new kc(c,l,r,this.appId,u,s,a,d);break;case wt.ShadowDom:return new Oc(c,e,r,s,a,this.nonce,d,l);case wt.ExperimentalIsolatedShadowDom:return new Oc(c,e,r,s,a,this.nonce,d);default:i=new Ki(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)(I(xh),I(Ah),I(On),I(wx),I(F),I(P),I(yo),I(It,8))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Zi=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(Sh[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(O_(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(O_(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 v(-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=Sh[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=Sh[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&(Ct.DashCase|Ct.Important)?n.style.setProperty(e,r,o&Ct.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Ct.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=Je().getGlobalEventTarget(this.doc,n),!n))throw new v(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 O_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Oc=class extends Zi{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=F_(r.id,l);for(let d of l){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let u=r.getExternalStyles?.();if(u)for(let d of u){let p=Th(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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)}},Ki=class extends Zi{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?F_(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&mr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kc=class extends Ki{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=Cx(l),this.hostAttr=Ix(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 Pc=class t extends Ui{supportsDOMEvents=!0;static makeCurrent(){mh(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=Mx();return e==null?null:Sx(e)}resetBaseElement(){Xi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qi(document.cookie,n)}},Xi=null;function Mx(){return Xi=Xi||document.head.querySelector("base"),Xi?Xi.getAttribute("href"):null}function Sx(t){return new URL(t,document.baseURI).pathname}var Lc=class{addToWindow(n){ue.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new v(5103,!1);return i},ue.getAllAngularTestabilities=()=>n.getAllTestabilities(),ue.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let o=ue.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let o=n.getTestability(e);return o??(r?Je().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},Tx=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),P_=["alt","control","meta","shift"],xx={"\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"},Ax={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},L_=(()=>{class t extends Yi{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(()=>Je().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."),P_.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=xx[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"),P_.forEach(s=>{if(s!==o){let a=Ax[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)(I(F))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();async function Nx(t,n,e){let r=w({rootComponent:t},Rx(n,e));return i_(r)}function Rx(t,n){return{platformRef:n?.platformRef,appProviders:[...V_,...t?.providers??[]],platformProviders:Px}}function Ox(){Pc.makeCurrent()}function kx(){return new tt}function Fx(){return lf(document),document}var Px=[{provide:yr,useValue:Ih},{provide:Ka,useValue:Ox,multi:!0},{provide:F,useFactory:Fx}];var Lx=[{provide:dc,useClass:Lc},{provide:uc,useClass:Li},{provide:Li,useClass:Li}],V_=[{provide:ci,useValue:"root"},{provide:tt,useFactory:kx},{provide:Fc,useClass:Rc,multi:!0},{provide:Fc,useClass:L_,multi:!0},Rh,Ah,xh,{provide:De,useExisting:Rh},{provide:wr,useClass:Tx},[]],Vx=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({providers:[...V_,...Lx],imports:[wh,o_]})}return t})();var zt=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 jc=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()}},Bc=class{encodeKey(n){return j_(n)}encodeValue(n){return j_(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function jx(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 Bx=/%(\d[a-f0-9])/gi,Hx={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j_(t){return encodeURIComponent(t).replace(Bx,(n,e)=>Hx[e]??n)}function Vc(t){return`${t}`}var fn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Bc,n.fromString){if(n.fromObject)throw new v(2805,!1);this.map=jx(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(Vc):[Vc(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(Vc(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(Vc(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 Ux(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function B_(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function H_(t){return typeof Blob<"u"&&t instanceof Blob}function U_(t){return typeof FormData<"u"&&t instanceof FormData}function $x(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var $_="Content-Type",z_="Accept",W_="text/plain",q_="application/json",zx=`${q_}, ${W_}, */*`,Eo=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(Ux(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new v(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new zt,this.context??=new jc,!this.params)this.params=new fn,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"||B_(this.body)||H_(this.body)||U_(this.body)||$x(this.body)?this.body:this.body instanceof fn?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||U_(this.body)?null:H_(this.body)?this.body.type||null:B_(this.body)?null:typeof this.body=="string"?W_:this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?q_: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,p=n.integrity||this.integrity,h=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,b=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,C=n.withCredentials??this.withCredentials,ne=n.reportProgress??this.reportProgress,We=n.headers||this.headers,_e=n.params||this.params,Lo=n.context??this.context;return n.setHeaders!==void 0&&(We=Object.keys(n.setHeaders).reduce((Vo,jn)=>Vo.set(jn,n.setHeaders[jn]),We)),n.setParams&&(_e=Object.keys(n.setParams).reduce((Vo,jn)=>Vo.set(jn,n.setParams[jn]),_e)),new t(e,r,_,{params:_e,headers:We,context:Lo,reportProgress:ne,responseType:o,withCredentials:C,transferCache:m,keepalive:i,cache:a,priority:s,timeout:b,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:h})}},Cr=(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})(Cr||{}),Co=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new zt,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}},Hc=class t extends Co{constructor(n={}){super(n)}type=Cr.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})}},Qi=class t extends Co{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Cr.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})}},wo=class extends Co{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}},Gx=200,Wx=204;var qx=new y("");var Yx=/^\)\]\}',?\n/;var kh=(()=>{class t{xhrFactory;tracingService=f(It,{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 v(-2800,!1);let r=this.xhrFactory;return Be(null).pipe($r(()=>new O(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,C)=>s.setRequestHeader(_,C.join(","))),e.headers.has(z_)||s.setRequestHeader(z_,zx),!e.headers.has($_)){let _=e.detectContentTypeHeader();_!==null&&s.setRequestHeader($_,_)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let _=e.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",C=new zt(s.getAllResponseHeaders()),ne=s.responseURL||e.url;return c=new Hc({headers:C,status:s.status,statusText:_,url:ne}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:C,statusText:ne,url:We}=l(),_e=null;C!==Wx&&(_e=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=_e?Gx:0);let Lo=C>=200&&C<300;if(e.responseType==="json"&&typeof _e=="string"){let Vo=_e;_e=_e.replace(Yx,"");try{_e=_e!==""?JSON.parse(_e):null}catch(jn){_e=Vo,Lo&&(Lo=!1,_e={error:jn,text:_e})}}Lo?(i.next(new Qi({body:_e,headers:_,status:C,statusText:ne,url:We||void 0})),i.complete()):i.error(new wo({error:_e,headers:_,status:C,statusText:ne,url:We||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:C}=l(),ne=new wo({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(ne)}),p=d;e.timeout&&(p=this.maybePropagateTrace(_=>{let{url:C}=l(),ne=new wo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:C||void 0});i.error(ne)}));let h=!1,m=this.maybePropagateTrace(_=>{h||(i.next(l()),h=!0);let C={type:Cr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(C.total=_.total),e.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)}),b=this.maybePropagateTrace(_=>{let C={type:Cr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(C.total=_.total),i.next(C)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),i.next({type:Cr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(I(wr))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Y_(t,n){return n(t)}function Zx(t,n){return(e,r)=>n.intercept(e,{handle:o=>t(o,r)})}function Kx(t,n,e){return(r,o)=>Qr(e,()=>n(r,i=>t(i,o)))}var Z_=new y(""),Fh=new y("",{factory:()=>[]}),K_=new y(""),Ph=new y("",{factory:()=>!0});function Xx(){let t=null;return(n,e)=>{t===null&&(t=(f(Z_,{optional:!0})??[]).reduceRight(Zx,Y_));let r=f(so);if(f(Ph)){let i=r.add();return t(n,e).pipe(Ws(i))}else return t(n,e)}}var Lh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=I(kh),o},providedIn:"root"})}return t})();var Uc=(()=>{class t{backend;injector;chain=null;pendingTasks=f(so);contributeToStability=f(Ph);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Fh),...this.injector.get(K_,[])]));this.chain=r.reduceRight((o,i)=>Kx(o,i,this.injector),Y_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Ws(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(I(Lh),I(le))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=I(Uc),o},providedIn:"root"})}return t})();function Oh(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 $c=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof Eo)i=e;else{let c;o.headers instanceof zt?c=o.headers:c=new zt(o.headers);let l;o.params&&(o.params instanceof fn?l=o.params:l=new fn({fromObject:o.params})),i=new Eo(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=Be(i).pipe(Gl(c=>this.handler.handle(c)));if(e instanceof Eo||o.observe==="events")return s;let a=s.pipe(we(c=>c instanceof Qi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));default:return a.pipe(re(c=>c.body))}case"response":return a;default:throw new v(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 fn().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,Oh(o,r))}post(e,r,o={}){return this.request("POST",e,Oh(o,r))}put(e,r,o={}){return this.request("PUT",e,Oh(o,r))}static \u0275fac=function(r){return new(r||t)(I(Vh))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qx=new y("",{factory:()=>!0}),Jx="XSRF-TOKEN",eA=new y("",{factory:()=>Jx}),tA="X-XSRF-TOKEN",nA=new y("",{factory:()=>tA}),rA=(()=>{class t{cookieName=f(eA);doc=f(F);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=qi(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),X_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=I(rA),o},providedIn:"root"})}return t})();function oA(t,n){if(!f(Qx)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=f(Fn).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(X_).getToken(),r=f(nA);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var jh=(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})(jh||{});function iA(t,n){return{\u0275kind:t,\u0275providers:n}}function Q_(...t){let n=[$c,Uc,{provide:Vh,useExisting:Uc},{provide:Lh,useFactory:()=>f(qx,{optional:!0})??f(kh)},{provide:Fh,useValue:oA,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return or(n)}var G_=new y("");function J_(){return iA(jh.LegacyInterceptors,[{provide:G_,useFactory:Xx},{provide:Fh,useExisting:G_,multi:!0}])}var sA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({providers:[Q_(J_())]})}return t})();var T3=(()=>{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)(I(F))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cA(t,n){if(typeof COMPILED>"u"||!COMPILED){let e=ue.ng=ue.ng||{};e[t]=n}}var Bh=class{msPerTick;numTicks;constructor(n,e){this.msPerTick=n,this.numTicks=e}},Hh=class{appRef;constructor(n){this.appRef=n.injector.get(Fe)}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 Bh(a,i)}},lA="profiler";function x3(t){return cA(lA,new Hh(t)),t}var Uh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=I(uA),o},providedIn:"root"})}return t})(),uA=(()=>{class t extends Uh{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case $e.NONE:return r;case $e.HTML:return Ht(r,"HTML")?Xe(r):Ja(this._doc,String(r)).toString();case $e.STYLE:return Ht(r,"Style")?Xe(r):r;case $e.SCRIPT:if(Ht(r,"Script"))return Xe(r);throw new v(5200,!1);case $e.URL:return Ht(r,"URL")?Xe(r):Ai(String(r));case $e.RESOURCE_URL:if(Ht(r,"ResourceURL"))return Xe(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(e){return df(e)}bypassSecurityTrustStyle(e){return ff(e)}bypassSecurityTrustScript(e){return hf(e)}bypassSecurityTrustUrl(e){return pf(e)}bypassSecurityTrustResourceUrl(e){return mf(e)}static \u0275fac=function(r){return new(r||t)(I(F))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ji(t){return t.buttons===0||t.detail===0}function es(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 $h;function eD(){if($h==null){let t=typeof document<"u"?document.head:null;$h=!!(t&&(t.createShadowRoot||t.attachShadow))}return $h}function zh(t){if(eD()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function dA(){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 Ve(t){return t.composedPath?t.composedPath()[0]:t.target}var Gh;try{Gh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Gh=!1}var oe=(()=>{class t{_platformId=f(yr);isBrowser=this._platformId?A_(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||Gh)&&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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ts;function tD(){if(ts==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ts=!0}))}finally{ts=ts||!1}return ts}function Io(t){return tD()?t:!!t.capture}function Ir(t,n=0){return nD(t)?Number(t):arguments.length===2?n:0}function nD(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function at(t){return t instanceof H?t.nativeElement:t}var rD=new y("cdk-input-modality-detector-options"),oD={ignoreKeys:[18,17,224,91,16]},iD=650,Wh={passive:!0,capture:!0},sD=(()=>{class t{_platform=f(oe);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Gn(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ve(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<iD||(this._modality.next(Ji(e)?"keyboard":"mouse"),this._mostRecentTarget=Ve(e))};_onTouchstart=e=>{if(es(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ve(e)};constructor(){let e=f(P),r=f(F),o=f(rD,{optional:!0});if(this._options=w(w({},oD),o),this.modalityDetected=this._modality.pipe(qo(1)),this.modalityChanged=this.modalityDetected.pipe(Ur()),this._platform.isBrowser){let i=f(De).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,Wh),i.listen(r,"mousedown",this._onMousedown,Wh),i.listen(r,"touchstart",this._onTouchstart,Wh)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ns=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(ns||{}),aD=new y("cdk-focus-monitor-default-options"),zc=Io({passive:!0,capture:!0}),Gc=(()=>{class t{_ngZone=f(P);_platform=f(oe);_inputModalityDetector=f(sD);_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(F);_stopInputModalityDetector=new N;constructor(){let e=f(aD,{optional:!0});this._detectionMode=e?.detectionMode||ns.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Ve(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=at(e);if(!this._platform.isBrowser||o.nodeType!==1)return Be();let i=zh(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new N,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=at(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=at(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===ns.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===ns.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?iD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,r){let o=this._elementInfo.get(r),i=Ve(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,zc),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,zc)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(qt(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,zc),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zc),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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fA=(()=>{class t{_elementRef=f(H);_focusMonitor=f(Gc);_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=T({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Wc=new WeakMap,ct=(()=>{class t{_appRef;_injector=f(j);_environmentInjector=f(le);load(e){let r=this._appRef=this._appRef||this._injector.get(Fe),o=Wc.get(r);o||(o={loaders:new Set,refs:[]},Wc.set(r,o),r.onDestroy(()=>{Wc.get(r)?.refs.forEach(i=>i.destroy()),Wc.delete(r)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(_c(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yc=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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})(),qc;function hA(){if(qc===void 0&&(qc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(qc=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return qc}function pA(t){return hA()?.createHTML(t)||t}function cD(t,n,e){let r=e.sanitize($e.HTML,n);t.innerHTML=pA(r||"")}function Mr(t){return Array.isArray(t)?t:[t]}var lD=new Set,Sr,Zc=(()=>{class t{_platform=f(oe);_nonce=f(yo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):gA}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&mA(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mA(t,n){if(!lD.has(t))try{Sr||(Sr=document.createElement("style"),n&&Sr.setAttribute("nonce",n),Sr.setAttribute("type","text/css"),document.head.appendChild(Sr)),Sr.sheet&&(Sr.sheet.insertRule(`@media ${t} {body{ }}`,0),lD.add(t))}catch(e){console.error(e)}}function gA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var qh=(()=>{class t{_mediaMatcher=f(Zc);_zone=f(P);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uD(Mr(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=uD(Mr(e)).map(s=>this._registerQuery(s).observable),i=Hl(o);return i=bn(i.pipe(pt(1)),i.pipe(qo(1),Zn(0))),i.pipe(re(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(Yo(r),re(({matches:s})=>({query:e,matches:s})),qt(this._destroySubject)),mql:r};return this._queries.set(e,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function uD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function yA(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 dD=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fD=(()=>{class t{_mutationObserverFactory=f(dD);_observedElements=new Map;_ngZone=f(P);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=at(e);return new O(o=>{let s=this._observeElement(r).pipe(re(a=>a.filter(c=>!yA(c))),we(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 N,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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),N4=(()=>{class t{_contentObserver=f(fD);_elementRef=f(H);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=Ir(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(Zn(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ce],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),hD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({providers:[dD]})}return t})();var vA=(()=>{class t{_platform=f(oe);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return _A(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=bA(TA(e));if(r&&(pD(r)===-1||!this.isVisible(r)))return!1;let o=e.nodeName.toLowerCase(),i=pD(e);return e.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!MA(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 SA(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bA(t){try{return t.frameElement}catch{return null}}function _A(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function DA(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function EA(t){return CA(t)&&t.type=="hidden"}function wA(t){return IA(t)&&t.hasAttribute("href")}function CA(t){return t.nodeName.toLowerCase()=="input"}function IA(t){return t.nodeName.toLowerCase()=="a"}function yD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function pD(t){if(!yD(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function MA(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function SA(t){return EA(t)?!1:DA(t)||wA(t)||t.hasAttribute("contenteditable")||yD(t)}function TA(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zh=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?Ut(n,{injector:this._injector}):setTimeout(n)}},xA=(()=>{class t{_checker=f(vA);_ngZone=f(P);_document=f(F);_injector=f(j);constructor(){f(ct).load(Yc)}create(e,r=!1){return new Zh(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var vD=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),bD=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),AA=0,NA=(()=>{class t{_ngZone=f(P);_defaultOptions=f(bD,{optional:!0});_liveElement;_document=f(F);_sanitizer=f(Uh);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(vD,{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:cD(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-${AA++}`,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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pn=(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})(Pn||{}),mD="cdk-high-contrast-black-on-white",gD="cdk-high-contrast-white-on-black",Yh="cdk-high-contrast-active",_D=(()=>{class t{_platform=f(oe);_hasCheckedHighContrastMode=!1;_document=f(F);_breakpointSubscription;constructor(){this._breakpointSubscription=f(qh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pn.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 Pn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pn.BLACK_ON_WHITE}return Pn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Yh,mD,gD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Pn.BLACK_ON_WHITE?e.add(Yh,mD):r===Pn.WHITE_ON_BLACK&&e.add(Yh,gD)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RA=(()=>{class t{constructor(){f(_D)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[hD]})}return t})();var Kh={},rs=class t{_appId=f(On);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),Kh.hasOwnProperty(n)||(Kh[n]=0),`${n}${e?t._infix+"-":""}${Kh[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})};var OA=200,Mo=class{_letterKeyStream=new N;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new N;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:OA;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(Xl(e=>this._pressedLetters.push(e)),Zn(n),we(()=>this._pressedLetters.length>0),re(()=>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 Kc(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var So=class{_items;_activeItemIndex=be(-1);_activeItem=be(null);_wrap=!1;_typeaheadSubscription=B.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 nn?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):_o(n)&&(this._effectRef=ao(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new N;change=new N;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 Mo(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||Kc(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 _o(this._items)?this._items():this._items instanceof nn?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 Xh=class extends So{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Qh=class extends So{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function Jh(t){return vn(t)?t:Be(t)}var ep=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=B.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 nn?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):vn(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 N;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 Mo(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()?Jh(this._activeItem.getChildren()).pipe(pt(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=Jh(n.getChildren()):e=Be(this._items.filter(r=>r.getParent()===null)),e.pipe(pt(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},S5=new y("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new ep(t,n)});var ED=" ";function kA(t,n,e){let r=Qc(t,n);e=e.trim(),!r.some(o=>o.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(ED)))}function FA(t,n,e){let r=Qc(t,n);e=e.trim();let o=r.filter(i=>i!==e);o.length?t.setAttribute(n,o.join(ED)):t.removeAttribute(n)}function Qc(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var wD="cdk-describedby-message",Xc="cdk-describedby-host",np=0,L5=(()=>{class t{_platform=f(oe);_document=f(F);_messageRegistry=new Map;_messagesContainer=null;_id=`${np++}`;constructor(){f(ct).load(Yc),this._id=f(On)+"-"+np++}describe(e,r,o){if(!this._canBeDescribed(e,r))return;let i=tp(r,o);typeof r!="string"?(DD(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=tp(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(`[${Xc}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(Xc);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let o=this._document.createElement("div");DD(o,this._id),o.textContent=e,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(tp(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=Qc(e,"aria-describedby").filter(o=>o.indexOf(wD)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let o=this._messageRegistry.get(r);kA(e,"aria-describedby",o.messageElement.id),e.setAttribute(Xc,this._id),o.referenceCount++}_removeMessageReference(e,r){let o=this._messageRegistry.get(r);o.referenceCount--,FA(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Xc)}_isElementDescribedByMessage(e,r){let o=Qc(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tp(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function DD(t,n){t.id||(t.id=`${wD}-${n}-${np++}`)}var Tt=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Tt||{}),Jc,Tr;function el(){if(Tr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Tr=!1,Tr;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Tr=!0;else{let t=Element.prototype.scrollTo;t?Tr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Tr=!1}}return Tr}function To(){if(typeof document!="object"||!document)return Tt.NORMAL;if(Jc==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),Jc=Tt.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Jc=t.scrollLeft===0?Tt.NEGATED:Tt.INVERTED),t.remove()}return Jc}function rp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var xo,CD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function q5(){if(xo)return xo;if(typeof document!="object"||!document)return xo=new Set(CD),xo;let t=document.createElement("input");return xo=new Set(CD.filter(n=>(t.setAttribute("type",n),t.type===n))),xo}var Q5={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 PA=new y("MATERIAL_ANIMATIONS"),ID=null;function LA(){return f(PA,{optional:!0})?.animationsDisabled||f(xi,{optional:!0})==="NoopAnimations"?"di-disabled":(ID??=f(Zc).matchMedia("(prefers-reduced-motion)").matches,ID?"reduced-motion":"enabled")}function Ln(){return LA()!=="enabled"}function he(t){return t==null?"":typeof t=="string"?t:`${t}px`}function iq(t){return t!=null&&`${t}`!="false"}var lt=(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})(lt||{}),op=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=lt.HIDDEN;constructor(n,e,r,o=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},MD=Io({passive:!0,capture:!0}),ip=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,MD)})}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,MD)))}_delegateEventHandler=n=>{let e=Ve(n);e&&this._events.get(n.type)?.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(i=>i.handleEvent(n))})}},os={enterDuration:225,exitDuration:150},VA=800,SD=Io({passive:!0,capture:!0}),TD=["mousedown","touchstart"],xD=["mouseup","mouseleave","touchend","touchcancel"],jA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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})(),is=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new ip;constructor(n,e,r,o,i){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=at(r)),i&&i.get(ct).load(jA)}fadeInRipple(n,e,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=w(w({},os),r.animation);r.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=r.radius||BA(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),p=d.transitionProperty,h=d.transitionDuration,m=p==="none"||h==="0s"||h==="0s, 0s"||o.width===0&&o.height===0,b=new op(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",b.state=lt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=b);let _=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>{_&&(_.fallbackTimer=null),clearTimeout(We),this._finishRippleTransition(b)},ne=()=>this._destroyRipple(b),We=setTimeout(ne,l+100);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",ne),_={onTransitionEnd:C,onTransitionCancel:ne,fallbackTimer:We}}),this._activeRipples.set(b,_),(m||!l)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===lt.FADING_OUT||n.state===lt.HIDDEN)return;let e=n.element,r=w(w({},os),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=lt.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=at(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,TD.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(()=>{xD.forEach(e=>{this._triggerElement.addEventListener(e,this,SD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===lt.FADING_IN?this._startFadeOutTransition(n):n.state===lt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=lt.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=lt.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=Ji(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+VA;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!es(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===lt.VISIBLE||n.config.terminateOnPointerUp&&n.state===lt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(TD.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(xD.forEach(e=>n.removeEventListener(e,this,SD)),this._pointerUpEventsRegistered=!1))}};function BA(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 sp=new y("mat-ripple-global-options"),_q=(()=>{class t{_elementRef=f(H);_animationsDisabled=Ln();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(P),r=f(oe),o=f(sp,{optional:!0}),i=f(j);this._globalOptions=o||{},this._rippleRenderer=new is(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:w(w(w({},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,w(w({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&Pe("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 HA={capture:!0},UA=["focus","mousedown","mouseenter","touchstart"],ap="mat-ripple-loader-uninitialized",cp="mat-ripple-loader-class-name",AD="mat-ripple-loader-centered",tl="mat-ripple-loader-disabled",ND=(()=>{class t{_document=f(F);_animationsDisabled=Ln();_globalRippleOptions=f(sp,{optional:!0});_platform=f(oe);_ngZone=f(P);_injector=f(j);_eventCleanups;_hosts=new Map;constructor(){let e=f(De).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>UA.map(r=>e.listen(this._document,r,this._onInteraction,HA)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(ap,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(cp))&&e.setAttribute(cp,r.className||""),r.centered&&e.setAttribute(AD,""),r.disabled&&e.setAttribute(tl,"")}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(tl,""):e.removeAttribute(tl)}_onInteraction=e=>{let r=Ve(e);if(r instanceof HTMLElement){let o=r.closest(`[${ap}="${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(cp)),e.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??os.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??os.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(tl),rippleConfig:{centered:e.hasAttribute(AD),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new is(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(ap)}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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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 $A=["mat-icon-button",""],zA=["*"],GA=new y("MAT_BUTTON_CONFIG");function OD(t){return t==null?void 0:ph(t)}var lp=(()=>{class t{_elementRef=f(H);_ngZone=f(P);_animationsDisabled=Ln();_config=f(GA,{optional:!0});_focusMonitor=f(Gc);_cleanupClick;_renderer=f(Ne);_rippleLoader=f(ND);_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(ct).load(RD);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=T({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(an("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),Xf(o.color?"mat-"+o.color:""),Pe("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",ce],disabled:[2,"disabled","disabled",ce],ariaDisabled:[2,"aria-disabled","ariaDisabled",ce],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ce],tabIndex:[2,"tabIndex","tabIndex",OD],_tabindex:[2,"tabindex","_tabindex",OD]}})}return t})(),WA=(()=>{class t extends lp{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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:[G],attrs:$A,ngContentSelectors:zA,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Dr(),$t(0,"span",0),ln(1),$t(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
|
|
`,`@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 qA=new y("cdk-dir-doc",{providedIn:"root",factory:()=>f(F)}),YA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function kD(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?YA.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ao=(()=>{class t{get value(){return this.valueSignal()}valueSignal=be("ltr");change=new U;constructor(){let e=f(qA,{optional:!0});if(e){let r=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(kD(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})();var FD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[hn]})}return t})();var ZA=["matButton",""],KA=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],XA=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var PD=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"]]]),Qq=(()=>{class t extends lp{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=QA(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?PD.get(this._appearance):null,i=PD.get(e);o&&r.remove(...o),r.add(...i),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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:[G],attrs:ZA,ngContentSelectors:XA,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Dr(KA),$t(0,"span",0),ln(1),br(2,"span",1),ln(3,1),_r(),ln(4,2),$t(5,"span",2)(6,"span",3)),r&2&&Pe("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:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-raised-button:focus-visible>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus-visible>.mat-focus-indicator::before,.mat-tonal-button:focus-visible>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
`,`@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 QA(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 Jq=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[FD,hn]})}return t})();var nl={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var ss=class{};function JA(t){return t&&typeof t.connect=="function"&&!(t instanceof jo)}var up=class extends ss{_data;constructor(n){super(),this._data=n}connect(){return vn(this._data)?this._data:Be(this._data)}disconnect(){}},Gt=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Gt||{}),dp=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?Gt.INSERTED:Gt.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=Gt.REMOVED):(l=this._moveView(a,c,e,o(s)),u=Gt.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 eN=["contentWrapper"],tN=["*"],VD=new y("VIRTUAL_SCROLL_STRATEGY"),fp=class{_scrolledIndexChange=new N;scrolledIndexChange=this._scrolledIndexChange.pipe(Ur());_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 nN(t){return t._scrollStrategy}var rN=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Ir(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Ir(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Ir(e)}_maxBufferPx=200;_scrollStrategy=new fp(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=T({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[me([{provide:VD,useFactory:nN,deps:[de(()=>t)]}]),Ue]})}return t})(),oN=20,as=(()=>{class t{_ngZone=f(P);_platform=f(oe);_renderer=f(De).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new N;_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=oN){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(Wo(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Be()}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(we(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=at(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pp=(()=>{class t{elementRef=f(H);scrollDispatcher=f(as);ngZone=f(P);dir=f(Ao,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new N;_renderer=f(Ne);_cleanupScroll;_elementScrolled=new N;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&&To()!=Tt.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),To()==Tt.INVERTED?e.left=e.right:To()==Tt.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;el()?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&&To()==Tt.INVERTED?e==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&To()==Tt.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=T({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),iN=20,xr=(()=>{class t{_platform=f(oe);_listeners;_viewportSize=null;_change=new N;_document=f(F);constructor(){let e=f(P),r=f(De).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=iN){return e>0?this._change.pipe(Wo(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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),LD=new y("VIRTUAL_SCROLLABLE"),sN=(()=>{class t extends pp{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=T({type:t,features:[G]})}return t})();function aN(t,n){return t.start==n.start&&t.end==n.end}var cN=typeof requestAnimationFrame<"u"?jl:Vl,lN=new y("CDK_VIRTUAL_SCROLL_VIEWPORT"),uN=(()=>{class t extends sN{elementRef=f(H);_changeDetectorRef=f(kn);_scrollStrategy=f(VD,{optional:!0});scrollable=f(LD,{optional:!0});_platform=f(oe);_detachedSubject=new N;_renderedRangeSubject=new N;_renderedContentOffsetSubject=new N;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(we(e=>e!==null),Ur());_totalContentSize=0;_totalContentWidth=be("");_totalContentHeight=be("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=be(!1);_runAfterChangeDetection=[];_viewportChanges=B.EMPTY;_injector=f(j);_isDestroyed=!1;constructor(){super();let e=f(xr);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=ao(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(Fe).injector});f(xe).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(Yo(null),Wo(0,cN),qt(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(qt(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){aN(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),!Le(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()),Ut(()=>{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=Ce({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&hc(eN,7),r&2){let i;Zf(i=Kf())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&Pe("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",ce]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[me([{provide:pp,useFactory:()=>f(LD,{optional:!0})||f(t)},{provide:lN,useExisting:t}]),G],ngContentSelectors:tN,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(Dr(),br(0,"div",1,0),ln(2),_r(),$t(3,"div",2)),r&2&&(Df(3),pc("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 hp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})(),mp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[hn,hp,hn,hp]})}return t})();var cs=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}},gp=class extends cs{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}},No=class extends cs{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()}},yp=class extends cs{element;constructor(n){super(),this.element=n instanceof H?n.nativeElement:n}},rl=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof gp)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof No)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof yp)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)}},ol=class extends rl{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(Bt,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||j.NULL,i=o.get(le,r.injector);e=_c(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]}},A6=(()=>{class t extends No{constructor(){let e=f(Ke),r=f(ze);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[G]})}return t})(),N6=(()=>{class t extends rl{_moduleRef=f(Bt,{optional:!0});_document=f(F);_viewContainerRef=f(ze);_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=T({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[G]})}return t})(),jD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})();var BD=el();function qD(t){return new il(t.get(xr),t.get(F))}var il=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=he(-this._previousScrollPosition.left),n.style.top=he(-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"),BD&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),BD&&(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 YD(t,n){return new sl(t.get(as),t.get(P),t.get(xr),n)}var sl=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(we(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 ls=class{enable(){}disable(){}attach(){}};function vp(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 HD(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 Dp(t,n){return new al(t.get(as),t.get(xr),t.get(P),n)}var al=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();vp(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}},ZD=(()=>{class t{_injector=f(j);constructor(){}noop=()=>new ls;close=e=>YD(this._injector,e);block=()=>qD(this._injector);reposition=e=>Dp(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),us=class{positionStrategy;scrollStrategy=new ls;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 cl=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var KD=(()=>{class t{_attachedOverlays=[];_document=f(F);_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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XD=(()=>{class t extends KD{_ngZone=f(P);_renderer=f(De).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=Ae(t)))(o||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QD=(()=>{class t extends KD{_platform=f(oe);_ngZone=f(P);_renderer=f(De).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=Ve(e)};_clickListener=e=>{let r=Ve(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(UD(a.overlayElement,r)||UD(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=Ae(t)))(o||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function UD(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 JD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({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:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:auto;top:0;left:0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}
|
|
`],encapsulation:2,changeDetection:0})}return t})(),Ep=(()=>{class t{_platform=f(oe);_containerElement;_document=f(F);_styleLoader=f(ct);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||rp()){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),rp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(JD)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bp=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 wp(t){return t&&t.nodeType===1}var ll=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new N;_attachments=new N;_detachments=new N;_positionStrategy;_scrollStrategy;_locationChanges=B.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new N;_outsidePointerEvents=new N;_afterNextRenderRef;constructor(n,e,r,o,i,s,a,c,l,u=!1,d,p){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=p,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=Ut(()=>{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=w(w({},this._config),n),this._updateElementSize()}setDirection(n){this._config=V(w({},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=he(this._config.width),n.height=he(this._config.height),n.minWidth=he(this._config.minWidth),n.minHeight=he(this._config.minHeight),n.maxWidth=he(this._config.maxWidth),n.maxHeight=he(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;wp(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 bp(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=Mr(e||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Ut(()=>{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?.()}},$D="cdk-overlay-connected-position-bounding-box",dN=/([A-Za-z%]+)$/;function Cp(t,n){return new ul(n,t.get(xr),t.get(F),t.get(oe),t.get(Ep))}var ul=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 N;_resizeSubscription=B.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($D),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&&Ar(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($D),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 H?this._origin.nativeElement:wp(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=GD(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,p=0-a,h=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),b=this._subtractOverflows(i.height,p,h),_=m*b;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:b===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=zD(this._overlayRef.getConfig().minHeight),a=zD(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=GD(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||!fN(this._lastScrollVisibility,r)){let o=new cl(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 h=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=h*2,s=n.y-h,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,p;if(l)p=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 h=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=h*2,d=n.x-h,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:p,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=he(r.width),o.height=he(r.height),o.top=he(r.top)||"auto",o.bottom=he(r.bottom)||"auto",o.left=he(r.left)||"auto",o.right=he(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=he(i)),s&&(o.maxWidth=he(s))}this._lastBoundingBoxSize=r,Ar(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ar(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ar(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();Ar(r,this._getExactOverlayY(e,n,u)),Ar(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=he(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=he(s.maxWidth):i&&(r.maxWidth="")),Ar(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=he(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=he(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HD(n,r),isOriginOutsideView:vp(n,r),isOverlayClipped:HD(e,r),isOverlayOutsideView:vp(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&&Mr(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 H)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 Ar(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function zD(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(dN);return!e||e==="px"?parseFloat(n):null}return t||null}function GD(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 fN(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var WD="cdk-global-overlay-wrapper";function eE(t){return new dl}var dl=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(WD),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,p=this._overlayRef.getConfig().direction==="rtl",h="",m="",b="";c?b="flex-start":u==="center"?(b="center",p?m=d:h=d):p?u==="left"||u==="end"?(b="flex-end",h=d):(u==="right"||u==="start")&&(b="flex-start",m=d):u==="left"||u==="start"?(b="flex-start",h=d):(u==="right"||u==="end")&&(b="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":h,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,e.justifyContent=b,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(WD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},tE=(()=>{class t{_injector=f(j);constructor(){}global(){return eE()}flexibleConnectedTo(e){return Cp(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ip=new y("OVERLAY_DEFAULT_CONFIG");function Mp(t,n){t.get(ct).load(JD);let e=t.get(Ep),r=t.get(F),o=t.get(rs),i=t.get(Fe),s=t.get(Ao),a=t.get(Ne,null,{optional:!0})||t.get(De).createRenderer(null,null),c=new us(n),l=t.get(Ip,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 p=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return wp(p)?p.after(d):p?.type==="parent"?p.element.appendChild(d):e.getContainerElement().appendChild(d),new ll(new ol(u,i,t),d,u,c,t.get(P),t.get(XD),r,t.get(wc),t.get(QD),n?.disableAnimations??t.get(xi,null,{optional:!0})==="NoopAnimations",t.get(le),a)}var nE=(()=>{class t{scrollStrategies=f(ZD);_positionBuilder=f(tE);_injector=f(j);constructor(){}create(e){return Mp(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hN=[{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"}],pN=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(j);return()=>Dp(t)}}),_p=(()=>{class t{elementRef=f(H);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),rE=new y("cdk-connected-overlay-default-config"),mN=(()=>{class t{_dir=f(Ao,{optional:!0});_injector=f(j);_overlayRef;_templatePortal;_backdropSubscription=B.EMPTY;_attachSubscription=B.EMPTY;_detachSubscription=B.EMPTY;_positionSubscription=B.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(pN);_ngZone=f(P);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(Ke),r=f(ze),o=f(rE,{optional:!0}),i=f(Ip,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new No(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=hN);let e=this._overlayRef=Mp(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&&!Kc(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Ve(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new us({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=Cp(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof _p?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof _p?this.origin.elementRef.nativeElement:this.origin instanceof H?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(Kl(()=>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=T({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",ce],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ce],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ce],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ce],push:[2,"cdkConnectedOverlayPush","push",ce],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ce],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ce],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ue]})}return t})(),gN=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({providers:[nE],imports:[hn,jD,mp,mp]})}return t})();var hE=(()=>{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(Ne),D(H))};static \u0275dir=T({type:t})}return t})(),El=(()=>{class t extends hE{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,features:[G]})}return t})(),Rr=new y("");var yN={provide:Rr,useExisting:de(()=>pE),multi:!0};function vN(){let t=Je()?Je().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var bN=new y(""),pE=(()=>{class t extends hE{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!vN())}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(Ne),D(H),D(bN,8))};static \u0275dir=T({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&&cn("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:[me([yN]),G]})}return t})();function Ap(t){return t==null||Np(t)===0}function Np(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Wt=new y(""),Or=new y(""),_N=/^(?=.{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])?)*$/,oE=class{static min(n){return mE(n)}static max(n){return gE(n)}static required(n){return yE(n)}static requiredTrue(n){return DN(n)}static email(n){return EN(n)}static minLength(n){return wN(n)}static maxLength(n){return CN(n)}static pattern(n){return IN(n)}static nullValidator(n){return hl()}static compose(n){return wE(n)}static composeAsync(n){return CE(n)}};function mE(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 gE(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 yE(t){return Ap(t.value)?{required:!0}:null}function DN(t){return t.value===!0?null:{required:!0}}function EN(t){return Ap(t.value)||_N.test(t.value)?null:{email:!0}}function wN(t){return n=>{let e=n.value?.length??Np(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function CN(t){return n=>{let e=n.value?.length??Np(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function IN(t){if(!t)return hl;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(Ap(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function hl(t){return null}function vE(t){return t!=null}function bE(t){return vr(t)?et(t):t}function _E(t){let n={};return t.forEach(e=>{n=e!=null?w(w({},n),e):n}),Object.keys(n).length===0?null:n}function DE(t,n){return n.map(e=>e(t))}function MN(t){return!t.validate}function EE(t){return t.map(n=>MN(n)?n:e=>n.validate(e))}function wE(t){if(!t)return null;let n=t.filter(vE);return n.length==0?null:function(e){return _E(DE(e,n))}}function Rp(t){return t!=null?wE(EE(t)):null}function CE(t){if(!t)return null;let n=t.filter(vE);return n.length==0?null:function(e){let r=DE(e,n).map(bE);return Ul(r).pipe(re(_E))}}function Op(t){return t!=null?CE(EE(t)):null}function iE(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function IE(t){return t._rawValidators}function ME(t){return t._rawAsyncValidators}function Sp(t){return t?Array.isArray(t)?t:[t]:[]}function pl(t,n){return Array.isArray(t)?t.includes(n):t===n}function sE(t,n){let e=Sp(n);return Sp(t).forEach(o=>{pl(e,o)||e.push(o)}),e}function aE(t,n){return Sp(n).filter(e=>!pl(t,e))}var ml=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=Rp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Op(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}},je=class extends ml{name;get formDirective(){return null}get path(){return null}},pn=class extends ml{_parent=null;name=null;valueAccessor=null},gl=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 P9=(()=>{class t extends gl{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(pn,2))};static \u0275dir=T({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Pe("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:[G]})}return t})(),L9=(()=>{class t extends gl{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(D(je,10))};static \u0275dir=T({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Pe("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:[G]})}return t})();var ds="VALID",fl="INVALID",Ro="PENDING",fs="DISABLED",Vn=class{},yl=class extends Vn{value;source;constructor(n,e){super(),this.value=n,this.source=e}},ps=class extends Vn{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ms=class extends Vn{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Oo=class extends Vn{status;source;constructor(n,e){super(),this.status=n,this.source=e}},vl=class extends Vn{source;constructor(n){super(),this.source=n}},gs=class extends Vn{source;constructor(n){super(),this.source=n}};function kp(t){return(wl(t)?t.validators:t)||null}function SN(t){return Array.isArray(t)?Rp(t):t||null}function Fp(t,n){return(wl(n)?n.asyncValidators:t)||null}function TN(t){return Array.isArray(t)?Op(t):t||null}function wl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function SE(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new v(1e3,"");if(!r[e])throw new v(1001,"")}function TE(t,n,e){t._forEachChild((r,o)=>{if(e[o]===void 0)throw new v(1002,"")})}var Fo=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 Le(this.statusReactive)}set status(n){Le(()=>this.statusReactive.set(n))}_status=Er(()=>this.statusReactive());statusReactive=be(void 0);get valid(){return this.status===ds}get invalid(){return this.status===fl}get pending(){return this.status==Ro}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}errors;get pristine(){return Le(this.pristineReactive)}set pristine(n){Le(()=>this.pristineReactive.set(n))}_pristine=Er(()=>this.pristineReactive());pristineReactive=be(!0);get dirty(){return!this.pristine}get touched(){return Le(this.touchedReactive)}set touched(n){Le(()=>this.touchedReactive.set(n))}_touched=Er(()=>this.touchedReactive());touchedReactive=be(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aE(n,this._rawAsyncValidators))}hasValidator(n){return pl(this._rawValidators,n)}hasAsyncValidator(n){return pl(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(V(w({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new ms(!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 ms(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(V(w({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new ps(!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 ps(!0,r))}markAsPending(n={}){this.status=Ro;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Oo(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(V(w({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(o=>{o.disable(V(w({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new yl(this.value,r)),this._events.next(new Oo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(V(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(r=>{r.enable(V(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(V(w({},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===ds||this.status===Ro)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new yl(this.value,e)),this._events.next(new Oo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(V(w({},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()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Ro,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=bE(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 Oo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?fl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ro)?Ro:this._anyControlsHaveStatus(fl)?fl:ds}_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 ps(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ms(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){wl(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=SN(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=TN(this._rawAsyncValidators)}},Nr=class extends Fo{constructor(n,e,r){super(kp(e),Fp(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={}){TE(this,!0,n),Object.keys(n).forEach(r=>{SE(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,V(w({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new gs(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 V9=Nr;var Tp=class extends Nr{};var Po=new y("",{factory:()=>Cl}),Cl="always";function Il(t,n){return[...n.path,t]}function ys(t,n,e=Cl){Pp(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),AN(t,n),RN(t,n),NN(t,n),xN(t,n)}function bl(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),Dl(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function _l(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function xN(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Pp(t,n){let e=IE(t);n.validator!==null?t.setValidators(iE(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=ME(t);n.asyncValidator!==null?t.setAsyncValidators(iE(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();_l(n._rawValidators,o),_l(n._rawAsyncValidators,o)}function Dl(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=IE(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=ME(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 _l(n._rawValidators,r),_l(n._rawAsyncValidators,r),e}function AN(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&xE(t,n)})}function NN(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&xE(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function xE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function RN(t,n){let e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function AE(t,n){t==null,Pp(t,n)}function ON(t,n){return Dl(t,n)}function Lp(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function kN(t){return Object.getPrototypeOf(t.constructor)===El}function NE(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Vp(t,n){if(!n)return null;Array.isArray(n);let e,r,o;return n.forEach(i=>{i.constructor===pE?e=i:kN(i)?r=i:o=i}),o||r||e||null}function FN(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var PN={provide:je,useExisting:de(()=>LN)},hs=Promise.resolve(),LN=(()=>{class t extends je{callSetDisabledState;get submitted(){return Le(this.submittedReactive)}_submitted=Er(()=>this.submittedReactive());submittedReactive=be(!1);_directives=new Set;form;ngSubmit=new U;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new Nr({},Rp(e),Op(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){hs.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),ys(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){hs.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){hs.then(()=>{let r=this._findContainer(e.path),o=new Nr({});AE(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){hs.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){hs.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),NE(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new vl(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(Wt,10),D(Or,10),D(Po,8))};static \u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&cn("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:[me([PN]),G]})}return t})();function cE(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function lE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ko=class extends Fo{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(kp(e),Fp(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(lE(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 gs(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){cE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){cE(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){lE(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}},B9=ko,VN=t=>t instanceof ko,jN=(()=>{class t extends je{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Il(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=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,standalone:!1,features:[G]})}return t})();var BN={provide:pn,useExisting:de(()=>HN)},uE=Promise.resolve(),HN=(()=>{class t extends pn{_changeDetectorRef;callSetDisabledState;control=new ko;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=Vp(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),Lp(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(){ys(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){uE.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,o=r!==0&&ce(r);uE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Il(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(D(je,9),D(Wt,10),D(Or,10),D(Rr,10),D(kn,8),D(Po,8))};static \u0275dir=T({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:[me([BN]),G,Ue]})}return t})();var H9=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),UN={provide:Rr,useExisting:de(()=>$N),multi:!0},$N=(()=>{class t extends El{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=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&cn("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[me([UN]),G]})}return t})();var xp=class extends Fo{constructor(n,e,r){super(kp(e),Fp(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={}){TE(this,!1,n),n.forEach((r,o)=>{SE(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],V(w({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new gs(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 RE=(()=>{class t extends je{callSetDisabledState;get submitted(){return Le(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Er(()=>this._submittedReactive());_submittedReactive=be(!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&&(Dl(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 ys(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){bl(e.control||null,e,!1),FN(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,NE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new vl(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,o=this.form.get(e.path);r!==o&&(bl(r||null,e),VN(o)&&(ys(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);AE(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&ON(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Pp(this.form,this),this._oldForm&&Dl(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(D(Wt,10),D(Or,10),D(Po,8))};static \u0275dir=T({type:t,features:[G,Ue]})}return t})();var jp=new y(""),zN={provide:pn,useExisting:de(()=>GN)},GN=(()=>{class t extends pn{_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=Vp(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&bl(r,this,!1),ys(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Lp(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&bl(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(Wt,10),D(Or,10),D(Rr,10),D(jp,8),D(Po,8))};static \u0275dir=T({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:[me([zN]),G,Ue]})}return t})(),WN={provide:je,useExisting:de(()=>OE)},OE=(()=>{class t extends jN{name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){FE(this._parent)}static \u0275fac=function(r){return new(r||t)(D(je,13),D(Wt,10),D(Or,10))};static \u0275dir=T({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[me([WN]),G]})}return t})(),qN={provide:je,useExisting:de(()=>kE)},kE=(()=>{class t extends je{_parent;name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){FE(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 Il(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||t)(D(je,13),D(Wt,10),D(Or,10))};static \u0275dir=T({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[me([qN]),G]})}return t})();function FE(t){return!(t instanceof OE)&&!(t instanceof RE)&&!(t instanceof kE)}var YN={provide:pn,useExisting:de(()=>ZN)},ZN=(()=>{class t extends pn{_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=Vp(this,i)}ngOnChanges(e){this._added||this._setUpControl(),Lp(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 Il(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(je,13),D(Wt,10),D(Or,10),D(Rr,10),D(jp,8))};static \u0275dir=T({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[me([YN]),G,Ue]})}return t})();var KN={provide:je,useExisting:de(()=>XN)},XN=(()=>{class t extends RE{form=null;ngSubmit=new U;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&cn("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:[me([KN]),G]})}return t})(),QN={provide:Rr,useExisting:de(()=>LE),multi:!0};function PE(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function JN(t){return t.split(":")[0]}var LE=(()=>{class t extends El{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(Fe).injector;destroyRef=f(xe);cdr=f(kn);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Ut({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=PE(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=JN(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&cn("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[me([QN]),G]})}return t})(),U9=(()=>{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(PE(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(H),D(Ne),D(LE,9))};static \u0275dir=T({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),eR={provide:Rr,useExisting:de(()=>VE),multi:!0};function dE(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function tR(t){return t.split(":")[0]}var VE=(()=>{class t extends El{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.toString())>-1)}}else r=(o,i)=>{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=tR(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&cn("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[me([eR]),G]})}return t})(),$9=(()=>{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(dE(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(dE(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(H),D(Ne),D(VE,9))};static \u0275dir=T({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function jE(t){return typeof t=="number"?t:parseFloat(t)}var Bp=(()=>{class t{_validator=hl;_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):hl,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=T({type:t,features:[Ue]})}return t})(),nR={provide:Wt,useExisting:de(()=>rR),multi:!0},rR=(()=>{class t extends Bp{max;inputName="max";normalizeInput=e=>jE(e);createValidator=e=>gE(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({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&&an("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[me([nR]),G]})}return t})(),oR={provide:Wt,useExisting:de(()=>iR),multi:!0},iR=(()=>{class t extends Bp{min;inputName="min";normalizeInput=e=>jE(e);createValidator=e=>mE(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({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&&an("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[me([oR]),G]})}return t})(),sR={provide:Wt,useExisting:de(()=>aR),multi:!0};var aR=(()=>{class t extends Bp{required;inputName="required";normalizeInput=ce;createValidator=e=>yE;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ae(t)))(o||t)}})();static \u0275dir=T({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&&an("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[me([sR]),G]})}return t})();var BE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({})}return t})();function fE(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var cR=(()=>{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 fE(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Nr(o,i)}record(e,r=null){let o=this._reduceControls(e);return new Tp(o,r)}control(e,r,o){let i={};return this.useNonNullable?(fE(r)?i=r:(i.validators=r,i.asyncValidators=o),new ko(e,V(w({},i),{nonNullable:!0}))):new ko(e,r,o)}array(e,r,o){let i=e.map(s=>this._createControl(s));return new xp(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 ko)return e;if(e instanceof Fo)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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var z9=(()=>{class t extends cR{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=Ae(t)))(o||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G9=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Po,useValue:e.callSetDisabledState??Cl}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[BE]})}return t})(),W9=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:jp,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Po,useValue:e.callSetDisabledState??Cl}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=K({type:t});static \u0275inj=W({imports:[BE]})}return t})();var Ml=class t extends Error{originalError;constructor(n){super(n)}static fromError(n,e){let r=new t(n);return r.originalError=e,r}},lR=(()=>{class t{handleError(e){let r=e;return e.name==="HttpErrorResponse"&&e.status===0?r=Ml.fromError("Controller is unreachable",e):e.error?.message&&(r=Ml.fromError(e.error.message,e)),zo(()=>r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),tY=(()=>{class t{http;errorHandler;requestsNotificationEmitter=new U;isRefreshing=!1;failedQueue=[];constructor(e,r){this.http=e,this.errorHandler=r}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}/${nl.current_version}${r}`):r=`/${nl.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(Hr(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),zo(()=>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($r(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))),Hr(c=>(this.isRefreshing=!1,this.processQueue(c),c.status===401&&(this.clearTokens(e),this.redirectToLogin(e)),zo(()=>c)))))}doRefreshToken(e,r){let o=`${e.protocol}//${e.host}:${e.port}/${nl.current_version}/access/users/refresh`;return this.http.post(o,{refresh_token:r},{headers:new zt({"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){window.location.href=`/controller/${e.id}/login`}static \u0275fac=function(r){return new(r||t)(I($c),I(lR))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var Hp=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 N;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 uR=(()=>{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=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var HE=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=Gt.INSERTED}else c==null?(e.remove(a),u=Gt.REMOVED):(l=e.get(a),e.move(l,c),u=Gt.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){}};var mY=(()=>{class t{_animationsDisabled=Ln();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ce({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&Pe("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:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
`],encapsulation:2,changeDetection:0})}return t})();export{w as a,V as b,YE as c,dR as d,fR as e,hR as f,B as g,JE as h,O as i,N as j,Gn as k,Ho as l,Vl as m,jl as n,Wn as o,et as p,Be as q,zo as r,vn as s,qn as t,fw as u,pw as v,re as w,Hl as x,ht as y,Go as z,bn as A,Cw as B,Ul as C,$l as D,Yn as E,Nw as F,Rw as G,we as H,Wo as I,Hr as J,zl as K,Gl as L,Ow as M,Zn as N,pt as O,Wl as P,kw as Q,Ur as R,Ws as S,Lw as T,Vw as U,Em as V,Zl as W,wm as X,qo as Y,Yo as Z,$r as _,qt as $,Xl as aa,v as ba,Ot as ca,de as da,g as ea,W as fa,Zw as ga,y as ha,I as ia,f as ja,Ym as ka,le as la,Qr as ma,ag as na,cg as oa,_g as pa,Dg as qa,j as ra,F as sa,xe as ta,fr as ua,U as va,P as wa,tt as xa,tn as ya,be as za,ao as Aa,Ue as Ba,Ae as Ca,af as Da,H as Ea,nn as Fa,yr as Ga,xi as Ha,jy as Ia,$e as Ja,FI as Ka,Jy as La,ev as Ma,jI as Na,BI as Oa,HI as Pa,Df as Qa,sn as Ra,Ut as Sa,Ke as Ta,De as Ua,Ne as Va,D as Wa,rS as Xa,ze as Ya,Jv as Za,eb as _a,Ce as $a,K as ab,T as bb,Pi as cb,$S as db,G as eb,ib as fb,sb as gb,ab as hb,_o as ib,vr as jb,tT as kb,ub as lb,Fe as mb,hb as nb,an as ob,rT as pb,iT as qb,Gf as rb,sT as sb,aT as tb,cT as ub,lT as vb,uT as wb,pb as xb,qa as yb,Wf as zb,mb as Ab,br as Bb,_r as Cb,$t as Db,qf as Eb,Yf as Fb,yb as Gb,gT as Hb,vb as Ib,cn as Jb,_b as Kb,DT as Lb,Dr as Mb,ln as Nb,Eb as Ob,hc as Pb,Zf as Qb,Kf as Rb,wb as Sb,Cb as Tb,CT as Ub,IT as Vb,pc as Wb,Pe as Xb,Xf as Yb,WT as Zb,Ob as _b,Qf as $b,kb as ac,Fb as bc,Pb as cc,KT as dc,Lb as ec,XT as fc,QT as gc,me as hc,n0 as ic,r0 as jc,o0 as kc,i0 as lc,s0 as mc,c0 as nc,u0 as oc,d0 as pc,f0 as qc,h0 as rc,p0 as sc,m0 as tc,Le as uc,Er as vc,v0 as wc,Gb as xc,j8 as yc,B8 as zc,H8 as Ac,U8 as Bc,$8 as Cc,z8 as Dc,G8 as Ec,kn as Fc,bc as Gc,ce as Hc,ph as Ic,q8 as Jc,Y8 as Kc,$0 as Lc,Do as Mc,d_ as Nc,wc as Oc,q0 as Pc,sx as Qc,S_ as Rc,ax as Sc,cx as Tc,lx as Uc,fx as Vc,px as Wc,yx as Xc,wh as Yc,A_ as Zc,hW as _c,Rh as $c,Nx as ad,Vx as bd,zt as cd,fn as dd,Eo as ed,Cr as fd,wo as gd,Z_ as hd,$c as id,sA as jd,T3 as kd,x3 as ld,Uh as md,zh as nd,dA as od,Ve as pd,ct as qd,Ji as rd,es as sd,Ir as td,nD as ud,at as vd,oe as wd,Ao as xd,hn as yd,ss as zd,JA as Ad,up as Bd,Gt as Cd,dp as Dd,rN as Ed,as as Fd,pp as Gd,xr as Hd,lN as Id,uN as Jd,hp as Kd,mp as Ld,rs as Md,Mr as Nd,gp as Od,No as Pd,rl as Qd,ol as Rd,A6 as Sd,N6 as Td,jD as Ud,Kc as Vd,qD as Wd,Dp as Xd,us as Yd,Ep as Zd,ll as _d,Cp as $d,eE as ae,Ip as be,Mp as ce,_p as de,mN as ee,gN as fe,HE as ge,Rr as he,pE as ie,Wt as je,oE as ke,je as le,pn as me,P9 as ne,L9 as oe,Nr as pe,V9 as qe,LN as re,ko as se,B9 as te,HN as ue,H9 as ve,$N as we,GN as xe,OE as ye,kE as ze,ZN as Ae,XN as Be,U9 as Ce,$9 as De,rR as Ee,iR as Fe,aR as Ge,cR as He,z9 as Ie,G9 as Je,W9 as Ke,Gc as Le,fA as Me,Yc as Ne,pA as Oe,Zc as Pe,qh as Qe,N4 as Re,hD as Se,vA as Te,xA as Ue,NA as Ve,RA as We,Xh as Xe,Qh as Ye,Jh as Ze,S5 as _e,kA as $e,FA as af,L5 as bf,iq as cf,q5 as df,Q5 as ef,LA as ff,Ln as gf,is as hf,sp as if,_q as jf,ND as kf,RD as lf,WA as mf,FD as nf,Qq as of,Jq as pf,nl as qf,lR as rf,tY as sf,uR as tf,Hp as uf,mY as vf};
|