@letscooee/web-sdk 9.12.21 → 9.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +0,0 @@
1
- var wp=Object.create;var gr=Object.defineProperty,Ep=Object.defineProperties,Xc=Object.getOwnPropertyDescriptor,Ip=Object.getOwnPropertyDescriptors,Cp=Object.getOwnPropertyNames,pr=Object.getOwnPropertySymbols,bp=Object.getPrototypeOf,Mi=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable;var Ti=(e,t,n)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||={})Mi.call(t,n)&&Ti(e,n,t[n]);if(pr)for(var n of pr(t))el.call(t,n)&&Ti(e,n,t[n]);return e},X=(e,t)=>Ep(e,Ip(t));var zE=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var GE=(e,t)=>{var n={};for(var r in e)Mi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&pr)for(var r of pr(e))t.indexOf(r)<0&&el.call(e,r)&&(n[r]=e[r]);return n};var WE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Sp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Cp(t))!Mi.call(e,o)&&o!==n&&gr(e,o,{get:()=>t[o],enumerable:!(r=Xc(t,o))||r.enumerable});return e};var qE=(e,t,n)=>(n=e!=null?wp(bp(e)):{},Sp(t||!e||!e.__esModule?gr(n,"default",{value:e,enumerable:!0}):n,e));var ZE=(e,t,n,r)=>{for(var o=r>1?void 0:r?Xc(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&gr(t,n,o),o};var YE=(e,t,n)=>Ti(e,typeof t!="symbol"?t+"":t,n);function nl(e,t){return Object.is(e,t)}var q=null,yn=!1,Ai=1,ce=Symbol("SIGNAL");function b(e){let t=q;return q=e,t}function rl(){return q}function Tp(){return yn}var ht={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vr(e){if(yn)throw new Error("");if(q===null)return;q.consumerOnSignalRead(e);let t=q.nextProducerIndex++;if(Dr(q),t<q.producerNode.length&&q.producerNode[t]!==e&&Dn(q)){let n=q.producerNode[t];yr(n,q.producerIndexOfThis[t])}q.producerNode[t]!==e&&(q.producerNode[t]=e,q.producerIndexOfThis[t]=Dn(q)?cl(e,q,t):0),q.producerLastReadVersion[t]=e.version}function Mp(){Ai++}function ol(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ai)){if(!e.producerMustRecompute(e)&&!wn(e)){tl(e);return}e.producerRecomputeValue(e),tl(e)}}function il(e){if(e.liveConsumerNode===void 0)return;let t=yn;yn=!0;try{for(let n of e.liveConsumerNode)n.dirty||al(n)}finally{yn=t}}function sl(){return q?.consumerAllowSignalWrites!==!1}function al(e){e.dirty=!0,il(e),e.consumerMarkedDirty?.(e)}function tl(e){e.dirty=!1,e.lastCleanEpoch=Ai}function Lt(e){return e&&(e.nextProducerIndex=0),b(e)}function _n(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)yr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function wn(e){Dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ol(n),r!==n.version))return!0}return!1}function Vt(e){if(Dr(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)yr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function cl(e,t,n){if(ll(e),e.liveConsumerNode.length===0&&ul(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=cl(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function yr(e,t){if(ll(e),e.liveConsumerNode.length===1&&ul(e))for(let r=0;r<e.producerNode.length;r++)yr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dr(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ll(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ul(e){return e.producerNode!==void 0}function dl(e){let t=Object.create(xp);t.computation=e;let n=()=>{if(ol(t),vr(t),t.value===mr)throw t.error;return t.value};return n[ce]=t,n}var xi=Symbol("UNSET"),Ni=Symbol("COMPUTING"),mr=Symbol("ERRORED"),xp=X(J({},ht),{value:xi,dirty:!0,error:null,equal:nl,kind:"computed",producerMustRecompute(e){return e.value===xi||e.value===Ni},producerRecomputeValue(e){if(e.value===Ni)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ni;let n=Lt(e),r,o=!1;try{r=e.computation(),b(null),o=t!==xi&&t!==mr&&r!==mr&&e.equal(t,r)}catch(i){r=mr,e.error=i}finally{_n(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Np(){throw new Error}var fl=Np;function hl(e){fl(e)}function pl(e){fl=e}var Rp=null;function gl(e){let t=Object.create(Oi);t.value=e;let n=()=>(vr(t),t.value);return n[ce]=t,n}function _r(e,t){sl()||hl(e),e.equal(e.value,t)||(e.value=t,Ap(e))}function ml(e,t){sl()||hl(e),_r(e,t(e.value))}var Oi=X(J({},ht),{equal:nl,value:void 0,kind:"signal"});function Ap(e){e.version++,Mp(),il(e),Rp?.()}function vl(e,t,n){let r=Object.create(Op);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Vt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ri)}let a=()=>{if(r.fn===null)return;if(Tp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!wn(r))return;r.hasRun=!0;let c=Lt(r);try{r.cleanupFn(),r.cleanupFn=Ri,r.fn(o)}finally{_n(r,c)}};return r.ref={notify:()=>al(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ce]:r},r.ref}var Ri=()=>{},Op=X(J({},ht),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ri});function w(e){return typeof e=="function"}function wr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Er=wr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function pt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof Er?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{yl(i)}catch(s){t=t??[],s instanceof Er?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Er(t)}}add(t){var n;if(t&&t!==this)if(this.closed)yl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&pt(n,t)}remove(t){let{_finalizers:n}=this;n&&pt(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var Pi=P.EMPTY;function Ir(e){return e instanceof P||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function yl(e){w(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Cr(e){jt.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function En(){}var Dl=ki("C",void 0,void 0);function _l(e){return ki("E",void 0,e)}function wl(e){return ki("N",e,void 0)}function ki(e,t,n){return{kind:e,value:t,error:n}}var gt=null;function Bt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!gt;if(t&&(gt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=gt;if(gt=null,n)throw r}}else e()}function El(e){we.useDeprecatedSynchronousErrorHandling&&gt&&(gt.errorThrown=!0,gt.error=e)}var mt=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ir(t)&&t.add(this)):this.destination=Fp}static create(t,n,r){return new Ht(t,n,r)}next(t){this.isStopped?Li(wl(t),this):this._next(t)}error(t){this.isStopped?Li(_l(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Li(Dl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Pp=Function.prototype.bind;function Fi(e,t){return Pp.call(e,t)}var Vi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){br(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){br(r)}else br(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){br(n)}}},Ht=class extends mt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Fi(t.next,i),error:t.error&&Fi(t.error,i),complete:t.complete&&Fi(t.complete,i)}):o=t}this.destination=new Vi(o)}};function br(e){we.useDeprecatedSynchronousErrorHandling?El(e):Cr(e)}function kp(e){throw e}function Li(e,t){let{onStoppedNotification:n}=we;n&&jt.setTimeout(()=>n(e,t))}var Fp={closed:!0,next:En,error:kp,complete:En};var $t=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(e){return e}function Il(e){return e.length===0?et:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var R=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Vp(n)?n:new Ht(n,r,o);return Bt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Cl(r),new r((o,i)=>{let s=new Ht({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[$t](){return this}pipe(...n){return Il(n)(this)}toPromise(n){return n=Cl(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Cl(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function Lp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Vp(e){return e&&e instanceof mt||Lp(e)&&Ir(e)}function jp(e){return w(e?.lift)}function L(e){return t=>{if(jp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function j(e,t,n,r,o){return new ji(e,t,n,r,o)}var ji=class extends mt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Ut={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Ut;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new P(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Ut;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Ut;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var bl=wr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var S=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Sr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new bl}next(n){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Pi:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,pt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new R;return n.source=this,n}}return e.create=(t,n)=>new Sr(t,n),e})(),Sr=class extends S{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Pi}};var vt=class extends S{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var In={now(){return(In.delegate||Date).now()},delegate:void 0};var Bi=class extends S{constructor(t=1/0,n=1/0,r=In){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Tr=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var Cn={setInterval(e,t,...n){let{delegate:r}=Cn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Cn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var zt=class extends Tr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Cn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Cn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,pt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Gt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Gt.now=In.now;var Wt=class extends Gt{constructor(t,n=Gt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var bn=new Wt(zt),Sl=bn;var Mr=class extends zt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Ut.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Ut.cancelAnimationFrame(n),t._scheduled=void 0)}};var xr=class extends Wt{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Nr=new xr(Mr);var Sn=new R(e=>e.complete());function Rr(e){return e&&w(e.schedule)}function Tl(e){return e[e.length-1]}function tt(e){return Rr(Tl(e))?e.pop():void 0}function Ml(e,t){return typeof Tl(e)=="number"?e.pop():t}function Nl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(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(e,t||[])).next())})}function xl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e){return this instanceof yt?(this.v=e,this):new yt(e)}function Rl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(m){return new Promise(function(M,N){i.push([f,m,M,N])>1||c(f,m)})},p&&(o[f]=p(o[f])))}function c(f,p){try{l(r[f](p))}catch(m){h(i[0][3],m)}}function l(f){f.value instanceof yt?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Al(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof xl=="function"?xl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var qt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ar(e){return w(e?.then)}function Or(e){return w(e[$t])}function Pr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function kr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Bp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Fr=Bp();function Lr(e){return w(e?.[Fr])}function Vr(e){return Rl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield yt(n.read());if(o)return yield yt(void 0);yield yield yt(r)}}finally{n.releaseLock()}})}function jr(e){return w(e?.getReader)}function B(e){if(e instanceof R)return e;if(e!=null){if(Or(e))return Hp(e);if(qt(e))return $p(e);if(Ar(e))return Up(e);if(Pr(e))return Ol(e);if(Lr(e))return zp(e);if(jr(e))return Gp(e)}throw kr(e)}function Hp(e){return new R(t=>{let n=e[$t]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $p(e){return new R(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Up(e){return new R(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Cr)})}function zp(e){return new R(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ol(e){return new R(t=>{Wp(e,t).catch(n=>t.error(n))})}function Gp(e){return Ol(Vr(e))}function Wp(e,t){var n,r,o,i;return Nl(this,void 0,void 0,function*(){try{for(n=Al(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function pe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Br(e,t=0){return L((n,r)=>{n.subscribe(j(r,o=>pe(r,e,()=>r.next(o),t),()=>pe(r,e,()=>r.complete(),t),o=>pe(r,e,()=>r.error(o),t)))})}function Hr(e,t=0){return L((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Pl(e,t){return B(e).pipe(Hr(t),Br(t))}function kl(e,t){return B(e).pipe(Hr(t),Br(t))}function Fl(e,t){return new R(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ll(e,t){return new R(n=>{let r;return pe(n,t,()=>{r=e[Fr](),pe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function $r(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Vl(e,t){return $r(Vr(e),t)}function jl(e,t){if(e!=null){if(Or(e))return Pl(e,t);if(qt(e))return Fl(e,t);if(Ar(e))return kl(e,t);if(Pr(e))return $r(e,t);if(Lr(e))return Ll(e,t);if(jr(e))return Vl(e,t)}throw kr(e)}function Dt(e,t){return t?jl(e,t):B(e)}function Hi(...e){let t=tt(e);return Dt(e,t)}function Bl(e){return e instanceof Date&&!isNaN(e)}function $e(e,t){return L((n,r)=>{let o=0;n.subscribe(j(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:qp}=Array;function Zp(e,t){return qp(t)?e(...t):e(t)}function Hl(e){return $e(t=>Zp(e,t))}function $l(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?p(m):c.push(m),p=m=>{i&&t.next(m),l++;let M=!1;B(n(m,u++)).subscribe(j(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&l<r;){let N=c.shift();s?pe(t,s,()=>p(N)):p(N)}h()}catch(N){t.error(N)}}))};return e.subscribe(j(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Zt(e,t,n=1/0){return w(t)?Zt((r,o)=>$e((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),L((r,o)=>$l(r,o,e,n)))}function Ur(e=1/0){return Zt(et,e)}function Ul(){return Ur(1)}function $i(...e){return Ul()(Dt(e,tt(e)))}function Yp(e){return new R(t=>{B(e()).subscribe(t)})}var Qp=["addListener","removeListener"],Kp=["addEventListener","removeEventListener"],Jp=["on","off"];function Ui(e,t,n,r){if(w(n)&&(r=n,n=void 0),r)return Ui(e,t,n).pipe(Hl(r));let[o,i]=tg(e)?Kp.map(s=>a=>e[s](t,a,n)):Xp(e)?Qp.map(zl(e,t)):eg(e)?Jp.map(zl(e,t)):[];if(!o&&qt(e))return Zt(s=>Ui(s,t,n))(B(e));if(!o)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function zl(e,t){return n=>r=>e[n](t,r)}function Xp(e){return w(e.addListener)&&w(e.removeListener)}function eg(e){return w(e.on)&&w(e.off)}function tg(e){return w(e.addEventListener)&&w(e.removeEventListener)}function zr(e=0,t,n=Sl){let r=-1;return t!=null&&(Rr(t)?n=t:r=t),new R(o=>{let i=Bl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function zi(e=0,t=bn){return e<0&&(e=0),zr(e,e,t)}function Gr(...e){let t=tt(e),n=Ml(e,1/0),r=e;return r.length?r.length===1?B(r[0]):Ur(n)(Dt(r,t)):Sn}function Tn(e,t){return L((n,r)=>{let o=0;n.subscribe(j(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Gl(e){return L((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(j(n,l=>{r=!0,o=l,i||B(e(l)).subscribe(i=j(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Wr(e,t=bn){return Gl(()=>zr(e,t))}function Gi(e){return e<=0?()=>Sn:L((t,n)=>{let r=0;t.subscribe(j(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Wl(e,t=et){return e=e??ng,L((n,r)=>{let o,i=!0;n.subscribe(j(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ng(e,t){return e===t}function rg(e){return Tn((t,n)=>e<=n)}function qr(...e){let t=tt(e);return L((n,r)=>{(t?$i(e,n,t):$i(e,n)).subscribe(r)})}function Zr(e,t){return L((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(j(r,c=>{o?.unsubscribe();let l=0,u=i++;B(e(c,u)).subscribe(o=j(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yt(e){return L((t,n)=>{B(e).subscribe(j(n,()=>n.complete(),En)),!n.closed&&t.subscribe(n)})}function Wi(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(j(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)}))}):et}var Fu="https://g.co/ng/security#xss",_=class extends Error{code;constructor(t,n){super(_a(t,n)),this.code=t}};function _a(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Lu=Symbol("InputSignalNode#UNSET"),og=X(J({},Oi),{transformFn:void 0,applyValueToInputSignal(e,t){_r(e,t)}});function Vu(e,t){let n=Object.create(og);n.value=e,n.transformFn=t?.transform;function r(){if(vr(n),n.value===Lu)throw new _(-950,!1);return n.value}return r[ce]=n,r}function qn(e){return{toString:e}.toString()}var Yr="__parameters__";function ig(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ju(e,t,n){return qn(()=>{let r=ig(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Yr)?c[Yr]:Object.defineProperty(c,Yr,{value:[]})[Yr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function sg(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ge(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ge).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function cs(e,t){return e?t?`${e} ${t}`:e:t||""}var ag=F({__forward_ref__:F});function wa(e){return e.__forward_ref__=wa,e.toString=function(){return ge(this())},e}function Y(e){return Bu(e)?e():e}function Bu(e){return typeof e=="function"&&e.hasOwnProperty(ag)&&e.__forward_ref__===wa}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ea(e){return ql(e,Hu)||ql(e,$u)}function ql(e,t){return e.hasOwnProperty(t)?e[t]:null}function cg(e){let t=e&&(e[Hu]||e[$u]);return t||null}function Zl(e){return e&&(e.hasOwnProperty(Yl)||e.hasOwnProperty(lg))?e[Yl]:null}var Hu=F({\u0275prov:F}),Yl=F({\u0275inj:F}),$u=F({ngInjectableDef:F}),lg=F({ngInjectorDef:F}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Uu(e){return e&&!!e.\u0275providers}var ug=F({\u0275cmp:F}),dg=F({\u0275dir:F}),fg=F({\u0275pipe:F});var ao=F({\u0275fac:F}),Rn=F({__NG_ELEMENT_ID__:F}),Ql=F({__NG_ENV_ID__:F});function Yn(e){return typeof e=="string"?e:e==null?"":String(e)}function hg(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Yn(e)}function pg(e,t){throw new _(-200,e)}function Ia(e,t){throw new _(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),ls;function zu(){return ls}function ae(e){let t=ls;return ls=e,t}function Gu(e,t,n){let r=Ea(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Ia(e,"Injector")}var gg={},An=gg,us="__NG_DI_FLAG__",co="ngTempTokenPath",mg="ngTokenPath",vg=/\n/gm,yg="\u0275",Kl="__source",en;function Dg(){return en}function nt(e){let t=en;return en=e,t}function _g(e,t=T.Default){if(en===void 0)throw new _(-203,!1);return en===null?Gu(e,void 0,t):en.get(e,t&T.Optional?null:void 0,t)}function x(e,t=T.Default){return(zu()||_g)(Y(e),t)}function g(e,t=T.Default){return x(e,Ao(t))}function Ao(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ds(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=wg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(x(o,i))}else t.push(x(r))}return t}function Wu(e,t){return e[us]=t,e.prototype[us]=t,e}function wg(e){return e[us]}function Eg(e,t,n,r){let o=e[co];throw t[Kl]&&o.unshift(t[Kl]),e.message=Ig(`
5
- `+e.message,o,n,r),e[mg]=o,e[co]=null,e}function Ig(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==yg?e.slice(2):e;let o=ge(t);if(Array.isArray(t))o=t.map(ge).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(vg,`
7
- `)}`}var Ca=Wu(ju("Optional"),8);var Cg=Wu(ju("SkipSelf"),4);function Et(e,t){let n=e.hasOwnProperty(ao);return n?e[ao]:null}function bg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Sg(e){return e.flat(Number.POSITIVE_INFINITY)}function ba(e,t){e.forEach(n=>Array.isArray(n)?ba(n,t):t(n))}function qu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Tg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Oo(e,t,n){let r=Qn(e,t);return r>=0?e[r|1]=n:(r=~r,Tg(e,r,t,n)),r}function qi(e,t){let n=Qn(e,t);if(n>=0)return e[n|1]}function Qn(e,t){return Mg(e,t,1)}function Mg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Oe={},re=[],On=new E(""),Zu=new E("",-1),Yu=new E(""),uo=class{get(t,n=An){if(n===An){let r=new Error(`NullInjectorError: No provider for ${ge(t)}!`);throw r.name="NullInjectorError",r}return n}};function It(e){return e[ug]||null}function Sa(e){return e[dg]||null}function Qu(e){return e[fg]||null}function xg(e){let t=It(e)||Sa(e)||Qu(e);return t!==null&&t.standalone}function Ku(e){return{\u0275providers:e}}function Ng(...e){return{\u0275providers:Ju(!0,e),\u0275fromNgModule:!0}}function Ju(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ba(t,s=>{let a=s;fs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Xu(o,i),n}function Xu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ta(o,i=>{t(i,r)})}}function fs(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Zl(e),s=!i&&It(e);if(!i&&!s){let c=e.ngModule;if(i=Zl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)fs(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ba(i.imports,u=>{fs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Xu(l,t)}if(!a){let l=Et(o)||(()=>new o);t({provide:o,useFactory:l,deps:re},o),t({provide:Yu,useValue:o,multi:!0},o),t({provide:On,useValue:()=>x(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ta(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ta(e,t){for(let n of e)Uu(n)&&(n=n.\u0275providers),Array.isArray(n)?Ta(n,t):t(n)}var Rg=F({provide:String,useValue:F});function ed(e){return e!==null&&typeof e=="object"&&Rg in e}function Ag(e){return!!(e&&e.useExisting)}function Og(e){return!!(e&&e.useFactory)}function rn(e){return typeof e=="function"}function Pg(e){return!!e.useClass}var Po=new E(""),eo={},kg={},Zi;function ko(){return Zi===void 0&&(Zi=new uo),Zi}var Pe=class{},Pn=class extends Pe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ps(t,s=>this.processProvider(s)),this.records.set(Zu,Qt(void 0,this)),o.has("environment")&&this.records.set(Pe,Qt(void 0,this));let i=this.records.get(Po);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Yu,re,T.Self))}destroy(){xn(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return xn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xn(this);let n=nt(this),r=ae(void 0),o;try{return t()}finally{nt(n),ae(r)}}get(t,n=An,r=T.Default){if(xn(this),t.hasOwnProperty(Ql))return t[Ql](this);r=Ao(r);let o,i=nt(this),s=ae(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Bg(t)&&Ea(t);l&&this.injectableDefInScope(l)?c=Qt(hs(t),eo):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?ko():this.parent;return n=r&T.Optional&&n===An?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[co]=a[co]||[]).unshift(ge(t)),i)throw a;return Eg(a,t,"R3InjectorError",this.source)}else throw a}finally{ae(s),nt(i)}}resolveInjectorInitializers(){let t=b(null),n=nt(this),r=ae(void 0),o;try{let i=this.get(On,re,T.Self);for(let s of i)s()}finally{nt(n),ae(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ge(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=rn(t)?t:Y(t&&t.provide),r=Lg(t);if(!rn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Qt(void 0,eo,!0),o.factory=()=>ds(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===eo&&(n.value=kg,n.value=n.factory()),typeof n.value=="object"&&n.value&&jg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function hs(e){let t=Ea(e),n=t!==null?t.factory:Et(e);if(n!==null)return n;if(e instanceof E)throw new _(204,!1);if(e instanceof Function)return Fg(e);throw new _(204,!1)}function Fg(e){if(e.length>0)throw new _(204,!1);let n=cg(e);return n!==null?()=>n.factory(e):()=>new e}function Lg(e){if(ed(e))return Qt(void 0,e.useValue);{let t=td(e);return Qt(t,eo)}}function td(e,t,n){let r;if(rn(e)){let o=Y(e);return Et(o)||hs(o)}else if(ed(e))r=()=>Y(e.useValue);else if(Og(e))r=()=>e.useFactory(...ds(e.deps||[]));else if(Ag(e))r=()=>x(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(Vg(e))r=()=>new o(...ds(e.deps));else return Et(o)||hs(o)}return r}function xn(e){if(e.destroyed)throw new _(205,!1)}function Qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vg(e){return!!e.deps}function jg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bg(e){return typeof e=="function"||typeof e=="object"&&e instanceof E}function ps(e,t){for(let n of e)Array.isArray(n)?ps(n,t):n&&Uu(n)?ps(n.\u0275providers,t):t(n)}function nd(e,t){e instanceof Pn&&xn(e);let n,r=nt(e),o=ae(void 0);try{return t()}finally{nt(r),ae(o)}}function rd(){return zu()!==void 0||Dg()!=null}function Fo(e){if(!rd())throw new _(-203,!1)}function Hg(e){return typeof e=="function"}var Ze=0,y=1,v=2,te=3,Ce=4,Te=5,kn=6,fo=7,$=8,Fn=9,Ge=10,G=11,Ln=12,Jl=13,ln=14,be=15,Ct=16,Kt=17,We=18,Kn=19,od=20,rt=21,to=22,bt=23,le=24,tn=25,H=26,id=1;var St=7,ho=8,on=9,ee=10;function ze(e){return Array.isArray(e)&&typeof e[id]=="object"}function Ye(e){return Array.isArray(e)&&e[id]===!0}function Ma(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function ke(e){return!!e.template}function po(e){return(e[v]&512)!==0}function Jn(e){return(e[v]&256)===256}var gs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function sd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Xn=(()=>{let e=()=>ad;return e.ngInherit=!0,e})();function ad(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ug),$g}function $g(){let e=ld(this),t=e?.current;if(t){let n=e.previous;if(n===Oe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ug(e,t,n,r,o){let i=this.declaredInputs[r],s=ld(e)||zg(e,{previous:Oe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new gs(l&&l.currentValue,n,c===Oe),sd(e,t,o,n)}var cd="__ngSimpleChanges__";function ld(e){return e[cd]||null}function zg(e,t){return e[cd]=t}var Xl=null;var A=function(e,t=null,n){Xl?.(e,t,n)},ud="svg",Gg="math";function ue(e){for(;Array.isArray(e);)e=e[Ze];return e}function dd(e,t){return ue(t[e])}function je(e,t){return ue(t[e.index])}function xa(e,t){return e.data[t]}function Vo(e,t){return e[t]}function me(e,t){let n=t[e];return ze(n)?n:n[Ze]}function Wg(e){return(e[v]&4)===4}function Na(e){return(e[v]&128)===128}function qg(e){return Ye(e[te])}function ot(e,t){return t==null?null:e[t]}function fd(e){e[Kt]=0}function Ra(e){e[v]&1024||(e[v]|=1024,Na(e)&&dn(e))}function Zg(e,t){for(;e>0;)t=t[ln],e--;return t}function jo(e){return!!(e[v]&9216||e[le]?.dirty)}function ms(e){e[Ge].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),jo(e)&&dn(e)}function dn(e){e[Ge].changeDetectionScheduler?.notify(0);let t=Tt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!Na(t)));)t=Tt(t)}function hd(e,t){if(Jn(e))throw new _(911,!1);e[rt]===null&&(e[rt]=[]),e[rt].push(t)}function Yg(e,t){if(e[rt]===null)return;let n=e[rt].indexOf(t);n!==-1&&e[rt].splice(n,1)}function Tt(e){let t=e[te];return Ye(t)?t[te]:t}function pd(e){return e[fo]??=[]}function gd(e){return e.cleanup??=[]}function Qg(e,t,n,r){let o=pd(t);o.push(n),e.firstCreatePass&&gd(e).push(r,o.length-1)}var I={lFrame:Cd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vs=!1;function Kg(){return I.lFrame.elementDepthCount}function Jg(){I.lFrame.elementDepthCount++}function Xg(){I.lFrame.elementDepthCount--}function Aa(){return I.bindingsEnabled}function em(){return I.skipHydrationRootTNode!==null}function tm(e){return I.skipHydrationRootTNode===e}function nm(){I.skipHydrationRootTNode=null}function C(){return I.lFrame.lView}function U(){return I.lFrame.tView}function vM(e){return I.lFrame.contextLView=e,e[$]}function yM(e){return I.lFrame.contextLView=null,e}function de(){let e=md();for(;e!==null&&e.type===64;)e=e.parent;return e}function md(){return I.lFrame.currentTNode}function rm(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function at(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Oa(){return I.lFrame.isParent}function vd(){I.lFrame.isParent=!1}function yd(){return I.lFrame.contextLView}function Dd(){return vs}function go(e){let t=vs;return vs=e,t}function Bo(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function om(e){return I.lFrame.bindingIndex=e}function er(){return I.lFrame.bindingIndex++}function _d(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function im(){return I.lFrame.inI18n}function sm(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,ys(t)}function am(){return I.lFrame.currentDirectiveIndex}function ys(e){I.lFrame.currentDirectiveIndex=e}function cm(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wd(){return I.lFrame.currentQueryIndex}function Pa(e){I.lFrame.currentQueryIndex=e}function lm(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[Te]:null}function Ed(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=lm(i),o===null||(i=i[ln],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=Id();return r.currentTNode=t,r.lView=e,!0}function ka(e){let t=Id(),n=e[y];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Id(){let e=I.lFrame,t=e===null?null:e.child;return t===null?Cd(e):t}function Cd(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function bd(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sd=bd;function Fa(){let e=bd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function um(e){return(I.lFrame.contextLView=Zg(e,I.lFrame.contextLView))[$]}function Qe(){return I.lFrame.selectedIndex}function Mt(e){I.lFrame.selectedIndex=e}function La(){let e=I.lFrame;return xa(e.tView,e.selectedIndex)}function DM(){I.lFrame.currentNamespace=ud}function _M(){dm()}function dm(){I.lFrame.currentNamespace=null}function fm(){return I.lFrame.currentNamespace}var Td=!0;function Ho(){return Td}function $o(e){Td=e}function hm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ad(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Va(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function no(e,t,n){Md(e,t,3,n)}function ro(e,t,n,r){(e[v]&3)===n&&Md(e,t,n,r)}function Yi(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function Md(e,t,n,r){let o=r!==void 0?e[Kt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Kt]+=65536),(a<i||i==-1)&&(pm(e,n,t,c),e[Kt]=(e[Kt]&4294901760)+c+2),c++}function eu(e,t){A(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),A(5,e,t)}}function pm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Kt]>>16&&(e[v]&3)===t&&(e[v]+=16384,eu(a,i)):eu(a,i)}var nn=-1,xt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function gm(e){return e instanceof xt}function mm(e){return(e.flags&8)!==0}function vm(e){return(e.flags&16)!==0}function ym(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];_m(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Dm(e){return e===3||e===4||e===6}function _m(e){return e.charCodeAt(0)===64}function sn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?tu(e,n,o,null,t[++r]):tu(e,n,o,null,null))}}return e}function tu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Qi={},Ds=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ao(r);let o=this.injector.get(t,Qi,r);return o!==Qi||n===Qi?o:this.parentInjector.get(t,n,r)}};function xd(e){return e!==nn}function mo(e){return e&32767}function wm(e){return e>>16}function vo(e,t){let n=wm(e),r=t;for(;n>0;)r=r[ln],n--;return r}var _s=!0;function yo(e){let t=_s;return _s=e,t}var Em=256,Nd=Em-1,Rd=5,Im=0,Re={};function Cm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rn)&&(r=n[Rn]),r==null&&(r=n[Rn]=Im++);let o=r&Nd,i=1<<o;t.data[e+(o>>Rd)]|=i}function Do(e,t){let n=Ad(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Ki(r.data,e),Ki(t,null),Ki(r.blueprint,null));let o=ja(e,t),i=e.injectorIndex;if(xd(o)){let s=mo(o),a=vo(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ki(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ad(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ja(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ld(o),r===null)return nn;if(n++,o=o[ln],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nn}function ws(e,t,n){Cm(e,t,n)}function Od(e,t,n){if(n&T.Optional||e!==void 0)return e;Ia(t,"NodeInjector")}function Pd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[Fn],i=ae(void 0);try{return o?o.get(t,r,n&T.Optional):Gu(t,r,n&T.Optional)}finally{ae(i)}}return Od(r,t,n)}function kd(e,t,n,r=T.Default,o){if(e!==null){if(t[v]&2048&&!(r&T.Self)){let s=Mm(e,t,n,r,Re);if(s!==Re)return s}let i=Fd(e,t,n,r,Re);if(i!==Re)return i}return Pd(t,n,r,o)}function Fd(e,t,n,r,o){let i=Sm(n);if(typeof i=="function"){if(!Ed(t,e,r))return r&T.Host?Od(o,n,r):Pd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Ia(n);else return s}finally{Sd()}}else if(typeof i=="number"){let s=null,a=Ad(e,t),c=nn,l=r&T.Host?t[be][Te]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?ja(e,t):t[a+8],c===nn||!ru(r,!1)?a=-1:(s=t[y],a=mo(c),t=vo(c,t)));a!==-1;){let u=t[y];if(nu(i,a,u.data)){let d=bm(a,t,n,s,r,l);if(d!==Re)return d}c=t[a+8],c!==nn&&ru(r,t[y].data[a+8]===l)&&nu(i,a,t)?(s=u,a=mo(c),t=vo(c,t)):a=-1}}return o}function bm(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?un(a)&&_s:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=oo(a,s,n,c,l);return u!==null?Vn(t,s,u,a):Re}function oo(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&ke(f)&&f.type===n)return c}return null}function Vn(e,t,n,r){let o=e[n],i=t.data;if(gm(o)){let s=o;s.resolving&&pg(hg(i[n]));let a=yo(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?ae(s.injectImpl):null,u=Ed(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&hm(n,i[n],t)}finally{l!==null&&ae(l),yo(a),s.resolving=!1,Sd()}}return o}function Sm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Rn)?e[Rn]:void 0;return typeof t=="number"?t>=0?t&Nd:Tm:t}function nu(e,t,n){let r=1<<e;return!!(n[t+(e>>Rd)]&r)}function ru(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var wt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return kd(this._tNode,this._lView,t,Ao(r),n)}};function Tm(){return new wt(de(),C())}function wM(e){return qn(()=>{let t=e.prototype.constructor,n=t[ao]||Es(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[ao]||Es(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Es(e){return Bu(e)?()=>{let t=Es(Y(e));return t&&t()}:Et(e)}function Mm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!po(s);){let a=Fd(i,s,n,r|T.Self,Re);if(a!==Re)return a;let c=i.parent;if(!c){let l=s[od];if(l){let u=l.get(n,Re,r);if(u!==Re)return u}c=Ld(s),s=s[ln]}i=c}return o}function Ld(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[Te]:null}function ou(e,t=null,n=null,r){let o=xm(e,t,n,r);return o.resolveInjectorInitializers(),o}function xm(e,t=null,n=null,r,o=new Set){let i=[n||re,Ng(e)];return r=r||(typeof e=="object"?void 0:ge(e)),new Pn(i,t||ko(),r||null,o)}var K=class e{static THROW_IF_NOT_FOUND=An;static NULL=new uo;static create(t,n){if(Array.isArray(t))return ou({name:""},n,t,"");{let r=t.name??"";return ou({name:r},t.parent,t.providers,r)}}static \u0275prov=D({token:e,providedIn:"any",factory:()=>x(Zu)});static __NG_ELEMENT_ID__=-1};var Nm=new E("");Nm.__NG_ELEMENT_ID__=e=>{let t=de();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new _(204,!1)};var Vd=!1,fn=(()=>{class e{static __NG_ELEMENT_ID__=Rm;static __NG_ENV_ID__=n=>n}return e})(),_o=class extends fn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return hd(this._lView,t),()=>Yg(this._lView,t)}};function Rm(){return new _o(C())}var it=class{},Uo=new E("",{providedIn:"root",factory:()=>!1});var jd=new E(""),Ba=new E(""),tr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new vt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();var Is=class extends S{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,rd()&&(this.destroyRef=g(fn,{optional:!0})??void 0,this.pendingTasks=g(tr,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Q=Is;function jn(...e){}function Bd(e){let t,n;function r(){e=jn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function iu(e){return queueMicrotask(()=>e()),()=>{e=jn}}var Ha="isAngularZone",wo=Ha+"_ID",Am=0,V=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Q(!1);onMicrotaskEmpty=new Q(!1);onStable=new Q(!1);onError=new Q(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Vd}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,km(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ha)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Om,jn,jn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Om={};function $a(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Pm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Bd(()=>{e.callbackScheduled=!1,Cs(e),e.isCheckStableRunning=!0,$a(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Cs(e)}function km(e){let t=()=>{Pm(e)},n=Am++;e._inner=e._inner.fork({name:"angular",properties:{[Ha]:!0,[wo]:n,[wo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Fm(c))return r.invokeTask(i,s,a,c);try{return su(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),au(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return su(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Lm(c)&&t(),au(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Cs(e),$a(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Cs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function su(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function au(e){e._nesting--,$a(e)}var Eo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Q;onMicrotaskEmpty=new Q;onStable=new Q;onError=new Q;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Fm(e){return Hd(e,"__ignore_ng_zone__")}function Lm(e){return Hd(e,"__scheduler_tick__")}function Hd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Se=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Vm=new E("",{providedIn:"root",factory:()=>{let e=g(V),t=g(Se);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),bs=class{destroyed=!1;listeners=null;errorHandler=g(Se,{optional:!0});destroyRef=g(fn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new _(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function EM(e){return new bs}function cu(e,t){return Vu(e,t)}function jm(e){return Vu(Lu,e)}var IM=(cu.required=jm,cu);function Bm(){return hn(de(),C())}function hn(e,t){return new fe(je(e,t))}var fe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Bm}return e})();function Hm(e){return e instanceof fe?e.nativeElement:e}function Ua(e,t){let n=gl(e),r=n[ce];return t?.equal&&(r.equal=t.equal),n.set=o=>_r(r,o),n.update=o=>ml(r,o),n.asReadonly=$m.bind(n),n}function $m(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function Um(){return this._results[Symbol.iterator]()}var Ss=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new S}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Sg(t);(this._changesDetected=!bg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Um};function $d(e){return(e.flags&128)===128}var Ud=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ud||{}),za=new Map,zm=0;function Gm(){return zm++}function Wm(e){za.set(e[Kn],e)}function zd(e){return za.get(e)||null}function Ts(e){za.delete(e[Kn])}var Ms=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return zd(this.lViewId)}constructor(t,n,r){this.lViewId=t,this.nodeIndex=n,this.native=r}};function CM(e){let t=Ji(e);if(t){if(ze(t)){let n=t,r,o,i;if(Gd(e)){if(r=Ym(n,e),r==-1)throw new Error("The provided component was not found in the application");o=e}else if(qm(e)){if(r=Qm(n,e),r==-1)throw new Error("The provided directive was not found in the application");i=Km(r,n)}else if(r=uu(n,e),r==-1)return null;let s=ue(n[r]),a=Ji(s),c=a&&!Array.isArray(a)?a:lu(n,r,s);if(o&&c.component===void 0&&(c.component=o,Ae(c.component,c)),i&&c.directives===void 0){c.directives=i;for(let l=0;l<i.length;l++)Ae(i[l],c)}Ae(c.native,c),t=c}}else{let n=e,r=n;for(;r=r.parentNode;){let o=Ji(r);if(o){let i=Array.isArray(o)?o:o.lView;if(!i)return null;let s=uu(i,n);if(s>=0){let a=ue(i[s]),c=lu(i,s,a);Ae(a,c),t=c;break}}}}return t||null}function lu(e,t,n){return new Ms(e[Kn],t,n)}var xs="__ngContext__";function Ae(e,t){ze(t)?(e[xs]=t[Kn],Wm(t)):e[xs]=t}function Ji(e){let t=e[xs];return typeof t=="number"?zd(t):t||null}function Gd(e){return e&&e.constructor&&e.constructor.\u0275cmp}function qm(e){return e&&e.constructor&&e.constructor.\u0275dir}function uu(e,t){let n=e[y];for(let r=H;r<n.bindingStartIndex;r++)if(ue(e[r])===t)return r;return-1}function Zm(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Ym(e,t){let n=e[y].components;if(n)for(let r=0;r<n.length;r++){let o=n[r];if(me(o,e)[$]===t)return o}else if(me(H,e)[$]===t)return H;return-1}function Qm(e,t){let n=e[y].firstChild;for(;n;){let r=n.directiveStart,o=n.directiveEnd;for(let i=r;i<o;i++)if(e[i]===t)return n.index;n=Zm(n)}return-1}function Km(e,t){let n=t[y].data[e];if(n.directiveStart===0)return re;let r=[];for(let o=n.directiveStart;o<n.directiveEnd;o++){let i=t[o];Gd(i)||r.push(i)}return r}function Wd(e){return Zd(e[Ln])}function qd(e){return Zd(e[Ce])}function Zd(e){for(;e!==null&&!Ye(e);)e=e[Ce];return e}var Ns;function Yd(e){Ns=e}function Qd(){if(Ns!==void 0)return Ns;if(typeof document<"u")return document;throw new _(210,!1)}var nr=new E("",{providedIn:"root",factory:()=>Jm}),Jm="ng",Ga=new E(""),Ot=new E("",{providedIn:"platform",factory:()=>"unknown"});var bM=new E(""),Wa=new E("",{providedIn:"root",factory:()=>Qd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xm="h",ev="b";var Kd=!1,tv=new E("",{providedIn:"root",factory:()=>Kd});var qa=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(qa||{}),pn=new E(""),du=new Set;function ct(e){du.has(e)||(du.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Za=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=nv}return e})();function nv(){return new Za(C(),de())}var Jt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Jt||{}),Jd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),rv=[Jt.EarlyRead,Jt.Write,Jt.MixedReadWrite,Jt.Read],ov=(()=>{class e{ngZone=g(V);scheduler=g(it);errorHandler=g(Se,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(pn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of rv)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[tn]??=[]).push(n),dn(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(qa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rs=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[tn];t&&(this.view[tn]=t.filter(n=>n!==this))}};function iv(e,t){!t?.injector&&Fo(iv);let n=t?.injector??g(K);return ct("NgAfterRender"),Xd(e,n,t,!1)}function zo(e,t){!t?.injector&&Fo(zo);let n=t?.injector??g(K);return ct("NgAfterNextRender"),Xd(e,n,t,!0)}function sv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Xd(e,t,n,r){let o=t.get(Jd);o.impl??=t.get(ov);let i=t.get(pn,null,{optional:!0}),s=n?.phase??Jt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(fn):null,c=t.get(Za,null,{optional:!0}),l=new Rs(o.impl,sv(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var av=()=>null;function ef(e,t,n=!1){return av(e,t,n)}function tf(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Pa(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function As(e,t,n){Pa(0);let r=b(null);try{t(e,n)}finally{b(r)}}function Ya(e,t,n){if(Ma(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}var Fe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fe||{}),Qr;function cv(){if(Qr===void 0&&(Qr=null,Ue.trustedTypes))try{Qr=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qr}function Go(e){return cv()?.createHTML(e)||e}var Kr;function lv(){if(Kr===void 0&&(Kr=null,Ue.trustedTypes))try{Kr=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kr}function fu(e){return lv()?.createHTML(e)||e}var qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fu})`}},Os=class extends qe{getTypeName(){return"HTML"}},Ps=class extends qe{getTypeName(){return"Style"}},ks=class extends qe{getTypeName(){return"Script"}},Fs=class extends qe{getTypeName(){return"URL"}},Ls=class extends qe{getTypeName(){return"ResourceURL"}};function Me(e){return e instanceof qe?e.changingThisBreaksApplicationSecurity:e}function lt(e,t){let n=uv(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fu})`)}return n===t}function uv(e){return e instanceof qe&&e.getTypeName()||null}function nf(e){return new Os(e)}function rf(e){return new Ps(e)}function of(e){return new ks(e)}function sf(e){return new Fs(e)}function af(e){return new Ls(e)}function dv(e){let t=new js(e);return fv()?new Vs(t):t}var Vs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Go(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},js=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Go(t),n}};function fv(){try{return!!new window.DOMParser().parseFromString(Go(""),"text/html")}catch{return!1}}var hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wo(e){return e=String(e),e.match(hv)?e:"unsafe:"+e}function Ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var cf=Ke("area,br,col,hr,img,wbr"),lf=Ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uf=Ke("rp,rt"),pv=rr(uf,lf),gv=rr(lf,Ke("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")),mv=rr(uf,Ke("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")),hu=rr(cf,gv,mv,pv),df=Ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vv=Ke("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"),yv=Ke("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"),Dv=rr(df,vv,yv),_v=Ke("script,style,template"),Bs=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Iv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ev(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=pu(t).toLowerCase();if(!hu.hasOwnProperty(n))return this.sanitizedSomething=!0,!_v.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Dv.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;df[a]&&(c=Wo(c)),this.buf.push(" ",s,'="',gu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=pu(t).toLowerCase();hu.hasOwnProperty(n)&&!cf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(gu(t))}};function wv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ev(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ff(t);return t}function Iv(e){let t=e.firstChild;if(t&&wv(e,t))throw ff(t);return t}function pu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ff(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Cv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bv=/([^\#-~ |!])/g;function gu(e){return e.replace(/&/g,"&amp;").replace(Cv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(bv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Jr;function Qa(e,t){let n=null;try{Jr=Jr||dv(e);let r=t?String(t):"";n=Jr.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=n.innerHTML,n=Jr.getInertBodyElement(r)}while(r!==i);let a=new Bs().sanitizeChildren(mu(n)||n);return Go(a)}finally{if(n){let r=mu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function mu(e){return"content"in e&&Sv(e)?e.content:null}function Sv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Be=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Be||{});function SM(e){let t=hf();return t?fu(t.sanitize(Be.HTML,e)||""):lt(e,"HTML")?fu(Me(e)):Qa(Qd(),Yn(e))}function TM(e){let t=hf();return t?t.sanitize(Be.URL,e)||"":lt(e,"URL")?Me(e):Wo(Yn(e))}function hf(){let e=C();return e&&e[Ge].sanitizer}var Tv=/^>|^->|<!--|-->|--!>|<!-$/g,Mv=/(<|>)/g,xv="\u200B$1\u200B";function Nv(e){return e.replace(Tv,t=>t.replace(Mv,xv))}function Rv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var pf="ng-template";function Av(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Rv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ka(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ka(e){return e.type===4&&e.value!==pf}function Ov(e,t,n){let r=e.type===4&&!n?pf:e.value;return t===r}function Pv(e,t,n){let r=4,o=e.attrs,i=o!==null?Lv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Ov(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!Av(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let l=t[++a],u=kv(c,o,Ka(e),n);if(u===-1){if(Ee(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function kv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Vv(t,e)}function Fv(e,t,n=!1){for(let r=0;r<t.length;r++)if(Pv(e,t[r],n))return!0;return!1}function Lv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Dm(n))return t}return e.length}function Vv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function vu(e,t){return e?":not("+t.trim()+")":t}function jv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=vu(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=vu(i,o)),t}function Bv(e){return e.map(jv).join(",")}function Hv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ee(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var xe={};function $v(e,t){return e.createText(t)}function Uv(e,t,n){e.setValue(t,n)}function zv(e,t){return e.createComment(Nv(t))}function gf(e,t,n){return e.createElement(t,n)}function Io(e,t,n,r,o){e.insertBefore(t,n,r,o)}function mf(e,t,n){e.appendChild(t,n)}function yu(e,t,n,r,o){r!==null?Io(e,t,n,r,o):mf(e,t,n)}function Gv(e,t,n){e.removeChild(null,t,n)}function Wv(e,t,n){e.setAttribute(t,"style",n)}function qv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function vf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ym(e,t,r),o!==null&&qv(e,t,o),i!==null&&Wv(e,t,i)}function Ja(e,t,n,r,o,i,s,a,c,l,u){let d=H+r,h=d+o,f=Zv(d,h),p=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}function Zv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:xe);return n}function Yv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Xa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ze]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),fd(d),d[te]=d[ln]=e,d[$]=n,d[Ge]=s||e&&e[Ge],d[G]=a||e&&e[G],d[Fn]=c||e&&e[Fn]||null,d[Te]=i,d[Kn]=Gm(),d[kn]=u,d[od]=l,d[be]=t.type==2?e[be]:d,d}function Qv(e,t,n){let r=je(t,e),o=Yv(n),i=e[Ge].rendererFactory,s=ec(e,Xa(e,o,null,yf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function yf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Df(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function ec(e,t){return e[Ln]?e[Jl][Ce]=t:e[Ln]=t,e[Jl]=t,t}function Kv(e=1){_f(U(),C(),Qe()+e,!1)}function _f(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&no(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ro(t,i,0,n)}Mt(n)}var qo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(qo||{});function Hs(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&qo.SignalBased)!==0&&(c=t[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):sd(t,c,i,r)}finally{b(o)}}function wf(e,t,n,r,o){let i=Qe(),s=r&2;try{Mt(-1),s&&t.length>H&&_f(e,t,H,!1),A(s?2:0,o),n(r,o)}finally{Mt(i),A(s?3:1,o)}}function Zo(e,t,n){ry(e,t,n),(n.flags&64)===64&&oy(e,t,n)}function tc(e,t,n=je){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Jv(e,t,n,r){let i=r.get(tv,Kd)||n===Fe.ShadowDom,s=e.selectRootElement(t,i);return Xv(s),s}function Xv(e){ey(e)}var ey=()=>null;function ty(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ef(e,t,n,r,o,i,s,a){if(!a&&rc(t,e,n,r,o)){un(t)&&ny(n,t.index);return}if(t.type&3){let c=je(t,n);r=ty(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function ny(e,t){let n=me(t,e);n[v]&16||(n[v]|=64)}function ry(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&Qv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Do(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vn(t,e,s,n);if(Ae(c,t),i!==null&&cy(t,s-r,c,a,n,i),ke(a)){let l=me(n.index,t);l[$]=Vn(t,e,s,n)}}}function oy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=am();try{Mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ys(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&iy(c,l)}}finally{Mt(-1),ys(s)}}function iy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function nc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Fv(t,i.selectors,!1)&&(r??=[],ke(i)?r.unshift(i):r.push(i))}return r}function sy(e,t,n,r,o,i){let s=je(e,t);ay(t[G],s,i,e.value,n,r,o)}function ay(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Yn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function cy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Hs(r,n,c,l)}}function If(e,t){let n=e[Fn],r=n?n.get(Se,null):null;r&&r.handleError(t)}function rc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Hs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Hs(u,l,r,o),a=!0}return a}function ly(e,t){let n=me(t,e),r=n[y];uy(r,n);let o=n[Ze];o!==null&&n[kn]===null&&(n[kn]=ef(o,n[Fn])),A(18),oc(r,n,n[$]),A(19,n[$])}function uy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function oc(e,t,n){ka(t);try{let r=e.viewQuery;r!==null&&As(1,r,n);let o=e.template;o!==null&&wf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[We]?.finishViewCreation(e),e.staticContentQueries&&tf(e,t),e.staticViewQueries&&As(2,e.viewQuery,n);let i=e.components;i!==null&&dy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,Fa()}}function dy(e,t){for(let n=0;n<t.length;n++)ly(e,t[n])}function Yo(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Xa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ct]=l;let u=e[We];return u!==null&&(c[We]=u.createEmbeddedView(i)),oc(i,c,n),c}finally{b(o)}}function Bn(e,t){return!t||t.firstChild===null||$d(e)}var fy;function ic(e,t){return fy(e,t)}var Le=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Le||{});function Cf(e){return(e.flags&32)===32}function Xt(e,t,n,r,o){if(r!=null){let i,s=!1;Ye(r)?i=r:ze(r)&&(s=!0,r=r[Ze]);let a=ue(r);e===0&&n!==null?o==null?mf(t,n,a):Io(t,n,a,o||null,!0):e===1&&n!==null?Io(t,n,a,o||null,!0):e===2?Gv(t,a,s):e===3&&t.destroyNode(a),i!=null&&Cy(t,e,i,n,o)}}function hy(e,t){bf(e,t),t[Ze]=null,t[Te]=null}function py(e,t,n,r,o,i){r[Ze]=o,r[Te]=t,Jo(e,r,n,1,o,i)}function bf(e,t){t[Ge].changeDetectionScheduler?.notify(9),Jo(e,t,t[G],2,null,null)}function gy(e){let t=e[Ln];if(!t)return Xi(e[y],e);for(;t;){let n=null;if(ze(t))n=t[Ln];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[Ce]&&t!==e;)ze(t)&&Xi(t[y],t),t=t[te];t===null&&(t=e),ze(t)&&Xi(t[y],t),n=t&&t[Ce]}t=n}}function sc(e,t){let n=e[on],r=n.indexOf(t);n.splice(r,1)}function Qo(e,t){if(Jn(t))return;let n=t[G];n.destroyNode&&Jo(e,t,n,3,null,null),gy(t)}function Xi(e,t){if(Jn(t))return;let n=b(null);try{t[v]&=-129,t[v]|=256,t[le]&&Vt(t[le]),vy(e,t),my(e,t),t[y].type===1&&t[G].destroy();let r=t[Ct];if(r!==null&&Ye(t[te])){r!==t[te]&&sc(r,t);let o=t[We];o!==null&&o.detachView(e)}Ts(t)}finally{b(n)}}function my(e,t){let n=e.cleanup,r=t[fo];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[fo]=null);let o=t[rt];if(o!==null){t[rt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[bt];if(i!==null){t[bt]=null;for(let s of i)s.destroy()}}function vy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof xt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function yy(e,t,n){return Dy(e,t.parent,n)}function Dy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ze];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Fe.None||o===Fe.Emulated)return null}return je(r,n)}function _y(e,t,n){return Ey(e,t,n)}function wy(e,t,n){return e.type&40?je(e,n):null}var Ey=wy,Du;function Ko(e,t,n,r){let o=yy(e,r,t),i=t[G],s=r.parent||t[Te],a=_y(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)yu(i,o,n[c],a,!1);else yu(i,o,n,a,!1);Du!==void 0&&Du(i,r,t,n,o)}function Nn(e,t){if(t!==null){let n=t.type;if(n&3)return je(t,e);if(n&4)return $s(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Nn(e,r);{let o=e[t.index];return Ye(o)?$s(-1,o):ue(o)}}else{if(n&128)return Nn(e,t.next);if(n&32)return ic(t,e)()||ue(e[t.index]);{let r=Sf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Tt(e[be]);return Nn(o,r)}else return Nn(e,t.next)}}}return null}function Sf(e,t){if(t!==null){let r=e[be][Te],o=t.projection;return r.projection[o]}return null}function $s(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Nn(r,o)}return t[St]}function ac(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Ae(ue(a),r),n.flags|=2),!Cf(n))if(c&8)ac(e,t,n.child,r,o,i,!1),Xt(t,e,o,a,i);else if(c&32){let l=ic(n,r),u;for(;u=l();)Xt(t,e,o,u,i);Xt(t,e,o,a,i)}else c&16?Iy(e,t,r,n,o,i):Xt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Jo(e,t,n,r,o,i){ac(n,r,e.firstChild,t,o,i,!1)}function Iy(e,t,n,r,o,i){let s=n[be],c=s[Te].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Xt(t,e,o,u,i)}else{let l=c,u=s[te];$d(r)&&(l.flags|=128),ac(e,t,l,u,o,i,!0)}}function Cy(e,t,n,r,o){let i=n[St],s=ue(n);i!==s&&Xt(t,e,r,i,o);for(let a=ee;a<n.length;a++){let c=n[a];Jo(c[y],c,e,t,r,i)}}function by(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Le.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Le.Important),e.setStyle(n,r,o,i))}}function Co(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ue(i)),Ye(i)&&Sy(i,r);let s=n.type;if(s&8)Co(e,t,n.child,r);else if(s&32){let a=ic(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Sf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Tt(t[be]);Co(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Sy(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Co(r[y],r,o,t)}e[St]!==e[Ze]&&t.push(e[St])}function Tf(e){if(e[tn]!==null){for(let t of e[tn])t.impl.addSequence(t);e[tn].length=0}}var Mf=[];function Ty(e){return e[le]??My(e)}function My(e){let t=Mf.pop()??Object.create(Ny);return t.lView=e,t}function xy(e){e.lView[le]!==e&&(e.lView=null,Mf.push(e))}var Ny=X(J({},ht),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{dn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function Ry(e){let t=e[le]??Object.create(Ay);return t.lView=e,t}var Ay=X(J({},ht),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Tt(e.lView);for(;t&&!xf(t[y]);)t=Tt(t);t&&Ra(t)},consumerOnSignalRead(){this.lView[le]=this}});function xf(e){return e.type!==2}function Nf(e){if(e[bt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[bt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var Oy=100;function Rf(e,t=!0,n=0){let o=e[Ge].rendererFactory,i=!1;i||o.begin?.();try{Py(e,n)}catch(s){throw t&&If(e,s),s}finally{i||o.end?.()}}function Py(e,t){let n=Dd();try{go(!0),Us(e,t);let r=0;for(;jo(e);){if(r===Oy)throw new _(103,!1);r++,Us(e,1)}}finally{go(n)}}function ky(e,t,n,r){if(Jn(t))return;let o=t[v],i=!1,s=!1;ka(t);let a=!0,c=null,l=null;i||(xf(e)?(l=Ty(t),c=Lt(l)):rl()===null?(a=!1,l=Ry(t),c=Lt(l)):t[le]&&(Vt(t[le]),t[le]=null));try{fd(t),om(e.bindingStartIndex),n!==null&&wf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&no(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ro(t,f,0,null),Yi(t,0)}if(s||Fy(t),Nf(t),Af(t,0),e.contentQueries!==null&&tf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&no(t,f)}else{let f=e.contentHooks;f!==null&&ro(t,f,1),Yi(t,1)}Vy(e,t);let d=e.components;d!==null&&Pf(t,d,0);let h=e.viewQuery;if(h!==null&&As(2,h,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&no(t,f)}else{let f=e.viewHooks;f!==null&&ro(t,f,2),Yi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[to]){for(let f of t[to])f();t[to]=null}i||(Tf(t),t[v]&=-73)}catch(u){throw i||dn(t),u}finally{l!==null&&(_n(l,c),a&&xy(l)),Fa()}}function Af(e,t){for(let n=Wd(e);n!==null;n=qd(n))for(let r=ee;r<n.length;r++){let o=n[r];Of(o,t)}}function Fy(e){for(let t=Wd(e);t!==null;t=qd(t)){if(!(t[v]&2))continue;let n=t[on];for(let r=0;r<n.length;r++){let o=n[r];Ra(o)}}}function Ly(e,t,n){A(18);let r=me(t,e);Of(r,n),A(19,r[$])}function Of(e,t){Na(e)&&Us(e,t)}function Us(e,t){let r=e[y],o=e[v],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&wn(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)ky(r,e,r.template,e[$]);else if(o&8192){Nf(e),Af(e,1);let a=r.components;a!==null&&Pf(e,a,1),Tf(e)}}function Pf(e,t,n){for(let r=0;r<t.length;r++)Ly(e,t[r],n)}function Vy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Mt(~o);else{let i=o,s=n[++r],a=n[++r];sm(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{Mt(-1)}}function cc(e,t){let n=Dd()?64:1088;for(e[Ge].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=Tt(e);if(po(e)&&!r)return e;e=r}return null}function kf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ff(e,t){let n=ee+t;if(n<e.length)return e[n]}function Xo(e,t,n,r=!0){let o=t[y];if(jy(o,t,e,n),r){let s=$s(n,e),a=t[G],c=a.parentNode(e[St]);c!==null&&py(o,e[Te],a,t,c,s)}let i=t[kn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Lf(e,t){let n=Hn(e,t);return n!==void 0&&Qo(n[y],n),n}function Hn(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[Ct];o!==null&&o!==e&&sc(o,r),t>0&&(e[n-1][Ce]=r[Ce]);let i=lo(e,ee+t);hy(r[y],r);let s=i[We];s!==null&&s.detachView(i[y]),r[te]=null,r[Ce]=null,r[v]&=-129}return r}function jy(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][Ce]=t),r<i-ee?(t[Ce]=n[o],qu(n,ee+r,t)):(n.push(t),t[Ce]=null),t[te]=n;let s=t[Ct];s!==null&&n!==s&&Vf(s,t);let a=t[We];a!==null&&a.insertView(e),ms(t),t[v]|=128}function Vf(e,t){let n=e[on],r=t[te];if(ze(r))e[v]|=2;else{let o=r[te][be];t[be]!==o&&(e[v]|=2)}n===null?e[on]=[t]:n.push(t)}var Nt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[y];return Co(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[$]}get dirty(){return!!(this._lView[v]&9280)||!!this._lView[le]?.dirty}set context(t){this._lView[$]=t}get destroyed(){return Jn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[te];if(Ye(t)){let n=t[ho],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),lo(n,r))}this._attachedToViewContainer=!1}Qo(this._lView[y],this._lView)}onDestroy(t){hd(this._lView,t)}markForCheck(){cc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){ms(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Rf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=po(this._lView),n=this._lView[Ct];n!==null&&!t&&sc(n,this._lView),bf(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=po(this._lView),r=this._lView[Ct];r!==null&&!n&&Vf(r,this._lView),ms(this._lView)}},Rt=(()=>{class e{static __NG_ELEMENT_ID__=$y}return e})(),By=Rt,Hy=class extends By{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Yo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nt(o)}};function $y(){return ei(de(),C())}function ei(e,t){return e.type&4?new Hy(t,e,hn(e,t)):null}function or(e,t,n,r,o){let i=e.data[t];if(i===null)i=Uy(e,t,n,r,o),im()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=rm();i.injectorIndex=s===null?-1:s.injectorIndex}return at(i,!0),i}function Uy(e,t,n,r,o){let i=md(),s=Oa(),a=s?i:i&&i.parent,c=e.data[t]=Gy(e,a,n,t,r,o);return zy(e,c,i,s),c}function zy(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Gy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return em()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var xM=new RegExp(`^(\\d+)*(${ev}|${Xm})*(.*)`);var Wy=()=>null;function $n(e,t){return Wy(e,t)}var zs=class{},bo=class{},Gs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ge(t)}.`)}},Un=class{static NULL=new Gs},ve=class{},ir=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qy()}return e})();function qy(){let e=C(),t=de(),n=me(t.index,e);return(ze(n)?n:e)[G]}var Zy=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>null})}return e})();function Ws(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=cs(o,a);else if(i==2){let c=a,l=t[++s];r=cs(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ne(e,t=T.Default){let n=C();if(n===null)return x(e,t);let r=de();return kd(r,n,Y(e),t)}function lc(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=Qy(s);u===null?a=s:[a,c,l]=u,Xy(e,t,n,a,i,c,l)}i!==null&&r!==null&&Yy(n,r,i)}function Yy(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _(-301,!1);r.push(t[o],i)}}function Qy(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&ke(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Ky(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Ky(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Jy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Xy(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&ke(f)&&(c=!0,Jy(e,n,h)),ws(Do(n,t),e,f.type)}iD(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Df(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=sn(n.mergedAttrs,f.hostAttrs),tD(e,n,t,d,f),oD(d,f,o),s!==null&&s.has(f)){let[m,M]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,M+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let p=f.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}eD(e,n,i)}function eD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))_u(0,t,o,r),_u(1,t,o,r),Eu(t,r,!1);else{let i=n.get(o);wu(0,t,i,r),wu(1,t,i,r),Eu(t,r,!0)}}}function _u(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),jf(t,i)}}function wu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),jf(t,s)}}function jf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Eu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ka(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function tD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Et(o.type,!0)),s=new xt(i,ke(o),ne);e.blueprint[r]=s,n[r]=s,nD(e,t,r,Df(e,n,o.hostVars,xe),o)}function nD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;rD(s)!=a&&s.push(a),s.push(n,r,i)}}function rD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function oD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function iD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bf(e,t,n,r,o,i,s,a){let c=t.consts,l=ot(c,s),u=or(t,e,2,r,l);return i&&lc(t,n,u,ot(c,a),o),u.mergedAttrs=sn(u.mergedAttrs,u.attrs),u.attrs!==null&&Ws(u,u.attrs,!1),u.mergedAttrs!==null&&Ws(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Hf(e,t){Va(e,t),Ma(t)&&e.queries.elementEnd(t)}var qs=class extends Un{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=It(t);return new zn(n,this.ngModule)}};function sD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&qo.SignalBased)!==0};return o&&(i.transform=o),i})}function aD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function cD(e,t,n){let r=t instanceof Pe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ds(n,r):n}function lD(e){let t=e.get(ve,null);if(t===null)throw new _(407,!1);let n=e.get(Zy,null),r=e.get(it,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function uD(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return gf(t,n,n==="svg"?ud:n==="math"?Gg:null)}var zn=class extends bo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return sD(this.componentDef.inputs)}get outputs(){return aD(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Bv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.0"]:Hv(this.componentDef.selectors[0]),c=Ja(0,null,null,1,0,null,null,null,null,[a],null),l=cD(s,o||this.ngModule,t),u=lD(l),d=u.rendererFactory.createRenderer(null,s),h=r?Jv(d,r,s.encapsulation,l):uD(s,d),f=Xa(null,c,null,512|yf(s),null,null,u,d,l,null,ef(h,l,!0));f[H]=h,ka(f);let p=null;try{let m=Bf(H,c,f,"#host",()=>[this.componentDef],!0,0);h&&(vf(d,h,m),Ae(h,f)),Zo(c,f,m),Ya(c,m,f),Hf(c,m),n!==void 0&&dD(m,this.ngContentSelectors,n),p=me(m.index,f),f[$]=p[$],oc(c,f,null)}catch(m){throw p!==null&&Ts(p),Ts(f),m}finally{A(23),Fa()}return new Zs(this.componentType,f)}finally{b(i)}}},Zs=class extends zs{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=xa(n[y],H),this.location=hn(this._tNode,n),this.instance=me(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new Nt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=rc(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=me(r.index,o);cc(s,1)}get injector(){return new wt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dD(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ut=(()=>{class e{static __NG_ELEMENT_ID__=fD}return e})();function fD(){let e=de();return Uf(e,C())}var hD=ut,$f=class extends hD{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return hn(this._hostTNode,this._hostLView)}get injector(){return new wt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ja(this._hostTNode,this._hostLView);if(xd(t)){let n=vo(t,this._hostLView),r=mo(t),o=n[y].data[r+8];return new wt(o,n)}else return new wt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Iu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=$n(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Bn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Hg(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new zn(It(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?l:this.parentInjector).get(Pe,null);m&&(i=m)}let u=It(c.componentType??{}),d=$n(this._lContainer,u?.id??null),h=d?.firstChild??null,f=c.create(l,o,h,i);return this.insertImpl(f.hostView,a,Bn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(qg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[te],l=new $f(c,c[Te],c[te]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xo(s,o,i,r),t.attachToViewContainerRef(),qu(es(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Iu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(lo(es(this._lContainer),n),Qo(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&lo(es(this._lContainer),n)!=null?new Nt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Iu(e){return e[ho]}function es(e){return e[ho]||(e[ho]=[])}function Uf(e,t){let n,r=t[e.index];return Ye(r)?n=r:(n=kf(r,t,null,e),t[e.index]=n,ec(t,n)),gD(n,t,e,r),new $f(n,e,t)}function pD(e,t){let n=e[G],r=n.createComment(""),o=je(t,e),i=n.parentNode(o);return Io(n,i,r,n.nextSibling(o),!1),r}var gD=yD,mD=()=>!1;function vD(e,t,n){return mD(e,t,n)}function yD(e,t,n,r){if(e[St])return;let o;n.type&8?o=ue(r):o=pD(t,n),e[St]=o}var Ys=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qs=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)uc(t,n).matches!==null&&this.queries[n].setDirty()}},Ks=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=SD(t):this.predicate=t}},Js=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Xs=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,DD(n,i)),this.matchTNodeWithReadOption(t,n,oo(n,t,i,!1,!1))}else r===Rt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===fe||o===ut||o===Rt&&n.type&4)this.addMatch(n.index,-2);else{let i=oo(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function DD(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function _D(e,t){return e.type&11?hn(e,t):e.type&4?ei(e,t):null}function wD(e,t,n,r){return n===-1?_D(t,e):n===-2?ED(e,t,r):Vn(e,e[y],n,t)}function ED(e,t,n){if(n===fe)return hn(t,e);if(n===Rt)return ei(t,e);if(n===ut)return Uf(t,e)}function zf(e,t,n,r){let o=t[We].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(wD(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ea(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=zf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=ee;d<u.length;d++){let h=u[d];h[Ct]===h[te]&&ea(h[y],h,l,r)}if(u[on]!==null){let d=u[on];for(let h=0;h<d.length;h++){let f=d[h];ea(f[y],f,l,r)}}}}}return r}function ID(e,t){return e[We].queries[t].queryList}function CD(e,t,n){let r=new Ss((n&4)===4);return Qg(e,t,r,r.destroy),(t[We]??=new Qs).queries.push(new Ys(r))-1}function bD(e,t,n){let r=U();return r.firstCreatePass&&(TD(r,new Ks(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),CD(r,C(),t)}function SD(e){return e.split(",").map(t=>t.trim())}function TD(e,t,n){e.queries===null&&(e.queries=new Js),e.queries.track(new Xs(t,n))}function uc(e,t){return e.queries.getByIndex(t)}function MD(e,t){let n=e[y],r=uc(n,t);return r.crossesNgTemplate?ea(n,e,t,[]):zf(n,e,r,t)}var an=class{};var So=class extends an{injector;componentFactoryResolver=new qs(this);instance=null;constructor(t){super();let n=new Pn([...t.providers,{provide:an,useValue:this},{provide:Un,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function xD(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ND=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ju(!1,n.type),o=r.length>0?xD([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(x(Pe))})}return e})();function dc(e){return qn(()=>{let t=Gf(e),n=X(J({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ud.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(ND).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ct("NgStandalone"),Wf(n);let r=e.dependencies;return n.directiveDefs=Cu(r,!1),n.pipeDefs=Cu(r,!0),n.id=kD(n),n})}function RD(e){return It(e)||Sa(e)}function AD(e){return e!==null}function sr(e){return qn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function OD(e,t){if(e==null)return Oe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=qo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function PD(e){if(e==null)return Oe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Pt(e){return qn(()=>{let t=Gf(e);return Wf(t),t})}function ti(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Gf(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Oe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:OD(e.inputs,t),outputs:PD(e.outputs),debugInfo:null}}function Wf(e){e.features?.forEach(t=>t(e))}function Cu(e,t){if(!e)return null;let n=t?Qu:RD;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(AD)}function kD(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function FD(e){return Object.getPrototypeOf(e.prototype).constructor}function qf(e){let t=FD(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ts(e.inputs),s.declaredInputs=ts(e.declaredInputs),s.outputs=ts(e.outputs);let a=o.hostBindings;a&&HD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&jD(e,c),l&&BD(e,l),LD(e,o),sg(e.outputs,o.outputs),ke(o)&&o.data.animation){let u=e.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(e),a===qf&&(n=!1)}}t=Object.getPrototypeOf(t)}VD(r)}function LD(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function VD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=sn(o.hostAttrs,n=sn(n,o.hostAttrs))}}function ts(e){return e===Oe?{}:e===re?[]:e}function jD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function BD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function HD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function RM(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Zf,n.hostDirectives=r?e.map(ta):[e]):r?n.hostDirectives.unshift(...e.map(ta)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Zf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)bu(ta(i),t,n)}else bu(r,t,n)}function bu(e,t,n){let r=Sa(e.directive);$D(r.declaredInputs,e.inputs),Zf(r,t,n),n.set(r,e),t.push(r)}function ta(e){return typeof e=="function"?{directive:Y(e),inputs:Oe,outputs:Oe}:{directive:Y(e.directive),inputs:Su(e.inputs),outputs:Su(e.outputs)}}function Su(e){if(e===void 0||e.length===0)return Oe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function $D(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Yf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Qf(e,t,n){return e[t]=n}function Ve(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function UD(e,t,n,r){let o=Ve(e,t,n);return Ve(e,t+1,r)||o}function zD(e,t,n,r,o,i,s,a,c){let l=t.consts,u=or(t,e,4,s||null,a||null);Aa()&&lc(t,n,u,ot(l,c),nc),u.mergedAttrs=sn(u.mergedAttrs,u.attrs),Va(t,u);let d=u.tView=Ja(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function na(e,t,n,r,o,i,s,a,c,l){let u=n+H,d=t.firstCreatePass?zD(u,t,e,r,o,i,s,a,c):t.data[u];at(d,!1);let h=WD(t,e,d,n);Ho()&&Ko(t,e,h,d),Ae(h,e);let f=kf(h,e,h,d);return e[u]=f,ec(e,f),vD(f,d,e),Lo(d)&&Zo(t,e,d),c!=null&&tc(e,d,l),d}function GD(e,t,n,r,o,i,s,a){let c=C(),l=U(),u=ot(l.consts,i);return na(c,l,e,t,n,r,o,u,s,a),GD}var WD=qD;function qD(e,t,n,r){return $o(!0),t[G].createComment("")}var Kf=new E("");var Jf=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new To})}return e})(),To=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function fc(e){return!!e&&typeof e.then=="function"}function Xf(e){return!!e&&typeof e.subscribe=="function"}var ZD=new E("");var eh=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(ZD,{optional:!0})??[];injector=g(K);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=nd(this.injector,o);if(fc(i))n.push(i);else if(Xf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YD=new E("");function QD(){pl(()=>{throw new _(600,!1)})}function KD(e){return e.isBoundToModule}var JD=10;var st=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Vm);afterRenderManager=g(Jd);zonelessEnabled=g(Uo);rootEffectScheduler=g(Jf);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new S;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(tr).hasPendingTasks.pipe($e(n=>!n));constructor(){g(pn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(Pe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){A(10);let o=n instanceof bo;if(!this._injector.get(eh).done){let h=!o&&xg(n),f=!1;throw new _(405,f)}let s;o?s=n:s=this._injector.get(Un).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=KD(s)?void 0:this._injector.get(an),c=r||s.selector,l=s.create(K.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(Kf,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),io(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),A(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(qa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ve,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<JD;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)XD(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;io(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(YD,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>io(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function io(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function XD(e,t,n,r){if(!n&&!jo(e))return;Rf(e,t,n&&!r?0:1)}function th(e,t,n,r){let o=C(),i=er();if(Ve(o,i,t)){let s=U(),a=La();sy(a,o,e,t,n,r)}return th}function hc(e,t,n,r){return Ve(e,er(),n)?t+Yn(n)+r:xe}function Xr(e,t){return e<<17|t<<2}function At(e){return e>>17&32767}function e_(e){return(e&2)==2}function t_(e,t){return e&131071|t<<17}function ra(e){return e|2}function cn(e){return(e&131068)>>2}function ns(e,t){return e&-131069|t<<2}function n_(e){return(e&1)===1}function oa(e){return e|1}function r_(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=At(s),c=cn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let h=At(e[a+1]);e[r+1]=Xr(h,a),h!==0&&(e[h+1]=ns(e[h+1],r)),e[a+1]=t_(e[a+1],r)}else e[r+1]=Xr(a,0),a!==0&&(e[a+1]=ns(e[a+1],r)),a=r;else e[r+1]=Xr(c,0),a===0?a=r:e[c+1]=ns(e[c+1],r),c=r;l&&(e[r+1]=ra(e[r+1])),Tu(e,u,r,!0),Tu(e,u,r,!1),o_(t,u,e,r,i),s=Xr(a,c),i?t.classBindings=s:t.styleBindings=s}function o_(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qn(i,t)>=0&&(n[r+1]=oa(n[r+1]))}function Tu(e,t,n,r){let o=e[n+1],i=t===null,s=r?At(o):cn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];i_(c,t)&&(a=!0,e[s+1]=r?oa(l):ra(l)),s=r?At(l):cn(l)}a&&(e[n+1]=r?ra(o):oa(o))}function i_(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qn(e,t)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s_(e){return e.substring(Ie.key,Ie.keyEnd)}function a_(e){return c_(e),nh(e,rh(e,0,Ie.textEnd))}function nh(e,t){let n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=l_(e,Ie.key=t,n),rh(e,t,n))}function c_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function rh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function l_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function u_(e,t,n){let r=C(),o=er();if(Ve(r,o,t)){let i=U(),s=La();Ef(i,s,r,e,t,r[G],n,!1)}return u_}function ia(e,t,n,r,o){rc(t,e,n,o?"class":"style",r)}function pc(e,t,n){return ih(e,t,n,!1),pc}function ni(e,t){return ih(e,t,null,!0),ni}function AM(e){sh(m_,oh,e,!0)}function oh(e,t){for(let n=a_(t);n>=0;n=nh(t,n))Oo(e,s_(t),!0)}function ih(e,t,n,r){let o=C(),i=U(),s=_d(2);if(i.firstUpdatePass&&ch(i,e,s,r),t!==xe&&Ve(o,s,t)){let a=i.data[Qe()];lh(i,a,o,o[G],e,o[s+1]=y_(t,n),r,s)}}function sh(e,t,n,r){let o=U(),i=_d(2);o.firstUpdatePass&&ch(o,null,i,r);let s=C();if(n!==xe&&Ve(s,i,n)){let a=o.data[Qe()];if(uh(a,r)&&!ah(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=cs(c,n||"")),ia(o,a,s,n,r)}else v_(o,a,s,s[G],s[i+1],s[i+1]=g_(e,t,n),r,i)}}function ah(e,t){return t>=e.expandoStartIndex}function ch(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Qe()],s=ah(e,n);uh(i,r)&&t===null&&!s&&(t=!1),t=d_(o,i,t,r),r_(o,i,t,n,s,r)}}function d_(e,t,n,r){let o=cm(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=rs(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=rs(o,e,t,n,r),i===null){let c=f_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=rs(null,e,t,c[1],r),c=Gn(c,t.attrs,r),h_(e,t,r,c))}else i=p_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function f_(e,t,n){let r=n?t.classBindings:t.styleBindings;if(cn(r)!==0)return e[At(r)]}function h_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[At(o)]=r}function p_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function rs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Oo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function g_(e,t,n){if(n==null||n==="")return re;let r=[],o=Me(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function m_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Oo(e,r,n)}function v_(e,t,n,r,o,i,s,a){o===xe&&(o=re);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,p=null,m;u===d?(c+=2,l+=2,h!==f&&(p=d,m=f)):d===null||u!==null&&u<d?(c+=2,p=u):(l+=2,p=d,m=f),p!==null&&lh(e,t,n,r,p,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function lh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=n_(l)?Mu(c,t,n,o,cn(l),s):void 0;if(!Mo(u)){Mo(i)||e_(l)&&(i=Mu(c,null,n,o,a,s));let d=dd(Qe(),n);by(r,s,d,o,i)}}function Mu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[o+1];h===xe&&(h=d?re:void 0);let f=d?qi(h,r):u===r?h:void 0;if(l&&!Mo(f)&&(f=qi(c,r)),Mo(f)&&(a=f,s))return a;let p=e[o+1];o=s?At(p):cn(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=qi(c,r))}return a}function Mo(e){return e!==void 0}function y_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ge(Me(e)))),e}function uh(e,t){return(e.flags&(t?8:16))!==0}function OM(e,t,n){let r=C(),o=hc(r,e,t,n);sh(Oo,oh,o,!0)}var sa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function os(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function D_(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=os(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let h=e.at(s),f=t[c],p=os(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),M=n(s,h),N=n(i,u);if(Object.is(N,M)){let se=n(c,f);Object.is(se,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new xo,o??=Nu(e,i,s,n),aa(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(m,e.detach(i)),s--;else{let se=e.create(i,t[i]);e.attach(i,se),i++,s++}}for(;i<=c;)xu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,h=os(i,u,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new xo,o??=Nu(e,i,s,n);let f=n(i,d);if(aa(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let p=n(i,u);r.set(p,e.detach(i)),s--}}}for(;!l.done;)xu(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function aa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function xu(e,t,n,r,o){if(aa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Nu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var xo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function PM(e,t){ct("NgControlFlow");let n=C(),r=er(),o=n[r]!==xe?n[r]:-1,i=o!==-1?No(n,H+o):void 0,s=0;if(Ve(n,r,e)){let a=b(null);try{if(i!==void 0&&Lf(i,s),e!==-1){let c=H+e,l=No(n,c),u=da(n[y],c),d=$n(l,u.tView.ssrId),h=Yo(n,u,t,{dehydratedView:d});Xo(l,h,s,Bn(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Ff(i,s);a!==void 0&&(a[$]=t)}}var ca=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ee}};function kM(e,t){return t}var la=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function FM(e,t,n,r,o,i,s,a,c,l,u,d,h){ct("NgControlFlow");let f=C(),p=U(),m=c!==void 0,M=C(),N=a?s.bind(M[be][$]):s,se=new la(m,N);M[H+e]=se,na(f,p,e+1,t,n,r,o,ot(p.consts,i)),m&&na(f,p,e+2,c,l,u,d,ot(p.consts,h))}var ua=class extends sa{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ee}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[kn];this.needsIndexUpdate||=t!==this.length,Xo(this.lContainer,n,t,Bn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,__(this.lContainer,t)}create(t,n){let r=$n(this.lContainer,this.templateTNode.tView.ssrId),o=Yo(this.hostLView,this.templateTNode,new ca(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Qo(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return w_(this.lContainer,t)}};function LM(e){let t=b(null),n=Qe();try{let r=C(),o=r[y],i=r[n],s=n+1,a=No(r,s);if(i.liveCollection===void 0){let l=da(o,s);i.liveCollection=new ua(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(D_(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=er(),u=c.length===0;if(Ve(r,l,u)){let d=n+2,h=No(r,d);if(u){let f=da(o,d),p=$n(h,f.tView.ssrId),m=Yo(r,f,void 0,{dehydratedView:p});Xo(h,m,0,Bn(f,p))}else Lf(h,0)}}}finally{b(t)}}function No(e,t){return e[t]}function __(e,t){return Hn(e,t)}function w_(e,t){return Ff(e,t)}function da(e,t){return xa(e,t)}function gc(e,t,n,r){let o=C(),i=U(),s=H+e,a=o[G],c=i.firstCreatePass?Bf(s,i,o,t,nc,Aa(),n,r):i.data[s],l=E_(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return at(c,!0),vf(a,l,c),!Cf(c)&&Ho()&&Ko(i,o,l,c),(Kg()===0||u)&&Ae(l,o),Jg(),u&&(Zo(i,o,c),Ya(i,c,o)),r!==null&&tc(o,c),gc}function mc(){let e=de();Oa()?vd():(e=e.parent,at(e,!1));let t=e;tm(t)&&nm(),Xg();let n=U();return n.firstCreatePass&&Hf(n,t),t.classesWithoutHost!=null&&mm(t)&&ia(n,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&vm(t)&&ia(n,t,C(),t.stylesWithoutHost,!1),mc}function dh(e,t,n,r){return gc(e,t,n,r),mc(),dh}var E_=(e,t,n,r,o,i)=>($o(!0),gf(r,o,fm()));function I_(e,t,n,r,o){let i=t.consts,s=ot(i,r),a=or(t,e,8,"ng-container",s);s!==null&&Ws(a,s,!0);let c=ot(i,o);return Aa()&&lc(t,n,a,c,nc),a.mergedAttrs=sn(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function fh(e,t,n){let r=C(),o=U(),i=e+H,s=o.firstCreatePass?I_(i,o,r,t,n):o.data[i];at(s,!0);let a=b_(o,r,s,e);return r[i]=a,Ho()&&Ko(o,r,a,s),Ae(a,r),Lo(s)&&(Zo(o,r,s),Ya(o,s,r)),n!=null&&tc(r,s),fh}function hh(){let e=de(),t=U();return Oa()?vd():(e=e.parent,at(e,!1)),t.firstCreatePass&&(Va(t,e),Ma(e)&&t.queries.elementEnd(e)),hh}function C_(e,t,n){return fh(e,t,n),hh(),C_}var b_=(e,t,n,r)=>($o(!0),zv(t[G],""));function VM(){return C()}var _t=void 0;function S_(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var T_=["en",[["a","p"],["AM","PM"],_t],[["AM","PM"],_t,_t],[["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"]],_t,[["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"]],_t,[["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 a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",_t,"{1} 'at' {0}",_t],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",S_],is={};function ye(e){let t=M_(e),n=Ru(t);if(n)return n;let r=t.split("-")[0];if(n=Ru(r),n)return n;if(r==="en")return T_;throw new _(701,!1)}function Ru(e){return e in is||(is[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),is[e]}var z=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(z||{});function M_(e){return e.toLowerCase().replace(/_/g,"-")}var Ro="en-US";var x_=Ro;function N_(e){typeof e=="string"&&(x_=e.toLowerCase().replace(/_/g,"-"))}var R_=(e,t,n)=>{};function A_(e,t,n,r){let o=C(),i=U(),s=de();return P_(i,o,o[G],s,e,t,r),A_}function O_(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[fo],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function P_(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass?gd(e):null,u=t[$],d=pd(t),h=!0;if(r.type&3||s){let f=je(r,t),p=s?s(f):f,m=d.length,M=s?se=>s(ue(se[r.index])):r.index,N=null;if(!s&&a&&(N=O_(e,t,o,r.index)),N!==null){let se=N.__ngLastListenerFn__||N;se.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,h=!1}else{i=Pu(r,t,u,i),R_(f,o,i);let se=n.listen(p,o,i);d.push(i,se),l&&l.push(o,M,m,m+1)}}else i=Pu(r,t,u,i);if(h){let f=r.outputs?.[o],p=r.hostDirectiveOutputs?.[o];if(p&&p.length)for(let m=0;m<p.length;m+=2){let M=p[m],N=p[m+1];Au(r,e,t,M,N,o,i,d,l)}if(f&&f.length)for(let m of f)Au(r,e,t,m,o,o,i,d,l)}}function Au(e,t,n,r,o,i,s,a,c){let l=n[r],d=t.data[r].outputs[o],f=l[d].subscribe(s),p=a.length;a.push(s,f),c&&c.push(i,e.index,p,-(p+1))}function Ou(e,t,n,r){let o=b(null);try{return A(6,t,n),n(r)!==!1}catch(i){return If(e,i),!1}finally{A(7,t,n),b(o)}}function Pu(e,t,n,r){return function o(i){if(i===Function)return r;let s=un(e)?me(e.index,t):t;cc(s,5);let a=Ou(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Ou(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function jM(e=1){return um(e)}function k_(e,t,n){return ph(e,"",t,"",n),k_}function ph(e,t,n,r,o){let i=C(),s=hc(i,t,n,r);if(s!==xe){let a=U(),c=La();Ef(a,c,i,e,s,i[G],o,!1)}return ph}function F_(e,t,n){bD(e,t,n)}function L_(e){let t=C(),n=U(),r=wd();Pa(r+1);let o=uc(n,r);if(e.dirty&&Wg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=MD(t,r);e.reset(i,Hm),e.notifyOnChanges()}return!0}return!1}function V_(){return ID(C(),wd())}function vc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function BM(e){let t=yd();return Vo(t,H+e)}function HM(e,t=""){let n=C(),r=U(),o=e+H,i=r.firstCreatePass?or(r,o,1,t,null):r.data[o],s=j_(r,n,i,t,e);n[o]=s,Ho()&&Ko(r,n,s,i),at(i,!1)}var j_=(e,t,n,r,o)=>($o(!0),$v(t[G],r));function B_(e){return gh("",e,""),B_}function gh(e,t,n){let r=C(),o=hc(r,e,t,n);return o!==xe&&H_(r,Qe(),o),gh}function H_(e,t,n){let r=dd(t,e);Uv(e[G],r,n)}var mh={};function $_(e){let t=U(),n=C(),r=e+H,o=or(t,r,128,null,null);return at(o,!1),vc(t,n,r,mh),$_}function $M(e){ct("NgLet");let t=U(),n=C(),r=Qe();return vc(t,n,r,e),e}function UM(e){let t=yd(),n=Vo(t,H+e);if(n===mh)throw new _(314,!1);return n}function U_(e,t,n){let r=U();if(r.firstCreatePass){let o=ke(e);fa(n,r.data,r.blueprint,o,!0),fa(t,r.data,r.blueprint,o,!1)}}function fa(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)fa(e[i],t,n,r,o);else{let i=U(),s=C(),a=de(),c=rn(e)?e:Y(e.provide),l=td(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(rn(e)||!e.multi){let f=new xt(l,o,ne),p=as(c,t,o?u:u+h,d);p===-1?(ws(Do(a,s),i,c),ss(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=as(c,t,u+h,d),p=as(c,t,u,u+h),m=f>=0&&n[f],M=p>=0&&n[p];if(o&&!M||!o&&!m){ws(Do(a,s),i,c);let N=W_(o?G_:z_,n.length,o,r,l);!o&&M&&(n[p].providerFactory=N),ss(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=vh(n[o?p:f],l,!o&&r);ss(i,e,f>-1?f:p,N)}!o&&r&&M&&n[p].componentProviders++}}}function ss(e,t,n,r){let o=rn(t),i=Pg(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function vh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function as(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function z_(e,t,n,r){return ha(this.multi,[])}function G_(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vn(n,n[y],this.providerFactory.index,r);i=a.slice(0,s),ha(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],ha(o,i);return i}function ha(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function W_(e,t,n,r,o){let i=new xt(e,n,ne);return i.multi=[],i.index=t,i.componentProviders=0,vh(i,o,r&&!n),i}function yc(e,t=[]){return n=>{n.providersResolver=(r,o)=>U_(r,o?o(e):e,t)}}function zM(e,t,n,r){return Dh(C(),Bo(),e,t,n,r)}function GM(e,t,n,r,o){return _h(C(),Bo(),e,t,n,r,o)}function yh(e,t){let n=e[t];return n===xe?void 0:n}function Dh(e,t,n,r,o,i){let s=t+n;return Ve(e,s,o)?Qf(e,s+1,i?r.call(i,o):r(o)):yh(e,s+1)}function _h(e,t,n,r,o,i,s){let a=t+n;return UD(e,a,o,i)?Qf(e,a+2,s?r.call(s,o,i):r(o,i)):yh(e,a+2)}function WM(e,t){let n=U(),r,o=e+H;n.firstCreatePass?(r=q_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Et(r.type,!0)),s,a=ae(ne);try{let c=yo(!1),l=i();return yo(c),vc(n,C(),o,l),l}finally{ae(a)}}function q_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function qM(e,t,n){let r=e+H,o=C(),i=Vo(o,r);return wh(o,r)?Dh(o,Bo(),t,i.transform,n,i):i.transform(n)}function ZM(e,t,n,r){let o=e+H,i=C(),s=Vo(i,o);return wh(i,o)?_h(i,Bo(),t,s.transform,n,r,s):s.transform(n,r)}function wh(e,t){return e[y].data[t].pure}function YM(e,t){return ei(e,t)}var Wn=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Dc=new Wn("19.2.0");var Z_=(()=>{class e{zone=g(V);changeDetectionScheduler=g(it);applicationRef=g(st);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Y_({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new V(X(J({},Q_()),{scheduleInRootZone:n})),[{provide:V,useFactory:e},{provide:On,multi:!0,useFactory:()=>{let r=g(Z_,{optional:!0});return()=>r.initialize()}},{provide:On,multi:!0,useFactory:()=>{let r=g(K_);return()=>{r.initialize()}}},t===!0?{provide:jd,useValue:!0}:[],{provide:Ba,useValue:n??Vd}]}function Q_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var K_=(()=>{class e{subscription=new P;initialized=!1;zone=g(V);pendingTasks=g(tr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Eh=(()=>{class e{appRef=g(st);taskService=g(tr);ngZone=g(V);zonelessEnabled=g(Uo);tracing=g(pn,{optional:!0});disableScheduling=g(jd,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(wo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Ba,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Eo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?iu:Bd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(wo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,iu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QM(){return ct("NgZoneless"),Ku([{provide:it,useExisting:Eh},{provide:V,useClass:Eo},{provide:Uo,useValue:!0},{provide:Ba,useValue:!1},[]])}function J_(){return typeof $localize<"u"&&$localize.locale||Ro}var ri=new E("",{providedIn:"root",factory:()=>g(ri,T.Optional|T.SkipSelf)||J_()});var pa=new E(""),X_=new E("");function Mn(e){return!e.moduleRef}function ew(e){let t=Mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(V);return n.run(()=>{Mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Se,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(pa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(pa);s.add(i),e.moduleRef.onDestroy(()=>{io(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return nw(r,n,()=>{let i=t.get(eh);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ri,Ro);if(N_(s||Ro),!t.get(X_,!0))return Mn(e)?t.get(st):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mn(e)){let c=t.get(st);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return tw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function tw(e,t){let n=e.injector.get(st);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new _(-403,!1);t.push(e)}function nw(e,t,n){try{let r=n();return fc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var so=null;function rw(e=[],t){return K.create({name:t,providers:[{provide:Po,useValue:"platform"},{provide:pa,useValue:new Set([()=>so=null])},...e]})}function ow(e=[]){if(so)return so;let t=rw(e);return so=t,QD(),iw(t),t}function iw(e){let t=e.get(Ga,null);nd(e,()=>{t?.forEach(n=>n())})}var gn=(()=>{class e{static __NG_ELEMENT_ID__=sw}return e})();function sw(e){return aw(de(),C(),(e&16)===16)}function aw(e,t,n){if(un(e)&&!n){let r=me(e.index,t);return new Nt(r,r)}else if(e.type&175){let r=t[be];return new Nt(r,t)}return null}var ga=class{constructor(){}supports(t){return t instanceof Map||Yf(t)}create(){return new ma}},ma=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Yf(t)))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;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(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);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 va(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},va=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function ku(){return new _c([new ga])}var _c=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:ku});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ku()),deps:[[e,new Cg,new Ca]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new _(901,!1)}}return e})();function Ih(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ow(r),i=[Y_({}),{provide:it,useExisting:Eh},...n||[]],s=new So({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return ew({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{A(9)}}function oi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function wc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function cw(e){let t=b(null);try{return e()}finally{b(t)}}function KM(e,t){let n=dl(e);return t?.equal&&(n[ce].equal=t.equal),n}var lw=!1,uw=(()=>{class e extends To{pendingTasks=g(tr);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),ya=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=vl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Se,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function dw(){}function fw(e,t){!t?.injector&&Fo(dw);let n=t?.injector??g(K),r=t?.manualCleanup!==!0?n.get(fn):null,o=new ya(n.get(uw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(gn,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[to]??=[]).push(o.watcher.notify),o}var hw=lw;var Da=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};function pw(e,t){if(hw)return fw(e,t);!t?.injector&&Fo(pw);let n=t?.injector??g(K),r=t?.manualCleanup!==!0?n.get(fn):null,o,i=n.get(Za,null,{optional:!0}),s=n.get(it);return i!==null&&!t?.forceRoot?(o=vw(i.view,s,e),r instanceof _o&&r._lView===i.view&&(r=null)):o=yw(e,n.get(Jf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Da(o)}var Ch=X(J({},ht),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:jn,run(){if(this.dirty=!1,this.hasRun&&!wn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Lt(this),n=go(!1);try{this.maybeCleanup(),this.fn(e)}finally{go(n),_n(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),gw=X(J({},Ch),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Vt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),mw=X(J({},Ch),{consumerMarkedDirty(){this.view[v]|=8192,dn(this.view),this.notifier.notify(13)},destroy(){Vt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[bt]?.delete(this)}});function vw(e,t,n){let r=Object.create(mw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[bt]??=new Set,e[bt].add(r),r.consumerMarkedDirty(r),r}function yw(e,t,n){let r=Object.create(gw);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function bh(e,t){let n=It(e),r=t.elementInjector||ko();return new zn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Nh=null;function mn(){return Nh}function Rh(e){Nh??=e}var hi=class{};var Z=new E(""),Ah=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>g(_w),providedIn:"platform"})}return e})();var _w=(()=>{class e extends Ah{_location;_history;_doc=g(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mn().getBaseHref(this._doc)}onPopState(n){let r=mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Oh(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Sh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function kt(e){return e&&e[0]!=="?"?`?${e}`:e}var Sc=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>g(Ew),providedIn:"root"})}return e})(),ww=new E(""),Ew=(()=>{class e extends Sc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Oh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+kt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(x(Ah),x(ww,8))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Iw=(()=>{class e{_subject=new S;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Sw(Sh(Th(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+kt(r))}normalize(n){return e.stripTrailingSlash(bw(this._basePath,Th(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=kt;static joinWithSlash=Oh;static stripTrailingSlash=Sh;static \u0275fac=function(r){return new(r||e)(x(Sc))};static \u0275prov=D({token:e,factory:()=>Cw(),providedIn:"root"})}return e})();function Cw(){return new Iw(x(Sc))}function bw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Th(e){return e.replace(/\/index.html$/,"")}function Sw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var oe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(oe||{}),O=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(O||{}),he=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(he||{}),dt={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 Tw(e){return ye(e)[z.LocaleId]}function Mw(e,t,n){let r=ye(e),o=[r[z.DayPeriodsFormat],r[z.DayPeriodsStandalone]],i=De(o,t);return De(i,n)}function xw(e,t,n){let r=ye(e),o=[r[z.DaysFormat],r[z.DaysStandalone]],i=De(o,t);return De(i,n)}function Nw(e,t,n){let r=ye(e),o=[r[z.MonthsFormat],r[z.MonthsStandalone]],i=De(o,t);return De(i,n)}function Rw(e,t){let r=ye(e)[z.Eras];return De(r,t)}function ii(e,t){let n=ye(e);return De(n[z.DateFormat],t)}function si(e,t){let n=ye(e);return De(n[z.TimeFormat],t)}function ai(e,t){let r=ye(e)[z.DateTimeFormat];return De(r,t)}function mi(e,t){let n=ye(e),r=n[z.NumberSymbols][t];if(typeof r>"u"){if(t===dt.CurrencyDecimal)return n[z.NumberSymbols][dt.Decimal];if(t===dt.CurrencyGroup)return n[z.NumberSymbols][dt.Group]}return r}function Ph(e){if(!e[z.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[z.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Aw(e){let t=ye(e);return Ph(t),(t[z.ExtraData][2]||[]).map(r=>typeof r=="string"?Ec(r):[Ec(r[0]),Ec(r[1])])}function Ow(e,t,n){let r=ye(e);Ph(r);let o=[r[z.ExtraData][0],r[z.ExtraData][1]],i=De(o,t)||[];return De(i,n)||[]}function De(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Ec(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Pw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ci={},kw=/((?:[^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 Fw(e,t,n,r){let o=Gw(e);t=Xe(n,t)||t;let s=[],a;for(;t;)if(a=kw.exec(t),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;t=u}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Fh(r,c),o=zw(o,r,!0));let l="";return s.forEach(u=>{let d=$w(u);l+=d?d(o,n,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function pi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Xe(e,t){let n=Tw(e);if(ci[n]??={},ci[n][t])return ci[n][t];let r="";switch(t){case"shortDate":r=ii(e,he.Short);break;case"mediumDate":r=ii(e,he.Medium);break;case"longDate":r=ii(e,he.Long);break;case"fullDate":r=ii(e,he.Full);break;case"shortTime":r=si(e,he.Short);break;case"mediumTime":r=si(e,he.Medium);break;case"longTime":r=si(e,he.Long);break;case"fullTime":r=si(e,he.Full);break;case"short":let o=Xe(e,"shortTime"),i=Xe(e,"shortDate");r=li(ai(e,he.Short),[o,i]);break;case"medium":let s=Xe(e,"mediumTime"),a=Xe(e,"mediumDate");r=li(ai(e,he.Medium),[s,a]);break;case"long":let c=Xe(e,"longTime"),l=Xe(e,"longDate");r=li(ai(e,he.Long),[c,l]);break;case"full":let u=Xe(e,"fullTime"),d=Xe(e,"fullDate");r=li(ai(e,he.Full),[u,d]);break}return r&&(ci[n][t]=r),r}function li(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ne(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function Lw(e,t){return Ne(e,3).substring(0,t)}function W(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Vw(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Lw(a,t);let c=mi(s,dt.MinusSign);return Ne(a,t,c,r,o)}}function Vw(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function k(e,t,n=oe.Format,r=!1){return function(o,i){return jw(o,i,e,t,n,r)}}function jw(e,t,n,r,o,i){switch(n){case 2:return Nw(t,o,r)[e.getMonth()];case 1:return xw(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Aw(t),u=Ow(t,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,M=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&M)return!0}else if(m||M)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Mw(t,o,r)[s<12?0:1];case 3:return Rw(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function ui(e){return function(t,n,r){let o=-1*r,i=mi(n,dt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ne(s,2,i)+Ne(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ne(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var Bw=0,fi=4;function Hw(e){let t=pi(e,Bw,1).getDay();return pi(e,0,1+(t<=fi?fi:fi+7)-t)}function kh(e){let t=e.getDay(),n=t===0?-3:fi-t;return pi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Ic(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=kh(n),s=Hw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ne(o,e,mi(r,dt.MinusSign))}}function di(e,t=!1){return function(n,r){let i=kh(n).getFullYear();return Ne(i,e,mi(r,dt.MinusSign),t)}}var Cc={};function $w(e){if(Cc[e])return Cc[e];let t;switch(e){case"G":case"GG":case"GGG":t=k(3,O.Abbreviated);break;case"GGGG":t=k(3,O.Wide);break;case"GGGGG":t=k(3,O.Narrow);break;case"y":t=W(0,1,0,!1,!0);break;case"yy":t=W(0,2,0,!0,!0);break;case"yyy":t=W(0,3,0,!1,!0);break;case"yyyy":t=W(0,4,0,!1,!0);break;case"Y":t=di(1);break;case"YY":t=di(2,!0);break;case"YYY":t=di(3);break;case"YYYY":t=di(4);break;case"M":case"L":t=W(1,1,1);break;case"MM":case"LL":t=W(1,2,1);break;case"MMM":t=k(2,O.Abbreviated);break;case"MMMM":t=k(2,O.Wide);break;case"MMMMM":t=k(2,O.Narrow);break;case"LLL":t=k(2,O.Abbreviated,oe.Standalone);break;case"LLLL":t=k(2,O.Wide,oe.Standalone);break;case"LLLLL":t=k(2,O.Narrow,oe.Standalone);break;case"w":t=Ic(1);break;case"ww":t=Ic(2);break;case"W":t=Ic(1,!0);break;case"d":t=W(2,1);break;case"dd":t=W(2,2);break;case"c":case"cc":t=W(7,1);break;case"ccc":t=k(1,O.Abbreviated,oe.Standalone);break;case"cccc":t=k(1,O.Wide,oe.Standalone);break;case"ccccc":t=k(1,O.Narrow,oe.Standalone);break;case"cccccc":t=k(1,O.Short,oe.Standalone);break;case"E":case"EE":case"EEE":t=k(1,O.Abbreviated);break;case"EEEE":t=k(1,O.Wide);break;case"EEEEE":t=k(1,O.Narrow);break;case"EEEEEE":t=k(1,O.Short);break;case"a":case"aa":case"aaa":t=k(0,O.Abbreviated);break;case"aaaa":t=k(0,O.Wide);break;case"aaaaa":t=k(0,O.Narrow);break;case"b":case"bb":case"bbb":t=k(0,O.Abbreviated,oe.Standalone,!0);break;case"bbbb":t=k(0,O.Wide,oe.Standalone,!0);break;case"bbbbb":t=k(0,O.Narrow,oe.Standalone,!0);break;case"B":case"BB":case"BBB":t=k(0,O.Abbreviated,oe.Format,!0);break;case"BBBB":t=k(0,O.Wide,oe.Format,!0);break;case"BBBBB":t=k(0,O.Narrow,oe.Format,!0);break;case"h":t=W(3,1,-12);break;case"hh":t=W(3,2,-12);break;case"H":t=W(3,1);break;case"HH":t=W(3,2);break;case"m":t=W(4,1);break;case"mm":t=W(4,2);break;case"s":t=W(5,1);break;case"ss":t=W(5,2);break;case"S":t=W(6,1);break;case"SS":t=W(6,2);break;case"SSS":t=W(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ui(0);break;case"ZZZZZ":t=ui(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ui(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ui(2);break;default:return null}return Cc[e]=t,t}function Fh(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Uw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function zw(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Fh(t,o);return Uw(e,r*(i-o))}function Gw(e){if(Mh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return pi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Pw))return Ww(r)}let t=new Date(e);if(!Mh(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Ww(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,l),t}function Mh(e){return e instanceof Date&&!isNaN(e.valueOf())}function Lh(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var bc=/\s+/,xh=[],w0=(()=>{class e{_ngEl;_renderer;initialClasses=xh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(bc):xh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(bc):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[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(n,r){n=n.trim(),n.length>0&&n.split(bc).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ne(fe),ne(ir))};static \u0275dir=Pt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var E0=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Le.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ne(fe),ne(_c),ne(ir))};static \u0275dir=Pt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),I0=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ne(ut))};static \u0275dir=Pt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Xn]})}return e})();function qw(e,t){return new _(2100,!1)}var Zw="mediumDate",Yw=new E(""),Qw=new E(""),C0=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Zw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Fw(n,s,i||this.locale,a)}catch(s){throw qw(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ne(ri,16),ne(Yw,24),ne(Qw,24))};static \u0275pipe=ti({name:"date",type:e,pure:!0})}return e})();var Kw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=sr({type:e});static \u0275inj=Zn({})}return e})(),Tc="browser",Jw="server";function Vh(e){return e===Tc}function Mc(e){return e===Jw}var gi=class{};var Nc=class extends hi{supportsDOMEvents=!0},Rc=class e extends Nc{static makeCurrent(){Rh(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Xw();return n==null?null:eE(n)}resetBaseElement(){ar=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Lh(document.cookie,t)}},ar=null;function Xw(){return ar=ar||document.querySelector("base"),ar?ar.getAttribute("href"):null}function eE(e){return new URL(e,document.baseURI).pathname}var tE=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Ac=new E(""),zh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(x(Ac),x(V))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),yi=class{_doc;constructor(t){this._doc=t}manager},vi="ng-app-id";function jh(e){for(let t of e)t.remove()}function Bh(e,t){let n=t.createElement("style");return n.textContent=e,n}function nE(e,t,n,r){let o=e.head?.querySelectorAll(`style[${vi}="${t}"],link[${vi}="${t}"]`);if(o)for(let i of o)i.removeAttribute(vi),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Oc(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Gh=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Mc(i),nE(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Bh);r?.forEach(o=>this.addUsage(o,this.external,Oc))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(jh(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])jh(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Bh(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Oc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(vi,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(x(Z),x(nr),x(Wa,8),x(Ot))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),xc={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"},kc=/%COMP%/g;var Wh="%COMP%",rE=`_nghost-${Wh}`,oE=`_ngcontent-${Wh}`,iE=!0,sE=new E("",{providedIn:"root",factory:()=>iE});function aE(e){return oE.replace(kc,e)}function cE(e){return rE.replace(kc,e)}function qh(e,t){return t.map(n=>n.replace(kc,e))}var Hh=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=Mc(a),this.defaultRenderer=new cr(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Fe.ShadowDom&&(r=X(J({},r),{encapsulation:Fe.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Di?o.applyToHost(n):o instanceof lr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Fe.Emulated:i=new Di(c,l,r,this.appId,u,s,a,d,h);break;case Fe.ShadowDom:return new Pc(c,l,n,r,s,a,this.nonce,d,h);default:i=new lr(c,l,r,u,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(x(zh),x(Gh),x(nr),x(sE),x(Z),x(Ot),x(V),x(Wa),x(pn,8))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),cr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(xc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($h(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&($h(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=xc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=xc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Le.DashCase|Le.Important)?t.style.setProperty(n,r,o&Le.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Le.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=mn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);let i=this.decoratePreventDefault(r);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function $h(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Pc=class extends cr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=qh(o.id,u);for(let h of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Oc(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},lr=class extends cr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?qh(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Di=class extends lr{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=aE(u),this.hostAttr=cE(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},lE=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(x(Z))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Uh=["alt","control","meta","shift"],uE={"\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"},dE={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},fE=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mn().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Uh.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(n,r){let o=uE[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Uh.forEach(s=>{if(s!==o){let a=dE[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(x(Z))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function G0(e){return Ih(hE(e))}function hE(e){return{appProviders:[...yE,...e?.providers??[]],platformProviders:vE}}function pE(){Rc.makeCurrent()}function gE(){return new Se}function mE(){return Yd(document),document}var vE=[{provide:Ot,useValue:Tc},{provide:Ga,useValue:pE,multi:!0},{provide:Z,useFactory:mE,deps:[]}];var yE=[{provide:Po,useValue:"root"},{provide:Se,useFactory:gE,deps:[]},{provide:Ac,useClass:lE,multi:!0,deps:[Z]},{provide:Ac,useClass:fE,multi:!0,deps:[Z]},Hh,Gh,zh,{provide:ve,useExisting:Hh},{provide:gi,useClass:tE,deps:[]},[]];var Fc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(DE),o},providedIn:"root"})}return e})(),DE=(()=>{class e extends Fc{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Be.NONE:return r;case Be.HTML:return lt(r,"HTML")?Me(r):Qa(this._doc,String(r)).toString();case Be.STYLE:return lt(r,"Style")?Me(r):r;case Be.SCRIPT:if(lt(r,"Script"))return Me(r);throw new _(5200,!1);case Be.URL:return lt(r,"URL")?Me(r):Wo(String(r));case Be.RESOURCE_URL:if(lt(r,"ResourceURL"))return Me(r);throw new _(5201,!1);default:throw new _(5202,!1)}}bypassSecurityTrustHtml(n){return nf(n)}bypassSecurityTrustStyle(n){return rf(n)}bypassSecurityTrustScript(n){return of(n)}bypassSecurityTrustUrl(n){return sf(n)}bypassSecurityTrustResourceUrl(n){return af(n)}static \u0275fac=function(r){return new(r||e)(x(Z))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zh=class e{constructor(t){this.sanitizer=t}transform(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):""}static \u0275fac=function(n){return new(n||e)(ne(Fc,16))};static \u0275pipe=ti({name:"safeHtml",type:e,pure:!0})};var Lc;function wE(){if(Lc==null){let e=typeof document<"u"?document.head:null;Lc=!!(e&&(e.createShadowRoot||e.attachShadow))}return Lc}function _i(e){if(wE()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Z0(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function ur(e){return e.composedPath?e.composedPath()[0]:e.target}function Yh(e){return e.buttons===0||e.detail===0}function Qh(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}function Vc(e,t=0){return EE(e)?Number(e):arguments.length===2?t:0}function EE(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function He(e){return e instanceof fe?e.nativeElement:e}function ft(e,t,n,r,o){let i=parseInt(Dc.major),s=parseInt(Dc.minor);return i>19||i===19&&s>0||i===0&&s===0?e.listen(t,n,r,o):(t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)})}var wi=new WeakMap,Kh=(()=>{class e{_appRef;_injector=g(K);_environmentInjector=g(Pe);load(n){let r=this._appRef=this._appRef||this._injector.get(st),o=wi.get(r);o||(o={loaders:new Set,refs:[]},wi.set(r,o),r.onDestroy(()=>{wi.get(r)?.refs.forEach(i=>i.destroy()),wi.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(bh(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jc;try{jc=typeof Intl<"u"&&Intl.v8BreakIterator}catch{jc=!1}var Bc=(()=>{class e{_platformId=g(Ot);isBrowser=this._platformId?Vh(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||jc)&&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||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var IE=new E("cdk-dir-doc",{providedIn:"root",factory:CE});function CE(){return g(Z)}var bE=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function SE(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?bE.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Jh=(()=>{class e{value="ltr";change=new Q;constructor(){let n=g(IE,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=SE(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ft;function fx(){if(Ft==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ft=!1,Ft;if("scrollBehavior"in document.documentElement.style)Ft=!0;else{let e=Element.prototype.scrollTo;e?Ft=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ft=!1}}return Ft}var TE=20,ME=(()=>{class e{_ngZone=g(V);_platform=g(Bc);_renderer=g(ve).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new S;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=TE){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=n>0?this._scrolled.pipe(Wr(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Hi()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Tn(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,n)&&r.push(i)}),r}_scrollableContainsElement(n,r){let o=He(r),i=n.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xE=20,Xh=(()=>{class e{_platform=g(Bc);_listeners;_viewportSize;_change=new S;_document=g(Z,{optional:!0});constructor(){let n=g(V),r=g(ve).createRenderer(null,null);n.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(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect(),s=-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(n=xE){return n>0?this._change.pipe(Wr(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hc={},jx=(()=>{class e{_appId=g(nr);getId(n){return this._appId!=="ng"&&(n+=this._appId),Hc.hasOwnProperty(n)||(Hc[n]=0),`${n}${Hc[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hx(e){return Array.isArray(e)?e:[e]}function pp(e){let t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),r=e.nodeName.toLowerCase();t.removeAttribute("id");for(let o=0;o<n.length;o++)n[o].removeAttribute("id");return r==="canvas"?np(e,t):(r==="input"||r==="select"||r==="textarea")&&tp(e,t),ep("canvas",e,t,np),ep("input, textarea, select",e,t,tp),t}function ep(e,t,n,r){let o=t.querySelectorAll(e);if(o.length){let i=n.querySelectorAll(e);for(let s=0;s<o.length;s++)r(o[s],i[s])}}var NE=0;function tp(e,t){t.type!=="file"&&(t.value=e.value),t.type==="radio"&&t.name&&(t.name=`mat-clone-${t.name}-${NE++}`)}function np(e,t){let n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch{}}function Yc(e){let t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function zc(e,t,n){let{top:r,bottom:o,left:i,right:s}=e;return n>=r&&n<=o&&t>=i&&t<=s}function hr(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function rp(e,t,n,r){let{top:o,right:i,bottom:s,left:a,width:c,height:l}=e,u=c*t,d=l*t;return r>o-d&&r<s+d&&n>a-u&&n<i+u}var Ei=class{_document;positions=new Map;constructor(t){this._document=t}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(n=>{this.positions.set(n,{scrollPosition:{top:n.scrollTop,left:n.scrollLeft},clientRect:Yc(n)})})}handleScroll(t){let n=ur(t),r=this.positions.get(n);if(!r)return null;let o=r.scrollPosition,i,s;if(n===this._document){let l=this.getViewportScrollPosition();i=l.top,s=l.left}else i=n.scrollTop,s=n.scrollLeft;let a=o.top-i,c=o.left-s;return this.positions.forEach((l,u)=>{l.clientRect&&n!==u&&n.contains(u)&&hr(l.clientRect,a,c)}),o.top=i,o.left=s,{top:a,left:c}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function gp(e,t){let n=e.rootNodes;if(n.length===1&&n[0].nodeType===t.ELEMENT_NODE)return n[0];let r=t.createElement("div");return n.forEach(o=>r.appendChild(o)),r}function Qc(e,t,n){for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];o?e.setProperty(r,o,n?.has(r)?"important":""):e.removeProperty(r)}return e}function vn(e,t){let n=t?"":"none";Qc(e.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":n,"-ms-user-select":n,"-webkit-user-select":n,"-moz-user-select":n})}function op(e,t,n){Qc(e.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},n)}function Ii(e,t){return t&&t!="none"?e+" "+t:e}function ip(e,t){e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.transform=Ci(t.left,t.top)}function Ci(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function sp(e){let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function RE(e){let t=getComputedStyle(e),n=$c(t,"transition-property"),r=n.find(a=>a==="transform"||a==="all");if(!r)return 0;let o=n.indexOf(r),i=$c(t,"transition-duration"),s=$c(t,"transition-delay");return sp(i[o])+sp(s[o])}function $c(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}var AE=new Set(["position"]),Gc=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(t,n,r,o,i,s,a,c,l,u){this._document=t,this._rootElement=n,this._direction=r,this._initialDomRect=o,this._previewTemplate=i,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=c,this._zIndex=l,this._renderer=u}attach(t){this._preview=this._createPreview(),t.appendChild(this._preview),ap(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(t){this._preview.style.transform=t}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(t){this._preview.classList.add(t)}getTransitionDuration(){return RE(this._preview)}addEventListener(t,n){return this._renderer.listen(this._preview,t,n)}_createPreview(){let t=this._previewTemplate,n=this._previewClass,r=t?t.template:null,o;if(r&&t){let i=t.matchSize?this._initialDomRect:null,s=t.viewContainer.createEmbeddedView(r,t.context);s.detectChanges(),o=gp(s,this._document),this._previewEmbeddedView=s,t.matchSize?ip(o,i):o.style.transform=Ci(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else o=pp(this._rootElement),ip(o,this._initialDomRect),this._initialTransform&&(o.style.transform=this._initialTransform);return Qc(o.style,{"pointer-events":"none",margin:ap(o)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},AE),vn(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("popover","manual"),o.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(i=>o.classList.add(i)):o.classList.add(n)),o}};function ap(e){return"showPopover"in e}var OE={passive:!0},cp={passive:!1},PE={passive:!1,capture:!0},kE=800,lp=new Set(["position"]),Wc=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_anchor;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Ua(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new S;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(t){t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(n=>vn(n,t)))}_disabled=!1;beforeStarted=new S;started=new S;released=new S;ended=new S;entered=new S;exited=new S;dropped=new S;moved=this._moveEvents;data;constrainPosition;constructor(t,n,r,o,i,s,a){this._config=n,this._document=r,this._ngZone=o,this._viewportRuler=i,this._dragDropRegistry=s,this._renderer=a,this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new Ei(r),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(r=>He(r)),this._handles.forEach(r=>vn(r,this.disabled)),this._toggleNativeDragInteractions();let n=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&n.add(r)}),this._disabledHandles=n,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){let n=He(t);return n!==this._rootElement&&(this._removeRootElementListeners(),this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[ft(this._renderer,n,"mousedown",this._pointerDown,cp),ft(this._renderer,n,"touchstart",this._pointerDown,OE),ft(this._renderer,n,"dragstart",this._nativeDragStart,cp)]),this._initialTransform=void 0,this._rootElement=n),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?He(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),vn(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),vn(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){let t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){let t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){let n=this._getTargetHandle(t);n&&!this._disabledHandles.has(n)&&!this.disabled&&this._initializeDragSequence(n,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)};_pointerMove=t=>{let n=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging()){let o=Math.abs(n.x-this._pickupPositionOnPage.x),i=Math.abs(n.y-this._pickupPositionOnPage.y);if(o+i>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),c=this._dropContainer;if(!a){this._endDragSequence(t);return}(!c||!c.isDragging()&&!c.isReceiving())&&(t.cancelable&&t.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(t)))}return}t.cancelable&&t.preventDefault();let r=this._getConstrainedPointerPosition(n);if(this._hasMoved=!0,this._lastKnownPointerPosition=n,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,n);else{let o=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,i=this._activeTransform;i.x=r.x-o.x+this._passiveTransform.x,i.y=r.y-o.y+this._passiveTransform.y,this._applyRootElementTransform(i.x,i.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:t,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})};_pointerUp=t=>{this._endDragSequence(t)};_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let n=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(n),dropPoint:n,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){dr(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let n=this._getShadowRoot(),r=this._dropContainer;if(n&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=ft(this._renderer,n,"selectstart",FE,PE)}),r){let o=this._rootElement,i=o.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");i.insertBefore(a,o),this._initialTransform=o.style.transform||"",this._preview=new Gc(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(i,n)),op(o,!1,lp),this._document.body.appendChild(i.replaceChild(s,o)),this.started.next({source:this,event:t}),r.start(),this._initialContainer=r,this._initialIndex=r.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(r?r.getScrollableParents():[])}_initializeDragSequence(t,n){this._parentDragRef&&n.stopPropagation();let r=this.isDragging(),o=dr(n),i=!o&&n.button!==0,s=this._rootElement,a=ur(n),c=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+kE>Date.now(),l=o?Qh(n):Yh(n);if(a&&a.draggable&&n.type==="mousedown"&&n.preventDefault(),r||i||c||l)return;if(this._handles.length){let h=s.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=Yc(this._boundaryElement));let u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,t,n);let d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(n);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,n)}_cleanupDragArtifacts(t){op(this._rootElement,!0,lp),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let n=this._dropContainer,r=n.getItemIndex(this),o=this._getPointerPositionOnPage(t),i=this._getDragDistance(o),s=n._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:i,dropPoint:o,event:t}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:n,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:i,dropPoint:o,event:t}),n.drop(this,r,this._initialIndex,this._initialContainer,s,i,o,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:n},{x:r,y:o}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,n);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,n)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,n,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,o),this._dropContainer._sortItem(this,t,n,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,n):this._applyPreviewTransform(t-this._pickupPositionInElement.x,n-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let t=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);let n=this._preview.getTransitionDuration();return n===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{let o=a=>{(!a||this._preview&&ur(a)===this._preview.element&&a.propertyName==="transform")&&(s(),r(),clearTimeout(i))},i=setTimeout(o,n*1.5),s=this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){let t=this._placeholderTemplate,n=t?t.template:null,r;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),r=gp(this._placeholderRef,this._document)):r=pp(this._rootElement),r.style.pointerEvents="none",r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(t,n,r){let o=n===this._rootElement?null:n,i=o?o.getBoundingClientRect():t,s=dr(r)?r.targetTouches[0]:r,a=this._getViewportScrollPosition(),c=s.pageX-i.left-a.left,l=s.pageY-i.top-a.top;return{x:i.left-t.left+c,y:i.top-t.top+l}}_getPointerPositionOnPage(t){let n=this._getViewportScrollPosition(),r=dr(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,o=r.pageX-n.left,i=r.pageY-n.top;if(this._ownerSVGElement){let s=this._ownerSVGElement.getScreenCTM();if(s){let a=this._ownerSVGElement.createSVGPoint();return a.x=o,a.y=i,a.matrixTransform(s.inverse())}}return{x:o,y:i}}_getConstrainedPointerPosition(t){let n=this._dropContainer?this._dropContainer.lockAxis:null,{x:r,y:o}=this.constrainPosition?this.constrainPosition(t,this,this._initialDomRect,this._pickupPositionInElement):t;if(this.lockAxis==="x"||n==="x"?o=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||n==="y")&&(r=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:i,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:c,height:l}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(l-s),h=a.left+i,f=a.right-(c-i);r=up(r,h,f),o=up(o,u,d)}return{x:r,y:o}}_updatePointerDirectionDelta(t){let{x:n,y:r}=t,o=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,s=Math.abs(n-i.x),a=Math.abs(r-i.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=n>i.x?1:-1,i.x=n),a>this._config.pointerDirectionChangeThreshold&&(o.y=r>i.y?1:-1,i.y=r),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,vn(this._rootElement,t))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(t=>t()),this._rootElementCleanups=void 0}_applyRootElementTransform(t,n){let r=1/this.scale,o=Ci(t*r,n*r),i=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=i.transform&&i.transform!="none"?i.transform:""),i.transform=Ii(o,this._initialTransform)}_applyPreviewTransform(t,n){let r=this._previewTemplate?.template?void 0:this._initialTransform,o=Ci(t,n);this._preview.setTransform(Ii(o,r))}_getDragDistance(t){let n=this._pickupPositionOnPage;return n?{x:t.x-n.x,y:t.y-n.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:n}=this._passiveTransform;if(t===0&&n===0||this.isDragging()||!this._boundaryElement)return;let r=this._rootElement.getBoundingClientRect(),o=this._boundaryElement.getBoundingClientRect();if(o.width===0&&o.height===0||r.width===0&&r.height===0)return;let i=o.left-r.left,s=r.right-o.right,a=o.top-r.top,c=r.bottom-o.bottom;o.width>r.width?(i>0&&(t+=i),s>0&&(t-=s)):t=0,o.height>r.height?(a>0&&(n+=a),c>0&&(n-=c)):n=0,(t!==this._passiveTransform.x||n!==this._passiveTransform.y)&&this.setFreeDragPosition({y:n,x:t})}_getDragStartDelay(t){let n=this.dragStartDelay;return typeof n=="number"?n:dr(t)?n.touch:n?n.mouse:0}_updateOnScroll(t){let n=this._parentPositions.handleScroll(t);if(n){let r=ur(t);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&hr(this._boundaryRect,n.top,n.left),this._pickupPositionOnPage.x+=n.left,this._pickupPositionOnPage.y+=n.top,this._dropContainer||(this._activeTransform.x-=n.left,this._activeTransform.y-=n.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=_i(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,n){let r=this._previewContainer||"global";if(r==="parent")return t;if(r==="global"){let o=this._document;return n||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return He(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=t=>{if(this._handles.length){let n=this._getTargetHandle(t);n&&!this._disabledHandles.has(n)&&!this.disabled&&t.preventDefault()}else this.disabled||t.preventDefault()};_getTargetHandle(t){return this._handles.find(n=>t.target&&(t.target===n||n.contains(t.target)))}};function up(e,t,n){return Math.max(t,Math.min(n,e))}function dr(e){return e.type[0]==="t"}function FE(e){e.preventDefault()}function mp(e,t,n){let r=dp(t,e.length-1),o=dp(n,e.length-1);if(r===o)return;let i=e[r],s=o<r?-1:1;for(let a=r;a!==o;a+=s)e[a]=e[a+s];e[o]=i}function dp(e,t){return Math.max(0,Math.min(t,e))}var bi=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(t){this._dragDropRegistry=t}_previousSwap={drag:null,delta:0,overlaps:!1};start(t){this.withItems(t)}sort(t,n,r,o){let i=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,n,r,o);if(s===-1&&i.length>0)return null;let a=this.orientation==="horizontal",c=i.findIndex(M=>M.drag===t),l=i[s],u=i[c].clientRect,d=l.clientRect,h=c>s?1:-1,f=this._getItemOffsetPx(u,d,h),p=this._getSiblingOffsetPx(c,i,h),m=i.slice();return mp(i,c,s),i.forEach((M,N)=>{if(m[N]===M)return;let se=M.drag===t,Si=se?f:p,Kc=se?t.getPlaceholderElement():M.drag.getRootElement();M.offset+=Si;let Jc=Math.round(M.offset*(1/M.drag.scale));a?(Kc.style.transform=Ii(`translate3d(${Jc}px, 0, 0)`,M.initialTransform),hr(M.clientRect,0,Si)):(Kc.style.transform=Ii(`translate3d(0, ${Jc}px, 0)`,M.initialTransform),hr(M.clientRect,Si,0))}),this._previousSwap.overlaps=zc(d,n,r),this._previousSwap.drag=l.drag,this._previousSwap.delta=a?o.x:o.y,{previousIndex:c,currentIndex:s}}enter(t,n,r,o){let i=o==null||o<0?this._getItemIndexFromPointerPosition(t,n,r):o,s=this._activeDraggables,a=s.indexOf(t),c=t.getPlaceholderElement(),l=s[i];if(l===t&&(l=s[i+1]),!l&&(i==null||i===-1||i<s.length-1)&&this._shouldEnterAsFirstChild(n,r)&&(l=s[0]),a>-1&&s.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){let u=l.getRootElement();u.parentElement.insertBefore(c,u),s.splice(i,0,t)}else this._element.appendChild(c),s.push(t);c.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables?.forEach(t=>{let n=t.getRootElement();if(n){let r=this._itemPositions.find(o=>o.drag===t)?.initialTransform;n.style.transform=r||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(r=>r.drag===t)}updateOnScroll(t,n){this._itemPositions.forEach(({clientRect:r})=>{hr(r,t,n)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}withElementContainer(t){this._element=t}_cacheItemPositions(){let t=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(n=>{let r=n.getVisibleElement();return{drag:n,offset:0,initialTransform:r.style.transform||"",clientRect:Yc(r)}}).sort((n,r)=>t?n.clientRect.left-r.clientRect.left:n.clientRect.top-r.clientRect.top)}_getItemOffsetPx(t,n,r){let o=this.orientation==="horizontal",i=o?n.left-t.left:n.top-t.top;return r===-1&&(i+=o?n.width-t.width:n.height-t.height),i}_getSiblingOffsetPx(t,n,r){let o=this.orientation==="horizontal",i=n[t].clientRect,s=n[t+r*-1],a=i[o?"width":"height"]*r;if(s){let c=o?"left":"top",l=o?"right":"bottom";r===-1?a-=s.clientRect[c]-i[l]:a+=i[c]-s.clientRect[l]}return a}_shouldEnterAsFirstChild(t,n){if(!this._activeDraggables.length)return!1;let r=this._itemPositions,o=this.orientation==="horizontal";if(r[0].drag!==this._activeDraggables[0]){let s=r[r.length-1].clientRect;return o?t>=s.right:n>=s.bottom}else{let s=r[0].clientRect;return o?t<=s.left:n<=s.top}}_getItemIndexFromPointerPosition(t,n,r,o){let i=this.orientation==="horizontal",s=this._itemPositions.findIndex(({drag:a,clientRect:c})=>{if(a===t)return!1;if(o){let l=i?o.x:o.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&l===this._previousSwap.delta)return!1}return i?n>=Math.floor(c.left)&&n<Math.floor(c.right):r>=Math.floor(c.top)&&r<Math.floor(c.bottom)});return s===-1||!this._sortPredicate(s,t)?-1:s}},qc=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(t,n){this._document=t,this._dragDropRegistry=n}start(t){let n=this._element.childNodes;this._relatedNodes=[];for(let r=0;r<n.length;r++){let o=n[r];this._relatedNodes.push([o,o.nextSibling])}this.withItems(t)}sort(t,n,r,o){let i=this._getItemIndexFromPointerPosition(t,n,r),s=this._previousSwap;if(i===-1||this._activeItems[i]===t)return null;let a=this._activeItems[i];if(s.drag===a&&s.overlaps&&s.deltaX===o.x&&s.deltaY===o.y)return null;let c=this.getItemIndex(t),l=t.getPlaceholderElement(),u=a.getRootElement();i>c?u.after(l):u.before(l),mp(this._activeItems,c,i);let d=this._getRootNode().elementFromPoint(n,r);return s.deltaX=o.x,s.deltaY=o.y,s.drag=a,s.overlaps=u===d||u.contains(d),{previousIndex:c,currentIndex:i}}enter(t,n,r,o){let i=o==null||o<0?this._getItemIndexFromPointerPosition(t,n,r):o;i===-1&&(i=this._getClosestItemIndexToPointer(t,n,r));let s=this._activeItems[i],a=this._activeItems.indexOf(t);a>-1&&this._activeItems.splice(a,1),s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(i,0,t),s.getRootElement().before(t.getPlaceholderElement())):(this._activeItems.push(t),this._element.appendChild(t.getPlaceholderElement()))}withItems(t){this._activeItems=t.slice()}withSortPredicate(t){this._sortPredicate=t}reset(){let t=this._element,n=this._previousSwap;for(let r=this._relatedNodes.length-1;r>-1;r--){let[o,i]=this._relatedNodes[r];o.parentNode===t&&o.nextSibling!==i&&(i===null?t.appendChild(o):i.parentNode===t&&t.insertBefore(o,i))}this._relatedNodes=[],this._activeItems=[],n.drag=null,n.deltaX=n.deltaY=0,n.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(t){return this._activeItems.indexOf(t)}updateOnScroll(){this._activeItems.forEach(t=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()})}withElementContainer(t){t!==this._element&&(this._element=t,this._rootNode=void 0)}_getItemIndexFromPointerPosition(t,n,r){let o=this._getRootNode().elementFromPoint(Math.floor(n),Math.floor(r)),i=o?this._activeItems.findIndex(s=>{let a=s.getRootElement();return o===a||a.contains(o)}):-1;return i===-1||!this._sortPredicate(i,t)?-1:i}_getRootNode(){return this._rootNode||(this._rootNode=_i(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(t,n,r){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let o=1/0,i=-1;for(let s=0;s<this._activeItems.length;s++){let a=this._activeItems[s];if(a!==t){let{x:c,y:l}=a.getRootElement().getBoundingClientRect(),u=Math.hypot(n-c,r-l);u<o&&(o=u,i=s)}}return i}},fp=.05,vp=.05,_e=function(e){return e[e.NONE=0]="NONE",e[e.UP=1]="UP",e[e.DOWN=2]="DOWN",e}(_e||{}),ie=function(e){return e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e}(ie||{}),Zc=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new S;entered=new S;exited=new S;dropped=new S;sorted=new S;receivingStarted=new S;receivingStopped=new S;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=_e.NONE;_horizontalScrollDirection=ie.NONE;_scrollNode;_stopScrollTimers=new S;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(t,n,r,o,i){this._dragDropRegistry=n,this._ngZone=o,this._viewportRuler=i;let s=this.element=He(t);this._document=r,this.withOrientation("vertical").withElementContainer(s),n.registerDropContainer(this),this._parentPositions=new Ei(r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,n,r,o){this._draggingStarted(),o==null&&this.sortingDisabled&&(o=this._draggables.indexOf(t)),this._sortStrategy.enter(t,n,r,o),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,n,r,o,i,s,a,c={}){this._reset(),this.dropped.next({item:t,currentIndex:n,previousIndex:r,container:this,previousContainer:o,isPointerOverContainer:i,distance:s,dropPoint:a,event:c})}withItems(t){let n=this._draggables;return this._draggables=t,t.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(n.filter(o=>o.isDragging()).every(o=>t.indexOf(o)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._direction=t,this._sortStrategy instanceof bi&&(this._sortStrategy.direction=t),this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){if(t==="mixed")this._sortStrategy=new qc(this._document,this._dragDropRegistry);else{let n=new bi(this._dragDropRegistry);n.direction=this._direction,n.orientation=t,this._sortStrategy=n}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((n,r)=>this.sortPredicate(n,r,this)),this}withScrollableParents(t){let n=this._container;return this._scrollableElements=t.indexOf(n)===-1?[n,...t]:t.slice(),this}withElementContainer(t){if(t===this._container)return this;let n=He(this.element),r=this._scrollableElements.indexOf(this._container),o=this._scrollableElements.indexOf(t);return r>-1&&this._scrollableElements.splice(r,1),o>-1&&this._scrollableElements.splice(o,1),this._sortStrategy&&this._sortStrategy.withElementContainer(t),this._cachedShadowRoot=null,this._scrollableElements.unshift(t),this._container=t,this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,n,r,o){if(this.sortingDisabled||!this._domRect||!rp(this._domRect,fp,n,r))return;let i=this._sortStrategy.sort(t,n,r,o);i&&this.sorted.next({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,n){if(this.autoScrollDisabled)return;let r,o=_e.NONE,i=ie.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||r||rp(s.clientRect,fp,t,n)&&([o,i]=LE(a,s.clientRect,this._direction,t,n),(o||i)&&(r=a))}),!o&&!i){let{width:s,height:a}=this._viewportRuler.getViewportSize(),c={width:s,height:a,top:0,right:s,bottom:a,left:0};o=yp(c,n),i=Dp(c,t),r=window}r&&(o!==this._verticalScrollDirection||i!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=i,this._scrollNode=r,(o||i)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let t=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let t=this._container.style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(n=>n._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),zi(0,Nr).pipe(Yt(this._stopScrollTimers)).subscribe(()=>{let t=this._scrollNode,n=this.autoScrollStep;this._verticalScrollDirection===_e.UP?t.scrollBy(0,-n):this._verticalScrollDirection===_e.DOWN&&t.scrollBy(0,n),this._horizontalScrollDirection===ie.LEFT?t.scrollBy(-n,0):this._horizontalScrollDirection===ie.RIGHT&&t.scrollBy(n,0)})};_isOverContainer(t,n){return this._domRect!=null&&zc(this._domRect,t,n)}_getSiblingContainerFromPosition(t,n,r){return this._siblings.find(o=>o._canReceive(t,n,r))}_canReceive(t,n,r){if(!this._domRect||!zc(this._domRect,n,r)||!this.enterPredicate(t,this))return!1;let o=this._getShadowRoot().elementFromPoint(n,r);return o?o===this._container||this._container.contains(o):!1}_startReceiving(t,n){let r=this._activeSiblings;!r.has(t)&&n.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(r.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:n}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){let n=this._parentPositions.handleScroll(t);n&&this._sortStrategy.updateOnScroll(n.top,n.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let t=_i(this._container);this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let t=this._sortStrategy.getActiveItemsSnapshot().filter(n=>n.isDragging());this._siblings.forEach(n=>n._startReceiving(this,t))}};function yp(e,t){let{top:n,bottom:r,height:o}=e,i=o*vp;return t>=n-i&&t<=n+i?_e.UP:t>=r-i&&t<=r+i?_e.DOWN:_e.NONE}function Dp(e,t){let{left:n,right:r,width:o}=e,i=o*vp;return t>=n-i&&t<=n+i?ie.LEFT:t>=r-i&&t<=r+i?ie.RIGHT:ie.NONE}function LE(e,t,n,r,o){let i=yp(t,o),s=Dp(t,r),a=_e.NONE,c=ie.NONE;if(i){let l=e.scrollTop;i===_e.UP?l>0&&(a=_e.UP):e.scrollHeight-l>e.clientHeight&&(a=_e.DOWN)}if(s){let l=e.scrollLeft;n==="rtl"?s===ie.RIGHT?l<0&&(c=ie.RIGHT):e.scrollWidth+l>e.clientWidth&&(c=ie.LEFT):s===ie.LEFT?l>0&&(c=ie.LEFT):e.scrollWidth-l>e.clientWidth&&(c=ie.RIGHT)}return[a,c]}var fr={capture:!0},Uc={passive:!1,capture:!0},VE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=dc({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(r,o){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
8
- `],encapsulation:2,changeDetection:0})}return e})(),_p=(()=>{class e{_ngZone=g(V);_document=g(Z);_styleLoader=g(Kh);_renderer=g(ve).createRenderer(null,null);_cleanupDocumentTouchmove;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Ua([]);_globalListeners;_draggingPredicate=n=>n.isDragging();_domNodesToDirectives=null;pointerMove=new S;pointerUp=new S;scroll=new S;constructor(){}registerDropContainer(n){this._dropInstances.has(n)||this._dropInstances.add(n)}registerDragItem(n){this._dragInstances.add(n),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=ft(this._renderer,this._document,"touchmove",this._persistentTouchmoveListener,Uc)})}removeDropContainer(n){this._dropInstances.delete(n)}removeDragItem(n){this._dragInstances.delete(n),this.stopDragging(n),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(n,r){if(!(this._activeDragInstances().indexOf(n)>-1)&&(this._styleLoader.load(VE),this._activeDragInstances.update(o=>[...o,n]),this._activeDragInstances().length===1)){let o=r.type.startsWith("touch"),i=a=>this.pointerUp.next(a),s=[["scroll",a=>this.scroll.next(a),fr],["selectstart",this._preventDefaultWhileDragging,Uc]];o?s.push(["touchend",i,fr],["touchcancel",i,fr]):s.push(["mouseup",i,fr]),o||s.push(["mousemove",a=>this.pointerMove.next(a),Uc]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=s.map(([a,c,l])=>ft(this._renderer,this._document,a,c,l))})}}stopDragging(n){this._activeDragInstances.update(r=>{let o=r.indexOf(n);return o>-1?(r.splice(o,1),[...r]):r}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(n){return this._activeDragInstances().indexOf(n)>-1}scrolled(n){let r=[this.scroll];return n&&n!==this._document&&r.push(new R(o=>this._ngZone.runOutsideAngular(()=>{let i=ft(this._renderer,n,"scroll",s=>{this._activeDragInstances().length&&o.next(s)},fr);return()=>{i()}}))),Gr(...r)}registerDirectiveNode(n,r){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(n,r)}removeDirectiveNode(n){this._domNodesToDirectives?.delete(n)}getDragDirectiveForNode(n){return this._domNodesToDirectives?.get(n)||null}ngOnDestroy(){this._dragInstances.forEach(n=>this.removeDragItem(n)),this._dropInstances.forEach(n=>this.removeDropContainer(n)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=n=>{this._activeDragInstances().length>0&&n.preventDefault()};_persistentTouchmoveListener=n=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&n.preventDefault(),this.pointerMove.next(n))};_clearGlobalListeners(){this._globalListeners?.forEach(n=>n()),this._globalListeners=void 0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jE={dragStartThreshold:5,pointerDirectionChangeThreshold:5},BE=(()=>{class e{_document=g(Z);_ngZone=g(V);_viewportRuler=g(Xh);_dragDropRegistry=g(_p);_renderer=g(ve).createRenderer(null,null);constructor(){}createDrag(n,r=jE){return new Wc(n,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(n){return new Zc(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hp=new E("CDK_DRAG_PARENT");var HE=new E("CdkDragHandle");var $E=new E("CDK_DRAG_CONFIG"),UE=new E("CdkDropList"),lN=(()=>{class e{element=g(fe);dropContainer=g(UE,{optional:!0,skipSelf:!0});_ngZone=g(V);_viewContainerRef=g(ut);_dir=g(Jh,{optional:!0});_changeDetectorRef=g(gn);_selfHandle=g(HE,{optional:!0,self:!0});_parentDrag=g(hp,{optional:!0,skipSelf:!0});_dragDropRegistry=g(_p);_destroyed=new S;_handles=new vt([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(n){this._disabled=n,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new Q;released=new Q;ended=new Q;entered=new Q;exited=new Q;dropped=new Q;moved=new R(n=>{let r=this._dragRef.moved.pipe($e(o=>({source:this,pointerPosition:o.pointerPosition,event:o.event,delta:o.delta,distance:o.distance}))).subscribe(n);return()=>{r.unsubscribe()}});_injector=g(K);constructor(){let n=this.dropContainer,r=g($E,{optional:!0}),o=g(BE);this._dragRef=o.createDrag(this.element,{dragStartThreshold:r&&r.dragStartThreshold!=null?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&r.pointerDirectionChangeThreshold!=null?r.pointerDirectionChangeThreshold:5,zIndex:r?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),r&&this._assignDefaults(r),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this),n._dropListRef.beforeStarted.pipe(Yt(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(n){this._dragRef.setFreeDragPosition(n)}ngAfterViewInit(){zo(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(n){let r=n.rootElementSelector,o=n.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(n){let r=this._handles.getValue();r.push(n),this._handles.next(r)}_removeHandle(n){let r=this._handles.getValue(),o=r.indexOf(n);o>-1&&(r.splice(o,1),this._handles.next(r))}_setPreviewTemplate(n){this._previewTemplate=n}_resetPreviewTemplate(n){n===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(n){this._placeholderTemplate=n}_resetPlaceholderTemplate(n){n===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let n=this.element.nativeElement,r=n;this.rootElementSelector&&(r=n.closest!==void 0?n.closest(this.rootElementSelector):n.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||n)}_getBoundaryElement(){let n=this.boundaryElement;return n?typeof n=="string"?this.element.nativeElement.closest(n):He(n):null}_syncInputs(n){n.beforeStarted.subscribe(()=>{if(!n.isDragging()){let r=this._dir,o=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;n.disabled=this.disabled,n.lockAxis=this.lockAxis,n.scale=this.scale,n.dragStartDelay=typeof o=="object"&&o?o:Vc(o),n.constrainPosition=this.constrainPosition,n.previewClass=this.previewClass,n.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),r&&n.withDirection(r.value)}}),n.beforeStarted.pipe(Gi(1)).subscribe(()=>{if(this._parentDrag){n.withParent(this._parentDrag._dragRef);return}let r=this.element.nativeElement.parentElement;for(;r;){let o=this._dragDropRegistry.getDragDirectiveForNode(r);if(o){n.withParent(o._dragRef);break}r=r.parentElement}})}_handleEvents(n){n.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),n.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),n.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),n.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),n.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),n.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(n){let{lockAxis:r,dragStartDelay:o,constrainPosition:i,previewClass:s,boundaryElement:a,draggingDisabled:c,rootElementSelector:l,previewContainer:u}=n;this.disabled=c??!1,this.dragStartDelay=o||0,r&&(this.lockAxis=r),i&&(this.constrainPosition=i),s&&(this.previewClass=s),a&&(this.boundaryElement=a),l&&(this.rootElementSelector=l),u&&(this.previewContainer=u)}_setupHandlesListener(){this._handles.pipe(Wi(n=>{let r=n.map(o=>o.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),Zr(n=>Gr(...n.map(r=>r._stateChanges.pipe(qr(r))))),Yt(this._destroyed)).subscribe(n=>{let r=this._dragRef,o=n.element.nativeElement;n.disabled?r.disableHandle(o):r.enableHandle(o)})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Pt({type:e,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(r,o){r&2&&ni("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",oi],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",wc]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[yc([{provide:hp,useExisting:e}]),Xn]})}return e})();export{J as a,X as b,zE as c,GE as d,WE as e,qE as f,ZE as g,YE as h,P as i,R as j,S as k,vt as l,Bi as m,Sn as n,Dt as o,Hi as p,Zt as q,Yp as r,Ui as s,Gr as t,Tn as u,Wl as v,rg as w,qr as x,Zr as y,Yt as z,Ue as A,D as B,Zn as C,E as D,fg as E,g as F,Pe as G,vM as H,yM as I,DM as J,_M as K,wM as L,K as M,it as N,Q as O,V as P,EM as Q,IM as R,fe as S,Ua as T,CM as U,bM as V,iv as W,zo as X,SM as Y,TM as Z,Kv as _,Rt as $,Un as aa,ve as ba,ir as ca,ne as da,ut as ea,an as fa,dc as ga,sr as ha,Pt as ia,ti as ja,qf as ka,RM as la,GD as ma,st as na,th as oa,u_ as pa,pc as qa,ni as ra,AM as sa,OM as ta,PM as ua,kM as va,FM as wa,LM as xa,gc as ya,mc as za,dh as Aa,C_ as Ba,VM as Ca,A_ as Da,jM as Ea,k_ as Fa,F_ as Ga,L_ as Ha,V_ as Ia,BM as Ja,HM as Ka,B_ as La,gh as Ma,$_ as Na,$M as Oa,UM as Pa,zM as Qa,GM as Ra,WM as Sa,qM as Ta,ZM as Ua,YM as Va,QM as Wa,gn as Xa,cw as Ya,KM as Za,pw as _a,bh as $a,Z as ab,Iw as bb,w0 as cb,E0 as db,I0 as eb,C0 as fb,Kw as gb,G0 as hb,Zh as ib,_i as jb,Z0 as kb,ur as lb,Yh as mb,Qh as nb,He as ob,ft as pb,Kh as qb,Bc as rb,Jh as sb,fx as tb,ME as ub,Xh as vb,jx as wb,Hx as xb,lN as yb};