diff --git a/demos/angular/5.0/free/chunk-I5JDL7NQ.js b/demos/angular/5.0/free/chunk-242GUSJI.js similarity index 71% rename from demos/angular/5.0/free/chunk-I5JDL7NQ.js rename to demos/angular/5.0/free/chunk-242GUSJI.js index 2ba99799e97..1d3c3be4431 100644 --- a/demos/angular/5.0/free/chunk-I5JDL7NQ.js +++ b/demos/angular/5.0/free/chunk-242GUSJI.js @@ -1,4 +1,4 @@ -import{a as D,b as B,c as G,d as I,k as N,l as T,m as L,n as V,o as A,s as O,u as z}from"./chunk-CYJCTR5H.js";import{b as M}from"./chunk-AXBUYTA4.js";import{$ as o,Ea as r,I as p,Pa as e,Rc as g,Wc as F,Xc as v,Ya as b,Yc as R,aa as k,bc as S,cd as _,dd as w,ma as u,na as m,pc as f,sc as E,tc as C,wc as y,xa as t,ya as i,za as n}from"./chunk-IH7SFKGO.js";import{a as h}from"./chunk-RLASGPT3.js";var K=(()=>{let x=class x{constructor(d){this.formBuilder=d,this.inputDisabled=null,this.formGroup=this.formBuilder.group({flexRadioGroup:this.formBuilder.group({flexRadioDefault:this.formBuilder.control("two")}),flexRadioGroupDisabled:this.formBuilder.group({flexRadioDefault:this.formBuilder.control({value:"two",disabled:!0})}),flexCheckGroup:this.formBuilder.group({checkOne:[!1],checkTwo:[!0]}),flexCheckGroupDisabled:this.formBuilder.group({checkThree:[{value:!1,disabled:!0}],checkFour:[{value:!0,disabled:!0}]}),btnCheckGroup:this.formBuilder.group({checkbox1:[!0],checkbox2:[!1],checkbox3:[{value:!1,disabled:!0}]}),btnRadioGroup:this.formBuilder.group({radio1:this.formBuilder.control({value:"Radio2"})})})}setCheckBoxValue(d){let c=this.formGroup.controls.btnCheckGroup,l=c.get(d)?.value,a=h({},c.value);a[d]=!l,c.patchValue(a)}setRadioValue(d){this.formGroup.controls.btnRadioGroup.setValue({radio1:d})}};x.\u0275fac=function(c){return new(c||x)(k(O))},x.\u0275cmp=p({type:x,selectors:[["app-checks-radios"]],standalone:!0,features:[b],decls:592,vars:10,consts:[["cForm","",3,"formGroup"],["xs","12"],[1,"mb-4"],["href","forms/checks-radios"],["formGroupName","flexCheckGroup"],["cFormCheckInput","","formControlName","checkOne","id","checkOne","type","checkbox"],["cFormCheckLabel","","for","checkOne"],["cFormCheckInput","","formControlName","checkTwo","id","checkTwo","type","checkbox",3,"checked"],["cFormCheckLabel","","for","checkTwo"],[1,"text-body-secondary","small"],["href","forms/checks-radios#disabled"],["formGroupName","flexCheckGroupDisabled"],["cFormCheckInput","","formControlName","checkThree","id","checkThree","type","checkbox"],["cFormCheckLabel","","for","checkThree"],["cFormCheckInput","","formControlName","checkFour","id","checkFour","type","checkbox"],["cFormCheckLabel","","for","checkFour"],["href","forms/checks-radios#radios"],["formGroupName","flexRadioGroup"],["cFormCheckInput","","formControlName","flexRadioDefault","type","radio","value","one"],["cFormCheckLabel",""],["cFormCheckInput","","formControlName","flexRadioDefault","type","radio","value","two"],["href","forms/checks-radios#disabled-1"],["formGroupName","flexRadioGroupDisabled"],["href","forms/checks-radios#switches"],[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckInput","","checked","","type","checkbox"],["cFormCheckInput","","disabled","","type","checkbox"],["cFormCheckInput","","checked","","disabled","","type","checkbox"],["href","forms/checks-radios#sizes"],["sizing","lg","switch",""],["sizing","xl","switch",""],["href","forms/checks-radios#default-stacked"],["cFormCheckInput","","id","stackOne","type","checkbox"],["cFormCheckLabel","","for","stackOne"],["cFormCheckInput","","disabled","","id","stackTwo","type","checkbox"],["cFormCheckLabel","","for","stackTwo"],["cFormCheckInput","","checked","","id","radioStack1","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack1"],["cFormCheckInput","","id","radioStack2","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack2"],["cFormCheckInput","","disabled","","id","radioStack3","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack3"],["href","forms/checks-radios#inline"],[3,"inline"],["cFormCheckInput","","id","inline1","type","checkbox"],["cFormCheckLabel","","for","inline1"],["inline",""],["cFormCheckInput","","id","inline2","type","checkbox"],["cFormCheckLabel","","for","inline2"],["cFormCheckInput","","disabled","","id","inline3","type","checkbox"],["cFormCheckLabel","","for","inline3"],["cFormCheckInput","","checked","","id","radioinline1","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline1"],["cFormCheckInput","","id","radioinline2","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline2"],["cFormCheckInput","","disabled","","id","radioinline3","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline3"],["href","forms/checks-radios#without-labels"],["cFormCheckInput","","id","nolabelCheck","name","nolabelCheck","type","checkbox"],["cFormCheckInput","","id","nolabelRadio","name","nolabelRadio","type","radio"],["href","forms/checks-radios#toggle-buttons"],["formGroupName","btnCheckGroup"],["aria-label","Basic checkbox toggle button group","role","group"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"],["formGroupName","btnRadioGroup"],["aria-label","Basic radio toggle button group","role","group"],["formControlName","radio1","id","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio1","variant","ghost",3,"click"],["formControlName","radio1","id","radio2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio2","variant","ghost",3,"click"],["formControlName","radio1","id","radio3","type","radio","value","Radio3",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio3","variant","ghost",3,"click"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","radio1","id","radio1o","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","for","radio1o","variant","outline",3,"click"],["formControlName","radio1","id","radio2o","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","color","success","for","radio2o","variant","outline",3,"click"],["formControlName","radio1","id","radio3o","type","radio","value","Radio3",1,"btn-check"],["cButton","","color","secondary","for","radio3o","variant","outline",3,"click"]],template:function(c,l){c&1&&(t(0,"c-row"),e(1,` +import{a as D,b as B,c as G,d as I,k as N,l as T,m as L,n as V,o as A,s as O,u as z}from"./chunk-KHOHL6WT.js";import{b as M}from"./chunk-OI7SGNKL.js";import{Da as r,H as p,Oa as e,Sc as g,Xa as b,Xc as F,Yc as v,Zc as R,aa as o,ba as k,cc as S,dd as _,ed as w,ka as u,la as m,qc as f,tc as E,uc as C,wa as t,xa as i,xc as y,ya as n}from"./chunk-3ABEXWJ5.js";import{a as h}from"./chunk-MKQW6NQN.js";var K=(()=>{let x=class x{constructor(d){this.formBuilder=d,this.inputDisabled=null,this.formGroup=this.formBuilder.group({flexRadioGroup:this.formBuilder.group({flexRadioDefault:this.formBuilder.control("two")}),flexRadioGroupDisabled:this.formBuilder.group({flexRadioDefault:this.formBuilder.control({value:"two",disabled:!0})}),flexCheckGroup:this.formBuilder.group({checkOne:[!1],checkTwo:[!0]}),flexCheckGroupDisabled:this.formBuilder.group({checkThree:[{value:!1,disabled:!0}],checkFour:[{value:!0,disabled:!0}]}),btnCheckGroup:this.formBuilder.group({checkbox1:[!0],checkbox2:[!1],checkbox3:[{value:!1,disabled:!0}]}),btnRadioGroup:this.formBuilder.group({radio1:this.formBuilder.control({value:"Radio2"})})})}setCheckBoxValue(d){let c=this.formGroup.controls.btnCheckGroup,l=c.get(d)?.value,a=h({},c.value);a[d]=!l,c.patchValue(a)}setRadioValue(d){this.formGroup.controls.btnRadioGroup.setValue({radio1:d})}};x.\u0275fac=function(c){return new(c||x)(k(O))},x.\u0275cmp=p({type:x,selectors:[["app-checks-radios"]],standalone:!0,features:[b],decls:592,vars:10,consts:[["cForm","",3,"formGroup"],["xs","12"],[1,"mb-4"],["href","forms/checks-radios"],["formGroupName","flexCheckGroup"],["cFormCheckInput","","formControlName","checkOne","id","checkOne","type","checkbox"],["cFormCheckLabel","","for","checkOne"],["cFormCheckInput","","formControlName","checkTwo","id","checkTwo","type","checkbox",3,"checked"],["cFormCheckLabel","","for","checkTwo"],[1,"text-body-secondary","small"],["href","forms/checks-radios#disabled"],["formGroupName","flexCheckGroupDisabled"],["cFormCheckInput","","formControlName","checkThree","id","checkThree","type","checkbox"],["cFormCheckLabel","","for","checkThree"],["cFormCheckInput","","formControlName","checkFour","id","checkFour","type","checkbox"],["cFormCheckLabel","","for","checkFour"],["href","forms/checks-radios#radios"],["formGroupName","flexRadioGroup"],["cFormCheckInput","","formControlName","flexRadioDefault","type","radio","value","one"],["cFormCheckLabel",""],["cFormCheckInput","","formControlName","flexRadioDefault","type","radio","value","two"],["href","forms/checks-radios#disabled-1"],["formGroupName","flexRadioGroupDisabled"],["href","forms/checks-radios#switches"],[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckInput","","checked","","type","checkbox"],["cFormCheckInput","","disabled","","type","checkbox"],["cFormCheckInput","","checked","","disabled","","type","checkbox"],["href","forms/checks-radios#sizes"],["sizing","lg","switch",""],["sizing","xl","switch",""],["href","forms/checks-radios#default-stacked"],["cFormCheckInput","","id","stackOne","type","checkbox"],["cFormCheckLabel","","for","stackOne"],["cFormCheckInput","","disabled","","id","stackTwo","type","checkbox"],["cFormCheckLabel","","for","stackTwo"],["cFormCheckInput","","checked","","id","radioStack1","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack1"],["cFormCheckInput","","id","radioStack2","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack2"],["cFormCheckInput","","disabled","","id","radioStack3","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack3"],["href","forms/checks-radios#inline"],[3,"inline"],["cFormCheckInput","","id","inline1","type","checkbox"],["cFormCheckLabel","","for","inline1"],["inline",""],["cFormCheckInput","","id","inline2","type","checkbox"],["cFormCheckLabel","","for","inline2"],["cFormCheckInput","","disabled","","id","inline3","type","checkbox"],["cFormCheckLabel","","for","inline3"],["cFormCheckInput","","checked","","id","radioinline1","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline1"],["cFormCheckInput","","id","radioinline2","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline2"],["cFormCheckInput","","disabled","","id","radioinline3","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline3"],["href","forms/checks-radios#without-labels"],["cFormCheckInput","","id","nolabelCheck","name","nolabelCheck","type","checkbox"],["cFormCheckInput","","id","nolabelRadio","name","nolabelRadio","type","radio"],["href","forms/checks-radios#toggle-buttons"],["formGroupName","btnCheckGroup"],["aria-label","Basic checkbox toggle button group","role","group"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"],["formGroupName","btnRadioGroup"],["aria-label","Basic radio toggle button group","role","group"],["formControlName","radio1","id","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio1","variant","ghost",3,"click"],["formControlName","radio1","id","radio2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio2","variant","ghost",3,"click"],["formControlName","radio1","id","radio3","type","radio","value","Radio3",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio3","variant","ghost",3,"click"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","radio1","id","radio1o","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","for","radio1o","variant","outline",3,"click"],["formControlName","radio1","id","radio2o","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","color","success","for","radio2o","variant","outline",3,"click"],["formControlName","radio1","id","radio3o","type","radio","value","Radio3",1,"btn-check"],["cButton","","color","secondary","for","radio3o","variant","outline",3,"click"]],template:function(c,l){c&1&&(t(0,"c-row"),e(1,` `),t(2,"form",0),e(3,` `),t(4,"c-col",1),e(5,` `),t(6,"c-card",2),e(7,` diff --git a/demos/angular/5.0/free/chunk-3ABEXWJ5.js b/demos/angular/5.0/free/chunk-3ABEXWJ5.js new file mode 100644 index 00000000000..44829be67f8 --- /dev/null +++ b/demos/angular/5.0/free/chunk-3ABEXWJ5.js @@ -0,0 +1,11 @@ +import{a as b,b as he,e as p,f as T,g as A,h as gm}from"./chunk-MKQW6NQN.js";function Q(t){return typeof t=="function"}function Mu(t){return Q(t?.lift)}function G(t){return e=>{if(Mu(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Lr(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Pa=Lr(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Yi(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Ae=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(Q(n))try{n()}catch(o){e=o instanceof Pa?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{vm(o)}catch(s){e=e??[],s instanceof Pa?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Pa(e)}}add(e){var r;if(e&&e!==this)if(this.closed)vm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Yi(r,e)}remove(e){let{_finalizers:r}=this;r&&Yi(r,e),e instanceof t&&e._removeParent(this)}};Ae.EMPTY=(()=>{let t=new Ae;return t.closed=!0,t})();var Tu=Ae.EMPTY;function La(t){return t instanceof Ae||t&&"closed"in t&&Q(t.remove)&&Q(t.add)&&Q(t.unsubscribe)}function vm(t){Q(t)?t():t.unsubscribe()}var mn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jr={setTimeout(t,e,...r){let{delegate:n}=jr;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=jr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ja(t){jr.setTimeout(()=>{let{onUnhandledError:e}=mn;if(e)e(t);else throw t})}function Jn(){}var ym=Au("C",void 0,void 0);function bm(t){return Au("E",void 0,t)}function Cm(t){return Au("N",t,void 0)}function Au(t,e,r){return{kind:t,value:e,error:r}}var Xi=null;function Br(t){if(mn.useDeprecatedSynchronousErrorHandling){let e=!Xi;if(e&&(Xi={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Xi;if(Xi=null,r)throw n}}else t()}function Dm(t){mn.useDeprecatedSynchronousErrorHandling&&Xi&&(Xi.errorThrown=!0,Xi.error=t)}var Ji=class extends Ae{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,La(e)&&e.add(this)):this.destination=qD}static create(e,r,n){return new Vr(e,r,n)}next(e){this.isStopped?Ou(Cm(e),this):this._next(e)}error(e){this.isStopped?Ou(bm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ou(ym,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},WD=Function.prototype.bind;function Nu(t,e){return WD.call(t,e)}var Ru=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Ba(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Ba(n)}else Ba(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Ba(r)}}},Vr=class extends Ji{constructor(e,r,n){super();let i;if(Q(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&mn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Nu(e.next,o),error:e.error&&Nu(e.error,o),complete:e.complete&&Nu(e.complete,o)}):i=e}this.destination=new Ru(i)}};function Ba(t){mn.useDeprecatedSynchronousErrorHandling?Dm(t):ja(t)}function GD(t){throw t}function Ou(t,e){let{onStoppedNotification:r}=mn;r&&jr.setTimeout(()=>r(t,e))}var qD={closed:!0,next:Jn,error:GD,complete:Jn};function $(t,e,r,n,i){return new ku(t,e,r,n,i)}var ku=class extends Ji{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Ne(t,e){return G((r,n)=>{let i=0;r.subscribe($(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Im(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{l(n.next(u))}catch(d){s(d)}}function c(u){try{l(n.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((n=n.apply(t,e||[])).next())})}function wm(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function er(t){return this instanceof er?(this.v=t,this):new er(t)}function Em(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){n[f]&&(i[f]=function(y){return new Promise(function(w,O){o.push([f,y,w,O])>1||c(f,y)})},g&&(i[f]=g(i[f])))}function c(f,g){try{l(n[f](g))}catch(y){h(o[0][3],y)}}function l(f){f.value instanceof er?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),o.shift(),o.length&&c(o[0][0],o[0][1])}}function _m(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof wm=="function"?wm(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var $r=t=>t&&typeof t.length=="number"&&typeof t!="function";function Va(t){return Q(t?.then)}var Hr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ut(t){return t}function Fu(...t){return Pu(t)}function Pu(t){return t.length===0?ut:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var ee=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=ZD(r)?r:new Vr(r,n,i);return Br(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Sm(n),new n((i,o)=>{let s=new Vr({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Hr](){return this}pipe(...r){return Pu(r)(this)}toPromise(r){return r=Sm(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Sm(t){var e;return(e=t??mn.Promise)!==null&&e!==void 0?e:Promise}function QD(t){return t&&Q(t.next)&&Q(t.error)&&Q(t.complete)}function ZD(t){return t&&t instanceof Ji||QD(t)&&La(t)}function $a(t){return Q(t[Hr])}function Ha(t){return Symbol.asyncIterator&&Q(t?.[Symbol.asyncIterator])}function Ua(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function KD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var za=KD();function Wa(t){return Q(t?.[za])}function Ga(t){return Em(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield er(r.read());if(i)return yield er(void 0);yield yield er(n)}}finally{r.releaseLock()}})}function qa(t){return Q(t?.getReader)}function pe(t){if(t instanceof ee)return t;if(t!=null){if($a(t))return YD(t);if($r(t))return XD(t);if(Va(t))return JD(t);if(Ha(t))return xm(t);if(Wa(t))return ew(t);if(qa(t))return tw(t)}throw Ua(t)}function YD(t){return new ee(e=>{let r=t[Hr]();if(Q(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function XD(t){return new ee(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ja)})}function ew(t){return new ee(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function xm(t){return new ee(e=>{nw(t,e).catch(r=>e.error(r))})}function tw(t){return xm(Ga(t))}function nw(t,e){var r,n,i,o;return Im(this,void 0,void 0,function*(){try{for(r=_m(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Mm(t){return G((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let l=i;i=null,r.next(l)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe($(r,l=>{n=!0,i=l,o||pe(t(l)).subscribe(o=$(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}var Qa=class extends Ae{constructor(e,r){super()}schedule(e,r=0){return this}};var is={setInterval(t,e,...r){let{delegate:n}=is;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=is;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Ur=class extends Qa{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return is.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&is.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Yi(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var rs={now(){return(rs.delegate||Date).now()},delegate:void 0};var zr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};zr.now=rs.now;var Wr=class extends zr{constructor(e,r=zr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var tr=new Wr(Ur),Tm=tr;function Za(t){return t&&Q(t.schedule)}function Am(t){return t instanceof Date&&!isNaN(t)}function Ka(t=0,e,r=Tm){let n=-1;return e!=null&&(Za(e)?r=e:n=e),new ee(i=>{let o=Am(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function iw(t,e=tr){return Mm(()=>Ka(t,e))}function Lu(t){return t[t.length-1]}function _i(t){return Q(Lu(t))?t.pop():void 0}function Nn(t){return Za(Lu(t))?t.pop():void 0}function Nm(t,e){return typeof Lu(t)=="number"?t.pop():e}function Lt(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Si(t){return G((e,r)=>{let n=null,i=!1,o;n=e.subscribe($(r,void 0,void 0,s=>{o=pe(t(s,Si(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}var{isArray:rw}=Array,{getPrototypeOf:ow,prototype:sw,keys:aw}=Object;function Ya(t){if(t.length===1){let e=t[0];if(rw(e))return{args:e,keys:null};if(cw(e)){let r=aw(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function cw(t){return t&&typeof t=="object"&&ow(t)===sw}function Xa(t,e=0){return G((r,n)=>{r.subscribe($(n,i=>Lt(n,t,()=>n.next(i),e),()=>Lt(n,t,()=>n.complete(),e),i=>Lt(n,t,()=>n.error(i),e)))})}function Ja(t,e=0){return G((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Om(t,e){return pe(t).pipe(Ja(e),Xa(e))}function Rm(t,e){return pe(t).pipe(Ja(e),Xa(e))}function km(t,e){return new ee(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Fm(t,e){return new ee(r=>{let n;return Lt(r,e,()=>{n=t[za](),Lt(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>Q(n?.return)&&n.return()})}function ec(t,e){if(!t)throw new Error("Iterable cannot be null");return new ee(r=>{Lt(r,e,()=>{let n=t[Symbol.asyncIterator]();Lt(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Pm(t,e){return ec(Ga(t),e)}function Lm(t,e){if(t!=null){if($a(t))return Om(t,e);if($r(t))return km(t,e);if(Va(t))return Rm(t,e);if(Ha(t))return ec(t,e);if(Wa(t))return Fm(t,e);if(qa(t))return Pm(t,e)}throw Ua(t)}function Pe(t,e){return e?Lm(t,e):pe(t)}function re(t,e){return G((r,n)=>{let i=0;r.subscribe($(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:lw}=Array;function uw(t,e){return lw(e)?t(...e):t(e)}function Gr(t){return re(e=>uw(t,e))}function tc(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function nr(...t){let e=Nn(t),r=_i(t),{args:n,keys:i}=Ya(t);if(n.length===0)return Pe([],e);let o=new ee(dw(n,e,i?s=>tc(i,s):ut));return r?o.pipe(Gr(r)):o}function dw(t,e,r=ut){return n=>{jm(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let l=Pe(t[c],e),u=!1;l.subscribe($(n,d=>{o[c]=d,u||(u=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function jm(t,e,r){t?Lt(r,t,e):e()}function nc(t,e,r,n,i,o,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&e.complete()},f=y=>l{o&&e.next(y),l++;let w=!1;pe(r(y,u++)).subscribe($(e,O=>{i?.(O),o?f(O):e.next(O)},()=>{w=!0},void 0,()=>{if(w)try{for(l--;c.length&&lg(O)):g(O)}h()}catch(O){e.error(O)}}))};return t.subscribe($(e,f,()=>{d=!0,h()})),()=>{a?.()}}function Re(t,e,r=1/0){return Q(e)?Re((n,i)=>re((o,s)=>e(n,o,i,s))(pe(t(n,i))),r):(typeof e=="number"&&(r=e),G((n,i)=>nc(n,i,t,r)))}function Bm(t,e,r,n,i){return(o,s)=>{let a=r,c=e,l=0;o.subscribe($(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}var{isArray:fw}=Array;function Vm(t){return t.length===1&&fw(t[0])?t[0]:t}function On(t=1/0){return Re(ut,t)}function $m(){return On(1)}function ir(t,e){return Q(e)?Re(t,e,1):Re(t,1)}var Hm=Lr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ge=(()=>{class t extends ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ic(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Hm}next(r){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Tu:(this.currentObservers=null,o.push(r),new Ae(()=>{this.currentObservers=null,Yi(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new ee;return r.source=this,r}}return t.create=(e,r)=>new ic(e,r),t})(),ic=class extends ge{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Tu}};function ei(t,e=tr){return G((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,n.next(l)}};function c(){let l=s+t,u=e.now();if(u{o=l,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function xi(t){return G((e,r)=>{let n=!1;e.subscribe($(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Rn(...t){return $m()(Pe(t,Nn(t)))}var dt=new ee(t=>t.complete());function Ct(t){return t<=0?()=>dt:G((e,r)=>{let n=0;e.subscribe($(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Um(){return G((t,e)=>{t.subscribe($(e,Jn))})}function os(t){return re(()=>t)}function ju(t,e){return e?r=>Rn(e.pipe(Ct(1),Um()),r.pipe(ju(t))):Re((r,n)=>pe(t(r,n)).pipe(Ct(1),os(r)))}function hw(t,e=tr){let r=Ka(t,e);return ju(()=>r)}function Z(...t){let e=Nn(t);return Pe(t,e)}function qr(t,e){let r=Q(t)?t:()=>t,n=i=>i.error(r());return new ee(e?i=>e.schedule(n,0,i):n)}function rc(t,e=ut){return t=t??pw,G((r,n)=>{let i,o=!0;r.subscribe($(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function pw(t,e){return t===e}var ti=Lr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function oc(t=mw){return G((e,r)=>{let n=!1;e.subscribe($(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function mw(){return new ti}function gw(t,e=1/0,r){return e=(e||0)<1?1/0:e,G((n,i)=>nc(n,i,t,e,void 0,!0,r))}function kn(t){return G((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Fn(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ne((i,o)=>t(i,o,n)):ut,Ct(1),r?xi(e):oc(()=>new ti))}function Qr(t){return t<=0?()=>dt:G((e,r)=>{let n=[];e.subscribe($(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Bu(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ne((i,o)=>t(i,o,n)):ut,Qr(1),r?xi(e):oc(()=>new ti))}function Zr(){return G((t,e)=>{let r=null;t._refCount++;let n=$(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Kr=class extends ee{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Mu(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Ae;let r=this.getSubject();e.add(this.source.subscribe($(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Ae.EMPTY)}return e}refCount(){return Zr()(this)}};function vw(){return G((t,e)=>{let r,n=!1;t.subscribe($(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}var we=class extends ge{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var ss=class extends ge{constructor(e=1/0,r=1/0,n=rs){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;s=2,!0))}function as(t){return Ne((e,r)=>t<=r)}function cs(...t){let e=Nn(t);return G((r,n)=>{(e?Rn(t,r,e):Rn(t,r)).subscribe(n)})}function qt(t,e){return G((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe($(n,c=>{i?.unsubscribe();let l=0,u=o++;pe(t(c,u)).subscribe(i=$(n,d=>n.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Pn(t){return G((e,r)=>{pe(t).subscribe($(r,()=>r.complete(),Jn)),!r.closed&&e.subscribe(r)})}function $u(t,e=!1){return G((r,n)=>{let i=0;r.subscribe($(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function Oe(t,e,r){let n=Q(t)||e||r?{next:t,error:e,complete:r}:t;return n?G((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe($(o,c=>{var l;(l=n.next)===null||l===void 0||l.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var l;a=!1,(l=n.error)===null||l===void 0||l.call(n,c),o.error(c)},()=>{var c,l;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):ut}function Hu(...t){let e=_i(t);return G((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c{o[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(ut))&&(s=null))},Jn));r.subscribe($(n,c=>{if(a){let l=[c,...o];n.next(e?e(...l):l)}}))})}function zm(...t){let e=_i(t),r=Vm(t);return r.length?new ee(n=>{let i=r.map(()=>[]),o=r.map(()=>!1);n.add(()=>{i=o=null});for(let s=0;!n.closed&&s{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(l=>l.shift());n.next(e?e(...c):c),i.some((l,u)=>!l.length&&o[u])&&n.complete()}},()=>{o[s]=!0,!i[s].length&&n.complete()}));return()=>{i=o=null}}):dt}function Wm(...t){return G((e,r)=>{zm(e,...t).subscribe(r)})}function Uu(...t){return Wm(...t)}function Gm(t,e){return Object.is(t,e)}var Je=null,ls=!1,sc=1,jt=Symbol("SIGNAL");function ce(t){let e=Je;return Je=t,e}function qm(){return Je}function yw(){return ls}var Yr={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ds(t){if(ls)throw new Error("");if(Je===null)return;Je.consumerOnSignalRead(t);let e=Je.nextProducerIndex++;if(fc(Je),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function lc(t){fc(t);for(let e=0;e0}function fc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Jm(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function eg(t){return t.producerNode!==void 0}function qu(t){let e=Object.create(Cw);e.computation=t;let r=()=>{if(Qm(e),ds(e),e.value===ac)throw e.error;return e.value};return r[jt]=e,r}var zu=Symbol("UNSET"),Wu=Symbol("COMPUTING"),ac=Symbol("ERRORED"),Cw=he(b({},Yr),{value:zu,dirty:!0,error:null,equal:Gm,producerMustRecompute(t){return t.value===zu||t.value===Wu},producerRecomputeValue(t){if(t.value===Wu)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Wu;let r=fs(t),n;try{n=t.computation()}catch(i){n=ac,t.error=i}finally{cc(t,r)}if(e!==zu&&e!==ac&&n!==ac&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function Dw(){throw new Error}var tg=Dw;function ng(){tg()}function ig(t){tg=t}var ww=null;function rg(t){let e=Object.create(Qu);e.value=t;let r=()=>(ds(e),e.value);return r[jt]=e,r}function hs(t,e){Km()||ng(),t.equal(t.value,e)||(t.value=e,Iw(t))}function og(t,e){Km()||ng(),hs(t,e(t.value))}var Qu=he(b({},Yr),{equal:Gm,value:void 0});function Iw(t){t.version++,bw(),Zm(t),ww?.()}function sg(t,e,r){let n=Object.create(Ew);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let i=c=>{n.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(uc(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Gu)}let a=()=>{if(n.fn===null)return;if(yw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!lc(n))return;n.hasRun=!0;let c=fs(n);try{n.cleanupFn(),n.cleanupFn=Gu,n.fn(i)}finally{cc(n,c)}};return n.ref={notify:()=>Ym(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[jt]:n},n.ref}var Gu=()=>{},Ew=he(b({},Yr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Gu});var Xr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Xr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new Ae(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=Xr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Xr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var hc=class extends Ur{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Xr.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Xr.cancelAnimationFrame(r),e._scheduled=void 0)}};var pc=class extends Wr{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var _w=new pc(hc);function mc(t){return!!t&&(t instanceof ee||Q(t.lift)&&Q(t.subscribe))}function gc(t){return new ee(e=>{pe(t()).subscribe(e)})}function Sw(...t){let e=_i(t),{args:r,keys:n}=Ya(t),i=new ee(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(n?tc(n,a):a),o.complete())}))}});return e?i.pipe(Gr(e)):i}var xw=["addListener","removeListener"],Mw=["addEventListener","removeEventListener"],Tw=["on","off"];function Ln(t,e,r,n){if(Q(r)&&(n=r,r=void 0),n)return Ln(t,e,r).pipe(Gr(n));let[i,o]=Ow(t)?Mw.map(s=>a=>t[s](e,a,r)):Aw(t)?xw.map(ag(t,e)):Nw(t)?Tw.map(ag(t,e)):[];if(!i&&$r(t))return Re(s=>Ln(s,e,r))(pe(t));if(!i)throw new TypeError("Invalid event target");return new ee(s=>{let a=(...c)=>s.next(1o(a)})}function ag(t,e){return r=>n=>t[r](e,n)}function Aw(t){return Q(t.addListener)&&Q(t.removeListener)}function Nw(t){return Q(t.on)&&Q(t.off)}function Ow(t){return Q(t.addEventListener)&&Q(t.removeEventListener)}function Zu(...t){let e=Nn(t),r=Nm(t,1/0),n=t;return n.length?n.length===1?pe(n[0]):On(r)(Pe(n,e)):dt}var ov="https://g.co/ng/security#xss",L=class extends Error{constructor(e,r){super(bf(e,r)),this.code=e}};function bf(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var nl=Symbol("InputSignalNode#UNSET"),sv=he(b({},Qu),{transformFn:void 0,applyValueToInputSignal(t,e){hs(t,e)}});function av(t,e){let r=Object.create(sv);r.value=t,r.transformFn=e?.transform;function n(){if(ds(r),r.value===nl)throw new L(-950,!1);return r.value}return n[jt]=r,n}function xs(t){return{toString:t}.toString()}var vc="__parameters__";function Rw(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function cv(t,e,r){return xs(()=>{let n=Rw(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(vc)?c[vc]:Object.defineProperty(c,vc,{value:[]})[vc];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var gs=globalThis;function Se(t){for(let e in t)if(t[e]===Se)return e;throw Error("Could not find renamed property on target object.")}function kw(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ot(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ot).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function ud(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Fw=Se({__forward_ref__:Se});function il(t){return t.__forward_ref__=il,t.toString=function(){return Ot(this())},t}function ft(t){return lv(t)?t():t}function lv(t){return typeof t=="function"&&t.hasOwnProperty(Fw)&&t.__forward_ref__===il}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function $t(t){return{providers:t.providers||[],imports:t.imports||[]}}function rl(t){return cg(t,dv)||cg(t,fv)}function uv(t){return rl(t)!==null}function cg(t,e){return t.hasOwnProperty(e)?t[e]:null}function Pw(t){let e=t&&(t[dv]||t[fv]);return e||null}function lg(t){return t&&(t.hasOwnProperty(ug)||t.hasOwnProperty(Lw))?t[ug]:null}var dv=Se({\u0275prov:Se}),ug=Se({\u0275inj:Se}),fv=Se({ngInjectableDef:Se}),Lw=Se({ngInjectorDef:Se}),z=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hv(t){return t&&!!t.\u0275providers}var jw=Se({\u0275cmp:Se}),Bw=Se({\u0275dir:Se}),Vw=Se({\u0275pipe:Se}),$w=Se({\u0275mod:Se}),Nc=Se({\u0275fac:Se}),ms=Se({__NG_ELEMENT_ID__:Se}),dg=Se({__NG_ENV_ID__:Se});function Qt(t){return typeof t=="string"?t:t==null?"":String(t)}function Hw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Qt(t)}function Uw(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new L(-200,t)}function Cf(t,e){throw new L(-201,!1)}var le=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(le||{}),dd;function pv(){return dd}function Bt(t){let e=dd;return dd=t,e}function mv(t,e,r){let n=rl(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&le.Optional)return null;if(e!==void 0)return e;Cf(t,"Injector")}var zw={},vs=zw,fd="__NG_DI_FLAG__",Oc="ngTempTokenPath",Ww="ngTokenPath",Gw=/\n/gm,qw="\u0275",fg="__source",no;function Qw(){return no}function Mi(t){let e=no;return no=t,e}function Zw(t,e=le.Default){if(no===void 0)throw new L(-203,!1);return no===null?mv(t,void 0,e):no.get(t,e&le.Optional?null:void 0,e)}function E(t,e=le.Default){return(pv()||Zw)(ft(t),e)}function m(t,e=le.Default){return E(t,ol(e))}function ol(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function hd(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ot(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Gw,` + `)}`}var sl=gv(cv("Optional"),8);var Df=gv(cv("SkipSelf"),4);function ar(t,e){let r=t.hasOwnProperty(Nc);return r?t[Nc]:null}function Jw(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?wf(r,e):e(r))}function vv(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Rc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function tI(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Ms(t,e,r){let n=Ts(t,e);return n>=0?t[n|1]=r:(n=~n,nI(t,n,e,r)),n}function Ku(t,e){let r=Ts(t,e);if(r>=0)return t[r|1]}function Ts(t,e){return iI(t,e,1)}function iI(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),n&2&&l!==d){if(gn(n))return!1;s=!0}}}}return gn(n)||s}function gn(t){return(t&1)===0}function lI(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!gn(s)&&(e+=pg(o,i),i=""),n=s,o=o||!gn(n);r++}return i!==""&&(e+=pg(o,i)),e}function mI(t){return t.map(pI).join(",")}function gI(t){let e=[],r=[],n=1,i=2;for(;n{let e=Sv(t),r=he(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Cv.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||nn.Emulated,styles:t.styles||At,_:null,schemas:t.schemas||null,tView:null,id:""});xv(r);let n=t.dependencies;return r.directiveDefs=gg(n,!1),r.pipeDefs=gg(n,!0),r.id=bI(r),r})}function vI(t){return ii(t)||al(t)}function yI(t){return t!==null}function Ht(t){return xs(()=>({type:t.type,bootstrap:t.bootstrap||At,declarations:t.declarations||At,imports:t.imports||At,exports:t.exports||At,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mg(t,e){if(t==null)return ni;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=Ni.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Ni.None?[n,a]:n,e[o]=s):r[o]=n}return r}function N(t){return xs(()=>{let e=Sv(t);return xv(e),e})}function ai(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ii(t){return t[jw]||null}function al(t){return t[Bw]||null}function Ef(t){return t[Vw]||null}function Ev(t){let e=ii(t)||al(t)||Ef(t);return e!==null?e.standalone:!1}function _v(t,e){let r=t[$w]||null;if(!r&&e===!0)throw new Error(`Type ${Ot(t)} does not have '\u0275mod' property.`);return r}function Sv(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||ni,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||At,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mg(t.inputs,e),outputs:mg(t.outputs),debugInfo:null}}function xv(t){t.features?.forEach(e=>e(t))}function gg(t,e){if(!t)return null;let r=e?Ef:vI;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(yI)}function bI(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function _f(t){return{\u0275providers:t}}function CI(...t){return{\u0275providers:Sf(!0,t),\u0275fromNgModule:!0}}function Sf(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return wf(e,s=>{let a=s;md(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Mv(i,o),r}function Mv(t,e){for(let r=0;r{e(o,n)})}}function md(t,e,r,n){if(t=ft(t),!t)return!1;let i=null,o=lg(t),s=!o&&ii(t);if(!o&&!s){let c=t.ngModule;if(o=lg(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)md(l,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{wf(o.imports,u=>{md(u,e,r,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Mv(l,e)}if(!a){let l=ar(i)||(()=>new i);e({provide:i,useFactory:l,deps:At},i),e({provide:bv,useValue:i,multi:!0},i),e({provide:oo,useValue:()=>E(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;xf(c,u=>{e(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function xf(t,e){for(let r of t)hv(r)&&(r=r.\u0275providers),Array.isArray(r)?xf(r,e):e(r)}var DI=Se({provide:String,useValue:Se});function Tv(t){return t!==null&&typeof t=="object"&&DI in t}function wI(t){return!!(t&&t.useExisting)}function II(t){return!!(t&&t.useFactory)}function so(t){return typeof t=="function"}function EI(t){return!!t.useClass}var cl=new z(""),Ec={},_I={},Yu;function Mf(){return Yu===void 0&&(Yu=new kc),Yu}var Vt=class{},bs=class extends Vt{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,vd(e,s=>this.processProvider(s)),this.records.set(yv,Jr(void 0,this)),i.has("environment")&&this.records.set(Vt,Jr(void 0,this));let o=this.records.get(cl);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bv,At,le.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=ce(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ce(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Mi(this),n=Bt(void 0),i;try{return e()}finally{Mi(r),Bt(n)}}get(e,r=vs,n=le.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(dg))return e[dg](this);n=ol(n);let i,o=Mi(this),s=Bt(void 0);try{if(!(n&le.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=AI(e)&&rl(e);l&&this.injectableDefInScope(l)?c=Jr(gd(e),Ec):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&le.Self?Mf():this.parent;return r=n&le.Optional&&r===vs?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Oc]=a[Oc]||[]).unshift(Ot(e)),o)throw a;return Yw(a,e,"R3InjectorError",this.source)}else throw a}finally{Bt(s),Mi(o)}}resolveInjectorInitializers(){let e=ce(null),r=Mi(this),n=Bt(void 0),i;try{let o=this.get(oo,At,le.Self);for(let s of o)s()}finally{Mi(r),Bt(n),ce(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Ot(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new L(205,!1)}processProvider(e){e=ft(e);let r=so(e)?e:ft(e&&e.provide),n=xI(e);if(!so(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Jr(void 0,Ec,!0),i.factory=()=>hd(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=ce(null);try{return r.value===Ec&&(r.value=_I,r.value=r.factory()),typeof r.value=="object"&&r.value&&TI(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{ce(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ft(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function gd(t){let e=rl(t),r=e!==null?e.factory:ar(t);if(r!==null)return r;if(t instanceof z)throw new L(204,!1);if(t instanceof Function)return SI(t);throw new L(204,!1)}function SI(t){if(t.length>0)throw new L(204,!1);let r=Pw(t);return r!==null?()=>r.factory(t):()=>new t}function xI(t){if(Tv(t))return Jr(void 0,t.useValue);{let e=Av(t);return Jr(e,Ec)}}function Av(t,e,r){let n;if(so(t)){let i=ft(t);return ar(i)||gd(i)}else if(Tv(t))n=()=>ft(t.useValue);else if(II(t))n=()=>t.useFactory(...hd(t.deps||[]));else if(wI(t))n=()=>E(ft(t.useExisting));else{let i=ft(t&&(t.useClass||t.provide));if(MI(t))n=()=>new i(...hd(t.deps));else return ar(i)||gd(i)}return n}function Jr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function MI(t){return!!t.deps}function TI(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function AI(t){return typeof t=="function"||typeof t=="object"&&t instanceof z}function vd(t,e){for(let r of t)Array.isArray(r)?vd(r,e):r&&hv(r)?vd(r.\u0275providers,e):e(r)}function Cn(t,e){t instanceof bs&&t.assertNotDestroyed();let r,n=Mi(t),i=Bt(void 0);try{return e()}finally{Mi(n),Bt(i)}}function Nv(){return pv()!==void 0||Qw()!=null}function go(t){if(!Nv())throw new L(-203,!1)}function NI(t){return typeof t=="function"}var zn=0,U=1,K=2,pt=3,vn=4,Ut=5,ao=6,Fc=7,Dt=8,Rt=9,Vn=10,ke=11,Cs=12,vg=13,vo=14,Zt=15,cr=16,eo=17,ri=18,ll=19,Ov=20,Ti=21,_c=22,tn=23,ze=25,Tf=1;var lr=7,Pc=8,co=9,wt=10,Lc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Lc||{});function Ai(t){return Array.isArray(t)&&typeof t[Tf]=="object"}function ci(t){return Array.isArray(t)&&t[Tf]===!0}function Af(t){return(t.flags&4)!==0}function ul(t){return t.componentOffset>-1}function dl(t){return(t.flags&1)===1}function oi(t){return!!t.template}function yd(t){return(t[K]&512)!==0}function OI(t){return(t[K]&256)===256}var bd=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Rv(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Qe(){return kv}function kv(t){return t.type.prototype.ngOnChanges&&(t.setInput=kI),RI}Qe.ngInherit=!0;function RI(){let t=Pv(this),e=t?.current;if(e){let r=t.previous;if(r===ni)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function kI(t,e,r,n,i){let o=this.declaredInputs[n],s=Pv(t)||FI(t,{previous:ni,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new bd(l&&l.currentValue,r,c===ni),Rv(t,e,i,r)}var Fv="__ngSimpleChanges__";function Pv(t){return t[Fv]||null}function FI(t,e){return t[Fv]=e}var yg=null;var jn=function(t,e,r){yg?.(t,e,r)},Lv="svg",PI="math";function $n(t){for(;Array.isArray(t);)t=t[zn];return t}function LI(t){for(;Array.isArray(t);){if(typeof t[Tf]=="object")return t;t=t[zn]}return null}function jv(t,e){return $n(e[t])}function rn(t,e){return $n(e[t.index])}function As(t,e){return t.data[e]}function Nf(t,e){return t[e]}function Fi(t,e){let r=e[t];return Ai(r)?r:r[zn]}function jI(t){return(t[K]&4)===4}function Of(t){return(t[K]&128)===128}function BI(t){return ci(t[pt])}function Oi(t,e){return e==null?null:t[e]}function Bv(t){t[eo]=0}function Vv(t){t[K]&1024||(t[K]|=1024,Of(t)&&fl(t))}function VI(t,e){for(;t>0;)e=e[vo],t--;return e}function Ds(t){return!!(t[K]&9216||t[tn]?.dirty)}function Cd(t){t[Vn].changeDetectionScheduler?.notify(7),t[K]&64&&(t[K]|=1024),Ds(t)&&fl(t)}function fl(t){t[Vn].changeDetectionScheduler?.notify(0);let e=ur(t);for(;e!==null&&!(e[K]&8192||(e[K]|=8192,!Of(e)));)e=ur(e)}function Rf(t,e){if((t[K]&256)===256)throw new L(911,!1);t[Ti]===null&&(t[Ti]=[]),t[Ti].push(e)}function $v(t,e){if(t[Ti]===null)return;let r=t[Ti].indexOf(e);r!==-1&&t[Ti].splice(r,1)}function ur(t){let e=t[pt];return ci(e)?e[pt]:e}var ne={lFrame:Kv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Hv=!1;function $I(){return ne.lFrame.elementDepthCount}function HI(){ne.lFrame.elementDepthCount++}function UI(){ne.lFrame.elementDepthCount--}function Uv(){return ne.bindingsEnabled}function zv(){return ne.skipHydrationRootTNode!==null}function zI(t){return ne.skipHydrationRootTNode===t}function WI(){ne.skipHydrationRootTNode=null}function W(){return ne.lFrame.lView}function xe(){return ne.lFrame.tView}function Wn(t){return ne.lFrame.contextLView=t,t[Dt]}function Gn(t){return ne.lFrame.contextLView=null,t}function Ze(){let t=Wv();for(;t!==null&&t.type===64;)t=t.parent;return t}function Wv(){return ne.lFrame.currentTNode}function GI(){let t=ne.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yr(t,e){let r=ne.lFrame;r.currentTNode=t,r.isParent=e}function kf(){return ne.lFrame.isParent}function Ff(){ne.lFrame.isParent=!1}function qI(){return ne.lFrame.contextLView}function Gv(){return Hv}function bg(t){Hv=t}function hl(){let t=ne.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function qv(){return ne.lFrame.bindingIndex}function QI(t){return ne.lFrame.bindingIndex=t}function Pi(){return ne.lFrame.bindingIndex++}function pl(t){let e=ne.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function ZI(){return ne.lFrame.inI18n}function KI(t,e){let r=ne.lFrame;r.bindingIndex=r.bindingRootIndex=t,Dd(e)}function YI(){return ne.lFrame.currentDirectiveIndex}function Dd(t){ne.lFrame.currentDirectiveIndex=t}function Pf(t){let e=ne.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Lf(){return ne.lFrame.currentQueryIndex}function ml(t){ne.lFrame.currentQueryIndex=t}function XI(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[Ut]:null}function Qv(t,e,r){if(r&le.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&le.Host);)if(i=XI(o),i===null||(o=o[vo],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=ne.lFrame=Zv();return n.currentTNode=e,n.lView=t,!0}function jf(t){let e=Zv(),r=t[U];ne.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Zv(){let t=ne.lFrame,e=t===null?null:t.child;return e===null?Kv(t):e}function Kv(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Yv(){let t=ne.lFrame;return ne.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Xv=Yv;function Bf(){let t=Yv();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function JI(t){return(ne.lFrame.contextLView=VI(t,ne.lFrame.contextLView))[Dt]}function qn(){return ne.lFrame.selectedIndex}function dr(t){ne.lFrame.selectedIndex=t}function yo(){let t=ne.lFrame;return As(t.tView,t.selectedIndex)}function Ns(){ne.lFrame.currentNamespace=Lv}function CH(){eE()}function eE(){ne.lFrame.currentNamespace=null}function tE(){return ne.lFrame.currentNamespace}var Jv=!0;function gl(){return Jv}function vl(t){Jv=t}function nE(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=kv(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function yl(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[eo]+=65536),(a>14>16&&(t[K]&3)===e&&(t[K]+=16384,Cg(a,o)):Cg(a,o)}var io=-1,fr=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function rE(t){return t instanceof fr}function oE(t){return(t.flags&8)!==0}function sE(t){return(t.flags&16)!==0}var Ju={},ro=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=ol(n);let i=this.injector.get(e,Ju,n);return i!==Ju||r===Ju?i:this.parentInjector.get(e,r,n)}};function ty(t){return t!==io}function jc(t){return t&32767}function aE(t){return t>>16}function Bc(t,e){let r=aE(t),n=e;for(;r>0;)n=n[vo],r--;return n}var wd=!0;function Vc(t){let e=wd;return wd=t,e}var cE=256,ny=cE-1,iy=5,lE=0,Bn={};function uE(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ms)&&(n=r[ms]),n==null&&(n=r[ms]=lE++);let i=n&ny,o=1<>iy)]|=o}function $c(t,e){let r=ry(t,e);if(r!==-1)return r;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,ed(n.data,t),ed(e,null),ed(n.blueprint,null));let i=Vf(t,e),o=t.injectorIndex;if(ty(i)){let s=jc(i),a=Bc(i,e),c=a[U].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function ed(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ry(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Vf(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=ly(i),n===null)return io;if(r++,i=i[vo],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return io}function Id(t,e,r){uE(t,e,r)}function dE(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+u,h=i?a+u:l;for(let f=d;f=c&&g.type===r)return f}if(i){let f=s[c];if(f&&oi(f)&&f.type===r)return c}return null}function hr(t,e,r,n){let i=t[r],o=e.data;if(rE(i)){let s=i;s.resolving&&Uw(Hw(o[r]));let a=Vc(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Bt(s.injectImpl):null,u=Qv(t,n,le.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&nE(r,o[r],e)}finally{l!==null&&Bt(l),Vc(a),s.resolving=!1,Xv()}}return i}function hE(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ms)?t[ms]:void 0;return typeof e=="number"?e>=0?e&ny:pE:e}function Dg(t,e,r){let n=1<>iy)]&n)}function wg(t,e){return!(t&le.Self)&&!(t&le.Host&&e)}var sr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return ay(this._tNode,this._lView,e,ol(n),r)}};function pE(){return new sr(Ze(),W())}function Li(t){return xs(()=>{let e=t.prototype.constructor,r=e[Nc]||Ed(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Nc]||Ed(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ed(t){return lv(t)?()=>{let e=Ed(ft(t));return e&&e()}:ar(t)}function mE(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[K]&2048&&!(s[K]&512);){let a=cy(o,s,r,n|le.Self,Bn);if(a!==Bn)return a;let c=o.parent;if(!c){let l=s[Ov];if(l){let u=l.get(r,Bn,n);if(u!==Bn)return u}c=ly(s),s=s[vo]}o=c}return i}function ly(t){let e=t[U],r=e.type;return r===2?e.declTNode:r===1?t[Ut]:null}function $f(t){return dE(Ze(),t)}function Ig(t,e=null,r=null,n){let i=uy(t,e,r,n);return i.resolveInjectorInitializers(),i}function uy(t,e=null,r=null,n,i=new Set){let o=[r||At,CI(t)];return n=n||(typeof t=="object"?void 0:Ot(t)),new bs(o,e||Mf(),n||null,i)}var rr=class rr{static create(e,r){if(Array.isArray(e))return Ig({name:""},r,e,"");{let n=e.name??"";return Ig({name:n},e.parent,e.providers,n)}}};rr.THROW_IF_NOT_FOUND=vs,rr.NULL=new kc,rr.\u0275prov=C({token:rr,providedIn:"any",factory:()=>E(yv)}),rr.__NG_ELEMENT_ID__=-1;var mt=rr;var gE=new z("");gE.__NG_ELEMENT_ID__=t=>{let e=Ze();if(e===null)throw new L(204,!1);if(e.type&2)return e.value;if(t&le.Optional)return null;throw new L(204,!1)};var vE="ngOriginalError";function td(t){return t[vE]}var dy=!0,Ke=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=yE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),_d=class extends Ke{constructor(e){super(),this._lView=e}onDestroy(e){return Rf(this._lView,e),()=>$v(this._lView,e)}};function yE(){return new _d(W())}var ji=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new we(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),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)}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Sd=class extends ge{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Nv()&&(this.destroyRef=m(Ke,{optional:!0})??void 0,this.pendingTasks=m(ji,{optional:!0})??void 0)}emit(e){let r=ce(null);try{super.next(e)}finally{ce(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof Ae&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Ie=Sd;function Hc(...t){}function fy(t){let e,r;function n(){t=Hc;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Eg(t){return queueMicrotask(()=>t()),()=>{t=Hc}}var Hf="isAngularZone",Uc=Hf+"_ID",bE=0,me=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=dy}=e;if(typeof Zone>"u")throw new L(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)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,wE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Hf)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new L(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,CE,Hc,Hc);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},CE={};function Uf(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function DE(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){fy(()=>{t.callbackScheduled=!1,xd(t),t.isCheckStableRunning=!0,Uf(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),xd(t)}function wE(t){let e=()=>{DE(t)},r=bE++;t._inner=t._inner.fork({name:"angular",properties:{[Hf]:!0,[Uc]:r,[Uc+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(IE(c))return n.invokeTask(o,s,a,c);try{return _g(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Sg(t)}},onInvoke:(n,i,o,s,a,c,l)=>{try{return _g(t),n.invoke(o,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!EE(c)&&e(),Sg(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,xd(t),Uf(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function xd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function _g(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Sg(t){t._nesting--,Uf(t)}var Md=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function IE(t){return hy(t,"__ignore_ng_zone__")}function EE(t){return hy(t,"__scheduler_tick__")}function hy(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var yn=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&td(e);for(;r&&td(r);)r=td(r);return r||null}},_E=new z("",{providedIn:"root",factory:()=>{let t=m(me),e=m(yn);return r=>t.runOutsideAngular(()=>e.handleError(r))}}),zc=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=m(yn,{optional:!0}),this.destroyRef=m(Ke),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new L(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let r=this.listeners?.indexOf(e);r!==void 0&&r!==-1&&this.listeners?.splice(r,1)}}}emit(e){if(this.destroyed)throw new L(953,!1);if(this.listeners===null)return;let r=ce(null);try{for(let n of this.listeners)try{n(e)}catch(i){this.errorHandler?.handleError(i)}}finally{ce(r)}}};function py(t){return new zc}function xg(t,e){return av(t,e)}function SE(t){return av(nl,t)}var q=(xg.required=SE,xg);function xE(){return bo(Ze(),W())}function bo(t,e){return new H(rn(t,e))}var H=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=xE;let t=e;return t})();function my(t){return t instanceof H?t.nativeElement:t}function ME(){return this._results[Symbol.iterator]()}var lo=class t{get changes(){return this._changes??=new Ie}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=ME)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=eI(e);(this._changesDetected=!Jw(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function gy(t){return(t.flags&128)===128}var vy=new Map,TE=0;function AE(){return TE++}function NE(t){vy.set(t[ll],t)}function OE(t){vy.delete(t[ll])}var Mg="__ngContext__";function Ri(t,e){Ai(e)?(t[Mg]=e[ll],NE(e)):t[Mg]=e}function yy(t){return Cy(t[Cs])}function by(t){return Cy(t[vn])}function Cy(t){for(;t!==null&&!ci(t);)t=t[vn];return t}var Td;function Dy(t){Td=t}function wy(){if(Td!==void 0)return Td;if(typeof document<"u")return document;throw new L(210,!1)}var bl=new z("",{providedIn:"root",factory:()=>RE}),RE="ng",zf=new z(""),zt=new z("",{providedIn:"platform",factory:()=>"unknown"});var Iy=new z(""),Os=new z("",{providedIn:"root",factory:()=>wy().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Wf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ey=new z("",{providedIn:"root",factory:()=>Wf});var kE="h",FE="b";var PE=()=>null;function Gf(t,e,r=!1){return PE(t,e,r)}var _y=!1,LE=new z("",{providedIn:"root",factory:()=>_y});var yc;function jE(){if(yc===void 0&&(yc=null,gs.trustedTypes))try{yc=gs.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return yc}function Cl(t){return jE()?.createHTML(t)||t}var bc;function Sy(){if(bc===void 0&&(bc=null,gs.trustedTypes))try{bc=gs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bc}function Tg(t){return Sy()?.createHTML(t)||t}function Ag(t){return Sy()?.createScriptURL(t)||t}var si=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ov})`}},Ad=class extends si{getTypeName(){return"HTML"}},Nd=class extends si{getTypeName(){return"Style"}},Od=class extends si{getTypeName(){return"Script"}},Rd=class extends si{getTypeName(){return"URL"}},kd=class extends si{getTypeName(){return"ResourceURL"}};function Wt(t){return t instanceof si?t.changingThisBreaksApplicationSecurity:t}function li(t,e){let r=BE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${ov})`)}return r===e}function BE(t){return t instanceof si&&t.getTypeName()||null}function xy(t){return new Ad(t)}function My(t){return new Nd(t)}function Ty(t){return new Od(t)}function Ay(t){return new Rd(t)}function Ny(t){return new kd(t)}function VE(t){let e=new Pd(t);return $E()?new Fd(e):e}var Fd=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Cl(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.firstChild?.remove(),r)}catch{return null}}},Pd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Cl(e),r}};function $E(){try{return!!new window.DOMParser().parseFromString(Cl(""),"text/html")}catch{return!1}}var HE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Dl(t){return t=String(t),t.match(HE)?t:"unsafe:"+t}function ui(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Rs(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var Oy=ui("area,br,col,hr,img,wbr"),Ry=ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ky=ui("rp,rt"),UE=Rs(ky,Ry),zE=Rs(Ry,ui("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")),WE=Rs(ky,ui("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")),Ng=Rs(Oy,zE,WE,UE),Fy=ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),GE=ui("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"),qE=ui("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"),QE=Rs(Fy,GE,qE),ZE=ui("script,style,template"),Ld=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=XE(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=YE(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=Og(e).toLowerCase();if(!Ng.hasOwnProperty(r))return this.sanitizedSomething=!0,!ZE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=Og(e).toLowerCase();Ng.hasOwnProperty(r)&&!Oy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Rg(e))}};function KE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function YE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Py(e);return e}function XE(t){let e=t.firstChild;if(e&&KE(t,e))throw Py(e);return e}function Og(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Py(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var JE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,e_=/([^\#-~ |!])/g;function Rg(t){return t.replace(/&/g,"&").replace(JE,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(e_,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Cc;function qf(t,e){let r=null;try{Cc=Cc||VE(t);let n=e?String(e):"";r=Cc.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Cc.getInertBodyElement(n)}while(n!==o);let a=new Ld().sanitizeChildren(kg(r)||r);return Cl(a)}finally{if(r){let n=kg(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function kg(t){return"content"in t&&t_(t)?t.content:null}function t_(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Dn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Dn||{});function Ly(t){let e=Qf();return e?Tg(e.sanitize(Dn.HTML,t)||""):li(t,"HTML")?Tg(Wt(t)):qf(wy(),Qt(t))}function wl(t){let e=Qf();return e?e.sanitize(Dn.URL,t)||"":li(t,"URL")?Wt(t):Dl(Qt(t))}function n_(t){let e=Qf();if(e)return Ag(e.sanitize(Dn.RESOURCE_URL,t)||"");if(li(t,"ResourceURL"))return Ag(Wt(t));throw new L(904,!1)}function i_(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?n_:wl}function jy(t,e,r){return i_(e,r)(t)}function Qf(){let t=W();return t&&t[Vn].sanitizer}var r_=/^>|^->||--!>|)/g,s_="\u200B$1\u200B";function a_(t){return t.replace(r_,e=>e.replace(o_,s_))}function By(t){return t.ownerDocument}function Vy(t){return t instanceof Function?t():t}function Co(t){return(t??m(mt)).get(zt)==="browser"}var Hn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Hn||{}),c_;function Zf(t,e){return c_(t,e)}function to(t,e,r,n,i){if(n!=null){let o,s=!1;ci(n)?o=n:Ai(n)&&(s=!0,n=n[zn]);let a=$n(n);t===0&&r!==null?i==null?Wy(e,r,a):Wc(e,r,a,i||null,!0):t===1&&r!==null?Wc(e,r,a,i||null,!0):t===2?w_(e,a,s):t===3&&e.destroyNode(a),o!=null&&E_(e,t,o,r,i)}}function l_(t,e){return t.createText(e)}function u_(t,e,r){t.setValue(e,r)}function d_(t,e){return t.createComment(a_(e))}function $y(t,e,r){return t.createElement(e,r)}function f_(t,e){Hy(t,e),e[zn]=null,e[Ut]=null}function h_(t,e,r,n,i,o){n[zn]=i,n[Ut]=e,_l(t,n,r,1,i,o)}function Hy(t,e){e[Vn].changeDetectionScheduler?.notify(8),_l(t,e,e[ke],2,null,null)}function p_(t){let e=t[Cs];if(!e)return nd(t[U],t);for(;e;){let r=null;if(Ai(e))r=e[Cs];else{let n=e[wt];n&&(r=n)}if(!r){for(;e&&!e[vn]&&e!==t;)Ai(e)&&nd(e[U],e),e=e[pt];e===null&&(e=t),Ai(e)&&nd(e[U],e),r=e&&e[vn]}e=r}}function m_(t,e,r,n){let i=wt+n,o=r.length;n>0&&(r[i-1][vn]=e),n0&&(t[r-1][vn]=n[vn]);let o=Rc(t,wt+e);f_(n[U],n);let s=o[ri];s!==null&&s.detachView(o[U]),n[pt]=null,n[vn]=null,n[K]&=-129}return n}function Il(t,e){if(!(e[K]&256)){let r=e[ke];r.destroyNode&&_l(t,e,r,3,null,null),p_(e)}}function nd(t,e){if(e[K]&256)return;let r=ce(null);try{e[K]&=-129,e[K]|=256,e[tn]&&uc(e[tn]),v_(t,e),g_(t,e),e[U].type===1&&e[ke].destroy();let n=e[cr];if(n!==null&&ci(e[pt])){n!==e[pt]&&Kf(n,e);let i=e[ri];i!==null&&i.detachView(t)}OE(e)}finally{ce(r)}}function g_(t,e){let r=t.cleanup,n=e[Fc];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Fc]=null);let i=e[Ti];if(i!==null){e[Ti]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===nn.None||o===nn.Emulated)return null}return rn(n,r)}}function Wc(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Wy(t,e,r){t.appendChild(e,r)}function Fg(t,e,r,n,i){n!==null?Wc(t,e,r,n,i):Wy(t,e,r)}function Gy(t,e){return t.parentNode(e)}function b_(t,e){return t.nextSibling(e)}function qy(t,e,r){return D_(t,e,r)}function C_(t,e,r){return t.type&40?rn(t,r):null}var D_=C_,Pg;function El(t,e,r,n){let i=zy(t,n,e),o=e[ke],s=n.parent||e[Ut],a=qy(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cze&&Xy(t,e,ze,!1),jn(s?2:0,i),r(n,i)}finally{dr(o),jn(s?3:1,i)}}function Xf(t,e,r){if(Af(e)){let n=ce(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function R_(t,e,r,n){let i=c0(e);i.push(r),t.firstCreatePass&&l0(t).push(n,i.length-1)}function k_(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return zv()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Lg(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=Ni.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?jg(n,r,l,a,c):jg(n,r,l,a)}return n}function jg(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function F_(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function V_(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;ul(r)&&q_(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||$c(r,e),Ri(n,e);let s=r.initialInputs;for(let a=i;a{fl(t.lView)},consumerOnSignalRead(){this.lView[tn]=this}});function sS(t){let e=t[tn]??Object.create(aS);return e.lView=t,e}var aS=he(b({},Yr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=ur(t.lView);for(;e&&!h0(e[U]);)e=ur(e);e&&Vv(e)},consumerOnSignalRead(){this.lView[tn]=this}});function h0(t){return t.type!==2}var cS=100;function p0(t,e=!0,r=0){let n=t[Vn],i=n.rendererFactory,o=!1;o||i.begin?.();try{lS(t,r)}catch(s){throw e&&Ml(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function lS(t,e){let r=Gv();try{bg(!0),$d(t,e);let n=0;for(;Ds(t);){if(n===cS)throw new L(103,!1);n++,$d(t,1)}}finally{bg(r)}}function uS(t,e,r,n){let i=e[K];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Vn].inlineEffectRunner?.flush(),jf(e);let a=!0,c=null,l=null;o||(h0(t)?(l=nS(e),c=fs(l)):qm()===null?(a=!1,l=sS(e),c=fs(l)):e[tn]&&(uc(e[tn]),e[tn]=null));try{Bv(e),QI(t.bindingStartIndex),r!==null&&n0(t,e,r,2,n);let u=(i&3)===3;if(!o)if(u){let f=t.preOrderCheckHooks;f!==null&&Sc(e,f,null)}else{let f=t.preOrderHooks;f!==null&&xc(e,f,0,null),Xu(e,0)}if(s||dS(e),m0(e,0),t.contentQueries!==null&&a0(t,e),!o)if(u){let f=t.contentCheckHooks;f!==null&&Sc(e,f)}else{let f=t.contentHooks;f!==null&&xc(e,f,1),Xu(e,1)}x_(t,e);let d=t.components;d!==null&&v0(e,d,0);let h=t.viewQuery;if(h!==null&&Vd(2,h,n),!o)if(u){let f=t.viewCheckHooks;f!==null&&Sc(e,f)}else{let f=t.viewHooks;f!==null&&xc(e,f,2),Xu(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[_c]){for(let f of e[_c])f();e[_c]=null}o||(e[K]&=-73)}catch(u){throw o||fl(e),u}finally{l!==null&&(cc(l,c),a&&rS(l)),Bf()}}function m0(t,e){for(let r=yy(t);r!==null;r=by(r))for(let n=wt;n-1&&(ws(e,n),Rc(r,n))}this._attachedToViewContainer=!1}Il(this._lView[U],this._lView)}onDestroy(e){Rf(this._lView,e)}markForCheck(){Tl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[K]&=-129}reattach(){Cd(this._lView),this._lView[K]|=128}detectChanges(){this._lView[K]|=1024,p0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=yd(this._lView),r=this._lView[cr];r!==null&&!e&&Kf(r,this._lView),Hy(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=e;let r=yd(this._lView),n=this._lView[cr];n!==null&&!r&&Uy(n,this._lView),Cd(this._lView)}},Un=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mS;let t=e;return t})(),hS=Un,pS=class extends hS{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=wo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new mr(i)}};function mS(){return Al(Ze(),W())}function Al(t,e){return t.type&4?new pS(e,t,bo(t,e)):null}var wH=new RegExp(`^(\\d+)*(${FE}|${kE})*(.*)`);var gS=()=>null;function gr(t,e){return gS(t,e)}var uo=class{},y0=new z("",{providedIn:"root",factory:()=>!1});var b0=new z(""),C0=new z(""),Hd=class{},qc=class{};function vS(t){let e=Error(`No component factory found for ${Ot(t)}.`);return e[yS]=t,e}var yS="ngComponent";var Ud=class{resolveComponentFactory(e){throw vS(e)}},bh=class bh{};bh.NULL=new Ud;var fo=bh,bn=class{},fe=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>bS();let t=e;return t})();function bS(){let t=W(),e=Ze(),r=Fi(e.index,t);return(Ai(r)?r:t)[ke]}var CS=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Bg=new Set;function wn(t){Bg.has(t)||(Bg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Nt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Nt||{}),D0={destroy(){}};function DS(t,e){!e&&go(DS);let r=e?.injector??m(mt);return Co(r)?(wn("NgAfterRender"),w0(t,r,!1,e?.phase??Nt.MixedReadWrite)):D0}function di(t,e){!e&&go(di);let r=e?.injector??m(mt);return Co(r)?(wn("NgAfterNextRender"),w0(t,r,!0,e?.phase??Nt.MixedReadWrite)):D0}function wS(t,e){if(t instanceof Function)switch(e){case Nt.EarlyRead:return{earlyRead:t};case Nt.Write:return{write:t};case Nt.MixedReadWrite:return{mixedReadWrite:t};case Nt.Read:return{read:t}}return t}function w0(t,e,r,n){let i=wS(t,n),o=e.get(ah),s=o.handler??=new Wd,a=[],c=[],l=()=>{for(let f of c)s.unregister(f);u()},u=e.get(Ke).onDestroy(l),d=0,h=(f,g)=>{if(!g)return;let y=r?(...O)=>(d--,d<1&&l(),g(...O)):g,w=Cn(e,()=>new zd(f,a,y));s.register(w),c.push(w),d++};return h(Nt.EarlyRead,i.earlyRead),h(Nt.Write,i.write),h(Nt.MixedReadWrite,i.mixedReadWrite),h(Nt.Read,i.read),{destroy:l}}var zd=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=m(me),this.errorHandler=m(yn,{optional:!0}),m(uo,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},Wd=class{constructor(){this.executingCallbacks=!1,this.buckets={[Nt.EarlyRead]:new Set,[Nt.Write]:new Set,[Nt.MixedReadWrite]:new Set,[Nt.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ah=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Qc(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&Ky(t,r,o.join(" "))}}function TS(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=NS;let t=e;return t})();function NS(){let t=Ze();return E0(t,W())}var OS=Et,I0=class extends OS{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return bo(this._hostTNode,this._hostLView)}get injector(){return new sr(this._hostTNode,this._hostLView)}get parentInjector(){let e=Vf(this._hostTNode,this._hostLView);if(ty(e)){let r=Bc(e,this._hostLView),n=jc(e),i=r[U].data[n+8];return new sr(i,r)}else return new sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=$g(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-wt}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=gr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,pr(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!NI(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new ho(ii(e)),l=n||this.parentInjector;if(!o&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Vt,null);y&&(o=y)}let u=ii(c.componentType??{}),d=gr(this._lContainer,u?.id??null),h=d?.firstChild??null,f=c.create(l,i,h,o);return this.insertImpl(f.hostView,a,pr(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(BI(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[pt],l=new I0(c,c[Ut],c[pt]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Io(s,i,o,n),e.attachToViewContainerRef(),vv(id(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=$g(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ws(this._lContainer,r);n&&(Rc(id(this._lContainer),r),Il(n[U],n))}detach(e){let r=this._adjustIndex(e,-1),n=ws(this._lContainer,r);return n&&Rc(id(this._lContainer),r)!=null?new mr(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function $g(t){return t[Pc]}function id(t){return t[Pc]||(t[Pc]=[])}function E0(t,e){let r,n=e[t.index];return ci(n)?r=n:(r=s0(n,e,null,t),e[t.index]=r,xl(e,r)),kS(r,e,t,n),new I0(r,t,e)}function RS(t,e){let r=t[ke],n=r.createComment(""),i=rn(e,t),o=Gy(r,i);return Wc(r,o,n,b_(r,i),!1),n}var kS=PS,FS=()=>!1;function _0(t,e,r){return FS(t,e,r)}function PS(t,e,r,n){if(t[lr])return;let i;r.type&8?i=$n(n):i=RS(e,r),t[lr]=i}var qd=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Qd=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=wt;de.trim())}function T0(t,e,r){t.queries===null&&(t.queries=new Zd),t.queries.track(new Kd(e,r))}function US(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function lh(t,e){return t.queries.getByIndex(e)}function A0(t,e){let r=t[U],n=lh(r,e);return n.crossesNgTemplate?Yd(r,t,e,[]):S0(r,t,n,e)}function Nl(t){return typeof t=="function"&&t[jt]!==void 0}function We(t,e){wn("NgSignals");let r=rg(t),n=r[jt];return e?.equal&&(n.equal=e.equal),r.set=i=>hs(n,i),r.update=i=>og(n,i),r.asReadonly=N0.bind(r),r}function N0(){let t=this[jt];if(t.readonlyFn===void 0){let e=()=>this();e[jt]=t,t.readonlyFn=e}return t.readonlyFn}function O0(t){return Nl(t)&&typeof t.set=="function"}function zS(t,e){let r,n=qu(()=>{r._dirtyCounter();let i=qS(r,t);if(e&&i===void 0)throw new L(-951,!1);return i});return r=n[jt],r._dirtyCounter=We(0),r._flatValue=void 0,n}function WS(){return zS(!1,!1)}function GS(t,e){let r=t[jt];r._lView=W(),r._queryIndex=e,r._queryList=ch(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function qS(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[K]&4)return e?void 0:At;let i=ch(r,n),o=A0(r,n);return i.reset(o,my),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function R0(t,e){return WS()}function k0(t){let e=Object.create(sv),r=new zc;e.value=t;function n(){return ds(e),Hg(e.value),e.value}return n[jt]=e,n.asReadonly=N0.bind(n),n.set=i=>{e.equal(e.value,i)||(hs(e,i),r.emit(i))},n.update=i=>{Hg(e.value),n.set(i(e.value))},n.subscribe=r.subscribe.bind(r),n.destroyRef=r.destroyRef,n}function Hg(t){if(t===nl)throw new L(952,!1)}function Ug(t){return k0(t)}function QS(){return k0(nl)}var uh=(Ug.required=QS,Ug);function ZS(t){return Object.getPrototypeOf(t.prototype).constructor}function fi(t){let e=ZS(t.type),r=!0,n=[t];for(;e;){let i;if(oi(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new L(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Dc(t.inputs),s.inputTransforms=Dc(t.inputTransforms),s.declaredInputs=Dc(t.declaredInputs),s.outputs=Dc(t.outputs);let a=i.hostBindings;a&&ex(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&XS(t,c),l&&JS(t,l),KS(t,i),kw(t.outputs,i.outputs),oi(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=ys(i.hostAttrs,r=ys(r,i.hostAttrs))}}function Dc(t){return t===ni?{}:t===At?[]:t}function XS(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function JS(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function ex(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function on(t){let e=r=>{let n=(Array.isArray(t)?t:t()).map(i=>typeof i=="function"?{directive:ft(i),inputs:ni,outputs:ni}:{directive:ft(i.directive),inputs:zg(i.inputs),outputs:zg(i.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=F0,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return e.ngInherit=!0,e}function F0(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let i=al(n.directive);tx(i.declaredInputs,n.inputs),F0(i,e,r),r.set(i,n),e.push(i)}}function zg(t){if(t===void 0||t.length===0)return ni;let e={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Jd=class extends Is{constructor(e){super(),this.moduleType=e}create(e){return new Xd(this.moduleType,e,[])}};var Yc=class extends ki{constructor(e){super(),this.componentFactoryResolver=new Zc(this),this.instance=null;let r=new bs([...e.providers,{provide:ki,useValue:this},{provide:fo,useValue:this.componentFactoryResolver}],e.parent||Mf(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Fs(t,e,r=null){return new Yc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var nx=(()=>{let e=class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(n,i,o,s){if(!this.cachedInjectors.has(n)){let a=o.length>0?Fs(o,i,s):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e});let t=e;return t})();function P0(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function dh(t,e,r){return t[e]=r}function ix(t,e){return t[e]}function Kt(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Es(t,e,r,n){let i=Kt(t,e,r);return Kt(t,e+1,n)||i}function rx(t,e,r,n,i,o){let s=Es(t,e,r,n);return Es(t,e+2,i,o)||s}function ox(t){return(t.flags&32)===32}function sx(t,e,r,n,i,o,s,a,c){let l=e.consts,u=Do(e,t,4,s||null,a||null);nh(e,r,u,Oi(l,c)),yl(e,u);let d=u.tView=th(2,u,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function _s(t,e,r,n,i,o,s,a,c,l){let u=r+ze,d=e.firstCreatePass?sx(u,e,t,n,i,o,s,a,c):e.data[u];yr(d,!1);let h=ax(e,t,d,r);gl()&&El(e,t,h,d),Ri(h,t);let f=s0(h,t,h,d);return t[u]=f,xl(t,f),_0(f,d,t),dl(d)&&Jf(e,t,d),c!=null&&eh(t,d,l),d}function j(t,e,r,n,i,o,s,a){let c=W(),l=xe(),u=Oi(l.consts,o);return _s(c,l,t,e,r,n,i,u,s,a),j}var ax=cx;function cx(t,e,r,n){return vl(!0),e[ke].createComment("")}var Tt=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Tt||{}),Wg=0,lx=1,ht=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(ht||{}),L0=function(t){return t[t.Initial=-1]="Initial",t}(L0||{}),ux=0,j0=1;var B0=4,V0=5,$0=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}($0||{});function fh(t,e,r){let n=t===1?V0:B0;e[n]===null&&(e[n]=[]),e[n].push(r)}function ef(t,e){let r=t===1?V0:B0,n=e[r];if(n!==null){for(let i of n)i();e[r]=null}}function H0(t){ef(1,t),ef(0,t)}function Ol(t){return t+1}function Ps(t,e){let r=t[U],n=Ol(e.index);return t[n]}function dx(t,e,r){let n=t[U],i=Ol(e);t[i]=r}function Ls(t,e){let r=Ol(e.index);return t.data[r]}function fx(t,e,r){let n=Ol(e);t.data[n]=r}function hx(t,e,r){let n=e[U],i=Ls(n,r);switch(t){case ht.Complete:return i.primaryTmplIndex;case ht.Loading:return i.loadingTmplIndex;case ht.Error:return i.errorTmplIndex;case ht.Placeholder:return i.placeholderTmplIndex;default:return null}}function Gg(t,e){return e===ht.Placeholder?t.placeholderBlockConfig?.[Wg]??null:e===ht.Loading?t.loadingBlockConfig?.[Wg]??null:null}function px(t){return t.loadingBlockConfig?.[lx]??null}function qg(t,e){if(!t||t.length===0)return e;let r=new Set(t);for(let n of e)r.add(n);return t.length===r.size?t:Array.from(r)}function mx(t,e){let r=e.primaryTmplIndex+ze;return As(t,r)}function U0(t,e){let n=e[Rt].get(yx),i=()=>n.remove(t);return n.add(t),i}var gx=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,vx=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,yx=(()=>{let e=class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=m(me),this.requestIdleCallbackFn=gx().bind(globalThis),this.cancelIdleCallbackFn=vx().bind(globalThis)}add(n){(this.executingCallbacks?this.deferred:this.current).add(n),this.idleId===null&&this.scheduleIdleCallback()}remove(n){let{current:i,deferred:o}=this;i.delete(n),o.delete(n),i.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let i of this.current)i();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let i of this.deferred)this.current.add(i);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var bx=new z("");function z0(t){return t.get(bx,null,{optional:!0})?.behavior===$0.Manual?!1:Co(t)}var Cx=null;function W0(t,e,r,n,i,o,s,a,c){let l=W(),u=xe(),d=t+ze,h=_s(l,u,t,null,0,0);if(u.firstCreatePass){wn("NgDefer");let w={primaryTmplIndex:e,loadingTmplIndex:n??null,placeholderTmplIndex:i??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:r??null,loadingState:Tt.NOT_STARTED,loadingPromise:null,providers:null};c?.(u,w,a,s),fx(u,d,w)}let f=l[d];_0(f,h,l);let g=[null,L0.Initial,null,null,null,null];dx(l,d,g);let y=()=>H0(g);fh(0,g,()=>$v(l,y)),Rf(l,y)}function G0(){Dx(U0)}function q0(){wx(U0)}function Dx(t){let e=W(),r=Ze();if(Sx(e,r),Co(e[Rt])){let n=t(()=>xx(e,r),e),i=Ps(e,r);fh(0,i,n)}}function wx(t){let e=W();if(Co(e[Rt])){let r=Ze(),n=e[U],i=Ls(n,r);if(i.loadingState===Tt.NOT_STARTED){let o=Ps(e,r),a=t(()=>_x(i,e,r),e);fh(1,o,a)}}}function or(t,e,r,n=!1){let i=r[pt],o=i[U];if(OI(i))return;let s=Ps(i,e),a=s[j0];if(Qg(a,t)&&Qg(s[ux]??-1,t)){let c=i[Rt],l=Ls(o,e),d=!n&&Co(c)&&(px(l)!==null||Gg(l,ht.Loading)!==null||Gg(l,ht.Placeholder))?Cx:Ex;try{d(t,s,r,e,i)}catch(h){Ml(i,h)}}}function rd(t,e,r){return t.get(nx).getOrCreateInjector(e,t,r,"")}function Ix(t,e,r){if(t instanceof ro){let i=t.injector,o=t.parentInjector,s=rd(o,e,r);return new ro(i,s)}let n=t.get(Vt);if(n!==t){let i=rd(n,e,r);return new ro(t,i)}return rd(t,e,r)}function Ex(t,e,r,n,i){let o=hx(t,i,n);if(o!==null){e[j0]=t;let s=i[U],a=o+ze,c=As(s,a),l=0;sh(r,l);let u;if(t===ht.Complete){let f=Ls(s,n),g=f.providers;g&&g.length>0&&(u=Ix(i[Rt],f,g))}let d=gr(r,c.tView.ssrId),h=wo(i,c,null,{dehydratedView:d,injector:u});Io(r,h,l,pr(c,d)),Tl(h,2)}}function Qg(t,e){return t{let d=!1,h=[],f=[];for(let g of u)if(g.status==="fulfilled"){let y=g.value,w=ii(y)||al(y);if(w)h.push(w);else{let O=Ef(y);O&&f.push(O)}}else{d=!0;break}if(t.loadingPromise=null,c.remove(l),d){if(t.loadingState=Tt.FAILED,t.errorTmplIndex===null){let g="",y=new L(750,!1);Ml(e,y)}}else{t.loadingState=Tt.COMPLETE;let g=s.tView;if(h.length>0){g.directiveRegistry=qg(g.directiveRegistry,h);let y=h.map(O=>O.type),w=Sf(!1,...y);t.providers=w}f.length>0&&(g.pipeRegistry=qg(g.pipeRegistry,f))}}),t.loadingPromise):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Tt.COMPLETE,c.remove(l)}),t.loadingPromise)}function Sx(t,e){let r=t[e.index];or(ht.Placeholder,e,r)}function Zg(t,e,r){t.loadingPromise.then(()=>{t.loadingState===Tt.COMPLETE?or(ht.Complete,e,r):t.loadingState===Tt.FAILED&&or(ht.Error,e,r)})}function xx(t,e){let r=t[U],n=t[e.index],i=t[Rt];if(!z0(i))return;let o=Ps(t,e),s=Ls(r,e);switch(H0(o),s.loadingState){case Tt.NOT_STARTED:or(ht.Loading,e,n),Q0(s,t,e),s.loadingState===Tt.IN_PROGRESS&&Zg(s,e,n);break;case Tt.IN_PROGRESS:or(ht.Loading,e,n),Zg(s,e,n);break;case Tt.COMPLETE:or(ht.Complete,e,n);break;case Tt.FAILED:or(ht.Error,e,n);break;default:}}function X(t,e,r,n){let i=W(),o=Pi();if(Kt(i,o,e)){let s=xe(),a=yo();Q_(a,i,t,e,r,n)}return X}function hh(t,e,r,n){return Kt(t,Pi(),r)?e+Qt(r)+n:It}function Mx(t,e,r,n,i,o){let s=qv(),a=Es(t,s,r,i);return pl(2),a?e+Qt(r)+n+Qt(i)+o:It}function Tx(t,e,r,n,i,o,s,a,c,l,u,d,h,f){let g=qv(),y=rx(t,g,r,i,s,c);return y=Es(t,g+4,u,h)||y,pl(6),y?e+Qt(r)+n+Qt(i)+o+Qt(s)+a+Qt(c)+l+Qt(u)+d+Qt(h)+f:It}function wc(t,e){return t<<17|e<<2}function vr(t){return t>>17&32767}function Ax(t){return(t&2)==2}function Nx(t,e){return t&131071|e<<17}function tf(t){return t|2}function po(t){return(t&131068)>>2}function od(t,e){return t&-131069|e<<2}function Ox(t){return(t&1)===1}function nf(t){return t|1}function Rx(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=vr(s),c=po(s);t[n]=r;let l=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||Ts(d,u)>0)&&(l=!0)}else u=r;if(i)if(c!==0){let h=vr(t[a+1]);t[n+1]=wc(h,a),h!==0&&(t[h+1]=od(t[h+1],n)),t[a+1]=Nx(t[a+1],n)}else t[n+1]=wc(a,0),a!==0&&(t[a+1]=od(t[a+1],n)),a=n;else t[n+1]=wc(c,0),a===0?a=n:t[c+1]=od(t[c+1],n),c=n;l&&(t[n+1]=tf(t[n+1])),Kg(t,u,n,!0),Kg(t,u,n,!1),kx(e,u,t,n,o),s=wc(a,c),o?e.classBindings=s:e.styleBindings=s}function kx(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ts(o,e)>=0&&(r[n+1]=nf(r[n+1]))}function Kg(t,e,r,n){let i=t[r+1],o=e===null,s=n?vr(i):po(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];Fx(c,e)&&(a=!0,t[s+1]=n?nf(l):tf(l)),s=n?vr(l):po(l)}a&&(t[r+1]=n?tf(i):nf(i))}function Fx(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ts(t,e)>=0:!1}var et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Z0(t){return t.substring(et.key,et.keyEnd)}function Px(t){return t.substring(et.value,et.valueEnd)}function Lx(t){return X0(t),K0(t,mo(t,0,et.textEnd))}function K0(t,e){let r=et.textEnd;return r===e?-1:(e=et.keyEnd=Bx(t,et.key=e,r),mo(t,e,r))}function jx(t){return X0(t),Y0(t,mo(t,0,et.textEnd))}function Y0(t,e){let r=et.textEnd,n=et.key=mo(t,e,r);return r===n?-1:(n=et.keyEnd=Vx(t,n,r),n=Yg(t,n,r,58),n=et.value=mo(t,n,r),n=et.valueEnd=$x(t,n,r),Yg(t,n,r,59))}function X0(t){et.key=0,et.keyEnd=0,et.value=0,et.valueEnd=0,et.textEnd=t.length}function mo(t,e,r){for(;e32;)e++;return e}function Vx(t,e,r){let n;for(;e=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function Yg(t,e,r,n){return e=mo(t,e,r),e32&&(a=s),o=i,i=n,n=c&-33}return a}function Xg(t,e,r,n){let i=-1,o=r;for(;o=0;r=Y0(e,r))ib(t,Z0(e),Px(e))}function x(t){ph(Qx,J0,t,!0)}function J0(t,e){for(let r=Lx(e);r>=0;r=K0(e,r))Ms(t,Z0(e),!0)}function eb(t,e,r,n){let i=W(),o=xe(),s=pl(2);if(o.firstUpdatePass&&nb(o,t,s,n),e!==It&&Kt(i,s,e)){let a=o.data[qn()];rb(o,a,i,i[ke],t,i[s+1]=Kx(e,r),n,s)}}function ph(t,e,r,n){let i=xe(),o=pl(2);i.firstUpdatePass&&nb(i,null,o,n);let s=W();if(r!==It&&Kt(s,o,r)){let a=i.data[qn()];if(ob(a,n)&&!tb(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=ud(c,r||"")),rf(i,a,s,r,n)}else Zx(i,a,s,s[ke],s[o+1],s[o+1]=qx(t,e,r),n,o)}}function tb(t,e){return e>=t.expandoStartIndex}function nb(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[qn()],s=tb(t,r);ob(o,n)&&e===null&&!s&&(e=!1),e=Ux(i,o,e,n),Rx(i,o,e,r,s,n)}}function Ux(t,e,r,n){let i=Pf(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=sd(null,t,e,r,n),r=Ss(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=sd(i,t,e,r,n),o===null){let c=zx(t,e,n);c!==void 0&&Array.isArray(c)&&(c=sd(null,t,e,c[1],n),c=Ss(c,e.attrs,n),Wx(t,e,n,c))}else o=Gx(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function zx(t,e,r){let n=r?e.classBindings:e.styleBindings;if(po(n)!==0)return t[vr(n)]}function Wx(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[vr(i)]=n}function Gx(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=r[i+1];h===It&&(h=d?At:void 0);let f=d?Ku(h,n):u===n?h:void 0;if(l&&!Xc(f)&&(f=Ku(c,n)),Xc(f)&&(a=f,s))return a;let g=t[i+1];i=s?vr(g):po(g)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=Ku(c,n))}return a}function Xc(t){return t!==void 0}function Kx(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ot(Wt(t)))),t}function ob(t,e){return(t.flags&(e?8:16))!==0}function EH(t,e,r){let n=W(),i=hh(n,t,e,r);ph(Ms,J0,i,!0)}var of=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function ad(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function Yx(t,e,r){let n,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;o<=s&&o<=c;){let l=t.at(o),u=e[o],d=ad(o,l,o,u,r);if(d!==0){d<0&&t.updateValue(o,u),o++;continue}let h=t.at(s),f=e[c],g=ad(s,h,c,f,r);if(g!==0){g<0&&t.updateValue(s,f),s--,c--;continue}let y=r(o,l),w=r(s,h),O=r(o,u);if(Object.is(O,w)){let ae=r(c,f);Object.is(ae,y)?(t.swap(o,s),t.updateValue(s,f),c--,s--):t.move(s,o),t.updateValue(o,u),o++;continue}if(n??=new Jc,i??=tv(t,o,s,r),sf(t,n,o,O))t.updateValue(o,u),o++,s++;else if(i.has(O))n.set(y,t.detach(o)),s--;else{let ae=t.create(o,e[o]);t.attach(o,ae),o++,s++}}for(;o<=c;)ev(t,n,r,o,e[o]),o++}else if(e!=null){let c=e[Symbol.iterator](),l=c.next();for(;!l.done&&o<=s;){let u=t.at(o),d=l.value,h=ad(o,u,o,d,r);if(h!==0)h<0&&t.updateValue(o,d),o++,l=c.next();else{n??=new Jc,i??=tv(t,o,s,r);let f=r(o,d);if(sf(t,n,o,f))t.updateValue(o,d),o++,s++,l=c.next();else if(!i.has(f))t.attach(o,t.create(o,d)),o++,s++,l=c.next();else{let g=r(o,u);n.set(g,t.detach(o)),s--}}}for(;!l.done;)ev(t,n,r,t.length,l.value),l=c.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function sf(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function ev(t,e,r,n,i){if(sf(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function tv(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var Jc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function J(t,e){wn("NgControlFlow");let r=W(),n=Pi(),i=r[n]!==It?r[n]:-1,o=i!==-1?el(r,ze+i):void 0,s=0;if(Kt(r,n,t)){let a=ce(null);try{if(o!==void 0&&sh(o,s),t!==-1){let c=ze+t,l=el(r,c),u=uf(r[U],c),d=gr(l,u.tView.ssrId),h=wo(r,u,e,{dehydratedView:d});Io(l,h,s,pr(u,d))}}finally{ce(a)}}else if(o!==void 0){let a=d0(o,s);a!==void 0&&(a[Dt]=e)}}var af=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-wt}};function _H(t){return t}function Bs(t,e){return e}var cf=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Vs(t,e,r,n,i,o,s,a,c,l,u,d,h){wn("NgControlFlow");let f=W(),g=xe(),y=c!==void 0,w=W(),O=a?s.bind(w[Zt][Dt]):s,ae=new cf(y,O);w[ze+t]=ae,_s(f,g,t+1,e,r,n,i,Oi(g.consts,o)),y&&_s(f,g,t+2,c,l,u,d,Oi(g.consts,h))}var lf=class extends of{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-wt}at(e){return this.getLView(e)[Dt].$implicit}attach(e,r){let n=r[ao];this.needsIndexUpdate||=e!==this.length,Io(this.lContainer,r,e,pr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Xx(this.lContainer,e)}create(e,r){let n=gr(this.lContainer,this.templateTNode.tView.ssrId),i=wo(this.hostLView,this.templateTNode,new af(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(e){Il(e[U],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[Dt].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(vl(!0),$y(n,i,tE()));function nM(t,e,r,n,i){let o=e.consts,s=Oi(o,n),a=Do(e,t,8,"ng-container",s);s!==null&&Qc(a,s,!0);let c=Oi(o,i);return nh(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function sn(t,e,r){let n=W(),i=xe(),o=t+ze,s=i.firstCreatePass?nM(o,i,n,e,r):i.data[o];yr(s,!0);let a=iM(i,n,s,t);return n[o]=a,gl()&&El(i,n,a,s),Ri(a,n),dl(s)&&(Jf(i,n,s),Xf(i,s,n)),r!=null&&eh(n,s),sn}function an(){let t=Ze(),e=xe();return kf()?Ff():(t=t.parent,yr(t,!1)),e.firstCreatePass&&(yl(e,t),Af(t)&&e.queries.elementEnd(t)),an}function Ee(t,e,r){return sn(t,e,r),an(),Ee}var iM=(t,e,r,n)=>(vl(!0),d_(e[ke],""));function Bi(){return W()}function br(t,e,r){let n=W(),i=Pi();if(Kt(n,i,e)){let o=xe(),s=yo();ks(o,s,n,t,e,n[ke],r,!0)}return br}function _o(t,e,r){let n=W(),i=Pi();if(Kt(n,i,e)){let o=xe(),s=yo(),a=Pf(o.data),c=u0(a,s,n);ks(o,s,n,t,e,c,r,!0)}return _o}var tl="en-US";var rM=tl;function oM(t){typeof t=="string"&&(rM=t.toLowerCase().replace(/_/g,"-"))}var sM=(t,e,r)=>{};function Le(t,e,r,n){let i=W(),o=xe(),s=Ze();return mh(o,i,i[ke],s,t,e,n),Le}function Hs(t,e){let r=Ze(),n=W(),i=xe(),o=Pf(i.data),s=u0(o,r,n);return mh(i,n,s,r,t,e),Hs}function aM(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function mh(t,e,r,n,i,o,s){let a=dl(n),l=t.firstCreatePass&&l0(t),u=e[Dt],d=c0(e),h=!0;if(n.type&3||s){let y=rn(n,e),w=s?s(y):y,O=d.length,ae=s?Y=>s($n(Y[n.index])):n.index,ie=null;if(!s&&a&&(ie=aM(t,e,i,n.index)),ie!==null){let Y=ie.__ngLastListenerFn__||ie;Y.__ngNextListenerFn__=o,ie.__ngLastListenerFn__=o,h=!1}else{o=iv(n,e,u,o),sM(y,i,o);let Y=r.listen(w,i,o);d.push(o,Y),l&&l.push(i,ae,O,O+1)}}else o=iv(n,e,u,o);let f=n.outputs,g;if(h&&f!==null&&(g=f[i])){let y=g.length;if(y)for(let w=0;w-1?Fi(t.index,e):e;Tl(s,5);let a=nv(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=nv(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function R(t=1){return JI(t)}function cM(t,e){let r=null,n=uI(t);for(let i=0;i=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Fe(t){let e=qI();return Nf(e,ze+t)}function _e(t,e=""){let r=W(),n=xe(),i=t+ze,o=n.firstCreatePass?Do(n,i,1,e,null):n.data[i],s=dM(n,r,o,e,t);r[i]=s,gl()&&El(n,r,s,o),yr(o,!1)}var dM=(t,e,r,n,i)=>(vl(!0),l_(e[ke],n));function Ve(t){return Qn("",t,""),Ve}function Qn(t,e,r){let n=W(),i=hh(n,t,e,r);return i!==It&&rh(n,qn(),i),Qn}function fM(t,e,r,n,i){let o=W(),s=Mx(o,t,e,r,n,i);return s!==It&&rh(o,qn(),s),fM}function hM(t,e,r,n,i,o,s,a,c,l,u,d,h){let f=W(),g=Tx(f,t,e,r,n,i,o,s,a,c,l,u,d,h);return g!==It&&rh(f,qn(),g),hM}function pM(t,e,r){O0(e)&&(e=e());let n=W(),i=Pi();if(Kt(n,i,e)){let o=xe(),s=yo();ks(o,s,n,t,e,n[ke],r,!1)}return pM}function SH(t,e){let r=O0(t);return r&&t.set(e),r}function mM(t,e){let r=W(),n=xe(),i=Ze();return mh(n,r,r[ke],i,t,e),mM}function gM(t,e,r){let n=xe();if(n.firstCreatePass){let i=oi(t);df(r,n.data,n.blueprint,i,!0),df(e,n.data,n.blueprint,i,!1)}}function df(t,e,r,n,i){if(t=ft(t),Array.isArray(t))for(let o=0;o>20;if(so(t)||!t.multi){let f=new fr(l,i,v),g=ld(c,e,i?u:u+h,d);g===-1?(Id($c(a,s),o,c),cd(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[g]=f,s[g]=f)}else{let f=ld(c,e,u+h,d),g=ld(c,e,u,u+h),y=f>=0&&r[f],w=g>=0&&r[g];if(i&&!w||!i&&!y){Id($c(a,s),o,c);let O=bM(i?yM:vM,r.length,i,n,l);!i&&w&&(r[g].providerFactory=O),cd(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(O),s.push(O)}else{let O=lb(r[i?g:f],l,!i&&n);cd(o,t,f>-1?f:g,O)}!i&&n&&w&&r[g].componentProviders++}}}function cd(t,e,r,n){let i=so(e),o=EI(e);if(i||o){let c=(o?ft(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,c]):l[u+1].push(n,c)}else l.push(r,c)}}}function lb(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ld(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>gM(n,i?i(t):t,e)}}var CM=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Sf(!1,n.type),o=i.length>0?Fs([i],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()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(E(Vt))});let t=e;return t})();function S(t){wn("NgStandalone"),t.getStandaloneInjector=e=>e.get(CM).getOrCreateStandaloneInjector(t)}function Xt(t,e,r){let n=hl()+t,i=W();return i[n]===It?dh(i,n,r?e.call(r):e()):ix(i,n)}function Cr(t,e,r,n){return db(W(),hl(),t,e,r,n)}function ub(t,e){let r=t[e];return r===It?void 0:r}function db(t,e,r,n,i,o){let s=e+r;return Kt(t,s,i)?dh(t,s+1,o?n.call(o,i):n(i)):ub(t,s+1)}function DM(t,e,r,n,i,o,s){let a=e+r;return Es(t,a,i,o)?dh(t,a+2,s?n.call(s,i,o):n(i,o)):ub(t,a+2)}function nt(t,e){let r=xe(),n,i=t+ze;r.firstCreatePass?(n=wM(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=ar(n.type,!0)),s,a=Bt(v);try{let c=Vc(!1),l=o();return Vc(c),uM(r,W(),i,l),l}finally{Bt(a)}}function wM(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function it(t,e,r){let n=t+ze,i=W(),o=Nf(i,n);return fb(i,n)?db(i,hl(),e,o.transform,r,o):o.transform(r)}function xH(t,e,r,n){let i=t+ze,o=W(),s=Nf(o,i);return fb(o,i)?DM(o,hl(),e,s.transform,r,n,s):s.transform(r,n)}function fb(t,e){return t[U].data[e].pure}function Ye(t,e){return Al(t,e)}var kl=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var hb=new z("");function So(t){return!!t&&typeof t.then=="function"}function gh(t){return!!t&&typeof t.subscribe=="function"}var Fl=new z(""),pb=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=m(Fl,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(So(s))n.push(s);else if(gh(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Pl=new z("");function IM(){ig(()=>{throw new L(600,!1)})}function EM(t){return t.isBoundToModule}var _M=10;function SM(t,e,r){try{let n=r();return So(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Dr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(_E),this.afterRenderEffectManager=m(ah),this.zonelessEnabled=m(y0),this.externalTestViews=new Set,this.beforeRender=new ge,this.afterTick=new ge,this.componentTypes=[],this.components=[],this.isStable=m(ji).hasPendingTasks.pipe(re(n=>!n)),this._injector=m(Vt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof qc;if(!this._injector.get(pb).done){let f=!o&&Ev(n),g=!1;throw new L(405,g)}let a;o?a=n:a=this._injector.get(fo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=EM(a)?void 0:this._injector.get(ki),l=i||a.selector,u=a.create(mt.NULL,[],l,c),d=u.location.nativeElement,h=u.injector.get(hb,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Tc(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new L(101,!1);let i=ce(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,ce(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(bn,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;o<_M;){let a=o===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:l}of this._views)xM(c,l,a,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(o++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>Ds(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Ds(c))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Tc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Pl,[]);[...this._bootstrapListeners,...i].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Tc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new L(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Tc(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function xM(t,e,r,n){if(!r&&!Ds(t))return;p0(t,e,r&&!n?0:1)}var hf=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ll=(()=>{let e=class e{compileModuleSync(n){return new Jd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=_v(n),s=Vy(o.declarations).reduce((a,c)=>{let l=ii(c);return l&&a.push(new ho(l)),a},[]);return new hf(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var MM=(()=>{let e=class e{constructor(){this.zone=m(me),this.changeDetectionScheduler=m(uo),this.applicationRef=m(Dr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function TM({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new me(he(b({},AM()),{scheduleInRootZone:r})),[{provide:me,useFactory:t},{provide:oo,multi:!0,useFactory:()=>{let n=m(MM,{optional:!0});return()=>n.initialize()}},{provide:oo,multi:!0,useFactory:()=>{let n=m(NM);return()=>{n.initialize()}}},e===!0?{provide:b0,useValue:!0}:[],{provide:C0,useValue:r??dy}]}function AM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var NM=(()=>{let e=class e{constructor(){this.subscription=new Ae,this.initialized=!1,this.zone=m(me),this.pendingTasks=m(ji)}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(()=>{me.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var OM=(()=>{let e=class e{constructor(){this.appRef=m(Dr),this.taskService=m(ji),this.ngZone=m(me),this.zonelessEnabled=m(y0),this.disableScheduling=m(b0,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ae,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uc):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(C0,{optional:!0})??!1),this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Md||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Eg:fy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick(this.shouldRefreshViews))):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick(this.shouldRefreshViews)))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uc+this.angularZoneId))}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Eg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function RM(){return typeof $localize<"u"&&$localize.locale||tl}var vh=new z("",{providedIn:"root",factory:()=>m(vh,le.Optional|le.SkipSelf)||RM()});var mb=new z("");function Ic(t){return!!t.platformInjector}function kM(t){let e=Ic(t)?t.r3Injector:t.moduleRef.injector,r=e.get(me);return r.run(()=>{Ic(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(yn,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),Ic(t)){let o=()=>e.destroy(),s=t.platformInjector.get(mb);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else t.moduleRef.onDestroy(()=>{Tc(t.allPlatformModules,t.moduleRef),i.unsubscribe()});return SM(n,r,()=>{let o=e.get(pb);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(vh,tl);if(oM(s||tl),Ic(t)){let a=e.get(Dr);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return FM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function FM(t,e){let r=t.injector.get(Dr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new L(-403,!1);e.push(t)}var Ac=null;function PM(t=[],e){return mt.create({name:e,providers:[{provide:cl,useValue:"platform"},{provide:mb,useValue:new Set([()=>Ac=null])},...t]})}function LM(t=[]){if(Ac)return Ac;let e=PM(t);return Ac=e,IM(),jM(e),e}function jM(t){t.get(zf,null)?.forEach(r=>r())}var _t=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BM;let t=e;return t})();function BM(t){return VM(Ze(),W(),(t&16)===16)}function VM(t,e,r){if(ul(t)&&!r){let n=Fi(t.index,e);return new mr(n,n)}else if(t.type&175){let n=e[Zt];return new mr(n,e)}return null}var pf=class{constructor(){}supports(e){return e instanceof Map||P0(e)}create(){return new mf}},mf=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||P0(e)))throw new L(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new gf(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},gf=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function rv(){return new yh([new pf])}var yh=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||rv()),deps:[[e,new Df,new sl]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new L(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:rv});let t=e;return t})();function gb(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=LM(n),o=[TM({}),{provide:uo,useExisting:OM},...r||[]],s=new Yc({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return kM({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}var vb=new z("");function M(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function cn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function ve(t,e){wn("NgSignals");let r=qu(t);return e?.equal&&(r[jt].equal=e.equal),r}function En(t){let e=ce(null);try{return t()}finally{ce(e)}}var $M=new z("",{providedIn:"root",factory:()=>m(HM)}),HM=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new vf});let t=e;return t})(),vf=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=m(ji),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},yf=class{constructor(e,r,n,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=o,this.watcher=sg(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(yn,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function st(t,e){wn("NgSignals"),!e?.injector&&go(st);let r=e?.injector??m(mt),n=e?.manualCleanup!==!0?r.get(Ke):null,i=new yf(r.get($M),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),o=r.get(_t,null,{optional:!0});return!o||!(o._lView[K]&8)?i.watcher.notify():(o._lView[_c]??=[]).push(i.watcher.notify),i}function yb(t){let e=ii(t);if(!e)return null;let r=new ho(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Eb=null;function xo(){return Eb}function _b(t){Eb??=t}var jl=class{};var ue=new z(""),Sh=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(UM),providedIn:"platform"});let t=e;return t})(),Sb=new z(""),UM=(()=>{let e=class e extends Sh{constructor(){super(),this._doc=m(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xo().getBaseHref(this._doc)}onPopState(n){let i=xo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=xo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.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,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function xh(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function bb(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function pi(t){return t&&t[0]!=="?"?"?"+t:t}var Kn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(Mh),providedIn:"root"});let t=e;return t})(),xb=new z(""),Mh=(()=>{let e=class e extends Kn{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??m(ue).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 xh(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+pi(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+pi(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+pi(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(E(Sh),E(xb,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Th=(()=>{let e=class e extends Kn{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}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}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=xh(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+pi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+pi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(E(Sh),E(xb,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Mo=(()=>{let e=class e{constructor(n){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=GM(bb(Cb(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({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,i=""){return this.path()==this.normalize(n+pi(i))}normalize(n){return e.stripTrailingSlash(WM(this._basePath,Cb(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pi(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pi(i)),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(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=pi,e.joinWithSlash=xh,e.stripTrailingSlash=bb,e.\u0275fac=function(i){return new(i||e)(E(Kn))},e.\u0275prov=C({token:e,factory:()=>zM(),providedIn:"root"});let t=e;return t})();function zM(){return new Mo(E(Kn))}function WM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Cb(t){return t.replace(/\/index.html$/,"")}function GM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Mb(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Ch=/\s+/,Db=[],gt=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Db,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Ch):Db}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Ch):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Ch).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(v(H),v(fe))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var KH=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Dh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){wb("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wb("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(v(Et),v(Un))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Dh=class{constructor(){this.$implicit=null,this.ngIf=null}};function wb(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ot(e)}'.`)}var Tb=(()=>{let e=class e{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}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,i){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:Hn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(v(H),v(yh),v(fe))},e.\u0275dir=N({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),_n=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(v(Et))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Qe]});let t=e;return t})();function Ab(t,e){return new L(2100,!1)}var wh=class{createSubscription(e,r){return En(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){En(()=>e.unsubscribe())}},Ih=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qM=new Ih,QM=new wh,Nb=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(So(n))return qM;if(gh(n))return QM;throw Ab(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(v(_t,16))},e.\u0275pipe=ai({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var YH=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=ai({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var XH=(()=>{let e=class e{transform(n,i,o){if(n==null)return null;if(!this.supports(n))throw Ab(e,n);return n.slice(i,o)}supports(n){return typeof n=="string"||Array.isArray(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=ai({name:"slice",type:e,pure:!1,standalone:!0});let t=e;return t})();var Ah="browser",ZM="server";function Us(t){return t===Ah}function To(t){return t===ZM}var Nh=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>Us(m(zt))?new Eh(m(ue),window):new _h});let t=e;return t})(),Eh=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=KM(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function KM(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var _h=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Bl=class{};var Ob=t=>t.src,YM=new z("",{providedIn:"root",factory:()=>Ob});var XM=new z("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),JM=(()=>{let e=class e{constructor(){this.preloadedImages=m(XM),this.document=m(ue)}createPreloadLinkTag(n,i,o,s){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",i),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),o&&n.setAttribute(a,"imageSrcset",o),n.appendChild(this.document.head,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var eT=/^((\s*\d+w\s*(,|$)){1,})$/;var tT=[1,2],nT=640;var iT=1920,rT=1080;var Rb=(()=>{let e=class e{constructor(){this.imageLoader=m(YM),this.config=oT(m(Ey)),this.renderer=m(fe),this.imgElement=m(H).nativeElement,this.injector=m(mt),this.isServer=To(m(zt)),this.preloadLinkCreator=m(JM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){wn("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&i&&o&&i!==o&&this.injector.get(me).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,o)})}}callImageLoader(n){let i=n;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=eT.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let s=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,i=n;return this.sizes?.trim()==="100vw"&&(i=n.filter(s=>s>=nT)),i.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return tT.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>iT||this.height>rT),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Ob&&!n}generatePlaceholder(n){let{placeholderResolution:i}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let i=()=>{let a=this.injector.get(_t);o(),s(),this.placeholder=!1,a.markForCheck()},o=this.renderer.listen(n,"load",i),s=this.renderer.listen(n,"error",i)}ngOnDestroy(){}setHostAttribute(n,i){this.renderer.setAttribute(this.imgElement,n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,o){i&2&&Eo("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",sT],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",cn],height:[2,"height","height",cn],loading:"loading",priority:[2,"priority","priority",M],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",M],fill:[2,"fill","fill",M],placeholder:[2,"placeholder","placeholder",aT],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[te,Qe]});let t=e;return t})();function oT(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},Wf,t,e)}function sT(t){return typeof t=="string"?t:Wt(t)}function aT(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:M(t)}var kh=class extends jl{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Fh=class t extends kh{static makeCurrent(){_b(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=lT();return r==null?null:uT(r)}resetBaseElement(){zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Mb(document.cookie,e)}},zs=null;function lT(){return zs=zs||document.querySelector("base"),zs?zs.getAttribute("href"):null}function uT(t){return new URL(t,document.baseURI).pathname}var dT=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Vl=new z(""),Lb=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new L(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(E(Vl),E(me))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Ws=class{constructor(e){this._doc=e}},Oh="ng-app-id",jb=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=To(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Oh}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Oh),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Oh,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(E(ue),E(bl),E(Os,8),E(zt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Rh={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"},Lh=/%COMP%/g,Bb="%COMP%",fT=`_nghost-${Bb}`,hT=`_ngcontent-${Bb}`,pT=!0,mT=new z("",{providedIn:"root",factory:()=>pT});function gT(t){return hT.replace(Lh,t)}function vT(t){return fT.replace(Lh,t)}function Vb(t,e){return e.map(r=>r.replace(Lh,t))}var kb=(()=>{let e=class e{constructor(n,i,o,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=To(c),this.defaultRenderer=new Gs(n,a,l,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===nn.ShadowDom&&(i=he(b({},i),{encapsulation:nn.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof $l?o.applyToHost(n):o instanceof qs&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case nn.Emulated:s=new $l(l,u,i,this.appId,d,a,c,h);break;case nn.ShadowDom:return new Ph(l,u,n,i,a,c,this.nonce,h);default:s=new qs(l,u,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(E(Lb),E(jb),E(bl),E(mT),E(ue),E(zt),E(me),E(Os))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Gs=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Rh[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Fb(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Fb(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new L(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Rh[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Rh[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Hn.DashCase|Hn.Important)?e.style.setProperty(r,n,i&Hn.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Hn.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=xo().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Fb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ph=class extends Gs{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Vb(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},qs=class extends Gs{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?Vb(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$l=class extends qs{constructor(e,r,n,i,o,s,a,c){let l=i+"-"+n.id;super(e,r,n,o,s,a,c,l),this.contentAttr=gT(l),this.hostAttr=vT(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},yT=(()=>{let e=class e extends Ws{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),bT=(()=>{let e=class e extends Ws{constructor(n){super(n),this.delegate=m(vb,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,i,o){return this.delegate.addEventListener(n,i,o)}removeEventListener(n,i,o){return this.delegate.removeEventListener(n,i,o)}};e.\u0275fac=function(i){return new(i||e)(E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Pb=["alt","control","meta","shift"],CT={"\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"},DT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},wT=(()=>{let e=class e extends Ws{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xo().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Pb.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(n,i){let o=CT[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Pb.forEach(a=>{if(a!==o){let c=DT[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function yU(t,e){return gb(b({rootComponent:t},IT(e)))}function IT(t){return{appProviders:[...MT,...t?.providers??[]],platformProviders:xT}}function ET(){Fh.makeCurrent()}function _T(){return new yn}function ST(){return Dy(document),document}var xT=[{provide:zt,useValue:Ah},{provide:zf,useValue:ET,multi:!0},{provide:ue,useFactory:ST,deps:[]}];var MT=[{provide:cl,useValue:"root"},{provide:yn,useFactory:_T,deps:[]},{provide:Vl,useClass:yT,multi:!0,deps:[ue,me,zt]},{provide:Vl,useClass:wT,multi:!0,deps:[ue]},{provide:Vl,useClass:bT,multi:!0},kb,jb,Lb,{provide:bn,useExisting:kb},{provide:Bl,useClass:dT,deps:[]},[]];var $b=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var jh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=E(TT),o},providedIn:"root"});let t=e;return t})(),TT=(()=>{let e=class e extends jh{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Dn.NONE:return i;case Dn.HTML:return li(i,"HTML")?Wt(i):qf(this._doc,String(i)).toString();case Dn.STYLE:return li(i,"Style")?Wt(i):i;case Dn.SCRIPT:if(li(i,"Script"))return Wt(i);throw new L(5200,!1);case Dn.URL:return li(i,"URL")?Wt(i):Dl(String(i));case Dn.RESOURCE_URL:if(li(i,"ResourceURL"))return Wt(i);throw new L(5201,!1);default:throw new L(5202,!1)}}bypassSecurityTrustHtml(n){return xy(n)}bypassSecurityTrustStyle(n){return My(n)}bypassSecurityTrustScript(n){return Ty(n)}bypassSecurityTrustUrl(n){return Ay(n)}bypassSecurityTrustResourceUrl(n){return Ny(n)}};e.\u0275fac=function(i){return new(i||e)(E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vt(t){t||(go(vt),t=m(Ke));let e=new ee(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(Pn(e))}function Bh(t,e){!e?.injector&&go(Bh);let r=e?.injector??m(mt),n=new ss(1),i=st(()=>{let o;try{o=t()}catch(s){En(()=>n.error(s));return}En(()=>n.next(o))},{injector:r,manualCleanup:!0});return r.get(Ke).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}var oe="primary",ca=Symbol("RouteTitle"),zh=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Fo(t){return new zh(t)}function NT(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Jb(t){return t.length>0?t[t.length-1]:null}function $i(t){return mc(t)?t:So(t)?Pe(Promise.resolve(t)):Z(t)}var RT={exact:tC,subset:nC},eC={exact:kT,subset:FT,ignored:()=>!0};function Hb(t,e,r){return RT[r.paths](t.root,e.root,r.matrixParams)&&eC[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function kT(t,e){return Yn(t,e)}function tC(t,e,r){if(!Ir(t.segments,e.segments)||!zl(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!tC(t.children[n],e.children[n],r))return!1;return!0}function FT(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Xb(t[r],e[r]))}function nC(t,e,r){return iC(t,e,e.segments,r)}function iC(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Ir(i,r)||e.hasChildren()||!zl(i,r,n))}else if(t.segments.length===r.length){if(!Ir(t.segments,r)||!zl(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!nC(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Ir(t.segments,i)||!zl(t.segments,i,n)||!t.children[oe]?!1:iC(t.children[oe],e,o,n)}}function zl(t,e,r){return e.every((n,i)=>eC[r](t[i].parameters,n.parameters))}var gi=class{constructor(e=new ye([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Fo(this.queryParams),this._queryParamMap}toString(){return jT.serialize(this)}},ye=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wl(this)}},wr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Fo(this.parameters),this._parameterMap}toString(){return oC(this)}};function PT(t,e){return Ir(t,e)&&t.every((r,n)=>Yn(r.parameters,e[n].parameters))}function Ir(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function LT(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===oe&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==oe&&(r=r.concat(e(i,n)))}),r}var Vo=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new Po,providedIn:"root"});let t=e;return t})(),Po=class{parse(e){let r=new qh(e);return new gi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Qs(e.root,!0)}`,n=$T(e.queryParams),i=typeof e.fragment=="string"?`#${BT(e.fragment)}`:"";return`${r}${n}${i}`}},jT=new Po;function Wl(t){return t.segments.map(e=>oC(e)).join("/")}function Qs(t,e){if(!t.hasChildren())return Wl(t);if(e){let r=t.children[oe]?Qs(t.children[oe],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==oe&&n.push(`${i}:${Qs(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=LT(t,(n,i)=>i===oe?[Qs(t.children[oe],!1)]:[`${i}:${Qs(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[oe]!=null?`${Wl(t)}/${r[0]}`:`${Wl(t)}/(${r.join("//")})`}}function rC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hl(t){return rC(t).replace(/%3B/gi,";")}function BT(t){return encodeURI(t)}function Gh(t){return rC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gl(t){return decodeURIComponent(t)}function Ub(t){return Gl(t.replace(/\+/g,"%20"))}function oC(t){return`${Gh(t.path)}${VT(t.parameters)}`}function VT(t){return Object.entries(t).map(([e,r])=>`;${Gh(e)}=${Gh(r)}`).join("")}function $T(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Hl(r)}=${Hl(i)}`).join("&"):`${Hl(r)}=${Hl(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var HT=/^[^\/()?;#]+/;function Vh(t){let e=t.match(HT);return e?e[0]:""}var UT=/^[^\/()?;=#]+/;function zT(t){let e=t.match(UT);return e?e[0]:""}var WT=/^[^=?&#]+/;function GT(t){let e=t.match(WT);return e?e[0]:""}var qT=/^[^&#]+/;function QT(t){let e=t.match(qT);return e?e[0]:""}var qh=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[oe]=new ye(e,r)),n}parseSegment(){let e=Vh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new L(4009,!1);return this.capture(e),new wr(Gl(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=zT(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Vh(this.remaining);i&&(n=i,this.capture(n))}e[Gl(r)]=Gl(n)}parseQueryParam(e){let r=GT(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=QT(this.remaining);s&&(n=s,this.capture(n))}let i=Ub(r),o=Ub(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Vh(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new L(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=oe);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[oe]:new ye([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new L(4011,!1)}};function sC(t){return t.segments.length>0?new ye([],{[oe]:t}):t}function aC(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=aC(i);if(n===oe&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new ye(t.segments,e);return ZT(r)}function ZT(t){if(t.numberOfChildren===1&&t.children[oe]){let e=t.children[oe];return new ye(t.segments.concat(e.segments),e.children)}return t}function Er(t){return t instanceof gi}function KT(t,e,r=null,n=null){let i=cC(t);return lC(i,e,r,n)}function cC(t){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new ye(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=sC(n);return e??i}function lC(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return $h(i,i,i,r,n);let o=YT(e);if(o.toRoot())return $h(i,i,new ye([],{}),r,n);let s=XT(o,i,t),a=s.processChildren?Ys(s.segmentGroup,s.index,o.commands):dC(s.segmentGroup,s.index,o.commands);return $h(i,s.segmentGroup,a,r,n)}function ql(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ea(t){return typeof t=="object"&&t!=null&&t.outlets}function $h(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=r:s=uC(t,e,r);let a=sC(aC(s));return new gi(a,o,i)}function uC(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=uC(o,e,r)}),new ye(t.segments,n)}var Ql=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ql(n[0]))throw new L(4003,!1);let i=n.find(ea);if(i&&i!==Jb(n))throw new L(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function YT(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ql(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ql(r,e,n)}var Oo=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function XT(t,e,r){if(t.isAbsolute)return new Oo(e,!0,0);if(!r)return new Oo(e,!1,NaN);if(r.parent===null)return new Oo(r,!0,0);let n=ql(t.commands[0])?0:1,i=r.segments.length-1+n;return JT(r,i,t.numberOfDoubleDots)}function JT(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new L(4005,!1);i=n.segments.length}return new Oo(n,!1,i-o)}function eA(t){return ea(t[0])?t[0].outlets:{[oe]:t}}function dC(t,e,r){if(t??=new ye([],{}),t.segments.length===0&&t.hasChildren())return Ys(t,e,r);let n=tA(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==oe)&&t.children[oe]&&t.numberOfChildren===1&&t.children[oe].segments.length===0){let o=Ys(t.children[oe],e,r);return new ye(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=dC(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ye(t.segments,i)}}function tA(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(ea(a))break;let c=`${a}`,l=n0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Wb(c,l,s))return o;n+=2}else{if(!Wb(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Qh(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Qh(new ye([],{}),0,n))}),e}function zb(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Wb(t,e,r){return t==r.path&&Yn(e,r.parameters)}var Xs="imperative",at=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(at||{}),ln=class{constructor(e,r){this.id=e,this.url=r}},Lo=class extends ln{constructor(e,r,n="imperative",i=null){super(e,r),this.type=at.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},kt=class extends ln{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=at.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},en=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(en||{}),Zl=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Zl||{}),mi=class extends ln{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=at.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Vi=class extends ln{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=at.NavigationSkipped}},ta=class extends ln{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=at.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Kl=class extends ln{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=at.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zh=class extends ln{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=at.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kh=class extends ln{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=at.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Yh=class extends ln{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=at.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xh=class extends ln{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=at.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jh=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ep=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},tp=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},np=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ip=class{constructor(e){this.snapshot=e,this.type=at.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rp=class{constructor(e){this.snapshot=e,this.type=at.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yl=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=at.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},na=class{},jo=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function iA(t,e){return t.providers&&!t._injector&&(t._injector=Fs(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Sn(t){return t.outlet||oe}function rA(t,e){let r=t.filter(n=>Sn(n)===e);return r.push(...t.filter(n=>Sn(n)!==e)),r}function la(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var op=class{get injector(){return la(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new ua(this.rootInjector),this.attachRef=null}},ua=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new op(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(E(Vt))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xl=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=sp(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=sp(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=ap(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return ap(e,this._root).map(r=>r.value)}};function sp(t,e){if(t===e.value)return e;for(let r of e.children){let n=sp(t,r);if(n)return n}return null}function ap(t,e){if(t===e.value)return[e];for(let r of e.children){let n=ap(t,r);if(n.length)return n.unshift(e),n}return[]}var Jt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function No(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Jl=class extends Xl{constructor(e,r){super(e),this.snapshot=r,gp(this,e)}toString(){return this.snapshot.toString()}};function fC(t){let e=oA(t),r=new we([new wr("",{})]),n=new we({}),i=new we({}),o=new we({}),s=new we(""),a=new Xn(r,n,o,s,i,oe,t,e.root);return a.snapshot=e.root,new Jl(new Jt(a,[]),e)}function oA(t){let e={},r={},n={},i="",o=new Ro([],e,n,i,r,oe,t,null,{});return new tu("",new Jt(o,[]))}var Xn=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(re(l=>l[ca]))??Z(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(re(e=>Fo(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(re(e=>Fo(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function eu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&pC(i)&&(n.resolve[ca]=i.title),n}var Ro=class{get title(){return this.data?.[ca]}constructor(e,r,n,i,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Fo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Fo(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},tu=class extends Xl{constructor(e,r){super(r),this.url=e,gp(this,r)}toString(){return hC(this._root)}};function gp(t,e){e.value._routerState=t,e.children.forEach(r=>gp(t,r))}function hC(t){let e=t.children.length>0?` { ${t.children.map(hC).join(", ")} } `:"";return`${t.value}${e}`}function Hh(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Yn(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Yn(e.params,r.params)||t.paramsSubject.next(r.params),OT(e.url,r.url)||t.urlSubject.next(r.url),Yn(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function cp(t,e){let r=Yn(t.params,e.params)&&PT(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||cp(t.parent,e.parent))}function pC(t){return typeof t.title=="string"||t.title===null}var sA=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=oe,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.parentContexts=m(ua),this.location=m(Et),this.changeDetector=m(_t),this.inputBinder=m(ou,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new L(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new L(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new L(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new L(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new lp(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Qe]});let t=e;return t})(),lp=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Xn?this.route:e===ua?this.childContexts:this.parent.get(e,r)}},ou=new z(""),Gb=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=nr([i.queryParams,i.params,i.data]).pipe(qt(([s,a,c],l)=>(c=b(b(b({},s),a),c),l===0?Z(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=yb(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function aA(t,e,r){let n=ia(t,e._root,r?r._root:void 0);return new Jl(n,e)}function ia(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=cA(t,e,r);return new Jt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ia(t,a)),s}}let n=lA(e.value),i=e.children.map(o=>ia(t,o));return new Jt(n,i)}}function cA(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ia(t,n,i);return ia(t,n)})}function lA(t){return new Xn(new we(t.url),new we(t.params),new we(t.queryParams),new we(t.fragment),new we(t.data),t.outlet,t.component,t)}var ra=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},mC="ngNavigationCancelingError";function nu(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Er(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=gC(!1,en.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function gC(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[mC]=!0,r.cancellationCode=e,r}function uA(t){return vC(t)&&Er(t.url)}function vC(t){return!!t&&t[mC]}var dA=(t,e,r,n)=>re(i=>(new up(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),up=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Hh(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=No(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=No(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=No(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=No(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new rp(o.value.snapshot))}),e.children.length&&this.forwardEvent(new np(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Hh(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hh(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},iu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ko=class{constructor(e,r){this.component=e,this.route=r}};function fA(t,e,r){let n=t._root,i=e?e._root:null;return Zs(n,i,r,[n.value])}function hA(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function $o(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!uv(t)?t:e.get(t):n}function Zs(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=No(e);return t.children.forEach(s=>{pA(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Js(a,r.getContext(s),i)),i}function pA(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=mA(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new iu(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Zs(t,e,a?a.children:null,n,i):Zs(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ko(a.outlet.component,s))}else s&&Js(e,a,i),i.canActivateChecks.push(new iu(n)),o.component?Zs(t,null,a?a.children:null,n,i):Zs(t,null,r,n,i);return i}function mA(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Ir(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ir(t.url,e.url)||!Yn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cp(t,e)||!Yn(t.queryParams,e.queryParams);case"paramsChange":default:return!cp(t,e)}}function Js(t,e,r){let n=No(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Js(s,e.children.getContext(o),r):Js(s,null,r):Js(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ko(e.outlet.component,i)):r.canDeactivateChecks.push(new ko(null,i)):r.canDeactivateChecks.push(new ko(null,i))}function da(t){return typeof t=="function"}function gA(t){return typeof t=="boolean"}function vA(t){return t&&da(t.canLoad)}function yA(t){return t&&da(t.canActivate)}function bA(t){return t&&da(t.canActivateChild)}function CA(t){return t&&da(t.canDeactivate)}function DA(t){return t&&da(t.canMatch)}function yC(t){return t instanceof ti||t?.name==="EmptyError"}var Ul=Symbol("INITIAL_VALUE");function Bo(){return qt(t=>nr(t.map(e=>e.pipe(Ct(1),cs(Ul)))).pipe(re(e=>{for(let r of e)if(r!==!0){if(r===Ul)return Ul;if(r===!1||wA(r))return r}return!0}),Ne(e=>e!==Ul),Ct(1)))}function wA(t){return Er(t)||t instanceof ra}function IA(t,e){return Re(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?Z(he(b({},r),{guardsResult:!0})):EA(s,n,i,t).pipe(Re(a=>a&&gA(a)?_A(n,o,t,e):Z(a)),re(a=>he(b({},r),{guardsResult:a})))})}function EA(t,e,r,n){return Pe(t).pipe(Re(i=>AA(i.component,i.route,r,e,n)),Fn(i=>i!==!0,!0))}function _A(t,e,r,n){return Pe(e).pipe(ir(i=>Rn(xA(i.route.parent,n),SA(i.route,n),TA(t,i.path,r),MA(t,i.route,r))),Fn(i=>i!==!0,!0))}function SA(t,e){return t!==null&&e&&e(new ip(t)),Z(!0)}function xA(t,e){return t!==null&&e&&e(new tp(t)),Z(!0)}function MA(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return Z(!0);let i=n.map(o=>gc(()=>{let s=la(e)??r,a=$o(o,s),c=yA(a)?a.canActivate(e,t):Cn(s,()=>a(e,t));return $i(c).pipe(Fn())}));return Z(i).pipe(Bo())}function TA(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>hA(s)).filter(s=>s!==null).map(s=>gc(()=>{let a=s.guards.map(c=>{let l=la(s.node)??r,u=$o(c,l),d=bA(u)?u.canActivateChild(n,t):Cn(l,()=>u(n,t));return $i(d).pipe(Fn())});return Z(a).pipe(Bo())}));return Z(o).pipe(Bo())}function AA(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return Z(!0);let s=o.map(a=>{let c=la(e)??i,l=$o(a,c),u=CA(l)?l.canDeactivate(t,e,r,n):Cn(c,()=>l(t,e,r,n));return $i(u).pipe(Fn())});return Z(s).pipe(Bo())}function NA(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return Z(!0);let o=i.map(s=>{let a=$o(s,t),c=vA(a)?a.canLoad(e,r):Cn(t,()=>a(e,r));return $i(c)});return Z(o).pipe(Bo(),bC(n))}function bC(t){return Fu(Oe(e=>{if(typeof e!="boolean")throw nu(t,e)}),re(e=>e===!0))}function OA(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return Z(!0);let o=i.map(s=>{let a=$o(s,t),c=DA(a)?a.canMatch(e,r):Cn(t,()=>a(e,r));return $i(c)});return Z(o).pipe(Bo(),bC(n))}var oa=class{constructor(e){this.segmentGroup=e||null}},sa=class extends Error{constructor(e){super(),this.urlTree=e}};function Ao(t){return qr(new oa(t))}function RA(t){return qr(new L(4e3,!1))}function kA(t){return qr(gC(!1,en.GuardRejected))}var dp=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return Z(n);if(i.numberOfChildren>1||!i.children[oe])return RA(`${e.redirectTo}`);i=i.children[oe]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:l,routeConfig:u,url:d,outlet:h,params:f,data:g,title:y}=i,w=Cn(o,()=>a({params:f,data:g,queryParams:c,fragment:l,routeConfig:u,url:d,outlet:h,title:y}));if(w instanceof gi)throw new sa(w);r=w}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new sa(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new gi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new ye(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new L(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},fp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function FA(t,e,r,n,i){let o=vp(t,e,r);return o.matched?(n=iA(e,n),OA(n,e,r,i).pipe(re(s=>s===!0?o:b({},fp)))):Z(o)}function vp(t,e,r){if(e.path==="**")return PA(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},fp):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||NT)(r,t,e);if(!i)return b({},fp);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function PA(t){return{matched:!0,parameters:t.length>0?Jb(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function qb(t,e,r,n){return r.length>0&&BA(t,r,n)?{segmentGroup:new ye(e,jA(n,new ye(r,t.children))),slicedSegments:[]}:r.length===0&&VA(t,r,n)?{segmentGroup:new ye(t.segments,LA(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new ye(t.segments,t.children),slicedSegments:r}}function LA(t,e,r,n){let i={};for(let o of r)if(su(t,e,o)&&!n[Sn(o)]){let s=new ye([],{});i[Sn(o)]=s}return b(b({},n),i)}function jA(t,e){let r={};r[oe]=e;for(let n of t)if(n.path===""&&Sn(n)!==oe){let i=new ye([],{});r[Sn(n)]=i}return r}function BA(t,e,r){return r.some(n=>su(t,e,n)&&Sn(n)!==oe)}function VA(t,e,r){return r.some(n=>su(t,e,n))}function su(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function $A(t,e,r,n){return Sn(t)!==n&&(n===oe||!su(e,r,t))?!1:vp(e,t,r).matched}function HA(t,e,r){return e.length===0&&!t.children[r]}var hp=class{};function UA(t,e,r,n,i,o,s="emptyOnly"){return new pp(t,e,r,n,i,s,o).recognize()}var zA=31,pp=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new dp(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new L(4002,`'${e.segmentGroup}'`)}recognize(){let e=qb(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(re(({children:r,rootSnapshot:n})=>{let i=new Jt(n,r),o=new tu("",i),s=KT(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Ro([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),oe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,oe,r).pipe(re(n=>({children:n,rootSnapshot:r})),Si(n=>{if(n instanceof sa)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof oa?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(re(s=>s instanceof Jt?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return Pe(o).pipe(ir(s=>{let a=n.children[s],c=rA(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Vu((s,a)=>(s.push(...a),s)),xi(null),Bu(),Re(s=>{if(s===null)return Ao(n);let a=CC(s);return WA(a),Z(a)}))}processSegment(e,r,n,i,o,s,a){return Pe(r).pipe(ir(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(Si(l=>{if(l instanceof oa)return Z(null);throw l}))),Fn(c=>!!c),Si(c=>{if(yC(c))return HA(n,i,o)?Z(new hp):Ao(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return $A(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):Ao(i):Ao(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=vp(r,i,o);if(!c)return Ao(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zA&&(this.allowRedirects=!1));let f=new Ro(o,l,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Qb(i),Sn(i),i.component??i._loadedComponent??null,i,Zb(i)),g=eu(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(Re(w=>this.processSegment(e,n,r,w.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=FA(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(qt(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(qt(({routes:l})=>{let u=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new Ro(h,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Qb(n),Sn(n),n.component??n._loadedComponent??null,n,Zb(n)),y=eu(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:O}=qb(r,h,f,l);if(O.length===0&&w.hasChildren())return this.processChildren(u,l,w,g).pipe(re(ie=>new Jt(g,ie)));if(l.length===0&&O.length===0)return Z(new Jt(g,[]));let ae=Sn(n)===o;return this.processSegment(u,l,w,O,ae?oe:o,!0,g).pipe(re(ie=>new Jt(g,ie instanceof Jt?[ie]:[])))}))):Ao(r)))}getChildConfig(e,r,n){return r.children?Z({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?Z({routes:r._loadedRoutes,injector:r._loadedInjector}):NA(e,r,n,this.urlSerializer).pipe(Re(i=>i?this.configLoader.loadChildren(e,r).pipe(Oe(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):kA(r))):Z({routes:[],injector:e})}};function WA(t){t.sort((e,r)=>e.value.outlet===oe?-1:r.value.outlet===oe?1:e.value.outlet.localeCompare(r.value.outlet))}function GA(t){let e=t.value.routeConfig;return e&&e.path===""}function CC(t){let e=[],r=new Set;for(let n of t){if(!GA(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=CC(n.children);e.push(new Jt(n.value,i))}return e.filter(n=>!r.has(n))}function Qb(t){return t.data||{}}function Zb(t){return t.resolve||{}}function qA(t,e,r,n,i,o){return Re(s=>UA(t,e,r,n,s.extractedUrl,i,o).pipe(re(({state:a,tree:c})=>he(b({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function QA(t,e){return Re(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return Z(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of DC(c))s.add(l);let a=0;return Pe(s).pipe(ir(c=>o.has(c)?ZA(c,n,t,e):(c.data=eu(c,c.parent,t).resolve,Z(void 0))),Oe(()=>a++),Qr(1),Re(c=>a===s.size?Z(r):dt))})}function DC(t){let e=t.children.map(r=>DC(r)).flat();return[t,...e]}function ZA(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!pC(i)&&(o[ca]=i.title),KA(o,t,e,n).pipe(re(s=>(t._resolvedData=s,t.data=eu(t,t.parent,r).resolve,null)))}function KA(t,e,r,n){let i=Wh(t);if(i.length===0)return Z({});let o={};return Pe(i).pipe(Re(s=>YA(t[s],e,r,n).pipe(Fn(),Oe(a=>{if(a instanceof ra)throw nu(new Po,a);o[s]=a}))),Qr(1),os(o),Si(s=>yC(s)?dt:qr(s)))}function YA(t,e,r,n){let i=la(e)??n,o=$o(t,i),s=o.resolve?o.resolve(e,r):Cn(i,()=>o(e,r));return $i(s)}function Uh(t){return qt(e=>{let r=t(e);return r?Pe(r).pipe(re(()=>e)):Z(e)})}var wC=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===oe);return i}getResolvedTitleForRoute(n){return n.data[ca]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(XA),providedIn:"root"});let t=e;return t})(),XA=(()=>{let e=class e extends wC{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(E($b))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ho=new z("",{providedIn:"root",factory:()=>({})}),JA=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["ng-component"]],standalone:!0,features:[S],decls:1,vars:0,template:function(i,o){i&1&&De(0,"router-outlet")},dependencies:[sA],encapsulation:2});let t=e;return t})();function yp(t){let e=t.children&&t.children.map(yp),r=e?he(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==oe&&(r.component=JA),r}var aa=new z(""),bp=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(Ll)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Z(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=$i(n.loadComponent()).pipe(re(IC),Oe(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),kn(()=>{this.componentLoaders.delete(n)})),o=new Kr(i,()=>new ge).pipe(Zr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Z({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=e1(i,this.compiler,n,this.onLoadEndListener).pipe(kn(()=>{this.childrenLoaders.delete(i)})),a=new Kr(s,()=>new ge).pipe(Zr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function e1(t,e,r,n){return $i(t.loadChildren()).pipe(re(IC),Re(i=>i instanceof Is||Array.isArray(i)?Z(i):Pe(e.compileModuleAsync(i))),re(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(aa,[],{optional:!0,self:!0}).flat()),{routes:s.map(yp),injector:o}}))}function t1(t){return t&&typeof t=="object"&&"default"in t}function IC(t){return t1(t)?t.default:t}var Cp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(n1),providedIn:"root"});let t=e;return t})(),n1=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),EC=new z(""),_C=new z("");function i1(t,e,r){let n=t.get(_C),i=t.get(ue);return t.get(me).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),r1(t))),{onViewTransitionCreated:c}=n;return c&&Cn(t,()=>c({transition:a,from:e,to:r})),s})}function r1(t){return new Promise(e=>{di({read:()=>setTimeout(e)},{injector:t})})}var o1=new z(""),au=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ge,this.transitionAbortSubject=new ge,this.configLoader=m(bp),this.environmentInjector=m(Vt),this.urlSerializer=m(Vo),this.rootContexts=m(ua),this.location=m(Mo),this.inputBindingEnabled=m(ou,{optional:!0})!==null,this.titleStrategy=m(wC),this.options=m(Ho,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(Cp),this.createViewTransition=m(EC,{optional:!0}),this.navigationErrorHandler=m(o1,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Z(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Jh(o)),i=o=>this.events.next(new ep(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(he(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new we({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Xs,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ne(s=>s.id!==0),re(s=>he(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),qt(s=>{let a=!1,c=!1;return Z(s).pipe(qt(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",en.SupersededByNewNavigation),dt;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?he(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload"){let h="";return this.events.next(new Vi(l.id,this.urlSerializer.serialize(l.rawUrl),h,Zl.IgnoredSameUrlNavigation)),l.resolve(!1),dt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return Z(l).pipe(qt(h=>{let f=this.transitions?.getValue();return this.events.next(new Lo(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?dt:Promise.resolve(h)}),qA(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Oe(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=he(b({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Kl(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:f,source:g,restoredState:y,extras:w}=l,O=new Lo(h,this.urlSerializer.serialize(f),g,y);this.events.next(O);let ae=fC(this.rootComponentType).snapshot;return this.currentTransition=s=he(b({},l),{targetSnapshot:ae,urlAfterRedirects:f,extras:he(b({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,Z(s)}else{let h="";return this.events.next(new Vi(l.id,this.urlSerializer.serialize(l.extractedUrl),h,Zl.IgnoredByUrlHandlingStrategy)),l.resolve(!1),dt}}),Oe(l=>{let u=new Zh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),re(l=>(this.currentTransition=s=he(b({},l),{guards:fA(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),IA(this.environmentInjector,l=>this.events.next(l)),Oe(l=>{if(s.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw nu(this.urlSerializer,l.guardsResult);let u=new Kh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),Ne(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",en.GuardRejected),!1)),Uh(l=>{if(l.guards.canActivateChecks.length)return Z(l).pipe(Oe(u=>{let d=new Yh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),qt(u=>{let d=!1;return Z(u).pipe(QA(this.paramsInheritanceStrategy,this.environmentInjector),Oe({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",en.NoDataFromResolver)}}))}),Oe(u=>{let d=new Xh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Uh(l=>{let u=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(Oe(f=>{d.component=f}),re(()=>{})));for(let f of d.children)h.push(...u(f));return h};return nr(u(l.targetSnapshot.root)).pipe(xi(null),Ct(1))}),Uh(()=>this.afterPreactivation()),qt(()=>{let{currentSnapshot:l,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return d?Pe(d).pipe(re(()=>s)):Z(s)}),re(l=>{let u=aA(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=he(b({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),Oe(()=>{this.events.next(new na)}),dA(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ct(1),Oe({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new kt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),Pn(this.transitionAbortSubject.pipe(Oe(l=>{throw l}))),kn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",en.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Si(l=>{if(c=!0,vC(l))this.events.next(new mi(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),uA(l)?this.events.next(new jo(l.url,l.navigationBehaviorOptions)):s.resolve(!1);else{let u=new ta(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0);try{let d=Cn(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof ra){let{message:h,cancellationCode:f}=nu(this.urlSerializer,d);this.events.next(new mi(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new jo(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(u);let h=n.errorHandler(l);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return dt}))}))}cancelNavigationTransition(n,i,o){let s=new mi(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function s1(t){return t!==Xs}var a1=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(c1),providedIn:"root"});let t=e;return t})(),mp=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},c1=(()=>{let e=class e extends mp{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Li(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),SC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(l1),providedIn:"root"});let t=e;return t})(),l1=(()=>{let e=class e extends SC{constructor(){super(...arguments),this.location=m(Mo),this.urlSerializer=m(Vo),this.options=m(Ho,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(Cp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new gi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=fC(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Lo)this.stateMemento=this.createStateMemento();else if(n instanceof Vi)this.rawUrlTree=i.initialUrl;else if(n instanceof Kl){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof na?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof mi&&(n.code===en.GuardRejected||n.code===en.NoDataFromResolver)?this.restoreHistory(i):n instanceof ta?this.restoreHistory(i,!0):n instanceof kt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof gi?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Li(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ks=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ks||{});function xC(t,e){t.events.pipe(Ne(r=>r instanceof kt||r instanceof mi||r instanceof ta||r instanceof Vi),re(r=>r instanceof kt||r instanceof Vi?Ks.COMPLETE:(r instanceof mi?r.code===en.Redirect||r.code===en.SupersededByNewNavigation:!1)?Ks.REDIRECTING:Ks.FAILED),Ne(r=>r!==Ks.REDIRECTING),Ct(1)).subscribe(()=>{e()})}function u1(t){throw t}var d1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},f1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ft=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=m(kl),this.stateManager=m(SC),this.options=m(Ho,{optional:!0})||{},this.pendingTasks=m(ji),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(au),this.urlSerializer=m(Vo),this.location=m(Mo),this.urlHandlingStrategy=m(Cp),this._events=new ge,this.errorHandler=this.options.errorHandler||u1,this.navigated=!1,this.routeReuseStrategy=m(a1),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(aa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(ou,{optional:!0}),this.eventsSubscription=new Ae,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof mi&&i.code!==en.Redirect&&i.code!==en.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof kt)this.navigated=!0;else if(i instanceof jo){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l=b({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||s1(o.source)},a);this.scheduleNavigation(c,Xs,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}p1(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Xs,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=b({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(yp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":d=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=cC(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return lC(h,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Er(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Xs,null,i)}navigate(n,i={skipLocationChange:!1}){return h1(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},d1):i===!1?o=b({},f1):o=i,Er(n))return Hb(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Hb(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((h,f)=>{c=h,l=f});let d=this.pendingTasks.add();return xC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function h1(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new ge,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof kt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Er(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:jy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:Er(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(v(Ft),v(Xn),$f("tabindex"),v(fe),v(H),v(Kn))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Le("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&X("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",M],skipLocationChange:[2,"skipLocationChange","skipLocationChange",M],replaceUrl:[2,"replaceUrl","replaceUrl",M],routerLink:"routerLink"},standalone:!0,features:[te,Qe]});let t=e;return t})(),Dp=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof kt&&this.update()})}ngAfterContentInit(){Z(this.links.changes,Z(null)).pipe(On()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Pe(n).pipe(On()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=m1(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(v(Ft),v(H),v(fe),v(_t),v(_r,8))},e.\u0275dir=N({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&tt(s,_r,5),i&2){let a;Me(a=Te())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Qe]});let t=e;return t})();function m1(t){return!!t.paths}var ru=class{};var g1=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ne(n=>n instanceof kt),ir(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Fs(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return Pe(o).pipe(On())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=Z(null);let s=o.pipe(Re(a=>a===null?Z(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return Pe([s,a]).pipe(On())}else return s})}};e.\u0275fac=function(i){return new(i||e)(E(Ft),E(Ll),E(Vt),E(ru),E(bp))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wp=new z(""),MC=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Lo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof kt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Vi&&n.code===Zl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Yl&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Yl(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Jy()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function HU(t,...e){return _f([{provide:aa,multi:!0,useValue:t},[],{provide:Xn,useFactory:TC,deps:[Ft]},{provide:Pl,multi:!0,useFactory:AC},e.map(r=>r.\u0275providers)])}function TC(t){return t.routerState.root}function Hi(t,e){return{\u0275kind:t,\u0275providers:e}}function UU(t={}){return Hi(4,[{provide:wp,useFactory:()=>{let r=m(Nh),n=m(me),i=m(au),o=m(Vo);return new MC(o,i,r,n,t)}}])}function AC(){let t=m(mt);return e=>{let r=t.get(Dr);if(e!==r.components[0])return;let n=t.get(Ft),i=t.get(NC);t.get(Ip)===1&&n.initialNavigation(),t.get(OC,null,le.Optional)?.setUpPreloading(),t.get(wp,null,le.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var NC=new z("",{factory:()=>new ge}),Ip=new z("",{providedIn:"root",factory:()=>1});function v1(){return Hi(2,[{provide:Ip,useValue:0},{provide:Fl,multi:!0,deps:[mt],useFactory:e=>{let r=e.get(Sb,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ft),o=e.get(NC);xC(i,()=>{n(!0)}),e.get(au).afterPreactivation=()=>(n(!0),o.closed?Z(void 0):o),i.initialNavigation()}))}}])}function y1(){return Hi(3,[{provide:Fl,multi:!0,useFactory:()=>{let e=m(Ft);return()=>{e.setUpLocationChangeListener()}}},{provide:Ip,useValue:2}])}var OC=new z("");function b1(t){return Hi(0,[{provide:OC,useExisting:g1},{provide:ru,useExisting:t}])}function zU(t){return Hi(5,[{provide:Ho,useValue:t}])}function WU(){return Hi(6,[{provide:Kn,useClass:Th}])}function C1(){return Hi(8,[Gb,{provide:ou,useExisting:Gb}])}function D1(t){let e=[{provide:EC,useValue:i1},{provide:_C,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Hi(9,e)}var Kb=new z("ROUTER_FORROOT_GUARD"),w1=[Mo,{provide:Vo,useClass:Po},Ft,ua,{provide:Xn,useFactory:TC,deps:[Ft]},bp,[]],cu=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[w1,[],{provide:aa,multi:!0,useValue:n},{provide:Kb,useFactory:S1,deps:[[Ft,new sl,new Df]]},{provide:Ho,useValue:i||{}},i?.useHash?E1():_1(),I1(),i?.preloadingStrategy?b1(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?x1(i):[],i?.bindToComponentInputs?C1().\u0275providers:[],i?.enableViewTransitions?D1().\u0275providers:[],M1()]}}static forChild(n){return{ngModule:e,providers:[{provide:aa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(E(Kb,8))},e.\u0275mod=Ht({type:e}),e.\u0275inj=$t({});let t=e;return t})();function I1(){return{provide:wp,useFactory:()=>{let t=m(Nh),e=m(me),r=m(Ho),n=m(au),i=m(Vo);return r.scrollOffset&&t.setOffset(r.scrollOffset),new MC(i,n,t,e,r)}}}function E1(){return{provide:Kn,useClass:Th}}function _1(){return{provide:Kn,useClass:Mh}}function S1(t){return"guarded"}function x1(t){return[t.initialNavigation==="disabled"?y1().\u0275providers:[],t.initialNavigation==="enabledBlocking"?v1().\u0275providers:[]]}var Yb=new z("");function M1(){return[{provide:Yb,useFactory:AC},{provide:Pl,multi:!0,useExisting:Yb}]}var A1=(()=>{let e=class e{constructor(){this._iconNames={},this._icons={}}get iconNames(){return this._iconNames}get icons(){return this._icons}set icons(n){for(let i in n)this._iconNames[i]=i;this._icons=n}getIcon(n){return this.icons[n]||console.warn(`CoreUI WARN: Icon ${n} is not registered in IconService`),this.icons[n]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function N1(t){return t.replace(/([-_][a-z0-9])/ig,e=>e.toUpperCase().replace("-",""))}function O1(t){return t&&t.includes("-")?N1(t):t}var Ep=(()=>{var e,r,n,i,o;let s=class s{constructor(){T(this,e);T(this,r);T(this,n);T(this,i);T(this,o);A(this,e,m(H)),A(this,r,m(jh)),A(this,n,m(A1)),A(this,i,We("")),this.size="",A(this,o,We("")),this.ariaHidden=!0,this.xmlns="http://www.w3.org/2000/svg",this.pointerEvents="none",this.role="img",this.innerHtml=ve(()=>{let c=Array.isArray(this.code())?this.code()[1]??this.code()[0]??"":this.code()||"";return p(this,r).bypassSecurityTrustHtml(this.titleCode+c||"")}),this.code=ve(()=>p(this,i).call(this)?p(this,i).call(this):p(this,n)&&p(this,o).call(this)?p(this,n).getIcon(p(this,o).call(this)):(p(this,o).call(this)&&!p(this,n)?.icons[p(this,o).call(this)]&&console.warn(`c-icon component: icon name '${p(this,o).call(this)}' does not exist for IconSet service. To use icon by 'name' prop you need to add it to IconSet service. +`,p(this,o).call(this)),"")),this.scale=ve(()=>Array.isArray(this.code())&&this.code().length>1?`0 0 ${this.code()[0]}`:"0 0 64 64"),di({write:()=>{p(this,e).nativeElement.innerHTML=this.innerHtml()}})}set content(c){p(this,i).set(c)}set name(c){p(this,o).set(c)}get name(){return p(this,o).call(this)}set viewBox(c){this._viewBox=c}get viewBox(){return this._viewBox??this.scale()}get hostClasses(){return this.computedClasses}get bindInnerHtml(){return this.innerHtml()}get titleCode(){return this.title?`${this.title}`:""}get computedSize(){let c=!this.size&&(this.width||this.height);return this.size==="custom"||c?"custom-size":this.size}get computedClasses(){let c={icon:!0,[`icon-${this.computedSize}`]:!!this.computedSize};return this.customClasses??c}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakMap,s.\u0275fac=function(l){return new(l||s)},s.\u0275dir=N({type:s,selectors:[["svg","cIcon",""]],hostVars:8,hostBindings:function(l,u){l&2&&(br("innerHtml",u.bindInnerHtml,Ly),X("viewBox",u.viewBox)("aria-hidden",u.ariaHidden)("xmlns",u.xmlns)("pointer-events",u.pointerEvents)("role",u.role),x(u.hostClasses))},inputs:{content:[0,"cIcon","content"],customClasses:"customClasses",size:"size",title:"title",height:"height",width:"width",name:[2,"name","name",O1],viewBox:"viewBox",xmlns:"xmlns",pointerEvents:[0,"pointer-events","pointerEvents"],role:"role"},exportAs:["cIcon"],standalone:!0,features:[te]});let t=s;return t})();var xn=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(xn||{}),u3="*";function Ui(t,e){return{type:xn.Trigger,name:t,definitions:e,options:{}}}function je(t,e=null){return{type:xn.Animate,styles:e,timings:t}}function fa(t,e=null){return{type:xn.Group,steps:t,options:e}}function R1(t,e=null){return{type:xn.Sequence,steps:t,options:e}}function be(t){return{type:xn.Style,styles:t,offset:null}}function St(t,e,r){return{type:xn.State,name:t,styles:e,options:r}}function xt(t,e,r=null){return{type:xn.Transition,expr:t,animation:e,options:r}}function ha(t,e=null){return{type:xn.Reference,animation:t,options:e}}function FC(t,e=null){return{type:xn.AnimateRef,animation:t,options:e}}function vi(t,e,r=null){return{type:xn.Query,selector:t,animation:e,options:r}}var Mp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(k1),providedIn:"root"});let t=e;return t})(),_p=class{},k1=(()=>{let e=class e extends Mp{constructor(n,i){super(),this.animationModuleType=m(Iy,{optional:!0}),this._nextAnimationId=0;let o={id:"0",encapsulation:nn.None,styles:[],data:{animation:[]}};if(this._renderer=n.createRenderer(i.body,o),this.animationModuleType===null&&!P1(this._renderer))throw new L(3600,!1)}build(n){let i=this._nextAnimationId;this._nextAnimationId++;let o=Array.isArray(n)?R1(n):n;return PC(this._renderer,null,i,"register",[o]),new Sp(i,this._renderer)}};e.\u0275fac=function(i){return new(i||e)(E(bn),E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sp=class extends _p{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new xp(this._id,e,r||{},this._renderer)}},xp=class{constructor(e,r,n,i){this.id=e,this.element=r,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){PC(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return F1(this._renderer)?.engine?.players[this.id]?.getPosition()??0}};function PC(t,e,r,n,i){t.setProperty(e,`@@${r}:${n}`,i)}function F1(t){let e=t.\u0275type;return e===0?t:e===1?t.animationRenderer:null}function P1(t){let e=t.\u0275type;return e===0||e===1}var RC=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},kC=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},d3="!";var $e="top",rt="bottom",Xe="right",Ge="left",lu="auto",zi=[$e,rt,Xe,Ge],yi="start",Sr="end",LC="clippingParents",uu="viewport",Uo="popper",jC="reference",Tp=zi.reduce(function(t,e){return t.concat([e+"-"+yi,e+"-"+Sr])},[]),du=[].concat(zi,[lu]).reduce(function(t,e){return t.concat([e,e+"-"+yi,e+"-"+Sr])},[]),j1="beforeRead",B1="read",V1="afterRead",$1="beforeMain",H1="main",U1="afterMain",z1="beforeWrite",W1="write",G1="afterWrite",BC=[j1,B1,V1,$1,H1,U1,z1,W1,G1];function ct(t){return t?(t.nodeName||"").toLowerCase():null}function Be(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function un(t){var e=Be(t).Element;return t instanceof e||t instanceof Element}function ot(t){var e=Be(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function zo(t){if(typeof ShadowRoot>"u")return!1;var e=Be(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function q1(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},o=e.elements[r];!ot(o)||!ct(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Q1(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],o=e.attributes[n]||{},s=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),a=s.reduce(function(c,l){return c[l]="",c},{});!ot(i)||!ct(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}var VC={name:"applyStyles",enabled:!0,phase:"write",fn:q1,effect:Q1,requires:["computeStyles"]};function lt(t){return t.split("-")[0]}var Mn=Math.max,xr=Math.min,bi=Math.round;function Wo(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function pa(){return!/^((?!chrome|android).)*safari/i.test(Wo())}function dn(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,o=1;e&&ot(t)&&(i=t.offsetWidth>0&&bi(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&bi(n.height)/t.offsetHeight||1);var s=un(t)?Be(t):window,a=s.visualViewport,c=!pa()&&r,l=(n.left+(c&&a?a.offsetLeft:0))/i,u=(n.top+(c&&a?a.offsetTop:0))/o,d=n.width/i,h=n.height/o;return{width:d,height:h,top:u,right:l+d,bottom:u+h,left:l,x:l,y:u}}function Mr(t){var e=dn(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function ma(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&zo(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Pt(t){return Be(t).getComputedStyle(t)}function Ap(t){return["table","td","th"].indexOf(ct(t))>=0}function yt(t){return((un(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ci(t){return ct(t)==="html"?t:t.assignedSlot||t.parentNode||(zo(t)?t.host:null)||yt(t)}function $C(t){return!ot(t)||Pt(t).position==="fixed"?null:t.offsetParent}function Z1(t){var e=/firefox/i.test(Wo()),r=/Trident/i.test(Wo());if(r&&ot(t)){var n=Pt(t);if(n.position==="fixed")return null}var i=Ci(t);for(zo(i)&&(i=i.host);ot(i)&&["html","body"].indexOf(ct(i))<0;){var o=Pt(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Tn(t){for(var e=Be(t),r=$C(t);r&&Ap(r)&&Pt(r).position==="static";)r=$C(r);return r&&(ct(r)==="html"||ct(r)==="body"&&Pt(r).position==="static")?e:r||Z1(t)||e}function Tr(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ar(t,e,r){return Mn(t,xr(e,r))}function HC(t,e,r){var n=Ar(t,e,r);return n>r?r:n}function ga(){return{top:0,right:0,bottom:0,left:0}}function va(t){return Object.assign({},ga(),t)}function ya(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var K1=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,va(typeof e!="number"?e:ya(e,zi))};function Y1(t){var e,r=t.state,n=t.name,i=t.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,a=lt(r.placement),c=Tr(a),l=[Ge,Xe].indexOf(a)>=0,u=l?"height":"width";if(!(!o||!s)){var d=K1(i.padding,r),h=Mr(o),f=c==="y"?$e:Ge,g=c==="y"?rt:Xe,y=r.rects.reference[u]+r.rects.reference[c]-s[c]-r.rects.popper[u],w=s[c]-r.rects.reference[c],O=Tn(o),ae=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,ie=y/2-w/2,Y=d[f],de=ae-h[u]-d[g],se=ae/2-h[u]/2+ie,Ce=Ar(Y,se,de),He=c;r.modifiersData[n]=(e={},e[He]=Ce,e.centerOffset=Ce-se,e)}}function X1(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||ma(e.elements.popper,i)&&(e.elements.arrow=i))}var UC={name:"arrow",enabled:!0,phase:"main",fn:Y1,effect:X1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fn(t){return t.split("-")[1]}var J1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function eN(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:bi(r*i)/i||0,y:bi(n*i)/i||0}}function zC(t){var e,r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,d=t.isFixed,h=s.x,f=h===void 0?0:h,g=s.y,y=g===void 0?0:g,w=typeof u=="function"?u({x:f,y}):{x:f,y};f=w.x,y=w.y;var O=s.hasOwnProperty("x"),ae=s.hasOwnProperty("y"),ie=Ge,Y=$e,de=window;if(l){var se=Tn(r),Ce="clientHeight",He="clientWidth";if(se===Be(r)&&(se=yt(r),Pt(se).position!=="static"&&a==="absolute"&&(Ce="scrollHeight",He="scrollWidth")),se=se,i===$e||(i===Ge||i===Xe)&&o===Sr){Y=rt;var qe=d&&se===de&&de.visualViewport?de.visualViewport.height:se[Ce];y-=qe-n.height,y*=c?1:-1}if(i===Ge||(i===$e||i===rt)&&o===Sr){ie=Xe;var Ue=d&&se===de&&de.visualViewport?de.visualViewport.width:se[He];f-=Ue-n.width,f*=c?1:-1}}var bt=Object.assign({position:a},l&&J1),hn=u===!0?eN({x:f,y},Be(r)):{x:f,y};if(f=hn.x,y=hn.y,c){var Mt;return Object.assign({},bt,(Mt={},Mt[Y]=ae?"0":"",Mt[ie]=O?"0":"",Mt.transform=(de.devicePixelRatio||1)<=1?"translate("+f+"px, "+y+"px)":"translate3d("+f+"px, "+y+"px, 0)",Mt))}return Object.assign({},bt,(e={},e[Y]=ae?y+"px":"",e[ie]=O?f+"px":"",e.transform="",e))}function tN(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,s=o===void 0?!0:o,a=r.roundOffsets,c=a===void 0?!0:a,l={placement:lt(e.placement),variation:fn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,zC(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,zC(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var WC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tN,data:{}};var fu={passive:!0};function nN(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,o=i===void 0?!0:i,s=n.resize,a=s===void 0?!0:s,c=Be(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach(function(u){u.addEventListener("scroll",r.update,fu)}),a&&c.addEventListener("resize",r.update,fu),function(){o&&l.forEach(function(u){u.removeEventListener("scroll",r.update,fu)}),a&&c.removeEventListener("resize",r.update,fu)}}var GC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:nN,data:{}};var iN={left:"right",right:"left",bottom:"top",top:"bottom"};function Go(t){return t.replace(/left|right|bottom|top/g,function(e){return iN[e]})}var rN={start:"end",end:"start"};function hu(t){return t.replace(/start|end/g,function(e){return rN[e]})}function Nr(t){var e=Be(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Or(t){return dn(yt(t)).left+Nr(t).scrollLeft}function Np(t,e){var r=Be(t),n=yt(t),i=r.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;var l=pa();(l||!l&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:a+Or(t),y:c}}function Op(t){var e,r=yt(t),n=Nr(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=Mn(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Mn(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+Or(t),c=-n.scrollTop;return Pt(i||r).direction==="rtl"&&(a+=Mn(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}function Rr(t){var e=Pt(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function pu(t){return["html","body","#document"].indexOf(ct(t))>=0?t.ownerDocument.body:ot(t)&&Rr(t)?t:pu(Ci(t))}function Wi(t,e){var r;e===void 0&&(e=[]);var n=pu(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),o=Be(n),s=i?[o].concat(o.visualViewport||[],Rr(n)?n:[]):n,a=e.concat(s);return i?a:a.concat(Wi(Ci(s)))}function qo(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function oN(t,e){var r=dn(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function qC(t,e,r){return e===uu?qo(Np(t,r)):un(e)?oN(e,r):qo(Op(yt(t)))}function sN(t){var e=Wi(Ci(t)),r=["absolute","fixed"].indexOf(Pt(t).position)>=0,n=r&&ot(t)?Tn(t):t;return un(n)?e.filter(function(i){return un(i)&&ma(i,n)&&ct(i)!=="body"}):[]}function Rp(t,e,r,n){var i=e==="clippingParents"?sN(t):[].concat(e),o=[].concat(i,[r]),s=o[0],a=o.reduce(function(c,l){var u=qC(t,l,n);return c.top=Mn(u.top,c.top),c.right=xr(u.right,c.right),c.bottom=xr(u.bottom,c.bottom),c.left=Mn(u.left,c.left),c},qC(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ba(t){var e=t.reference,r=t.element,n=t.placement,i=n?lt(n):null,o=n?fn(n):null,s=e.x+e.width/2-r.width/2,a=e.y+e.height/2-r.height/2,c;switch(i){case $e:c={x:s,y:e.y-r.height};break;case rt:c={x:s,y:e.y+e.height};break;case Xe:c={x:e.x+e.width,y:a};break;case Ge:c={x:e.x-r.width,y:a};break;default:c={x:e.x,y:e.y}}var l=i?Tr(i):null;if(l!=null){var u=l==="y"?"height":"width";switch(o){case yi:c[l]=c[l]-(e[u]/2-r[u]/2);break;case Sr:c[l]=c[l]+(e[u]/2-r[u]/2);break;default:}}return c}function An(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,o=r.strategy,s=o===void 0?t.strategy:o,a=r.boundary,c=a===void 0?LC:a,l=r.rootBoundary,u=l===void 0?uu:l,d=r.elementContext,h=d===void 0?Uo:d,f=r.altBoundary,g=f===void 0?!1:f,y=r.padding,w=y===void 0?0:y,O=va(typeof w!="number"?w:ya(w,zi)),ae=h===Uo?jC:Uo,ie=t.rects.popper,Y=t.elements[g?ae:h],de=Rp(un(Y)?Y:Y.contextElement||yt(t.elements.popper),c,u,s),se=dn(t.elements.reference),Ce=ba({reference:se,element:ie,strategy:"absolute",placement:i}),He=qo(Object.assign({},ie,Ce)),qe=h===Uo?He:se,Ue={top:de.top-qe.top+O.top,bottom:qe.bottom-de.bottom+O.bottom,left:de.left-qe.left+O.left,right:qe.right-de.right+O.right},bt=t.modifiersData.offset;if(h===Uo&&bt){var hn=bt[i];Object.keys(Ue).forEach(function(Mt){var Gi=[Xe,rt].indexOf(Mt)>=0?1:-1,qi=[$e,rt].indexOf(Mt)>=0?"y":"x";Ue[Mt]+=hn[qi]*Gi})}return Ue}function kp(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,s=r.padding,a=r.flipVariations,c=r.allowedAutoPlacements,l=c===void 0?du:c,u=fn(n),d=u?a?Tp:Tp.filter(function(g){return fn(g)===u}):zi,h=d.filter(function(g){return l.indexOf(g)>=0});h.length===0&&(h=d);var f=h.reduce(function(g,y){return g[y]=An(t,{placement:y,boundary:i,rootBoundary:o,padding:s})[lt(y)],g},{});return Object.keys(f).sort(function(g,y){return f[g]-f[y]})}function aN(t){if(lt(t)===lu)return[];var e=Go(t);return[hu(t),e,hu(e)]}function cN(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,s=r.altAxis,a=s===void 0?!0:s,c=r.fallbackPlacements,l=r.padding,u=r.boundary,d=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,g=f===void 0?!0:f,y=r.allowedAutoPlacements,w=e.options.placement,O=lt(w),ae=O===w,ie=c||(ae||!g?[Go(w)]:aN(w)),Y=[w].concat(ie).reduce(function(Pr,Ei){return Pr.concat(lt(Ei)===lu?kp(e,{placement:Ei,boundary:u,rootBoundary:d,padding:l,flipVariations:g,allowedAutoPlacements:y}):Ei)},[]),de=e.rects.reference,se=e.rects.popper,Ce=new Map,He=!0,qe=Y[0],Ue=0;Ue=0,qi=Gi?"width":"height",Gt=An(e,{placement:bt,boundary:u,rootBoundary:d,altBoundary:h,padding:l}),pn=Gi?Mt?Xe:Ge:Mt?rt:$e;de[qi]>se[qi]&&(pn=Go(pn));var Na=Go(pn),Qi=[];if(o&&Qi.push(Gt[hn]<=0),a&&Qi.push(Gt[pn]<=0,Gt[Na]<=0),Qi.every(function(Pr){return Pr})){qe=bt,He=!1;break}Ce.set(bt,Qi)}if(He)for(var Oa=g?3:1,Eu=function(Ei){var ns=Y.find(function(ka){var Zi=Ce.get(ka);if(Zi)return Zi.slice(0,Ei).every(function(_u){return _u})});if(ns)return qe=ns,"break"},ts=Oa;ts>0;ts--){var Ra=Eu(ts);if(Ra==="break")break}e.placement!==qe&&(e.modifiersData[n]._skip=!0,e.placement=qe,e.reset=!0)}}var QC={name:"flip",enabled:!0,phase:"main",fn:cN,requiresIfExists:["offset"],data:{_skip:!1}};function ZC(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function KC(t){return[$e,Xe,rt,Ge].some(function(e){return t[e]>=0})}function lN(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=An(e,{elementContext:"reference"}),a=An(e,{altBoundary:!0}),c=ZC(s,n),l=ZC(a,i,o),u=KC(c),d=KC(l);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var YC={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lN};function uN(t,e,r){var n=lt(t),i=[Ge,$e].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Ge,Xe].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}function dN(t){var e=t.state,r=t.options,n=t.name,i=r.offset,o=i===void 0?[0,0]:i,s=du.reduce(function(u,d){return u[d]=uN(d,e.rects,o),u},{}),a=s[e.placement],c=a.x,l=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[n]=s}var XC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:dN};function fN(t){var e=t.state,r=t.name;e.modifiersData[r]=ba({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var JC={name:"popperOffsets",enabled:!0,phase:"read",fn:fN,data:{}};function Fp(t){return t==="x"?"y":"x"}function hN(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,o=i===void 0?!0:i,s=r.altAxis,a=s===void 0?!1:s,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,h=r.tether,f=h===void 0?!0:h,g=r.tetherOffset,y=g===void 0?0:g,w=An(e,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),O=lt(e.placement),ae=fn(e.placement),ie=!ae,Y=Tr(O),de=Fp(Y),se=e.modifiersData.popperOffsets,Ce=e.rects.reference,He=e.rects.popper,qe=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,Ue=typeof qe=="number"?{mainAxis:qe,altAxis:qe}:Object.assign({mainAxis:0,altAxis:0},qe),bt=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,hn={x:0,y:0};if(se){if(o){var Mt,Gi=Y==="y"?$e:Ge,qi=Y==="y"?rt:Xe,Gt=Y==="y"?"height":"width",pn=se[Y],Na=pn+w[Gi],Qi=pn-w[qi],Oa=f?-He[Gt]/2:0,Eu=ae===yi?Ce[Gt]:He[Gt],ts=ae===yi?-He[Gt]:-Ce[Gt],Ra=e.elements.arrow,Pr=f&&Ra?Mr(Ra):{width:0,height:0},Ei=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ga(),ns=Ei[Gi],ka=Ei[qi],Zi=Ar(0,Ce[Gt],Pr[Gt]),_u=ie?Ce[Gt]/2-Oa-Zi-ns-Ue.mainAxis:Eu-Zi-ns-Ue.mainAxis,BD=ie?-Ce[Gt]/2+Oa+Zi+ka+Ue.mainAxis:ts+Zi+ka+Ue.mainAxis,Su=e.elements.arrow&&Tn(e.elements.arrow),VD=Su?Y==="y"?Su.clientTop||0:Su.clientLeft||0:0,am=(Mt=bt?.[Y])!=null?Mt:0,$D=pn+_u-am-VD,HD=pn+BD-am,cm=Ar(f?xr(Na,$D):Na,pn,f?Mn(Qi,HD):Qi);se[Y]=cm,hn[Y]=cm-pn}if(a){var lm,UD=Y==="x"?$e:Ge,zD=Y==="x"?rt:Xe,Ki=se[de],Fa=de==="y"?"height":"width",um=Ki+w[UD],dm=Ki-w[zD],xu=[$e,Ge].indexOf(O)!==-1,fm=(lm=bt?.[de])!=null?lm:0,hm=xu?um:Ki-Ce[Fa]-He[Fa]-fm+Ue.altAxis,pm=xu?Ki+Ce[Fa]+He[Fa]-fm-Ue.altAxis:dm,mm=f&&xu?HC(hm,Ki,pm):Ar(f?hm:um,Ki,f?pm:dm);se[de]=mm,hn[de]=mm-Ki}e.modifiersData[n]=hn}}var eD={name:"preventOverflow",enabled:!0,phase:"main",fn:hN,requiresIfExists:["offset"]};function Pp(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Lp(t){return t===Be(t)||!ot(t)?Nr(t):Pp(t)}function pN(t){var e=t.getBoundingClientRect(),r=bi(e.width)/t.offsetWidth||1,n=bi(e.height)/t.offsetHeight||1;return r!==1||n!==1}function jp(t,e,r){r===void 0&&(r=!1);var n=ot(e),i=ot(e)&&pN(e),o=yt(e),s=dn(t,i,r),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((ct(e)!=="body"||Rr(o))&&(a=Lp(e)),ot(e)?(c=dn(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=Or(o))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function mN(t){var e=new Map,r=new Set,n=[];t.forEach(function(o){e.set(o.name,o)});function i(o){r.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!r.has(a)){var c=e.get(a);c&&i(c)}}),n.push(o)}return t.forEach(function(o){r.has(o.name)||i(o)}),n}function Bp(t){var e=mN(t);return BC.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function Vp(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function $p(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var tD={placement:"bottom",modifiers:[],strategy:"absolute"};function nD(){for(var t=arguments.length,e=new Array(t),r=0;r{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Us(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Up)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(E(zt))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Da;function vN(){if(Da==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Da=!0}))}finally{Da=Da||!1}return Da}function zp(t){return vN()?t:!!t.capture}var wa=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(wa||{}),mu;function uW(){if(typeof document!="object"||!document)return wa.NORMAL;if(mu==null){let t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",t.appendChild(r),document.body.appendChild(t),mu=wa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,mu=t.scrollLeft===0?wa.NEGATED:wa.INVERTED),t.remove()}return mu}var Hp;function yN(){if(Hp==null){let t=typeof document<"u"?document.head:null;Hp=!!(t&&(t.createShadowRoot||t.attachShadow))}return Hp}function rD(t){if(yN()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function oD(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Qo(t){return t.composedPath?t.composedPath()[0]:t.target}function aD(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function cD(t){return t!=null&&`${t}`!="false"}function lD(t,e=0){return bN(t)?Number(t):arguments.length===2?e:0}function bN(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Wp(t){return Array.isArray(t)?t:[t]}function gu(t){return t instanceof H?t.nativeElement:t}var CN=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var uD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=$t({providers:[CN]});let t=e;return t})();var dD=new Set,kr,DN=(()=>{let e=class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IN}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&wN(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(i){return new(i||e)(E(Di),E(Os,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wN(t,e){if(!dD.has(t))try{kr||(kr=document.createElement("style"),e&&kr.setAttribute("nonce",e),kr.setAttribute("type","text/css"),document.head.appendChild(kr)),kr.sheet&&(kr.sheet.insertRule(`@media ${t} {body{ }}`,0),dD.add(t))}catch(r){console.error(r)}}function IN(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Ia=(()=>{let e=class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new ge}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return fD(Wp(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=fD(Wp(n)).map(a=>this._registerQuery(a).observable),s=nr(o);return s=Rn(s.pipe(Ct(1)),s.pipe(as(1),ei(0))),s.pipe(re(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:u})=>{c.matches=c.matches||l,c.breakpoints[u]=l}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new ee(a=>{let c=l=>this._zone.run(()=>a.next(l));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(cs(i),re(({matches:a})=>({query:n,matches:a})),Pn(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};e.\u0275fac=function(i){return new(i||e)(E(DN),E(me))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function fD(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var UN=200,qp=class{constructor(e,r){this._letterKeyStream=new ge,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new ge,this.selectedItem=this._selectedItem;let n=typeof r?.debounceInterval=="number"?r.debounceInterval:UN;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let r=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(Oe(r=>this._pressedLetters.push(r)),ei(e),Ne(()=>this._pressedLetters.length>0),re(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let n=1;nn.disabled,this.tabOut=new ge,this.change=new ge,e instanceof lo?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Nl(e)&&(this._effectRef=st(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let r=this._getItemsArray();return this._typeahead=new qp(r,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,r=10){return this._pageUpAndDown={enabled:e,delta:r},this}setActiveItem(e){let r=this._activeItem;this.updateActiveItem(e),this._activeItem!==r&&this.change.next(this._activeItemIndex)}onKeydown(e){let r=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Ea=class extends Qp{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var zN=(()=>{let e=class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return GN(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=WN(eO(n));if(i&&(hD(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=hD(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!XN(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return JN(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}};e.\u0275fac=function(i){return new(i||e)(E(Di))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function WN(t){try{return t.frameElement}catch{return null}}function GN(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function qN(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function QN(t){return KN(t)&&t.type=="hidden"}function ZN(t){return YN(t)&&t.hasAttribute("href")}function KN(t){return t.nodeName.toLowerCase()=="input"}function YN(t){return t.nodeName.toLowerCase()=="a"}function gD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function hD(t){if(!gD(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function XN(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function JN(t){return QN(t)?!1:qN(t)||ZN(t)||t.hasAttribute("contenteditable")||gD(t)}function eO(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zp=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1,s){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?di(e,{injector:this._injector}):setTimeout(e)}},tO=(()=>{let e=class e{constructor(n,i,o){this._checker=n,this._ngZone=i,this._injector=m(mt),this._document=o}create(n,i=!1){return new Zp(n,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(E(zN),E(me),E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vD=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(n){this.focusTrap&&(this.focusTrap.enabled=n)}constructor(n,i,o){this._elementRef=n,this._focusTrapFactory=i,this._previouslyFocusedElement=null,m(Di).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(n){let i=n.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=oD(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(i){return new(i||e)(v(H),v(tO),v(ue))},e.\u0275dir=N({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",M],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",M]},exportAs:["cdkTrapFocus"],standalone:!0,features:[te,Qe]});let t=e;return t})();function nO(t){return t.buttons===0||t.detail===0}function iO(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var rO=new z("cdk-input-modality-detector-options"),oO={ignoreKeys:[18,17,224,91,16]},yD=650,Zo=zp({passive:!0,capture:!0}),sO=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new we(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Qo(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(iO(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Qo(a)},this._options=b(b({},oO),s),this.modalityDetected=this._modality.pipe(as(1)),this.modalityChanged=this.modalityDetected.pipe(rc()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Zo),o.addEventListener("mousedown",this._onMousedown,Zo),o.addEventListener("touchstart",this._onTouchstart,Zo)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Zo),document.removeEventListener("mousedown",this._onMousedown,Zo),document.removeEventListener("touchstart",this._onTouchstart,Zo))}};e.\u0275fac=function(i){return new(i||e)(E(Di),E(me),E(ue),E(rO,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yu=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(yu||{}),aO=new z("cdk-focus-monitor-default-options"),vu=zp({passive:!0,capture:!0}),bD=(()=>{let e=class e{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ge,this._rootNodeFocusAndBlurListener=c=>{let l=Qo(c);for(let u=l;u;u=u.parentElement)c.type==="focus"?this._onFocus(c,u):this._onBlur(c,u)},this._document=s,this._detectionMode=a?.detectionMode||yu.IMMEDIATE}monitor(n,i=!1){let o=gu(n);if(!this._platform.isBrowser||o.nodeType!==1)return Z();let s=rD(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new ge,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=gu(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=gu(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,i,l)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===yu.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===yu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?yD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Qo(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,vu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,vu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{let e=class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=m(Ia).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Fr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fr.BLACK_ON_WHITE}return Fr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Gp,pD,mD),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Fr.BLACK_ON_WHITE?n.add(Gp,pD):i===Fr.WHITE_ON_BLACK&&n.add(Gp,mD)}}};e.\u0275fac=function(i){return new(i||e)(E(Di),E(ue))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),CD=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(E(cO))},e.\u0275mod=Ht({type:e}),e.\u0275inj=$t({imports:[uD]});let t=e;return t})();var V=["*"],Ko=["*","*"];function uO(t,e){t&1&&Ee(0)}function dO(t,e){t&1&&Ee(0)}function fO(t,e){t&1&&Ee(0)}function hO(t,e){if(t&1){let r=Bi();P(0,"button",7),Le("click",function(){Wn(r);let i=R();return Gn(i.toggleItem())}),j(1,fO,1,0,"ng-container",5),F()}if(t&2){let r=R(),n=Fe(8);I("collapsed",!r.visible),X("aria-controls",r.contentId),D(),I("ngTemplateOutlet",r.templates.accordionHeader||n)("ngTemplateOutletContext",r.itemContext)}}function pO(t,e){t&1&&k(0)}function mO(t,e){t&1&&Ee(0)}function gO(t,e){if(t&1&&(P(0,"div",8),j(1,mO,1,0,"ng-container",5),F()),t&2){let r=R(),n=Fe(12);D(),I("ngTemplateOutlet",r.templates.accordionBody||n)("ngTemplateOutletContext",r.itemContext)}}function vO(t,e){t&1&&k(0,1)}function yO(t,e){t&1&&Ee(0)}function bO(t,e){if(t&1&&j(0,yO,1,0,"ng-container",1),t&2){let r=R(2),n=Fe(2);I("ngTemplateOutlet",(r.templates==null?null:r.templates.alertButtonCloseTemplate)||n)}}function CO(t,e){if(t&1&&(j(0,bO,1,1,"ng-container"),k(1)),t&2){let r=R();J(r.dismissible?0:-1)}}function DO(t,e){if(t&1){let r=Bi();P(0,"button",2),Le("click",function(){Wn(r);let i=R();return Gn(i.visible=!1)}),F()}}var wO=()=>[Rb];function IO(t,e){if(t&1&&De(0,"img",1),t&2){let r,n=R(3);Rl("alt",n.alt()),I("ngSrc",(r=n.src())!==null&&r!==void 0?r:"")}}function EO(t,e){t&1&&(Ns(),P(0,"svg",2),De(1,"rect",3),F())}function _O(t,e){t&1&&(j(0,IO,1,2)(1,EO,2,0),W0(2,0,wO,null,1),G0(),q0())}function SO(t,e){if(t&1&&j(0,_O,4,0),t&2){let r=R();J(r.src()?0:-1)}}function xO(t,e){if(t&1&&De(0,"span",0),t&2){let r=R();I("ngClass",r.statusClass())}}var wi=()=>({});function MO(t,e){t&1&&Ee(0)}function TO(t,e){if(t&1&&(P(0,"a",1),j(1,MO,1,0,"ng-container",3),F()),t&2){let r,n,i,o,s,a,c,l=R(),u=Fe(3);I("routerLink",l.url)("cHtmlAttr",(r=l.attributes)!==null&&r!==void 0?r:Xt(11,wi))("target",l.attributes==null?null:l.attributes.target)("queryParams",(n=l.linkProps==null?null:l.linkProps.queryParams)!==null&&n!==void 0?n:null)("fragment",l.linkProps==null?null:l.linkProps.fragment)("queryParamsHandling",(i=l.linkProps==null?null:l.linkProps.queryParamsHandling)!==null&&i!==void 0?i:null)("preserveFragment",(o=l.linkProps==null?null:l.linkProps.preserveFragment)!==null&&o!==void 0?o:!1)("skipLocationChange",(s=l.linkProps==null?null:l.linkProps.skipLocationChange)!==null&&s!==void 0?s:!1)("replaceUrl",(a=l.linkProps==null?null:l.linkProps.replaceUrl)!==null&&a!==void 0?a:!1)("state",(c=l.linkProps==null?null:l.linkProps.state)!==null&&c!==void 0?c:Xt(12,wi)),D(),I("ngTemplateOutlet",u)}}function AO(t,e){t&1&&Ee(0)}function NO(t,e){if(t&1&&(P(0,"span",2),j(1,AO,1,0,"ng-container",3),F()),t&2){let r,n=R(),i=Fe(3);I("cHtmlAttr",(r=n.attributes)!==null&&r!==void 0?r:Xt(2,wi)),D(),I("ngTemplateOutlet",i)}}function OO(t,e){t&1&&k(0)}function RO(t,e){if(t&1&&(P(0,"c-breadcrumb-item",1),_e(1),F()),t&2){let r=R(),n=r.$implicit,i=r.$index,o=r.$count;I("active",i===o-1)("url",n==null?null:n.url)("attributes",n==null?null:n.attributes)("linkProps",n==null?null:n.linkProps),D(),Qn(" ",n==null?null:n.label," ")}}function kO(t,e){if(t&1&&j(0,RO,2,5,"c-breadcrumb-item",1),t&2){let r=e.$implicit,n=e.$index,i=e.$count;J(r!=null&&r.label&&((r==null||r.url==null?null:r.url.slice(-1))==="/"||n===i-1)?0:-1)}}var FO=["content"];function PO(t,e){t&1&&(P(0,"div",null,0),k(2),F())}function LO(t,e){if(t&1&&(De(0,"span"),P(1,"span",1),_e(2),F()),t&2){let r=R();x(r.carouselControlIconClass),X("aria-label",r.direction)("aria-hidden",!0),D(2),Ve(r.caption)}}var jO=t=>({active:t});function BO(t,e){if(t&1){let r=Bi();P(0,"button",2),Le("click",function(){let i=Wn(r).$index,o=R();return Gn(o.onClick(i))}),F()}if(t&2){let r=e.$index,n=R();x(Cr(4,jO,n.active===r)),X("data-coreui-target",r)("aria-current",n.active===r)}}function VO(t,e){t&1&&k(0)}function $O(t,e){if(t&1&&(P(0,"div",0),k(1),F()),t&2){let r=R();I("ngClass",r.headerClasses)}}function HO(t,e){t&1&&k(0,1)}function UO(t,e){t&1&&Ee(0)}function zO(t,e){if(t&1&&(P(0,"div",3),k(1),F()),t&2){let r=R();I("ngClass",r.containerClass)}}function WO(t,e){t&1&&k(0,1)}var GO=["modalContentRef"],qO="[_nghost-%COMP%]{display:list-item;text-align:-webkit-match-parent;text-align:match-parent}",QO=["popoverTemplate"],ZO=t=>({"popover-arrow":t});function KO(t,e){t&1&&Ee(0)}function YO(t,e){if(t&1&&j(0,KO,1,0,"ng-container",3),t&2){R();let r=Fe(4);I("ngTemplateOutlet",r)}}function XO(t,e){t&1&&Ee(0)}function JO(t,e){if(t&1&&(P(0,"c-progress-bar",1),j(1,XO,1,0,"ng-container",3),F()),t&2){let r=R(),n=Fe(4);I("animated",r.pbd==null?null:r.pbd.animated)("variant",r.pbd==null?null:r.pbd.variant)("color",r.pbd==null?null:r.pbd.color),D(),I("ngTemplateOutlet",n)}}function eR(t,e){t&1&&Ee(0)}function tR(t,e){if(t&1&&(P(0,"c-progress-bar",2),j(1,eR,1,0,"ng-container",3),F()),t&2){let r=R(),n=Fe(4);I("width",r.pbd==null?null:r.pbd.percent())("animated",r.pbd==null?null:r.pbd.animated)("variant",r.pbd==null?null:r.pbd.variant)("color",r.pbd==null?null:r.pbd.color),D(),I("ngTemplateOutlet",n)}}function nR(t,e){t&1&&k(0)}function iR(t,e){if(t&1&&De(0,"img",1),t&2){let r=R(2);I("cHtmlAttr",r.brandFull)("ngClass","sidebar-brand-full")}}function rR(t,e){if(t&1&&De(0,"img",1),t&2){let r=R(2);I("cHtmlAttr",r.brandNarrow)("ngClass","sidebar-brand-narrow")}}function oR(t,e){if(t&1&&(P(0,"a",0),j(1,iR,1,2,"img",1)(2,rR,1,2,"img",1),F()),t&2){let r=R();I("routerLink",r.routerLink),D(),J(r.brandFull?1:-1),D(),J(r.brandNarrow?2:-1)}}function sR(t,e){t&1&&k(0)}function aR(t,e){if(t&1&&(sn(0),_e(1),an()),t&2){let r,n=R();D(),Ve((r=n.item==null?null:n.item.name)!==null&&r!==void 0?r:"")}}var wu=t=>({$implicit:t}),cR=()=>({exact:!1});function lR(t,e){t&1&&Ee(0)}function uR(t,e){if(t&1&&(P(0,"span",6),nt(1,"cSidebarNavBadge"),_e(2),F()),t&2){let r=R(2);I("ngClass",it(1,2,r.item)),D(2),Ve(r.item.badge==null?null:r.item.badge.text)}}function dR(t,e){if(t&1&&(P(0,"a",1),nt(1,"cSidebarNavLink"),j(2,lR,1,0,"ng-container",4),De(3,"c-sidebar-nav-link-content",5),j(4,uR,3,4,"span",6),F()),t&2){let r,n=R(),i=Fe(4);I("cHtmlAttr",(r=n.item.attributes)!==null&&r!==void 0?r:Xt(8,wi))("ngClass",it(1,6,n.item)),D(2),I("ngTemplateOutlet",i)("ngTemplateOutletContext",Cr(9,wu,n.item)),D(),I("item",n.item),D(),J(n.item.badge?4:-1)}}function fR(t,e){t&1&&Ee(0)}function hR(t,e){if(t&1&&(P(0,"span",6),nt(1,"cSidebarNavBadge"),_e(2),F()),t&2){let r=R(2);I("ngClass",it(1,2,r.item)),D(2),Ve(r.item.badge==null?null:r.item.badge.text)}}function pR(t,e){if(t&1){let r=Bi();P(0,"a",7),nt(1,"cSidebarNavLink"),Le("click",function(){Wn(r);let i=R();return Gn(i.linkClicked())}),j(2,fR,1,0,"ng-container",4),De(3,"c-sidebar-nav-link-content",5),j(4,hR,3,4,"span",6),F()}if(t&2){let r,n=R(),i=Fe(4);I("cHtmlAttr",(r=n.item.attributes)!==null&&r!==void 0?r:Xt(9,wi))("href",n.href,wl)("ngClass",it(1,7,n.item)),D(2),I("ngTemplateOutlet",i)("ngTemplateOutletContext",Cr(10,wu,n.item)),D(),I("item",n.item),D(),J(n.item.badge?4:-1)}}function mR(t,e){t&1&&Ee(0)}function gR(t,e){if(t&1&&(P(0,"span",6),nt(1,"cSidebarNavBadge"),_e(2),F()),t&2){let r=R(2);I("ngClass",it(1,2,r.item)),D(2),Ve(r.item.badge==null?null:r.item.badge.text)}}function vR(t,e){if(t&1){let r=Bi();P(0,"a",8),nt(1,"cSidebarNavLink"),Le("click",function(){Wn(r);let i=R();return Gn(i.linkClicked())}),j(2,mR,1,0,"ng-container",4),De(3,"c-sidebar-nav-link-content",5),j(4,gR,3,4,"span",6),F()}if(t&2){let r,n,i,o,s,a,c,l=R(),u=Fe(4);I("cHtmlAttr",(r=l.item.attributes)!==null&&r!==void 0?r:Xt(18,wi))("fragment",l.item.linkProps==null?null:l.item.linkProps.fragment)("ngClass",it(1,16,l.item))("preserveFragment",(n=l.item.linkProps==null?null:l.item.linkProps.preserveFragment)!==null&&n!==void 0?n:!1)("queryParamsHandling",l.item.linkProps==null?null:l.item.linkProps.queryParamsHandling)("queryParams",(i=l.item.linkProps==null?null:l.item.linkProps.queryParams)!==null&&i!==void 0?i:null)("replaceUrl",(o=l.item.linkProps==null?null:l.item.linkProps.replaceUrl)!==null&&o!==void 0?o:!1)("routerLinkActiveOptions",(s=l.item.linkProps==null?null:l.item.linkProps.routerLinkActiveOptions)!==null&&s!==void 0?s:Xt(19,cR))("routerLink",l.item.url)("skipLocationChange",(a=l.item.linkProps==null?null:l.item.linkProps.skipLocationChange)!==null&&a!==void 0?a:!1)("state",(c=l.item.linkProps==null?null:l.item.linkProps.state)!==null&&c!==void 0?c:Xt(20,wi))("target",l.item.attributes==null?null:l.item.attributes.target),D(2),I("ngTemplateOutlet",u)("ngTemplateOutletContext",Cr(21,wu,l.item)),D(),I("item",l.item),D(),J(l.item.badge?4:-1)}}function yR(t,e){if(t&1&&(P(0,"span",9),De(1,"span",6),F()),t&2){let r,n=R().$implicit;D(),I("ngClass",(r=n.icon)!==null&&r!==void 0?r:"")}}function bR(t,e){if(t&1&&(Ns(),De(0,"svg",10),nt(1,"cSidebarNavIcon")),t&2){let r=R().$implicit;I("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",it(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function CR(t,e){if(t&1&&(De(0,"span",6),nt(1,"cSidebarNavIcon")),t&2){let r=R().$implicit;I("ngClass",it(1,1,r))}}function DR(t,e){if(t&1&&j(0,yR,2,1,"span",9)(1,bR,2,5,":svg:svg",10)(2,CR,2,3,"span",6),t&2){let r=e.$implicit;J(r!=null&&r.icon?0:-1),D(),J(r!=null&&r.iconComponent?1:-1),D(),J(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}function wR(t,e){if(t&1&&De(0,"i",1),t&2){let r=R();I("ngClass",r.getLabelIconClass())}}function IR(t,e){if(t&1&&(P(0,"span",1),nt(1,"cSidebarNavBadge"),_e(2),F()),t&2){let r=R();I("ngClass",it(1,2,r.item)),D(2),Ve(r.item.badge.text)}}function ER(t,e){t&1&&Ee(0)}function _R(t,e){if(t&1&&(P(0,"span",3),nt(1,"cSidebarNavBadge"),_e(2),F()),t&2){let r=R();I("ngClass",it(1,2,r.item)),D(2),Ve(r.item.badge.text)}}function SR(t,e){if(t&1&&(P(0,"span",5),De(1,"span",3),F()),t&2){let r,n=R().$implicit;D(),I("ngClass",(r=n.icon)!==null&&r!==void 0?r:"")}}function xR(t,e){if(t&1&&(Ns(),De(0,"svg",6),nt(1,"cSidebarNavIcon")),t&2){let r=R().$implicit;I("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",it(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function MR(t,e){if(t&1&&(De(0,"span",3),nt(1,"cSidebarNavIcon")),t&2){let r=R().$implicit;I("ngClass",it(1,1,r))}}function TR(t,e){if(t&1&&j(0,SR,2,1,"span",5)(1,xR,2,5,":svg:svg",6)(2,MR,2,3,"span",3),t&2){let r=e.$implicit;J(r!=null&&r.icon?0:-1),D(),J(r!=null&&r.iconComponent?1:-1),D(),J(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}var AR=()=>({exact:!0});function NR(t,e){if(t&1&&(De(0,"c-sidebar-nav-group",1,0),nt(2,"cSidebarNavItemClass")),t&2){let r=R().$implicit,n=R();I("dropdownMode",n.dropdownMode)("item",r)("ngClass",it(2,5,r))("routerLinkActiveOptions",Xt(7,AR))("compact",n.compact)}}function OR(t,e){if(t&1&&(De(0,"c-sidebar-nav-divider",2),nt(1,"cSidebarNavItemClass")),t&2){let r,n=R().$implicit;I("cHtmlAttr",(r=n.attributes)!==null&&r!==void 0?r:Xt(5,wi))("item",n)("ngClass",it(1,3,n))}}function RR(t,e){if(t&1&&(De(0,"c-sidebar-nav-title",2),nt(1,"cSidebarNavItemClass")),t&2){let r,n=R().$implicit;I("cHtmlAttr",(r=n.attributes)!==null&&r!==void 0?r:Xt(5,wi))("item",n)("ngClass",it(1,3,n))}}function kR(t,e){if(t&1&&(De(0,"c-sidebar-nav-label",3),nt(1,"cSidebarNavItemClass")),t&2){let r=R().$implicit;I("item",r)("ngClass",it(1,2,r))}}function FR(t,e){t&1&&Ee(0)}function PR(t,e){if(t&1){let r=Bi();P(0,"c-sidebar-nav-link",4),nt(1,"cSidebarNavItemClass"),Le("linkClick",function(){Wn(r);let i=R(2);return Gn(i.hideMobile())}),F()}if(t&2){let r=R().$implicit;I("item",r)("ngClass",it(1,2,r))}}function LR(t,e){if(t&1&&j(0,NR,3,8,"c-sidebar-nav-group",1)(1,OR,2,6,"c-sidebar-nav-divider",2)(2,RR,2,6,"c-sidebar-nav-title",2)(3,kR,2,4,"c-sidebar-nav-label",3)(4,FR,1,0,"ng-container")(5,PR,2,4,"c-sidebar-nav-link",3),t&2){let r,n=e.$implicit,i=R();J((r=i.helper.itemType(n))==="group"?0:r==="divider"?1:r==="title"?2:r==="label"?3:r==="empty"?4:5)}}var jR=()=>({outline:0});function BR(t,e){if(t&1&&De(0,"button",1),t&2){let r=R();js(Xt(3,jR)),I("cToastClose",r.toast)}}function VR(t,e){}var $R=["tooltipTemplate"],HR=[[["",8,"chart-wrapper"]],"*"],UR=[".chart-wrapper","*"];function zR(t,e){t&1&&Ee(0)}function WR(t,e){if(t&1&&(P(0,"div",5),j(1,zR,1,0,"ng-container",6),F()),t&2){let r=R(),n=Fe(10);D(),I("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetValueTemplate)||n)}}function GR(t,e){t&1&&Ee(0)}function qR(t,e){if(t&1&&(P(0,"div"),j(1,GR,1,0,"ng-container",6),F()),t&2){let r=R(),n=Fe(8);D(),I("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetTitleTemplate)||n)}}function QR(t,e){t&1&&Ee(0)}function ZR(t,e){t&1&&Ee(0)}function KR(t,e){if(t&1&&_e(0),t&2){let r=R();Qn(" ",r.title,` +`)}}function YR(t,e){if(t&1&&_e(0),t&2){let r=R();Qn(" ",r.value,` +`)}}function XR(t,e){t&1&&k(0)}function JR(t,e){t&1&&k(0,1)}function ek(t,e){if(t&1&&(P(0,"div",0),_e(1),F()),t&2){let r=R();D(),Ve(r.value())}}function tk(t,e){if(t&1&&(P(0,"div"),_e(1),F()),t&2){let r=R();D(),Ve(r.title())}}function nk(t,e){if(t&1&&(P(0,"small",1),_e(1),F()),t&2){let r=R();I("ngClass",r.inverse()?"text-white text-opacity-75":"text-body-secondary"),D(),Qn(" ",r.text()," ")}}function ik(t,e){t&1&&Ee(0)}function rk(t,e){if(t&1&&(P(0,"div",2),j(1,ik,1,0,"ng-container",3),F()),t&2){let r=R(),n=Fe(6);I("ngClass",r.iconClasses),D(),I("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetIconTemplate)||n)}}function ok(t,e){if(t&1&&(P(0,"div",2),_e(1),F()),t&2){let r=R();I("ngClass",r.valueClasses),D(),Qn(" ",r.value," ")}}function sk(t,e){if(t&1&&(P(0,"div",2),_e(1),F()),t&2){let r=R();I("ngClass",r.titleClasses),D(),Qn(" ",r.title," ")}}function ak(t,e){t&1&&Ee(0)}function ck(t,e){if(t&1&&j(0,ak,1,0,"ng-container",3),t&2){let r=R(),n=Fe(8);I("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetProgressTemplate)||n)}}function lk(t,e){if(t&1&&_e(0),t&2){let r=R();Qn(" ",r.icon,` +`)}}function uk(t,e){t&1&&k(0)}function dk(t,e){t&1&&De(0,"div",2)}function fk(t,e){if(t&1&&(j(0,dk,1,0,"div",2),P(1,"c-col")(2,"div",3),_e(3),F(),P(4,"div",4),_e(5),F()()),t&2){let r=e.$implicit,n=e.$index;J(n%2!==0?0:-1),D(3),Ve(r.value),D(2),Ve(r.title)}}function hk(t,e){if(t&1&&(P(0,"div",1),_e(1),F()),t&2){let r=R();I("ngClass",r.titleClasses),D(),Ve(r.title)}}function pk(t,e){if(t&1&&(P(0,"div",2),_e(1),F()),t&2){let r=R();D(),Ve(r.value)}}function mk(t,e){t&1&&Ee(0)}function gk(t,e){t&1&&Ee(0)}function vk(t,e){if(t&1&&(P(0,"c-card-footer"),j(1,gk,1,0,"ng-container",3),F()),t&2){let r=R(),n=Fe(13);D(),I("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetFooterTemplate)||n)}}function yk(t,e){if(t&1&&(P(0,"span"),_e(1),F()),t&2){let r=R();D(),Ve(r.icon)}}function bk(t,e){if(t&1&&(P(0,"span"),_e(1),F()),t&2){let r=R();D(),Ve(r.footer)}}var Iu=function(t){return t.xs="xs",t.sm="sm",t.md="md",t.lg="lg",t.xl="xl",t.xxl="xxl",t}(Iu||{});var Jo=(()=>{let e=class e{constructor(n,i){this.renderer=n,this.el=i}ngOnInit(){let n=this.cHtmlAttr;for(let i in n)i==="style"&&typeof n[i]=="object"?this.setStyle(n[i]):i==="class"?this.addClass(n[i]):this.setAttrib(i,n[i])}setStyle(n){for(let i in n)i&&this.renderer.setStyle(this.el.nativeElement,i,n[i])}addClass(n){(Array.isArray(n)?n:n.split(" ")).filter(o=>o.length>0).forEach(o=>{this.renderer.addClass(this.el.nativeElement,o)})}setAttrib(n,i){i!==null?this.renderer.setAttribute(this.el.nativeElement,n,i):this.renderer.removeAttribute(this.el.nativeElement,n)}};e.\u0275fac=function(i){return new(i||e)(v(fe),v(H))},e.\u0275dir=N({type:e,selectors:[["","cHtmlAttr",""]],inputs:{cHtmlAttr:"cHtmlAttr"},exportAs:["cHtmlAttr"],standalone:!0});let t=e;return t})(),Ma=(()=>{let e=class e{constructor(){this.templateRef=m(Un)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cTemplateId",""]],inputs:{id:[0,"cTemplateId","id"]},standalone:!0});let t=e;return t})(),Ta=(()=>{var e,r;let n=class n{constructor(){T(this,e,m(H));T(this,r,m(fe))}set colorScheme(o){o?this.setTheme(o):this.unsetTheme()}set dark(o){o?this.setTheme("dark"):this.unsetTheme()}setTheme(o){o&&p(this,r).setAttribute(p(this,e).nativeElement,"data-coreui-theme",o)}unsetTheme(){p(this,r).removeAttribute(p(this,e).nativeElement,"data-coreui-theme")}};e=new WeakMap,r=new WeakMap,n.\u0275fac=function(s){return new(s||n)},n.\u0275dir=N({type:n,selectors:[["","cTheme",""]],inputs:{colorScheme:"colorScheme",dark:[2,"dark","dark",M]},standalone:!0,features:[te]});let t=n;return t})();var Ck=(()=>{let e=class e{constructor(){this.type="button"}get hostClasses(){return{"accordion-button":!0,collapsed:this.collapsed}}get ariaExpanded(){return!this.collapsed}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cAccordionButton",""]],hostAttrs:[1,"accordion-button"],hostVars:4,hostBindings:function(i,o){i&2&&(X("type",o.type)("aria-expanded",o.ariaExpanded),x(o.hostClasses))},inputs:{collapsed:"collapsed",type:"type"},standalone:!0});let t=e;return t})(),Kp=(()=>{let e=class e{constructor(){this.items=[],this.alwaysOpen=!1}addItem(n){this.items.push(n)}removeItem(n){let i=this.items.indexOf(n);i!==-1&&this.items.splice(i,1)}toggleItem(n){n.visible=!n.visible,this.closeOtherItems(n)}closeOtherItems(n){this.alwaysOpen||this.items.forEach(i=>{i!==n&&(i.visible=!1)})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),f5=(()=>{var e;let r=class r{constructor(){T(this,e);A(this,e,m(Kp)),this.flush=!1}set alwaysOpen(i){p(this,e).alwaysOpen=i}get alwaysOpen(){return p(this,e).alwaysOpen}get hostClasses(){return{accordion:!0,"accordion-flush":this.flush}}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=_({type:r,selectors:[["c-accordion"]],hostAttrs:[1,"accordion"],hostVars:2,hostBindings:function(o,s){o&2&&x(s.hostClasses)},inputs:{flush:[2,"flush","flush",M],alwaysOpen:[2,"alwaysOpen","alwaysOpen",M]},exportAs:["cAccordionItem"],standalone:!0,features:[In([Kp]),te,S],ngContentSelectors:V,decls:1,vars:0,template:function(o,s){o&1&&(B(),k(0))},styles:["[_nghost-%COMP%]{display:block}"]});let t=r;return t})(),Dk=ha([je("{{ time }} {{ easing }}")]),wk=ha([be({height:"*",minHeight:"*"}),je("{{ time }} {{ easing }}",be({height:0,minHeight:0}))]),Ik=ha([je("{{ time }} {{ easing }}")]),Ek=ha([je("{{ time }} {{ easing }}")]),xD=(()=>{let e=class e{set visible(n){this._visible=n}get visible(){return this._visible}constructor(n,i,o){this.hostElement=n,this.renderer=i,this.animationBuilder=o,this.animate=!0,this.horizontal=!1,this._visible=!1,this.navbar=!1,this.duration="350ms",this.transition="ease",this.collapseChange=new Ie,this.collapsing=!1,this.host=this.hostElement.nativeElement,this.renderer.setStyle(this.host,"display","none")}get hostClasses(){return{"navbar-collapse":this.navbar,"collapse-horizontal":this.horizontal}}ngAfterViewInit(){this.visible&&this.toggle()}ngOnDestroy(){this.destroyPlayer()}ngOnChanges(n){n.visible&&(!n.visible.firstChange||!n.visible.currentValue)&&this.toggle(n.visible.currentValue)}ngDoCheck(){this._visible!==this.visible&&this.toggle()}toggle(n=this.visible){this.createPlayer(n),this.player?.play()}destroyPlayer(){this.player?.destroy()}createPlayer(n=this.visible){this.player?.hasStarted()&&this.destroyPlayer(),n&&this.renderer.removeStyle(this.host,"display");let i=this.animate?this.duration:"0ms",o=this.horizontal?Ik:Dk,s=this.horizontal?Ek:wk,a=this.horizontal?"width":"height",l=`scroll${a[0].toUpperCase()+a.slice(1)}`,u=this.animationBuilder.build(FC(n?o:s,{params:{time:i,easing:this.transition}}));this.player=u.create(this.host),this.renderer.setStyle(this.host,a,n?0:`${this.host.getBoundingClientRect()[a]}px`),!n&&this.host.offsetHeight,this.player.onStart(()=>{this.setMaxSize(),this.renderer.removeClass(this.host,"collapse"),this.renderer.addClass(this.host,"collapsing"),this.renderer.removeClass(this.host,"show"),this.collapsing=!0,n?this.renderer.setStyle(this.host,a,`${this.host[l]}px`):this.renderer.setStyle(this.host,a,""),this.collapseChange.emit(n?"opening":"collapsing")}),this.player.onDone(()=>{this.visible=n,this.collapsing=!1,this.renderer.removeClass(this.host,"collapsing"),this.renderer.addClass(this.host,"collapse"),n?(this.renderer.addClass(this.host,"show"),this.renderer.setStyle(this.host,a,"")):this.renderer.removeClass(this.host,"show"),this.collapseChange.emit(n?"open":"collapsed")})}setMaxSize(){this.horizontal&&(this.scrollWidth=this.host.scrollWidth,this.scrollWidth>0&&this.renderer.setStyle(this.host,"maxWidth",`${this.scrollWidth}px`))}};e.\u0275fac=function(i){return new(i||e)(v(H),v(fe),v(Mp))},e.\u0275dir=N({type:e,selectors:[["","cCollapse",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{animate:[2,"animate","animate",M],horizontal:[2,"horizontal","horizontal",M],visible:[2,"visible","visible",M],navbar:[2,"navbar","navbar",M],duration:"duration",transition:"transition"},outputs:{collapseChange:"collapseChange"},exportAs:["cCollapse"],standalone:!0,features:[te,Qe]});let t=e;return t})();var _k=0,h5=(()=>{let e=class e{constructor(n){this.accordionService=n,this.visible=!1,this.contentId=`accordion-item-${_k++}`,this.itemContext={$implicit:this.visible},this.templates={}}set open(n){console.warn('c-accordion-item "open" prop is deprecated, use "visible" prop instead.'),this.visible=n||this.visible}get open(){return this.visible}ngOnInit(){this.accordionService.addItem(this)}ngOnDestroy(){this.accordionService.removeItem(this)}toggleItem(){this.accordionService.toggleItem(this)}ngAfterContentInit(){this.contentTemplates.forEach(n=>{this.templates[n.id]=n.templateRef})}};e.\u0275fac=function(i){return new(i||e)(v(Kp))},e.\u0275cmp=_({type:e,selectors:[["c-accordion-item"]],contentQueries:function(i,o,s){if(i&1&&tt(s,Ma,5),i&2){let a;Me(a=Te())&&(o.contentTemplates=a)}},hostAttrs:[1,"accordion-item"],inputs:{visible:[2,"visible","visible",M],open:"open"},exportAs:["cAccordionItem"],standalone:!0,features:[te,S],ngContentSelectors:Ko,decls:13,vars:7,consts:[["defaultAccordionHeaderTemplate",""],["defaultAccordionHeaderContentTemplate",""],["defaultAccordionBodyTemplate",""],["defaultAccordionBodyContentTemplate",""],[1,"accordion-header"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cCollapse","",1,"accordion-collapse",3,"visible","id"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,o){if(i&1&&(B(Ko),sn(0),P(1,"div",4),j(2,uO,1,0,"ng-container",5),F(),P(3,"div",6),j(4,dO,1,0,"ng-container",5),F(),an(),j(5,hO,2,4,"ng-template",null,0,Ye)(7,pO,1,0,"ng-template",null,1,Ye)(9,gO,2,2,"ng-template",null,2,Ye)(11,vO,1,0,"ng-template",null,3,Ye)),i&2){let s=Fe(6),a=Fe(10);D(2),I("ngTemplateOutlet",o.templates.accordionHeaderTemplate||s)("ngTemplateOutletContext",o.itemContext),D(),I("visible",o.visible)("id",o.contentId),X("aria-expanded",o.visible),D(),I("ngTemplateOutlet",o.templates.accordionBodyTemplate||a)("ngTemplateOutletContext",o.itemContext)}},dependencies:[Ck,_n,xD],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]});let t=e;return t})();var p5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cAlertHeading",""]],hostAttrs:[1,"alert-heading"],standalone:!0});let t=e;return t})(),m5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cAlertLink",""]],hostAttrs:[1,"alert-link"],standalone:!0});let t=e;return t})(),Sk=(()=>{let e=class e{constructor(){this.active=q(!1,{transform:M}),this.color=q("primary"),this.disabled=q(!1,{transform:M}),this.shape=q(),this.size=q(""),this.type=q("button"),this.variant=q(),this.hostClasses=ve(()=>({btn:!0,[`btn-${this.color()}`]:!!this.color()&&!this.variant(),[`btn-${this.variant()}`]:!!this.variant()&&!this.color(),[`btn-${this.variant()}-${this.color()}`]:!!this.variant()&&!!this.color(),[`btn-${this.size()}`]:!!this.size(),[`${this.shape()}`]:!!this.shape(),active:this.active(),disabled:this._disabled()})),this._disabled=ve(()=>this.disabled()),this.ariaDisabled=ve(()=>this._disabled()?!0:null),this.attrDisabled=ve(()=>this._disabled()?"":null),this.tabIndex=ve(()=>this._disabled()?"-1":null),this.isActive=ve(()=>this.active()||null)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cButton",""]],hostAttrs:[1,"btn"],hostVars:7,hostBindings:function(i,o){i&2&&(X("aria-disabled",o.ariaDisabled())("aria-pressed",o.isActive())("disabled",o.attrDisabled())("tabindex",o.tabIndex())("type",o.type()),x(o.hostClasses()))},inputs:{active:[1,"active"],color:[1,"color"],disabled:[1,"disabled"],shape:[1,"shape"],size:[1,"size"],type:[1,"type"],variant:[1,"variant"]},exportAs:["cButton"],standalone:!0});let t=e;return t})(),MD=(()=>{let e=class e extends Sk{constructor(){super(...arguments),this.white=q(!1,{transform:M}),this.hostClasses=ve(()=>({btn:!0,"btn-close":!0,"btn-close-white":this.white(),[`btn-${this.size()}`]:!!this.size(),active:this.active(),disabled:this._disabled()}))}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Li(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","cButtonClose",""]],hostAttrs:[1,"btn","btn-close"],hostVars:7,hostBindings:function(i,o){i&2&&(X("aria-disabled",o.ariaDisabled())("aria-pressed",o.isActive())("disabled",o.attrDisabled())("tabindex",o.tabIndex())("type",o.type()),x(o.hostClasses()))},inputs:{white:[1,"white"]},standalone:!0,features:[on([{directive:Ta,inputs:["dark","dark"]}]),fi]});let t=e;return t})();var g5=(()=>{var e;let r=class r{constructor(){T(this,e);this.color="primary",this.role="alert",this.visibleChange=new Ie,this.templates={},this.dismissible=!1,this.fade=!1,A(this,e,!0)}set visible(i){p(this,e)!==i&&(A(this,e,i),this.visibleChange.emit(i))}get visible(){return p(this,e)}get animationDisabled(){return!this.fade}get animateType(){return this.visible?"show":"hide"}get hostClasses(){return{alert:!0,"alert-dismissible":this.dismissible,fade:this.fade,show:!this.hide,[`alert-${this.color}`]:!!this.color&&this.variant!=="solid",[`bg-${this.color}`]:!!this.color&&this.variant==="solid","text-white":!!this.color&&this.variant==="solid"}}onAnimationStart(i){this.onAnimationEvent(i)}onAnimationDone(i){this.onAnimationEvent(i)}ngAfterContentInit(){this.contentTemplates.forEach(i=>{this.templates[i.id]=i.templateRef})}onAnimationEvent(i){this.hide=i.phaseName==="start"&&i.toState==="show",i.phaseName==="done"&&(this.hide=i.toState==="hide"||i.toState==="void",i.toState==="show"&&(this.hide=!1))}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=_({type:r,selectors:[["c-alert"]],contentQueries:function(o,s,a){if(o&1&&tt(a,Ma,5),o&2){let c;Me(c=Te())&&(s.contentTemplates=c)}},hostVars:5,hostBindings:function(o,s){o&1&&Hs("@fadeInOut.start",function(c){return s.onAnimationStart(c)})("@fadeInOut.done",function(c){return s.onAnimationDone(c)}),o&2&&(_o("@.disabled",s.animationDisabled)("@fadeInOut",s.animateType),X("role",s.role),x(s.hostClasses))},inputs:{color:"color",role:"role",variant:"variant",dismissible:[2,"dismissible","dismissible",M],fade:[2,"fade","fade",M],visible:[2,"visible","visible",M]},outputs:{visibleChange:"visibleChange"},exportAs:["cAlert"],standalone:!0,features:[te,S],ngContentSelectors:V,decls:3,vars:1,consts:[["defaultAlertButtonCloseTemplate",""],[4,"ngTemplateOutlet"],["aria-label","Close","cButtonClose","",3,"click"]],template:function(o,s){o&1&&(B(),j(0,CO,2,1)(1,DO,1,0,"ng-template",null,0,Ye)),o&2&&J(s.visible||!s.hide?0:-1)},dependencies:[_n,MD],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"],data:{animation:[Ui("fadeInOut",[St("show",be({opacity:1,height:"*",padding:"*",border:"*",margin:"*"})),St("hide",be({opacity:0,height:0,padding:0,border:0,margin:0})),St("void",be({opacity:0,height:0,padding:0,border:0,margin:0})),xt("show => hide",[je(".3s ease-out")]),xt("hide => show",[je(".3s ease-in")]),xt("show => void",[je(".3s ease-out")]),xt("void => show",[je(".3s ease-in")])])]}});let t=r;return t})();var v5=(()=>{let e=class e{get hostClasses(){return{[`align-${this.align}`]:!!this.align}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cAlign",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{align:[0,"cAlign","align"]},standalone:!0});let t=e;return t})(),y5=(()=>{let e=class e{constructor(){this.color=""}get hostClasses(){return{[`bg-${this.color}`]:!!this.color,"bg-gradient":this.gradient}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cBgColor",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{color:[0,"cBgColor","color"],gradient:"gradient"},standalone:!0});let t=e;return t})(),b5=(()=>{let e=class e{constructor(){this.border=!0}get hostClasses(){if(typeof this.border=="boolean")return{border:!0};if(typeof this.border=="number"||typeof this.border=="string")return{border:!0,[`border-${this.border}`]:!0};if(typeof this.border=="object"){let n=b({top:void 0,end:void 0,bottom:void 0,start:void 0,color:void 0},this.border),i=Object.keys(n).filter(s=>n[s]!==void 0),o={};return i.forEach(s=>{let a=n[s];typeof a=="boolean"?o[`border-${s}`]=!0:typeof a=="number"||typeof a=="string"?o[`border-${s}-${a}`]=!0:typeof a=="object"&&("color"in a&&(o[`border-${s}-${a.color}`]=!0),"width"in a&&(o[`border-${s}-${a.width}`]=!0))}),Object.entries(o).length===0?{border:!1}:o}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cBorder",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{border:[0,"cBorder","border"]},standalone:!0});let t=e;return t})(),C5=(()=>{let e=class e{constructor(){this.rounded=!0}get hostClasses(){if(typeof this.rounded=="boolean")return{rounded:!0};if(typeof this.rounded=="number"||typeof this.rounded=="string")return{[`rounded-${this.rounded}`]:!0};if(typeof this.rounded=="object"){let n=b({top:void 0,end:void 0,bottom:void 0,start:void 0,circle:void 0,pill:void 0,size:void 0},this.rounded),i=Object.keys(n).filter(s=>n[s]!==void 0),o={};return i.forEach(s=>{let a=n[s];typeof a=="boolean"?o[`rounded-${s}`]=a:o[`rounded-${a}`]=!0}),Object.entries(o).length===0?{rounded:!1}:o}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cRounded",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{rounded:[0,"cRounded","rounded"]},standalone:!0});let t=e;return t})(),D5=(()=>{var e,r,n,i,o,s,a;let c=class c{constructor(){T(this,e,m(Ke));T(this,r,m(ue));T(this,n,m(H));T(this,i,We(!1));T(this,o,st(()=>{p(this,n).nativeElement.classList.toggle(p(this,a),p(this,i).call(this))}));T(this,s);T(this,a,"shadow-sm");p(this,e).onDestroy(()=>{p(this,o)?.destroy()})}set cShadowOnScroll(u){p(this,i).set(!1),u?(A(this,a,u===!0?"shadow":`shadow-${u}`),A(this,s,Ln(p(this,r),"scroll").pipe(vt(p(this,e))).subscribe(d=>{p(this,i).set(p(this,r).documentElement.scrollTop>0)}))):p(this,s)?.unsubscribe()}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,c.\u0275fac=function(d){return new(d||c)},c.\u0275dir=N({type:c,selectors:[["","cShadowOnScroll",""]],inputs:{cShadowOnScroll:"cShadowOnScroll"},standalone:!0});let t=c;return t})(),nm=(()=>{let e=class e{constructor(){this.color=q("",{alias:"cTextColor"})}get hostClasses(){let n=this.color();return{[`text-${n}`]:!!n}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cTextColor",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{color:[1,"cTextColor","color"]},standalone:!0});let t=e;return t})(),TD=(()=>{let e=class e{constructor(){this.textBgColor=q("",{alias:"cTextBgColor"})}get hostClasses(){let n=this.textBgColor();return{[`text-bg-${n}`]:!!n}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cTextBgColor",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{textBgColor:[1,"cTextBgColor","textBgColor"]},standalone:!0});let t=e;return t})();var w5=(()=>{let e=class e{constructor(){this.color=q(),this.shape=q(),this.size=q("md"),this.alt=q(""),this.src=q(),this.status=q(),this.textColor=q(),this.statusClass=ve(()=>({"avatar-status":!0,[`bg-${this.status()}`]:!!this.status()})),this.hostClasses=ve(()=>({avatar:!0,[`avatar-${this.size()}`]:!!this.size(),[`bg-${this.color()}`]:!!this.color(),[`${this.shape()}`]:!!this.shape()}))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-avatar"]],hostAttrs:[1,"avatar"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses())},inputs:{color:[1,"color"],shape:[1,"shape"],size:[1,"size"],alt:[1,"alt"],src:[1,"src"],status:[1,"status"],textColor:[1,"textColor"]},standalone:!0,features:[on([{directive:nm,inputs:["cTextColor","textColor"]}]),S],ngContentSelectors:V,decls:3,vars:1,consts:[[3,"ngClass"],["fill","",1,"avatar-img",3,"ngSrc","alt"],["aria-label","Avatar placeholder","focusable","false","preserveAspectRatio","xMidYMid slice","role","img","xmlns","http://www.w3.org/2000/svg",1,"avatar-img",2,"position","absolute","width","100%","height","100%","inset","0"],["fill","#868e96","height","100%","width","100%"]],template:function(i,o){i&1&&(B(),k(0,0,null,SO,1,1),j(2,xO,1,1,"span",0)),i&2&&(D(2),J(o.status()?2:-1))},dependencies:[gt],encapsulation:2});let t=e;return t})();var I5=(()=>{let e=class e{constructor(){this.color=q(),this.position=q(),this.shape=q(),this.size=q(),this.textColor=q(),this.textBgColor=q(),this.hostClasses=ve(()=>{let n=this.position(),i={"position-absolute":!!n,"translate-middle":!!n,"top-0":n?.includes("top"),"top-100":n?.includes("bottom"),"start-100":n?.includes("end"),"start-0":n?.includes("start")};return Object.assign({badge:!0,[`bg-${this.color()}`]:!!this.color(),[`badge-${this.size()}`]:!!this.size(),[`${this.shape()}`]:!!this.shape()},n?i:{})})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-badge"]],hostAttrs:[1,"badge"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses())},inputs:{color:[1,"color"],position:[1,"position"],shape:[1,"shape"],size:[1,"size"],textColor:[1,"textColor"],textBgColor:[1,"textBgColor"]},standalone:!0,features:[on([{directive:nm,inputs:["cTextColor","textColor"]},{directive:TD,inputs:["cTextBgColor","textBgColor"]}]),S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})();var xk=(()=>{var e,r,n,i,o,s,Yp,Xp,l;let u=class u{constructor(){T(this,s);T(this,e);T(this,r);T(this,n);T(this,i);T(this,o);T(this,l);A(this,e,new ge),this.backdropClick$=p(this,e).asObservable(),A(this,r,m(ue)),A(this,n,m(bn)),A(this,i,p(this,n).createRenderer(null,null)),this.scrollbarWidth=p(this,s,Yp),A(this,l,!0)}setBackdrop(h="modal"){let f=p(this,i).createElement("div");return p(this,i).addClass(f,`${h}-backdrop`),p(this,i).addClass(f,"fade"),p(this,i).appendChild(p(this,r).body,f),A(this,o,p(this,i).listen(f,"click",g=>{this.onClickHandler()})),this.scrollbarWidth=p(this,s,Yp),setTimeout(()=>{p(this,i).addClass(f,"show")}),this.activeBackdrop=f,f}clearBackdrop(h){h&&(p(this,o).call(this),p(this,i).removeClass(h,"show"),setTimeout(()=>{p(this,i).removeChild(p(this,r).body,h),this.activeBackdrop===h&&this.resetScrollbar(),h=void 0},300))}hideScrollbar(){p(this,l)&&(p(this,i).setStyle(p(this,r).body,"overflow","hidden"),p(this,i).setStyle(p(this,r).body,`padding-${p(this,s,Xp)?"left":"right"}`,this.scrollbarWidth),A(this,l,!1))}resetScrollbar(){p(this,i).removeStyle(p(this,r).body,"overflow"),p(this,i).removeStyle(p(this,r).body,`padding-${p(this,s,Xp)?"left":"right"}`),A(this,l,!0)}onClickHandler(){p(this,e).next(!0)}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakSet,Yp=function(){let h=p(this,r).documentElement.clientWidth;return`${Math.abs((p(this,r).defaultView?.innerWidth??h)-h)}px`},Xp=function(){return p(this,r).documentElement.dir==="rtl"||p(this,r).body.dir==="rtl"},l=new WeakMap,u.\u0275fac=function(f){return new(f||u)},u.\u0275prov=C({token:u,factory:u.\u0275fac,providedIn:"root"});let t=u;return t})(),Mk=(()=>{let e=class e{get ariaCurrent(){return this.active?"page":null}get hostClasses(){return{"breadcrumb-item":!0,active:this.active}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-breadcrumb-item"]],hostVars:3,hostBindings:function(i,o){i&2&&(X("aria-current",o.ariaCurrent),x(o.hostClasses))},inputs:{active:[2,"active","active",M],url:"url",attributes:"attributes",linkProps:"linkProps"},standalone:!0,features:[te,S],ngContentSelectors:V,decls:4,vars:1,consts:[["defaultBreadcrumbItemContentTemplate",""],[3,"routerLink","cHtmlAttr","target","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[3,"cHtmlAttr"],[4,"ngTemplateOutlet"]],template:function(i,o){i&1&&(B(),j(0,TO,2,13,"a",1)(1,NO,2,3,"span",2)(2,OO,1,0,"ng-template",null,0,Ye)),i&2&&J(o.active?1:0)},dependencies:[cu,_r,_n,Jo],styles:["[_nghost-%COMP%]{display:list-item;text-align:-webkit-match-parent;text-align:match-parent}"]});let t=e;return t})(),Tk=(()=>{let e=class e{constructor(){this.ariaLabel="breadcrumb",this.role="navigation"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-breadcrumb"]],hostAttrs:[1,"breadcrumb"],hostVars:2,hostBindings:function(i,o){i&2&&X("aria-label",o.ariaLabel)("role",o.role)},inputs:{ariaLabel:"ariaLabel",role:"role"},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),Ak=(()=>{var e;let r=class r{constructor(i,o){T(this,e);this.router=i,this.route=o,this.outlet="primary",A(this,e,new we(new Array)),this.breadcrumbs$=p(this,e).asObservable(),this.router.events.pipe(vt(),Ne(s=>s instanceof kt)).subscribe(s=>{let a=[],c=this.route.root,l="";do{let u=c.children;c=null,u.forEach(d=>{if(d.outlet===this.outlet){let h=d.snapshot;l+="/"+h.url.map(f=>f.path).join("/"),a.push({label:h.data.title??h.title??"",url:l,queryParams:h.queryParams}),c=d}})}while(c);return p(this,e).next(Object.assign([],a)),a})}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)(E(Ft),E(Xn))},r.\u0275prov=C({token:r,factory:r.\u0275fac,providedIn:"root"});let t=r;return t})(),E5=(()=>{let e=class e{constructor(n){this.service=n}ngOnInit(){this.breadcrumbs=this.service.breadcrumbs$}ngOnChanges(n){n.items&&this.setup()}setup(){this.items&&this.items.length>0&&(this.breadcrumbs=new ee(n=>{this.items&&n.next(this.items)}))}ngOnDestroy(){this.breadcrumbs=void 0}};e.\u0275fac=function(i){return new(i||e)(v(Ak))},e.\u0275cmp=_({type:e,selectors:[["c-breadcrumb-router"],["","cBreadcrumbRouter",""]],inputs:{items:"items"},standalone:!0,features:[Qe,S],decls:4,vars:2,consts:[[1,"m-0"],[3,"active","url","attributes","linkProps"]],template:function(i,o){i&1&&(P(0,"c-breadcrumb",0),Vs(1,kO,1,1,null,null,Bs),nt(3,"async"),F()),i&2&&(D(),$s(it(3,0,o.breadcrumbs)))},dependencies:[Tk,Mk,Nb],encapsulation:2});let t=e;return t})();var _5=(()=>{let e=class e{constructor(){this.size=q(),this.vertical=q(!1,{transform:M}),this.role=q("group"),this.hostClasses=ve(()=>({"btn-group":!this.vertical(),"btn-group-vertical":this.vertical(),[`btn-group-${this.size()}`]:!!this.size()}))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-button-group"]],hostVars:3,hostBindings:function(i,o){i&2&&(X("role",o.role()),x(o.hostClasses()))},inputs:{size:[1,"size"],vertical:[1,"vertical"],role:[1,"role"]},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),S5=(()=>{let e=class e{constructor(){this.role=q("toolbar")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-button-toolbar"]],hostAttrs:[1,"btn-toolbar"],hostVars:1,hostBindings:function(i,o){i&2&&X("role",o.role())},inputs:{role:[1,"role"]},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})();var x5=(()=>{let e=class e{get hostClasses(){return{callout:!0,[`callout-${this.color}`]:!!this.color}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-callout"],["","cCallout",""]],hostAttrs:[1,"callout"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{color:"color"},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},styles:["[_nghost-%COMP%]{display:block}"]});let t=e;return t})();var im=(()=>{let e=class e{constructor(){this.color=q(),this.textColor=q(),this.textBgColor=q()}get hostClasses(){return{card:!0,[`bg-${this.color()}`]:!!this.color()}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-card"],["","c-card",""]],hostAttrs:[1,"card"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{color:[1,"color"],textColor:[1,"textColor"],textBgColor:[1,"textBgColor"]},standalone:!0,features:[on([{directive:nm,inputs:["cTextColor","textColor"]},{directive:TD,inputs:["cTextBgColor","textBgColor"]}]),S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),es=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-card-body"],["","c-card-body",""]],hostAttrs:[1,"card-body"],standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),Nk=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-card-footer"],["","c-card-footer",""]],hostAttrs:[1,"card-footer"],standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),M5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-card-group"],["","c-card-group",""]],hostAttrs:[1,"card-group"],standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),Ok=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-card-header"],["","c-card-header",""]],hostAttrs:[1,"card-header"],standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})();var T5=(()=>{let e=class e{get hostClasses(){return{[`card-img${this.orientation?`-${this.orientation}`:""}`]:!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cCardImg",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{orientation:[0,"cCardImg","orientation"]},standalone:!0});let t=e;return t})();var A5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cCardLink",""]],hostAttrs:[1,"card-link"],standalone:!0});let t=e;return t})(),N5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cCardSubtitle",""]],hostAttrs:[1,"card-subtitle"],standalone:!0});let t=e;return t})(),O5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cCardText",""]],hostAttrs:[1,"card-text"],standalone:!0});let t=e;return t})(),R5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cCardTitle",""]],hostAttrs:[1,"card-title"],standalone:!0});let t=e;return t})();var bu=(()=>{var e;let r=class r{constructor(){T(this,e);this.platformId=m(zt),A(this,e,new we({isIntersecting:!1})),this.intersecting$=p(this,e).asObservable(),this.defaultObserverOptions={root:null,rootMargin:"0px",threshold:.2},this.hostElementRefs=new Map}createIntersectionObserver(i,o=this.defaultObserverOptions){if(To(this.platformId)){p(this,e).next({isIntersecting:!0,hostElement:i});return}let s=b(b({},this.defaultObserverOptions),o),a=(c,l)=>{c.forEach(u=>{p(this,e).next({isIntersecting:u.isIntersecting,hostElement:i})})};this.hostElementRefs.set(i,new IntersectionObserver(a,s)),this.hostElementRefs.get(i)?.observe(i.nativeElement)}unobserve(i){this.hostElementRefs.get(i)?.unobserve(i.nativeElement),this.hostElementRefs.set(i,null),this.hostElementRefs.delete(i)}ngOnDestroy(){this.hostElementRefs.forEach((i,o)=>{i?.unobserve(o.nativeElement)})}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)},r.\u0275prov=C({token:r,factory:r.\u0275fac,providedIn:"root"});let t=r;return t})(),Yo=(()=>{let e=class e{constructor(){this.renderer=m(fe),this.listeners=new Map}setListeners({hostElement:n,trigger:i,callbackOn:o,callbackOff:s,callbackToggle:a}){let c=n.nativeElement,l=Array.isArray(i)?i:i?.split(" ")??[];l?.includes("click")&&typeof a=="function"&&this.listeners.set("click",this.renderer.listen(c,"click",a)),l?.includes("focus")&&typeof o=="function"&&this.listeners.set("focus",this.renderer.listen(c,"focus",o)),l?.includes("focusin")&&(typeof s=="function"&&this.listeners.set("focusout",this.renderer.listen(c,"focusout",s)),typeof o=="function"&&this.listeners.set("focusin",this.renderer.listen(c,"focusin",o))),(l?.includes("click")||l?.includes("focus"))&&typeof s=="function"&&this.listeners.set("blur",this.renderer.listen(c,"blur",s)),l?.includes("hover")&&(typeof o=="function"&&this.listeners.set("mouseenter",this.renderer.listen(c,"mouseenter",o)),typeof s=="function"&&this.listeners.set("mouseleave",this.renderer.listen(c,"mouseleave",s)))}clearListeners(){this.listeners.forEach((n,i)=>{n()}),this.listeners.forEach((n,i)=>{this.listeners.set(i,null)}),this.listeners.clear()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var Rk=(()=>{var e;let r=class r{constructor(){T(this,e,new Map)}setItem(i,o){p(this,e).set(i,JSON.stringify(o))}getItem(i){return p(this,e).has(i)?JSON.parse(p(this,e).get(i)??"null"):void 0}removeItem(i){p(this,e).delete(i)}clear(){p(this,e).clear()}get length(){return p(this,e).size}key(i){return Array.from(p(this,e).keys())[i]}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)},r.\u0275prov=C({token:r,factory:r.\u0275fac,providedIn:"root"});let t=r;return t})(),kk=(()=>{var e,r;let n=class n{constructor(){T(this,e);T(this,r);this.platformId=m(zt),this.document=m(ue),A(this,r,new we(null)),this.data$=p(this,r).asObservable(),A(this,e,Us(this.platformId)&&this.document.defaultView?this.document.defaultView?.localStorage:new Rk)}setItem(o,s){p(this,e).setItem(o,JSON.stringify(s)),p(this,r).next({key:o,data:s})}getItem(o){let s=JSON.parse(p(this,e).getItem(o)||"null");return p(this,r).next({key:o,data:s}),s}removeItem(o){p(this,e).removeItem(o),p(this,r).next({key:o,data:null})}clear(){p(this,e).clear(),p(this,r).next(null)}};e=new WeakMap,r=new WeakMap,n.\u0275fac=function(s){return new(s||n)},n.\u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})(),k5=(()=>{var e,r,n,i,AD;let s=class s{constructor(){T(this,i);T(this,e);T(this,r);T(this,n);A(this,e,m(Ke)),A(this,r,m(ue)),A(this,n,m(kk)),this.eventName=We("ColorSchemeChange"),this.localStorageItemName=We(void 0),this.localStorageItemName$=Bh(this.localStorageItemName),this.colorMode=We(void 0),this.colorModeEffect=st(()=>{let c=this.colorMode();if(c){let l=this.localStorageItemName();l&&this.setStoredTheme(l,c),gm(this,i,AD).call(this,c)}}),di({read:()=>{this.localStorageItemName$.pipe(Oe(c=>{this.colorMode.set(this.getDefaultScheme(c))}),vt(p(this,e))).subscribe()}})}getStoredTheme(c){return p(this,n).getItem(c)}setStoredTheme(c,l){return p(this,n).setItem(c,l)}removeStoredTheme(c){p(this,n).removeItem(c)}getDefaultScheme(c){return p(this,r).defaultView===void 0?this.getDatasetTheme():(c&&this.getStoredTheme(c))??this.getDatasetTheme()}getPrefersColorScheme(){return p(this,r).defaultView?.matchMedia("(prefers-color-scheme: dark)").matches?"dark":p(this,r).defaultView?.matchMedia("(prefers-color-scheme: light)").matches?"light":void 0}getDatasetTheme(){return p(this,r).documentElement.dataset.coreuiTheme}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i=new WeakSet,AD=function(c){p(this,r).documentElement.dataset.coreuiTheme=c==="auto"?this.getPrefersColorScheme():c;let l=new Event(this.eventName());p(this,r).documentElement.dispatchEvent(l)},s.\u0275fac=function(l){return new(l||s)},s.\u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"});let t=s;return t})(),_a=(()=>{let e=class e{constructor(){this.carouselIndex=new we({}),this.carouselIndex$=this.carouselIndex.asObservable()}setIndex(n){this.carouselIndex.next(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Sa=(()=>{let e=class e{constructor(n){this.carouselService=n,this._state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}get state(){return this._state}set state(n){let i=b({},this._state),o=b(b({},this._state),n);if(this._state=o,i.activeItemIndex!==o.activeItemIndex){let s=this.state.activeItemIndex||0,a=this.state.items&&this.state.items[s]?.interval||-1;this.carouselService.setIndex({active:o.activeItemIndex,interval:a,lastItemIndex:(o.items?.length??0)-1})}}setItems(n){if(n.length){let i=n.toArray();i.forEach((o,s)=>{o.index=s}),this.state={items:i}}else this.reset()}setNextIndex(n){this.carouselService.setIndex(n)}direction(n="next"){this.state={direction:n};let{activeItemIndex:i=-1,items:o}=this.state,s=o?.length??0;return s>0?n==="next"?i===s-1?0:i+1:i===0?s-1:i-1:0}reset(){this.state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}};e.\u0275fac=function(i){return new(i||e)(E(_a))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),DD=(()=>{let e=class e{constructor(){this.activeIndex=0,this.animate=!0,this.dark=!1,this.direction="next",this.interval=3e3}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),F5=(()=>{var e;let r=class r{constructor(i,o,s,a,c,l){T(this,e);this.config=i,this.hostElement=o,this.carouselService=s,this.carouselState=a,this.intersectionService=c,this.listenersService=l,this.activeIndex=0,this.animate=!0,this.direction="next",this.interval=0,this.pause="hover",this.touch=!0,this.transition="slide",this.wrap=!0,this.itemChange=new Ie,this.activeItemInterval=0,A(this,e,m(Ke)),this._visible=!0,Object.assign(this,i)}get hostClasses(){return{carousel:!0,slide:!0,"carousel-fade":this.transition==="crossfade"}}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.resetTimer(),this.clearListeners(),this.swipeSubscribe(!1)}ngAfterContentInit(){this.intersectionServiceSubscribe(),this.carouselState.state={activeItemIndex:this.activeIndex,animate:this.animate},this.setListeners(),this.swipeSubscribe()}setListeners(){let i={hostElement:this.hostElement,trigger:this.pause||[],callbackOff:()=>{this.setTimer()},callbackOn:()=>{this.resetTimer()}};this.listenersService.setListeners(i)}clearListeners(){this.listenersService.clearListeners()}set visible(i){this._visible=i}get visible(){return this._visible}setTimer(){let i=this.activeItemInterval||0;this.resetTimer(),i>0&&(this.timerId=setTimeout(()=>{let o=this.carouselState.direction(this.direction);this.carouselState.state={activeItemIndex:o}},i))}resetTimer(){clearTimeout(this.timerId),this.timerId=void 0}carouselStateSubscribe(){this.carouselService.carouselIndex$.pipe(vt(p(this,e))).subscribe(i=>{"active"in i&&this.itemChange.emit(i.active),this.activeItemInterval=typeof i.interval=="number"&&i.interval>-1?i.interval:this.interval;let o=i.active===i.lastItemIndex&&this.direction==="next"||i.active===0&&this.direction==="prev";!this.wrap&&o?this.resetTimer():this.setTimer()})}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.hostElement),this.intersectionService.intersecting$.pipe(Ne(i=>i.hostElement===this.hostElement),kn(()=>{this.intersectionService.unobserve(this.hostElement)}),vt(p(this,e))).subscribe(i=>{this.visible=i.isIntersecting,i.isIntersecting?this.setTimer():this.resetTimer()})}swipeSubscribe(i=!0){if(this.touch&&i){let o=this.hostElement.nativeElement,s=Ln(o,"touchstart"),a=Ln(o,"touchend"),c=Ln(o,"touchmove");this.swipeSubscription=s.pipe(Uu(a.pipe(Hu(c))),vt(p(this,e))).subscribe(([l,[u,d]])=>{l.stopPropagation(),d.stopPropagation();let h=l.touches[0].clientX-d.touches[0].clientX;if(Math.abs(h)>.3*o.clientWidth&&l.timeStamp<=d.timeStamp){let f=this.carouselState.direction(h>0?"next":"prev");this.carouselState.state={activeItemIndex:f}}})}else this.swipeSubscription?.unsubscribe()}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)(v(DD),v(H),v(_a),v(Sa),v(bu),v(Yo))},r.\u0275cmp=_({type:r,selectors:[["c-carousel"]],hostAttrs:[1,"carousel","slide"],hostVars:2,hostBindings:function(o,s){o&2&&x(s.hostClasses)},inputs:{activeIndex:"activeIndex",animate:"animate",direction:"direction",interval:"interval",pause:"pause",touch:"touch",transition:"transition",wrap:"wrap"},outputs:{itemChange:"itemChange"},standalone:!0,features:[In([_a,Sa,DD,Yo]),on([{directive:Ta,inputs:["dark","dark"]}]),S],ngContentSelectors:V,decls:1,vars:0,template:function(o,s){o&1&&(B(),k(0))},styles:["[_nghost-%COMP%]{display:block}"]});let t=r;return t})(),P5=(()=>{let e=class e{constructor(){this.carouselCaptionClass=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-carousel-caption"]],hostVars:2,hostBindings:function(i,o){i&2&&Yt("carousel-caption",o.carouselCaptionClass)},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},styles:["[_nghost-%COMP%]{display:block}"]});let t=e;return t})(),L5=(()=>{let e=class e{constructor(n,i){this.changeDetectorRef=n,this.carouselState=i,this.direction="next",this.hasContent=!0}set caption(n){this._caption=n}get caption(){return this._caption?this._caption:this.direction==="prev"?"Previous":"Next"}get hostRole(){return"button"}get hostClasses(){return`carousel-control-${this.direction}`}get carouselControlIconClass(){return`carousel-control-${this.direction}-icon`}onKeyUp(n){n.key==="Enter"&&this.play(),n.key==="ArrowLeft"&&this.play("prev"),n.key==="ArrowRight"&&this.play("next")}onClick(n){this.play()}ngAfterViewInit(){this.hasContent=this.content?.nativeElement.childNodes.length??!1,this.changeDetectorRef.detectChanges()}play(n=this.direction){let i=this.carouselState.direction(n);this.carouselState.state={activeItemIndex:i}}};e.\u0275fac=function(i){return new(i||e)(v(_t),v(Sa))},e.\u0275cmp=_({type:e,selectors:[["c-carousel-control"]],viewQuery:function(i,o){if(i&1&&hi(FO,5),i&2){let s;Me(s=Te())&&(o.content=s.first)}},hostVars:3,hostBindings:function(i,o){i&1&&Le("keyup",function(a){return o.onKeyUp(a)})("click",function(a){return o.onClick(a)}),i&2&&(X("role",o.hostRole),x(o.hostClasses))},inputs:{caption:"caption",direction:"direction"},standalone:!0,features:[S],ngContentSelectors:V,decls:2,vars:1,consts:[["content",""],[1,"visually-hidden"]],template:function(i,o){i&1&&(B(),j(0,PO,3,0,"div")(1,LO,3,5)),i&2&&J(o.hasContent?0:1)},encapsulation:2});let t=e;return t})(),j5=(()=>{let e=class e{constructor(n,i){this.carouselService=n,this.carouselState=i,this.items=[],this.active=0}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.carouselStateSubscribe(!1)}onClick(n){if(n!==this.active){let i=n{this.items=this.carouselState?.state?.items?.map(o=>o.index)??[],"active"in i&&(this.active=i.active??0)}):this.carouselIndexSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(v(_a),v(Sa))},e.\u0275cmp=_({type:e,selectors:[["c-carousel-indicators"]],standalone:!0,features:[S],decls:3,vars:0,consts:[[1,"carousel-indicators"],["type","button",3,"class"],["type","button",3,"click"]],template:function(i,o){i&1&&(P(0,"div",0),Vs(1,BO,1,6,"button",1,Bs),F()),i&2&&(D(),$s(o.items))},encapsulation:2});let t=e;return t})();function ND(t,e){return e.left===!0}function OD(t,e){return e.left===!1}var Fk=Ui("slideAnimation",[St("*",be({transform:"translateX(0)",display:"block",opacity:1})),xt(ND,fa([vi(":leave",[je("0.6s ease-in-out",be({transform:"translateX(-100%)"}))],{optional:!0}),vi(":enter",[be({transform:"translateX(100%)"}),je("0.6s ease-in-out",be("*"))],{optional:!0})])),xt(OD,fa([vi(":enter",[be({transform:"translateX(-100%)"}),je("0.6s ease-in-out",be("*"))],{optional:!0}),vi(":leave",[je("0.6s ease-in-out",be({transform:"translateX(100%)"}))],{optional:!0})]))]),Pk=Ui("fadeAnimation",[St("*",be({zIndex:1,opacity:1})),xt(ND,fa([vi(":leave",[je("0.6s ease-in-out",be({zIndex:0,opacity:0}))],{optional:!0}),vi(":enter",[be({zIndex:1,opacity:1}),je("0.6s ease-in-out",be("*"))],{optional:!0})])),xt(OD,fa([vi(":enter",[be({zIndex:1,opacity:1}),je("0.6s ease-in-out",be("*"))],{optional:!0}),vi(":leave",[je("0.6s ease-in-out",be({zIndex:0,opacity:0}))],{optional:!0})]))]),Lk=(()=>{let e=class e{set active(n){this._active=n,this.changeDetectorRef.markForCheck()}get active(){return this._active}get hostClasses(){return{"carousel-item":!0,active:this.active}}constructor(n,i){this.carouselService=n,this.changeDetectorRef=i,this._active=!1,this.interval=-1}ngOnDestroy(){this.carouselStateSubscribe(!1)}ngAfterViewInit(){setTimeout(()=>{this.carouselStateSubscribe()})}carouselStateSubscribe(n=!0){n?this.carouselIndexSubscription=this.carouselService.carouselIndex$.subscribe(i=>{"active"in i&&(this.active=i.active===this.index)}):this.carouselIndexSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(v(_a),v(_t))},e.\u0275cmp=_({type:e,selectors:[["c-carousel-item"]],hostAttrs:[1,"carousel-item"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{active:[2,"active","active",M],interval:"interval"},standalone:!0,features:[te,S],ngContentSelectors:V,decls:1,vars:1,template:function(i,o){i&1&&(B(),j(0,VO,1,0)),i&2&&J(o.active?0:-1)},styles:["[_nghost-%COMP%]{display:block}"]});let t=e;return t})(),B5=(()=>{let e=class e{constructor(n){this.carouselState=n,this.carouselInnerClass=!0,this.slide={left:!0},this.transition="slide"}ngAfterContentInit(){this.setItems()}ngAfterContentChecked(){this.setItems();let n=this.carouselState?.state,i=n?.activeItemIndex,o=n?.direction;this.activeIndex!==i&&(this.animate=n?.animate,this.slide={left:o==="next"},this.activeIndex=n?.activeItemIndex,this.transition=n?.transition??"slide")}setItems(){this.prevContentItems!==this.contentItems&&(this.prevContentItems=this.contentItems,this.carouselState.setItems(this.contentItems))}};e.\u0275fac=function(i){return new(i||e)(v(Sa))},e.\u0275cmp=_({type:e,selectors:[["c-carousel-inner"]],contentQueries:function(i,o,s){if(i&1&&tt(s,Lk,4),i&2){let a;Me(a=Te())&&(o.contentItems=a)}},hostVars:2,hostBindings:function(i,o){i&2&&Yt("carousel-inner",o.carouselInnerClass)},standalone:!0,features:[S],ngContentSelectors:V,decls:2,vars:2,template:function(i,o){i&1&&(B(),P(0,"div"),k(1),F()),i&2&&I("@slideAnimation",o.slide)("@.disabled",!o.animate)},styles:["[_nghost-%COMP%]{display:block}"],data:{animation:[Fk,Pk]}});let t=e;return t})();var V5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cDropdownDivider",""]],hostAttrs:[1,"dropdown-divider"],standalone:!0});let t=e;return t})(),$5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cDropdownHeader",""]],hostAttrs:[1,"dropdown-header"],standalone:!0});let t=e;return t})(),Xo=(()=>{let e=class e{constructor(){this.dropdownState=new we({}),this.dropdownState$=this.dropdownState.asObservable()}toggle(n){this.dropdownState.next(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),wD=(()=>{var e,r,n;let i=class i{constructor(){T(this,e);T(this,r);T(this,n);A(this,e,m(Ke)),this.elementRef=m(H),A(this,r,m(Xo)),this.visible=!1}get hostClasses(){return{"dropdown-menu":!0,[`dropdown-menu-${this.alignment}`]:!!this.alignment,show:this.visible}}get hostStyles(){return{visibility:this.visible?null:"",display:this.visible?null:""}}onKeyDown(s){this.visible&&(["Space","ArrowDown"].includes(s.code)&&s.preventDefault(),p(this,n).onKeydown(s))}onKeyUp(s){this.visible&&["Tab"].includes(s.key)&&(p(this,n).activeItem?s.shiftKey?p(this,n).setPreviousItemActive():p(this,n).setNextItemActive():p(this,n).setFirstItemActive())}ngAfterContentInit(){this.focusKeyManagerInit(),this.dropdownItemsContent.changes.pipe(Oe(s=>{this.focusKeyManagerInit()}),vt(p(this,e))).subscribe()}ngOnInit(){p(this,r).dropdownState$.pipe(Oe(s=>{"visible"in s&&(this.visible=s.visible==="toggle"?!this.visible:s.visible,this.visible||p(this,n)?.setActiveItem(-1))}),vt(p(this,e))).subscribe()}focusKeyManagerInit(){A(this,n,new Ea(this.dropdownItemsContent).withHomeAndEnd().withPageUpDown().withWrap().skipPredicate(s=>s.disabled===!0))}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i.\u0275fac=function(a){return new(a||i)},i.\u0275dir=N({type:i,selectors:[["","cDropdownMenu",""]],contentQueries:function(a,c,l){if(a&1&&tt(l,Bk,5),a&2){let u;Me(u=Te())&&(c.dropdownItemsContent=u)}},hostAttrs:[1,"dropdown-menu"],hostVars:4,hostBindings:function(a,c){a&1&&Le("keydown",function(u){return c.onKeyDown(u)})("keyup",function(u){return c.onKeyUp(u)}),a&2&&(js(c.hostStyles),x(c.hostClasses))},inputs:{alignment:"alignment",visible:"visible"},exportAs:["cDropdownMenu"],standalone:!0,features:[on([{directive:Ta,inputs:["dark","dark"]}])]});let t=i;return t})(),Cu=class{},jk=(()=>{var e,r,n;let i=class i{constructor(){T(this,e);T(this,r);T(this,n);A(this,e,m(Ke)),this.elementRef=m(H),A(this,r,m(Xo)),this.dropdown=m(Cu,{optional:!0}),this.disabled=!1,this.caret=!0,this.split=!1,A(this,n,We(!1))}get hostClasses(){return{"dropdown-toggle":this.caret,"dropdown-toggle-split":this.split,disabled:this.disabled}}get ariaExpanded(){return p(this,n).call(this)}onClick(s){s.preventDefault(),!this.disabled&&p(this,r).toggle({visible:"toggle",dropdown:this.dropdown})}ngAfterViewInit(){this.dropdownComponent&&(this.dropdown=this.dropdownComponent,A(this,r,this.dropdownComponent?.dropdownService)),this.dropdown&&this.dropdown?.visibleChange?.pipe(vt(p(this,e))).subscribe(a=>{p(this,n).set(a)})}};e=new WeakMap,r=new WeakMap,n=new WeakMap,i.\u0275fac=function(a){return new(a||i)},i.\u0275dir=N({type:i,selectors:[["","cDropdownToggle",""]],hostVars:3,hostBindings:function(a,c){a&1&&Le("click",function(u){return c.onClick(u)}),a&2&&(X("aria-expanded",c.ariaExpanded),x(c.hostClasses))},inputs:{dropdownComponent:"dropdownComponent",disabled:[2,"disabled","disabled",M],caret:"caret",split:[2,"split","split",M]},exportAs:["cDropdownToggle"],standalone:!0,features:[In([{provide:Cu,useExisting:il(()=>RD)}]),te]});let t=i;return t})(),RD=(()=>{let e=class e{constructor(n,i,o,s,a,c){this.document=n,this.elementRef=i,this.renderer=o,this.ngZone=s,this.changeDetectorRef=a,this.dropdownService=c,this.autoClose=!0,this.placement="bottom-start",this.popper=!0,this._popperOptions={placement:this.placement,modifiers:[],strategy:"absolute"},this.variant="dropdown",this._visible=!1,this.visibleChange=new Ie,this.dropdownContext={$implicit:this.visible},this.activeTrap=!1,this.listeners=[],this.dropdownStateSubscribe()}set popperOptions(n){this._popperOptions=b(b({},this._popperOptions),n)}get popperOptions(){let n=this.placement;switch(this.direction){case"dropup":{n="top-start";break}case"dropend":{n="right-start";break}case"dropstart":{n="left-start";break}case"center":{n="bottom";break}case"dropup-center":{n="top";break}}return this.alignment==="end"&&(n="bottom-end"),this._popperOptions=he(b({},this._popperOptions),{placement:n}),this._popperOptions}set visible(n){let i=n;i!==this._visible&&(this.activeTrap=i,this._visible=i,i?this.createPopperInstance():this.destroyPopperInstance(),this.visibleChange.emit(i))}get visible(){return this._visible}get hostClasses(){return{dropdown:(this.variant==="dropdown"||this.variant==="nav-item")&&!this.direction,[`${this.direction}`]:!!this.direction,[`${this.variant}`]:!!this.variant,dropup:this.direction==="dropup"||this.direction==="dropup-center",show:this.visible}}get hostStyle(){return this.variant==="input-group"?{display:"contents"}:{}}onHostClick(n){this.clickedTarget=n.target}dropdownStateSubscribe(n=!0){n?this.dropdownStateSubscription=this.dropdownService.dropdownState$.pipe(Ne(i=>this===i.dropdown)).subscribe(i=>{"visible"in i&&(i?.visible==="toggle"?this.toggleDropdown():this.visible=i.visible)}):this.dropdownStateSubscription?.unsubscribe()}toggleDropdown(){this.visible=!this.visible}onClick(n){this._toggler?.elementRef.nativeElement.contains(n.target?.closest("[cDropdownToggle]"))||this.toggleDropdown()}ngAfterContentInit(){this.variant==="nav-item"&&this.renderer.addClass(this._toggler.elementRef.nativeElement,"nav-link")}ngOnInit(){this.setVisibleState(this.visible)}ngOnChanges(n){n.visible&&!n.visible.firstChange&&this.setVisibleState(n.visible.currentValue)}ngOnDestroy(){this.clearListeners(),this.dropdownStateSubscribe(!1),this.destroyPopperInstance()}setVisibleState(n){this.dropdownService.toggle({visible:n,dropdown:this})}createPopperInstance(){this._toggler&&this._menu&&this.ngZone.runOutsideAngular(()=>{this._menu.elementRef.nativeElement.style.visibility="hidden",this._menu.elementRef.nativeElement.style.display="block",this.popper&&(this.popperInstance=Ca(this._toggler.elementRef.nativeElement,this._menu.elementRef.nativeElement,b({},this.popperOptions))),this.ngZone.run(()=>{this.setListeners(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()})})}destroyPopperInstance(){this.clearListeners(),this.popperInstance?.destroy(),this.popperInstance=void 0,this.changeDetectorRef.markForCheck()}setListeners(){this.listeners.push(this.renderer.listen(this.document,"click",n=>{let i=n.target;if(this._menuElementRef?.nativeElement.contains(n.target)&&(this.clickedTarget=i),!this._toggler?.elementRef.nativeElement.contains(n.target)){if(this.autoClose===!0){this.setVisibleState(!1);return}if(this.clickedTarget===i&&this.autoClose==="inside"){this.setVisibleState(!1);return}if(this.clickedTarget!==i&&this.autoClose==="outside"){this.setVisibleState(!1);return}}})),this.listeners.push(this.renderer.listen(this.elementRef.nativeElement,"keyup",n=>{if(n.key==="Escape"&&this.autoClose!==!1){n.stopPropagation(),this.setVisibleState(!1);return}})),this.listeners.push(this.renderer.listen(this.document,"keyup",n=>{if(n.key==="Tab"&&this.autoClose!==!1&&!this.elementRef.nativeElement.contains(n.target)){this.setVisibleState(!1);return}}))}clearListeners(){this.listeners.forEach(n=>{n()}),this.listeners.fill(void 0),this.listeners=[]}};e.\u0275fac=function(i){return new(i||e)(v(ue),v(H),v(fe),v(me),v(_t),v(Xo))},e.\u0275cmp=_({type:e,selectors:[["c-dropdown"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,jk,5),tt(s,wD,5),tt(s,wD,5,H)),i&2){let a;Me(a=Te())&&(o._toggler=a.first),Me(a=Te())&&(o._menu=a.first),Me(a=Te())&&(o._menuElementRef=a.first)}},hostVars:4,hostBindings:function(i,o){i&1&&Le("click",function(a){return o.onHostClick(a)}),i&2&&(js(o.hostStyle),x(o.hostClasses))},inputs:{alignment:"alignment",autoClose:"autoClose",direction:"direction",placement:"placement",popper:[2,"popper","popper",M],popperOptions:"popperOptions",variant:"variant",visible:[2,"visible","visible",M]},outputs:{visibleChange:"visibleChange"},exportAs:["cDropdown"],standalone:!0,features:[In([Xo]),te,on([{directive:Ta,inputs:["dark","dark"]}]),Qe,S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},styles:[".dropdown[_nghost-%COMP%]:not(.btn-group), .dropdown [_nghost-%COMP%]:not(.btn-group), .dropup[_nghost-%COMP%]:not(.btn-group), .dropup [_nghost-%COMP%]:not(.btn-group){display:block}.dropstart[_nghost-%COMP%]:not(.btn-group), .dropstart [_nghost-%COMP%]:not(.btn-group), .dropend[_nghost-%COMP%]:not(.btn-group), .dropend [_nghost-%COMP%]:not(.btn-group){display:inline-flex}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]{direction:rtl}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}"]});let t=e;return t})(),Bk=(()=>{var e;let r=class r{constructor(i,o){T(this,e);this.dropdownService=i,this.dropdown=o,this.autoClose=!0,A(this,e,m(H)),this._tabIndex=null}focus(i){p(this,e)?.nativeElement?.focus()}getLabel(){return p(this,e)?.nativeElement?.textContent.trim()}get ariaCurrent(){return this.active?"true":null}get hostClasses(){return{"dropdown-item":!0,active:this.active,disabled:this.disabled}}set tabIndex(i){this._tabIndex=i}get tabIndex(){return this.disabled?"-1":this._tabIndex}get isDisabled(){return this.disabled||null}onClick(i){this.autoClose&&this.dropdownService.toggle({visible:"toggle",dropdown:this.dropdown})}onKeyUp(i){i.key==="Enter"&&this.autoClose&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)(v(Xo),v(RD,8))},r.\u0275dir=N({type:r,selectors:[["","cDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:5,hostBindings:function(o,s){o&1&&Le("click",function(c){return s.onClick(c)})("keyup",function(c){return s.onKeyUp(c)}),o&2&&(X("aria-current",s.ariaCurrent)("tabindex",s.tabIndex)("aria-disabled",s.isDisabled),x(s.hostClasses))},inputs:{active:"active",autoClose:"autoClose",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cDropdownItem"],standalone:!0});let t=r;return t})();var H5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=$t({providers:[Xo]});let t=e;return t})(),U5=(()=>{let e=class e{constructor(){this.role="contentinfo"}get getClasses(){return{footer:!0,[`footer-${this.position}`]:!!this.position}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-footer"],["","cFooter",""]],hostAttrs:[1,"footer"],hostVars:3,hostBindings:function(i,o){i&2&&(X("role",o.role),x(o.getClasses))},inputs:{position:"position",role:"role"},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})();var z5=(()=>{let e=class e{constructor(){this.validated=!1}get hostClasses(){return{"was-validated":this.validated}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["form","cForm",""]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{validated:[2,"validated","validated",M]},standalone:!0,features:[te]});let t=e;return t})(),W5=(()=>{let e=class e{constructor(){this.tooltip=!1}get hostClasses(){return{"valid-feedback":this.valid===!0&&!this.tooltip,"valid-tooltip":this.valid===!0&&this.tooltip,"invalid-feedback":this.valid!==!0&&!this.tooltip,"invalid-tooltip":this.valid!==!0&&this.tooltip}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-form-feedback"]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{tooltip:[2,"tooltip","tooltip",M],valid:"valid"},standalone:!0,features:[te,S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),G5=(()=>{let e=class e{constructor(){this.sizing=""}get hostClasses(){return{"input-group":!0,[`input-group-${this.sizing}`]:!!this.sizing}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_({type:e,selectors:[["c-input-group"]],hostAttrs:[1,"input-group"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{sizing:"sizing"},standalone:!0,features:[S],ngContentSelectors:V,decls:1,vars:0,template:function(i,o){i&1&&(B(),k(0))},encapsulation:2});let t=e;return t})(),q5=(()=>{let e=class e{constructor(){this.sizing=""}get hostClasses(){return{"form-select":!0,[`form-select-${this.sizing}`]:!!this.sizing,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["select","cSelect",""]],hostAttrs:[1,"form-select"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{sizing:"sizing",valid:"valid"},standalone:!0});let t=e;return t})(),Q5=(()=>{let e=class e{constructor(){this.col="",this.sizing=""}get hostClasses(){return{"form-label":!0,"col-form-label":this.col==="col",[`col-form-label-${this.sizing}`]:!!this.sizing&&this.col==="col"}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","cLabel",""]],hostAttrs:[1,"form-label"],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},inputs:{col:[0,"cLabel","col"],sizing:"sizing"},standalone:!0});let t=e;return t})(),Vk=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["label","cFormCheckLabel",""]],hostAttrs:[1,"form-check-label"],standalone:!0});let t=e;return t})(),Z5=(()=>{var e;let r=class r{constructor(){T(this,e);this.inline=!1,this.reverse=!1,this.sizing="",this.switch=!1,A(this,e,!0)}get hostClasses(){return{"form-check":this.formCheckClass,"form-switch":this.switch,[`form-switch-${this.sizing}`]:this.switch&&!!this.sizing,"form-check-inline":this.inline,"form-check-reverse":this.reverse}}get formCheckClass(){return p(this,e)}ngAfterContentInit(){A(this,e,!!this.formCheckLabel)}};e=new WeakMap,r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=_({type:r,selectors:[["c-form-check"]],contentQueries:function(o,s,a){if(o&1&&tt(a,Vk,5),o&2){let c;Me(c=Te())&&(s.formCheckLabel=c.first)}},hostVars:2,hostBindings:function(o,s){o&2&&x(s.hostClasses)},inputs:{inline:[2,"inline","inline",M],reverse:[2,"reverse","reverse",M],sizing:"sizing",switch:[2,"switch","switch",M]},exportAs:["cFormCheck"],standalone:!0,features:[te,S],ngContentSelectors:V,decls:1,vars:0,template:function(o,s){o&1&&(B(),k(0))},encapsulation:2});let t=r;return t})(),K5=(()=>{let e=class e{set indeterminate(n){let i=n;if(this._indeterminate!==i){this._indeterminate=i;let o=this.hostElement.nativeElement;i&&this.renderer.setProperty(o,"checked",!1),this.renderer.setProperty(o,"indeterminate",i)}}get indeterminate(){return this._indeterminate}get hostClasses(){return{"form-check-input":!0,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}set checked(n){let i=n,o=this.hostElement?.nativeElement;o&&this.renderer.setProperty(o,"checked",i)}get checked(){return this.hostElement?.nativeElement?.checked}constructor(n,i){this.renderer=n,this.hostElement=i,this.type="checkbox",this._indeterminate=!1}};e.\u0275fac=function(i){return new(i||e)(v(fe),v(H))},e.\u0275dir=N({type:e,selectors:[["input","cFormCheckInput",""]],hostAttrs:[1,"form-check-input"],hostVars:3,hostBindings:function(i,o){i&2&&(X("type",o.type),x(o.hostClasses))},inputs:{type:"type",indeterminate:[2,"indeterminate","indeterminate",M],valid:"valid",checked:[2,"checked","checked",M]},standalone:!0,features:[te]});let t=e;return t})(),Y5=(()=>{let e=class e{constructor(n){this.hostElement=n,this.sizing="",this.type="text",this.plaintext=!1}get hostClasses(){let n=this.type==="range";return{"form-control":!n&&!this.plaintext,"form-control-plaintext":!n&&this.plaintext,"form-control-color":this.type==="color","form-range":n,[`form-control-${this.sizing}`]:!!this.sizing&&!n,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}get hostTag(){return this.hostElement.nativeElement.tagName}ngOnInit(){let n=this.hostTag.toLowerCase();n!=="input"&&n!=="textarea"&&console.warn(`CoreUI [cFormControl] works with '' and '