diff --git a/404.html b/404.html index 99feef7..456e3c2 100644 --- a/404.html +++ b/404.html @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/index.html b/index.html index 99feef7..456e3c2 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/main.6b5bf83646bc6ac6.js b/main.6b5bf83646bc6ac6.js new file mode 100644 index 0000000..577d3f1 --- /dev/null +++ b/main.6b5bf83646bc6ac6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngx_cream_portal=self.webpackChunkngx_cream_portal||[]).push([[179],{5:()=>{function ge(n){return"function"==typeof n}function mn(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const vo=mn(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,s)=>`${s+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function kr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class Wt{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const a of t)a.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ge(r))try{r()}catch(a){e=a instanceof vo?a.errors:[a]}const{_finalizers:s}=this;if(s){this._finalizers=null;for(const a of s)try{Ie(a)}catch(u){e=e??[],u instanceof vo?e=[...e,...u.errors]:e.push(u)}}if(e)throw new vo(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Ie(e);else{if(e instanceof Wt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&kr(t,e)}remove(e){const{_finalizers:t}=this;t&&kr(t,e),e instanceof Wt&&e._removeParent(this)}}Wt.EMPTY=(()=>{const n=new Wt;return n.closed=!0,n})();const yd=Wt.EMPTY;function Zl(n){return n instanceof Wt||n&&"closed"in n&&ge(n.remove)&&ge(n.add)&&ge(n.unsubscribe)}function Ie(n){ge(n)?n():n.unsubscribe()}const Or={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vs={setTimeout(n,e,...t){const{delegate:r}=vs;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=vs;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Xl(n){vs.setTimeout(()=>{const{onUnhandledError:e}=Or;if(!e)throw n;e(n)})}function Jl(){}const Fr=bd("C",void 0,void 0);function bd(n,e,t){return{kind:n,value:e,error:t}}let _s=null;function Mt(n){if(Or.useDeprecatedSynchronousErrorHandling){const e=!_s;if(e&&(_s={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:r}=_s;if(_s=null,t)throw r}}else n()}class ba extends Wt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zl(e)&&e.add(this)):this.destination=nc}static create(e,t,r){return new Xt(e,t,r)}next(e){this.isStopped?wd(function Ty(n){return bd("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?wd(function ec(n){return bd("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?wd(Fr,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()}}}const Cd=Function.prototype.bind;function Ed(n,e){return Cd.call(n,e)}class je{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){tc(r)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){tc(r)}else tc(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){tc(t)}}}class Xt extends ba{constructor(e,t,r){let s;if(super(),ge(e)||!e)s={next:e??void 0,error:t??void 0,complete:r??void 0};else{let a;this&&Or.useDeprecatedNextContext?(a=Object.create(e),a.unsubscribe=()=>this.unsubscribe(),s={next:e.next&&Ed(e.next,a),error:e.error&&Ed(e.error,a),complete:e.complete&&Ed(e.complete,a)}):s=e}this.destination=new je(s)}}function tc(n){Or.useDeprecatedSynchronousErrorHandling?function Ni(n){Or.useDeprecatedSynchronousErrorHandling&&_s&&(_s.errorThrown=!0,_s.error=n)}(n):Xl(n)}function wd(n,e){const{onStoppedNotification:t}=Or;t&&vs.setTimeout(()=>t(n,e))}const nc={closed:!0,next:Jl,error:function Iy(n){throw n},complete:Jl},Xf="function"==typeof Symbol&&Symbol.observable||"@@observable";function ys(n){return n}function Jf(n){return 0===n.length?ys:1===n.length?n[0]:function(t){return n.reduce((r,s)=>s(r),t)}}let Ct=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,s){const a=function ic(n){return n&&n instanceof ba||function xy(n){return n&&ge(n.next)&&ge(n.error)&&ge(n.complete)}(n)&&Zl(n)}(t)?t:new Xt(t,r,s);return Mt(()=>{const{operator:u,source:h}=this;a.add(u?u.call(a,h):h?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Sd(r))((s,a)=>{const u=new Xt({next:h=>{try{t(h)}catch(f){a(f),u.unsubscribe()}},error:a,complete:s});this.subscribe(u)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Xf](){return this}pipe(...t){return Jf(t)(this)}toPromise(t){return new(t=Sd(t))((r,s)=>{let a;this.subscribe(u=>a=u,u=>s(u),()=>r(a))})}}return n.create=e=>new n(e),n})();function Sd(n){var e;return null!==(e=n??Or.Promise)&&void 0!==e?e:Promise}const oS=mn(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ue=(()=>{class n extends Ct{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Dd(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new oS}next(t){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:s,observers:a}=this;return r||s?yd:(this.currentObservers=null,a.push(t),new Wt(()=>{this.currentObservers=null,kr(a,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:s,isStopped:a}=this;r?t.error(s):a&&t.complete()}asObservable(){const t=new Ct;return t.source=this,t}}return n.create=(e,t)=>new Dd(e,t),n})();class Dd extends Ue{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:yd}}function eg(n){return ge(n?.lift)}function mt(n){return e=>{if(eg(e))return e.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Pt(n,e,t,r,s){return new My(n,e,t,r,s)}class My extends ba{constructor(e,t,r,s,a,u){super(e),this.onFinalize=a,this.shouldUnsubscribe=u,this._next=t?function(h){try{t(h)}catch(f){e.error(f)}}:super._next,this._error=s?function(h){try{s(h)}catch(f){e.error(f)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(h){e.error(h)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Ae(n,e){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>{r.next(n.call(e,a,s++))}))})}function Nt(n){return this instanceof Nt?(this.v=n,this):new Nt(n)}function Sn(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,r=t.apply(n,e||[]),a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(D){r[D]&&(s[D]=function(I){return new Promise(function(M,R){a.push([D,I,M,R])>1||h(D,I)})})}function h(D,I){try{!function f(D){D.value instanceof Nt?Promise.resolve(D.value.v).then(m,b):E(a[0][2],D)}(r[D](I))}catch(M){E(a[0][3],M)}}function m(D){h("next",D)}function b(D){h("throw",D)}function E(D,I){D(I),a.shift(),a.length&&h(a[0][0],a[0][1])}}function $y(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function ig(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(a){t[a]=n[a]&&function(u){return new Promise(function(h,f){!function s(a,u,h,f){Promise.resolve(f).then(function(m){a({value:m,done:h})},u)}(h,f,(u=n[a](u)).done,u.value)})}}}const Ad=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function og(n){return ge(n?.then)}function xd(n){return ge(n[Xf])}function ag(n){return Symbol.asyncIterator&&ge(n?.[Symbol.asyncIterator])}function qi(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const nt=function Ca(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Gi(n){return ge(n?.[nt])}function Ri(n){return Sn(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:r,done:s}=yield Nt(t.read());if(s)return yield Nt(void 0);yield yield Nt(r)}}finally{t.releaseLock()}})}function lg(n){return ge(n?.getReader)}function Yn(n){if(n instanceof Ct)return n;if(null!=n){if(xd(n))return function bs(n){return new Ct(e=>{const t=n[Xf]();if(ge(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Ad(n))return function Dn(n){return new Ct(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Xl)})}(n);if(ag(n))return Cs(n);if(Gi(n))return function Vy(n){return new Ct(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(lg(n))return function Md(n){return Cs(Ri(n))}(n)}throw qi(n)}function Cs(n){return new Ct(e=>{(function jy(n,e){var t,r,s,a;return function ky(n,e,t,r){return new(t||(t=Promise))(function(a,u){function h(b){try{m(r.next(b))}catch(E){u(E)}}function f(b){try{m(r.throw(b))}catch(E){u(E)}}function m(b){b.done?a(b.value):function s(a){return a instanceof t?a:new t(function(u){u(a)})}(b.value).then(h,f)}m((r=r.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=$y(n);!(r=yield t.next()).done;)if(e.next(r.value),e.closed)return}catch(u){s={error:u}}finally{try{r&&!r.done&&(a=t.return)&&(yield a.call(t))}finally{if(s)throw s.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Kt(n,e,t,r=0,s=!1){const a=e.schedule(function(){t(),s?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(a),!s)return a}function U(n,e,t=1/0){return ge(e)?U((r,s)=>Ae((a,u)=>e(r,a,s,u))(Yn(n(r,s))),t):("number"==typeof e&&(t=e),mt((r,s)=>function hi(n,e,t,r,s,a,u,h){const f=[];let m=0,b=0,E=!1;const D=()=>{E&&!f.length&&!m&&e.complete()},I=R=>m{a&&e.next(R),m++;let F=!1;Yn(t(R,b++)).subscribe(Pt(e,V=>{s?.(V),a?I(V):e.next(V)},()=>{F=!0},void 0,()=>{if(F)try{for(m--;f.length&&mM(V)):M(V)}D()}catch(V){e.error(V)}}))};return n.subscribe(Pt(e,I,()=>{E=!0,D()})),()=>{h?.()}}(r,s,n,t)))}function Es(n=1/0){return U(ys,n)}const Wi=new Ct(n=>n.complete());function ws(n){return n&&ge(n.schedule)}function Ss(n){return n[n.length-1]}function Lr(n){return ws(Ss(n))?n.pop():void 0}function Ea(n,e=0){return mt((t,r)=>{t.subscribe(Pt(r,s=>Kt(r,n,()=>r.next(s),e),()=>Kt(r,n,()=>r.complete(),e),s=>Kt(r,n,()=>r.error(s),e)))})}function Br(n,e=0){return mt((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),e))})}function ac(n,e){if(!n)throw new Error("Iterable cannot be null");return new Ct(t=>{Kt(t,e,()=>{const r=n[Symbol.asyncIterator]();Kt(t,e,()=>{r.next().then(s=>{s.done?t.complete():t.next(s.value)})},0,!0)})})}function Qt(n,e){return e?function wa(n,e){if(null!=n){if(xd(n))return function oc(n,e){return Yn(n).pipe(Br(e),Ea(e))}(n,e);if(Ad(n))return function fi(n,e){return new Ct(t=>{let r=0;return e.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}(n,e);if(og(n))return function yo(n,e){return Yn(n).pipe(Br(e),Ea(e))}(n,e);if(ag(n))return ac(n,e);if(Gi(n))return function Pd(n,e){return new Ct(t=>{let r;return Kt(t,e,()=>{r=n[nt](),Kt(t,e,()=>{let s,a;try{({value:s,done:a}=r.next())}catch(u){return void t.error(u)}a?t.complete():t.next(s)},0,!0)}),()=>ge(r?.return)&&r.return()})}(n,e);if(lg(n))return function bo(n,e){return ac(Ri(n),e)}(n,e)}throw qi(n)}(n,e):Yn(n)}function lc(...n){const e=Lr(n),t=function sc(n,e){return"number"==typeof Ss(n)?n.pop():e}(n,1/0),r=n;return r.length?1===r.length?Yn(r[0]):Es(t)(Qt(r,e)):Wi}function cc(n,e,...t){if(!0===e)return void n();if(!1===e)return;const r=new Xt({next:()=>{r.unsubscribe(),n()}});return e(...t).subscribe(r)}function Ze(n){for(let e in n)if(n[e]===Ze)return e;throw Error("Could not find renamed property on target object.")}function ut(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ut).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function Sa(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const ug=Ze({__forward_ref__:Ze});function Ds(n){return n.__forward_ref__=Ds,n.toString=function(){return ut(this())},n}function me(n){return Co(n)?n():n}function Co(n){return"function"==typeof n&&n.hasOwnProperty(ug)&&n.__forward_ref__===Ds}function Eo(n){return n&&!!n.\u0275providers}const $r="https://g.co/ng/security#xss";class j extends Error{constructor(e,t){super(function it(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}(e,t)),this.code=e}}function Ce(n){return"string"==typeof n?n:null==n?"":String(n)}function So(n,e){throw new j(-201,!1)}function se(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}function ae(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function at(n){return{providers:n.providers||[],imports:n.imports||[]}}function dc(n){return Jt(n,Ia)||Jt(n,Fd)}function Jt(n,e){return n.hasOwnProperty(e)?n[e]:null}function k(n){return n&&(n.hasOwnProperty(Aa)||n.hasOwnProperty(zy))?n[Aa]:null}const Ia=Ze({\u0275prov:Ze}),Aa=Ze({\u0275inj:Ze}),Fd=Ze({ngInjectableDef:Ze}),zy=Ze({ngInjectorDef:Ze});var _e=(()=>((_e=_e||{})[_e.Default=0]="Default",_e[_e.Host=1]="Host",_e[_e.Self=2]="Self",_e[_e.SkipSelf=4]="SkipSelf",_e[_e.Optional=8]="Optional",_e))();let Ld;function Jn(n){const e=Ld;return Ld=n,e}function gg(n,e,t){const r=dc(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&_e.Optional?null:void 0!==e?e:void So(ut(n))}const dt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Do={},N="__NG_DI_FLAG__",x="ngTempTokenPath",Gy=/\n/gm,mg="__source";let Ur;function To(n){const e=Ur;return Ur=n,e}function xa(n,e=_e.Default){if(void 0===Ur)throw new j(-203,!1);return null===Ur?gg(n,void 0,e):Ur.get(n,e&_e.Optional?null:void 0,e)}function Y(n,e=_e.Default){return(function fg(){return Ld}()||xa)(me(n),e)}function Le(n,e=_e.Default){return Y(n,Ma(e))}function Ma(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Pa(n){const e=[];for(let t=0;t((gi=gi||{})[gi.OnPush=0]="OnPush",gi[gi.Default=1]="Default",gi))(),mi=(()=>{return(n=mi||(mi={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",mi;var n})();const gr={},Ke=[],Ra=Ze({\u0275cmp:Ze}),$t=Ze({\u0275dir:Ze}),ei=Ze({\u0275pipe:Ze}),fc=Ze({\u0275mod:Ze}),Ln=Ze({\u0275fac:Ze}),Is=Ze({__NG_ELEMENT_ID__:Ze});let Qi=0;function ue(n){return fr(()=>{const t=!0===n.standalone,r={},s={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ke,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||mi.Emulated,id:"c"+Qi++,styles:n.styles||Ke,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=n.dependencies,u=n.features;return s.inputs=yg(n.inputs,r),s.outputs=yg(n.outputs),u&&u.forEach(h=>h(s)),s.directiveDefs=a?()=>("function"==typeof a?a():a).map($d).filter(Vd):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(en).filter(Vd):null,s})}function $d(n){return Xe(n)||yn(n)}function Vd(n){return null!==n}function ki(n){return fr(()=>({type:n.type,bootstrap:n.bootstrap||Ke,declarations:n.declarations||Ke,imports:n.imports||Ke,exports:n.exports||Ke,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function yg(n,e){if(null==n)return gr;const t={};for(const r in n)if(n.hasOwnProperty(r)){let s=n[r],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),t[s]=r,e&&(e[s]=a)}return t}const pt=ue;function Xe(n){return n[Ra]||null}function yn(n){return n[$t]||null}function en(n){return n[ei]||null}function Tn(n,e){const t=n[fc]||null;if(!t&&!0===e)throw new Error(`Type ${ut(n)} does not have '\u0275mod' property.`);return t}function pe(n){return Array.isArray(n)&&"object"==typeof n[1]}function Re(n){return Array.isArray(n)&&!0===n[1]}function Fe(n){return 0!=(4&n.flags)}function ka(n){return n.componentOffset>-1}function Ps(n){return 1==(1&n.flags)}function _i(n){return null!==n.template}function Yy(n){return 0!=(256&n[2])}function Ns(n,e){return n.hasOwnProperty(Ln)?n[Ln]:null}class wg{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Fi(){return Sg}function Sg(n){return n.type.prototype.ngOnChanges&&(n.setInput=Dg),eb}function eb(){const n=Wd(this),e=n?.current;if(e){const t=n.previous;if(t===gr)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function Dg(n,e,t,r){const s=this.declaredInputs[t],a=Wd(n)||function Kd(n,e){return n[Fa]=e}(n,{previous:gr,current:null}),u=a.current||(a.current={}),h=a.previous,f=h[s];u[s]=new wg(f&&f.currentValue,e,h===gr),n[r]=e}Fi.ngInherit=!0;const Fa="__ngSimpleChanges__";function Wd(n){return n[Fa]||null}function ht(n){for(;Array.isArray(n);)n=n[0];return n}function Cc(n,e){return ht(e[n])}function ni(n,e){return ht(e[n.index])}function Qd(n,e){return n.data[e]}function ii(n,e){const t=e[n];return pe(t)?t:t[0]}function Ba(n){return 64==(64&n[2])}function Yt(n,e){return null==e?null:n[e]}function Va(n){n[18]=0}function Yd(n,e){n[5]+=e;let t=n,r=n[3];for(;null!==r&&(1===e&&1===t[5]||-1===e&&0===t[5]);)r[5]+=e,t=r,r=r[3]}const Se={lFrame:Ls(null),bindingsEnabled:!0};function Zd(){return Se.bindingsEnabled}function z(){return Se.lFrame.lView}function qe(){return Se.lFrame.tView}function Tt(n){return Se.lFrame.contextLView=n,n[8]}function ft(n){return Se.lFrame.contextLView=null,n}function lt(){let n=An();for(;null!==n&&64===n.type;)n=n.parent;return n}function An(){return Se.lFrame.currentTNode}function ja(){const n=Se.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function bi(n,e){const t=Se.lFrame;t.currentTNode=n,t.isParent=e}function mr(){return Se.lFrame.isParent}function wc(){Se.lFrame.isParent=!1}function dn(){const n=Se.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function Fs(){return Se.lFrame.bindingIndex++}function vr(n){const e=Se.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function Ao(n){Se.lFrame.inI18n=n}function Dc(n,e){const t=Se.lFrame;t.bindingIndex=t.bindingRootIndex=n,eh(e)}function eh(n){Se.lFrame.currentDirectiveIndex=n}function Zi(){return Se.lFrame.currentQueryIndex}function xo(n){Se.lFrame.currentQueryIndex=n}function Mo(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Xi(n,e,t){if(t&_e.SkipSelf){let s=e,a=n;for(;!(s=s.parent,null!==s||t&_e.Host||(s=Mo(a),null===s||(a=a[15],10&s.type))););if(null===s)return!1;e=s,n=a}const r=Se.lFrame=er();return r.currentTNode=e,r.lView=n,!0}function Ji(n){const e=er(),t=n[1];Se.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function er(){const n=Se.lFrame,e=null===n?null:n.child;return null===e?Ls(n):e}function Ls(n){const 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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Bs(){const n=Se.lFrame;return Se.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const _r=Bs;function Ic(){const n=Bs();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Cn(){return Se.lFrame.selectedIndex}function Ci(n){Se.lFrame.selectedIndex=n}function It(){const n=Se.lFrame;return Qd(n.tView,n.selectedIndex)}function He(){Se.lFrame.currentNamespace="svg"}function et(){!function Ha(){Se.lFrame.currentNamespace=null}()}function Ac(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t=r)break}else e[f]<0&&(n[18]+=65536),(h>11>16&&(3&n[2])===e){n[2]+=2048;try{a.call(h)}finally{}}}else try{a.call(h)}finally{}}class No{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Mc(n,e,t){let r=0;for(;re){u=a-1;break}}}for(;a>16}(n),r=e;for(;t>0;)r=r[15],t--;return r}let kc=!0;function Ga(n){const e=kc;return kc=n,e}let nn=0;const At={};function Fc(n,e){const t=Lg(n,e);if(-1!==t)return t;const r=e[1];r.firstCreatePass&&(n.injectorIndex=e.length,oh(r.data,n),oh(e,null),oh(r.blueprint,null));const s=Kr(n,e),a=n.injectorIndex;if(Nc(s)){const u=Li(s),h=Rc(s,e),f=h[1].data;for(let m=0;m<8;m++)e[a+m]=h[u+m]|f[u+m]}return e[a+8]=s,a}function oh(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Lg(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Kr(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,s=e;for(;null!==s;){if(r=Vc(s),null===r)return-1;if(t++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function Lc(n,e,t){!function Wa(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Is)&&(r=t[Is]),null==r&&(r=t[Is]=nn++);const s=255&r;e.data[n+(s>>5)]|=1<=0?255&e:hb:e}(t);if("function"==typeof a){if(!Xi(e,n,r))return r&_e.Host?Ka(s,0,r):Bg(e,t,r,s);try{const u=a(r);if(null!=u||r&_e.Optional)return u;So()}finally{_r()}}else if("number"==typeof a){let u=null,h=Lg(n,e),f=-1,m=r&_e.Host?e[16][6]:null;for((-1===h||r&_e.SkipSelf)&&(f=-1===h?Kr(n,e):e[h+8],-1!==f&&jg(r,!1)?(u=e[1],h=Li(f),e=Rc(f,e)):h=-1);-1!==h;){const b=e[1];if(lh(a,h,b.data)){const E=db(h,e,t,u,r,m);if(E!==At)return E}f=e[h+8],-1!==f&&jg(r,e[1].data[h+8]===m)&&lh(a,h,e)?(u=b,h=Li(f),e=Rc(f,e)):h=-1}}return s}function db(n,e,t,r,s,a){const u=e[1],h=u.data[n+8],b=Bc(h,u,t,null==r?ka(h)&&kc:r!=u&&0!=(3&h.type),s&_e.Host&&a===h);return null!==b?Vs(e,u,b,h):At}function Bc(n,e,t,r,s){const a=n.providerIndexes,u=e.data,h=1048575&a,f=n.directiveStart,b=a>>20,D=s?h+b:n.directiveEnd;for(let I=r?h:h+b;I=f&&M.type===t)return I}if(s){const I=u[f];if(I&&_i(I)&&I.type===t)return f}return null}function Vs(n,e,t,r){let s=n[t];const a=e.data;if(function kg(n){return n instanceof No}(s)){const u=s;u.resolving&&function wo(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new j(-200,`Circular dependency in DI detected for ${n}${t}`)}(function Ge(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Ce(n)}(a[t]));const h=Ga(u.canSeeViewProviders);u.resolving=!0;const f=u.injectImpl?Jn(u.injectImpl):null;Xi(n,r,_e.Default);try{s=n[t]=u.factory(void 0,a,n,r),e.firstCreatePass&&t>=r.directiveStart&&function za(n,e,t){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:a}=e.type.prototype;if(r){const u=Sg(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,u),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,u)}s&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,s),a&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,a),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,a))}(t,a[t],e)}finally{null!==f&&Jn(f),Ga(h),u.resolving=!1,_r()}}return s}function lh(n,e,t){return!!(t[e+(n>>5)]&1<{const e=$c(me(n));return e&&e()}:Ns(n)}function Vc(n){const e=n[1],t=e.type;return 2===t?e.declTNode:1===t?n[6]:null}const Us="__parameters__";function wt(n,e,t){return fr(()=>{const r=function Hs(n){return function(...t){if(n){const r=n(...t);for(const s in r)this[s]=r[s]}}}(e);function s(...a){if(this instanceof s)return r.apply(this,a),this;const u=new s(...a);return h.annotation=u,h;function h(f,m,b){const E=f.hasOwnProperty(Us)?f[Us]:Object.defineProperty(f,Us,{value:[]})[Us];for(;E.length<=b;)E.push(null);return(E[b]=E[b]||[]).push(u),f}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}class ne{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Mn(n,e){n.forEach(t=>Array.isArray(t)?Mn(t,e):e(t))}function Hc(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ko(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function nr(n,e){const t=[];for(let r=0;r=0?n[1|r]=t:(r=~r,function Yr(n,e,t,r){let s=n.length;if(s==e)n.push(t,r);else if(1===s)n.push(r,n[0]),n[0]=t;else{for(s--,n.push(n[s-1],n[s]);s>e;)n[s]=n[s-2],s--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function hh(n,e){const t=Oo(n,e);if(t>=0)return n[1|t]}function Oo(n,e){return function qc(n,e,t){let r=0,s=n.length>>t;for(;s!==r;){const a=r+(s-r>>1),u=n[a<e?s=a:r=a+1}return~(s<((Hn=Hn||{})[Hn.Important=1]="Important",Hn[Hn.DashCase=2]="DashCase",Hn))();const Xc=new Map;let pm=0;const Sh="__ngContext__";function En(n,e){pe(e)?(n[Sh]=e[20],function Eb(n){Xc.set(n[20],n)}(e)):n[Sh]=e}let Jc;function Ih(n,e){return Jc(n,e)}function nl(n){const e=n[3];return Re(e)?e[3]:e}function de(n){return xh(n[13])}function Ah(n){return xh(n[4])}function xh(n){for(;null!==n&&!Re(n);)n=n[4];return n}function zn(n,e,t,r,s){if(null!=r){let a,u=!1;Re(r)?a=r:pe(r)&&(u=!0,r=r[0]);const h=ht(r);0===n&&null!==t?null==s?kh(e,t,h):Ks(e,t,h,s||null,!0):1===n&&null!==t?Ks(e,t,h,s||null,!0):2===n?function ru(n,e,t){const r=iu(n,e);r&&function il(n,e,t,r){n.removeChild(e,t,r)}(n,r,e,t)}(e,h,u):3===n&&e.destroyNode(h),null!=a&&function al(n,e,t,r,s){const a=t[7];a!==ht(t)&&zn(e,n,r,a,s);for(let h=10;h0&&(n[t-1][4]=r[4]);const a=ko(n,10+e);!function Ph(n,e){ol(n,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const u=a[19];null!==u&&u.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function nu(n,e){if(!(128&e[2])){const t=e[11];t.destroyNode&&ol(n,e,t,3,null,null),function Pb(n){let e=n[13];if(!e)return Rh(n[1],n);for(;e;){let t=null;if(pe(e))t=e[13];else{const r=e[10];r&&(t=r)}if(!t){for(;e&&!e[4]&&e!==n;)pe(e)&&Rh(e[1],e),e=e[3];null===e&&(e=n),pe(e)&&Rh(e[1],e),t=e&&e[4]}e=t}}(e)}}function Rh(n,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function Rb(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r=0?r[s=u]():r[s=-u].unsubscribe(),a+=2}else{const u=r[s=t[a+1]];t[a].call(u)}if(null!==r){for(let a=s+1;a-1){const{encapsulation:a}=n.data[r.directiveStart+s];if(a===mi.None||a===mi.Emulated)return null}return ni(r,t)}}function Ks(n,e,t,r,s){n.insertBefore(e,t,r,s)}function kh(n,e,t){n.appendChild(e,t)}function wi(n,e,t,r,s){null!==r?Ks(n,e,t,r,s):kh(n,e,t)}function iu(n,e){return n.parentNode(e)}function Bo(n,e,t){return Oh(n,e,t)}function $o(n,e,t){return 40&n.type?ni(n,t):null}let Vo,ou,Fh,es,Oh=$o;function jo(n,e){Oh=n,Vo=e}function Zr(n,e,t,r){const s=Tm(n,r,e),a=e[11],h=Bo(r.parent||e[6],r,e);if(null!=s)if(Array.isArray(t))for(let f=0;fn,createScript:n=>n,createScriptURL:n=>n})}catch{}return ou}()?.createHTML(n)||n}function zo(n){return function Ho(){if(void 0===es&&(es=null,dt.trustedTypes))try{es=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return es}()?.createScriptURL(n)||n}class Nm{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$r})`}}function ts(n){return n instanceof Nm?n.changingThisBreaksApplicationSecurity:n}function qo(n,e){const t=function Vb(n){return n instanceof Nm&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${$r})`)}return t===e}class jS{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Jr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class Hb{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const r=this.inertDocument.createElement("body");t.appendChild(r)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Jr(e),t;const r=this.inertDocument.createElement("body");return r.innerHTML=Jr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let s=t.length-1;0((Ut=Ut||{})[Ut.NONE=0]="NONE",Ut[Ut.HTML=1]="HTML",Ut[Ut.STYLE=2]="STYLE",Ut[Ut.SCRIPT=3]="SCRIPT",Ut[Ut.URL=4]="URL",Ut[Ut.RESOURCE_URL=5]="RESOURCE_URL",Ut))();function uu(n){const e=rt();return e?e.sanitize(Ut.URL,n)||"":qo(n,"URL")?ts(n):$h(Ce(n))}function Um(n){const e=rt();if(e)return zo(e.sanitize(Ut.RESOURCE_URL,n)||"");if(qo(n,"ResourceURL"))return zo(ts(n));throw new j(904,!1)}function rt(){const n=z();return n&&n[12]}const du=new ne("ENVIRONMENT_INITIALIZER"),zm=new ne("INJECTOR",-1),qm=new ne("INJECTOR_DEF_TYPES");class zh{get(e,t=Do){if(t===Do){const r=new Error(`NullInjectorError: No provider for ${ut(e)}!`);throw r.name="NullInjectorError",r}return t}}function Gm(...n){return{\u0275providers:qh(0,n),\u0275fromNgModule:!0}}function qh(n,...e){const t=[],r=new Set;let s;return Mn(e,a=>{const u=a;Wh(u,t,[],r)&&(s||(s=[]),s.push(u))}),void 0!==s&&Gh(s,t),t}function Gh(n,e){for(let t=0;t{e.push(a)})}}function Wh(n,e,t,r){if(!(n=me(n)))return!1;let s=null,a=k(n);const u=!a&&Xe(n);if(a||u){if(u&&!u.standalone)return!1;s=n}else{const f=n.ngModule;if(a=k(f),!a)return!1;s=f}const h=r.has(s);if(u){if(h)return!1;if(r.add(s),u.dependencies){const f="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const m of f)Wh(m,e,t,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let m;r.add(s);try{Mn(a.imports,b=>{Wh(b,e,t,r)&&(m||(m=[]),m.push(b))})}finally{}void 0!==m&&Gh(m,e)}if(!h){const m=Ns(s)||(()=>new s);e.push({provide:s,useFactory:m,deps:Ke},{provide:qm,useValue:s,multi:!0},{provide:du,useValue:()=>Y(s),multi:!0})}const f=a.providers;null==f||h||rr(f,b=>{e.push(b)})}}return s!==n&&void 0!==n.providers}function rr(n,e){for(let t of n)Eo(t)&&(t=t.\u0275providers),Array.isArray(t)?rr(t,e):e(t)}const Wm=Ze({provide:String,useValue:Ze});function Kh(n){return null!==n&&"object"==typeof n&&Wm in n}function Qs(n){return"function"==typeof n}const ul=new ne("Set Injector scope."),pu={},sC={};let Qh;function rn(){return void 0===Qh&&(Qh=new zh),Qh}class Cr{}class fu extends Cr{constructor(e,t,r,s){super(),this.parent=t,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yh(e,u=>this.processProvider(u)),this.records.set(zm,Go(void 0,this)),s.has("environment")&&this.records.set(Cr,Go(void 0,this));const a=this.records.get(ul);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(qm.multi,Ke,_e.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=To(this),r=Jn(void 0);try{return e()}finally{To(t),Jn(r)}}get(e,t=Do,r=_e.Default){this.assertNotDestroyed(),r=Ma(r);const s=To(this),a=Jn(void 0);try{if(!(r&_e.SkipSelf)){let h=this.records.get(e);if(void 0===h){const f=function tv(n){return"function"==typeof n||"object"==typeof n&&n instanceof ne}(e)&&dc(e);h=f&&this.injectableDefInScope(f)?Go(dl(e),pu):null,this.records.set(e,h)}if(null!=h)return this.hydrate(e,h)}return(r&_e.Self?rn():this.parent).get(e,t=r&_e.Optional&&t===Do?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[x]=u[x]||[]).unshift(ut(e)),s)throw u;return function _g(n,e,t,r){const s=n[x];throw e[mg]&&s.unshift(e[mg]),n.message=function pc(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let s=ut(e);if(Array.isArray(e))s=e.map(ut).join(" -> ");else if("object"==typeof e){let a=[];for(let u in e)if(e.hasOwnProperty(u)){let h=e[u];a.push(u+":"+("string"==typeof h?JSON.stringify(h):ut(h)))}s=`{${a.join(", ")}}`}return`${t}${r?"("+r+")":""}[${s}]: ${n.replace(Gy,"\n ")}`}("\n"+n.message,s,t,r),n.ngTokenPath=s,n[x]=null,n}(u,e,"R3InjectorError",this.source)}throw u}finally{Jn(a),To(s)}}resolveInjectorInitializers(){const e=To(this),t=Jn(void 0);try{const r=this.get(du.multi,Ke,_e.Self);for(const s of r)s()}finally{To(e),Jn(t)}}toString(){const e=[],t=this.records;for(const r of t.keys())e.push(ut(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new j(205,!1)}processProvider(e){let t=Qs(e=me(e))?e:me(e&&e.provide);const r=function Xm(n){return Kh(n)?Go(void 0,n.useValue):Go(Jm(n),pu)}(e);if(Qs(e)||!0!==e.multi)this.records.get(t);else{let s=this.records.get(t);s||(s=Go(void 0,pu,!0),s.factory=()=>Pa(s.multi),this.records.set(t,s)),t=e,s.multi.push(e)}this.records.set(t,r)}hydrate(e,t){return t.value===pu&&(t.value=sC,t.value=t.factory()),"object"==typeof t.value&&t.value&&function ev(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=me(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function dl(n){const e=dc(n),t=null!==e?e.factory:Ns(n);if(null!==t)return t;if(n instanceof ne)throw new j(204,!1);if(n instanceof Function)return function Zm(n){const e=n.length;if(e>0)throw nr(e,"?"),new j(204,!1);const t=function hc(n){const e=n&&(n[Ia]||n[Fd]);if(e){const t=function Od(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new j(204,!1)}function Jm(n,e,t){let r;if(Qs(n)){const s=me(n);return Ns(s)||dl(s)}if(Kh(n))r=()=>me(n.useValue);else if(function Qm(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...Pa(n.deps||[]));else if(function Km(n){return!(!n||!n.useExisting)}(n))r=()=>Y(me(n.useExisting));else{const s=me(n&&(n.useClass||n.provide));if(!function oC(n){return!!n.deps}(n))return Ns(s)||dl(s);r=()=>new s(...Pa(n.deps))}return r}function Go(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function Yh(n,e){for(const t of n)Array.isArray(t)?Yh(t,e):t&&Eo(t)?Yh(t.\u0275providers,e):e(t)}class aC{}class Zh{}class cC{resolveComponentFactory(e){throw function lC(n){const e=Error(`No component factory found for ${ut(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let hl=(()=>{class n{}return n.NULL=new cC,n})();function uC(){return Wo(lt(),z())}function Wo(n,e){return new st(ni(n,e))}let st=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=uC,n})();function dC(n){return n instanceof st?n.nativeElement:n}class Ko{}let Qo=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function hC(){const n=z(),t=ii(lt().index,n);return(pe(t)?t:n)[11]}(),n})(),pC=(()=>{class n{}return n.\u0275prov=ae({token:n,providedIn:"root",factory:()=>null}),n})();class gu{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const fC=new gu("15.0.4"),Xh={};function ep(n){return n.ngOriginalError}class Yo{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&ep(e);for(;t&&ep(t);)t=ep(t);return t||null}}function is(n){return n.ownerDocument.defaultView}function Bi(n){return n instanceof Function?n():n}function iv(n,e,t){let r=n.length;for(;;){const s=n.indexOf(e,t);if(-1===s)return s;if(0===s||n.charCodeAt(s-1)<=32){const a=e.length;if(s+a===r||n.charCodeAt(s+a)<=32)return s}t=s+1}}const rv="ng-template";function DC(n,e,t){let r=0;for(;ra?"":s[E+1].toLowerCase();const I=8&r?D:null;if(I&&-1!==iv(I,m,0)||2&r&&m!==D){if(Di(r))return!1;u=!0}}}}else{if(!u&&!Di(r)&&!Di(f))return!1;if(u&&Di(f))continue;u=!1,r=f|1&r}}return Di(r)||u}function Di(n){return 0==(1&n)}function Zo(n,e,t,r){if(null===e)return-1;let s=0;if(r||!t){let a=!1;for(;s-1)for(t++;t0?'="'+h+'"':"")+"]"}else 8&r?s+="."+u:4&r&&(s+=" "+u);else""!==s&&!Di(u)&&(e+=lv(a,s),s=""),r=u,a=a||!Di(r);t++}return""!==s&&(e+=lv(a,s)),e}const Te={};function O(n){uv(qe(),z(),Cn()+n,!1)}function uv(n,e,t,r){if(!r)if(3==(3&e[2])){const a=n.preOrderCheckHooks;null!==a&&Po(e,a,t)}else{const a=n.preOrderHooks;null!==a&&tr(e,a,0,t)}Ci(t)}function fv(n,e=null,t=null,r){const s=gv(n,e,t,r);return s.resolveInjectorInitializers(),s}function gv(n,e=null,t=null,r,s=new Set){const a=[t||Ke,Gm(n)];return r=r||("object"==typeof n?void 0:ut(n)),new fu(a,e||rn(),r||null,s)}let $i=(()=>{class n{static create(t,r){if(Array.isArray(t))return fv({name:""},r,t,"");{const s=t.name??"";return fv({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=Do,n.NULL=new zh,n.\u0275prov=ae({token:n,providedIn:"any",factory:()=>Y(zm)}),n.__NG_ELEMENT_ID__=-1,n})();function G(n,e=_e.Default){const t=z();return null===t?Y(n,e):$g(lt(),t,me(n),e)}function Sv(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;r22&&uv(n,e,22,!1),t(r,s)}finally{Ci(a)}}function Cu(n,e,t){if(Fe(e)){const s=e.directiveEnd;for(let a=e.directiveStart;a0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(u)!=h&&u.push(h),u.push(t,r,a)}}(n,e,r,ml(n,t,s.hostVars,Te),s)}function sr(n,e,t,r,s,a){const u=ni(n,e);!function Du(n,e,t,r,s,a,u){if(null==a)n.removeAttribute(e,s,t);else{const h=null==u?Ce(a):u(a,r||"",s);n.setAttribute(e,s,h,t)}}(e[11],u,a,n.value,t,r,s)}function eE(n,e,t,r,s,a){const u=a[e];if(null!==u){const h=r.setInput;for(let f=0;f0&&mp(t)}}function mp(n){for(let r=de(n);null!==r;r=Ah(r))for(let s=10;s0&&mp(a)}const t=n[1].components;if(null!==t)for(let r=0;r0&&mp(s)}}function Xs(n,e){const t=ii(e,n),r=t[1];(function rE(n,e){for(let t=e.length;t-1&&(Dm(e,r),ko(t,r))}this._attachedToViewContainer=!1}nu(this._lView[1],this._lView)}onDestroy(e){Iv(this._lView[1],this._lView,null,e)}markForCheck(){Iu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Au(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Mb(n,e){ol(n,e,e[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=e}}class sE extends yl{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Au(e[1],e,e[8],!1)}checkNoChanges(){}get context(){return null}}class os extends hl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Xe(e);return new ta(t,this.ngModule)}}function bp(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class $v{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){r=Ma(r);const s=this.injector.get(e,Xh,r);return s!==Xh||t===Xh?s:this.parentInjector.get(e,t,r)}}class ta extends Zh{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function cv(n){return n.map(xC).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return bp(this.componentDef.inputs)}get outputs(){return bp(this.componentDef.outputs)}create(e,t,r,s){let a=(s=s||this.ngModule)instanceof Cr?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new $v(e,a):e,h=u.get(Ko,null);if(null===h)throw new j(407,!1);const f=u.get(pC,null),m=h.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",E=r?function qC(n,e,t){return n.selectRootElement(e,t===mi.ShadowDom)}(m,r,this.componentDef.encapsulation):Mh(m,b,function oE(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(b)),D=this.componentDef.onPush?288:272,I=wu(0,null,null,1,0,null,null,null,null,null),M=bu(null,I,null,D,null,null,h,m,f,u,null);let R,F;Ji(M);try{const V=this.componentDef;let W,B=null;V.findHostDirectiveDefs?(W=[],B=new Map,V.findHostDirectiveDefs(V,W,B),W.push(V)):W=[V];const re=function lE(n,e){const t=n[1];return n[22]=e,Jo(t,22,2,"#host",null)}(M,E),We=function cE(n,e,t,r,s,a,u,h){const f=s[1];!function uE(n,e,t,r){for(const s of n)e.mergedAttrs=Pc(e.mergedAttrs,s.hostAttrs);null!==e.mergedAttrs&&(xu(e,e.mergedAttrs,!0),null!==t&&su(r,t,e))}(r,n,e,u);const m=a.createRenderer(e,t),b=bu(s,hp(t),null,t.onPush?32:16,s[n.index],n,a,m,h||null,null,null);return f.firstCreatePass&&gp(f,n,r.length-1),Tu(s,b),s[n.index]=b}(re,E,V,W,M,h,m);F=Qd(I,22),E&&function hE(n,e,t,r){if(r)Mc(n,t,["ng-version",fC.full]);else{const{attrs:s,classes:a}=function vu(n){const e=[],t=[];let r=1,s=2;for(;r0&&Xr(n,t,a.join(" "))}}(m,V,E,r),void 0!==t&&function jv(n,e,t){const r=n.projection=[];for(let s=0;su(ht(re[r.index])):r.index;let B=null;if(!u&&h&&(B=function AE(n,e,t,r){const s=n.cleanup;if(null!=s)for(let a=0;af?h[f]:null}"string"==typeof u&&(a+=2)}return null}(n,e,s,r.index)),null!==B)(B.__ngLastListenerFn__||B).__ngNextListenerFn__=a,B.__ngLastListenerFn__=a,D=!1;else{a=Tp(r,e,b,a,!1);const re=t.listen(F,s,a);E.push(a,re),m&&m.push(s,W,V,V+1)}}else a=Tp(r,e,b,a,!1);const I=r.outputs;let M;if(D&&null!==I&&(M=I[s])){const R=M.length;if(R)for(let F=0;F-1?ii(n.index,e):e);let f=Jv(e,0,r,u),m=a.__ngNextListenerFn__;for(;m;)f=Jv(e,0,m,u)&&f,m=m.__ngNextListenerFn__;return s&&!1===f&&(u.preventDefault(),u.returnValue=!1),f}}function c(n=1){return function th(n){return(Se.lFrame.contextLView=function ib(n,e){for(;n>0;)e=e[15],n--;return e}(n,Se.lFrame.contextLView))[8]}(n)}function i(n,e){let t=null;const r=function TC(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let s=0;s>17&32767}function oe(n){return 2|n}function Ne(n){return(131068&n)>>2}function St(n,e){return-131069&n|e<<2}function ji(n){return 1|n}function ct(n,e,t,r,s){const a=n[t+1],u=null===e;let h=r?X(a):Ne(a),f=!1;for(;0!==h&&(!1===f||u);){const b=n[h+1];Wn(n[h],e)&&(f=!0,n[h+1]=r?ji(b):oe(b)),h=r?X(b):Ne(b)}f&&(n[t+1]=r?oe(a):ji(a))}function Wn(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Oo(n,e)>=0}const yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Dr(n){return n.substring(yt.key,yt.keyEnd)}function Ai(n,e){const t=yt.textEnd;return t===e?-1:(e=yt.keyEnd=function dx(n,e,t){for(;e32;)e++;return e}(n,yt.key=e,t),ku(n,e,t))}function ku(n,e,t){for(;e=0;t=Ai(e,t))si(n,Dr(e),!0)}function Ir(n,e,t,r){const s=qe(),a=vr(2);s.firstUpdatePass&&cD(s,null,a,r);const u=z();if(t!==Te&&Rn(u,a,t)){const h=s.data[Cn()];if(pD(h,r)&&!lD(s,a)){let f=r?h.classesWithoutHost:h.stylesWithoutHost;null!==f&&(t=Sa(f,t||"")),Sp(s,h,u,t,r)}else!function bx(n,e,t,r,s,a,u,h){s===Te&&(s=Ke);let f=0,m=0,b=0=n.expandoStartIndex}function cD(n,e,t,r){const s=n.data;if(null===s[t+1]){const a=s[Cn()],u=lD(n,t);pD(a,r)&&null===e&&!u&&(e=!1),e=function gx(n,e,t,r){const s=function Tc(n){const e=Se.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let a=r?e.residualClasses:e.residualStyles;if(null===s)0===(r?e.classBindings:e.styleBindings)&&(t=Ip(t=ME(null,n,e,t,r),e.attrs,r),a=null);else{const u=e.directiveStylingLast;if(-1===u||n[u]!==s)if(t=ME(s,n,e,t,r),null===a){let f=function mx(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==Ne(r))return n[X(r)]}(n,e,r);void 0!==f&&Array.isArray(f)&&(f=ME(null,n,e,f[1],r),f=Ip(f,e.attrs,r),function vx(n,e,t,r){n[X(t?e.classBindings:e.styleBindings)]=r}(n,e,r,f))}else a=function _x(n,e,t){let r;const s=e.directiveEnd;for(let a=1+e.directiveStylingLast;a0)&&(m=!0)}else b=t;if(s)if(0!==f){const D=X(n[h+1]);n[r+1]=q(D,h),0!==D&&(n[D+1]=St(n[D+1],r)),n[h+1]=function ie(n,e){return 131071&n|e<<17}(n[h+1],r)}else n[r+1]=q(h,0),0!==h&&(n[h+1]=St(n[h+1],r)),h=r;else n[r+1]=q(f,0),0===h?h=r:n[f+1]=St(n[f+1],r),f=r;m&&(n[r+1]=oe(n[r+1])),ct(n,b,r,!0),ct(n,b,r,!1),function xt(n,e,t,r,s){const a=s?n.residualClasses:n.residualStyles;null!=a&&"string"==typeof e&&Oo(a,e)>=0&&(t[r+1]=ji(t[r+1]))}(e,b,n,r,a),u=q(h,f),a?e.classBindings=u:e.styleBindings=u}(s,a,e,t,u,r)}}function ME(n,e,t,r,s){let a=null;const u=t.directiveEnd;let h=t.directiveStylingLast;for(-1===h?h=t.directiveStart:h++;h0;){const f=n[s],m=Array.isArray(f),b=m?f[1]:f,E=null===b;let D=t[s+1];D===Te&&(D=E?Ke:void 0);let I=E?hh(D,r):b===r?D:void 0;if(m&&!t_(I)&&(I=hh(f,r)),t_(I)&&(h=I,u))return h;const M=n[s+1];s=u?X(M):Ne(M)}if(null!==e){let f=a?e.residualClasses:e.residualStyles;null!=f&&(h=hh(f,r))}return h}function t_(n){return void 0!==n}function pD(n,e){return 0!=(n.flags&(e?8:16))}function v(n,e=""){const t=z(),r=qe(),s=n+22,a=r.firstCreatePass?Jo(r,s,1,e,null):r.data[s],u=t[s]=eu(t[11],e);Zr(r,t,u,a),bi(a,!1)}function no(n){return Ht("",n,""),no}function Ht(n,e,t){const r=z(),s=na(r,n,e,t);return s!==Te&&function wr(n,e,t){const r=Cc(e,n);!function wm(n,e,t){n.setValue(e,t)}(n[11],r,t)}(r,Cn(),s),Ht}const Fu="en-US",n_={marker:"element"},i_={marker:"ICU"};var zt=(()=>((zt=zt||{})[zt.SHIFT=2]="SHIFT",zt[zt.APPEND_EAGERLY=1]="APPEND_EAGERLY",zt[zt.COMMENT=2]="COMMENT",zt))();let FD=Fu;function LD(n){(function Xn(n,e){null==n&&se(e,n,null,"!=")})(n,"Expected localeId to be defined"),"string"==typeof n&&(FD=n.toLowerCase().replace(/_/g,"-"))}function BD(n,e,t){const r=e.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?$o(n,0,t):ht(t[s])}function $D(n,e,t,r,s){const a=e.insertBeforeIndex;if(Array.isArray(a)){let u=r,h=null;if(3&e.type||(h=u,u=s),null!==u&&-1===e.componentOffset)for(let f=1;f1)for(let t=n.length-2;t>=0;t--){const r=n[t];jD(r)||Gx(r,e)&&null===Wx(r)&&Kx(r,e.index)}}function jD(n){return!(64&n.type)}function Gx(n,e){return jD(e)||n.index>e.index}function Wx(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Kx(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(jo(BD,$D),n.insertBeforeIndex=e)}function Zx(n,e,t){const r=gl(n,t,64,null,null);return VD(e,r),r}function rM(){const n=[];let t,r,e=-1;function a(h,f){e=0;const m=function r_(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}(h,f);r=null!==m?h.remove[m]:Ke}function u(){if(e0?t[h]:(n.push(e,r),a(t[1].data[~h],t),u())}return 0===n.length?null:(r=n.pop(),e=n.pop(),u())}return function s(h,f){for(t=f;n.length;)n.pop();return a(h.value,f),u}}const s_=/\ufffd(\d+):?\d*\ufffd/gi,oM=/\ufffd(\d+)\ufffd/,YD=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,aM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,lM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,cM=/\uE500/g;function ZD(n,e,t,r,s,a,u){const h=ml(n,r,1,null);let f=h<t.length&&t.push(f)}return{type:r,mainBinding:s,cases:e,values:t}}function PE(n){if(!n)return[];let e=0;const t=[],r=[],s=/[{}]/g;let a;for(s.lastIndex=0;a=s.exec(n);){const h=a.index;if("}"==a[0]){if(t.pop(),0==t.length){const f=n.substring(e,h);YD.test(f)?r.push(vM(f)):r.push(f),e=h+1}}else{if(0==t.length){const f=n.substring(e,h);r.push(f),e=h+1}t.push("{")}}const u=n.substring(e);return r.push(u),r}function _M(n,e,t,r,s,a,u,h){const f=[],m=[],b=[];e.cases.push(a),e.create.push(f),e.remove.push(m),e.update.push(b);const D=function Bh(n){const e=new Hb(n);return function US(){try{return!!(new window.DOMParser).parseFromString(Jr(""),"text/html")}catch{return!1}}()?new jS(e):e}(function Pm(){return void 0!==Fh?Fh:typeof document<"u"?document:void 0}()).getInertBodyElement(u),I=function cl(n){return"content"in n&&function ns(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}(D)||D;return I?t1(n,e,t,r,f,m,b,I,s,h,0):0}function t1(n,e,t,r,s,a,u,h,f,m,b){let E=0,D=h.firstChild;for(;D;){const I=ml(n,t,1,null);switch(D.nodeType){case Node.ELEMENT_NODE:const M=D,R=M.tagName.toLowerCase();if(Vh.hasOwnProperty(R)){NE(s,n_,R,f,I),n.data[I]=R;const B=M.attributes;for(let re=0;re>>zt.SHIFT;let E=n[b];null===E&&(E=n[b]=f?s.createComment(h):eu(s,h)),m&&null!==t&&Ks(s,t,E,r,!1)}})(s,f.create,b,h&&8&h.type?s[h.index]:null),Ao(!0)}function io(n,e,t){s1(n,e,t),function o1(){Ao(!1)}()}function RE(n,e,t,r,s){if(n=me(n),Array.isArray(n))for(let a=0;a>20;if(Qs(n)||!n.multi){const I=new No(f,s,G),M=OE(h,e,s?b:b+D,E);-1===M?(Lc(Fc(m,u),a,h),kE(a,n,e.length),e.push(h),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),t.push(I),u.push(I)):(t[M]=I,u[M]=I)}else{const I=OE(h,e,b+D,E),M=OE(h,e,b,b+D),R=I>=0&&t[I],F=M>=0&&t[M];if(s&&!F||!s&&!R){Lc(Fc(m,u),a,h);const V=function LM(n,e,t,r,s){const a=new No(n,t,G);return a.multi=[],a.index=e,a.componentProviders=0,l1(a,s,r&&!t),a}(s?FM:OM,t.length,s,r,f);!s&&F&&(t[M].providerFactory=V),kE(a,n,e.length,0),e.push(h),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),t.push(V),u.push(V)}else kE(a,n,I>-1?I:M,l1(t[s?M:I],f,!s&&r));!s&&r&&F&&t[M].componentProviders++}}}function kE(n,e,t,r){const s=Qs(e),a=function Ym(n){return!!n.useClass}(e);if(s||a){const f=(a?me(e.useClass):e).prototype.ngOnDestroy;if(f){const m=n.destroyHooks||(n.destroyHooks=[]);if(!s&&e.multi){const b=m.indexOf(t);-1===b?m.push(t,[r,f]):m[b+1].push(r,f)}else m.push(t,f)}}}function l1(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function OE(n,e,t,r){for(let s=t;s{t.providersResolver=(r,s)=>function kM(n,e,t){const r=qe();if(r.firstCreatePass){const s=_i(n);RE(t,r.data,r.blueprint,s,!0),RE(e,r.data,r.blueprint,s,!1)}}(r,s?s(n):n,e)}}class Lu{}class c1{}class u1 extends Lu{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new os(this);const r=Tn(e);this._bootstrapComponents=Bi(r.bootstrap),this._r3Injector=gv(e,t,[{provide:Lu,useValue:this},{provide:hl,useValue:this.componentFactoryResolver}],ut(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class LE extends c1{constructor(e){super(),this.moduleType=e}create(e){return new u1(this.moduleType,e)}}class $M extends Lu{constructor(e,t,r){super(),this.componentFactoryResolver=new os(this),this.instance=null;const s=new fu([...e,{provide:Lu,useValue:this},{provide:hl,useValue:this.componentFactoryResolver}],t||rn(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function o_(n,e,t=null){return new $M(n,e,t).injector}let VM=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=qh(0,t.type),s=r.length>0?o_([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,s)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=ae({token:n,providedIn:"environment",factory:()=>new n(Y(Cr))}),n})();function d1(n){n.getStandaloneInjector=e=>e.get(VM).getOrCreateStandaloneInjector(n)}function Bu(n,e,t,r){return function _1(n,e,t,r,s,a){const u=e+t;return Rn(n,u,s)?Vi(n,u+1,a?r.call(a,s):r(s)):Rp(n,u+1)}(z(),dn(),n,e,t,r)}function $E(n,e,t,r,s){return function y1(n,e,t,r,s,a,u){const h=e+t;return as(n,h,s,a)?Vi(n,h+2,u?r.call(u,s,a):r(s,a)):Rp(n,h+2)}(z(),dn(),n,e,t,r,s)}function VE(n,e,t,r,s,a){return function b1(n,e,t,r,s,a,u,h){const f=e+t;return function Tl(n,e,t,r,s){const a=as(n,e,t,r);return Rn(n,e+2,s)||a}(n,f,s,a,u)?Vi(n,f+3,h?r.call(h,s,a,u):r(s,a,u)):Rp(n,f+3)}(z(),dn(),n,e,t,r,s,a)}function Rp(n,e){const t=n[e];return t===Te?void 0:t}function jE(n){return e=>{setTimeout(n,void 0,e)}}const gt=class cP extends Ue{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let s=e,a=t||(()=>null),u=r;if(e&&"object"==typeof e){const f=e;s=f.next?.bind(f),a=f.error?.bind(f),u=f.complete?.bind(f)}this.__isAsync&&(a=jE(a),s&&(s=jE(s)),u&&(u=jE(u)));const h=super.subscribe({next:s,error:a,complete:u});return e instanceof Wt&&e.add(h),h}};function uP(){return this._results[Js()]()}class UE{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Js(),r=UE.prototype;r[t]||(r[t]=uP)}get changes(){return this._changes||(this._changes=new gt)}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,t){return this._results.reduce(e,t)}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,t){const r=this;r.dirty=!1;const s=function kt(n){return n.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function xn(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r{class n{}return n.__NG_ELEMENT_ID__=pP,n})();const dP=Ar,hP=class extends dP{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e,t){const r=this._declarationTContainer.tViews,s=bu(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,t||null);s[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(s[19]=u.createEmbeddedView(r)),up(r,s,e),new yl(s)}};function pP(){return a_(lt(),z())}function a_(n,e){return 4&n.type?new hP(e,n,Wo(n,e)):null}let ar=(()=>{class n{}return n.__NG_ELEMENT_ID__=fP,n})();function fP(){return D1(lt(),z())}const gP=ar,w1=class extends gP{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return Wo(this._hostTNode,this._hostLView)}get injector(){return new hn(this._hostTNode,this._hostLView)}get parentInjector(){const e=Kr(this._hostTNode,this._hostLView);if(Nc(e)){const t=Rc(e,this._hostLView),r=Li(e);return new hn(t[1].data[r+8],t)}return new hn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=S1(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,r){let s,a;"number"==typeof r?s=r:null!=r&&(s=r.index,a=r.injector);const u=e.createEmbeddedView(t||{},a);return this.insert(u,s),u}createComponent(e,t,r,s,a){const u=e&&!function qs(n){return"function"==typeof n}(e);let h;if(u)h=t;else{const E=t||{};h=E.index,r=E.injector,s=E.projectableNodes,a=E.environmentInjector||E.ngModuleRef}const f=u?e:new ta(Xe(e)),m=r||this.parentInjector;if(!a&&null==f.ngModule){const D=(u?m:this.parentInjector).get(Cr,null);D&&(a=D)}const b=f.create(m,s,void 0,a);return this.insert(b.hostView,h),b}insert(e,t){const r=e._lView,s=r[1];if(function $a(n){return Re(n[3])}(r)){const b=this.indexOf(e);if(-1!==b)this.detach(b);else{const E=r[3],D=new w1(E,E[6],E[3]);D.detach(D.indexOf(e))}}const a=this._adjustIndex(t),u=this._lContainer;!function Nh(n,e,t,r){const s=10+r,a=t.length;r>0&&(t[s-1][4]=e),r0)r.push(u[h/2]);else{const m=a[h+1],b=e[-f];for(let E=10;E{class n{constructor(t){this.appInits=t,this.resolve=c_,this.reject=c_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{a.subscribe({complete:h,error:f})});t.push(u)}}Promise.all(t).then(()=>{r()}).catch(s=>{this.reject(s)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(Y(u_,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Fp=new ne("AppId",{providedIn:"root",factory:function Y1(){return`${JE()}${JE()}${JE()}`}});function JE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Z1=new ne("Platform Initializer"),ew=new ne("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),X1=new ne("appBootstrapListener"),J1=new ne("AnimationModuleType");let jP=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const so=new ne("LocaleId",{providedIn:"root",factory:()=>Le(so,_e.Optional|_e.SkipSelf)||function UP(){return typeof $localize<"u"&&$localize.locale||Fu}()});class zP{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}let eT=(()=>{class n{compileModuleSync(t){return new LE(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),a=Bi(Tn(t).declarations).reduce((u,h)=>{const f=Xe(h);return f&&u.push(new ta(f)),u},[]);return new zP(r,a)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const WP=(()=>Promise.resolve(0))();function tw(n){typeof Zone>"u"?WP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class bt{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gt(!1),this.onMicrotaskEmpty=new gt(!1),this.onStable=new gt(!1),this.onError=new gt(!1),typeof Zone>"u")throw new j(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&t,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function KP(){let n=dt.requestAnimationFrame,e=dt.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function ZP(n){const e=()=>{!function YP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(dt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,iw(n),n.isCheckStableRunning=!0,nw(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),iw(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,s,a,u,h)=>{try{return iT(n),t.invokeTask(s,a,u,h)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||n.shouldCoalesceRunChangeDetection)&&e(),rT(n)}},onInvoke:(t,r,s,a,u,h,f)=>{try{return iT(n),t.invoke(s,a,u,h,f)}finally{n.shouldCoalesceRunChangeDetection&&e(),rT(n)}},onHasTask:(t,r,s,a)=>{t.hasTask(s,a),r===s&&("microTask"==a.change?(n._hasPendingMicrotasks=a.microTask,iw(n),nw(n)):"macroTask"==a.change&&(n.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,r,s,a)=>(t.handleError(s,a),n.runOutsideAngular(()=>n.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bt.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(bt.isInAngularZone())throw new j(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,s){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+s,e,QP,c_,c_);try{return a.runTask(u,t,r)}finally{a.cancelTask(u)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const QP={};function nw(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function iw(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function iT(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function rT(n){n._nesting--,nw(n)}class XP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gt,this.onMicrotaskEmpty=new gt,this.onStable=new gt,this.onError=new gt}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,s){return e.apply(t,r)}}const sT=new ne(""),h_=new ne("");let ow,rw=(()=>{class n{constructor(t,r,s){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ow||(function JP(n){ow=n}(s),s.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{bt.assertNotInAngularZone(),tw(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())tw(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,s){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:a,updateCb:s})}whenStable(t,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,s){return[]}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(sw),Y(h_))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),sw=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return ow?.findTestabilityInTree(this,t,r)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),la=null;const oT=new ne("AllowMultipleToken"),aw=new ne("PlatformDestroyListeners");class aT{constructor(e,t){this.name=e,this.token=t}}function cT(n,e,t=[]){const r=`Platform: ${e}`,s=new ne(r);return(a=[])=>{let u=lw();if(!u||u.injector.get(oT,!1)){const h=[...t,...a,{provide:s,useValue:!0}];n?n(h):function nN(n){if(la&&!la.get(oT,!1))throw new j(400,!1);la=n;const e=n.get(dT);(function lT(n){const e=n.get(Z1,null);e&&e.forEach(t=>t())})(n)}(function uT(n=[],e){return $i.create({name:e,providers:[{provide:ul,useValue:"platform"},{provide:aw,useValue:new Set([()=>la=null])},...n]})}(h,r))}return function rN(n){const e=lw();if(!e)throw new j(401,!1);return e}()}}function lw(){return la?.get(dT)??null}let dT=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const s=function pT(n,e){let t;return t="noop"===n?new XP:("zone.js"===n?void 0:n)||new bt(e),t}(r?.ngZone,function hT(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),a=[{provide:bt,useValue:s}];return s.run(()=>{const u=$i.create({providers:a,parent:this.injector,name:t.moduleType.name}),h=t.create(u),f=h.injector.get(Yo,null);if(!f)throw new j(402,!1);return s.runOutsideAngular(()=>{const m=s.onError.subscribe({next:b=>{f.handleError(b)}});h.onDestroy(()=>{p_(this._modules,h),m.unsubscribe()})}),function fT(n,e,t){try{const r=t();return Ml(r)?r.catch(s=>{throw e.runOutsideAngular(()=>n.handleError(s)),s}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(f,s,()=>{const m=h.injector.get(d_);return m.runInitializers(),m.donePromise.then(()=>(LD(h.injector.get(so,Fu)||Fu),this._moduleDoBootstrap(h),h))})})}bootstrapModule(t,r=[]){const s=gT({},r);return function eN(n,e,t){const r=new LE(t);return Promise.resolve(r)}(0,0,t).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(t){const r=t.injector.get(Lp);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!t.instance.ngDoBootstrap)throw new j(403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new j(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(aw,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(Y($i))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function gT(n,e){return Array.isArray(e)?e.reduce(gT,n):{...n,...e}}let Lp=(()=>{class n{constructor(t,r,s){this._zone=t,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Ct(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),u=new Ct(h=>{let f;this._zone.runOutsideAngular(()=>{f=this._zone.onStable.subscribe(()=>{bt.assertNotInAngularZone(),tw(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{bt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{f.unsubscribe(),m.unsubscribe()}});this.isStable=lc(a,u.pipe(function Uy(n={}){const{connector:e=(()=>new Ue),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:s=!0}=n;return a=>{let u,h,f,m=0,b=!1,E=!1;const D=()=>{h?.unsubscribe(),h=void 0},I=()=>{D(),u=f=void 0,b=E=!1},M=()=>{const R=u;I(),R?.unsubscribe()};return mt((R,F)=>{m++,!E&&!b&&D();const V=f=f??e();F.add(()=>{m--,0===m&&!E&&!b&&(h=cc(M,s))}),V.subscribe(F),!u&&m>0&&(u=new Xt({next:W=>V.next(W),error:W=>{E=!0,D(),h=cc(I,t,W),V.error(W)},complete:()=>{b=!0,D(),h=cc(I,r),V.complete()}}),Yn(R).subscribe(u))})(a)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const s=t instanceof Zh;if(!this._injector.get(d_).done)throw!s&&function Hr(n){const e=Xe(n)||yn(n)||en(n);return null!==e&&e.standalone}(t),new j(405,false);let u;u=s?t:this._injector.get(hl).resolveComponentFactory(t),this.componentTypes.push(u.componentType);const h=function tN(n){return n.isBoundToModule}(u)?void 0:this._injector.get(Lu),m=u.create($i.NULL,[],r||u.selector,h),b=m.location.nativeElement,E=m.injector.get(sT,null);return E?.registerApplication(b),m.onDestroy(()=>{this.detachView(m.hostView),p_(this.components,m),E?.unregisterApplication(b)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new j(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;p_(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(X1,[]);r.push(...this._bootstrapListeners),r.forEach(s=>s(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>p_(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new j(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(Cr),Y(Yo))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function p_(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let ca=(()=>{class n{}return n.__NG_ELEMENT_ID__=oN,n})();function oN(n){return function aN(n,e,t){if(ka(n)&&!t){const r=ii(n.index,e);return new yl(r,r)}return 47&n.type?new yl(e[16],e):null}(lt(),z(),16==(16&n))}class bT{constructor(){}supports(e){return El(e)}create(e){return new pN(e)}}const hN=(n,e)=>e;class pN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||hN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,s=0,a=null;for(;t||r;){const u=!r||t&&t.currentIndex{u=this._trackByFn(s,h),null!==t&&Object.is(t.trackById,u)?(r&&(t=this._verifyReinsertion(t,h,u,s)),Object.is(t.item,h)||this._addIdentityChange(t,h)):(t=this._mismatch(t,h,u,s),r=!0),t=t._next,s++}),this.length=s;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,s){let a;return null===e?a=this._itTail:(a=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,a,s)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,s)):e=this._addAfter(new fN(t,r),a,s),e}_verifyReinsertion(e,t,r,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?e=this._reinsertAfter(a,e._prev,s):e.currentIndex!=s&&(e.currentIndex=s,this._addToMoves(e,s)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const s=e._prevRemoved,a=e._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const s=null===t?this._itHead:t._next;return e._next=s,e._prev=t,null===s?this._itTail=e:s._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new CT),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new CT),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class fN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class CT{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new gN,this.map.set(t,r)),r.add(e)}get(e,t){const s=this.map.get(e);return s?s.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ET(n,e,t){const r=n.previousIndex;if(null===r)return r;let s=0;return t&&r{if(t&&t.key===s)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const a=this._getOrCreateRecordForKey(s,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const s=this._records.get(e);this._maybeAddToChanges(s,t);const a=s._prev,u=s._next;return a&&(a._next=u),u&&(u._prev=a),s._next=null,s._prev=null,s}const r=new vN(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class vN{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 ST(){return new m_([new bT])}let m_=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const s=r.factories.slice();t=t.concat(s)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||ST()),deps:[[n,new Ya,new Qa]]}}find(t){const r=this.factories.find(s=>s.supports(t));if(null!=r)return r;throw new j(901,!1)}}return n.\u0275prov=ae({token:n,providedIn:"root",factory:ST}),n})();function DT(){return new Bp([new wT])}let Bp=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(r){const s=r.factories.slice();t=t.concat(s)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||DT()),deps:[[n,new Ya,new Qa]]}}find(t){const r=this.factories.find(s=>s.supports(t));if(r)return r;throw new j(901,!1)}}return n.\u0275prov=ae({token:n,providedIn:"root",factory:DT}),n})();const bN=cT(null,"core",[]);let CN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(Y(Lp))},n.\u0275mod=ki({type:n}),n.\u0275inj=at({}),n})();function pw(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let fw=null;function ua(){return fw}class SN{}const qt=new ne("DocumentToken");let gw=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return function DN(){return Y(TT)}()},providedIn:"platform"}),n})();const TN=new ne("Location Initialized");let TT=(()=>{class n extends gw{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ua().getBaseHref(this._doc)}onPopState(t){const r=ua().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=ua().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,r,s){IT()?this._history.pushState(t,r,s):this.location.hash=s}replaceState(t,r,s){IT()?this._history.replaceState(t,r,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:function(){return function IN(){return new TT(Y(qt))}()},providedIn:"platform"}),n})();function IT(){return!!window.history.pushState}function mw(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function AT(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function ao(n){return n&&"?"!==n[0]?"?"+n:n}let Ol=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(MT)},providedIn:"root"}),n})();const xT=new ne("appBaseHref");let MT=(()=>{class n extends Ol{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Le(qt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return mw(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+ao(this._platformLocation.search),s=this._platformLocation.hash;return s&&t?`${r}${s}`:r}pushState(t,r,s,a){const u=this.prepareExternalUrl(s+ao(a));this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,a){const u=this.prepareExternalUrl(s+ao(a));this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(Y(gw),Y(xT,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AN=(()=>{class n extends Ol{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=mw(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,s,a){let u=this.prepareExternalUrl(s+ao(a));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,a){let u=this.prepareExternalUrl(s+ao(a));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(Y(gw),Y(xT,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),$p=(()=>{class n{constructor(t){this._subject=new gt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function PN(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(AT(PT(r))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+ao(r))}normalize(t){return n.stripTrailingSlash(function MN(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._basePath,PT(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",s=null){this._locationStrategy.pushState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ao(r)),s)}replaceState(t,r="",s=null){this._locationStrategy.replaceState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ao(r)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(s=>s(t,r))}subscribe(t,r,s){return this._subject.subscribe({next:t,error:r,complete:s})}}return n.normalizeQueryParams=ao,n.joinWithSlash=mw,n.stripTrailingSlash=AT,n.\u0275fac=function(t){return new(t||n)(Y(Ol))},n.\u0275prov=ae({token:n,factory:function(){return function xN(){return new $p(Y(Ol))}()},providedIn:"root"}),n})();function PT(n){return n.replace(/\/index.html$/,"")}let Fl=(()=>{class n{constructor(t,r,s,a){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=s,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(El(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ut(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(s=>{r?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}return n.\u0275fac=function(t){return new(t||n)(G(m_),G(Bp),G(st),G(Qo))},n.\u0275dir=pt({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class mR{constructor(e,t,r,s){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Up=(()=>{class n{constructor(t,r,s){this._viewContainer=t,this._template=r,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((s,a,u)=>{if(null==s.previousIndex)r.createEmbeddedView(this._template,new mR(s.item,this._ngForOf,-1,-1),null===u?void 0:u);else if(null==u)r.remove(null===a?void 0:a);else if(null!==a){const h=r.get(a);r.move(h,u),UT(h,s)}});for(let s=0,a=r.length;s{UT(r.get(s.currentIndex),s)})}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar),G(m_))},n.\u0275dir=pt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function UT(n,e){n.context.$implicit=e.item}let co=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new _R,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){HT("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){HT("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar))},n.\u0275dir=pt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class _R{constructor(){this.$implicit=null,this.ngIf=null}}function HT(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ut(e)}'.`)}class Tw{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let T_=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const r=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let r=0;r{class n{constructor(t,r,s){this.ngSwitch=s,s._addCase(),this._view=new Tw(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar),G(T_,9))},n.\u0275dir=pt({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),GT=(()=>{class n{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:a,ngTemplateOutletInjector:u}=this;this._viewRef=r.createEmbeddedView(s,a,u?{injector:u}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(t){return new(t||n)(G(ar))},n.\u0275dir=pt({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Fi]}),n})(),KT=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=at({}),n})();const QT="browser";let QR=(()=>{class n{}return n.\u0275prov=ae({token:n,providedIn:"root",factory:()=>new YR(Y(qt),window)}),n})();class YR{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function ZR(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let s=r.currentNode;for(;s;){const a=s.shadowRoot;if(a){const u=a.getElementById(e)||a.querySelector(`[name="${e}"]`);if(u)return u}s=r.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,s=t.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(r-a[0],s-a[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=YT(this.window.history)||YT(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function YT(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Dk extends SN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Pw extends Dk{static makeCurrent(){!function wN(n){fw||(fw=n)}(new Pw)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).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,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function Tk(){return zp=zp||document.querySelector("base"),zp?zp.getAttribute("href"):null}();return null==t?null:function Ik(n){A_=A_||document.createElement("a"),A_.setAttribute("href",n);const e=A_.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){zp=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function fR(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[s,a]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(s.trim()===e)return decodeURIComponent(a)}return null}(document.cookie,e)}}let A_,zp=null;const n2=new ne("TRANSITION_ID"),xk=[{provide:u_,useFactory:function Ak(n,e,t){return()=>{t.get(d_).donePromise.then(()=>{const r=ua(),s=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const x_=new ne("EventManagerPlugins");let M_=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>s.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}addGlobalEventListener(t,r,s){return this._findPluginFor(r).addGlobalEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),r.add(s))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),qp=(()=>{class n extends s2{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,s){t.forEach(a=>{const u=this._doc.createElement("style");u.textContent=a,s.push(r.appendChild(u))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(o2),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,s)=>{this._addStylesToHost(t,s,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(o2))}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();function o2(n){ua().remove(n)}const Nw={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/MathML/"},Rw=/%COMP%/g;function kw(n,e){return e.flat(100).map(t=>t.replace(Rw,n))}function c2(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let P_=(()=>{class n{constructor(t,r,s){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new Ow(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case mi.Emulated:{let s=this.rendererByCompId.get(r.id);return s||(s=new Lk(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,s)),s.applyToHost(t),s}case 1:case mi.ShadowDom:return new Bk(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const s=kw(r.id,r.styles);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(Y(M_),Y(qp),Y(Fp))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class Ow{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Nw[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(d2(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(d2(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,s){if(s){t=s+":"+t;const a=Nw[s];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const s=Nw[r];s?e.removeAttributeNS(s,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,s){s&(Hn.DashCase|Hn.Important)?e.style.setProperty(t,r,s&Hn.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Hn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,c2(r)):this.eventManager.addEventListener(e,t,c2(r))}}function d2(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Lk extends Ow{constructor(e,t,r,s){super(e),this.component=r;const a=kw(s+"-"+r.id,r.styles);t.addStyles(a),this.contentAttr=function kk(n){return"_ngcontent-%COMP%".replace(Rw,n)}(s+"-"+r.id),this.hostAttr=function Ok(n){return"_nghost-%COMP%".replace(Rw,n)}(s+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class Bk extends Ow{constructor(e,t,r,s){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=kw(s.id,s.styles);for(let u=0;u{class n extends r2{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const h2=["alt","control","meta","shift"],Vk={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jk={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Uk=(()=>{class n extends r2{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,s){const a=n.parseEventName(r),u=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ua().onAndCancel(t,a.domEventName,u))}static parseEventName(t){const r=t.toLowerCase().split("."),s=r.shift();if(0===r.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(r.pop());let u="",h=r.indexOf("code");if(h>-1&&(r.splice(h,1),u="code."),h2.forEach(m=>{const b=r.indexOf(m);b>-1&&(r.splice(b,1),u+=m+".")}),u+=a,0!=r.length||0===a.length)return null;const f={};return f.domEventName=s,f.fullKey=u,f}static matchEventFullKeyCode(t,r){let s=Vk[t.key]||t.key,a="";return r.indexOf("code.")>-1&&(s=t.code,a="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),h2.forEach(u=>{u!==s&&(0,jk[u])(t)&&(a+=u+".")}),a+=s,a===r)}static eventCallback(t,r,s){return a=>{n.matchEventFullKeyCode(a,t)&&s.runGuarded(()=>r(a))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const Gk=cT(bN,"browser",[{provide:ew,useValue:QT},{provide:Z1,useValue:function Hk(){Pw.makeCurrent()},multi:!0},{provide:qt,useFactory:function qk(){return function Mm(n){Fh=n}(document),document},deps:[]}]),g2=new ne(""),m2=[{provide:h_,useClass:class Mk{addToWindow(e){dt.getAngularTestability=(r,s=!0)=>{const a=e.findTestabilityInTree(r,s);if(null==a)throw new Error("Could not find testability for element.");return a},dt.getAllAngularTestabilities=()=>e.getAllTestabilities(),dt.getAllAngularRootElements=()=>e.getAllRootElements(),dt.frameworkStabilizers||(dt.frameworkStabilizers=[]),dt.frameworkStabilizers.push(r=>{const s=dt.getAllAngularTestabilities();let a=s.length,u=!1;const h=function(f){u=u||f,a--,0==a&&r(u)};s.forEach(function(f){f.whenStable(h)})})}findTestabilityInTree(e,t,r){return null==t?null:e.getTestability(t)??(r?ua().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:sT,useClass:rw,deps:[bt,sw,h_]},{provide:rw,useClass:rw,deps:[bt,sw,h_]}],v2=[{provide:ul,useValue:"root"},{provide:Yo,useFactory:function zk(){return new Yo},deps:[]},{provide:x_,useClass:$k,multi:!0,deps:[qt,bt,ew]},{provide:x_,useClass:Uk,multi:!0,deps:[qt]},{provide:P_,useClass:P_,deps:[M_,qp,Fp]},{provide:Ko,useExisting:P_},{provide:s2,useExisting:qp},{provide:qp,useClass:qp,deps:[qt]},{provide:M_,useClass:M_,deps:[x_,bt]},{provide:class XR{},useClass:Pk,deps:[]},[]];let Lw=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:Fp,useValue:t.appId},{provide:n2,useExisting:Fp},xk]}}}return n.\u0275fac=function(t){return new(t||n)(Y(g2,12))},n.\u0275mod=ki({type:n}),n.\u0275inj=at({providers:[...v2,...m2],imports:[KT,CN]}),n})(),_2=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:function(t){let r=null;return r=t?new t:function Kk(){return new _2(Y(qt))}(),r},providedIn:"root"}),n})();function ha(n){return null!=n&&"false"!=`${n}`}function C2(n,e=0){return function nO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function Mi(n){return n instanceof st?n.nativeElement:n}function ve(...n){return Qt(n,Lr(n))}typeof window<"u"&&window;const{isArray:rO}=Array;function E2(n){return Ae(e=>function sO(n,e){return rO(e)?n(...e):n(e)}(n,e))}const oO=["addListener","removeListener"],aO=["addEventListener","removeEventListener"],lO=["on","off"];function $w(n,e,t,r){if(ge(t)&&(r=t,t=void 0),r)return $w(n,e,t).pipe(E2(r));const[s,a]=function dO(n){return ge(n.addEventListener)&&ge(n.removeEventListener)}(n)?aO.map(u=>h=>n[u](e,h,t)):function cO(n){return ge(n.addListener)&&ge(n.removeListener)}(n)?oO.map(w2(n,e)):function uO(n){return ge(n.on)&&ge(n.off)}(n)?lO.map(w2(n,e)):[];if(!s&&Ad(n))return U(u=>$w(u,e,t))(Yn(n));if(!s)throw new TypeError("Invalid event target");return new Ct(u=>{const h=(...f)=>u.next(1a(h)})}function w2(n,e){return t=>r=>n[t](e,r)}class hO extends Wt{constructor(e,t){super()}schedule(e,t=0){return this}}const N_={setInterval(n,e,...t){const{delegate:r}=N_;return r?.setInterval?r.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=N_;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class Vw extends hO{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;const s=this.id,a=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(a,s,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return N_.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&N_.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let s,r=!1;try{this.work(e)}catch(a){r=!0,s=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,kr(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const Gp={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:r}=Gp;r&&(e=r.requestAnimationFrame,t=r.cancelAnimationFrame);const s=e(a=>{t=void 0,n(a)});return new Wt(()=>t?.(s))},requestAnimationFrame(...n){const{delegate:e}=Gp;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=Gp;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},S2={now:()=>(S2.delegate||Date).now(),delegate:void 0};class Wp{constructor(e,t=Wp.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,r){return new this.schedulerActionCtor(this,e).schedule(r,t)}}Wp.now=S2.now;class jw extends Wp{constructor(e,t=Wp.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const D2=new class fO extends jw{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let s;e=e||r.shift();do{if(s=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,s){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw s}}}(class pO extends Vw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=Gp.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,r=0){var s;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(e,t,r);const{actions:a}=e;null!=t&&(null===(s=a[a.length-1])||void 0===s?void 0:s.id)!==t&&(Gp.cancelAnimationFrame(t),e._scheduled=void 0)}});let Uw,gO=1;const R_={};function T2(n){return n in R_&&(delete R_[n],!0)}const mO={setImmediate(n){const e=gO++;return R_[e]=!0,Uw||(Uw=Promise.resolve()),Uw.then(()=>T2(e)&&n()),e},clearImmediate(n){T2(n)}},{setImmediate:vO,clearImmediate:_O}=mO,k_={setImmediate(...n){const{delegate:e}=k_;return(e?.setImmediate||vO)(...n)},clearImmediate(n){const{delegate:e}=k_;return(e?.clearImmediate||_O)(n)},delegate:void 0},Hw=(new class bO extends jw{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let s;e=e||r.shift();do{if(s=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,s){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw s}}}(class yO extends Vw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=k_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,r=0){var s;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(e,t,r);const{actions:a}=e;null!=t&&(null===(s=a[a.length-1])||void 0===s?void 0:s.id)!==t&&(k_.clearImmediate(t),e._scheduled=void 0)}}),new jw(Vw)),EO=Hw;function I2(n=0,e,t=EO){let r=-1;return null!=e&&(ws(e)?t=e:r=e),new Ct(s=>{let a=function SO(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;a<0&&(a=0);let u=0;return t.schedule(function(){s.closed||(s.next(u++),0<=r?this.schedule(void 0,r):s.complete())},a)})}function A2(n,e=Hw){return function wO(n){return mt((e,t)=>{let r=!1,s=null,a=null,u=!1;const h=()=>{if(a?.unsubscribe(),a=null,r){r=!1;const m=s;s=null,t.next(m)}u&&t.complete()},f=()=>{a=null,u&&t.complete()};e.subscribe(Pt(t,m=>{r=!0,s=m,a||Yn(n(m)).subscribe(a=Pt(t,h,f))},()=>{u=!0,(!r||!a||a.closed)&&t.complete()}))})}(()=>I2(n,e))}function ds(n,e){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>n.call(e,a,s++)&&r.next(a)))})}let zw;try{zw=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zw=!1}let Kp,qw,x2=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function KR(n){return n===QT}(this._platformId):"object"==typeof document&&!!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&&!zw)&&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}}return n.\u0275fac=function(t){return new(t||n)(Y(ew))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qp(n){return function DO(){if(null==Kp&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Kp=!0}))}finally{Kp=Kp||!1}return Kp}()?n:!!n.capture}function P2(n){if(function TO(){if(null==qw){const n=typeof document<"u"?document.head:null;qw=!(!n||!n.createShadowRoot&&!n.attachShadow)}return qw}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function F_(n){return n.composedPath?n.composedPath()[0]:n.target}let AO=(()=>{class n{constructor(t,r,s){this._ngZone=t,this._platform=r,this._scrolled=new Ue,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ct(r=>{this._globalSubscription||this._addGlobalListener();const s=t>0?this._scrolled.pipe(A2(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ve()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const s=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(ds(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,t)&&r.push(a)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let s=Mi(r),a=t.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>$w(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(x2),Y(qt,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MO=(()=>{class n{constructor(t,r,s){this._platform=t,this._change=new Ue,this._changeListener=a=>{this._change.next(a)},this._document=s,r.runOutsideAngular(()=>{if(t.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:s}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+r,height:s,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),s=t.documentElement,a=s.getBoundingClientRect();return{top:-a.top||t.body.scrollTop||r.scrollY||s.scrollTop||0,left:-a.left||t.body.scrollLeft||r.scrollX||s.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(A2(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(Y(x2),Y(bt),Y(qt,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),PO=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=at({}),n})();function Yp(n){return mt((e,t)=>{Yn(n).subscribe(Pt(t,()=>t.complete(),Jl)),!t.closed&&e.subscribe(t)})}function Gw(...n){return function KO(){return Es(1)}()(Qt(n,Lr(n)))}function L_(...n){const e=Lr(n);return mt((t,r)=>{(e?Gw(n,t,e):Gw(n,t)).subscribe(r)})}function Bl(n){return n<=0?()=>Wi:mt((e,t)=>{let r=0;e.subscribe(Pt(t,s=>{++r<=n&&(t.next(s),n<=r&&t.complete())}))})}function kn(n,e,t){const r=ge(n)||e||t?{next:n,error:e,complete:t}:n;return r?mt((s,a)=>{var u;null===(u=r.subscribe)||void 0===u||u.call(r);let h=!0;s.subscribe(Pt(a,f=>{var m;null===(m=r.next)||void 0===m||m.call(r,f),a.next(f)},()=>{var f;h=!1,null===(f=r.complete)||void 0===f||f.call(r),a.complete()},f=>{var m;h=!1,null===(m=r.error)||void 0===m||m.call(r,f),a.error(f)},()=>{var f,m;h&&(null===(f=r.unsubscribe)||void 0===f||f.call(r)),null===(m=r.finalize)||void 0===m||m.call(r)}))}):ys}function Nr(n,e){return mt((t,r)=>{let s=null,a=0,u=!1;const h=()=>u&&!s&&r.complete();t.subscribe(Pt(r,f=>{s?.unsubscribe();let m=0;const b=a++;Yn(n(f,b)).subscribe(s=Pt(r,E=>r.next(e?e(f,E,b,m++):E),()=>{s=null,h()}))},()=>{u=!0,h()}))})}const QO=new ne("cdk-dir-doc",{providedIn:"root",factory:function YO(){return Le(qt)}}),ZO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let O2=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new gt,t){const s=t.documentElement?t.documentElement.dir:null;this.value=function XO(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?ZO.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(Y(QO,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ww(n,e,t){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];s?n.setProperty(r,s,t?.has(r)?"important":""):n.removeProperty(r)}return n}function Uu(n,e){const t=e?"":"none";Ww(n.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function F2(n,e,t){Ww(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function B_(n,e){return e&&"none"!=e?n+" "+e:n}function L2(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function Kw(n,e){return n.getPropertyValue(e).split(",").map(r=>r.trim())}function Qw(n){const e=n.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function Yw(n,e,t){const{top:r,bottom:s,left:a,right:u}=n;return t>=r&&t<=s&&e>=a&&e<=u}function Zp(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function B2(n,e,t,r){const{top:s,right:a,bottom:u,left:h,width:f,height:m}=n,b=f*e,E=m*e;return r>s-E&&rh-b&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:Qw(t)})})}handleScroll(e){const t=F_(e),r=this.positions.get(t);if(!r)return null;const s=r.scrollPosition;let a,u;if(t===this._document){const m=this.getViewportScrollPosition();a=m.top,u=m.left}else a=t.scrollTop,u=t.scrollLeft;const h=s.top-a,f=s.left-u;return this.positions.forEach((m,b)=>{m.clientRect&&t!==b&&t.contains(b)&&Zp(m.clientRect,h,f)}),s.top=a,s.left=u,{top:h,left:f}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function V2(n){const e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),r=n.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const f=this._getTargetHandle(h);f&&!this._disabledHandles.has(f)&&!this.disabled&&this._initializeDragSequence(f,h)}else this.disabled||this._initializeDragSequence(this._rootElement,h)},this._pointerMove=h=>{const f=this._getPointerPositionOnPage(h);if(!this._hasStartedDragging){if(Math.abs(f.x-this._pickupPositionOnPage.x)+Math.abs(f.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const I=Date.now()>=this._dragStartTime+this._getDragStartDelay(h),M=this._dropContainer;if(!I)return void this._endDragSequence(h);(!M||!M.isDragging()&&!M.isReceiving())&&(h.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(h)))}return}h.preventDefault();const m=this._getConstrainedPointerPosition(f);if(this._hasMoved=!0,this._lastKnownPointerPosition=f,this._updatePointerDirectionDelta(m),this._dropContainer)this._updateActiveDropContainer(m,f);else{const b=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,E=this._activeTransform;E.x=m.x-b.x+this._passiveTransform.x,E.y=m.y-b.y+this._passiveTransform.y,this._applyRootElementTransform(E.x,E.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:m,event:h,distance:this._getDragDistance(m),delta:this._pointerDirectionDelta})})},this._pointerUp=h=>{this._endDragSequence(h)},this._nativeDragStart=h=>{if(this._handles.length){const f=this._getTargetHandle(h);f&&!this._disabledHandles.has(f)&&!this.disabled&&h.preventDefault()}else this.disabled||h.preventDefault()},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new $2(r),u.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=ha(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(r=>Uu(r,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(r=>Mi(r)),this._handles.forEach(r=>Uu(r,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&t.add(r)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=Mi(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,$_),t.addEventListener("touchstart",this._pointerDown,z2),t.addEventListener("dragstart",this._nativeDragStart,$_)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?Mi(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),Uu(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),Uu(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){Xp(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const r=this._rootElement,s=r.parentNode,a=this._placeholder=this._createPlaceholderElement(),u=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();s.insertBefore(u,r),this._initialTransform=r.style.transform||"",this._preview=this._createPreviewElement(),F2(r,!1,Zw),this._document.body.appendChild(s.replaceChild(a,r)),this._getPreviewInsertionPoint(s,h).appendChild(this._preview),this.started.next({source:this,event:e}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const r=this.isDragging(),s=Xp(t),a=!s&&0!==t.button,u=this._rootElement,h=F_(t),f=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=s?function qO(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}(t):function zO(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(t);if(h&&h.draggable&&"mousedown"===t.type&&t.preventDefault(),r||a||f||m)return;if(this._handles.length){const D=u.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=Qw(this._boundaryElement));const b=this._previewTemplate;this._pickupPositionInElement=b&&b.template&&!b.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,e,t);const E=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:E.x,y:E.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){F2(this._rootElement,!0,Zw),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,r=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),a=this._getDragDistance(s),u=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:u,distance:a,dropPoint:s,event:e}),t.drop(this,r,this._initialIndex,this._initialContainer,u,a,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:r,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,e,t,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,r=e?e.template:null;let s;if(r&&e){const a=e.matchSize?this._initialClientRect:null,u=e.viewContainer.createEmbeddedView(r,e.context);u.detectChanges(),s=G2(u,this._document),this._previewRef=u,e.matchSize?W2(s,a):s.style.transform=V_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=V2(this._rootElement),W2(s,this._initialClientRect),this._initialTransform&&(s.style.transform=this._initialTransform);return Ww(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Zw),Uu(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(a=>s.classList.add(a)):s.classList.add(t)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);const t=function JO(n){const e=getComputedStyle(n),t=Kw(e,"transition-property"),r=t.find(h=>"transform"===h||"all"===h);if(!r)return 0;const s=t.indexOf(r),a=Kw(e,"transition-duration"),u=Kw(e,"transition-delay");return L2(a[s])+L2(u[s])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{const s=u=>{(!u||F_(u)===this._preview&&"transform"===u.propertyName)&&(this._preview?.removeEventListener("transitionend",s),r(),clearTimeout(a))},a=setTimeout(s,1.5*t);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let r;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),r=G2(this._placeholderRef,this._document)):r=V2(this._rootElement),r.style.pointerEvents="none",r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(e,t,r){const s=t===this._rootElement?null:t,a=s?s.getBoundingClientRect():e,u=Xp(r)?r.targetTouches[0]:r,h=this._getViewportScrollPosition();return{x:a.left-e.left+(u.pageX-a.left-h.left),y:a.top-e.top+(u.pageY-a.top-h.top)}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),r=Xp(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=r.pageX-t.left,a=r.pageY-t.top;if(this._ownerSVGElement){const u=this._ownerSVGElement.getScreenCTM();if(u){const h=this._ownerSVGElement.createSVGPoint();return h.x=s,h.y=a,h.matrixTransform(u.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:r,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialClientRect,this._pickupPositionInElement):e;if("x"===this.lockAxis||"x"===t?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===t)&&(r=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:u}=this._pickupPositionInElement,h=this._boundaryRect,{width:f,height:m}=this._getPreviewRect(),b=h.top+u,E=h.bottom-(m-u);r=q2(r,h.left+a,h.right-(f-a)),s=q2(s,b,E)}return{x:r,y:s}}_updatePointerDirectionDelta(e){const{x:t,y:r}=e,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,u=Math.abs(t-a.x),h=Math.abs(r-a.y);return u>this._config.pointerDirectionChangeThreshold&&(s.x=t>a.x?1:-1,a.x=t),h>this._config.pointerDirectionChangeThreshold&&(s.y=r>a.y?1:-1,a.y=r),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Uu(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,$_),e.removeEventListener("touchstart",this._pointerDown,z2),e.removeEventListener("dragstart",this._nativeDragStart,$_)}_applyRootElementTransform(e,t){const r=V_(e,t),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=B_(r,this._initialTransform)}_applyPreviewTransform(e,t){const r=this._previewTemplate?.template?void 0:this._initialTransform,s=V_(e,t);this._preview.style.transform=B_(s,r)}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const r=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(0===s.width&&0===s.height||0===r.width&&0===r.height)return;const a=s.left-r.left,u=r.right-s.right,h=s.top-r.top,f=r.bottom-s.bottom;s.width>r.width?(a>0&&(e+=a),u>0&&(e-=u)):e=0,s.height>r.height?(h>0&&(t+=h),f>0&&(t-=f)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:Xp(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const r=F_(e);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&Zp(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=P2(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const r=this._previewContainer||"global";if("parent"===r)return e;if("global"===r){const s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Mi(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}}function V_(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}function q2(n,e,t){return Math.max(e,Math.min(t,n))}function Xp(n){return"t"===n.type[0]}function G2(n,e){const t=n.rootNodes;if(1===t.length&&t[0].nodeType===e.ELEMENT_NODE)return t[0];const r=e.createElement("div");return t.forEach(s=>r.appendChild(s)),r}function W2(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=V_(e.left,e.top)}function K2(n,e,t){const r=Jp(e,n.length-1),s=Jp(t,n.length-1);if(r===s)return;const a=n[r],u=s0)return null;const h="horizontal"===this.orientation,f=a.findIndex(F=>F.drag===e),m=a[u],E=m.clientRect,D=f>u?1:-1,I=this._getItemOffsetPx(a[f].clientRect,E,D),M=this._getSiblingOffsetPx(f,a,D),R=a.slice();return K2(a,f,u),a.forEach((F,V)=>{if(R[V]===F)return;const W=F.drag===e,B=W?I:M,re=W?e.getPlaceholderElement():F.drag.getRootElement();F.offset+=B,h?(re.style.transform=B_(`translate3d(${Math.round(F.offset)}px, 0, 0)`,F.initialTransform),Zp(F.clientRect,0,B)):(re.style.transform=B_(`translate3d(0, ${Math.round(F.offset)}px, 0)`,F.initialTransform),Zp(F.clientRect,B,0))}),this._previousSwap.overlaps=Yw(E,t,r),this._previousSwap.drag=m.drag,this._previousSwap.delta=h?s.x:s.y,{previousIndex:f,currentIndex:u}}enter(e,t,r,s){const a=null==s||s<0?this._getItemIndexFromPointerPosition(e,t,r):s,u=this._activeDraggables,h=u.indexOf(e),f=e.getPlaceholderElement();let m=u[a];if(m===e&&(m=u[a+1]),!m&&(null==a||-1===a||a-1&&u.splice(h,1),m&&!this._dragDropRegistry.isDragging(m)){const b=m.getRootElement();b.parentElement.insertBefore(f,b),u.splice(a,0,e)}else Mi(this._element).appendChild(f),u.push(e);f.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables.forEach(e=>{const t=e.getRootElement();if(t){const r=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=r||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(r=>r.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:r})=>{Zp(r,e,t)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}_cacheItemPositions(){const e="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const r=t.getVisibleElement();return{drag:t,offset:0,initialTransform:r.style.transform||"",clientRect:Qw(r)}}).sort((t,r)=>e?t.clientRect.left-r.clientRect.left:t.clientRect.top-r.clientRect.top)}_getItemOffsetPx(e,t,r){const s="horizontal"===this.orientation;let a=s?t.left-e.left:t.top-e.top;return-1===r&&(a+=s?t.width-e.width:t.height-e.height),a}_getSiblingOffsetPx(e,t,r){const s="horizontal"===this.orientation,a=t[e].clientRect,u=t[e+-1*r];let h=a[s?"width":"height"]*r;if(u){const f=s?"left":"top",m=s?"right":"bottom";-1===r?h-=u.clientRect[f]-a[m]:h+=a[f]-u.clientRect[m]}return h}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const r=this._itemPositions,s="horizontal"===this.orientation;if(r[0].drag!==this._activeDraggables[0]){const u=r[r.length-1].clientRect;return s?e>=u.right:t>=u.bottom}{const u=r[0].clientRect;return s?e<=u.left:t<=u.top}}_getItemIndexFromPointerPosition(e,t,r,s){const a="horizontal"===this.orientation,u=this._itemPositions.findIndex(({drag:h,clientRect:f})=>{if(h===e)return!1;if(s){const m=a?s.x:s.y;if(h===this._previousSwap.drag&&this._previousSwap.overlaps&&m===this._previousSwap.delta)return!1}return a?t>=Math.floor(f.left)&&t=Math.floor(f.top)&&r!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ue,this.entered=new Ue,this.exited=new Ue,this.dropped=new Ue,this.sorted=new Ue,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Wt.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ue,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function WO(n=0,e=Hw){return n<0&&(n=0),I2(n,n,e)}(0,D2).pipe(Yp(this._stopScrollTimers)).subscribe(()=>{const u=this._scrollNode,h=this.autoScrollStep;1===this._verticalScrollDirection?u.scrollBy(0,-h):2===this._verticalScrollDirection&&u.scrollBy(0,h),1===this._horizontalScrollDirection?u.scrollBy(-h,0):2===this._horizontalScrollDirection&&u.scrollBy(h,0)})},this.element=Mi(e),this._document=r,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new $2(r),this._sortStrategy=new rF(this.element,t),this._sortStrategy.withSortPredicate((u,h)=>this.sortPredicate(u,h,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,r,s){this._draggingStarted(),null==s&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,r,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,r,s,a,u,h,f={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:r,container:this,previousContainer:s,isPointerOverContainer:a,distance:u,dropPoint:h,event:f})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>-1===e.indexOf(s))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._sortStrategy.direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._sortStrategy.orientation=e,this}withScrollableParents(e){const t=Mi(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,r,s){if(this.sortingDisabled||!this._clientRect||!B2(this._clientRect,.05,t,r))return;const a=this._sortStrategy.sort(e,t,r,s);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let r,s=0,a=0;if(this._parentPositions.positions.forEach((u,h)=>{h===this._document||!u.clientRect||r||B2(u.clientRect,.05,e,t)&&([s,a]=function oF(n,e,t,r){const s=Z2(e,r),a=X2(e,t);let u=0,h=0;if(s){const f=n.scrollTop;1===s?f>0&&(u=1):n.scrollHeight-f>n.clientHeight&&(u=2)}if(a){const f=n.scrollLeft;1===a?f>0&&(h=1):n.scrollWidth-f>n.clientWidth&&(h=2)}return[u,h]}(h,u.clientRect,e,t),(s||a)&&(r=h))}),!s&&!a){const{width:u,height:h}=this._viewportRuler.getViewportSize(),f={width:u,height:h,top:0,right:u,bottom:h,left:0};s=Z2(f,t),a=X2(f,e),r=window}r&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=r,(s||a)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=Mi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=Mi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;const e=Mi(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,t){return null!=this._clientRect&&Yw(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,r){return this._siblings.find(s=>s._canReceive(e,t,r))}_canReceive(e,t,r){if(!this._clientRect||!Yw(this._clientRect,t,r)||!this.enterPredicate(e,this))return!1;const s=this._getShadowRoot().elementFromPoint(t,r);if(!s)return!1;const a=Mi(this.element);return s===a||a.contains(s)}_startReceiving(e,t){const r=this._activeSiblings;!r.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(r.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=P2(Mi(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function Z2(n,e){const{top:t,bottom:r,height:s}=n,a=.05*s;return e>=t-a&&e<=t+a?1:e>=r-a&&e<=r+a?2:0}function X2(n,e){const{left:t,right:r,width:s}=n,a=.05*s;return e>=t-a&&e<=t+a?1:e>=r-a&&e<=r+a?2:0}const j_=Qp({passive:!1,capture:!0});let aF=(()=>{class n{constructor(t,r){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new Ue,this.pointerUp=new Ue,this.scroll=new Ue,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=r}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,j_)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,j_)}startDragging(t,r){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const s=r.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:j_}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:j_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,u)=>{this._document.addEventListener(u,a.handler,a.options)})})}}stopDragging(t){const r=this._activeDragInstances.indexOf(t);r>-1&&(this._activeDragInstances.splice(r,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const r=[this.scroll];return t&&t!==this._document&&r.push(new Ct(s=>this._ngZone.runOutsideAngular(()=>{const u=h=>{this._activeDragInstances.length&&s.next(h)};return t.addEventListener("scroll",u,!0),()=>{t.removeEventListener("scroll",u,!0)}}))),lc(...r)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,r)=>{this._document.removeEventListener(r,t.handler,t.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lF={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Xw=(()=>{class n{constructor(t,r,s,a){this._document=t,this._ngZone=r,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(t,r=lF){return new nF(t,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new sF(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(t){return new(t||n)(Y(qt),Y(bt),Y(MO),Y(aF))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Jw=new ne("CDK_DRAG_PARENT"),e0=new ne("CdkDropListGroup"),J2=new ne("CDK_DRAG_CONFIG");let uF=0;const eI=new ne("CdkDropList");let tI=(()=>{class n{constructor(t,r,s,a,u,h,f){this.element=t,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=u,this._group=h,this._destroyed=new Ue,this.connectedTo=[],this.id="cdk-drop-list-"+uF++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new gt,this.entered=new gt,this.exited=new gt,this.sorted=new gt,this._unsortedItems=new Set,this._dropListRef=r.createDropList(t),this._dropListRef.data=this,f&&this._assignDefaults(f),this._dropListRef.enterPredicate=(m,b)=>this.enterPredicate(m.data,b.data),this._dropListRef.sortPredicate=(m,b,E)=>this.sortPredicate(m,b.data,E.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),h&&h._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=ha(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,r)=>t._dragRef.getVisibleElement().compareDocumentPosition(r._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=n._dropLists.indexOf(this);t>-1&&n._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(L_(this._dir.value),Yp(this._destroyed)).subscribe(r=>t.withDirection(r)),t.beforeStarted.subscribe(()=>{const r=function iO(n){return Array.isArray(n)?n:[n]}(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(u=>u.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===r.indexOf(s)&&r.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=ha(this.sortingDisabled),t.autoScrollDisabled=ha(this.autoScrollDisabled),t.autoScrollStep=C2(this.autoScrollStep,2),t.connectedTo(r.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(r=>{this.entered.emit({container:this,item:r.item.data,currentIndex:r.currentIndex})}),t.exited.subscribe(r=>{this.exited.emit({container:this,item:r.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(r=>{this.sorted.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:r.item.data})}),t.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,item:r.item.data,isPointerOverContainer:r.isPointerOverContainer,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:r,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:u,listOrientation:h}=t;this.disabled=s??!1,this.sortingDisabled=a??!1,this.autoScrollDisabled=u??!1,this.orientation=h||"vertical",r&&(this.lockAxis=r)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return n._dropLists=[],n.\u0275fac=function(t){return new(t||n)(G(st),G(Xw),G(ca),G(AO),G(O2,8),G(e0,12),G(J2,8))},n.\u0275dir=pt({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,r){2&t&&(ot("id",r.id),e_("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Nl([{provide:e0,useValue:void 0},{provide:eI,useExisting:n}])]}),n})();const t0=new ne("CdkDragHandle"),nI=new ne("CdkDragPlaceholder"),iI=new ne("CdkDragPreview");let rI=(()=>{class n{constructor(t,r,s,a,u,h,f,m,b,E,D){this.element=t,this.dropContainer=r,this._ngZone=a,this._viewContainerRef=u,this._dir=f,this._changeDetectorRef=b,this._selfHandle=E,this._parentDrag=D,this._destroyed=new Ue,this.started=new gt,this.released=new gt,this.ended=new gt,this.entered=new gt,this.exited=new gt,this.dropped=new gt,this.moved=new Ct(I=>{const M=this._dragRef.moved.pipe(Ae(R=>({source:this,pointerPosition:R.pointerPosition,event:R.event,delta:R.delta,distance:R.distance}))).subscribe(I);return()=>{M.unsubscribe()}}),this._dragRef=m.createDrag(t,{dragStartThreshold:h&&null!=h.dragStartThreshold?h.dragStartThreshold:5,pointerDirectionChangeThreshold:h&&null!=h.pointerDirectionChangeThreshold?h.pointerDirectionChangeThreshold:5,zIndex:h?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),h&&this._assignDefaults(h),r&&(this._dragRef._withDropContainer(r._dropListRef),r.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=ha(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Bl(1),Yp(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const r=t.rootElementSelector,s=t.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=n._dragInstances.indexOf(this);t>-1&&n._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const t=this.element.nativeElement;let r=t;this.rootElementSelector&&(r=void 0!==t.closest?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):Mi(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const r=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,u=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof s&&s?s:C2(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(u).withPreviewContainer(this.previewContainer||"global"),r&&t.withDirection(r.value)}}),t.beforeStarted.pipe(Bl(1)).subscribe(()=>{if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){t.withParent(n._dragInstances.find(s=>s.element.nativeElement===r)?._dragRef||null);break}r=r.parentElement}})}_handleEvents(t){t.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),t.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),t.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),t.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(t){const{lockAxis:r,dragStartDelay:s,constrainPosition:a,previewClass:u,boundaryElement:h,draggingDisabled:f,rootElementSelector:m,previewContainer:b}=t;this.disabled=f??!1,this.dragStartDelay=s||0,r&&(this.lockAxis=r),a&&(this.constrainPosition=a),u&&(this.previewClass=u),h&&(this.boundaryElement=h),m&&(this.rootElementSelector=m),b&&(this.previewContainer=b)}_setupHandlesListener(){this._handles.changes.pipe(L_(this._handles),kn(t=>{const r=t.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),Nr(t=>lc(...t.map(r=>r._stateChanges.pipe(L_(r))))),Yp(this._destroyed)).subscribe(t=>{const r=this._dragRef,s=t.element.nativeElement;t.disabled?r.disableHandle(s):r.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(t){return new(t||n)(G(st),G(eI,12),G(qt),G(bt),G(ar),G(J2,8),G(O2,8),G(Xw),G(ca),G(t0,10),G(Jw,12))},n.\u0275dir=pt({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(t,r,s){if(1&t&&(Rl(s,iI,5),Rl(s,nI,5),Rl(s,t0,5)),2&t){let a;ci(a=ui())&&(r._previewTemplate=a.first),ci(a=ui())&&(r._placeholderTemplate=a.first),ci(a=ui())&&(r._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,r){2&t&&e_("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Nl([{provide:Jw,useExisting:n}]),Fi]}),n})(),gF=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=at({providers:[Xw],imports:[PO]}),n})();class Rr extends Ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}const U_=mn(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:mF}=Array,{getPrototypeOf:vF,prototype:_F,keys:yF}=Object;function sI(...n){const e=Lr(n),t=function be(n){return ge(Ss(n))?n.pop():void 0}(n),{args:r,keys:s}=function bF(n){if(1===n.length){const e=n[0];if(mF(e))return{args:e,keys:null};if(function CF(n){return n&&"object"==typeof n&&vF(n)===_F}(e)){const t=yF(e);return{args:t.map(r=>e[r]),keys:t}}}return{args:n,keys:null}}(n);if(0===r.length)return Qt([],e);const a=new Ct(function wF(n,e,t=ys){return r=>{oI(e,()=>{const{length:s}=n,a=new Array(s);let u=s,h=s;for(let f=0;f{const m=Qt(n[f],e);let b=!1;m.subscribe(Pt(r,E=>{a[f]=E,b||(b=!0,h--),h||r.next(t(a.slice()))},()=>{--u||r.complete()}))},r)},r)}}(r,e,s?u=>function EF(n,e){return n.reduce((t,r,s)=>(t[r]=e[s],t),{})}(s,u):ys));return t?a.pipe(E2(t)):a}function oI(n,e,t){n?Kt(t,n,e):e()}function aI(n){return new Ct(e=>{Yn(n()).subscribe(e)})}function ef(n,e){const t=ge(n)?n:()=>n,r=s=>s.error(t());return new Ct(e?s=>e.schedule(r,0,s):r)}function n0(){return mt((n,e)=>{let t=null;n._refCount++;const r=Pt(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const s=n._connection,a=t;t=null,s&&(!a||s===a)&&s.unsubscribe(),e.unsubscribe()});n.subscribe(r),r.closed||(t=n.connect())})}class lI extends Ct{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,eg(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Wt;const t=this.getSubject();e.add(this.source.subscribe(Pt(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Wt.EMPTY)}return e}refCount(){return n0()(this)}}function H_(n){return mt((e,t)=>{let r=!1;e.subscribe(Pt(t,s=>{r=!0,t.next(s)},()=>{r||t.next(n),t.complete()}))})}function cI(n=SF){return mt((e,t)=>{let r=!1;e.subscribe(Pt(t,s=>{r=!0,t.next(s)},()=>r?t.complete():t.error(n())))})}function SF(){return new U_}function pa(n,e){const t=arguments.length>=2;return r=>r.pipe(n?ds((s,a)=>n(s,a,r)):ys,Bl(1),t?H_(e):cI(()=>new U_))}function $l(n,e){return ge(e)?U(n,e,1):U(n,1)}function fa(n){return mt((e,t)=>{let a,r=null,s=!1;r=e.subscribe(Pt(t,void 0,void 0,u=>{a=Yn(n(u,fa(n)(e))),r?(r.unsubscribe(),r=null,a.subscribe(t)):s=!0})),s&&(r.unsubscribe(),r=null,a.subscribe(t))})}function DF(n,e,t,r,s){return(a,u)=>{let h=t,f=e,m=0;a.subscribe(Pt(u,b=>{const E=m++;f=h?n(f,b,E):(h=!0,b),r&&u.next(f)},s&&(()=>{h&&u.next(f),u.complete()})))}}function uI(n,e){return mt(DF(n,e,arguments.length>=2,!0))}function r0(n){return n<=0?()=>Wi:mt((e,t)=>{let r=[];e.subscribe(Pt(t,s=>{r.push(s),n{for(const s of r)t.next(s);t.complete()},void 0,()=>{r=null}))})}function dI(n,e){const t=arguments.length>=2;return r=>r.pipe(n?ds((s,a)=>n(s,a,r)):ys,r0(1),t?H_(e):cI(()=>new U_))}function s0(n){return mt((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const $e="primary",tf=Symbol("RouteTitle");class AF{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Hu(n){return new AF(n)}function xF(n,e,t){const r=t.path.split("/");if(r.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||r.lengthr[a]===s)}return n===e}function pI(n){return Array.prototype.concat.apply([],n)}function fI(n){return n.length>0?n[n.length-1]:null}function On(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function ga(n){return IE(n)?n:Ml(n)?Qt(Promise.resolve(n)):ve(n)}const z_=!1,PF={exact:function vI(n,e,t){if(!jl(n.segments,e.segments)||!q_(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!n.children[r]||!vI(n.children[r],e.children[r],t))return!1;return!0},subset:_I},gI={exact:function NF(n,e){return hs(n,e)},subset:function RF(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>hI(n[t],e[t]))},ignored:()=>!0};function mI(n,e,t){return PF[t.paths](n.root,e.root,t.matrixParams)&&gI[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function _I(n,e,t){return yI(n,e,e.segments,t)}function yI(n,e,t,r){if(n.segments.length>t.length){const s=n.segments.slice(0,t.length);return!(!jl(s,t)||e.hasChildren()||!q_(s,t,r))}if(n.segments.length===t.length){if(!jl(n.segments,t)||!q_(n.segments,t,r))return!1;for(const s in e.children)if(!n.children[s]||!_I(n.children[s],e.children[s],r))return!1;return!0}{const s=t.slice(0,n.segments.length),a=t.slice(n.segments.length);return!!(jl(n.segments,s)&&q_(n.segments,s,r)&&n.children[$e])&&yI(n.children[$e],e,a,r)}}function q_(n,e,t){return e.every((r,s)=>gI[t](n[s].parameters,r.parameters))}class Vl{constructor(e=new Ve([],{}),t={},r=null){this.root=e,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hu(this.queryParams)),this._queryParamMap}toString(){return FF.serialize(this)}}class Ve{constructor(e,t){this.segments=e,this.children=t,this.parent=null,On(t,(r,s)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return G_(this)}}class nf{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Hu(this.parameters)),this._parameterMap}toString(){return EI(this)}}function jl(n,e){return n.length===e.length&&n.every((t,r)=>t.path===e[r].path)}let rf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return new o0},providedIn:"root"}),n})();class o0{parse(e){const t=new qF(e);return new Vl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${sf(e.root,!0)}`,r=function $F(n){const e=Object.keys(n).map(t=>{const r=n[t];return Array.isArray(r)?r.map(s=>`${W_(t)}=${W_(s)}`).join("&"):`${W_(t)}=${W_(r)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${t}${r}${"string"==typeof e.fragment?`#${function LF(n){return encodeURI(n)}(e.fragment)}`:""}`}}const FF=new o0;function G_(n){return n.segments.map(e=>EI(e)).join("/")}function sf(n,e){if(!n.hasChildren())return G_(n);if(e){const t=n.children[$e]?sf(n.children[$e],!1):"",r=[];return On(n.children,(s,a)=>{a!==$e&&r.push(`${a}:${sf(s,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function OF(n,e){let t=[];return On(n.children,(r,s)=>{s===$e&&(t=t.concat(e(r,s)))}),On(n.children,(r,s)=>{s!==$e&&(t=t.concat(e(r,s)))}),t}(n,(r,s)=>s===$e?[sf(n.children[$e],!1)]:[`${s}:${sf(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[$e]?`${G_(n)}/${t[0]}`:`${G_(n)}/(${t.join("//")})`}}function bI(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function W_(n){return bI(n).replace(/%3B/gi,";")}function a0(n){return bI(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function K_(n){return decodeURIComponent(n)}function CI(n){return K_(n.replace(/\+/g,"%20"))}function EI(n){return`${a0(n.path)}${function BF(n){return Object.keys(n).map(e=>`;${a0(e)}=${a0(n[e])}`).join("")}(n.parameters)}`}const VF=/^[^\/()?;=#]+/;function Q_(n){const e=n.match(VF);return e?e[0]:""}const jF=/^[^=?&#]+/,HF=/^[^&#]+/;class qF{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const 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("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(r[$e]=new Ve(e,t)),r}parseSegment(){const e=Q_(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new j(4009,z_);return this.capture(e),new nf(K_(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Q_(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=Q_(this.remaining);s&&(r=s,this.capture(r))}e[K_(t)]=K_(r)}parseQueryParam(e){const t=function UF(n){const e=n.match(jF);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const u=function zF(n){const e=n.match(HF);return e?e[0]:""}(this.remaining);u&&(r=u,this.capture(r))}const s=CI(t),a=CI(r);if(e.hasOwnProperty(s)){let u=e[s];Array.isArray(u)||(u=[u],e[s]=u),u.push(a)}else e[s]=a}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Q_(this.remaining),s=this.remaining[r.length];if("/"!==s&&")"!==s&&";"!==s)throw new j(4010,z_);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=$e);const u=this.parseChildren();t[a]=1===Object.keys(u).length?u[$e]:new Ve([],u),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new j(4011,z_)}}function l0(n){return n.segments.length>0?new Ve([],{[$e]:n}):n}function Y_(n){const e={};for(const r of Object.keys(n.children)){const a=Y_(n.children[r]);(a.segments.length>0||a.hasChildren())&&(e[r]=a)}return function GF(n){if(1===n.numberOfChildren&&n.children[$e]){const e=n.children[$e];return new Ve(n.segments.concat(e.segments),e.children)}return n}(new Ve(n.segments,e))}function Ul(n){return n instanceof Vl}function QF(n,e,t,r,s){if(0===t.length)return zu(e.root,e.root,e.root,r,s);const a=function DI(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new SI(!0,0,n);let e=0,t=!1;const r=n.reduce((s,a,u)=>{if("object"==typeof a&&null!=a){if(a.outlets){const h={};return On(a.outlets,(f,m)=>{h[m]="string"==typeof f?f.split("/"):f}),[...s,{outlets:h}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===u?(a.split("/").forEach((h,f)=>{0==f&&"."===h||(0==f&&""===h?t=!0:".."===h?e++:""!=h&&s.push(h))}),s):[...s,a]},[]);return new SI(t,e,r)}(t);return a.toRoot()?zu(e.root,e.root,new Ve([],{}),r,s):function u(f){const m=function ZF(n,e,t,r){if(n.isAbsolute)return new qu(e.root,!0,0);if(-1===r)return new qu(t,t===e.root,0);return function TI(n,e,t){let r=n,s=e,a=t;for(;a>s;){if(a-=s,r=r.parent,!r)throw new j(4005,!1);s=r.segments.length}return new qu(r,!1,s-a)}(t,r+(af(n.commands[0])?0:1),n.numberOfDoubleDots)}(a,e,n.snapshot?._urlSegment,f),b=m.processChildren?cf(m.segmentGroup,m.index,a.commands):u0(m.segmentGroup,m.index,a.commands);return zu(e.root,m.segmentGroup,b,r,s)}(n.snapshot?._lastPathIndex)}function af(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function lf(n){return"object"==typeof n&&null!=n&&n.outlets}function zu(n,e,t,r,s){let u,a={};r&&On(r,(f,m)=>{a[m]=Array.isArray(f)?f.map(b=>`${b}`):`${f}`}),u=n===e?t:wI(n,e,t);const h=l0(Y_(u));return new Vl(h,a,s)}function wI(n,e,t){const r={};return On(n.children,(s,a)=>{r[a]=s===e?t:wI(s,e,t)}),new Ve(n.segments,r)}class SI{constructor(e,t,r){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=r,e&&r.length>0&&af(r[0]))throw new j(4003,!1);const s=r.find(lf);if(s&&s!==fI(r))throw new j(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qu{constructor(e,t,r){this.segmentGroup=e,this.processChildren=t,this.index=r}}function u0(n,e,t){if(n||(n=new Ve([],{})),0===n.segments.length&&n.hasChildren())return cf(n,e,t);const r=function JF(n,e,t){let r=0,s=e;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=t.length)return a;const u=n.segments[s],h=t[r];if(lf(h))break;const f=`${h}`,m=r0&&void 0===f)break;if(f&&m&&"object"==typeof m&&void 0===m.outlets){if(!AI(f,m,u))return a;r+=2}else{if(!AI(f,{},u))return a;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(n,e,t),s=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[u]=u0(n.children[u],e,a))}),On(n.children,(a,u)=>{void 0===r[u]&&(s[u]=a)}),new Ve(n.segments,s)}}function d0(n,e,t){const r=n.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[r]=d0(new Ve([],{}),0,t))}),e}function II(n){const e={};return On(n,(t,r)=>e[r]=`${t}`),e}function AI(n,e,t){return n==t.path&&hs(e,t.parameters)}class uo{constructor(e,t){this.id=e,this.url=t}}class h0 extends uo{constructor(e,t,r="imperative",s=null){super(e,t),this.type=0,this.navigationTrigger=r,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ma extends uo{constructor(e,t,r){super(e,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Z_ extends uo{constructor(e,t,r,s){super(e,t),this.reason=r,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xI extends uo{constructor(e,t,r,s){super(e,t),this.error=r,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tL extends uo{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nL extends uo{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iL extends uo{constructor(e,t,r,s,a){super(e,t),this.urlAfterRedirects=r,this.state=s,this.shouldActivate=a,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rL extends uo{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sL extends uo{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oL{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class aL{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lL{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cL{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uL{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dL{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class MI{constructor(e,t,r){this.routerEvent=e,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let pL=(()=>{class n{createUrlTree(t,r,s,a,u,h){return QF(t||r.root,s,a,u,h)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),fL=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(e){return pL.\u0275fac(e)},providedIn:"root"}),n})();class PI{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=p0(e,this._root);return t?t.children.map(r=>r.value):[]}firstChild(e){const t=p0(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=f0(e,this._root);return t.length<2?[]:t[t.length-2].children.map(s=>s.value).filter(s=>s!==e)}pathFromRoot(e){return f0(e,this._root).map(t=>t.value)}}function p0(n,e){if(n===e.value)return e;for(const t of e.children){const r=p0(n,t);if(r)return r}return null}function f0(n,e){if(n===e.value)return[e];for(const t of e.children){const r=f0(n,t);if(r.length)return r.unshift(e),r}return[]}class ho{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Gu(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class NI extends PI{constructor(e,t){super(e),this.snapshot=t,g0(this,e)}toString(){return this.snapshot.toString()}}function RI(n,e){const t=function gL(n,e){const u=new X_([],{},{},"",{},$e,e,null,n.root,-1,{});return new OI("",new ho(u,[]))}(n,e),r=new Rr([new nf("",{})]),s=new Rr({}),a=new Rr({}),u=new Rr({}),h=new Rr(""),f=new Wu(r,s,u,h,a,$e,e,t.root);return f.snapshot=t.root,new NI(new ho(f,[]),t)}class Wu{constructor(e,t,r,s,a,u,h,f){this.url=e,this.params=t,this.queryParams=r,this.fragment=s,this.data=a,this.outlet=u,this.component=h,this.title=this.data?.pipe(Ae(m=>m[tf]))??ve(void 0),this._futureSnapshot=f}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._paramMap=this.params.pipe(Ae(e=>Hu(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ae(e=>Hu(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kI(n,e="emptyOnly"){const t=n.pathFromRoot;let r=0;if("always"!==e)for(r=t.length-1;r>=1;){const s=t[r],a=t[r-1];if(s.routeConfig&&""===s.routeConfig.path)r--;else{if(a.component)break;r--}}return function mL(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class X_{constructor(e,t,r,s,a,u,h,f,m,b,E){this.url=e,this.params=t,this.queryParams=r,this.fragment=s,this.data=a,this.outlet=u,this.component=h,this.routeConfig=f,this._urlSegment=m,this._lastPathIndex=b,this._resolve=E}get title(){return this.data?.[tf]}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._paramMap=Hu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class OI extends PI{constructor(e,t){super(t),this.url=e,g0(this,t)}toString(){return FI(this._root)}}function g0(n,e){e.value._routerState=n,e.children.forEach(t=>g0(n,t))}function FI(n){const e=n.children.length>0?` { ${n.children.map(FI).join(", ")} } `:"";return`${n.value}${e}`}function m0(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,hs(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),hs(e.params,t.params)||n.params.next(t.params),function MF(n,e){if(n.length!==e.length)return!1;for(let t=0;ths(t.parameters,e[r].parameters))}(n.url,e.url);return t&&!(!n.parent!=!e.parent)&&(!n.parent||v0(n.parent,e.parent))}function uf(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=e.value;const s=function _L(n,e,t){return e.children.map(r=>{for(const s of t.children)if(n.shouldReuseRoute(r.value,s.value.snapshot))return uf(n,r,s);return uf(n,r)})}(n,e,t);return new ho(r,s)}{if(n.shouldAttach(e.value)){const a=n.retrieve(e.value);if(null!==a){const u=a.route;return u.value._futureSnapshot=e.value,u.children=e.children.map(h=>uf(n,h)),u}}const r=function yL(n){return new Wu(new Rr(n.url),new Rr(n.params),new Rr(n.queryParams),new Rr(n.fragment),new Rr(n.data),n.outlet,n.component,n)}(e.value),s=e.children.map(a=>uf(n,a));return new ho(r,s)}}const _0="ngNavigationCancelingError";function LI(n,e){const{redirectTo:t,navigationBehaviorOptions:r}=Ul(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,s=BI(!1,0,e);return s.url=t,s.navigationBehaviorOptions=r,s}function BI(n,e,t){const r=new Error("NavigationCancelingError: "+(n||""));return r[_0]=!0,r.cancellationCode=e,t&&(r.url=t),r}function $I(n){return VI(n)&&Ul(n.url)}function VI(n){return n&&n[_0]}class bL{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new df,this.attachRef=null}}let df=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new bL,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const J_=!1;let ey=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=$e,this.activateEvents=new gt,this.deactivateEvents=new gt,this.attachEvents=new gt,this.detachEvents=new gt,this.parentContexts=Le(df),this.location=Le(ar),this.changeDetector=Le(ca),this.environmentInjector=Le(Cr)}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new j(4012,J_);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new j(4012,J_);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new j(4012,J_);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new j(4013,J_);this._activatedRoute=t;const s=this.location,u=t.snapshot.component,h=this.parentContexts.getOrCreateContext(this.name).children,f=new CL(t,h,s.injector);if(r&&function EL(n){return!!n.resolveComponentFactory}(r)){const m=r.resolveComponentFactory(u);this.activated=s.createComponent(m,s.length,f)}else this.activated=s.createComponent(u,{index:s.length,injector:f,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=pt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Fi]}),n})();class CL{constructor(e,t,r){this.route=e,this.childContexts=t,this.parent=r}get(e,t){return e===Wu?this.route:e===df?this.childContexts:this.parent.get(e,t)}}let y0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],standalone:!0,features:[d1],decls:1,vars:0,template:function(t,r){1&t&&ee(0,"router-outlet")},dependencies:[ey],encapsulation:2}),n})();function jI(n,e){return n.providers&&!n._injector&&(n._injector=o_(n.providers,e,`Route: ${n.path}`)),n._injector??e}function C0(n){const e=n.children&&n.children.map(C0),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==$e&&(t.component=y0),t}function ur(n){return n.outlet||$e}function UI(n,e){const t=n.filter(r=>ur(r)===e);return t.push(...n.filter(r=>ur(r)!==e)),t}function hf(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class IL{constructor(e,t,r,s){this.routeReuseStrategy=e,this.futureState=t,this.currState=r,this.forwardEvent=s}activate(e){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,e),m0(this.futureState.root),this.activateChildRoutes(t,r,e)}deactivateChildRoutes(e,t,r){const s=Gu(t);e.children.forEach(a=>{const u=a.value.outlet;this.deactivateRoutes(a,s[u],r),delete s[u]}),On(s,(a,u)=>{this.deactivateRouteAndItsChildren(a,r)})}deactivateRoutes(e,t,r){const s=e.value,a=t?t.value:null;if(s===a)if(s.component){const u=r.getContext(s.outlet);u&&this.deactivateChildRoutes(e,t,u.children)}else this.deactivateChildRoutes(e,t,r);else a&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const r=t.getContext(e.value.outlet),s=r&&e.value.component?r.children:t,a=Gu(e);for(const u of Object.keys(a))this.deactivateRouteAndItsChildren(a[u],s);if(r&&r.outlet){const u=r.outlet.detach(),h=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:u,route:e,contexts:h})}}deactivateRouteAndOutlet(e,t){const r=t.getContext(e.value.outlet),s=r&&e.value.component?r.children:t,a=Gu(e);for(const u of Object.keys(a))this.deactivateRouteAndItsChildren(a[u],s);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(e,t,r){const s=Gu(t);e.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],r),this.forwardEvent(new dL(a.value.snapshot))}),e.children.length&&this.forwardEvent(new cL(e.value.snapshot))}activateRoutes(e,t,r){const s=e.value,a=t?t.value:null;if(m0(s),s===a)if(s.component){const u=r.getOrCreateContext(s.outlet);this.activateChildRoutes(e,t,u.children)}else this.activateChildRoutes(e,t,r);else if(s.component){const u=r.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const h=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),u.children.onOutletReAttached(h.contexts),u.attachRef=h.componentRef,u.route=h.route.value,u.outlet&&u.outlet.attach(h.componentRef,h.route.value),m0(h.route.value),this.activateChildRoutes(e,null,u.children)}else{const h=hf(s.snapshot),f=h?.get(hl)??null;u.attachRef=null,u.route=s,u.resolver=f,u.injector=h,u.outlet&&u.outlet.activateWith(s,u.injector),this.activateChildRoutes(e,null,u.children)}}else this.activateChildRoutes(e,null,r)}}class HI{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class ty{constructor(e,t){this.component=e,this.route=t}}function AL(n,e,t){const r=n._root;return pf(r,e?e._root:null,t,[r.value])}function Ku(n,e){const t=Symbol(),r=e.get(n,t);return r===t?"function"!=typeof n||function pg(n){return null!==dc(n)}(n)?e.get(n):n:r}function pf(n,e,t,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Gu(e);return n.children.forEach(u=>{(function ML(n,e,t,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,u=e?e.value:null,h=t?t.getContext(n.value.outlet):null;if(u&&a.routeConfig===u.routeConfig){const f=function PL(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!jl(n.url,e.url);case"pathParamsOrQueryParamsChange":return!jl(n.url,e.url)||!hs(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!v0(n,e)||!hs(n.queryParams,e.queryParams);default:return!v0(n,e)}}(u,a,a.routeConfig.runGuardsAndResolvers);f?s.canActivateChecks.push(new HI(r)):(a.data=u.data,a._resolvedData=u._resolvedData),pf(n,e,a.component?h?h.children:null:t,r,s),f&&h&&h.outlet&&h.outlet.isActivated&&s.canDeactivateChecks.push(new ty(h.outlet.component,u))}else u&&ff(e,h,s),s.canActivateChecks.push(new HI(r)),pf(n,null,a.component?h?h.children:null:t,r,s)})(u,a[u.value.outlet],t,r.concat([u.value]),s),delete a[u.value.outlet]}),On(a,(u,h)=>ff(u,t.getContext(h),s)),s}function ff(n,e,t){const r=Gu(n),s=n.value;On(r,(a,u)=>{ff(a,s.component?e?e.children.getContext(u):null:e,t)}),t.canDeactivateChecks.push(new ty(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function gf(n){return"function"==typeof n}function E0(n){return n instanceof U_||"EmptyError"===n?.name}const ny=Symbol("INITIAL_VALUE");function Qu(){return Nr(n=>sI(n.map(e=>e.pipe(Bl(1),L_(ny)))).pipe(Ae(e=>{for(const t of e)if(!0!==t){if(t===ny)return ny;if(!1===t||t instanceof Vl)return t}return!0}),ds(e=>e!==ny),Bl(1)))}function zI(n){return function Ay(...n){return Jf(n)}(kn(e=>{if(Ul(e))throw LI(0,e)}),Ae(e=>!0===e))}const w0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qI(n,e,t,r,s){const a=S0(n,e,t);return a.matched?function KL(n,e,t,r){const s=e.canMatch;return s&&0!==s.length?ve(s.map(u=>{const h=Ku(u,n);return ga(function LL(n){return n&&gf(n.canMatch)}(h)?h.canMatch(e,t):n.runInContext(()=>h(e,t)))})).pipe(Qu(),zI()):ve(!0)}(r=jI(e,r),e,t).pipe(Ae(u=>!0===u?a:{...w0})):ve(a)}function S0(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...w0}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const s=(e.matcher||xF)(t,n,e);if(!s)return{...w0};const a={};On(s.posParams,(h,f)=>{a[f]=h.path});const u=s.consumed.length>0?{...a,...s.consumed[s.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:s.consumed,remainingSegments:t.slice(s.consumed.length),parameters:u,positionalParamSegments:s.posParams??{}}}function iy(n,e,t,r){if(t.length>0&&function ZL(n,e,t){return t.some(r=>ry(n,e,r)&&ur(r)!==$e)}(n,t,r)){const a=new Ve(e,function YL(n,e,t,r){const s={};s[$e]=r,r._sourceSegment=n,r._segmentIndexShift=e.length;for(const a of t)if(""===a.path&&ur(a)!==$e){const u=new Ve([],{});u._sourceSegment=n,u._segmentIndexShift=e.length,s[ur(a)]=u}return s}(n,e,r,new Ve(t,n.children)));return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===t.length&&function XL(n,e,t){return t.some(r=>ry(n,e,r))}(n,t,r)){const a=new Ve(n.segments,function QL(n,e,t,r,s){const a={};for(const u of r)if(ry(n,t,u)&&!s[ur(u)]){const h=new Ve([],{});h._sourceSegment=n,h._segmentIndexShift=e.length,a[ur(u)]=h}return{...s,...a}}(n,e,t,r,n.children));return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:t}}const s=new Ve(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:t}}function ry(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function GI(n,e,t,r){return!!(ur(n)===r||r!==$e&&ry(e,t,n))&&("**"===n.path||S0(e,n,t).matched)}function WI(n,e,t){return 0===e.length&&!n.children[t]}const sy=!1;class oy{constructor(e){this.segmentGroup=e||null}}class KI{constructor(e){this.urlTree=e}}function mf(n){return ef(new oy(n))}function QI(n){return ef(new KI(n))}class n3{constructor(e,t,r,s,a){this.injector=e,this.configLoader=t,this.urlSerializer=r,this.urlTree=s,this.config=a,this.allowRedirects=!0}apply(){const e=iy(this.urlTree.root,[],[],this.config).segmentGroup,t=new Ve(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,$e).pipe(Ae(a=>this.createUrlTree(Y_(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe(fa(a=>{if(a instanceof KI)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof oy?this.noMatchError(a):a}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,$e).pipe(Ae(s=>this.createUrlTree(Y_(s),e.queryParams,e.fragment))).pipe(fa(s=>{throw s instanceof oy?this.noMatchError(s):s}))}noMatchError(e){return new j(4002,sy)}createUrlTree(e,t,r){const s=l0(e);return new Vl(s,t,r)}expandSegmentGroup(e,t,r,s){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,t,r).pipe(Ae(a=>new Ve([],a))):this.expandSegment(e,r,t,r.segments,s,!0)}expandChildren(e,t,r){const s=[];for(const a of Object.keys(r.children))"primary"===a?s.unshift(a):s.push(a);return Qt(s).pipe($l(a=>{const u=r.children[a],h=UI(t,a);return this.expandSegmentGroup(e,h,u,a).pipe(Ae(f=>({segment:f,outlet:a})))}),uI((a,u)=>(a[u.outlet]=u.segment,a),{}),dI())}expandSegment(e,t,r,s,a,u){return Qt(r).pipe($l(h=>this.expandSegmentAgainstRoute(e,t,r,h,s,a,u).pipe(fa(m=>{if(m instanceof oy)return ve(null);throw m}))),pa(h=>!!h),fa((h,f)=>{if(E0(h))return WI(t,s,a)?ve(new Ve([],{})):mf(t);throw h}))}expandSegmentAgainstRoute(e,t,r,s,a,u,h){return GI(s,t,a,u)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(e,t,s,a,u):h&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u):mf(t):mf(t)}expandSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,s,u):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,r,s){const a=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?QI(a):this.lineralizeSegments(r,a).pipe(U(u=>{const h=new Ve(u,{});return this.expandSegment(e,h,t,u,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u){const{matched:h,consumedSegments:f,remainingSegments:m,positionalParamSegments:b}=S0(t,s,a);if(!h)return mf(t);const E=this.applyRedirectCommands(f,s.redirectTo,b);return s.redirectTo.startsWith("/")?QI(E):this.lineralizeSegments(s,E).pipe(U(D=>this.expandSegment(e,t,r,D.concat(m),u,!1)))}matchSegmentAgainstRoute(e,t,r,s,a){return"**"===r.path?(e=jI(r,e),r.loadChildren?(r._loadedRoutes?ve({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(e,r)).pipe(Ae(h=>(r._loadedRoutes=h.routes,r._loadedInjector=h.injector,new Ve(s,{})))):ve(new Ve(s,{}))):qI(t,r,s,e).pipe(Nr(({matched:u,consumedSegments:h,remainingSegments:f})=>u?this.getChildConfig(e=r._injector??e,r,s).pipe(U(b=>{const E=b.injector??e,D=b.routes,{segmentGroup:I,slicedSegments:M}=iy(t,h,f,D),R=new Ve(I.segments,I.children);if(0===M.length&&R.hasChildren())return this.expandChildren(E,D,R).pipe(Ae(B=>new Ve(h,B)));if(0===D.length&&0===M.length)return ve(new Ve(h,{}));const F=ur(r)===a;return this.expandSegment(E,R,D,M,F?$e:a,!0).pipe(Ae(W=>new Ve(h.concat(W.segments),W.children)))})):mf(t)))}getChildConfig(e,t,r){return t.children?ve({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?ve({routes:t._loadedRoutes,injector:t._loadedInjector}):function WL(n,e,t,r){const s=e.canLoad;return void 0===s||0===s.length?ve(!0):ve(s.map(u=>{const h=Ku(u,n);return ga(function RL(n){return n&&gf(n.canLoad)}(h)?h.canLoad(e,t):n.runInContext(()=>h(e,t)))})).pipe(Qu(),zI())}(e,t,r).pipe(U(s=>s?this.configLoader.loadChildren(e,t).pipe(kn(a=>{t._loadedRoutes=a.routes,t._loadedInjector=a.injector})):function e3(n){return ef(BI(sy,3))}())):ve({routes:[],injector:e})}lineralizeSegments(e,t){let r=[],s=t.root;for(;;){if(r=r.concat(s.segments),0===s.numberOfChildren)return ve(r);if(s.numberOfChildren>1||!s.children[$e])return ef(new j(4e3,sy));s=s.children[$e]}}applyRedirectCommands(e,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,r)}applyRedirectCreateUrlTree(e,t,r,s){const a=this.createSegmentGroup(e,t.root,r,s);return new Vl(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const r={};return On(e,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const h=s.substring(1);r[a]=t[h]}else r[a]=s}),r}createSegmentGroup(e,t,r,s){const a=this.createSegments(e,t.segments,r,s);let u={};return On(t.children,(h,f)=>{u[f]=this.createSegmentGroup(e,h,r,s)}),new Ve(a,u)}createSegments(e,t,r,s){return t.map(a=>a.path.startsWith(":")?this.findPosParam(e,a,s):this.findOrReturn(a,r))}findPosParam(e,t,r){const s=r[t.path.substring(1)];if(!s)throw new j(4001,sy);return s}findOrReturn(e,t){let r=0;for(const s of t){if(s.path===e.path)return t.splice(r),s;r++}return e}}class r3{}class a3{constructor(e,t,r,s,a,u,h){this.injector=e,this.rootComponentType=t,this.config=r,this.urlTree=s,this.url=a,this.paramsInheritanceStrategy=u,this.urlSerializer=h}recognize(){const e=iy(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,$e).pipe(Ae(t=>{if(null===t)return null;const r=new X_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$e,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new ho(r,t),a=new OI(this.url,s);return this.inheritParamsAndData(a._root),a}))}inheritParamsAndData(e){const t=e.value,r=kI(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(e,t,r,s){return 0===r.segments.length&&r.hasChildren()?this.processChildren(e,t,r):this.processSegment(e,t,r,r.segments,s)}processChildren(e,t,r){return Qt(Object.keys(r.children)).pipe($l(s=>{const a=r.children[s],u=UI(t,s);return this.processSegmentGroup(e,u,a,s)}),uI((s,a)=>s&&a?(s.push(...a),s):null),function TF(n,e=!1){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>{const u=n(a,s++);(u||e)&&r.next(a),!u&&r.complete()}))})}(s=>null!==s),H_(null),dI(),Ae(s=>{if(null===s)return null;const a=ZI(s);return function l3(n){n.sort((e,t)=>e.value.outlet===$e?-1:t.value.outlet===$e?1:e.value.outlet.localeCompare(t.value.outlet))}(a),a}))}processSegment(e,t,r,s,a){return Qt(t).pipe($l(u=>this.processSegmentAgainstRoute(u._injector??e,u,r,s,a)),pa(u=>!!u),fa(u=>{if(E0(u))return WI(r,s,a)?ve([]):ve(null);throw u}))}processSegmentAgainstRoute(e,t,r,s,a){if(t.redirectTo||!GI(t,r,s,a))return ve(null);let u;if("**"===t.path){const h=s.length>0?fI(s).parameters:{},f=JI(r)+s.length;u=ve({snapshot:new X_(s,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eA(t),ur(t),t.component??t._loadedComponent??null,t,XI(r),f,tA(t)),consumedSegments:[],remainingSegments:[]})}else u=qI(r,t,s,e).pipe(Ae(({matched:h,consumedSegments:f,remainingSegments:m,parameters:b})=>{if(!h)return null;const E=JI(r)+f.length;return{snapshot:new X_(f,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eA(t),ur(t),t.component??t._loadedComponent??null,t,XI(r),E,tA(t)),consumedSegments:f,remainingSegments:m}}));return u.pipe(Nr(h=>{if(null===h)return ve(null);const{snapshot:f,consumedSegments:m,remainingSegments:b}=h;e=t._injector??e;const E=t._loadedInjector??e,D=function c3(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:I,slicedSegments:M}=iy(r,m,b,D.filter(F=>void 0===F.redirectTo));if(0===M.length&&I.hasChildren())return this.processChildren(E,D,I).pipe(Ae(F=>null===F?null:[new ho(f,F)]));if(0===D.length&&0===M.length)return ve([new ho(f,[])]);const R=ur(t)===a;return this.processSegment(E,D,I,M,R?$e:a).pipe(Ae(F=>null===F?null:[new ho(f,F)]))}))}}function u3(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function ZI(n){const e=[],t=new Set;for(const r of n){if(!u3(r)){e.push(r);continue}const s=e.find(a=>r.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...r.children),t.add(s)):e.push(r)}for(const r of t){const s=ZI(r.children);e.push(new ho(r.value,s))}return e.filter(r=>!t.has(r))}function XI(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function JI(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function eA(n){return n.data||{}}function tA(n){return n.resolve||{}}function nA(n){return"string"==typeof n.title||null===n.title}function D0(n){return Nr(e=>{const t=n(e);return t?Qt(t).pipe(Ae(()=>e)):ve(e)})}const Yu=new ne("ROUTES");let T0=(()=>{class n{constructor(t,r){this.injector=t,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ve(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=ga(t.loadComponent()).pipe(Ae(rA),kn(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),s0(()=>{this.componentLoaders.delete(t)})),s=new lI(r,()=>new Ue).pipe(n0());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const a=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Ae(h=>{this.onLoadEndListener&&this.onLoadEndListener(r);let f,m,b=!1;Array.isArray(h)?m=h:(f=h.create(t).injector,m=pI(f.get(Yu,[],_e.Self|_e.Optional)));return{routes:m.map(C0),injector:f}}),s0(()=>{this.childrenLoaders.delete(r)})),u=new lI(a,()=>new Ue).pipe(n0());return this.childrenLoaders.set(r,u),u}loadModuleFactoryOrRoutes(t){return ga(t()).pipe(Ae(rA),U(s=>s instanceof c1||Array.isArray(s)?ve(s):Qt(this.compiler.compileModuleAsync(s))))}}return n.\u0275fac=function(t){return new(t||n)(Y($i),Y(eT))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rA(n){return function y3(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let I0=(()=>{class n{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ue,this.configLoader=Le(T0),this.environmentInjector=Le(Cr),this.urlSerializer=Le(rf),this.rootContexts=Le(df),this.navigationId=0,this.configLoader.onLoadEndListener=s=>this.events.next(new aL(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new oL(s))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new Rr({id:0,targetPageId:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ds(r=>0!==r.id),Ae(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),Nr(r=>{let s=!1,a=!1;return ve(r).pipe(kn(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Nr(u=>{const h=t.browserUrlTree.toString(),f=!t.navigated||u.extractedUrl.toString()!==h||h!==t.currentUrlTree.toString();if(("reload"===t.onSameUrlNavigation||f)&&t.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return oA(u.source)&&(t.browserUrlTree=u.extractedUrl),ve(u).pipe(Nr(b=>{const E=this.transitions?.getValue();return this.events.next(new h0(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),E!==this.transitions?.getValue()?Wi:Promise.resolve(b)}),function i3(n,e,t,r){return Nr(s=>function t3(n,e,t,r,s){return new n3(n,e,t,r,s).apply()}(n,e,t,s.extractedUrl,r).pipe(Ae(a=>({...s,urlAfterRedirects:a}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,t.config),kn(b=>{this.currentNavigation={...this.currentNavigation,finalUrl:b.urlAfterRedirects},r.urlAfterRedirects=b.urlAfterRedirects}),function h3(n,e,t,r,s){return U(a=>function o3(n,e,t,r,s,a,u="emptyOnly"){return new a3(n,e,t,r,s,u,a).recognize().pipe(Nr(h=>null===h?function s3(n){return new Ct(e=>e.error(n))}(new r3):ve(h)))}(n,e,t,a.urlAfterRedirects,r.serialize(a.urlAfterRedirects),r,s).pipe(Ae(u=>({...a,targetSnapshot:u}))))}(this.environmentInjector,t.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),kn(b=>{if(r.targetSnapshot=b.targetSnapshot,"eager"===t.urlUpdateStrategy){if(!b.extras.skipLocationChange){const D=t.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl);t.setBrowserUrl(D,b)}t.browserUrlTree=b.urlAfterRedirects}const E=new tL(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects),b.targetSnapshot);this.events.next(E)}));if(f&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:E,extractedUrl:D,source:I,restoredState:M,extras:R}=u,F=new h0(E,this.urlSerializer.serialize(D),I,M);this.events.next(F);const V=RI(D,t.rootComponentType).snapshot;return ve(r={...u,targetSnapshot:V,urlAfterRedirects:D,extras:{...R,skipLocationChange:!1,replaceUrl:!1}})}return t.rawUrlTree=u.rawUrl,u.resolve(null),Wi}),kn(u=>{const h=new nL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}),Ae(u=>r={...u,guards:AL(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),function $L(n,e){return U(t=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:u}}=t;return 0===u.length&&0===a.length?ve({...t,guardsResult:!0}):function VL(n,e,t,r){return Qt(n).pipe(U(s=>function GL(n,e,t,r,s){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?ve(a.map(h=>{const f=hf(e)??s,m=Ku(h,f);return ga(function FL(n){return n&&gf(n.canDeactivate)}(m)?m.canDeactivate(n,e,t,r):f.runInContext(()=>m(n,e,t,r))).pipe(pa())})).pipe(Qu()):ve(!0)}(s.component,s.route,t,e,r)),pa(s=>!0!==s,!0))}(u,r,s,n).pipe(U(h=>h&&function NL(n){return"boolean"==typeof n}(h)?function jL(n,e,t,r){return Qt(e).pipe($l(s=>Gw(function HL(n,e){return null!==n&&e&&e(new lL(n)),ve(!0)}(s.route.parent,r),function UL(n,e){return null!==n&&e&&e(new uL(n)),ve(!0)}(s.route,r),function qL(n,e,t){const r=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(u=>function xL(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(u)).filter(u=>null!==u).map(u=>aI(()=>ve(u.guards.map(f=>{const m=hf(u.node)??t,b=Ku(f,m);return ga(function OL(n){return n&&gf(n.canActivateChild)}(b)?b.canActivateChild(r,n):m.runInContext(()=>b(r,n))).pipe(pa())})).pipe(Qu())));return ve(a).pipe(Qu())}(n,s.path,t),function zL(n,e,t){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return ve(!0);const s=r.map(a=>aI(()=>{const u=hf(e)??t,h=Ku(a,u);return ga(function kL(n){return n&&gf(n.canActivate)}(h)?h.canActivate(e,n):u.runInContext(()=>h(e,n))).pipe(pa())}));return ve(s).pipe(Qu())}(n,s.route,t))),pa(s=>!0!==s,!0))}(r,a,n,e):ve(h)),Ae(h=>({...t,guardsResult:h})))})}(this.environmentInjector,u=>this.events.next(u)),kn(u=>{if(r.guardsResult=u.guardsResult,Ul(u.guardsResult))throw LI(0,u.guardsResult);const h=new iL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(h)}),ds(u=>!!u.guardsResult||(t.restoreHistory(u),this.cancelNavigationTransition(u,"",3,t),!1)),D0(u=>{if(u.guards.canActivateChecks.length)return ve(u).pipe(kn(h=>{const f=new rL(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}),Nr(h=>{let f=!1;return ve(h).pipe(function p3(n,e){return U(t=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=t;if(!s.length)return ve(t);let a=0;return Qt(s).pipe($l(u=>function f3(n,e,t,r){const s=n.routeConfig,a=n._resolve;return void 0!==s?.title&&!nA(s)&&(a[tf]=s.title),function g3(n,e,t,r){const s=function m3(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===s.length)return ve({});const a={};return Qt(s).pipe(U(u=>function v3(n,e,t,r){const s=hf(e)??r,a=Ku(n,s);return ga(a.resolve?a.resolve(e,t):s.runInContext(()=>a(e,t)))}(n[u],e,t,r).pipe(pa(),kn(h=>{a[u]=h}))),r0(1),function IF(n){return Ae(()=>n)}(a),fa(u=>E0(u)?Wi:ef(u)))}(a,n,e,r).pipe(Ae(u=>(n._resolvedData=u,n.data=kI(n,t).resolve,s&&nA(s)&&(n.data[tf]=s.title),null)))}(u.route,r,n,e)),kn(()=>a++),r0(1),U(u=>a===s.length?ve(t):Wi))})}(t.paramsInheritanceStrategy,this.environmentInjector),kn({next:()=>f=!0,complete:()=>{f||(t.restoreHistory(h),this.cancelNavigationTransition(h,"",2,t))}}))}),kn(h=>{const f=new sL(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}))}),D0(u=>{const h=f=>{const m=[];f.routeConfig?.loadComponent&&!f.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(f.routeConfig).pipe(kn(b=>{f.component=b}),Ae(()=>{})));for(const b of f.children)m.push(...h(b));return m};return sI(h(u.targetSnapshot.root)).pipe(H_(),Bl(1))}),D0(()=>t.afterPreactivation()),Ae(u=>{const h=function vL(n,e,t){const r=uf(n,e._root,t?t._root:void 0);return new NI(r,e)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return r={...u,targetRouterState:h}}),kn(u=>{t.currentUrlTree=u.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl),t.routerState=u.targetRouterState,"deferred"===t.urlUpdateStrategy&&(u.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,u),t.browserUrlTree=u.urlAfterRedirects)}),((n,e,t)=>Ae(r=>(new IL(e,r.targetRouterState,r.currentRouterState,t).activate(n),r)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u)),kn({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new ma(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),s0(()=>{s||a||this.cancelNavigationTransition(r,"",1,t),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),fa(u=>{if(a=!0,VI(u)){$I(u)||(t.navigated=!0,t.restoreHistory(r,!0));const h=new Z_(r.id,this.urlSerializer.serialize(r.extractedUrl),u.message,u.cancellationCode);if(this.events.next(h),$I(u)){const f=t.urlHandlingStrategy.merge(u.url,t.rawUrlTree),m={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||oA(r.source)};t.scheduleNavigation(f,"imperative",null,m,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const h=new xI(r.id,this.urlSerializer.serialize(r.extractedUrl),u,r.targetSnapshot??void 0);this.events.next(h);try{r.resolve(t.errorHandler(u))}catch(f){r.reject(f)}}return Wi}))}))}cancelNavigationTransition(t,r,s,a){const u=new Z_(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(u),t.resolve(!1)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oA(n){return"imperative"!==n}let aA=(()=>{class n{buildTitle(t){let r,s=t.root;for(;void 0!==s;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(a=>a.outlet===$e);return r}getResolvedTitleForRoute(t){return t.data[tf]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(b3)},providedIn:"root"}),n})(),b3=(()=>{class n extends aA{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return n.\u0275fac=function(t){return new(t||n)(Y(_2))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),C3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(w3)},providedIn:"root"}),n})();class E3{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}let w3=(()=>{class n extends E3{}return n.\u0275fac=function(){let e;return function(r){return(e||(e=function Ug(n){return fr(()=>{const e=n.prototype.constructor,t=e[Ln]||$c(e),r=Object.prototype;let s=Object.getPrototypeOf(n.prototype).constructor;for(;s&&s!==r;){const a=s[Ln]||$c(s);if(a&&a!==t)return a;s=Object.getPrototypeOf(s)}return a=>new a})}(n)))(r||n)}}(),n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ay=new ne("",{providedIn:"root",factory:()=>({})});let D3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(T3)},providedIn:"root"}),n})(),T3=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function I3(n){throw n}function A3(n,e,t){return e.parse("/")}const x3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},M3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class n{constructor(){this.disposed=!1,this.currentPageId=0,this.console=Le(jP),this.isNgZoneEnabled=!1,this.options=Le(ay,{optional:!0})||{},this.errorHandler=this.options.errorHandler||I3,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||A3,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ve(void 0),this.urlHandlingStrategy=Le(D3),this.routeReuseStrategy=Le(C3),this.urlCreationStrategy=Le(fL),this.titleStrategy=Le(aA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=pI(Le(Yu,{optional:!0})??[]),this.navigationTransitions=Le(I0),this.urlSerializer=Le(rf),this.location=Le($p),this.rootComponentType=null,this.isNgZoneEnabled=Le(bt)instanceof bt&&bt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Vl,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=RI(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const s={replaceUrl:!0},a=t.state?.navigationId?t.state:null;if(t.state){const h={...t.state};delete h.navigationId,delete h.\u0275routerPageId,0!==Object.keys(h).length&&(s.state=h)}const u=this.parseUrl(t.url);this.scheduleNavigation(u,r,a,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(t){this.config=t.map(C0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:s,queryParams:a,fragment:u,queryParamsHandling:h,preserveFragment:f}=r,m=f?this.currentUrlTree.fragment:u;let b=null;switch(h){case"merge":b={...this.currentUrlTree.queryParams,...a};break;case"preserve":b=this.currentUrlTree.queryParams;break;default:b=a||null}return null!==b&&(b=this.removeEmptyProps(b)),this.urlCreationStrategy.createUrlTree(s,this.routerState,this.currentUrlTree,t,b,m??null)}navigateByUrl(t,r={skipLocationChange:!1}){const s=Ul(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,r)}navigate(t,r={skipLocationChange:!1}){return function P3(n){for(let e=0;e{const a=t[s];return null!=a&&(r[s]=a),r},{})}scheduleNavigation(t,r,s,a,u){if(this.disposed)return Promise.resolve(!1);let h,f,m,b;return u?(h=u.resolve,f=u.reject,m=u.promise):m=new Promise((E,D)=>{h=E,f=D}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),b=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):b=0,this.navigationTransitions.handleNavigationRequest({targetPageId:b,source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:h,reject:f,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(E=>Promise.reject(E))}setBrowserUrl(t,r){const s=this.urlSerializer.serialize(t),a={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===s?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ps=(()=>{class n{constructor(t,r,s,a,u,h){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=a,this.el=u,this.locationStrategy=h,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ue;const f=u.nativeElement.tagName;this.isAnchorElement="A"===f||"AREA"===f,this.isAnchorElement?this.subscription=t.events.subscribe(m=>{m instanceof ma&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(t){this._preserveFragment=pw(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=pw(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=pw(t)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,s,a,u){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||s||a||u||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function Hm(n,e,t){return function nC(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?Um:uu}(e,t)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const s=this.renderer,a=this.el.nativeElement;null!==r?s.setAttribute(a,t,r):s.removeAttribute(a,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(t){return new(t||n)(G(Pi),G(Wu),function jc(n){return function ub(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const r=t.length;let s=0;for(;s{class n{constructor(t,r,s,a,u){this.router=t,this.element=r,this.renderer=s,this.cdr=a,this.link=u,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new gt,this.routerEventsSubscription=t.events.subscribe(h=>{h instanceof ma&&this.update()})}ngAfterContentInit(){ve(this.links.changes,ve(null)).pipe(Es()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Qt(t).pipe(Es()).subscribe(r=>{this.isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function N3(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>!!s.urlTree&&t.isActive(s.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return n.\u0275fac=function(t){return new(t||n)(G(Pi),G(st),G(Qo),G(ca),G(ps,8))},n.\u0275dir=pt({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,s){if(1&t&&Rl(s,ps,5),2&t){let a;ci(a=ui())&&(r.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Fi]}),n})();class cA{}let R3=(()=>{class n{constructor(t,r,s,a,u){this.router=t,this.injector=s,this.preloadingStrategy=a,this.loader=u}setUpPreloading(){this.subscription=this.router.events.pipe(ds(t=>t instanceof ma),$l(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const s=[];for(const a of r){a.providers&&!a._injector&&(a._injector=o_(a.providers,t,`Route: ${a.path}`));const u=a._injector??t,h=a._loadedInjector??u;a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent?s.push(this.preloadConfig(u,a)):(a.children||a._loadedRoutes)&&s.push(this.processRoutes(h,a.children??a._loadedRoutes))}return Qt(s).pipe(Es())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;s=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ve(null);const a=s.pipe(U(u=>null===u?ve(void 0):(r._loadedRoutes=u.routes,r._loadedInjector=u.injector,this.processRoutes(u.injector??t,u.routes))));return r.loadComponent&&!r._loadedComponent?Qt([a,this.loader.loadComponent(r)]).pipe(Es()):a})}}return n.\u0275fac=function(t){return new(t||n)(Y(Pi),Y(eT),Y(Cr),Y(cA),Y(T0))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const x0=new ne("");let uA=(()=>{class n{constructor(t,r,s,a,u={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=a,this.options=u,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},u.scrollPositionRestoration=u.scrollPositionRestoration||"disabled",u.anchorScrolling=u.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof h0?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ma&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof MI&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new MI(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(t){!function cp(){throw new Error("invalid")}()},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();function Xu(n,e){return{\u0275kind:n,\u0275providers:e}}function hA(){const n=Le($i);return e=>{const t=n.get(Lp);if(e!==t.components[0])return;const r=n.get(Pi),s=n.get(pA);1===n.get(P0)&&r.initialNavigation(),n.get(fA,null,_e.Optional)?.setUpPreloading(),n.get(x0,null,_e.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),s.closed||(s.next(),s.unsubscribe())}}const pA=new ne("",{factory:()=>new Ue}),P0=new ne("",{providedIn:"root",factory:()=>1});const fA=new ne("");function B3(n){return Xu(0,[{provide:fA,useExisting:R3},{provide:cA,useExisting:n}])}const gA=new ne("ROUTER_FORROOT_GUARD"),$3=[$p,{provide:rf,useClass:o0},Pi,df,{provide:Wu,useFactory:function dA(n){return n.routerState.root},deps:[Pi]},T0,[]];function V3(){return new aT("Router",Pi)}let N0=(()=>{class n{constructor(t){}static forRoot(t,r){return{ngModule:n,providers:[$3,[],{provide:Yu,multi:!0,useValue:t},{provide:gA,useFactory:z3,deps:[[Pi,new Qa,new Ya]]},{provide:ay,useValue:r||{}},r?.useHash?{provide:Ol,useClass:AN}:{provide:Ol,useClass:MT},{provide:x0,useFactory:()=>{const n=Le(QR),e=Le(bt),t=Le(ay),r=Le(I0),s=Le(rf);return t.scrollOffset&&n.setOffset(t.scrollOffset),new uA(s,r,n,e,t)}},r?.preloadingStrategy?B3(r.preloadingStrategy).\u0275providers:[],{provide:aT,multi:!0,useFactory:V3},r?.initialNavigation?q3(r):[],[{provide:mA,useFactory:hA},{provide:X1,multi:!0,useExisting:mA}]]}}static forChild(t){return{ngModule:n,providers:[{provide:Yu,multi:!0,useValue:t}]}}}return n.\u0275fac=function(t){return new(t||n)(Y(gA,8))},n.\u0275mod=ki({type:n}),n.\u0275inj=at({imports:[y0]}),n})();function z3(n){return"guarded"}function q3(n){return["disabled"===n.initialNavigation?Xu(3,[{provide:u_,multi:!0,useFactory:()=>{const e=Le(Pi);return()=>{e.setUpLocationChangeListener()}}},{provide:P0,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Xu(2,[{provide:P0,useValue:0},{provide:u_,multi:!0,deps:[$i],useFactory:e=>{const t=e.get(TN,Promise.resolve());return()=>t.then(()=>new Promise(s=>{const a=e.get(Pi),u=e.get(pA);(function r(s){e.get(Pi).events.pipe(ds(u=>u instanceof ma||u instanceof Z_||u instanceof xI),Ae(u=>u instanceof ma||u instanceof Z_&&(0===u.code||1===u.code)&&null),ds(u=>null!==u),Bl(1)).subscribe(()=>{s()})})(()=>{s(!0)}),a.afterPreactivation=()=>(s(!0),u.closed?ve(void 0):u),a.initialNavigation()}))}}]).\u0275providers:[]]}const mA=new ne("");class vA{}class W3{}const fs="*";function _A(n,e=null){return{type:2,steps:n,options:e}}function ly(n){return{type:6,styles:n,offset:null}}function yA(n,e,t){return{type:0,name:n,styles:e,options:t}}function bA(n){Promise.resolve().then(n)}class _f{constructor(e=0,t=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+t}_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(){bA(()=>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){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class CA{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 t=0,r=0,s=0;const a=this.players.length;0==a?bA(()=>this._onFinish()):this.players.forEach(u=>{u.onDone(()=>{++t==a&&this._onFinish()}),u.onDestroy(()=>{++r==a&&this._onDestroy()}),u.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((u,h)=>Math.max(u,h.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){const t=e*this.totalTime;this.players.forEach(r=>{const s=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(s)})}getPosition(){const e=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}function EA(n){return new j(3e3,!1)}function PB(){return typeof window<"u"&&typeof window.document<"u"}function k0(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function va(n){switch(n.length){case 0:return new _f;case 1:return n[0];default:return new CA(n)}}function wA(n,e,t,r,s=new Map,a=new Map){const u=[],h=[];let f=-1,m=null;if(r.forEach(b=>{const E=b.get("offset"),D=E==f,I=D&&m||new Map;b.forEach((M,R)=>{let F=R,V=M;if("offset"!==R)switch(F=e.normalizePropertyName(F,u),V){case"!":V=s.get(R);break;case fs:V=a.get(R);break;default:V=e.normalizeStyleValue(R,F,V,u)}I.set(F,V)}),D||h.push(I),m=I,f=E}),u.length)throw function yB(n){return new j(3502,!1)}();return h}function O0(n,e,t,r){switch(e){case"start":n.onStart(()=>r(t&&F0(t,"start",n)));break;case"done":n.onDone(()=>r(t&&F0(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&F0(t,"destroy",n)))}}function F0(n,e,t){const a=L0(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),u=n._data;return null!=u&&(a._data=u),a}function L0(n,e,t,r,s="",a=0,u){return{element:n,triggerName:e,fromState:t,toState:r,phaseName:s,totalTime:a,disabled:!!u}}function Ui(n,e,t){let r=n.get(e);return r||n.set(e,r=t),r}function SA(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let B0=(n,e)=>!1,DA=(n,e,t)=>[],TA=null;function $0(n){const e=n.parentNode||n.host;return e===TA?null:e}(k0()||typeof Element<"u")&&(PB()?(TA=(()=>document.documentElement)(),B0=(n,e)=>{for(;e;){if(e===n)return!0;e=$0(e)}return!1}):B0=(n,e)=>n.contains(e),DA=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const r=n.querySelector(e);return r?[r]:[]});let Hl=null,IA=!1;const AA=B0,xA=DA;let MA=(()=>{class n{validateStyleProperty(t){return function RB(n){Hl||(Hl=function kB(){return typeof document<"u"?document.body:null}()||{},IA=!!Hl.style&&"WebkitAppearance"in Hl.style);let e=!0;return Hl.style&&!function NB(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Hl.style,!e&&IA&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Hl.style)),e}(t)}matchesElement(t,r){return!1}containsElement(t,r){return AA(t,r)}getParentElement(t){return $0(t)}query(t,r,s){return xA(t,r,s)}computeStyle(t,r,s){return s||""}animate(t,r,s,a,u,h=[],f){return new _f(s,a)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),V0=(()=>{class n{}return n.NOOP=new MA,n})();const j0="ng-enter",cy="ng-leave",uy="ng-trigger",dy=".ng-trigger",NA="ng-animating",U0=".ng-animating";function po(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:H0(parseFloat(e[1]),e[2])}function H0(n,e){return"s"===e?1e3*n:n}function hy(n,e,t){return n.hasOwnProperty("duration")?n:function LB(n,e,t){let s,a=0,u="";if("string"==typeof n){const h=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===h)return e.push(EA()),{duration:0,delay:0,easing:""};s=H0(parseFloat(h[1]),h[2]);const f=h[3];null!=f&&(a=H0(parseFloat(f),h[4]));const m=h[5];m&&(u=m)}else s=n;if(!t){let h=!1,f=e.length;s<0&&(e.push(function Z3(){return new j(3100,!1)}()),h=!0),a<0&&(e.push(function X3(){return new j(3101,!1)}()),h=!0),h&&e.splice(f,0,EA())}return{duration:s,delay:a,easing:u}}(n,e,t)}function yf(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function RA(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function _a(n,e=new Map,t){if(t)for(let[r,s]of t)e.set(r,s);for(let[r,s]of n)e.set(r,s);return e}function OA(n,e,t){return t?e+":"+t+";":""}function FA(n){let e="";for(let t=0;t{const a=q0(s);t&&!t.has(s)&&t.set(s,n.style[a]),n.style[a]=r}),k0()&&FA(n))}function zl(n,e){n.style&&(e.forEach((t,r)=>{const s=q0(r);n.style[s]=""}),k0()&&FA(n))}function bf(n){return Array.isArray(n)?1==n.length?n[0]:_A(n):n}const z0=new RegExp("{{\\s*(.+?)\\s*}}","g");function LA(n){let e=[];if("string"==typeof n){let t;for(;t=z0.exec(n);)e.push(t[1]);z0.lastIndex=0}return e}function Cf(n,e,t){const r=n.toString(),s=r.replace(z0,(a,u)=>{let h=e[u];return null==h&&(t.push(function eB(n){return new j(3003,!1)}()),h=""),h.toString()});return s==r?n:s}function py(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const VB=/-+([a-z0-9])/g;function q0(n){return n.replace(VB,(...e)=>e[1].toUpperCase())}function jB(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Hi(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function tB(n){return new j(3004,!1)}()}}function BA(n,e){return window.getComputedStyle(n)[e]}function WB(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function KB(n,e,t){if(":"==n[0]){const f=function QB(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}(n,t);if("function"==typeof f)return void e.push(f);n=f}const r=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function fB(n){return new j(3015,!1)}()),e;const s=r[1],a=r[2],u=r[3];e.push($A(s,u));"<"==a[0]&&!("*"==s&&"*"==u)&&e.push($A(u,s))}(r,t,e)):t.push(n),t}const vy=new Set(["true","1"]),_y=new Set(["false","0"]);function $A(n,e){const t=vy.has(n)||_y.has(n),r=vy.has(e)||_y.has(e);return(s,a)=>{let u="*"==n||n==s,h="*"==e||e==a;return!u&&t&&"boolean"==typeof s&&(u=s?vy.has(n):_y.has(n)),!h&&r&&"boolean"==typeof a&&(h=a?vy.has(e):_y.has(e)),u&&h}}const YB=new RegExp("s*:selfs*,?","g");function G0(n,e,t,r){return new ZB(n).build(e,t,r)}class ZB{constructor(e){this._driver=e}build(e,t,r){const s=new e8(t);return this._resetContextStyleTimingState(s),Hi(this,bf(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,s=t.depCount=0;const a=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function iB(){return new j(3006,!1)}()),e.definitions.forEach(h=>{if(this._resetContextStyleTimingState(t),0==h.type){const f=h,m=f.name;m.toString().split(/\s*,\s*/).forEach(b=>{f.name=b,a.push(this.visitState(f,t))}),f.name=m}else if(1==h.type){const f=this.visitTransition(h,t);r+=f.queryCount,s+=f.depCount,u.push(f)}else t.errors.push(function rB(){return new j(3007,!1)}())}),{type:7,name:e.name,states:a,transitions:u,queryCount:r,depCount:s,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(r.containsDynamicStyles){const a=new Set,u=s||{};r.styles.forEach(h=>{h instanceof Map&&h.forEach(f=>{LA(f).forEach(m=>{u.hasOwnProperty(m)||a.add(m)})})}),a.size&&(py(a.values()),t.errors.push(function sB(n,e){return new j(3008,!1)}()))}return{type:0,name:e.name,style:r,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=Hi(this,bf(e.animation),t);return{type:1,matchers:WB(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ql(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>Hi(this,r,t)),options:ql(e.options)}}visitGroup(e,t){const r=t.currentTime;let s=0;const a=e.steps.map(u=>{t.currentTime=r;const h=Hi(this,u,t);return s=Math.max(s,t.currentTime),h});return t.currentTime=s,{type:3,steps:a,options:ql(e.options)}}visitAnimate(e,t){const r=function n8(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return W0(hy(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=W0(0,0,"");return a.dynamic=!0,a.strValue=t,a}const s=hy(t,e);return W0(s.duration,s.delay,s.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let s,a=e.styles?e.styles:ly({});if(5==a.type)s=this.visitKeyframes(a,t);else{let u=e.styles,h=!1;if(!u){h=!0;const m={};r.easing&&(m.easing=r.easing),u=ly(m)}t.currentTime+=r.duration+r.delay;const f=this.visitStyle(u,t);f.isEmptyStep=h,s=f}return t.currentAnimateTimings=null,{type:4,timings:r,style:s,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let h of s)"string"==typeof h?h===fs?r.push(h):t.errors.push(new j(3002,!1)):r.push(RA(h));let a=!1,u=null;return r.forEach(h=>{if(h instanceof Map&&(h.has("easing")&&(u=h.get("easing"),h.delete("easing")),!a))for(let f of h.values())if(f.toString().indexOf("{{")>=0){a=!0;break}}),{type:6,styles:r,easing:u,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let s=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(u=>{"string"!=typeof u&&u.forEach((h,f)=>{const m=t.collectedStyles.get(t.currentQuerySelector),b=m.get(f);let E=!0;b&&(a!=s&&a>=b.startTime&&s<=b.endTime&&(t.errors.push(function aB(n,e,t,r,s){return new j(3010,!1)}()),E=!1),a=b.startTime),E&&m.set(f,{startTime:a,endTime:s}),t.options&&function $B(n,e,t){const r=e.params||{},s=LA(n);s.length&&s.forEach(a=>{r.hasOwnProperty(a)||t.push(function J3(n){return new j(3001,!1)}())})}(h,t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function lB(){return new j(3011,!1)}()),r;let a=0;const u=[];let h=!1,f=!1,m=0;const b=e.steps.map(V=>{const W=this._makeStyleAst(V,t);let B=null!=W.offset?W.offset:function t8(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(W.styles),re=0;return null!=B&&(a++,re=W.offset=B),f=f||re<0||re>1,h=h||re0&&a{const B=D>0?W==I?1:D*W:u[W],re=B*F;t.currentTime=M+R.delay+re,R.duration=re,this._validateStyleAst(V,t),V.offset=B,r.styles.push(V)}),r}visitReference(e,t){return{type:8,animation:Hi(this,bf(e.animation),t),options:ql(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ql(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ql(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;const[a,u]=function XB(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(YB,"")),n=n.replace(/@\*/g,dy).replace(/@\w+/g,t=>dy+"-"+t.slice(1)).replace(/:animating/g,U0),[n,e]}(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,Ui(t.collectedStyles,t.currentQuerySelector,new Map);const h=Hi(this,bf(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:u,animation:h,originalSelector:e.selector,options:ql(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function hB(){return new j(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:hy(e.timings,t.errors,!0);return{type:12,animation:Hi(this,bf(e.animation),t),timings:r,options:null}}}class e8{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ql(n){return n?(n=yf(n)).params&&(n.params=function JB(n){return n?yf(n):null}(n.params)):n={},n}function W0(n,e,t){return{duration:n,delay:e,easing:t}}function K0(n,e,t,r,s,a,u=null,h=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:r,duration:s,delay:a,totalTime:s+a,easing:u,subTimeline:h}}class yy{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const s8=new RegExp(":enter","g"),a8=new RegExp(":leave","g");function Q0(n,e,t,r,s,a=new Map,u=new Map,h,f,m=[]){return(new l8).buildKeyframes(n,e,t,r,s,a,u,h,f,m)}class l8{buildKeyframes(e,t,r,s,a,u,h,f,m,b=[]){m=m||new yy;const E=new Y0(e,t,m,s,a,b,[]);E.options=f;const D=f.delay?po(f.delay):0;E.currentTimeline.delayNextStep(D),E.currentTimeline.setStyles([u],null,E.errors,f),Hi(this,r,E);const I=E.timelines.filter(M=>M.containsAnimation());if(I.length&&h.size){let M;for(let R=I.length-1;R>=0;R--){const F=I[R];if(F.element===t){M=F;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([h],null,E.errors,f)}return I.length?I.map(M=>M.buildKeyframes()):[K0(t,[],[],[],0,D,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.get(t.element);if(r){const s=t.createSubContext(e.options),a=t.currentTimeline.currentTime,u=this._visitSubInstructions(r,s,s.options);a!=u&&t.transformIntoNewTimeline(u)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(const s of e){const a=s?.delay;if(a){const u="number"==typeof a?a:po(Cf(a,s?.params??{},t.errors));r.delayNextStep(u)}}}_visitSubInstructions(e,t,r){let a=t.currentTimeline.currentTime;const u=null!=r.duration?po(r.duration):null,h=null!=r.delay?po(r.delay):null;return 0!==u&&e.forEach(f=>{const m=t.appendInstructionToTimeline(f,u,h);a=Math.max(a,m.duration+m.delay)}),a}visitReference(e,t){t.updateOptions(e.options,!0),Hi(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let s=t;const a=e.options;if(a&&(a.params||a.delay)&&(s=t.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=by);const u=po(a.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(u=>Hi(this,u,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>r&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let s=t.currentTimeline.currentTime;const a=e.options&&e.options.delay?po(e.options.delay):0;e.steps.forEach(u=>{const h=t.createSubContext(e.options);a&&h.delayNextStep(a),Hi(this,u,h),s=Math.max(s,h.currentTimeline.currentTime),r.push(h.currentTimeline)}),r.forEach(u=>t.currentTimeline.mergeTimelineCollectedStyles(u)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return hy(t.params?Cf(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),s.snapshotCurrentStyles());const a=e.style;5==a.type?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,s=t.currentAnimateTimings;!s&&r.hasCurrentStyleProperties()&&r.forwardFrame();const a=s&&s.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,s=t.currentTimeline.duration,a=r.duration,h=t.createSubContext().currentTimeline;h.easing=r.easing,e.styles.forEach(f=>{h.forwardTime((f.offset||0)*a),h.setStyles(f.styles,f.easing,t.errors,t.options),h.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(h),t.transformIntoNewTimeline(s+a),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,s=e.options||{},a=s.delay?po(s.delay):0;a&&(6===t.previousNode.type||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=by);let u=r;const h=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=h.length;let f=null;h.forEach((m,b)=>{t.currentQueryIndex=b;const E=t.createSubContext(e.options,m);a&&E.delayNextStep(a),m===t.element&&(f=E.currentTimeline),Hi(this,e.animation,E),E.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,E.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),f&&(t.currentTimeline.mergeTimelineCollectedStyles(f),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,s=t.currentTimeline,a=e.timings,u=Math.abs(a.duration),h=u*(t.currentQueryTotal-1);let f=u*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":f=h-f;break;case"full":f=r.currentStaggerTime}const b=t.currentTimeline;f&&b.delayNextStep(f);const E=b.currentTime;Hi(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=s.currentTime-E+(s.startTime-r.currentTimeline.startTime)}}const by={};class Y0{constructor(e,t,r,s,a,u,h,f){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=s,this._leaveClassName=a,this.errors=u,this.timelines=h,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=by,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=f||new Cy(this._driver,t,0),h.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let s=this.options;null!=r.duration&&(s.duration=po(r.duration)),null!=r.delay&&(s.delay=po(r.delay));const a=r.params;if(a){let u=s.params;u||(u=this.options.params={}),Object.keys(a).forEach(h=>{(!t||!u.hasOwnProperty(h))&&(u[h]=Cf(a[h],u,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(s=>{r[s]=t[s]})}}return e}createSubContext(e=null,t,r){const s=t||this.element,a=new Y0(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,r||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(e){return this.previousNode=by,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},a=new c8(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,s,a,u){let h=[];if(s&&h.push(this.element),e.length>0){e=(e=e.replace(s8,"."+this._enterClassName)).replace(a8,"."+this._leaveClassName);let m=this._driver.query(this.element,e,1!=r);0!==r&&(m=r<0?m.slice(m.length+r,m.length):m.slice(0,r)),h.push(...m)}return!a&&0==h.length&&u.push(function pB(n){return new j(3014,!1)}()),h}}class Cy{constructor(e,t,r,s){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Cy(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||fs),this._currentKeyframe.set(t,fs);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,s){t&&this._previousKeyframe.set("easing",t);const a=s&&s.params||{},u=function u8(n,e){const t=new Map;let r;return n.forEach(s=>{if("*"===s){r=r||e.keys();for(let a of r)t.set(a,fs)}else _a(s,t)}),t}(e,this._globalTimelineStyles);for(let[h,f]of u){const m=Cf(f,a,r);this._pendingStyles.set(h,m),this._localTimelineStyles.has(h)||this._backFill.set(h,this._globalTimelineStyles.get(h)??fs),this._updateStyle(h,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{const s=this._styleSummary.get(r);(!s||t.time>s.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((h,f)=>{const m=_a(h,new Map,this._backFill);m.forEach((b,E)=>{"!"===b?e.add(E):b===fs&&t.add(E)}),r||m.set("offset",f/this.duration),s.push(m)});const a=e.size?py(e.values()):[],u=t.size?py(t.values()):[];if(r){const h=s[0],f=new Map(h);h.set("offset",0),f.set("offset",1),s=[h,f]}return K0(this.element,s,a,u,this.duration,this.startTime,this.easing,!1)}}class c8 extends Cy{constructor(e,t,r,s,a,u,h=!1){super(e,t,u.delay),this.keyframes=r,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=h,this.timings={duration:u.duration,delay:u.delay,easing:u.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){const a=[],u=r+t,h=t/u,f=_a(e[0]);f.set("offset",0),a.push(f);const m=_a(e[0]);m.set("offset",UA(h)),a.push(m);const b=e.length-1;for(let E=1;E<=b;E++){let D=_a(e[E]);const I=D.get("offset");D.set("offset",UA((t+I*r)/u)),a.push(D)}r=u,t=0,s="",e=a}return K0(this.element,e,this.preStyleProps,this.postStyleProps,r,t,s,!0)}}function UA(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Z0{}const d8=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class h8 extends Z0{normalizePropertyName(e,t){return q0(e)}normalizeStyleValue(e,t,r,s){let a="";const u=r.toString().trim();if(d8.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)a="px";else{const h=r.match(/^[+-]?[\d\.]+([a-z]*)$/);h&&0==h[1].length&&s.push(function nB(n,e){return new j(3005,!1)}())}return u+a}}function HA(n,e,t,r,s,a,u,h,f,m,b,E,D){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:a,toState:r,toStyles:u,timelines:h,queriedElements:f,preStyleProps:m,postStyleProps:b,totalTime:E,errors:D}}const X0={};class zA{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,s){return function p8(n,e,t,r,s){return n.some(a=>a(e,t,r,s))}(this.ast.matchers,e,t,r,s)}buildStyles(e,t,r){let s=this._stateStyles.get("*");return void 0!==e&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,r):new Map}build(e,t,r,s,a,u,h,f,m,b){const E=[],D=this.ast.options&&this.ast.options.params||X0,M=this.buildStyles(r,h&&h.params||X0,E),R=f&&f.params||X0,F=this.buildStyles(s,R,E),V=new Set,W=new Map,B=new Map,re="void"===s,We={params:f8(R,D),delay:this.ast.options?.delay},tt=b?[]:Q0(e,t,this.ast.animation,a,u,M,F,We,m,E);let Kn=0;if(tt.forEach(go=>{Kn=Math.max(go.duration+go.delay,Kn)}),E.length)return HA(t,this._triggerName,r,s,re,M,F,[],[],W,B,Kn,E);tt.forEach(go=>{const mo=go.element,sx=Ui(W,mo,new Set);go.preStyleProps.forEach(Ql=>sx.add(Ql));const Zf=Ui(B,mo,new Set);go.postStyleProps.forEach(Ql=>Zf.add(Ql)),mo!==t&&V.add(mo)});const fo=py(V.values());return HA(t,this._triggerName,r,s,re,M,F,tt,fo,W,B,Kn)}}function f8(n,e){const t=yf(e);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(t[r]=n[r]);return t}class g8{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){const r=new Map,s=yf(this.defaultParams);return Object.keys(e).forEach(a=>{const u=e[a];null!==u&&(s[a]=u)}),this.styles.styles.forEach(a=>{"string"!=typeof a&&a.forEach((u,h)=>{u&&(u=Cf(u,s,t));const f=this.normalizer.normalizePropertyName(h,t);u=this.normalizer.normalizeStyleValue(h,f,u,t),r.set(h,u)})}),r}}class v8{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{this.states.set(s.name,new g8(s.style,s.options&&s.options.params||{},r))}),qA(this.states,"true","1"),qA(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new zA(e,s,this.states))}),this.fallbackTransition=function _8(n,e,t){return new zA(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(u,h)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,s){return this.transitionFactories.find(u=>u.match(e,t,r,s))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function qA(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const y8=new yy;class b8{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const r=[],a=G0(this._driver,t,r,[]);if(r.length)throw function bB(n){return new j(3503,!1)}();this._animations.set(e,a)}_buildPlayer(e,t,r){const s=e.element,a=wA(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(s,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const s=[],a=this._animations.get(e);let u;const h=new Map;if(a?(u=Q0(this._driver,t,a,j0,cy,new Map,new Map,r,y8,s),u.forEach(b=>{const E=Ui(h,b.element,new Map);b.postStyleProps.forEach(D=>E.set(D,null))})):(s.push(function CB(){return new j(3300,!1)}()),u=[]),s.length)throw function EB(n){return new j(3504,!1)}();h.forEach((b,E)=>{b.forEach((D,I)=>{b.set(I,this._driver.computeStyle(E,I,fs))})});const m=va(u.map(b=>{const E=h.get(b.element);return this._buildPlayer(b,new Map,E)}));return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function wB(n){return new j(3301,!1)}();return t}listen(e,t,r,s){const a=L0(t,"","","");return O0(this._getPlayer(e),r,a,s),()=>{}}command(e,t,r,s){if("register"==r)return void this.register(e,s[0]);if("create"==r)return void this.create(e,t,s[0]||{});const a=this._getPlayer(e);switch(r){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e)}}}const GA="ng-animate-queued",J0="ng-animate-disabled",D8=[],WA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},T8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dr="__ng_removed";class eS{constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=function M8(n){return n??null}(r?e.value:e),r){const a=yf(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const r=this.options.params;Object.keys(t).forEach(s=>{null==r[s]&&(r[s]=t[s])})}}}const Ef="void",tS=new eS(Ef);class I8{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,hr(t,this._hostClassName)}listen(e,t,r,s){if(!this._triggers.has(t))throw function SB(n,e){return new j(3302,!1)}();if(null==r||0==r.length)throw function DB(n){return new j(3303,!1)}();if(!function P8(n){return"start"==n||"done"==n}(r))throw function TB(n,e){return new j(3400,!1)}();const a=Ui(this._elementListeners,e,[]),u={name:t,phase:r,callback:s};a.push(u);const h=Ui(this._engine.statesByElement,e,new Map);return h.has(t)||(hr(e,uy),hr(e,uy+"-"+t),h.set(t,tS)),()=>{this._engine.afterFlush(()=>{const f=a.indexOf(u);f>=0&&a.splice(f,1),this._triggers.has(t)||h.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function IB(n){return new j(3401,!1)}();return t}trigger(e,t,r,s=!0){const a=this._getTrigger(t),u=new nS(this.id,t,e);let h=this._engine.statesByElement.get(e);h||(hr(e,uy),hr(e,uy+"-"+t),this._engine.statesByElement.set(e,h=new Map));let f=h.get(t);const m=new eS(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&f&&m.absorbOptions(f.options),h.set(t,m),f||(f=tS),m.value!==Ef&&f.value===m.value){if(!function k8(n,e){const t=Object.keys(n),r=Object.keys(e);if(t.length!=r.length)return!1;for(let s=0;s{zl(e,F),gs(e,V)})}return}const D=Ui(this._engine.playersByElement,e,[]);D.forEach(R=>{R.namespaceId==this.id&&R.triggerName==t&&R.queued&&R.destroy()});let I=a.matchTransition(f.value,m.value,e,m.params),M=!1;if(!I){if(!s)return;I=a.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:I,fromState:f,toState:m,player:u,isFallbackTransition:M}),M||(hr(e,GA),u.onStart(()=>{Ju(e,GA)})),u.onDone(()=>{let R=this.players.indexOf(u);R>=0&&this.players.splice(R,1);const F=this._engine.playersByElement.get(e);if(F){let V=F.indexOf(u);V>=0&&F.splice(V,1)}}),this.players.push(u),D.push(u),u}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,dy,!0);r.forEach(s=>{if(s[dr])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(u=>u.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,r,s){const a=this._engine.statesByElement.get(e),u=new Map;if(a){const h=[];if(a.forEach((f,m)=>{if(u.set(m,f.value),this._triggers.has(m)){const b=this.trigger(e,m,Ef,s);b&&h.push(b)}}),h.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),r&&va(h).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){const s=new Set;t.forEach(a=>{const u=a.name;if(s.has(u))return;s.add(u);const f=this._triggers.get(u).fallbackTransition,m=r.get(u)||tS,b=new eS(Ef),E=new nS(this.id,u,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:u,transition:f,fromState:m,toState:b,player:E,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(r.totalAnimations){const a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)s=!0;else{let u=e;for(;u=u.parentNode;)if(r.statesByElement.get(u)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)r.markElementAsRemoved(this.id,e,!1,t);else{const a=e[dr];(!a||a===WA)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){hr(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const s=r.player;if(s.destroyed)return;const a=r.element,u=this._elementListeners.get(a);u&&u.forEach(h=>{if(h.name==r.triggerName){const f=L0(a,r.triggerName,r.fromState.value,r.toState.value);f._data=e,O0(r.player,h.phase,f,h.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(r)}),this._queue=[],t.sort((r,s)=>{const a=r.transition.ast.depCount,u=s.transition.ast.depCount;return 0==a||0==u?a-u:this._engine.driver.containsElement(r.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(r=>r.element===e)||t,t}}class A8{constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){const r=new I8(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList,s=this.namespacesByHostElement;if(r.length-1>=0){let u=!1,h=this.driver.getParentElement(t);for(;h;){const f=s.get(h);if(f){const m=r.indexOf(f);r.splice(m+1,0,e),u=!0;break}h=this.driver.getParentElement(h)}u||r.unshift(e)}else r.push(e);return s.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let s=this._namespaceLookup[e];s&&s.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const s=this._namespaceList.indexOf(r);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r)for(let s of r.values())if(s.namespaceId){const a=this._fetchNamespace(s.namespaceId);a&&t.add(a)}return t}trigger(e,t,r,s){if(Ey(t)){const a=this._fetchNamespace(e);if(a)return a.trigger(t,r,s),!0}return!1}insertNode(e,t,r,s){if(!Ey(t))return;const a=t[dr];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const u=this.collectedLeaveElements.indexOf(t);u>=0&&this.collectedLeaveElements.splice(u,1)}if(e){const u=this._fetchNamespace(e);u&&u.insertNode(t,r)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),hr(e,J0)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ju(e,J0))}removeNode(e,t,r,s){if(Ey(t)){const a=e?this._fetchNamespace(e):null;if(a?a.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s),r){const u=this.namespacesByHostElement.get(t);u&&u.id!==e&&u.removeNode(t,s)}}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,r,s,a){this.collectedLeaveElements.push(t),t[dr]={namespaceId:e,setForRemoval:s,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,s,a){return Ey(t)?this._fetchNamespace(e).listen(t,r,s,a):()=>{}}_buildInstruction(e,t,r,s,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,s,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,dy,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,U0,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return va(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[dr];if(t&&t.setForRemoval){if(e[dr]=WA,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(J0)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,s)=>this._balanceNamespaceList(r,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?va(t).onDone(()=>{r.forEach(s=>s())}):r.forEach(s=>s())}}reportError(e){throw function AB(n){return new j(3402,!1)}()}_flushAnimations(e,t){const r=new yy,s=[],a=new Map,u=[],h=new Map,f=new Map,m=new Map,b=new Set;this.disabledNodes.forEach(ce=>{b.add(ce);const fe=this.driver.query(ce,".ng-animate-queued",!0);for(let we=0;we{const we=j0+R++;M.set(fe,we),ce.forEach(Ye=>hr(Ye,we))});const F=[],V=new Set,W=new Set;for(let ce=0;ceV.add(Ye)):W.add(fe))}const B=new Map,re=YA(D,Array.from(V));re.forEach((ce,fe)=>{const we=cy+R++;B.set(fe,we),ce.forEach(Ye=>hr(Ye,we))}),e.push(()=>{I.forEach((ce,fe)=>{const we=M.get(fe);ce.forEach(Ye=>Ju(Ye,we))}),re.forEach((ce,fe)=>{const we=B.get(fe);ce.forEach(Ye=>Ju(Ye,we))}),F.forEach(ce=>{this.processLeaveNode(ce)})});const We=[],tt=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(t).forEach(we=>{const Ye=we.player,wn=we.element;if(We.push(Ye),this.collectedEnterElements.length){const Qn=wn[dr];if(Qn&&Qn.setForMove){if(Qn.previousTriggersValues&&Qn.previousTriggersValues.has(we.triggerName)){const Yl=Qn.previousTriggersValues.get(we.triggerName),pr=this.statesByElement.get(we.element);if(pr&&pr.has(we.triggerName)){const Dy=pr.get(we.triggerName);Dy.value=Yl,pr.set(we.triggerName,Dy)}}return void Ye.destroy()}}const ms=!E||!this.driver.containsElement(E,wn),zi=B.get(wn),ya=M.get(wn),Lt=this._buildInstruction(we,r,ya,zi,ms);if(Lt.errors&&Lt.errors.length)return void tt.push(Lt);if(ms)return Ye.onStart(()=>zl(wn,Lt.fromStyles)),Ye.onDestroy(()=>gs(wn,Lt.toStyles)),void s.push(Ye);if(we.isFallbackTransition)return Ye.onStart(()=>zl(wn,Lt.fromStyles)),Ye.onDestroy(()=>gs(wn,Lt.toStyles)),void s.push(Ye);const lx=[];Lt.timelines.forEach(Qn=>{Qn.stretchStartingKeyframe=!0,this.disabledNodes.has(Qn.element)||lx.push(Qn)}),Lt.timelines=lx,r.append(wn,Lt.timelines),u.push({instruction:Lt,player:Ye,element:wn}),Lt.queriedElements.forEach(Qn=>Ui(h,Qn,[]).push(Ye)),Lt.preStyleProps.forEach((Qn,Yl)=>{if(Qn.size){let pr=f.get(Yl);pr||f.set(Yl,pr=new Set),Qn.forEach((Dy,sS)=>pr.add(sS))}}),Lt.postStyleProps.forEach((Qn,Yl)=>{let pr=m.get(Yl);pr||m.set(Yl,pr=new Set),Qn.forEach((Dy,sS)=>pr.add(sS))})});if(tt.length){const ce=[];tt.forEach(fe=>{ce.push(function xB(n,e){return new j(3505,!1)}())}),We.forEach(fe=>fe.destroy()),this.reportError(ce)}const Kn=new Map,fo=new Map;u.forEach(ce=>{const fe=ce.element;r.has(fe)&&(fo.set(fe,fe),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,Kn))}),s.forEach(ce=>{const fe=ce.element;this._getPreviousPlayers(fe,!1,ce.namespaceId,ce.triggerName,null).forEach(Ye=>{Ui(Kn,fe,[]).push(Ye),Ye.destroy()})});const go=F.filter(ce=>XA(ce,f,m)),mo=new Map;QA(mo,this.driver,W,m,fs).forEach(ce=>{XA(ce,f,m)&&go.push(ce)});const Zf=new Map;I.forEach((ce,fe)=>{QA(Zf,this.driver,new Set(ce),f,"!")}),go.forEach(ce=>{const fe=mo.get(ce),we=Zf.get(ce);mo.set(ce,new Map([...Array.from(fe?.entries()??[]),...Array.from(we?.entries()??[])]))});const Ql=[],ox=[],ax={};u.forEach(ce=>{const{element:fe,player:we,instruction:Ye}=ce;if(r.has(fe)){if(b.has(fe))return we.onDestroy(()=>gs(fe,Ye.toStyles)),we.disabled=!0,we.overrideTotalTime(Ye.totalTime),void s.push(we);let wn=ax;if(fo.size>1){let zi=fe;const ya=[];for(;zi=zi.parentNode;){const Lt=fo.get(zi);if(Lt){wn=Lt;break}ya.push(zi)}ya.forEach(Lt=>fo.set(Lt,wn))}const ms=this._buildAnimation(we.namespaceId,Ye,Kn,a,Zf,mo);if(we.setRealPlayer(ms),wn===ax)Ql.push(we);else{const zi=this.playersByElement.get(wn);zi&&zi.length&&(we.parentPlayer=va(zi)),s.push(we)}}else zl(fe,Ye.fromStyles),we.onDestroy(()=>gs(fe,Ye.toStyles)),ox.push(we),b.has(fe)&&s.push(we)}),ox.forEach(ce=>{const fe=a.get(ce.element);if(fe&&fe.length){const we=va(fe);ce.setRealPlayer(we)}}),s.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!ms.destroyed);wn.length?N8(this,fe,wn):this.processLeaveNode(fe)}return F.length=0,Ql.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const fe=this.players.indexOf(ce);this.players.splice(fe,1)}),ce.play()}),Ql}elementContainsData(e,t){let r=!1;const s=t[dr];return s&&s.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,s,a){let u=[];if(t){const h=this.playersByQueriedElement.get(e);h&&(u=h)}else{const h=this.playersByElement.get(e);if(h){const f=!a||a==Ef;h.forEach(m=>{m.queued||!f&&m.triggerName!=s||u.push(m)})}}return(r||s)&&(u=u.filter(h=>!(r&&r!=h.namespaceId||s&&s!=h.triggerName))),u}_beforeAnimationBuild(e,t,r){const a=t.element,u=t.isRemovalTransition?void 0:e,h=t.isRemovalTransition?void 0:t.triggerName;for(const f of t.timelines){const m=f.element,b=m!==a,E=Ui(r,m,[]);this._getPreviousPlayers(m,b,u,h,t.toState).forEach(I=>{const M=I.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),I.destroy(),E.push(I)})}zl(a,t.fromStyles)}_buildAnimation(e,t,r,s,a,u){const h=t.triggerName,f=t.element,m=[],b=new Set,E=new Set,D=t.timelines.map(M=>{const R=M.element;b.add(R);const F=R[dr];if(F&&F.removedBeforeQueried)return new _f(M.duration,M.delay);const V=R!==f,W=function R8(n){const e=[];return ZA(n,e),e}((r.get(R)||D8).map(Kn=>Kn.getRealPlayer())).filter(Kn=>!!Kn.element&&Kn.element===R),B=a.get(R),re=u.get(R),We=wA(0,this._normalizer,0,M.keyframes,B,re),tt=this._buildPlayer(M,We,W);if(M.subTimeline&&s&&E.add(R),V){const Kn=new nS(e,h,R);Kn.setRealPlayer(tt),m.push(Kn)}return tt});m.forEach(M=>{Ui(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function x8(n,e,t){let r=n.get(e);if(r){if(r.length){const s=r.indexOf(t);r.splice(s,1)}0==r.length&&n.delete(e)}return r}(this.playersByQueriedElement,M.element,M))}),b.forEach(M=>hr(M,NA));const I=va(D);return I.onDestroy(()=>{b.forEach(M=>Ju(M,NA)),gs(f,t.toStyles)}),E.forEach(M=>{Ui(s,M,[]).push(I)}),I}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new _f(e.duration,e.delay)}}class nS{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new _f,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(s=>O0(e,r,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ui(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ey(n){return n&&1===n.nodeType}function KA(n,e){const t=n.style.display;return n.style.display=e??"none",t}function QA(n,e,t,r,s){const a=[];t.forEach(f=>a.push(KA(f)));const u=[];r.forEach((f,m)=>{const b=new Map;f.forEach(E=>{const D=e.computeStyle(m,E,s);b.set(E,D),(!D||0==D.length)&&(m[dr]=T8,u.push(m))}),n.set(m,b)});let h=0;return t.forEach(f=>KA(f,a[h++])),u}function YA(n,e){const t=new Map;if(n.forEach(h=>t.set(h,[])),0==e.length)return t;const s=new Set(e),a=new Map;function u(h){if(!h)return 1;let f=a.get(h);if(f)return f;const m=h.parentNode;return f=t.has(m)?m:s.has(m)?1:u(m),a.set(h,f),f}return e.forEach(h=>{const f=u(h);1!==f&&t.get(f).push(h)}),t}function hr(n,e){n.classList?.add(e)}function Ju(n,e){n.classList?.remove(e)}function N8(n,e,t){va(t).onDone(()=>n.processLeaveNode(e))}function ZA(n,e){for(let t=0;ts.add(a)):e.set(n,r),t.delete(n),!0}class wy{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new A8(e,t,r),this._timelineEngine=new b8(e,t,r),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(e,t,r,s,a){const u=e+"-"+s;let h=this._triggerCache[u];if(!h){const f=[],b=G0(this._driver,a,f,[]);if(f.length)throw function _B(n,e){return new j(3404,!1)}();h=function m8(n,e,t){return new v8(n,e,t)}(s,b,this._normalizer),this._triggerCache[u]=h}this._transitionEngine.registerTrigger(t,s,h)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,s){this._transitionEngine.insertNode(e,t,r,s)}onRemove(e,t,r,s){this._transitionEngine.removeNode(e,t,s||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,s){if("@"==r.charAt(0)){const[a,u]=SA(r);this._timelineEngine.command(a,t,u,s)}else this._transitionEngine.trigger(e,t,r,s)}listen(e,t,r,s,a){if("@"==r.charAt(0)){const[u,h]=SA(r);return this._timelineEngine.listen(u,t,h,a)}return this._transitionEngine.listen(e,t,r,s,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let F8=(()=>{class n{constructor(t,r,s){this._element=t,this._startStyles=r,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(t);a||n.initialStylesByElement.set(t,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&gs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gs(this._element,this._initialStyles),this._endStyles&&(gs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(zl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zl(this._element,this._endStyles),this._endStyles=null),gs(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function iS(n){let e=null;return n.forEach((t,r)=>{(function L8(n){return"display"===n||"position"===n})(r)&&(e=e||new Map,e.set(r,t))}),e}class JA{constructor(e,t,r,s){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,s)=>{"offset"!==s&&e.set(s,this._finished?r:BA(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class B8{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return AA(e,t)}getParentElement(e){return $0(e)}query(e,t,r){return xA(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,s,a,u=[]){const f={duration:r,delay:s,fill:0==s?"both":"forwards"};a&&(f.easing=a);const m=new Map,b=u.filter(I=>I instanceof JA);(function UB(n,e){return 0===n||0===e})(r,s)&&b.forEach(I=>{I.currentSnapshot.forEach((M,R)=>m.set(R,M))});let E=function BB(n){return n.length?n[0]instanceof Map?n:n.map(e=>RA(e)):[]}(t).map(I=>_a(I));E=function HB(n,e,t){if(t.size&&e.length){let r=e[0],s=[];if(t.forEach((a,u)=>{r.has(u)||s.push(u),r.set(u,a)}),s.length)for(let a=1;au.set(h,BA(n,h)))}}return e}(e,E,m);const D=function O8(n,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=iS(e[0]),e.length>1&&(r=iS(e[e.length-1]))):e instanceof Map&&(t=iS(e)),t||r?new F8(n,t,r):null}(e,E);return new JA(e,E,f,D)}}let $8=(()=>{class n extends vA{constructor(t,r){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(r.body,{id:"0",encapsulation:mi.None,styles:[],data:{animation:[]}})}build(t){const r=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(t)?_A(t):t;return ex(this._renderer,null,r,"register",[s]),new V8(r,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(Y(Ko),Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class V8 extends W3{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new j8(this._id,e,t||{},this._renderer)}}class j8{constructor(e,t,r,s){this.id=e,this.element=t,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return ex(this._renderer,this.element,this.id,e,t)}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 this._renderer.engine.players[+this.id]?.getPosition()??0}}function ex(n,e,t,r,s){return n.setProperty(e,`@@${t}:${r}`,s)}const tx="@.disabled";let U8=(()=>{class n{constructor(t,r,s){this.delegate=t,this.engine=r,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(a,u)=>{const h=u?.parentNode(a);h&&u.removeChild(h,a)}}createRenderer(t,r){const a=this.delegate.createRenderer(t,r);if(!(t&&r&&r.data&&r.data.animation)){let b=this._rendererCache.get(a);return b||(b=new nx("",a,this.engine,()=>this._rendererCache.delete(a)),this._rendererCache.set(a,b)),b}const u=r.id,h=r.id+"-"+this._currentId;this._currentId++,this.engine.register(h,t);const f=b=>{Array.isArray(b)?b.forEach(f):this.engine.registerTrigger(u,h,t,b.name,b)};return r.data.animation.forEach(f),new H8(this,h,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,r,s){t>=0&&tr(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[u,h]=a;u(h)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(t){return new(t||n)(Y(Ko),Y(wy),Y(bt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class nx{constructor(e,t,r,s){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=s,this.destroyNode=this.delegate.destroyNode?a=>t.destroyNode(a):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,s=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,s){this.delegate.setAttribute(e,t,r,s)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,s){this.delegate.setStyle(e,t,r,s)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){"@"==t.charAt(0)&&t==tx?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class H8 extends nx{constructor(e,t,r,s,a){super(t,r,s,a),this.factory=e,this.namespaceId=t}setProperty(e,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==tx?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if("@"==t.charAt(0)){const s=function z8(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let a=t.slice(1),u="";return"@"!=a.charAt(0)&&([a,u]=function q8(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(a)),this.engine.listen(this.namespaceId,s,a,u,h=>{this.factory.scheduleListenerCallback(h._data||-1,r,h)})}return this.delegate.listen(e,t,r)}}const ix=[{provide:vA,useClass:$8},{provide:Z0,useFactory:function W8(){return new h8}},{provide:wy,useClass:(()=>{class n extends wy{constructor(t,r,s,a){super(t.body,r,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(Y(qt),Y(V0),Y(Z0),Y(Lp))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})()},{provide:Ko,useFactory:function K8(n,e,t){return new U8(n,e,t)},deps:[P_,wy,bt]}],rS=[{provide:V0,useFactory:()=>new B8},{provide:J1,useValue:"BrowserAnimations"},...ix],rx=[{provide:V0,useClass:MA},{provide:J1,useValue:"NoopAnimations"},...ix];let Q8=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?rx:rS}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=at({providers:rS,imports:[Lw]}),n})();class ed{constructor(){this._change=new Ue,this.change$=this._change.asObservable()}open(e){this._change.next(e)}}function Y8(n,e){1&n&&l(0)}function Z8(n,e){1&n&&ls(0)}function X8(n,e){if(1&n&&(g(0,"h1"),Be(1,Z8,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}function J8(n,e){1&n&&ls(0)}function e5(n,e){if(1&n&&(g(0,"h2"),Be(1,J8,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}function t5(n,e){1&n&&ls(0)}function n5(n,e){if(1&n&&(g(0,"h3"),Be(1,t5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}function i5(n,e){1&n&&ls(0)}function r5(n,e){if(1&n&&(g(0,"h4"),Be(1,i5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}function s5(n,e){1&n&&ls(0)}function o5(n,e){if(1&n&&(g(0,"h5"),Be(1,s5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}function a5(n,e){1&n&&ls(0)}function l5(n,e){if(1&n&&(g(0,"h6"),Be(1,a5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);O(1),$("ngTemplateOutlet",t)}}ed.\u0275fac=function(e){return new(e||ed)},ed.\u0275prov=ae({token:ed,factory:ed.\u0275fac,providedIn:"root"});class td{constructor(){this.titleLevel="2"}}function u5(n,e){if(1&n&&(g(0,"span",4),v(1),_()),2&n){const t=c();O(1),Ht("(",t.total,")")}}td.\u0275fac=function(e){return new(e||td)},td.\u0275cmp=ue({type:td,selectors:[["c3m-h"]],inputs:{titleLevel:"titleLevel"},ngContentSelectors:["*"],decls:9,vars:7,consts:[["content",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"]],template:function(e,t){1&e&&(o(),Be(0,Y8,1,0,"ng-template",null,0,P1),Ii(2,1),Be(3,X8,2,1,"h1",2),Be(4,e5,2,1,"h2",2),Be(5,n5,2,1,"h3",2),Be(6,r5,2,1,"h4",2),Be(7,o5,2,1,"h5",2),Be(8,l5,2,1,"h6",2),ai()),2&e&&(O(2),$("ngSwitch",t.titleLevel),O(1),$("ngSwitchCase","1"),O(1),$("ngSwitchCase","2"),O(1),$("ngSwitchCase","3"),O(1),$("ngSwitchCase","4"),O(1),$("ngSwitchCase","5"),O(1),$("ngSwitchCase","6"))},dependencies:[GT,T_,zT],encapsulation:2});class Gl{constructor(e){this.accordionService=e,this.isOpen=!1,this.titleLevel="2",this.total="",this.unsubscribe=new Ue;const t=this.randomID();this.accID="tab"+t,this.accPanelID="panel"+t}ngOnInit(){this.accordionService.change$.pipe(Yp(this.unsubscribe)).subscribe(e=>{e!=this.accPanelID&&(this.isOpen=!1)})}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}toggleOpen(){this.isOpen=!this.isOpen,this.accordionService.open(this.accPanelID)}randomID(){return Math.round(19999*Math.random()+1)}}Gl.\u0275fac=function(e){return new(e||Gl)(G(ed))},Gl.\u0275cmp=ue({type:Gl,selectors:[["c3m-accordion-item"]],inputs:{label:"label",isOpen:"isOpen",titleLevel:"titleLevel",total:"total"},ngContentSelectors:["*"],decls:7,vars:10,consts:[[1,"head",3,"titleLevel"],["type","button",3,"id","click"],["class","total",4,"ngIf"],["role","region",1,"content","editorial",3,"id"],[1,"total"]],template:function(e,t){1&e&&(o(),g(0,"c3m-h",0)(1,"button",1),Me("click",function(){return t.toggleOpen()}),g(2,"span"),v(3),_(),Be(4,u5,2,1,"span",2),_()(),g(5,"div",3),l(6),_()),2&e&&($("titleLevel",t.titleLevel),O(1),$("id",t.accID),ot("aria-expanded",t.isOpen)("aria-controls",t.accPanelID),O(2),no(t.label),O(1),$("ngIf",""!==t.total),O(1),$("@openClose",t.isOpen?"open":"closed")("id",t.accPanelID),ot("aria-hidden",!t.isOpen)("aria-labelledby",t.accID))},dependencies:[co,td],styles:["[_nghost-%COMP%]{display:block;position:relative;border-bottom:1px solid var(--n-medium);z-index:1}[_nghost-%COMP%]:last-of-type{border:none}[_nghost-%COMP%]:last-child div.content.closed[_ngcontent-%COMP%]{border:none}.head[_ngcontent-%COMP%]{font-size:.9em}div.content[_ngcontent-%COMP%]{overflow:hidden;font-size:.9rem;padding:1rem 1.5rem}.head[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;align-items:center;gap:.55rem;width:100%;height:100%;font-family:var(--stack-b);text-align:left;color:var(--text-inv);background-color:var(--main-dark);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M16 12l-6 6V6z' fill='%23FFF' /%3E%3C/svg%3E\");background-repeat:no-repeat;background-position-y:.65em;border-color:var(--n-dark);padding:1em 1em 1em 1.55rem;border-radius:0;cursor:pointer;z-index:10}.head[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{outline-offset:-4px}.head[_ngcontent-%COMP%] button[aria-expanded=true][_ngcontent-%COMP%]{color:var(--main-dark);background-color:var(--main-u-light);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='%231E2E39' /%3E%3C/svg%3E\")}.total[_ngcontent-%COMP%]{font-family:var(--stack)}@media screen and (min-width: 1000px){.head[_ngcontent-%COMP%]{font-size:.95em}}"],data:{animation:[function K3(n,e){return{type:7,name:n,definitions:e,options:{}}}("openClose",[yA("open",ly({height:fs,opacity:1})),yA("closed",ly({height:0,opacity:0,paddingTop:0,paddingBottom:0})),function Y3(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}("open <=> closed",[function Q3(n,e=null){return{type:4,styles:e,timings:n}}("225ms cubic-bezier(0.4,0.0,0.2,1)")])])]}});class nd{constructor(){this.titleLevel="2"}ngAfterViewInit(){this.groups.forEach(e=>{e.titleLevel=this.titleLevel})}}nd.\u0275fac=function(e){return new(e||nd)},nd.\u0275cmp=ue({type:nd,selectors:[["c3m-accordion"]],contentQueries:function(e,t,r){if(1&e&&Rl(r,Gl,4),2&e){let s;ci(s=ui())&&(t.groups=s)}},inputs:{titleLevel:"titleLevel"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"accordion"]],template:function(e,t){1&e&&(o(),g(0,"div",0),l(1),_())},styles:["div.accordion[_ngcontent-%COMP%]{--focus-color: var(--sec-u-light);background-color:var(--body-bg);box-shadow:#3c40434d 0 1px 2px,#3c404326 0 2px 6px 2px}"]});const p5=function(n){return{adaptable:n}};class Gt{constructor(){this.tabTitle="",this.isDisabled=!1,this.deletable=!1,this.adaptable=!1,this.tabIcon="",this.draggable=!1,this.tabID="",this.panelID="",this.idTab=this.randomID()}ngOnInit(){this.tabID="tab"+this.idTab,this.panelID="panel"+this.idTab}ngAfterViewInit(){document.getElementById("page-body")&&document.querySelectorAll("div.adaptable").length>0&&this.getsExtraHeight()}getsExtraHeight(){const e=document.getElementById("page-body");if(e){const t=e.offsetHeight,r=e.offsetWidth;e.querySelectorAll("div.adaptable").forEach(a=>{a.style.height="calc("+t+"px - 6rem)",a.style.width="calc("+r+"px - 2.5rem)"})}}onResize(){document.getElementById("page-body")&&document.querySelectorAll("div.adaptable").length>0&&this.getsExtraHeight()}randomID(){return Math.round(19999*Math.random()+1)}}Gt.\u0275fac=function(e){return new(e||Gt)},Gt.\u0275cmp=ue({type:Gt,selectors:[["c3m-tab-panel"]],hostBindings:function(e,t){1&e&&Me("resize",function(s){return t.onResize(s)},0,is)},inputs:{tabTitle:"tabTitle",isActive:"isActive",svgName:"svgName",svgTitle:"svgTitle",idTab:"idTab",isDisabled:"isDisabled",deletable:"deletable",adaptable:"adaptable",tabIcon:"tabIcon",draggable:"draggable"},ngContentSelectors:["*"],decls:2,vars:6,consts:[["role","tabpanel","tabindex","0",1,"content",3,"id","ngClass"]],template:function(e,t){1&e&&(o(),g(0,"div",0),l(1),_()),2&e&&($("id",t.panelID)("ngClass",Bu(4,p5,t.adaptable)),ot("aria-hidden",!t.isActive)("aria-labelledby",t.tabID))},dependencies:[Fl],styles:["div.content[_ngcontent-%COMP%]:focus-visible{outline:2px dotted var(--focus-color);outline-offset:-2px}div.content[aria-hidden=true][_ngcontent-%COMP%]{display:none}div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--body-bg);padding:1rem;margin-top:2px;border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}.block-style[_nghost-%COMP%] > div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--n-light);padding:1rem;margin-top:0}"]});const g5=["tabs"];function m5(n,e){if(1&n){const t=qn();g(0,"p",5)(1,"button",6),Me("click",function(){return Tt(t),ft(c().scroll2Right())}),He(),g(2,"svg",7)(3,"title"),v(4,"Scroll tabs to left"),_(),ee(5,"use",8),_(),et(),Ii(6),io(7,9),ai(),_(),g(8,"button",10),Me("click",function(){return Tt(t),ft(c().scroll2Left())}),He(),g(9,"svg",7)(10,"title"),v(11,"Scroll tabs to left"),_(),ee(12,"use",11),_(),et(),Ii(13),io(14,12),ai(),_()()}if(2&n){const t=c();O(1),$("disabled",!t.isScrollRight),O(7),$("disabled",!t.isScrollLeft)}}function v5(n,e){if(1&n&&(Ii(0),He(),g(1,"svg",18)(2,"title"),v(3),_(),ee(4,"use"),_(),ai()),2&n){const t=c().$implicit;O(3),no(t.svgTitle),O(1),ot("href","./assets/img/sprite.svg#"+t.svgName)}}function _5(n,e){if(1&n){const t=qn();g(0,"button",19),Me("click",function(s){Tt(t);const a=c().index;return ft(c().deleteTab(s,a))}),He(),g(1,"svg",20),ee(2,"use",21),_()()}if(2&n){const t=c().$implicit;ot("tabindex",c().setTabindex(t))}}const y5=function(n,e,t){return{active:n,new:e,draggable:t}},b5=function(n,e){return{deletable:n,"with-icon":e}};function C5(n,e){if(1&n){const t=qn();g(0,"li",13,14)(2,"button",15),Me("click",function(){const a=Tt(t).$implicit;return ft(c().selectTab(a))})("keydown",function(s){const u=Tt(t).index;return ft(c().selectNextTab(s,u))}),Be(3,v5,5,2,"ng-container",16),v(4),_(),Be(5,_5,3,1,"button",17),_()}if(2&n){const t=e.$implicit,r=c();$("cdkDragDisabled",!t.draggable)("ngClass",VE(13,y5,t.isActive,r.hasNew,t.draggable)),O(2),function ED(n,e,t){Ir(si,us,na(z(),n,e,t),!0)}("tabber ",t.tabIcon,""),$("id",t.tabID)("ngClass",$E(17,b5,t.deletable,null!=t.svgName)),ot("tabindex",r.setTabindex(t))("aria-controls",t.panelID)("aria-selected",t.isActive),O(1),$("ngIf",null!=t.svgName),O(1),Ht(" ",t.tabTitle," "),O(1),$("ngIf",t.deletable)}}const E5=function(n){return{"handle-scroll":n}},w5=function(n){return{hasScroll:n}};class an{constructor(e,t){this.cdr=e,this.el=t,this.hasNew=!1,this.label="",this.tabIcon="",this.handleScroll=!1,this.activeTab="",this.changeTab=new gt,this.closeTab=new gt,this.tabs=[],this.TabComponentBis=Gt,this.hasScroll=!1,this.isScrollLeft=!1,this.isScrollRight=!1,this.startIndexActiv=0}ngAfterViewInit(){this.stageScroll(),this.cdr.detectChanges()}ngAfterContentInit(){this.tabs=this.tabComponents.toArray()}onResize(){this.stageScroll(),this.cdr.detectChanges()}stageScroll(){const e=this.el.nativeElement,t=e.querySelector("ul");e.offsetWidth=t.scrollWidth?this.isScrollLeft=!1:this.isScrollRight=!1):(this.hasScroll=!1,this.isScrollRight=!1,this.isScrollLeft=!1)}scroll2Left(){const e=this.el.nativeElement.querySelector("ul"),t=e.scrollWidth-e.offsetWidth;e.scrollLeft+=80,e.scrollLeft==t?(this.isScrollRight=!0,this.isScrollLeft=!1):(this.isScrollRight=!0,this.isScrollLeft=!0)}scroll2Right(){const e=this.el.nativeElement.querySelector("ul");e.scrollLeft-=80,0==e.scrollLeft?(this.isScrollRight=!1,this.isScrollLeft=!0):(this.isScrollRight=!0,this.isScrollLeft=!0)}setTabindex(e){return!0===e.isActive?"0":"-1"}selectTab(e){this.tabs.forEach(t=>{t.isActive=!1}),e.isActive=!0}selectNextTab(e,t){let r;r="ArrowLeft"===e.code?t>0?t-1:this.tabs.length-1:"ArrowRight"===e.code?t=0&&(this.selectTab(this.tabs[r]),this.tabsElement.toArray()[r].nativeElement.querySelector("button").focus()),this.changeTab.emit(t)}deleteTab(e,t){this.deletedTabIndex=t;const r=this.tabsElement.toArray()[t].nativeElement,s=r.parentNode.querySelectorAll("li"),a=r.querySelector("button.tabber").getAttribute("aria-controls"),u=document.getElementById(a),h=Array.from(s).indexOf(r);this.tabs.splice(t,1),r.getAttribute("class").includes("active")&&(t-1>=0&&this.selectTab(this.tabs[t-1]),0==h&&this.selectTab(this.tabs[t])),r.remove(),u&&u.remove(),this.closeTab.emit(t),this.stageScroll()}onDrop(e){e.previousContainer===e.container?K2(e.container.data,e.previousIndex,e.currentIndex):function iF(n,e,t,r){const s=Jp(t,n.length-1),a=Jp(r,e.length);n.length&&e.splice(a,0,n.splice(s,1)[0])}(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.changeTab.emit(e.currentIndex)}}function D5(n,e){1&n&&(He(),g(0,"svg",3)(1,"title",4),io(2,5),_(),ee(3,"use",6),_())}function T5(n,e){1&n&&(He(),g(0,"svg",3)(1,"title",4),io(2,7),_(),ee(3,"use",8),_())}function I5(n,e){1&n&&(He(),g(0,"svg",3)(1,"title",4),io(2,9),_(),ee(3,"use",10),_())}an.\u0275fac=function(e){return new(e||an)(G(ca),G(st))},an.\u0275cmp=ue({type:an,selectors:[["c3m-tabs"]],contentQueries:function(e,t,r){if(1&e&&Rl(r,Gt,4),2&e){let s;ci(s=ui())&&(t.tabComponents=s)}},viewQuery:function(e,t){if(1&e&&ro(g5,5),2&e){let r;ci(r=ui())&&(t.tabsElement=r)}},hostBindings:function(e,t){1&e&&Me("resize",function(s){return t.onResize(s)},0,is)},inputs:{isDisabled:"isDisabled",hasNew:"hasNew",label:"label",tabIcon:"tabIcon",handleScroll:"handleScroll"},outputs:{activeTab:"activeTab",deletedTabIndex:"deletedTabIndex",changeTab:"changeTab",closeTab:"closeTab"},ngContentSelectors:["*"],decls:6,vars:10,consts:function(){let n,e,t;return n=$localize`Scroll tabs to right`,e=$localize`Scroll tabs to left`,t=$localize`Close tab`,[[1,"tabsContainer",3,"ngClass"],["class","scroll-bts",4,"ngIf"],["role","tablist","cdkDropList","","cdkDropListOrientation","horizontal",3,"ngClass","cdkDropListData","cdkDropListDropped"],["chipList","cdkDropList"],["cdkDrag","","role","presentation",3,"cdkDragDisabled","ngClass",4,"ngFor","ngForOf"],[1,"scroll-bts"],[1,"scroll","toRight",3,"disabled","click"],["role","img","width","24","height","24","viewBox","0 0 24 24"],["href","./assets/img/sprite.svg#bt-scrollRight"],n,[1,"scroll","toLeft",3,"disabled","click"],["href","./assets/img/sprite.svg#bt-scrollLeft"],e,["cdkDrag","","role","presentation",3,"cdkDragDisabled","ngClass"],["tabs",""],["role","tab",3,"id","ngClass","click","keydown"],[4,"ngIf"],["class","delete","aria-label",t,3,"click",4,"ngIf"],["role","img","width","24","height","24","viewBox","0 0 24 24","preserveAspectRatio","xMidYMid meet"],["aria-label",t,1,"delete",3,"click"],["role","img","width","18","height","18","viewBox","0 0 18 18","preserveAspectRatio","xMidYMid meet"],["href","./assets/img/sprite.svg#bt-delete-tab"]]},template:function(e,t){1&e&&(o(),g(0,"div",0),Be(1,m5,15,2,"p",1),g(2,"ul",2,3),Me("cdkDropListDropped",function(s){return t.onDrop(s)}),Be(4,C5,6,20,"li",4),_(),l(5),_()),2&e&&($("ngClass",Bu(6,E5,t.hasScroll&&t.handleScroll)),O(1),$("ngIf",t.hasScroll&&t.handleScroll),O(1),$("ngClass",Bu(8,w5,t.handleScroll&&t.hasScroll))("cdkDropListData",t.tabs),ot("aria-label",t.label),O(2),$("ngForOf",t.tabs))},dependencies:[Fl,Up,co,tI,rI],styles:['div.tabsContainer[_ngcontent-%COMP%]{position:relative;width:100%}ul[role=tablist][_ngcontent-%COMP%]{display:flex;overflow-x:auto;gap:.25rem;list-style-type:none;border-bottom:2px solid var(--main-color)}ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative}button.tabber[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;gap:.5rem;width:100%;height:100%;line-height:1;font-family:var(--stack-b);white-space:nowrap;text-align:left;color:var(--body-text);background-color:var(--n-light);padding:.5em 1em;border-color:var(--main-color);border-radius:0;border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);z-index:2}button.tabber[_ngcontent-%COMP%]:hover{color:var(--text-inv);background-color:var(--hot-color)}button.tabber[aria-selected=true][_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--main-color);border-color:var(--main-color)}button.tabber[aria-selected=true][_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--text-inv)}button.delete[_ngcontent-%COMP%]{position:absolute;width:1em;height:1em;top:.5em;right:.8em;text-align:center;background-color:#fff0;padding:0;z-index:2}button.delete[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:initial}button.tabber.deletable[_ngcontent-%COMP%]{padding-right:2.5em}button.tabber[aria-selected=true][_ngcontent-%COMP%] + button.delete[_ngcontent-%COMP%]{display:block}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{position:relative;border:none}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:100%;height:1px;bottom:3px;background-color:var(--n-medium);z-index:3}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);padding:.5em .8em;border:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:4px solid var(--body-bg)}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:hover, .discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[aria-selected=true][_ngcontent-%COMP%]{background-color:var(--body-bg);border-color:var(--main-color)}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:focus-visible{outline-offset:-3px}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] c3m-tab-panel[_ngcontent-%COMP%] > div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--body-bg);padding:1rem 0 0}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{position:relative;border:none}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);padding:.5em .8em;border:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:4px solid var(--body-bg)}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:hover, .block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[aria-selected=true][_ngcontent-%COMP%]{background-color:var(--n-light);border-color:var(--n-light)}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:focus-visible{outline-offset:-3px}button.with-icon[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding-left:.75em}button.with-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--body-text)}button[aria-selected=true].with-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], button.with-icon[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--text-inv)}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;list-style-type:none;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;opacity:.5}.cdk-drag-placeholder[_ngcontent-%COMP%]{cursor:move;opacity:0}li.draggable[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active, .cdk-drop-list-dragging[_ngcontent-%COMP%]{cursor:move}.cdk-drag-animating[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] .cdk-drag[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.list.cdk-drop-dragging[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}ul[role=tablist].hasScroll[_ngcontent-%COMP%]{margin-right:80px;-ms-overflow-style:thin;scrollbar-width:thin;scroll-behavior:smooth}ul[role=tablist].hasScroll[_ngcontent-%COMP%]::-webkit-scrollbar{height:5px;background-color:#eee}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{-ms-overflow-style:thin;scrollbar-width:thin}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar{height:5px}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:#eee}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ccc}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%]{position:absolute;display:flex;width:74px;height:36px;top:0;right:0;z-index:10}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;overflow:hidden;white-space:nowrap;background-color:var(--body-bg);padding:0;border-radius:0;border-left:1px solid var(--n-medium);z-index:10}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%] button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{flex:0 0 37px}'],changeDetection:0});const A5=function(n,e,t){return{info:n,error:e,warning:t}};class Fn{constructor(){this.isError=!1,this.isWarning=!1}}Fn.\u0275fac=function(e){return new(e||Fn)},Fn.\u0275cmp=ue({type:Fn,selectors:[["c3m-message-block"]],inputs:{isError:"isError",isWarning:"isWarning"},ngContentSelectors:["*"],decls:6,vars:8,consts:function(){let n,e,t;return n=$localize`Information`,e=$localize`Error`,t=$localize`Alert`,[[1,"message","editorial",3,"ngClass"],["role","img","width","24","height","24","aria-labelledby","infoLabel",4,"ngIf"],[1,"content"],["role","img","width","24","height","24","aria-labelledby","infoLabel"],["id","infoLabel"],n,["href","./assets/img/sprite.svg#info"],e,["href","./assets/img/sprite.svg#error"],t,["href","./assets/img/sprite.svg#warning"]]},template:function(e,t){1&e&&(o(),g(0,"div",0),Be(1,D5,4,0,"svg",1),Be(2,T5,4,0,"svg",1),Be(3,I5,4,0,"svg",1),g(4,"div",2),l(5),_()()),2&e&&($("ngClass",VE(4,A5,!t.isError,t.isError,t.isWarning)),O(1),$("ngIf",!t.isError&&!t.isWarning),O(1),$("ngIf",t.isError),O(1),$("ngIf",t.isWarning))},dependencies:[Fl,co],styles:["div.message[_ngcontent-%COMP%]{position:relative;display:flex;gap:1rem;background-color:var(--sec-u-light);padding:1.5rem;margin-bottom:1rem;z-index:1}div.error[_ngcontent-%COMP%]{color:var(--n-s-dark);background-color:var(--hot-u-light)}div.warning[_ngcontent-%COMP%]{background-color:var(--hot-sec-light)}div.content[_ngcontent-%COMP%]{max-width:45em;line-height:1.45}svg[_ngcontent-%COMP%]{flex:0 0 24px;transform:scale(1.5);z-index:1}div.info[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--sec-color)}div.error[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], div.warning[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--alert-color)}"]});class id{constructor(e,t){this.router=e,this.element=t,this.subscription=this.router.events.pipe(ds(r=>r instanceof ma)).subscribe(r=>{if(r.url.includes("#"))return;const s=t.nativeElement;t&&(s.setAttribute("tabindex","-1"),s.focus())})}ngOnDestroy(){this.subscription.unsubscribe()}}id.\u0275fac=function(e){return new(e||id)(G(Pi),G(st,1))},id.\u0275dir=pt({type:id,selectors:[["","c3mFocusOnPageChange",""]]});class rd{constructor(){this.summary="",this.isOpen=!1,this.total="",this.panelId=""}ngOnInit(){this.randomIdValue=this.randomID(),this.panelId="colpanel-"+this.randomIdValue}randomID(){return Math.round(19999*Math.random()+1)}}rd.\u0275fac=function(e){return new(e||rd)},rd.\u0275cmp=ue({type:rd,selectors:[["c3m-collapsible"]],inputs:{summary:"summary",isOpen:"isOpen",total:"total"},ngContentSelectors:["*"],decls:7,vars:4,consts:[[3,"id"],[1,"content"]],template:function(e,t){1&e&&(o(),g(0,"details",0)(1,"summary"),v(2),g(3,"span"),v(4),_()(),g(5,"div",1),l(6),_()()),2&e&&($("id",t.panelId),ot("open",t.isOpen?"open":null),O(2),Ht(" ",t.summary," "),O(2),Ht("(",t.total,")"))},styles:["details[_ngcontent-%COMP%]{position:relative;background-color:var(--n-light);margin-bottom:1rem;box-shadow:#3c40434d 0 1px 2px,#3c404326 0 2px 6px 2px}details[open][_ngcontent-%COMP%]{background-color:var(--body-bg)}summary[_ngcontent-%COMP%]{font:.9em/1 var(--stack-b);color:var(--text-inv);background-color:var(--main-dark);padding:1rem;cursor:pointer}summary[_ngcontent-%COMP%]:focus{outline:none}summary[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--stack)}div.content[_ngcontent-%COMP%]{font-size:.9rem;padding:1rem 1rem 1rem 2rem}@media screen and (min-width: 1000px){summary[_ngcontent-%COMP%]{font-size:.95em}}"]});class sd{constructor(e){this.element=e}set c3mAutofocus(e){const t=this.element.nativeElement;setTimeout(()=>{t.focus()},0)}}sd.\u0275fac=function(e){return new(e||sd)(G(st))},sd.\u0275dir=pt({type:sd,selectors:[["","c3mAutofocus",""]],inputs:{c3mAutofocus:"c3mAutofocus"}});class od{constructor(e){this.el=e,this.isOpen=!1,this.modalTitle="",this.theId=this.randomID(),this.dialogTitle="modalTitle"+this.theId,this.dialogDescription="modalDesc"+this.theId}handleKeyEvents(e){const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=t[t.length-1],s=t[0];if("Escape"===e.key)return this.isOpen=!1,this.buttonTrigger.focus(),void e.stopPropagation();("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===s&&(r.focus(),e.preventDefault()):document.activeElement===r&&(s.focus(),e.preventDefault()))}ToggleOpen(){this.isOpen?this.isOpen&&(this.isOpen=!1,this.buttonTrigger.focus()):(this.isOpen=!0,this.buttonTrigger=document.activeElement)}randomID(){return Math.round(19999*Math.random()+1)}}od.\u0275fac=function(e){return new(e||od)(G(st))},od.\u0275cmp=ue({type:od,selectors:[["c3m-modal"]],inputs:{isOpen:"isOpen",modalTitle:"modalTitle"},ngContentSelectors:["*"],decls:15,vars:6,consts:function(){let n;return n=$localize`Close modal`,[["role","dialog","aria-modal","true",1,"modal",3,"keydown"],["dialogElement",""],[1,"overlay",3,"click"],[1,"modal-body"],[1,"modal-title",3,"id"],["type","button","aria-label","Close modal",1,"modal-close",3,"c3mAutofocus","click"],["role","img","width","25","height","25"],n,["href","./assets/img/sprite.svg#bt-close"],[1,"content",3,"id"]]},template:function(e,t){1&e&&(o(),g(0,"div",0,1),Me("keydown",function(s){return t.handleKeyEvents(s)}),g(2,"div",2),Me("click",function(){return t.ToggleOpen()}),_(),g(3,"div",3)(4,"header")(5,"h2",4),v(6),_(),g(7,"p")(8,"button",5),Me("click",function(){return t.ToggleOpen()}),He(),g(9,"svg",6)(10,"title"),io(11,7),_(),ee(12,"use",8),_()()()(),et(),g(13,"div",9),l(14),_()()()),2&e&&(ot("aria-hidden",!t.isOpen)("aria-labelledby",t.dialogTitle),O(5),$("id",t.dialogTitle),O(1),Ht(" ",t.modalTitle," "),O(2),$("c3mAutofocus",t.isOpen),O(5),$("id",t.dialogDescription))},dependencies:[sd],styles:["div.modal[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}header[_ngcontent-%COMP%]{margin-bottom:2vw}h2[_ngcontent-%COMP%]{font:1.2em var(--stack-b);line-height:1.2;margin-right:5em}div.modal[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.modal[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000b3}div.modal-body[_ngcontent-%COMP%]{box-sizing:border-box;position:absolute;width:90%;max-width:800px;height:90vh;left:0;right:0;top:5vh;background-color:var(--body-bg);padding:1rem 1.5rem 1.5rem;margin:0 auto;border-radius:var(--radius);z-index:1001}div.content[_ngcontent-%COMP%]{box-sizing:border-box;overflow-y:auto;height:85%}button.modal-close[_ngcontent-%COMP%]{position:absolute;top:1rem;right:1rem;color:var(--n-dark);background-color:var(--body-bg);padding:0}.simple-dialog[_nghost-%COMP%] div.modal-body[_ngcontent-%COMP%]{max-width:500px;height:auto;top:20%}.simple-dialog[_nghost-%COMP%] div.content[_ngcontent-%COMP%]{overflow-y:visible;height:auto}.simple-dialog[_nghost-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:1rem}@media screen and (min-width: 1000px){h2[_ngcontent-%COMP%]{font-size:1.4em}}"]});class ad{openModal(){this.modal.ToggleOpen()}}ad.\u0275fac=function(e){return new(e||ad)},ad.\u0275cmp=ue({type:ad,selectors:[["c3m-modal-trigger"]],inputs:{modal:"modal",disabled:"disabled"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["type","button",1,"modal-trigger",3,"disabled","click"]],template:function(e,t){1&e&&(o(),g(0,"button",0),Me("click",function(){return t.openModal()}),l(1),_()),2&e&&$("disabled",t.disabled)},styles:[".icon-bt[_nghost-%COMP%] button.modal-trigger[_ngcontent-%COMP%]{width:37px;height:37px;padding:0}"]});class ld{constructor(e){this.el=e,this.isOpen=!1,this.sbTitle="Confirmation",this.theId=this.randomID(),this.dialogTitle="sbTitle"+this.theId,this.dialogDescription="sbDesc"+this.theId}handleKeyEvents(e){const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=t[t.length-1],s=t[0];("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===s&&(r.focus(),e.preventDefault()):document.activeElement===r&&(s.focus(),e.preventDefault()))}ToggleOpen(e){if(this.isOpen)this.isOpen&&(this.isOpen=!1,e.target.focus());else{const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');this.isOpen=!0,setTimeout(function(){t[0].focus()},500)}}randomID(){return Math.round(19999*Math.random()+1)}}ld.\u0275fac=function(e){return new(e||ld)(G(st))},ld.\u0275cmp=ue({type:ld,selectors:[["c3m-snackbar"]],inputs:{isOpen:"isOpen",sbTitle:"sbTitle"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["role","alertdialog","aria-modal","true",1,"snackbar",3,"keydown"],["dialogElement",""],[1,"overlay"],[1,"sb-body"],[1,"sr-only",3,"id"],[1,"content",3,"id"]],template:function(e,t){1&e&&(o(),g(0,"div",0,1),Me("keydown",function(s){return t.handleKeyEvents(s)}),ee(2,"div",2),g(3,"div",3)(4,"h2",4),v(5),_(),g(6,"div",5),l(7),_()()()),2&e&&(ot("aria-hidden",!t.isOpen)("aria-labelledby",t.dialogTitle)("aria-describedby",t.dialogDescription),O(4),$("id",t.dialogTitle),O(1),no(t.sbTitle),O(1),$("id",t.dialogDescription))},styles:["@keyframes _ngcontent-%COMP%_slideSb{0%{bottom:-15vh}to{bottom:0}}div.snackbar[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}header[_ngcontent-%COMP%]{margin-bottom:2vw}h2[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.2;margin-bottom:1rem}div.snackbar[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.snackbar[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000b3;z-index:1000}div.sb-body[_ngcontent-%COMP%]{overflow:hidden;box-sizing:border-box;position:absolute;width:calc(100% - 2rem);left:1rem;bottom:-15vh;color:var(--text-inv);background-color:var(--main-dark);padding:1rem 1.5rem;margin:0 auto;border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);box-shadow:0 -4px 5px #00000040;z-index:1001;animation:_ngcontent-%COMP%_slideSb forwards .2s;z-index:1010}div.sb-body[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem}div.content[_ngcontent-%COMP%] .buttons-bar{flex-direction:row;margin:0}"]});const k5=function(n,e){return{active:n,inactive:e}};class cd{constructor(){this.active=!1,this.toastText="",this.delay=6500,this.role="status",this.styleClass="slide-to-bottom",this.idToastNum=this.randomID()}ngOnInit(){this.toastId="toast"+this.idToastNum}keyEvent(e){if("Escape"===e.key)return this.closeToast(e),void e.stopPropagation()}toggleToast(e){!1===this.active&&(this.active=!0,this.delay>0&&setTimeout(()=>{this.closeToast(e)},this.delay))}closeToast(e){this.active=!1,setTimeout(()=>{e.target.focus()},100)}randomID(){return Math.round(19999*Math.random()+1)}}function O5(n,e){if(1&n&&(g(0,"a",4),v(1),_()),2&n){const t=c();$("routerLink",t.linkUrl),O(1),Ht(" ",t.label," ")}}function F5(n,e){if(1&n&&(g(0,"span"),v(1),_()),2&n){const t=c();O(1),Ht(" ",t.label," ")}}function L5(n,e){if(1&n){const t=qn();g(0,"button",5),Me("click",function(){return Tt(t),ft(c().deleteChip())}),He(),g(1,"svg",6),ee(2,"use",7),_(),et(),Ii(3),io(4,8),ai(),v(5),_()}if(2&n){const t=c();$("disabled",t.disabled),ot("aria-label","Delete chip "+t.label),O(5),Ht(" ",t.label," ")}}cd.\u0275fac=function(e){return new(e||cd)},cd.\u0275cmp=ue({type:cd,selectors:[["c3m-toast"]],hostBindings:function(e,t){1&e&&Me("keydown",function(s){return t.keyEvent(s)},0,is)},inputs:{toastText:"toastText",delay:"delay",role:"role",disabled:"disabled",styleClass:"styleClass"},decls:9,vars:10,consts:function(){let n;return n=$localize`Close toast`,[[3,"ngClass"],[1,"content"],["aria-hidden","true",1,"close"],["type","button",1,"single",3,"disabled","click"],["role","img","width","25","height","25","aria-hidden","true",1,"icon-bts"],["href","./assets/img/sprite.svg#bt-close"],n]},template:function(e,t){1&e&&(g(0,"p",0)(1,"span",1),v(2),_(),g(3,"span",2)(4,"button",3),Me("click",function(s){return t.closeToast(s)}),He(),g(5,"svg",4),ee(6,"use",5),_(),et(),Ii(7),io(8,6),ai(),_()()()),2&e&&(function aD(n){Ir(si,us,n,!0)}(t.styleClass),$("ngClass",$E(7,k5,t.active,!t.active)),ot("role",t.role),O(2),Ht(" ",t.toastText," "),O(2),$("disabled",t.disabled))},dependencies:[Fl],styles:["@keyframes _ngcontent-%COMP%_slideToTop{0%{bottom:-50em;opacity:0}80%{bottom:2rem;transition:bottom .5s cubic-bezier(.43,1.18,.99,.98);opacity:.5}to{bottom:2rem;transition:bottom .5s cubic-bezier(.43,1.18,.99,.98);opacity:1}}@keyframes _ngcontent-%COMP%_slideToBottom{0%{top:-50em;opacity:0}80%{top:2rem;transition:top .5s cubic-bezier(.43,1.18,.99,.98);opacity:.5}to{top:2rem;transition:top .5s cubic-bezier(.43,1.18,.99,.98);opacity:1}}.slide-to-top[_ngcontent-%COMP%]{bottom:-50em}.slide-to-top.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideToTop 1s forwards}.slide-to-bottom[_ngcontent-%COMP%], .status-ok[_ngcontent-%COMP%]{top:-50em}.slide-to-bottom.active[_ngcontent-%COMP%], .status-ok.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideToBottom 1s forwards}svg[_ngcontent-%COMP%] *{fill:#fff}p[_ngcontent-%COMP%]{position:fixed;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:90%;max-width:31em;right:5%;color:var(--body-text);background-color:var(--sec-light);padding:.5rem 1rem;border-radius:var(--radius);box-shadow:0 3px 8px #00000080;z-index:5000}p[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:none}p.active[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block}span.close[_ngcontent-%COMP%]{display:none;width:25px;height:25px;margin-left:2rem}p.active[_ngcontent-%COMP%] span.close[_ngcontent-%COMP%]{display:block}button.single[_ngcontent-%COMP%]{overflow:hidden;width:25px;height:25px;background-color:#9b656500;padding:0}p[role=alert][_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--alert-color)}.normal[_nghost-%COMP%] [role=status][_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--main-light)}[_nghost-%COMP%] [role=status][_ngcontent-%COMP%] svg[_ngcontent-%COMP%] *{fill:var(--body-text)}"]});class ud{constructor(e,t){this.elementRef=e,this.renderer=t,this.label="",this.deletable=!0,this.disabled=!1,this.linkUrl="",this.chipIdNum=this.randomID()}ngOnInit(){this.chipId="chip"+this.chipIdNum}deleteChip(){this.renderer.removeChild(this.elementRef.nativeElement.parentNode,this.elementRef.nativeElement)}randomID(){return Math.round(19999*Math.random()+1)}}function B5(n,e){if(1&n&&(Ii(0),v(1),ai()),2&n){const t=c();O(1),Ht(" ",t.label," ")}}function $5(n,e){if(1&n&&(Ii(0),He(),g(1,"svg",7),ee(2,"use"),_(),ai()),2&n){const t=c();O(2),ot("href","./assets/img/sprite.svg#"+t.imgSrc)}}ud.\u0275fac=function(e){return new(e||ud)(G(st),G(Qo))},ud.\u0275cmp=ue({type:ud,selectors:[["c3m-chip"]],inputs:{label:"label",deletable:"deletable",disabled:"disabled",linkUrl:"linkUrl"},decls:4,vars:3,consts:function(){let n;return n=$localize`Delete`,[[1,"chip"],[3,"routerLink",4,"ngIf"],[4,"ngIf"],["type","button",3,"disabled","click",4,"ngIf"],[3,"routerLink"],["type","button",3,"disabled","click"],["role","img","width","25","height","25","aria-hidden","true"],["href","./assets/img/sprite.svg#bt-close"],n]},template:function(e,t){1&e&&(g(0,"span",0),Be(1,O5,2,2,"a",1),Be(2,F5,2,1,"span",2),Be(3,L5,6,3,"button",3),_()),2&e&&(O(1),$("ngIf",""!==t.linkUrl),O(1),$("ngIf",""===t.linkUrl),O(1),$("ngIf",t.deletable))},dependencies:[co,ps],styles:[".chip[_ngcontent-%COMP%]{display:inline-flex;justify-content:space-between;align-items:center;gap:.5em;white-space:nowrap;line-height:1.75;font-size:.8rem;color:var(--main-dark);background-color:var(--n-light);padding:.25em .5em .15em;margin:.25rem;border:1px solid var(--n-medium);border-radius:calc(var(--radius) / 1.5)}.whole[_nghost-%COMP%] .chip[_ngcontent-%COMP%]{display:flex}button[_ngcontent-%COMP%]{position:relative;overflow:hidden;top:-1px;left:4px;width:25px;height:23px;background-color:#fff0;padding:0}a[_ngcontent-%COMP%], span[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-.1em}"]});const V5=function(n){return{"image-dd":n}};class dd{constructor(e){this.elementRef=e,this.isOpen=!1,this.label="",this.ariaLabel="",this.imgSrc="",this.imgAlt=""}toggleOpen(){this.isOpen=!this.isOpen}close(){setTimeout(()=>{this.elementRef.nativeElement.querySelector(":focus")||(this.elementRef.nativeElement.removeAttribute("open"),this.isOpen=!1)},100)}escClose(e){"Escape"===e.code&&(this.isOpen=!1,this.elementRef.nativeElement.querySelector("button.control").focus(),e.stopPropagation())}}dd.\u0275fac=function(e){return new(e||dd)(G(st))},dd.\u0275cmp=ue({type:dd,selectors:[["c3m-dropdown"]],inputs:{isOpen:"isOpen",label:"label",ariaLabel:"ariaLabel",disabled:"disabled",imgSrc:"imgSrc",imgAlt:"imgAlt"},ngContentSelectors:["*"],decls:10,vars:9,consts:[[1,"dropdown",3,"focusout","keydown"],["type","button",1,"control",3,"ngClass","disabled","click","focusout"],[4,"ngIf"],["role","img","width","15","height","9","aria-hidden","true",1,"control","arrow"],["href","./assets/img/sprite.svg#pic-arrow"],["role","img","width","15","height","15",1,"control","kebab"],["href","./assets/img/sprite.svg#pic-kebab"],["role","img","width","24","height","24"]],template:function(e,t){1&e&&(o(),g(0,"div",0),Me("focusout",function(){return t.close()})("keydown",function(s){return t.escClose(s)}),g(1,"button",1),Me("click",function(){return t.toggleOpen()})("focusout",function(){return t.close()}),Be(2,B5,2,1,"ng-container",2),Be(3,$5,3,1,"ng-container",2),He(),g(4,"svg",3),ee(5,"use",4),_(),g(6,"svg",5),ee(7,"use",6),_()(),et(),g(8,"ul"),l(9),_()()),2&e&&(O(1),$("ngClass",Bu(7,V5,""!==t.imgSrc))("disabled",t.disabled),ot("aria-label",""===t.imgSrc?t.ariaLabel:t.imgAlt)("aria-expanded",t.isOpen),O(1),$("ngIf",""===t.imgSrc),O(1),$("ngIf",""!==t.imgSrc),O(5),ot("aria-hidden",!t.isOpen))},dependencies:[Fl,co],styles:["div.dropdown[_ngcontent-%COMP%]{display:inline-block;position:relative}div.dropdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:.95rem}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%]{padding:.5em .75em .5em .5em}div.dropdown[_ngcontent-%COMP%] button.control[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;margin-left:.5em}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:37px;height:36px;border-radius:var(--radius)}.top-level[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] button.control[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);border-color:var(--body-bg)}div.dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{box-sizing:border-box;display:none;position:absolute;overflow:hidden;width:100%;max-width:15em;min-width:10em;height:1px;list-style-type:none;color:var(--n-dark);background-color:var(--body-bg);padding:.5em;border-radius:var(--radius);box-shadow:0 3px 5px #0000004d;opacity:0;transition:all .3s;z-index:1010}div.dropdown[_ngcontent-%COMP%] button.control[aria-expanded=true][_ngcontent-%COMP%] + ul[_ngcontent-%COMP%]{display:block;height:auto;opacity:1;transition:all .3s}button.control[aria-expanded=true][_ngcontent-%COMP%] svg.control[_ngcontent-%COMP%]{transform:rotate(180deg) scale(75%)}svg.arrow[_ngcontent-%COMP%]{display:inline-block;transform:scale(75%);vertical-align:baseline}svg.kebab[_ngcontent-%COMP%]{display:none}.others[_nghost-%COMP%] button.control[_ngcontent-%COMP%]{padding:.625em}.others[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] svg.arrow[_ngcontent-%COMP%]{display:none}.others[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] svg.kebab[_ngcontent-%COMP%]{display:inline-block;margin:0}div.dropdown[_ngcontent-%COMP%] li button, div.dropdown[_ngcontent-%COMP%] li a{font-family:var(--stack);color:var(--body-text);background-color:var(--body-bg);padding:.5em;border-radius:var(--radius)}div.dropdown[_ngcontent-%COMP%] li button:hover, div.dropdown[_ngcontent-%COMP%] li a:hover{background-color:var(--hot-u-light)}div.dropdown[_ngcontent-%COMP%] li button:focus, div.dropdown[_ngcontent-%COMP%] li a:focus{background-color:var(--hot-u-light)}div.dropdown[_ngcontent-%COMP%] li button{width:100%;text-align:left}div.dropdown[_ngcontent-%COMP%] li a{display:block}.to-left[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{right:0;left:auto}@media screen and (min-width: 1000px){h2[_ngcontent-%COMP%]{font-size:1.4em}}"]});class hd{}hd.\u0275fac=function(e){return new(e||hd)},hd.\u0275cmp=ue({type:hd,selectors:[["c3m-dropdown-item"]],ngContentSelectors:["*"],decls:2,vars:0,template:function(e,t){1&e&&(o(),g(0,"li"),l(1),_())},styles:["li[_ngcontent-%COMP%]{font-size:.95rem}"]});class pd{constructor(){this.isOpen=!1,this.theId=this.randomID(),this.spinnerTextId="progress"+this.theId}ToggleOpen(e){this.isOpen?this.isOpen&&(this.isOpen=!1,e.target.focus()):this.isOpen=!0}randomID(){return Math.round(19999*Math.random()+1)}}pd.\u0275fac=function(e){return new(e||pd)},pd.\u0275cmp=ue({type:pd,selectors:[["c3m-progress-spinner"]],inputs:{progressText:"progressText"},decls:4,vars:2,consts:[["aria-live","assertive",1,"progress"],[1,"content"],[1,"overlay"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1),ee(2,"div",2),v(3),_()()),2&e&&(O(1),ot("aria-hidden",!t.isOpen),O(2),Ht(" ",t.progressText," "))},styles:['@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}div.progress[_ngcontent-%COMP%] div.content[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.progress[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000d9}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:before, div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{display:block;position:absolute;content:"";width:100px;height:100px;top:calc(40% - 58px);left:calc(50% - 58px);background-color:#fff0;border-radius:100%;border:15px solid rgba(255,255,255,.25);box-shadow:0 0 5px #00000040}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:before{box-shadow:0 0 5px #00000040}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{border-left:15px solid rgba(255,255,255,.85);transform-origin:50% 50%;animation:_ngcontent-%COMP%_spin 1.1s infinite linear}@media (prefers-reduced-motion){div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{animation:spin 6s infinite linear}}']});class Wl{constructor(e){this.element=e,this.originalCSSPosition=""}isExtremeRight(e){return e.getBoundingClientRect().left+250>window.innerWidth}storeOriginalPosition(e){return window.getComputedStyle(e).getPropertyValue("position")}openTooltip(){this.theTitle=this.element.nativeElement.querySelector("title"),this.theText=this.theTitle?this.theTitle.textContent:this.element.nativeElement.innerText,this.theTooltip=document.createElement("span"),this.theTooltip.classList.add("tooltip"),this.isExtremeRight(this.element.nativeElement)&&this.theTooltip.classList.add("to-left"),this.theTooltip.setAttribute("role","tooltip"),this.theTooltip.style.top=this.element.nativeElement.offsetHeight+10+"px",this.theTooltip.textContent=this.theText,this.originalCSSPosition=this.storeOriginalPosition(this.element.nativeElement.parentNode),"relative"!=this.originalCSSPosition&&(this.element.nativeElement.parentNode.style.position="relative"),this.element.nativeElement.parentNode.appendChild(this.theTooltip)}closeAllTooltips(){document.querySelectorAll("span.tooltip").length>0&&(this.element.nativeElement.parentNode.style.position=this.originalCSSPosition,this.theTooltip.parentNode&&this.theTooltip.parentNode.removeChild(this.theTooltip))}handleMouseEnter(e){this.openTooltip(),e.stopPropagation()}handleFocus(e){this.openTooltip(),e.stopPropagation()}handleMouseLeave(e){this.closeAllTooltips(),e.stopPropagation()}handleMouseDown(e){this.closeAllTooltips(),e.stopPropagation()}handleFocusOut(e){this.closeAllTooltips(),e.stopPropagation()}handleClick(e){this.closeAllTooltips()}}function H5(n,e){if(1&n&&(Ii(0),g(1,"button",1),He(),g(2,"svg",2),ee(3,"use"),_(),v(4),_(),ai()),2&n){const t=c();O(1),$("disabled",t.disabled),O(2),ot("href","./assets/img/sprite.svg#"+t.svgId),O(1),Ht(" ",t.aName," ")}}function z5(n,e){if(1&n&&(Ii(0),g(1,"a",3),He(),g(2,"svg",2),ee(3,"use"),_(),v(4),_(),ai()),2&n){const t=c();O(1),$("routerLink",t.rLink),O(2),ot("href","./assets/img/sprite.svg#"+t.svgId),O(1),Ht(" ",t.aName," ")}}Wl.\u0275fac=function(e){return new(e||Wl)(G(st))},Wl.\u0275dir=pt({type:Wl,selectors:[["","c3mTooltip",""]],hostBindings:function(e,t){1&e&&Me("mouseenter",function(s){return t.handleMouseEnter(s)})("focus",function(s){return t.handleFocus(s)})("mouseleave",function(s){return t.handleMouseLeave(s)})("mousedown",function(s){return t.handleMouseDown(s)})("focusout",function(s){return t.handleFocusOut(s)})("click",function(s){return t.handleClick(s)})}});class Kl{constructor(){this.aName="Action",this.svgId="",this.rLink="",this.randomIdValue=this.randomID()}ngOnInit(){this.btID="acbt"+this.randomIdValue}randomID(){return Math.round(19999*Math.random()+1)}}Kl.\u0275fac=function(e){return new(e||Kl)},Kl.\u0275cmp=ue({type:Kl,selectors:[["c3m-icon-button"]],inputs:{aName:"aName",svgId:"svgId",rLink:"rLink",disabled:"disabled"},decls:2,vars:2,consts:[[4,"ngIf"],["c3mTooltip","","type","button",3,"disabled"],["role","img","width","24","height","24","viewBox","0 0 24 24","aria-hidden","true"],["c3mTooltip","",3,"routerLink"]],template:function(e,t){1&e&&(Be(0,H5,5,3,"ng-container",0),Be(1,z5,5,3,"ng-container",0)),2&e&&($("ngIf",""===t.rLink),O(1),$("ngIf",""!==t.rLink))},dependencies:[co,ps,Wl],styles:["button[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;overflow:hidden;width:37px;height:36px;white-space:nowrap;background-color:var(--main-dark);padding:0;z-index:5}svg[_ngcontent-%COMP%]{flex:0 0 37px;fill:currentColor;pointer-events:all}.alert[_nghost-%COMP%] button[_ngcontent-%COMP%]{background-color:var(--hot-color)}svg[_ngcontent-%COMP%] title[_ngcontent-%COMP%]{display:none}button[disabled][_ngcontent-%COMP%]:hover{background-color:var(--main-dark)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited{display:inline-flex;align-items:center;overflow:hidden;width:37px;height:36.5px;font:100%/1.35 var(--stack);white-space:nowrap;color:var(--text-inv);background-color:var(--main-color);border-radius:var(--radius);position:relative;z-index:5}a[_ngcontent-%COMP%]:hover{background-color:var(--hot-color)}a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--n-dark)}.highlight[_nghost-%COMP%] button[_ngcontent-%COMP%]{background-color:var(--hot-color)}.discrete[_nghost-%COMP%] button[_ngcontent-%COMP%], .discrete[_nghost-%COMP%] a[_ngcontent-%COMP%]{background-color:#fff0}.discrete[_nghost-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--main-dark)}.minimal[_nghost-%COMP%] button[_ngcontent-%COMP%], .minimal[_nghost-%COMP%] a[_ngcontent-%COMP%]{width:24px;height:24px;gap:3rem;background-color:#fff0;padding:0;vertical-align:middle}.minimal[_nghost-%COMP%] svg[_ngcontent-%COMP%]{flex:0 0 24px;fill:var(--main-dark);transform:scale(.8)}.minimal[_nghost-%COMP%] button[_ngcontent-%COMP%]:hover, .minimal[_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:var(--n-light)}"]});const q5=["token"];function G5(n,e){if(1&n){const t=qn();g(0,"c3m-icon-button",3),Me("click",function(){return Tt(t),ft(c().toggleEllipse())}),_()}2&n&&$("svgId",c().isExpanded?"bt-less":"bt-plus")}const W5=function(n){return{expanded:n}};class fd{constructor(){this.textCount=55,this.isExpanded=!1}toggleEllipse(){this.isExpanded=!this.isExpanded}ngAfterViewInit(){setTimeout(()=>{this.isExpandable=this.token.nativeElement.innerText.length>this.textCount},1e3)}}fd.\u0275fac=function(e){return new(e||fd)},fd.\u0275cmp=ue({type:fd,selectors:[["c3m-text-ellipsis"]],viewQuery:function(e,t){if(1&e&&ro(q5,5),2&e){let r;ci(r=ui())&&(t.token=r.first)}},inputs:{textCount:"textCount"},ngContentSelectors:["*"],decls:4,vars:4,consts:function(){let n;return n=$localize`Display/hide all text`,[[3,"ngClass"],["token",""],["class","minimal","aName",n,3,"svgId","click",4,"ngIf"],["aName",n,1,"minimal",3,"svgId","click"]]},template:function(e,t){1&e&&(o(),g(0,"span",0,1),l(2),_(),Be(3,G5,1,1,"c3m-icon-button",2)),2&e&&($("ngClass",Bu(2,W5,t.isExpanded)),O(3),$("ngIf",t.isExpandable))},dependencies:[Fl,co,Kl],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:1rem}span[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:25em}span.expanded[_ngcontent-%COMP%]{text-overflow:unset;white-space:normal;line-height:1.45}"]});class wf{constructor(e){this.element=e}ngOnInit(){const e=this.element.nativeElement,t=e.querySelector("input"),r=e.getAttribute("name"),a=document.querySelectorAll("[name="+r+"]");t.addEventListener("click",function(){a.forEach(u=>{u.getAttribute("name")==r&&u!=t&&(u.querySelector("input").checked=t.checked)})})}}function Q5(n,e){if(1&n&&(g(0,"li"),v(1),_()),2&n){const t=e.$implicit;O(1),no(t)}}wf.\u0275fac=function(e){return new(e||wf)(G(st))},wf.\u0275dir=pt({type:wf,selectors:[["","c3mCheckAll",""]]});class gd{constructor(){this.isOpen=!1,this.label="",this.countries=[],this.acValue="",this.filteredCountriesList=[]}toggleOpen(){this.isOpen=!this.isOpen}close(){this.isOpen=!1}escClose(e){"Escape"===e.code&&(this.isOpen=!1)}onChange(e){this.acValue=e.target.value,this.filteredCountriesList=this.countries.filter(t=>t.toLowerCase().startsWith(this.acValue.toLowerCase()))}}gd.\u0275fac=function(e){return new(e||gd)},gd.\u0275cmp=ue({type:gd,selectors:[["c3m-autocomplete"]],inputs:{isOpen:"isOpen",label:"label",countries:"countries",acValue:"acValue",filteredCountriesList:"filteredCountriesList"},decls:12,vars:5,consts:[["for","b1-input"],[1,"box","box-list",3,"focusout","keydown"],[1,"group"],["id","b1-input","type","text","role","combobox","aria-autocomplete","countries","aria-controls","b1-listbox",1,"b_edit",3,"focus","click","keyup"],["acInput",""],["id","b1-button","tabindex","-1","aria-label","Regions","aria-controls","b1-listbox",3,"click","close"],["width","18","height","16","aria-hidden","true","focusable","false",2,"forced-color-adjust","auto"],["stroke-width","0","fill-opacity","0.75","fill","currentcolor","points","3,6 15,6 9,14",1,"arrow"],["id","b1-listbox","role","listbox","aria-label","Regions",3,"hidden"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(g(0,"label",0),v(1),_(),g(2,"div",1),Me("focusout",function(){return t.close()})("keydown",function(s){return t.escClose(s)}),g(3,"div",2)(4,"input",3,4),Me("focus",function(){return t.toggleOpen()})("click",function(s){return t.onChange(s)})("keyup",function(s){return t.onChange(s)}),_(),g(6,"button",5),Me("click",function(){return t.toggleOpen()})("close",function(){return t.close()}),He(),g(7,"svg",6),ee(8,"polygon",7),_()(),et(),g(9,"ul",8)(10,"p"),Be(11,Q5,2,1,"li",9),_()()()()),2&e&&(O(1),no(t.label),O(3),ot("aria-expanded",t.isOpen),O(2),ot("aria-expanded",t.isOpen),O(3),$("hidden",!t.isOpen),O(2),$("ngForOf",t.filteredCountriesList))},dependencies:[Up],styles:["#b1-listbox[_ngcontent-%COMP%]{padding:.4rem;position:absolute;list-style:none;background-color:#fff;border:1px solid grey;min-width:14.6rem;max-height:14rem;overflow:scroll;overflow-x:hidden;font-size:95%;cursor:pointer}#b1-listbox[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:10px}"]});class md{}md.\u0275fac=function(e){return new(e||md)},md.\u0275mod=ki({type:md}),md.\u0275inj=at({imports:[KT,N0,gF,Lw,Q8]});class Sf{constructor(){this.pageTitle="Accordion",this.componentName="c3m-accordion/ c3m-accordion-item",this.resourceType="Component"}}Sf.\u0275fac=function(e){return new(e||Sf)},Sf.\u0275cmp=ue({type:Sf,selectors:[["app-accordion-page"]],decls:102,vars:2,consts:[["id","accordion"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["titleLevel","4"],["label","First block","total","5"],["label","Second block",3,"isOpen"],["href","#"],["label","Third block"],["label","Forth block"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-accordion",3)(6,"c3m-accordion-item",4)(7,"p"),v(8,"Content of the block"),_()(),g(9,"c3m-accordion-item",5)(10,"p"),v(11," Content of the block with "),g(12,"a",6),v(13,"a link"),_()()(),g(14,"c3m-accordion-item",7)(15,"p"),v(16,"Content of the block"),_()(),g(17,"c3m-accordion-item",8)(18,"p"),v(19,"Content of the block"),_()()()(),g(20,"c3m-tab-panel",9)(21,"pre"),v(22,' \n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n
\n '),_()()()(),g(23,"section",10)(24,"h3"),v(25,"Properties and Events"),_(),g(26,"table",11)(27,"caption"),v(28," Properties applicable to the component "),g(29,"code"),v(30,"c3m-accordion"),_()(),g(31,"tr")(32,"th",12),v(33,"Name"),_(),g(34,"th",12),v(35,"Type"),_(),g(36,"th",12),v(37,"Default"),_(),g(38,"th",12),v(39,"Description"),_()(),g(40,"tr")(41,"td",13),v(42,"titleLevel"),_(),g(43,"td",14),v(44,"string"),_(),g(45,"td",15),v(46,'"2"'),_(),g(47,"td"),v(48," Level of title for the accordion blocks; use it to adjust the component to the document's hierarchy "),_()(),g(49,"tr")(50,"td",13),v(51,"label"),_(),g(52,"td",14),v(53,"string"),_(),g(54,"td",15),v(55,'""'),_(),g(56,"td"),v(57,"Adds link with given absolute URL to chip's label"),_()()(),g(58,"table",11)(59,"caption"),v(60," Properties applicable to the component "),g(61,"code"),v(62,"c3m-accordion-item"),_()(),g(63,"tr")(64,"th",12),v(65,"Name"),_(),g(66,"th",12),v(67,"Type"),_(),g(68,"th",12),v(69,"Default"),_(),g(70,"th",12),v(71,"Description"),_()(),g(72,"tr")(73,"td",13),v(74,"label"),_(),g(75,"td",14),v(76,"string"),_(),g(77,"td",15),v(78,'""'),_(),g(79,"td"),v(80,"Defines the title of accordion item"),_()(),g(81,"tr")(82,"td",13),v(83,"[isOpen]"),_(),g(84,"td",14),v(85,"boolean"),_(),g(86,"td",15),v(87,"false"),_(),g(88,"td"),v(89,"Indicates if accordion item should be opened on page load"),_()(),g(90,"tr")(91,"td",13),v(92,"total"),_(),g(93,"td",14),v(94,"string"),_(),g(95,"td",15),v(96,'""'),_(),g(97,"td"),v(98,"Allows to indicate a total value for the accordion item content"),_()()(),g(99,"p")(100,"em"),v(101,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0),O(5),$("isOpen",!0))},dependencies:[nd,Gl,an,Gt]});class Df{}function Y5(n,e){if(1&n&&(g(0,"li")(1,"a",7),v(2),_()()),2&n){const t=e.$implicit,r=c(2);O(1),$("href",r.routeSkipLink(t.id),uu),O(1),Ht(" ",t.label," ")}}function Z5(n,e){if(1&n&&(g(0,"nav",5)(1,"ul"),Be(2,Y5,3,2,"li",6),_()()),2&n){const t=c();O(2),$("ngForOf",t.sections)}}Df.\u0275fac=function(e){return new(e||Df)},Df.\u0275cmp=ue({type:Df,selectors:[["app-home-page"]],decls:36,vars:0,consts:[[1,"home-wrapper"],[1,"home-highlight"],["routerLink","/portal/getting-started",1,"highlight"],[1,"cards-list","editorial"],[1,"card"],[1,"illustration"],["src","./assets/img/pic-a11y.svg","alt",""],["src","./assets/img/pic-web.svg","alt",""],["src","./assets/img/pic-responsive.svg","alt",""],[1,"home-note"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3,"Sparkle your Angular applications with our accessible components and patterns."),_(),g(4,"p")(5,"a",2),v(6,"Let's get started!"),_()()(),g(7,"div",3)(8,"div",4)(9,"p")(10,"strong"),v(11,"Be Accessible"),_()(),g(12,"p"),v(13," Web accessibility is what moved us into making this library, so we're doing our best to create the most accessible Angular components a library can offer. "),_(),g(14,"p",5),ee(15,"img",6),_()(),g(16,"div",4)(17,"p")(18,"strong"),v(19,"Embrace the Web"),_()(),g(20,"p"),v(21," Each component has been handcrafted with love, with a progressive enhancement approach, respecting web standards and semantics. "),_(),g(22,"p",5),ee(23,"img",7),_()(),g(24,"div",4)(25,"p")(26,"strong"),v(27,"Be Responsive"),_()(),g(28,"p"),v(29,"All components were designed to be fully responsive and multi-device."),_(),g(30,"p",5),ee(31,"img",8),_()()(),g(32,"p",9)(33,"strong"),v(34,"CreamNg"),_(),v(35," is being crafted with love by people who love the web. "),_()())},dependencies:[ps],styles:["div.home-wrapper[_ngcontent-%COMP%]{max-width:900px;margin:0 auto}div.home-highlight[_ngcontent-%COMP%]{max-width:17em;font-size:calc(1.5em + 1vw);line-height:calc(1em + 1vw);text-align:center;margin:5vw auto 10vw}div.home-highlight[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{font-family:var(--stack-b);margin-bottom:calc(1rem + 1vw)}div.cards-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:calc(2rem + 1vw);margin-bottom:10vw}.card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;flex:1 1 200px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(1){order:2;font-size:1.2em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(2){order:3}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(3){order:1;margin-bottom:1rem}p.home-note[_ngcontent-%COMP%]{font-size:.7em;text-align:center;background-image:url(\"data:image/svg+xml,%3Csvg id='Calque_1' data-name='Calque 1' xmlns='http://www.w3.org/2000/svg' width='11.76' height='9.82' viewBox='0 0 11.76 9.82'%3E%3Cpath d='M10.75.64C8.89-1.27,5.88,1.71,5.88,1.71s-3-3-4.86-1.07C-2.93,4.7,5.88,9.82,5.88,9.82S14.69,4.7,10.75.64Z' style='fill:%23d769a8'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center top;padding-top:18px}a.highlight[_ngcontent-%COMP%]{display:inline-block;color:var(--text-inv);background-color:var(--main-color);padding:.35em 1em .6em}a.highlight[_ngcontent-%COMP%]:hover{background-color:var(--hot-color)}"]});class Tf{constructor(e,t){this.cdr=e,this.location=t,this.pageTitle="",this.componentName="",this.resourceType="Component",this.isThereSubNav=!0,this.sections=[]}routeSkipLink(e){return`${this.location.prepareExternalUrl(this.location.path())}#${e}`}onActivate(e){this.pageTitle=e.pageTitle,this.componentName=e.componentName,this.resourceType=e.resourceType,this.cdr.detectChanges();const t=document.querySelectorAll("section");this.sections=[],t.forEach(r=>this.sections.push({id:r.id,label:r.firstChild.innerText})),this.isThereSubNav=t.length>0}}Tf.\u0275fac=function(e){return new(e||Tf)(G(ca),G($p))},Tf.\u0275cmp=ue({type:Tf,selectors:[["app-portal-layout"]],decls:11,vars:4,consts:[[1,"hgroup"],["c3mFocusOnPageChange","","tabindex","-1"],["aria-label","Sections on this page",4,"ngIf"],[1,"component-sheet"],[3,"activate"],["aria-label","Sections on this page"],[4,"ngFor","ngForOf"],[3,"href"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"h2",1)(2,"span")(3,"strong"),v(4),_(),v(5),_(),g(6,"code"),v(7),_()(),Be(8,Z5,3,1,"nav",2),_(),g(9,"div",3)(10,"router-outlet",4),Me("activate",function(s){return t.onActivate(s)}),_()()),2&e&&(O(4),no(t.pageTitle),O(1),Ht(" ",t.resourceType," "),O(2),no(t.componentName),O(1),$("ngIf",t.isThereSubNav))},dependencies:[Up,co,ey,id],styles:["div.hgroup[_ngcontent-%COMP%]{margin-bottom:calc(1.5rem + 2vw)}div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:1.2em var(--stack);color:var(--text-inv);background-color:var(--main-color);padding:.5em 1em;margin-bottom:1em}div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{display:block;font-size:initial;color:currentColor;background-color:var(--main-color);margin-top:.25em}div.hgroup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:1.5rem 1rem;padding:.5rem 0 .5rem 1.5rem;border-left:5px solid var(--main-light)}div.hgroup[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-width:30%;flex-basis:20%}div.hgroup[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none}@media screen and (min-width: 800px){div.hgroup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{flex-direction:row}}@media screen and (min-width: 1000px){div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:2em}}@media screen and (min-width: 1300px){div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}}"]});class If{constructor(){this.pageTitle="Tabs",this.componentName="c3m-tabs/ c3m-tab-panel",this.resourceType="Component"}}If.\u0275fac=function(e){return new(e||If)},If.\u0275cmp=ue({type:If,selectors:[["app-tabs-page"]],decls:320,vars:18,consts:[["id","general-tabs"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"demo"],["label","Tabs for demo"],["tabTitle","First Tab",3,"isActive"],["tabTitle","Second Tab"],["tabTitle","Third Tab"],["tabTitle","Application",1,"block-style"],["id","deletable-tabs"],[1,"introduction","editorial"],["label","Demo for deletable tabs"],["tabTitle","Second Tab",3,"deletable"],["tabTitle","Third Tab",3,"deletable"],["id","discrete-tabs"],["label","Demo for discrete tabs",1,"discrete"],["id","icon-tabs"],["label","Demo for tabs with icons"],["tabTitle","First Tab","svgName","star","svgTitle","Favorite",3,"isActive"],["tabTitle","Second Tab","svgName","star","svgTitle","Favorite"],["id","drag-tabs"],["label","Demo for draggable tabs"],["tabTitle","Fixed Tab",3,"isActive"],["tabTitle","Second Tab",3,"draggable"],["tabTitle","Third Tab",3,"draggable"],["id","responsive-tabs"],[1,"demo",2,"min-width","300px","width","50%"],["label","Responsive demo for tabs"],["tabTitle","Forth Tab"],["tabTitle","Fifth Tab"],["tabTitle","Sixth Tab"],["label","Responsive demo for tabs with custom scroll",3,"handleScroll"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"],["data-head","Parameters"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Tabs"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"c3m-tabs",4)(7,"c3m-tab-panel",5)(8,"p"),v(9,"This is the content of first tab"),_()(),g(10,"c3m-tab-panel",6)(11,"p"),v(12,"This is the content of second tab"),_()(),g(13,"c3m-tab-panel",7)(14,"p"),v(15,"This is the content of third tab"),_()()()()(),g(16,"c3m-tab-panel",8)(17,"pre"),v(18,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(19,"section",9)(20,"h3"),v(21,"Deletable Tabs"),_(),g(22,"div",10)(23,"c3m-message-block")(24,"p"),v(25," The "),g(26,"code"),v(27,"closeTab"),_(),v(28," built-in event can be used to retrieve data about the deleted tab. "),_()()(),g(29,"c3m-tabs",1)(30,"c3m-tab-panel",2)(31,"div",3)(32,"c3m-tabs",11)(33,"c3m-tab-panel",5)(34,"p"),v(35,"This is the content of first tab"),_()(),g(36,"c3m-tab-panel",12)(37,"p"),v(38,"This is the content of second tab"),_()(),g(39,"c3m-tab-panel",13)(40,"p"),v(41,"This is the content of third tab"),_()()()()(),g(42,"c3m-tab-panel",8)(43,"pre"),v(44,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(45,"section",14)(46,"h3"),v(47,"Discrete Tabs"),_(),g(48,"c3m-tabs",1)(49,"c3m-tab-panel",2)(50,"div",3)(51,"c3m-tabs",15)(52,"c3m-tab-panel",5)(53,"p"),v(54,"This is the content of first tab"),_()(),g(55,"c3m-tab-panel",6)(56,"p"),v(57,"This is the content of second tab"),_()(),g(58,"c3m-tab-panel",7)(59,"p"),v(60,"This is the content of third tab"),_()()()()(),g(61,"c3m-tab-panel",8)(62,"pre"),v(63,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(64,"section",16)(65,"h3"),v(66,"Tabs with Icons"),_(),g(67,"c3m-tabs",1)(68,"c3m-tab-panel",2)(69,"div",3)(70,"c3m-tabs",17)(71,"c3m-tab-panel",18)(72,"p"),v(73,"This is the content of first tab"),_()(),g(74,"c3m-tab-panel",19)(75,"p"),v(76,"This is the content of second tab"),_()(),g(77,"c3m-tab-panel",7)(78,"p"),v(79,"This is the content of third tab"),_()()()()(),g(80,"c3m-tab-panel",8)(81,"pre"),v(82,'\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n
\n '),_()()()(),g(83,"section",20)(84,"h3"),v(85,"Draggable Tabs"),_(),g(86,"div",10)(87,"c3m-message-block")(88,"p"),v(89," You can use the "),g(90,"code"),v(91,"changeTab"),_(),v(92," built-in event to get the updated data. "),_()()(),g(93,"c3m-tabs",1)(94,"c3m-tab-panel",2)(95,"div",3)(96,"c3m-tabs",21)(97,"c3m-tab-panel",22)(98,"p"),v(99,"This is the content of first tab. This one is not draggable."),_()(),g(100,"c3m-tab-panel",23)(101,"p"),v(102,"This is the content of second tab, draggable"),_()(),g(103,"c3m-tab-panel",24)(104,"p"),v(105,"This is the content of third tab, draggable"),_()()()()(),g(106,"c3m-tab-panel",8)(107,"pre"),v(108,'\n \n

This is the content of first tab. This one is not draggable.

\n
\n \n

This is the content of second tab, draggable

\n
\n \n

This is the content of third tab, draggable

\n
\n
\n '),_()()()(),g(109,"section",25)(110,"h3"),v(111,"Responsiveness"),_(),g(112,"c3m-tabs",1)(113,"c3m-tab-panel",2)(114,"div",26)(115,"c3m-tabs",27)(116,"c3m-tab-panel",5)(117,"p"),v(118,"This is the content of first tab"),_()(),g(119,"c3m-tab-panel",6)(120,"p"),v(121,"This is the content of second tab"),_()(),g(122,"c3m-tab-panel",7)(123,"p"),v(124,"This is the content of third tab"),_()(),g(125,"c3m-tab-panel",28)(126,"p"),v(127,"This is the content of forth tab"),_()(),g(128,"c3m-tab-panel",29)(129,"p"),v(130,"This is the content of fifth tab"),_()(),g(131,"c3m-tab-panel",30)(132,"p"),v(133,"This is the content of sixth tab"),_()()()(),g(134,"div",26)(135,"c3m-tabs",31)(136,"c3m-tab-panel",5)(137,"p"),v(138,"This is the content of first tab"),_()(),g(139,"c3m-tab-panel",6)(140,"p"),v(141,"This is the content of second tab"),_()(),g(142,"c3m-tab-panel",7)(143,"p"),v(144,"This is the content of third tab"),_()(),g(145,"c3m-tab-panel",28)(146,"p"),v(147,"This is the content of forth tab"),_()(),g(148,"c3m-tab-panel",29)(149,"p"),v(150,"This is the content of fifth tab"),_()(),g(151,"c3m-tab-panel",30)(152,"p"),v(153,"This is the content of sixth tab"),_()()()()(),g(154,"c3m-tab-panel",8)(155,"pre"),v(156,'\n \n

This is the content of first tab

\n
\n \n

This is the content of second tab

\n
\n \n

This is the content of third tab

\n
\n \n

This is the content of forth tab

\n
\n \n

This is the content of fifth tab

\n
\n \n

This is the content of sixth tab

\n
\n
\n\n\n \n

This is the content of first tab

\n
\n \n

This is the content of second tab

\n
\n \n

This is the content of third tab

\n
\n \n

This is the content of forth tab

\n
\n \n

This is the content of fifth tab

\n
\n \n

This is the content of sixth tab

\n
\n
\n '),_()()()(),g(157,"section",32)(158,"h3"),v(159,"Properties and Events"),_(),g(160,"table",33)(161,"caption"),v(162," Properties applicable to the component "),g(163,"code"),v(164,"c3m-tabs"),_()(),g(165,"tr")(166,"th",34),v(167,"Name"),_(),g(168,"th",34),v(169,"Type"),_(),g(170,"th",34),v(171,"Default"),_(),g(172,"th",34),v(173,"Description"),_()(),g(174,"tr")(175,"td",35),v(176,"label *"),_(),g(177,"td",36),v(178,"string"),_(),g(179,"td",37),v(180,"--"),_(),g(181,"td"),v(182,"Describes the nature of the group of tabs"),_()(),g(183,"tr")(184,"td",35),v(185,"[handleScroll]"),_(),g(186,"td",36),v(187,"boolean"),_(),g(188,"td",37),v(189,"false"),_(),g(190,"td"),v(191,"Allows to add buttons to handle the scroll of tabs"),_()(),g(192,"tr")(193,"td",35),v(194,"startIndexActiv"),_(),g(195,"td",36),v(196,"number"),_(),g(197,"td",37),v(198,"0"),_(),g(199,"td"),v(200,"Outputs index of deleted tab"),_()(),g(201,"tr")(202,"td",35),v(203,"discrete"),_(),g(204,"td",36),v(205,"(class)"),_(),g(206,"td",37),v(207,"--"),_(),g(208,"td"),v(209,"Simplifies tabs design style"),_()()(),g(210,"table",33)(211,"caption"),v(212," Properties applicable to the component "),g(213,"code"),v(214,"c3m-tab-panel"),_()(),g(215,"tr")(216,"th",34),v(217,"Name"),_(),g(218,"th",34),v(219,"Type"),_(),g(220,"th",34),v(221,"Default"),_(),g(222,"th",34),v(223,"Description"),_()(),g(224,"tr")(225,"td",35),v(226,"[isActive] *"),_(),g(227,"td",36),v(228,"boolean"),_(),g(229,"td",37),v(230,"--"),_(),g(231,"td"),v(232,"Sets default selected tab"),_()(),g(233,"tr")(234,"td",35),v(235,"tabTitle *"),_(),g(236,"td",36),v(237,"string"),_(),g(238,"td",37),v(239,"--"),_(),g(240,"td"),v(241,"Label for the tab"),_()(),g(242,"tr")(243,"td",35),v(244,"[deletable]"),_(),g(245,"td",36),v(246,"boolean"),_(),g(247,"td",37),v(248,"false"),_(),g(249,"td"),v(250,"Adds delete button to tab"),_()(),g(251,"tr")(252,"td",35),v(253,"[draggable]"),_(),g(254,"td",36),v(255,"boolean"),_(),g(256,"td",37),v(257,"false"),_(),g(258,"td"),v(259,"Makes tab draggable along tabs list"),_()(),g(260,"tr")(261,"td",35),v(262,"[adaptable]"),_(),g(263,"td",36),v(264,"boolean"),_(),g(265,"td",37),v(266,"false"),_(),g(267,"td"),v(268,"Allows tab container to have fixed height and vertical scroll"),_()(),g(269,"tr")(270,"td",35),v(271,"svgName"),_(),g(272,"td",36),v(273,"string"),_(),g(274,"td",37),v(275,"--"),_(),g(276,"td"),v(277,"SVG image ID (from index svg sprite)"),_()(),g(278,"tr")(279,"td",35),v(280,"svgTitle"),_(),g(281,"td",36),v(282,"string"),_(),g(283,"td",37),v(284,"--"),_(),g(285,"td"),v(286,"SVG image alternative text (* mandatory if svgName is set)"),_()()(),g(287,"table",33)(288,"caption"),v(289," Events for "),g(290,"code"),v(291,"c3m-tabs"),_()(),g(292,"tr")(293,"th",34),v(294,"Name"),_(),g(295,"th",34),v(296,"Parameters"),_(),g(297,"th",34),v(298,"Description"),_()(),g(299,"tr")(300,"td",35),v(301,"changeTab"),_(),g(302,"td",38),v(303," event.originalEvent: Click event "),ee(304,"br"),v(305," event.index: Index of the current selected tab or dragged tab "),_(),g(306,"td"),v(307,"Callback to invoke on tab change"),_()(),g(308,"tr")(309,"td",35),v(310,"closeTab"),_(),g(311,"td",38),v(312," event.originalEvent: Click event "),ee(313,"br"),v(314," event.index: Index of the current deleted tab "),_(),g(315,"td"),v(316,"Callback to invoke on tab close"),_()()(),g(317,"p")(318,"em"),v(319,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0),O(3),$("isActive",!0),O(23),$("isActive",!0),O(3),$("isActive",!0),O(3),$("deletable",!0),O(3),$("deletable",!0),O(10),$("isActive",!0),O(3),$("isActive",!0),O(16),$("isActive",!0),O(3),$("isActive",!0),O(23),$("isActive",!0),O(3),$("isActive",!0),O(3),$("draggable",!0),O(3),$("draggable",!0),O(10),$("isActive",!0),O(3),$("isActive",!0),O(19),$("handleScroll",!0),O(1),$("isActive",!0))},dependencies:[an,Gt,Fn]});class Af{constructor(){this.pageTitle="Messages",this.componentName="c3m-message-block",this.resourceType="Component"}}Af.\u0275fac=function(e){return new(e||Af)},Af.\u0275cmp=ue({type:Af,selectors:[["app-message-page"]],decls:74,vars:5,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"demo"],["tabTitle","Application",1,"block-style"],["id","error"],[3,"isWarning"],[3,"isError"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General/Positive Message"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"c3m-message-block")(7,"p"),v(8,"This is a generic informative message."),_()()()(),g(9,"c3m-tab-panel",4)(10,"pre"),v(11,"\n \n\n "),_()()()(),g(12,"section",5)(13,"h3"),v(14,"Warning Message"),_(),g(15,"c3m-tabs",1)(16,"c3m-tab-panel",2)(17,"div",3)(18,"c3m-message-block",6)(19,"p"),v(20,"This is a warning message"),_()()()(),g(21,"c3m-tab-panel",4)(22,"pre"),v(23,'\n \n\n '),_()()()(),g(24,"section",5)(25,"h3"),v(26,"Error Message"),_(),g(27,"c3m-tabs",1)(28,"c3m-tab-panel",2)(29,"div",3)(30,"c3m-message-block",7)(31,"p"),v(32,"This is an error message!"),_()()()(),g(33,"c3m-tab-panel",4)(34,"pre"),v(35,'\n \n\n '),_()()()(),g(36,"section",8)(37,"h3"),v(38,"Properties and Events"),_(),g(39,"table",9)(40,"caption"),v(41," Properties applicable to the component "),g(42,"code"),v(43,"c3m-message-block"),_()(),g(44,"tr")(45,"th",10),v(46,"Name"),_(),g(47,"th",10),v(48,"Type"),_(),g(49,"th",10),v(50,"Default"),_(),g(51,"th",10),v(52,"Description"),_()(),g(53,"tr")(54,"td",11),v(55,"[isError]"),_(),g(56,"td",12),v(57,"boolean"),_(),g(58,"td",13),v(59,"false"),_(),g(60,"td"),v(61,"Specifies if message is an error"),_()(),g(62,"tr")(63,"td",11),v(64,"[isWarning]"),_(),g(65,"td",12),v(66,"boolean"),_(),g(67,"td",13),v(68,"false"),_(),g(69,"td"),v(70,"Specifies if message is an alert"),_()()(),g(71,"p")(72,"em"),v(73,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0),O(12),$("isActive",!0),O(2),$("isWarning",!0),O(10),$("isActive",!0),O(2),$("isError",!0))},dependencies:[an,Gt,Fn]});class xf{constructor(){this.pageTitle="Custom Design"}}xf.\u0275fac=function(e){return new(e||xf)},xf.\u0275cmp=ue({type:xf,selectors:[["app-custom-design"]],decls:68,vars:0,consts:[["id","add-css",1,"editorial"],[1,"command"],[1,"highlight"],["id","with-icons",1,"editorial"],["href","/portal/config"],["href","https://yoksel.github.io/url-encoder/","target","_blank"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Adding your own style-sheet"),_(),g(3,"p"),v(4," Besides the "),g(5,"strong"),v(6,"CreamNg"),_(),v(7," style-sheet, you may add your own and define your css custom properties. "),_(),g(8,"p"),v(9," In your "),g(10,"em"),v(11,"angular.json"),_(),v(12," file, add the following lines: "),_(),g(13,"div",1)(14,"pre"),v(15,'\n "styles": [\n "/node_modules/ngx-cream-lib/assets/css/main.css",'),_(),g(16,"pre",2),v(17,' "src/assets/css/local.css"\n '),_(),g(18,"pre"),v(19,"],"),_()(),g(20,"p"),v(21," You may also group your local CSS custom properties in a separate file and import it from your css. "),_(),g(22,"p"),v(23," Your local CSS styles and variables will be loaded last, so you may overwrite any style you need to. "),_()(),g(24,"section",3)(25,"h3"),v(26,"Using Icons"),_(),g(27,"h4"),v(28,"Changing styles"),_(),g(29,"p"),v(30," Icons listed in the CreamNg svg sprite don't have a predefined color, so they may be modified by CSS. You can do that by modifiying the styles directly when calling a svg from the svg sprite, or you can modify the color on the component's stylesheet. "),_(),g(31,"p"),v(32," Icons that appear in white have the "),g(33,"strong"),v(34,'"icon-bt"'),_(),v(35," class, so you may use this class to change its fill. "),_(),g(36,"p"),v(37,"Size can also be modified by CSS using the transform or width and height properties."),_(),g(38,"h4"),v(39,"Adding icons to your project"),_(),g(40,"p"),v(41," Svg images are great because they are purely HTML, what makes its manipulation very easy and flexible. "),_(),g(42,"p"),v(43," Once you've added your own project assets path to "),g(44,"em"),v(45,"angular.json"),_(),v(46," (see "),g(47,"a",4),v(48,"Configuring CreamNg"),_(),v(49," for more information), you can create your own svg sprite, as the example here after: "),_(),g(50,"div",1)(51,"pre"),v(52,'\x3c!-- SVG DEFINITIONS --\x3e\n\n \n \n\n \n \n \n \n \n \n \n \n \n\n '),_()(),g(53,"p"),v(54," If you need to add a new icon to your svg sprite, simply get the svg code (without the opening and closing "),g(55,"code"),v(56,"svg"),_(),v(57," tags), group it in a "),g(58,"code"),v(59,"g"),_(),v(60," and give it a unique ID. That's all you have to do to reference to this icon later in the application. "),_(),g(61,"p"),v(62," If you want to add the image as background, you have to encode the svg source into a data URI first. "),_(),g(63,"p"),v(64," You may use Yuri Yoksel's "),g(65,"a",5),v(66,"URL Encoder for SVG"),_(),v(67," to do that. "),_()())}});class Mf{constructor(){this.pageTitle="Getting Started"}}Mf.\u0275fac=function(e){return new(e||Mf)},Mf.\u0275cmp=ue({type:Mf,selectors:[["app-getting-started"]],decls:33,vars:0,consts:[["id","first-steps"],[1,"introduction","editorial"],["href","https://noedjs.org","target","_blank"],[1,"command-line"],["id","import"],[1,"command"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Setting Up Your Local Environment"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," Remember that, in order to install Angular on your local system, you'll need "),g(7,"code")(8,"a",2),v(9,"Node.js"),_()(),v(10," and to install an npm package manager with the command "),g(11,"code"),v(12,"npm install npm@latest -g"),_()()()(),g(13,"p")(14,"strong"),v(15,"CreamNg"),_(),v(16," uses Angular version 15, so be sure to have the latest version of Angular-Cli: "),_(),g(17,"p",3),v(18,"npm install -g angular-cli@latest"),_()(),g(19,"section",4)(20,"h3"),v(21,"Importing CreamNg into Your Project"),_(),g(22,"p"),v(23," Once your project created, import the library via npm (run the command on the root of your project): "),_(),g(24,"p",3),v(25,"npm install ngx-cream-lib"),_(),g(26,"p"),v(27," Now, include the CreamNg module in your "),g(28,"em"),v(29,"app.module.ts"),_(),v(30,' by importing the module and declaring it on the "imports" list: '),_(),g(31,"pre",5),v(32,"import { NgxCreamLibModule } from 'ngx-cream-lib';\n\n...\nimports: [NgxCreamLibModule]\n "),_()())},dependencies:[Fn]});class Pf{constructor(){this.pageTitle="Collapsible",this.componentName="c3m-collapsible",this.resourceType="Component"}}Pf.\u0275fac=function(e){return new(e||Pf)},Pf.\u0275cmp=ue({type:Pf,selectors:[["app-collapsible-page"]],decls:58,vars:1,consts:[["id","simple"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["summary","Title of collapsible panel","total","5"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-collapsible",3)(6,"p"),v(7,"Content of collapsible"),_()()(),g(8,"c3m-tab-panel",4)(9,"pre"),v(10,'\n \n\n '),_()()()(),g(11,"section",5)(12,"h3"),v(13,"Properties and Events"),_(),g(14,"table",6)(15,"caption"),v(16," Properties applicable to the component "),g(17,"code"),v(18,"c3m-collapsible"),_()(),g(19,"tr")(20,"th",7),v(21,"Name"),_(),g(22,"th",7),v(23,"Type"),_(),g(24,"th",7),v(25,"Default"),_(),g(26,"th",7),v(27,"Description"),_()(),g(28,"tr")(29,"td",8),v(30,"summary *"),_(),g(31,"td",9),v(32,"string"),_(),g(33,"td",10),v(34,'""'),_(),g(35,"td"),v(36,"Defines the title of the panel"),_()(),g(37,"tr")(38,"td",8),v(39,"total"),_(),g(40,"td",9),v(41,"string"),_(),g(42,"td",10),v(43,'""'),_(),g(44,"td"),v(45,"Optional total for the content of the panel"),_()(),g(46,"tr")(47,"td",8),v(48,"[isOpen]"),_(),g(49,"td",9),v(50,"boolean"),_(),g(51,"td",10),v(52,"false"),_(),g(53,"td"),v(54,"If true, panel is open on page load"),_()()(),g(55,"p")(56,"em"),v(57,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0))},dependencies:[an,Gt,rd]});class Nf{constructor(){this.pageTitle="Modal",this.componentName="c3m-modal/ c3m-modal-trigger",this.resourceType="Component"}test(){alert("test works")}}Nf.\u0275fac=function(e){return new(e||Nf)},Nf.\u0275cmp=ue({type:Nf,selectors:[["app-modal-page"]],decls:122,vars:4,consts:[["id","full-modal"],[1,"introduction","editorial"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"buttons-bar","out-form"],[3,"modal"],["modalTitle","This is the title of the modal"],["exempleModal",""],["tabTitle","Application",1,"block-style"],["id","dialog-modal"],["modalTitle","Cancel contract",1,"simple-dialog"],["exempleModal2",""],[1,"buttons-bar",2,"margin-top","2rem"],[3,"click"],["id","props-n-events"],["lang","en"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"Full Modal"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," If actions inside the modal should close it, you can call the "),g(7,"code"),v(8,"ToggleOpen"),_(),v(9," function using the modal's identifier. "),_(),g(10,"p"),v(11,"Of course, you may add aditional functions to the same event."),_()()(),g(12,"c3m-tabs",2)(13,"c3m-tab-panel",3)(14,"p",4)(15,"c3m-modal-trigger",5),v(16,"Label of the button"),_()(),g(17,"c3m-modal",6,7)(19,"p"),v(20,"Content of the modal"),_()()(),g(21,"c3m-tab-panel",8)(22,"pre"),v(23,'\n Label of the button\n\n\n\n

Content of the modal

\n
\n '),_()()()(),g(24,"section",9)(25,"h3"),v(26,"Dialog Modal"),_(),g(27,"c3m-tabs",2)(28,"c3m-tab-panel",3)(29,"p",4)(30,"c3m-modal-trigger",5),v(31,"Opens small modal"),_()(),g(32,"c3m-modal",10,11)(34,"p"),v(35,"Content of the modal"),_(),g(36,"p",12)(37,"button",13),Me("click",function(){Tt(r);const a=Ot(33);return t.test(),ft(a.ToggleOpen())}),v(38,"Ok"),_()()()(),g(39,"c3m-tab-panel",8)(40,"pre"),v(41,'\n Opens small modal\n\n\n

Content of the modal

\n

\n \n

\n
\n '),_()()()(),g(42,"section",14)(43,"h3"),v(44,"Properties and Events"),_(),g(45,"table")(46,"caption"),v(47," Properties applicable to the component "),g(48,"code",15),v(49,"c3m-modal"),_()(),g(50,"tr")(51,"th",16),v(52,"Name"),_(),g(53,"th",16),v(54,"Type"),_(),g(55,"th",16),v(56,"Default"),_(),g(57,"th",16),v(58,"Description"),_()(),g(59,"tr")(60,"td",17),v(61,"modalTitle *"),_(),g(62,"td",18),v(63,"string"),_(),g(64,"td",19),v(65,"--"),_(),g(66,"td"),v(67,"Title of the modal"),_()(),g(68,"tr")(69,"td",17),v(70," *"),_(),g(71,"td",18)(72,"em"),v(73,"#xxxxx"),_()(),g(74,"td",19),v(75,"--"),_(),g(76,"td"),v(77,"Unique identifier of the modal"),_()(),g(78,"tr")(79,"td",17),v(80,"simple-dialog"),_(),g(81,"td",18),v(82,"(class)"),_(),g(83,"td",19),v(84,"--"),_(),g(85,"td"),v(86,"Displays modal in small format, for quick feedback message"),_()()(),g(87,"table")(88,"caption"),v(89," Properties applicable to the component "),g(90,"code",15),v(91,"c3m-modal-button"),_()(),g(92,"tr")(93,"th",16),v(94,"Name"),_(),g(95,"th",16),v(96,"Type"),_(),g(97,"th",16),v(98,"Default"),_(),g(99,"th",16),v(100,"Description"),_()(),g(101,"tr")(102,"td",17),v(103,"[modal] *"),_(),g(104,"td",18),v(105,"string"),_(),g(106,"td",19),v(107,"--"),_(),g(108,"td"),v(109,"Value of the target modal unique identifier"),_()(),g(110,"tr")(111,"td",17),v(112,"disabled"),_(),g(113,"td",18),v(114,"string"),_(),g(115,"td",19),v(116,"--"),_(),g(117,"td"),v(118,"Disables button"),_()()(),g(119,"p")(120,"em"),v(121,"* mandatory properties"),_()()()}if(2&e){const r=Ot(18),s=Ot(33);O(13),$("isActive",!0),O(2),$("modal",r),O(13),$("isActive",!0),O(2),$("modal",s)}},dependencies:[an,Gt,Fn,od,ad]});class Rf{constructor(){this.pageTitle="Snackbar",this.componentName="c3m-snackbar",this.resourceType="Component"}}Rf.\u0275fac=function(e){return new(e||Rf)},Rf.\u0275cmp=ue({type:Rf,selectors:[["app-snackbar-page"]],decls:72,vars:1,consts:[["id","dialog-snackbar"],[1,"introduction","editorial"],[1,"intro-text"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[3,"click"],["snackbarDemo",""],[1,"buttons-bar"],[1,"as-reset",3,"click"],[1,"as-submit",3,"click"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"Dialog Snackbar"),_(),g(3,"div",1)(4,"div",2)(5,"p"),v(6," Snackbars work exactly like a modal \u2014 in isolated mode \u2014, but contrary to modals, they can only be closed by interacting with them. As snackbars impose a question that must be answered, it can only be closed by interacting with it. "),_(),g(7,"p"),v(8,"Use this component to get mandatory feedback from the user."),_()(),g(9,"c3m-message-block")(10,"p"),v(11," You should use the component's unique identifier (template reference) to call the "),g(12,"code"),v(13,"ToggleOpen"),_(),v(14," function to trigger or close the snackbar. "),_(),g(15,"p"),v(16,"You may add aditional functions to the same event."),_()()(),g(17,"c3m-tabs",3)(18,"c3m-tab-panel",4)(19,"p")(20,"button",5),Me("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(21,"Open snackbar"),_()(),g(22,"c3m-snackbar",null,6)(24,"p"),v(25,"Are you sure you want to delete all the files?"),_(),g(26,"p",7)(27,"button",8),Me("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(28,"No"),_(),g(29,"button",9),Me("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(30,"Yes"),_()()()(),g(31,"c3m-tab-panel",10)(32,"pre"),v(33,'\n \n\n\nEXAMPLE OF SNACKBAR TRIGGER:\n\n

\n\nEXAMPLE OF BUTTON ACTION:\n\n\n\n '),_()()()(),g(34,"section",11)(35,"h3"),v(36,"Properties and Events"),_(),g(37,"table",12)(38,"caption"),v(39," Properties applicable to the component "),g(40,"code"),v(41,"c3m-snackbar"),_()(),g(42,"tr")(43,"th",13),v(44,"Name"),_(),g(45,"th",13),v(46,"Type"),_(),g(47,"th",13),v(48,"Default"),_(),g(49,"th",13),v(50,"Description"),_()(),g(51,"tr")(52,"td",14),v(53,"isOpen"),_(),g(54,"td",15),v(55,"boolean"),_(),g(56,"td",16),v(57,"false"),_(),g(58,"td"),v(59,'If "true", opens snackbar'),_()(),g(60,"tr")(61,"td",14),v(62,"sbTitle"),_(),g(63,"td",15),v(64,"string"),_(),g(65,"td",16),v(66,'"Confirmation"'),_(),g(67,"td"),v(68,"The title of the snackbar (screen-readers only)"),_()()(),g(69,"p")(70,"em"),v(71,"* mandatory properties"),_()()()}2&e&&(O(18),$("isActive",!0))},dependencies:[an,Gt,Fn,ld]});const X5=["toast"],J5=["toast2"],e4=["toast3"];class kf{constructor(){this.pageTitle="Toast",this.componentName="c3m-toast",this.resourceType="Component"}openToast(e,t){t.toggleToast(e)}}kf.\u0275fac=function(e){return new(e||kf)},kf.\u0275cmp=ue({type:kf,selectors:[["app-toast-page"]],viewQuery:function(e,t){if(1&e&&(ro(X5,7),ro(J5,7),ro(e4,7)),2&e){let r;ci(r=ui())&&(t.toast=r.first),ci(r=ui())&&(t.toast2=r.first),ci(r=ui())&&(t.toast3=r.first)}},decls:144,vars:3,consts:[[1,"introduction","editorial"],[1,"intro-text"],["href","https://www.w3.org/WAI/WCAG21/Understanding/timing-adjustable.html","target","_blank"],["id","generic-toast"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["aria-controls","toast3",3,"click"],["id","toast3","styleClass","slide-to-top","toastText","This is a generic message",1,"normal"],["toast3",""],["tabTitle","Application",1,"block-style"],["id","success-toast"],["aria-controls","toast",3,"click"],["id","toast","toastText","Positive feedback message"],["toast",""],["id","alert-toast"],["aria-controls","toast2",3,"click"],["id","toast2","role","alert","toastText","This is an alert message","closeBtnTitle","Close alert"],["toast2",""],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"div",0)(1,"div",1)(2,"p"),v(3,"Toasts must be used carefully, as they may pose problems to accessibility."),_(),g(4,"p"),v(5," We did our best to make it accessible and affordable, but as its message is time-sensitive, it will always violate the WCAG21 "),g(6,"a",2),v(7," 2.2.1: Timing Adjustable "),_(),v(8," criteria. "),_()(),g(9,"c3m-message-block")(10,"p"),v(11,"A toast must be a single line of text; any other element inside it will be ignored."),_()()(),g(12,"section",3)(13,"h3"),v(14,"Generic Toast with Slide Option"),_(),g(15,"c3m-tabs",4)(16,"c3m-tab-panel",5)(17,"p")(18,"button",6),Me("click",function(a){Tt(r);const u=Ot(21);return ft(t.openToast(a,u))}),v(19," General Toast with option "),_()(),ee(20,"c3m-toast",7,8),_(),g(22,"c3m-tab-panel",9)(23,"pre"),v(24,'\n\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(25,"section",10)(26,"h3"),v(27,"Success Toast"),_(),g(28,"div",0)(29,"div",1)(30,"p"),v(31,"Optional introductory text."),_()()(),g(32,"c3m-tabs",4)(33,"c3m-tab-panel",5)(34,"p")(35,"button",11),Me("click",function(a){Tt(r);const u=Ot(38);return ft(t.openToast(a,u))}),v(36," Success Toast (default) "),_()(),ee(37,"c3m-toast",12,13),_(),g(39,"c3m-tab-panel",9)(40,"pre"),v(41,'\n\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(42,"section",14)(43,"h3"),v(44,"Alert Toast"),_(),g(45,"div",0)(46,"c3m-message-block")(47,"p"),v(48,' The "alert" role should be used for alert or error messages only. The main difference with the role "status" is that "alert" will stop the current reading of the screen reader in order to read the toast, while "status" will wait for the end of the current reading before announcing its content. '),_()()(),g(49,"c3m-tabs",4)(50,"c3m-tab-panel",5)(51,"p")(52,"button",15),Me("click",function(a){Tt(r);const u=Ot(55);return ft(t.openToast(a,u))}),v(53,"Alert Toast"),_()(),g(54,"c3m-toast",16,17),v(56," This is an alert message "),_()(),g(57,"c3m-tab-panel",9)(58,"pre"),v(59,'\n This is an alert message\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(60,"section",18)(61,"h3"),v(62,"Properties and Events"),_(),g(63,"table",19)(64,"caption"),v(65," Properties applicable to the component "),g(66,"code"),v(67,"c3m-toast"),_()(),g(68,"tr")(69,"th",20),v(70,"Name"),_(),g(71,"th",20),v(72,"Type"),_(),g(73,"th",20),v(74,"Default"),_(),g(75,"th",20),v(76,"Description"),_()(),g(77,"tr")(78,"td",21),v(79," *"),_(),g(80,"td",22)(81,"em"),v(82,"#xxxxx"),_()(),g(83,"td",23),v(84,"--"),_(),g(85,"td"),v(86,"Unique identifier of a toast"),_()(),g(87,"tr")(88,"td",21),v(89,"toastText *"),_(),g(90,"td",22),v(91,"string"),_(),g(92,"td",23),v(93,"--"),_(),g(94,"td"),v(95,"Content of the toast"),_()(),g(96,"tr")(97,"td",21),v(98,"role"),_(),g(99,"td",22),v(100,"string"),_(),g(101,"td",23),v(102,'"status"'),_(),g(103,"td"),v(104,' Specifies the type of message ("status" or "alert"). "status" should be used to indicate a success message. '),_()(),g(105,"tr")(106,"td",21),v(107,"delay"),_(),g(108,"td",22),v(109,"number"),_(),g(110,"td",23),v(111,"6500"),_(),g(112,"td"),v(113," Time in milliseconds to display toast. Toast will not close by itself if value is set to 0. "),_()(),g(114,"tr")(115,"td",21),v(116,"normal"),_(),g(117,"td",22),v(118,"(class)"),_(),g(119,"td",23),v(120,"--"),_(),g(121,"td"),v(122,"Changes style of the toast, to indicate a generic message"),_()(),g(123,"tr")(124,"td",21),v(125,"styleClass"),_(),g(126,"td",22),v(127,"string"),_(),g(128,"td",23),v(129,'"slide-to-bottom"'),_(),g(130,"td"),v(131,'Speficies direction of animation ("slide-to-bottom" or "slide-to-top")'),_()(),g(132,"tr")(133,"td",21),v(134,"disabled"),_(),g(135,"td",22),v(136,"string"),_(),g(137,"td",23),v(138,"--"),_(),g(139,"td"),v(140,'Disables close button if value "disabled"'),_()()(),g(141,"p")(142,"em"),v(143,"* mandatory properties"),_()()()}2&e&&(O(16),$("isActive",!0),O(17),$("isActive",!0),O(17),$("isActive",!0))},dependencies:[an,Gt,Fn,cd]});class Of{constructor(){this.pageTitle="Chip",this.componentName="c3m-chip",this.resourceType="Component"}}Of.\u0275fac=function(e){return new(e||Of)},Of.\u0275cmp=ue({type:Of,selectors:[["app-chip-page"]],decls:83,vars:4,consts:[["id","del-chip"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["label","Chip example label"],["tabTitle","Application",1,"block-style"],["id","nondel-chip"],["label","Keyword",3,"deletable"],["id","link-chip"],["label","Refers to Home Page","linkUrl","/"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Deletable Chip"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2),ee(5,"c3m-chip",3),_(),g(6,"c3m-tab-panel",4)(7,"pre"),v(8,'\n '),_()()()(),g(9,"section",5)(10,"h3"),v(11,"Non-deletable Chip"),_(),g(12,"c3m-tabs",1)(13,"c3m-tab-panel",2),ee(14,"c3m-chip",6),_(),g(15,"c3m-tab-panel",4)(16,"pre"),v(17,'\n '),_()()()(),g(18,"section",7)(19,"h3"),v(20,"Chip with Link"),_(),g(21,"c3m-tabs",1)(22,"c3m-tab-panel",2),ee(23,"c3m-chip",8),_(),g(24,"c3m-tab-panel",4)(25,"pre"),v(26,'\n '),_()()()(),g(27,"section",9)(28,"h3"),v(29,"Properties and Events"),_(),g(30,"table",10)(31,"caption"),v(32," Properties applicable to the component "),g(33,"code"),v(34,"c3m-chip"),_()(),g(35,"tr")(36,"th",11),v(37,"Name"),_(),g(38,"th",11),v(39,"Type"),_(),g(40,"th",11),v(41,"Default"),_(),g(42,"th",11),v(43,"Description"),_()(),g(44,"tr")(45,"td",12),v(46,"label *"),_(),g(47,"td",13),v(48,"string"),_(),g(49,"td",14),v(50,'""'),_(),g(51,"td"),v(52,"Label of chip"),_()(),g(53,"tr")(54,"td",12),v(55,"linkUrl"),_(),g(56,"td",13),v(57,"string"),_(),g(58,"td",14),v(59,'""'),_(),g(60,"td"),v(61,"Adds link with given absolute URL to chip's label"),_()(),g(62,"tr")(63,"td",12),v(64,"[deletable]"),_(),g(65,"td",13),v(66,"boolean"),_(),g(67,"td",14),v(68,"true"),_(),g(69,"td"),v(70,"Adds delete button if true"),_()(),g(71,"tr")(72,"td",12),v(73,"[disabled]"),_(),g(74,"td",13),v(75,"boolean"),_(),g(76,"td",14),v(77,"false"),_(),g(78,"td"),v(79,'Disables close button if value "disabled"'),_()()(),g(80,"p")(81,"em"),v(82,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0),O(9),$("isActive",!0),O(1),$("deletable",!1),O(8),$("isActive",!0))},dependencies:[an,Gt,ud]});class Ff{constructor(){this.pageTitle="Dropdown",this.componentName="c3m-dropdown/ c3m-dropdown-item",this.resourceType="Component"}}Ff.\u0275fac=function(e){return new(e||Ff)},Ff.\u0275cmp=ue({type:Ff,selectors:[["app-dropdown-page"]],decls:128,vars:4,consts:[["id","drop"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["label","Label of dropdown"],["tabTitle","Application",1,"block-style"],[1,"explain"],["id","drop-icon"],["imgSrc","bt-menu","imgAlt","Describe the nature of the actions"],[1,"introduction","editorial"],[3,"isWarning"],["ariaLabel","Describe the nature of the actions",1,"others"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Dropdown with label"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-dropdown",3)(6,"c3m-dropdown-item")(7,"button"),v(8,"Action 1"),_()(),g(9,"c3m-dropdown-item")(10,"button"),v(11,"Action 2"),_()()()(),g(12,"c3m-tab-panel",4)(13,"pre"),v(14,'\n \n \n \n\n '),_(),g(15,"div",5)(16,"p")(17,"code"),v(18,"ng-content"),_(),v(19," must be a link or a button only "),_()()()()(),g(20,"section",6)(21,"h3"),v(22,"Dropdown with icon"),_(),g(23,"c3m-tabs",1)(24,"c3m-tab-panel",2)(25,"c3m-dropdown",7)(26,"c3m-dropdown-item")(27,"button"),v(28,"Action 1"),_()(),g(29,"c3m-dropdown-item")(30,"button"),v(31,"Action 2"),_()()()(),g(32,"c3m-tab-panel",4)(33,"pre"),v(34,'\n \n \n \n\n '),_()()()(),g(35,"section",6)(36,"h3"),v(37,'Dropdown "Other Actions"'),_(),g(38,"div",8)(39,"c3m-message-block",9)(40,"p"),v(41," In this case, it is mandatory to add a "),g(42,"code"),v(43,"altLabel"),_(),v(44," value to inform the nature of the actions in the dropdown. "),_()()(),g(45,"c3m-tabs",1)(46,"c3m-tab-panel",2)(47,"c3m-dropdown",10)(48,"c3m-dropdown-item")(49,"button"),v(50,"Action 1"),_()(),g(51,"c3m-dropdown-item")(52,"button"),v(53,"Action 2"),_()()()(),g(54,"c3m-tab-panel",4)(55,"pre"),v(56,'\n \n \n \n\n '),_()()()(),g(57,"section",11)(58,"h3"),v(59,"Properties and Events"),_(),g(60,"table",12)(61,"caption"),v(62," Properties applicable to the component "),g(63,"code"),v(64,"c3m-dropdown"),_()(),g(65,"tr")(66,"th",13),v(67,"Name"),_(),g(68,"th",13),v(69,"Type"),_(),g(70,"th",13),v(71,"Default"),_(),g(72,"th",13),v(73,"Description"),_()(),g(74,"tr")(75,"td",14),v(76,"label"),_(),g(77,"td",15),v(78,"string"),_(),g(79,"td",16),v(80,'""'),_(),g(81,"td"),v(82,"Defines label for dropdown trigger button"),_()(),g(83,"tr")(84,"td",14),v(85,"imgSrc"),_(),g(86,"td",15),v(87,"string"),_(),g(88,"td",16),v(89,'""'),_(),g(90,"td"),v(91,' Replaces label by the image indicated by its Id (should be listed in "/assets/img/sprite.svg"). '),_()(),g(92,"tr")(93,"td",14),v(94,"imgAlt"),_(),g(95,"td",15),v(96,"string"),_(),g(97,"td",16),v(98,'""'),_(),g(99,"td"),v(100," Textual alternative to image. "),g(101,"strong"),v(102,"Mandatory"),_(),v(103," if "),g(104,"code"),v(105,"imgSrc"),_(),v(106," is set. "),_()(),g(107,"tr")(108,"td",14),v(109,"to-left"),_(),g(110,"td",15),v(111,"(class)"),_(),g(112,"td",16),v(113,"--"),_(),g(114,"td"),v(115,"Allows dropdown menu to open towards left."),_()(),g(116,"tr")(117,"td",14),v(118,"others"),_(),g(119,"td",15),v(120,"(class)"),_(),g(121,"td",16),v(122,"--"),_(),g(123,"td"),v(124,'Replaces label and arrow by a "kebab" icon'),_()()(),g(125,"p")(126,"em"),v(127,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0),O(20),$("isActive",!0),O(15),$("isWarning",!0),O(7),$("isActive",!0))},dependencies:[an,Gt,Fn,dd,hd]});class Lf{constructor(){this.pageTitle="Icon Button",this.componentName="c3m-icon-button",this.resourceType="Component"}}Lf.\u0275fac=function(e){return new(e||Lf)},Lf.\u0275cmp=ue({type:Lf,selectors:[["app-icon-bt-page"]],decls:86,vars:1,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"buttons-bar","out-form"],["aName","Open Menu","svgId","bt-menu"],["rLink","/","aName","Information","svgId","info",1,"discrete"],["aName","Delete","svgId","bt-delete",1,"minimal"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Icon Buttons"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"p",3),ee(6,"c3m-icon-button",4)(7,"c3m-icon-button",5)(8,"c3m-icon-button",6),_()(),g(9,"c3m-tab-panel",7)(10,"pre"),v(11,' \n \n\n \n \n\n \n \n '),_()()()(),g(12,"section",8)(13,"h3"),v(14,"Properties and Events"),_(),g(15,"table",9)(16,"caption"),v(17," Properties applicable to the component "),g(18,"code"),v(19,"c3m-icon-button"),_()(),g(20,"tr")(21,"th",10),v(22,"Name"),_(),g(23,"th",10),v(24,"Type"),_(),g(25,"th",10),v(26,"Default"),_(),g(27,"th",10),v(28,"Description"),_()(),g(29,"tr")(30,"td",11),v(31,"aName *"),_(),g(32,"td",12),v(33,"string"),_(),g(34,"td",13),v(35,'"Action"'),_(),g(36,"td"),v(37,"Accessible name for the button (gives text alternative to icon)"),_()(),g(38,"tr")(39,"td",11),v(40,"svgId *"),_(),g(41,"td",12),v(42,"string"),_(),g(43,"td",13),v(44,'""'),_(),g(45,"td"),v(46,'Id of the svg (should be listed in "/assets/img/sprite.svg")'),_()(),g(47,"tr")(48,"td",11),v(49,"rLink"),_(),g(50,"td",12),v(51,"string"),_(),g(52,"td",13),v(53,'""'),_(),g(54,"td"),v(55,"If a value is given, replaces button by a link and adds value as an absolute URL"),_()(),g(56,"tr")(57,"td",11),v(58,"disabled"),_(),g(59,"td",12),v(60,"string"),_(),g(61,"td",13),v(62,'""'),_(),g(63,"td"),v(64,'Disables button if value is "disabled'),_()(),g(65,"tr")(66,"td",11),v(67,"discrete"),_(),g(68,"td",12),v(69,"(class)"),_(),g(70,"td",13),v(71,"--"),_(),g(72,"td"),v(73,"Icon only style"),_()(),g(74,"tr")(75,"td",11),v(76,"minimal"),_(),g(77,"td",12),v(78,"(class)"),_(),g(79,"td",13),v(80,"--"),_(),g(81,"td"),v(82,"Icon only, smaller; suitable for actions in tables"),_()()(),g(83,"p")(84,"em"),v(85,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0))},dependencies:[an,Gt,Kl]});class Bf{constructor(){this.pageTitle="Progress Spinner",this.componentName="c3m-progress-spinner",this.resourceType="Component"}insertContent(e){e.progressText="Loading..."}stopProgress(e){setTimeout(function(){e.isOpen=!1,e.progressText=""},3e3)}}Bf.\u0275fac=function(e){return new(e||Bf)},Bf.\u0275cmp=ue({type:Bf,selectors:[["app-progress-spinner-page"]],decls:51,vars:2,consts:[["id","general"],[1,"introduction","editorial"],["href","https://angular.io/guide/template-reference-variables","target","_blank"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[3,"click"],["process1",""],["tabTitle","Application",1,"block-style"],[3,"isWarning"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," Giving a "),g(7,"a",2),v(8," template variable "),_(),v(9," when calling the component allows you to trigger or stop the spinner. "),_()()(),g(10,"c3m-tabs",3)(11,"c3m-tab-panel",4)(12,"button",5),Me("click",function(a){Tt(r);const u=Ot(15);return t.insertContent(u),t.stopProgress(u),ft(u.ToggleOpen(a))}),v(13," Open spinner "),_(),ee(14,"c3m-progress-spinner",null,6),_(),g(16,"c3m-tab-panel",7)(17,"pre"),v(18,'\n\n\nEXAMPLE TO TRIGGER THE SPINNER\n\n\n\ninsertContent(spinner: ProgressSpinnerComponent) {\n spinner.progressText = "Loading...";\n}\n\n// Demo for progress spinner\n// Sends signal to stop progress and close spinner\nstopProgress(el: any) {\n setTimeout(function () {\n el.isOpen = false;\n el.progressText = "";\n }, 3000);\n}\n '),_(),g(19,"c3m-message-block",8)(20,"p"),v(21," The text to be announced by screen readers must be injected dynamically to the component. "),_()()()()(),g(22,"section",9)(23,"h3"),v(24,"Properties and Events"),_(),g(25,"table",10)(26,"caption"),v(27," Properties applicable to the component "),g(28,"code"),v(29,"c3m-progress-spinner"),_()(),g(30,"tr")(31,"th",11),v(32,"Name"),_(),g(33,"th",11),v(34,"Type"),_(),g(35,"th",11),v(36,"Default"),_(),g(37,"th",11),v(38,"Description"),_()(),g(39,"tr")(40,"td",12),v(41,"progressText"),_(),g(42,"td",13),v(43,"string"),_(),g(44,"td",14),v(45,"--"),_(),g(46,"td"),v(47,"Dynamic text to be announced by screen readers."),_()()(),g(48,"p")(49,"em"),v(50,"* mandatory properties"),_()()()}2&e&&(O(11),$("isActive",!0),O(8),$("isWarning",!0))},dependencies:[an,Gt,Fn,pd]});class $f{constructor(){this.pageTitle="Text Ellipsis",this.componentName="c3m-text-ellipsis",this.resourceType="Component"}}$f.\u0275fac=function(e){return new(e||$f)},$f.\u0275cmp=ue({type:$f,selectors:[["app-text-ellipsis-page"]],decls:44,vars:1,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"editorial"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"p")(7,"c3m-text-ellipsis"),v(8," Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. "),_()(),g(9,"p")(10,"c3m-text-ellipsis"),v(11,"Lorem ipsum dolor sit amet, consectetur adip"),_()()()(),g(12,"c3m-tab-panel",4)(13,"pre"),v(14,"

\n \n Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n \n

\n\n

\n \n Lorem ipsum dolor sit amet, consectetur adip\n \n

\n "),_()()()(),g(15,"section",5)(16,"h3"),v(17,"Properties and Events"),_(),g(18,"table",6)(19,"caption"),v(20," Properties applicable to the component "),g(21,"code"),v(22,"c3m-text-ellipsis"),_()(),g(23,"tr")(24,"th",7),v(25,"Name"),_(),g(26,"th",7),v(27,"Type"),_(),g(28,"th",7),v(29,"Default"),_(),g(30,"th",7),v(31,"Description"),_()(),g(32,"tr")(33,"td",8),v(34,"[textCount]"),_(),g(35,"td",9),v(36,"number"),_(),g(37,"td",10),v(38,"55"),_(),g(39,"td"),v(40,"Specifies maximum number of characters to be displayed"),_()()(),g(41,"p")(42,"em"),v(43,"* mandatory properties"),_()()()),2&e&&(O(4),$("isActive",!0))},dependencies:[an,Gt,fd]});class Vf{constructor(){this.pageTitle="Tooltip",this.componentName="c3mTooltip",this.resourceType="Directive"}}Vf.\u0275fac=function(e){return new(e||Vf)},Vf.\u0275cmp=ue({type:Vf,selectors:[["app-tooltip-page"]],decls:36,vars:1,consts:[[1,"introduction","editorial"],[1,"intro-text"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["c3mTooltip",""],["role","img","width","24","height","24","viewbox","0 0 24 24",2,"fill","#fff"],["href","./assets/img/sprite.svg#bt-delete"],["tabTitle","Application",1,"block-style"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3," The "),g(4,"code"),v(5,"c3mTooltip"),_(),v(6," directive can be used to display the textual alternative of a visual element when it meets one of these conditions: "),_(),g(7,"ul")(8,"li"),v(9," the "),g(10,"code"),v(11,"title"),_(),v(12," element of a svg, or "),_(),g(13,"li"),v(14,"the inner text of the element the directive selector is applied to"),_()(),g(15,"p"),v(16," To apply it, just add the "),g(17,"code"),v(18,"c3mTooltip"),_(),v(19," directive selector to the direct parent of the "),g(20,"code"),v(21,"svg"),_(),v(22," element or to the "),g(23,"code"),v(24,"svg"),_(),v(25," element itself. "),_()()(),g(26,"c3m-tabs",2)(27,"c3m-tab-panel",3)(28,"p")(29,"button",4),He(),g(30,"svg",5),ee(31,"use",6),_(),v(32," This is the content of the button "),_()()(),et(),g(33,"c3m-tab-panel",7)(34,"pre"),v(35,'\n '),_()()()),2&e&&(O(27),$("isActive",!0))},dependencies:[an,Gt,Wl],styles:["button[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;gap:5rem;overflow:hidden;width:37px;height:36px;padding:0;white-space:nowrap;z-index:5}svg[_ngcontent-%COMP%]{flex:0 0 24px;margin-left:7px}"]});class jf{constructor(){this.pageTitle="Configuring CreamNg"}}jf.\u0275fac=function(e){return new(e||jf)},jf.\u0275cmp=ue({type:jf,selectors:[["app-config-page"]],decls:55,vars:0,consts:[["id","config",1,"editorial"],[1,"command"],[1,"highlight"],["routerLink","/portal/custom-design"],["id","internationalisation",1,"editorial"],["href","https://angular.io/guide/i18n-common-add-package","target","blank_"],["href","https://angular.io/guide/i18n-common-translation-files#extract-the-source-language-file"],["href","https://angular.io/guide/i18n-common-translation-files#create-a-translation-file-for-each-language"],["href","https://angular.io/guide/i18n-common-translation-files#translate-each-translation-file"],["href","https://angular.io/guide/i18n-common-merge"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Adding CreamNg Assets"),_(),g(3,"p"),v(4," Before using the components, you must import "),g(5,"strong"),v(6,"CreamNg"),_(),v(7," main stylesheet \u2014 general default values for the library \u2014 and the CreamNg icons. "),_(),g(8,"p"),v(9," In the "),g(10,"em"),v(11,"angular.json"),_(),v(12,' file of your project, change the value of the "style" keyword as shown hereafter: '),_(),g(13,"pre",1),v(14,'\n"styles": [\n "/node_modules/ngx-cream-lib/assets/css/main.css"\n],\n\n '),_(),g(15,"p"),v(16,' You must also add the following lines to the "assets" keyword, in order to import the icons: '),_(),g(17,"div",1)(18,"pre"),v(19,' "assets": [\n "src/favicon.ico",\n "src/assets",\n '),_(),g(20,"pre",2),v(21,' {\n "glob": "**/*",\n "input": "./projects/ngx-cream-lib/assets",\n "output": "/assets/"\n }\n '),_(),g(22,"pre"),v(23,"],"),_()(),g(24,"p"),v(25,"This will allow you to use your own assets as much as the library's."),_(),g(26,"c3m-message-block")(27,"p"),v(28," If you want to modify the default design, please refer to the "),g(29,"a",3),v(30,"Custom Design"),_(),v(31," page. "),_()()(),g(32,"section",4)(33,"h3"),v(34,"Internationalisation"),_(),g(35,"p")(36,"strong"),v(37,"CreamNg"),_(),v(38," components use the i18n system for internationalisation. Projects that need other languages other than en-US can do the following to translate CreamNg components: "),_(),g(39,"ul")(40,"li")(41,"a",5),v(42," Add the localize package "),_()(),g(43,"li")(44,"a",6),v(45," Extract the source language file "),_()(),g(46,"li")(47,"a",7),v(48," Create a translation file for each language "),_()(),g(49,"li")(50,"a",8),v(51," Translate each translation file "),_()(),g(52,"li")(53,"a",9),v(54," Merge translations into the application "),_()()()())},dependencies:[ps,Fn],styles:["c3m-message-block[_ngcontent-%COMP%]{display:block;margin-top:2rem}"]});class Uf{constructor(){this.pageTitle="Design Basics"}ngOnInit(){this.buildPalette()}buildPalette(){const e=document.querySelectorAll("dl.palette dt");for(let t=0;t"),_(),v(16," with "),g(17,"code",9),v(18,"type"),_(),v(19," attribute "),_(),g(20,"p",5)(21,"button",10),v(22,"Confirm"),_(),g(23,"button",11),v(24,"Optional Action"),_(),g(25,"button",12),v(26,"Cancel"),_()(),g(27,"h4",4),v(28," Element "),g(29,"code",9),v(30,"\n \n \n

\n\n

\n \n \n \n

\n\n

\n \n \n \n

\n '),_(),g(48,"div",20)(49,"p"),v(50," For better layout, group the different actions with a "),g(51,"code"),v(52,"

"),_(),v(53," element with the class "),g(54,"em"),v(55,'"buttons-bar"'),_()()()()()(),g(56,"section",21)(57,"h3"),v(58,"Inputs"),_(),g(59,"div",22)(60,"c3m-message-block")(61,"p"),v(62," For a complete list of input types, consult "),g(63,"a",23),v(64,"Html5 Elements"),_()()()(),g(65,"c3m-tabs",24)(66,"c3m-tab-panel",25)(67,"div",26)(68,"div",27)(69,"p")(70,"label",28),v(71,"Address"),_(),ee(72,"input",29),_()(),g(73,"h4",4),v(74,"Read-only"),_(),g(75,"div",27)(76,"p")(77,"label",30),v(78,"Name"),_(),ee(79,"input",31),_()(),g(80,"h4",4),v(81,"Required"),_(),g(82,"div",27)(83,"p")(84,"label",32),v(85,"Name"),_(),ee(86,"input",33),_()(),g(87,"h4",4),v(88,"Select"),_(),g(89,"div",27)(90,"p")(91,"label",34),v(92,"Country"),_(),g(93,"select",35)(94,"option"),v(95,"Brazil"),_(),g(96,"option"),v(97,"France"),_(),g(98,"option"),v(99,"Germany"),_()()()()()(),g(100,"c3m-tab-panel",19)(101,"pre"),v(102,'

\n

\n\n\n

\n
\n\n

Read-only

\n
\n

\n\n\n

\n
\n\n

Required

\n
\n

\n\n\n

\n
\n\n

Input Error

\n
\n

\n\n\n\n\n Code should comprise 5 digits only\n\n

\n
\n\n

Input Help

\n
\n

\n\n\n\n Code comprises 5 digits\n\n

\n
\n '),_(),g(103,"div",20)(104,"p")(105,"strong"),v(106," Always group form elements with a "),g(107,"code"),v(108,"div"),_(),v(109,' of class "input-group". '),_()()()()()()),2&e&&(O(4),$("isActive",!0),O(62),$("isActive",!0))},dependencies:[an,Gt,Fn]});class zf{constructor(){this.pageTitle="Iconography"}}zf.\u0275fac=function(e){return new(e||zf)},zf.\u0275cmp=ue({type:zf,selectors:[["app-iconography-page"]],decls:183,vars:0,consts:[["id","sec-introduction",1,"editorial"],["href","/portal/custom-design"],["id","sec-decorative-images",1,"editorial"],[1,"command"],["id","sec-non-decorative-images",1,"editorial"],["id","sec-svgsprite",1,"editorial"],[1,"icons","foreground"],["width","24","height","24"],["href","./assets/img/sprite.svg#pic-arrow"],["href","./assets/img/sprite.svg#pic-kebab"],["href","./assets/img/sprite.svg#bt-menu"],["href","./assets/img/sprite.svg#bt-delete"],["href","./assets/img/sprite.svg#accordion-down"],["href","./assets/img/sprite.svg#info"],["href","./assets/img/sprite.svg#error"],["href","./assets/img/sprite.svg#bt-delete-tab"],["href","./assets/img/sprite.svg#bt-scrollLeft"],["href","./assets/img/sprite.svg#bt-scrollRight"],["href","./assets/img/sprite.svg#bt-close"],["href","./assets/img/sprite.svg#bt-plus"],["href","./assets/img/sprite.svg#bt-less"],["href","./assets/img/sprite.svg#bt-copy"],["href","./assets/img/sprite.svg#star"],[1,"explain"],["href","https://remixicon.com/","target","_blank"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Introduction"),_(),g(3,"p"),v(4," This library uses exclusively "),g(5,"strong"),v(6,"svg images"),_(),v(7," for their high level of quality, easy manipulation and their light weight. "),_(),g(8,"p"),v(9,"For maximum flexibility and performance, we use svg images in three different ways:"),_(),g(10,"ul")(11,"li")(12,"strong"),v(13,"Svg image files:"),_(),v(14," some complex images are stored as svg files in the library "),g(15,"em"),v(16,"./assets/img"),_(),v(17," folder. This folder holds mostly the application logo in different styles; "),_(),g(18,"li")(19,"strong"),v(20,"Svg \u201csprite\u201d:"),_(),v(21," most of the simple icons are listed in what we call a svg \u201csprite\u201d, which is a list of inline svgs. This list gives us a total flexibility in terms of accessibility and style, allowing svg icons to be referred to from anywhere in the application. "),_(),g(22,"li")(23,"strong"),v(24,"Svg backgrounds:"),_(),v(25," some inline svgs are converted to data URI to be used as background images. This technique allows us to change svg images through HTML classes. "),_()(),g(26,"p"),v(27," The choice of the way we insert the svg will depend on the role it will have in the application and the kind of style flexibility they will need. "),_()(),g(28,"c3m-message-block")(29,"p"),v(30,' Refer to the " '),g(31,"a",1),v(32,"Custom Design"),_(),v(33,' " page to know how to modify CreamNg icons or how to add your own svg sprite. '),_()(),g(34,"section",2)(35,"h3"),v(36,"Decorative Images"),_(),g(37,"p"),v(38," Pure decorative images \u2014 images that don't carry information \u2014 may be referred in the svg sprite or encoded in data URI to be used as background. If the icon should be transformed based on the component state, it is easier to do that if the icon is called as background. "),_(),g(39,"p"),v(40," For example, in the case of radio or check boxes, the svg images that replace the native elements are stored as background images so they can be easily changed if the radio/check box is selected or not. If this is not the case \u2014 the image will not be transformed by a specific state \u2014, you may use an icon listed on the svg sprite. To do so, you have to reference the svg by its ID, with the "),g(41,"code"),v(42,"use"),_(),v(43," element: "),_(),g(44,"pre",3),v(45,'\n '),_(),g(46,"c3m-message-block")(47,"p"),v(48," Notice that, as the image carries no information, we may hide it from screen readers by setting the "),g(49,"code"),v(50,"aria-hidden"),_(),v(51,' attribute as "true". '),_()()(),g(52,"section",4)(53,"h3"),v(54,"Non-decorative images"),_(),g(55,"p"),v(56,"Images that carry information, i.e. they are not purely decorative, must appear as:"),_(),g(57,"ul")(58,"li"),v(59," image files properly referenced by the "),g(60,"code"),v(61,"img"),_(),v(62," element and with a "),g(63,"strong"),v(64," mandatory "),g(65,"code"),v(66,"alt"),_(),v(67," attribute "),_(),v(68," to describe its purpose or meaning; "),_(),g(69,"li"),v(70," svg sprite image called with the "),g(71,"code"),v(72,"use"),_(),v(73," element, with a "),g(74,"strong"),v(75," mandatory "),g(76,"code"),v(77,"title"),_(),v(78," element "),_(),v(79," describing its meaning or purpose: "),_()(),g(80,"pre",3),v(81,'\n Favorites\n \n\n '),_(),g(82,"c3m-message-block")(83,"p"),v(84," The "),g(85,"code"),v(86,"aria-labelledby"),_(),v(87," attribute is needed to ensure that the accessible name of the image will be announced properly by screen readers. "),_(),g(88,"p"),v(89," Adding "),g(90,"code"),v(91,"role=img"),_(),v(92," helps identifying the svg as a graphic (and some bug with Safari). "),_()()(),g(93,"section",5)(94,"h3"),v(95,"Sprite SVG"),_(),g(96,"p"),v(97," Here after is a list of the current icons listed in the "),g(98,"em"),v(99,"sprite.svg"),_(),v(100," file (notice that all icons are 24px x 24px): "),_(),g(101,"ul",6)(102,"li"),He(),g(103,"svg",7),ee(104,"use",8),_(),et(),g(105,"em"),v(106,"pic-arrow"),_()(),g(107,"li"),He(),g(108,"svg",7),ee(109,"use",9),_(),et(),g(110,"em"),v(111,"pic-kebab"),_()(),g(112,"li"),He(),g(113,"svg",7),ee(114,"use",10),_(),et(),g(115,"em"),v(116,"bt-menu"),_()(),g(117,"li"),He(),g(118,"svg",7),ee(119,"use",11),_(),et(),g(120,"em"),v(121,"bt-delete"),_()(),g(122,"li"),He(),g(123,"svg",7),ee(124,"use",12),_(),et(),g(125,"em"),v(126,"accordion-down"),_()(),g(127,"li"),He(),g(128,"svg",7),ee(129,"use",13),_(),et(),g(130,"em"),v(131,"info"),_()(),g(132,"li"),He(),g(133,"svg",7),ee(134,"use",14),_(),et(),g(135,"em"),v(136,"error"),_()(),g(137,"li"),He(),g(138,"svg",7),ee(139,"use",15),_(),et(),g(140,"em"),v(141,"bt-delete-tab"),_()(),g(142,"li"),He(),g(143,"svg",7),ee(144,"use",16),_(),et(),g(145,"em"),v(146,"bt-scrollLeft"),_()(),g(147,"li"),He(),g(148,"svg",7),ee(149,"use",17),_(),et(),g(150,"em"),v(151,"bt-scrollRight"),_()(),g(152,"li"),He(),g(153,"svg",7),ee(154,"use",18),_(),et(),g(155,"em"),v(156,"bt-close"),_()(),g(157,"li"),He(),g(158,"svg",7),ee(159,"use",19),_(),et(),g(160,"em"),v(161,"bt-plus"),_()(),g(162,"li"),He(),g(163,"svg",7),ee(164,"use",20),_(),et(),g(165,"em"),v(166,"bt-less"),_()(),g(167,"li"),He(),g(168,"svg",7),ee(169,"use",21),_(),et(),g(170,"em"),v(171,"bt-copy"),_()(),g(172,"li"),He(),g(173,"svg",7),ee(174,"use",22),_(),et(),g(175,"em"),v(176,"star"),_()()(),g(177,"div",23)(178,"p"),v(179," Most of the icons used are from "),g(180,"a",24),v(181,"Remix Icon"),_(),v(182,' , "a set of open-source neutral-style system symbols". '),_()()())},dependencies:[Fn],styles:["ul.icons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1rem;max-width:100%;list-style-type:none;padding:1rem;margin:2rem 0 0;border-radius:var(--radius)}.foreground[_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--main-color)}.icon-bt[_ngcontent-%COMP%]{fill:var(--text-inv)}ul.icons[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:0}ul.icons[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex-basis:100px;display:flex;flex-direction:column;align-items:center;gap:.5em;text-align:center;padding:.5rem;border:1px solid var(--text-inv);border-radius:calc(var(--radius) / 2)}ul.icons[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:.7em;margin-top:auto}div.editorial[_ngcontent-%COMP%]{margin-bottom:2rem}"]});class qf{constructor(){this.pageTitle="Focus on Page Change",this.componentName="c3mFocusOnPageChange",this.resourceType="Directive"}}qf.\u0275fac=function(e){return new(e||qf)},qf.\u0275cmp=ue({type:qf,selectors:[["app-focus-on-change-page"]],decls:15,vars:0,consts:[[1,"introduction","editorial"],[1,"intro-text"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3," The "),g(4,"code"),v(5,"c3mFocusOnPageChange"),_(),v(6," directive allows you to control focus when your page view changes. This ensures that screen-readers will properly announce the view change, and will put the user in correct context. "),_(),g(7,"p"),v(8," To apply it, just add the "),g(9,"code"),v(10,"c3mFocusOnPageChange"),_(),v(11," directive selector to the element that should get focus when the new view is loaded \u2014 usually in the "),g(12,"code"),v(13,"header"),_(),v(14," element of your application or, like in our portal, in the page title. "),_()()())}});class Gf{constructor(){this.pageTitle="Autocomplete",this.componentName="c3m-autocomplete",this.resourceType="Component",this.countries=["Hauts-de-France","Normandie","Grand Est","Bretagne","Ile-de-France","Pays de la Loire","Centre-Val de Loire","Bourgogne-Franche-Comte","Nouvelle Aquitaine","Auvergne-Rhone-Alpes","Occitanie","Corse","Mayotte","La Reunion","Guyane","Martinique","Guadeloupe"]}}Gf.\u0275fac=function(e){return new(e||Gf)},Gf.\u0275cmp=ue({type:Gf,selectors:[["app-autocomplete-page"]],decls:8,vars:2,consts:[["id","autocomp"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["label","Label of autocomplete",3,"countries"],["tabTitle","Application",1,"block-style"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Autocomplete"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2),ee(5,"c3m-autocomplete",3),_(),g(6,"c3m-tab-panel",4),ee(7,"pre"),_()()()),2&e&&(O(4),$("isActive",!0),O(1),$("countries",t.countries))},dependencies:[an,Gt,gd]});const t4=[{path:"portal",component:Tf,children:[{path:"accordion",component:Sf,data:{title:"Accordion Component"}},{path:"autocomplete",component:Gf,data:{title:"Autocomplete Component"}},{path:"tabs",component:If,data:{title:"Tabs Component"}},{path:"messages",component:Af,data:{title:"Messages Component"}},{path:"custom-design",component:xf,data:{title:"Custom Design"}},{path:"getting-started",component:Mf,data:{title:"Getting Started"}},{path:"collapsible",component:Pf,data:{title:"Collapsible Block"}},{path:"modal",component:Nf,data:{title:"Modal"}},{path:"snackbar",component:Rf,data:{title:"Snackbar"}},{path:"toast",component:kf,data:{title:"Toast"}},{path:"chip",component:Of,data:{title:"Chip"}},{path:"dropdown",component:Ff,data:{title:"Dropdown"}},{path:"icon-button",component:Lf,data:{title:"Icon Button"}},{path:"progress-spinner",component:Bf,data:{title:"Progress Spinner"}},{path:"text-ellipsis",component:$f,data:{title:"Text Ellipsis"}},{path:"tooltip",component:Vf,data:{title:"Tooltip Directive"}},{path:"config",component:jf,data:{title:"Configuring CreamNg"}},{path:"design-basics",component:Uf,data:{title:"CreamNg Design Basics"}},{path:"iconography",component:zf,data:{title:"Iconography"}},{path:"form-design",component:Hf,data:{title:"Form Design"}},{path:"focus-on-page-change",component:qf,data:{title:"Focus on Page Change Directive"}}]},{path:"home",component:Df,data:{title:"CreamNg"}},{path:"",redirectTo:"home",pathMatch:"full"}];class vd{}vd.\u0275fac=function(e){return new(e||vd)},vd.\u0275mod=ki({type:vd}),vd.\u0275inj=at({imports:[N0.forRoot(t4),N0]});const n4=["mainNav"],i4=["navLink"],r4=["levelOne"];function s4(n,e){if(1&n){const t=qn();g(0,"li")(1,"a",11,12),Me("click",function(){return Tt(t),ft(c(2).closeNavCondition())})("blur",function(s){return Tt(t),ft(c(2).isLast(s))}),v(4),_()()}if(2&n){const t=e.$implicit,r=Ot(3);O(1),$("routerLink",t.url),ot("aria-current",r.isActive?"page":null),O(3),Ht(" ",t.label," ")}}function o4(n,e){if(1&n){const t=qn();g(0,"li")(1,"button",6,7),Me("click",function(s){return Tt(t),ft(c().openSection(s))}),He(),g(3,"svg",8),ee(4,"use",9),_(),v(5),_(),et(),g(6,"ul",10),Be(7,s4,5,3,"li",4),_()()}if(2&n){const t=e.$implicit,r=c();O(1),ot("aria-controls",r.navSectionID),O(4),Ht(" ",t.label," "),O(1),$("id",r.navSectionID),O(1),$("ngForOf",r.getSubData(t.label))}}function a4(n,e){if(1&n){const t=qn();g(0,"li")(1,"a",11,12),Me("click",function(){return Tt(t),ft(c(2).closeNavCondition())})("blur",function(s){return Tt(t),ft(c(2).isLast(s))}),v(4),_()()}if(2&n){const t=e.$implicit,r=Ot(3);O(1),$("routerLink",t.url),ot("aria-current",r.isActive?"page":null),O(3),Ht(" ",t.label," ")}}function l4(n,e){if(1&n){const t=qn();g(0,"li")(1,"button",6,7),Me("click",function(s){return Tt(t),ft(c().openSection(s))}),He(),g(3,"svg",8),ee(4,"use",9),_(),v(5),_(),et(),g(6,"ul",10),Be(7,a4,5,3,"li",4),_()()}if(2&n){const t=e.$implicit,r=c();O(1),ot("aria-controls",r.navSectionID),O(4),Ht(" ",t.label," "),O(1),$("id",r.navSectionID),O(1),$("ngForOf",r.getSubDataGuide(t.label))}}class Wf{constructor(e,t,r){this.renderer=e,this.cdr=t,this.Location=r,this.isExpanded=!1,this.navSectionID="",this.navData=[{label:"Blocks",subs:[{label:"Accordion",url:"portal/accordion"},{label:"Collapsible",url:"portal/collapsible"},{label:"Modal",url:"portal/modal"},{label:"Tabs",url:"portal/tabs"}]},{label:"Feedback",subs:[{label:"Messages",url:"portal/messages"},{label:"Snackbar",url:"portal/snackbar"},{label:"Toast",url:"portal/toast"}]},{label:"Utilities",subs:[{label:"Chip",url:"portal/chip"},{label:"Dropdown",url:"portal/dropdown"},{label:"Icon Button",url:"portal/icon-button"},{label:"Progress Spinner",url:"portal/progress-spinner"},{label:"Text Ellipsis",url:"portal/text-ellipsis"}]},{label:"Directives",subs:[{label:"Focus on Page Change",url:"portal/focus-on-page-change"},{label:"Tooltip",url:"portal/tooltip"}]}],this.navDataGuide=[{label:"CreamNg UX/ UI",subs:[{label:"Design Basics",url:"portal/design-basics"},{label:"Iconography",url:"portal/iconography"},{label:"Form Design",url:"portal/form-design"}]},{label:"Setup & Help",subs:[{label:"Getting Started",url:"portal/getting-started"},{label:"Configuring CreamNg",url:"portal/config"},{label:"Custom Design",url:"portal/custom-design"}]}]}ngOnInit(){this.navSectionID="navSection"+this.randomID()}ngAfterViewInit(){this.links.forEach(e=>{if(e.nativeElement.getAttribute("href")===this.Location.path()){const t=e.nativeElement.parentNode.parentNode.previousSibling;t.setAttribute("aria-expanded","true"),t.classList.add("opened")}}),window.innerWidth>=1e3?setTimeout(()=>{this.openNav()},500):setTimeout(()=>{this.closeNav()},500),this.cdr.detectChanges()}routeSkipLink(e){return`${this.Location.path()}#${e}`}onResize(){window.innerWidth>=1e3?this.openNav():this.closeNav(),this.cdr.detectChanges()}keyEvent(e){if("Escape"===e.key&&window.innerWidth<1e3)return this.closeNav(),void e.stopPropagation()}getSubData(e){return Object.values(this.navData).filter(r=>r.label===e)[0].subs}getSubDataGuide(e){return Object.values(this.navDataGuide).filter(r=>r.label===e)[0].subs}closeNav(){this.renderer.removeClass(this.nav.nativeElement,"opened"),this.renderer.addClass(this.nav.nativeElement,"closed"),this.isExpanded=!1}openNav(){this.renderer.removeClass(this.nav.nativeElement,"closed"),this.renderer.addClass(this.nav.nativeElement,"opened"),this.isExpanded=!0}closeNavCondition(){window.innerWidth<1e3&&this.closeNav()}toggleOpen(){this.nav.nativeElement.classList.contains("opened")?this.closeNav():this.openNav()}isLast(e){this.links.last.nativeElement===e.target&&window.innerWidth<1e3&&this.closeNav()}openSection(e){const t=e.target;"false"==t.getAttribute("aria-expanded")?(t.classList.remove("close"),t.classList.add("open"),t.setAttribute("aria-expanded","true")):(t.classList.remove("open"),t.classList.add("close"),t.setAttribute("aria-expanded","false"))}randomID(){return Math.round(19999*Math.random()+1)}}Wf.\u0275fac=function(e){return new(e||Wf)(G(Qo),G(ca),G($p))},Wf.\u0275cmp=ue({type:Wf,selectors:[["app-main-navigation"]],viewQuery:function(e,t){if(1&e&&(ro(n4,5),ro(i4,5),ro(r4,5)),2&e){let r;ci(r=ui())&&(t.nav=r.first),ci(r=ui())&&(t.links=r),ci(r=ui())&&(t.sections=r)}},hostBindings:function(e,t){1&e&&Me("resize",function(s){return t.onResize(s)},0,is)("keydown",function(s){return t.keyEvent(s)},!1,is)},inputs:{setId:"setId"},outputs:{isExpanded:"isExpanded"},decls:14,vars:4,consts:[["aria-label","Main navigation",3,"id"],["mainNav",""],[1,"skip-link"],[3,"href"],[4,"ngFor","ngForOf"],[1,"overlay",3,"click"],["aria-expanded","false",1,"level1",3,"click"],["levelOne",""],["role","img","width","24","height","24","aria-hidden","true"],["href","./assets/img/sprite.svg#accordion-down"],[1,"level2",3,"id"],["routerLinkActive","active",3,"routerLink","click","blur"],["navLink","","ariaRouterLink","routerLinkActive"]],template:function(e,t){1&e&&(g(0,"nav",0,1)(2,"p",2)(3,"a",3),v(4,"Skip navigation"),_()(),g(5,"h2"),v(6,"Components"),_(),g(7,"ul"),Be(8,o4,8,4,"li",4),_(),g(9,"h2"),v(10,"Documentation"),_(),g(11,"ul"),Be(12,l4,8,4,"li",4),_()(),g(13,"div",5),Me("click",function(){return t.toggleOpen()}),_()),2&e&&($("id",t.setId),O(3),$("href",t.routeSkipLink("page-body"),uu),O(5),$("ngForOf",t.navData),O(4),$("ngForOf",t.navDataGuide))},dependencies:[Up,ps,A0],styles:["@keyframes _ngcontent-%COMP%_slide-out{to{transform:translate(200vw)}}@keyframes _ngcontent-%COMP%_slide-in{0%{transform:translate(200vw)}to{transform:translate(0)}}nav[_ngcontent-%COMP%]{box-sizing:border-box;position:absolute;width:85%;max-width:var(--nav-width);height:100%;top:49px;left:-200vw;background-color:var(--n-dark);box-shadow:5px 5px 5px #0000004d;z-index:110}nav[_ngcontent-%COMP%] [_ngcontent-%COMP%]:focus-visible{outline:1px dotted var(--focus-color);outline-offset:-2px}nav[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{position:relative;font:1em var(--stack);margin:0 2rem 1rem}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:none;list-style-type:none;margin:.7rem 2rem 2rem}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:#fff3}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff80}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{padding-top:.5rem;margin-top:.5rem;border-top:1px dotted currentColor}nav[_ngcontent-%COMP%] p.skip-link[_ngcontent-%COMP%]{display:none}nav[_ngcontent-%COMP%] ul.level2[_ngcontent-%COMP%]{margin:0 0 0 28px}nav[_ngcontent-%COMP%] ul.level2[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{padding-top:0;margin-top:0;border-top:none}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited{display:block;color:var(--text-inv);background-color:var(--main-dark);padding:.5em 0}a[_ngcontent-%COMP%]:hover, a[aria-current][_ngcontent-%COMP%]{color:var(--sec-light)}button.level1[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25em;width:100%;font-family:var(--stack-b);background-color:var(--main-dark);padding:.5em 0}button.level1[_ngcontent-%COMP%]:hover{color:var(--sec-light)}button.level1[aria-expanded=false][_ngcontent-%COMP%] + ul.level2[_ngcontent-%COMP%]{display:none}button.level1[aria-expanded=true][_ngcontent-%COMP%] + ul.level2[_ngcontent-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:0 0 24px;fill:currentColor;margin-top:-3px;pointer-events:none;transform-origin:50%;transform:rotate(-90deg);transition:all .2s}button.level1[aria-expanded=true][_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(0)}nav.opened[_ngcontent-%COMP%]{animation-duration:.5s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-out}nav.closed[_ngcontent-%COMP%]{animation-duration:1s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-in}nav.opened[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], nav.opened[_ngcontent-%COMP%] p.skip-link[_ngcontent-%COMP%]{display:block}div.overlay[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;height:100%;top:49px;left:0;background-color:#000c;z-index:100}nav.opened[_ngcontent-%COMP%] + div.overlay[_ngcontent-%COMP%]{display:block}@media screen and (min-width: 1000px){nav[_ngcontent-%COMP%], nav.opened[_ngcontent-%COMP%]{position:relative;width:100%;top:2rem;animation-duration:.5s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-out;box-shadow:none;z-index:110}nav.opened[_ngcontent-%COMP%]{display:block;overflow-y:auto;height:calc(100vh - 250px - 2rem);scroll-behavior:smooth;scrollbar-width:thin}nav.opened[_ngcontent-%COMP%] + div.overlay[_ngcontent-%COMP%]{display:none}}"]});class Kf{constructor(){this.mediumRes="1000px"}}Kf.\u0275fac=function(e){return new(e||Kf)},Kf.\u0275cmp=ue({type:Kf,selectors:[["app-header"]],decls:13,vars:2,consts:[["routerLink","/home","routerLinkActive","active",1,"logo"],["srcset","./assets/img/creamNG-logo.svg",3,"media"],["src","./assets/img/creamNG-logo-sml.svg","alt","Cream-NG, your accessible Angular Lib"],["id","navControl","aria-controls","mainNavigation",1,"nav-control",3,"click"],["role","img","width","24","height","24","aria-describedby","controlLabel"],["id","controlLabel"],["href","./assets/img/sprite.svg#bt-menu"],["setId","mainNavigation","currentRoute","currentUrl"],["mainNav",""]],template:function(e,t){if(1&e){const r=qn();g(0,"header")(1,"h1")(2,"a",0)(3,"picture"),ee(4,"source",1)(5,"img",2),_()()(),g(6,"button",3),Me("click",function(){return Tt(r),ft(Ot(12).toggleOpen())}),He(),g(7,"svg",4)(8,"title",5),v(9,"Open/Close navigation"),_(),ee(10,"use",6),_()(),et(),ee(11,"app-main-navigation",7,8),_()}if(2&e){const r=Ot(12);O(4),p("media","(min-width: ",t.mediumRes,")"),O(2),ot("aria-expanded",r.isExpanded)}},dependencies:[ps,A0,Wf],styles:["header[_ngcontent-%COMP%]{--focus-color: var(--sec-light);box-sizing:border-box;color:var(--text-inv);background-color:var(--n-dark);padding:.5rem}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:currentColor;background-color:var(--n-dark);margin-left:45px}h1[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:155px}h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative;top:-5px}button.nav-control[_ngcontent-%COMP%]{position:absolute;top:.75rem;left:calc(1rem - 2px);background-color:initial;padding:0;margin-right:auto;transition:transform .7s}button.nav-control[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--text-inv)}.burgerVertical[_ngcontent-%COMP%]{transform:rotate(90deg)}@media screen and (min-width: 1000px){header[_ngcontent-%COMP%]{position:fixed;width:var(--nav-width);height:100%;top:0;left:0;padding:2rem 0 0;z-index:2}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:block;text-align:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding:0;margin:0;z-index:112}button.nav-control[_ngcontent-%COMP%]{display:none}}"]});class Qf{}Qf.\u0275fac=function(e){return new(e||Qf)},Qf.\u0275cmp=ue({type:Qf,selectors:[["app-footer"]],decls:3,vars:0,template:function(e,t){1&e&&(g(0,"footer")(1,"p"),v(2,"CreamNg is a CreamLib Open Source, 2023"),_()())},styles:["footer[_ngcontent-%COMP%]{color:var(--n-dark);background-color:var(--n-light);padding:.5rem 1rem}p[_ngcontent-%COMP%]{font-size:.8em;text-align:center}@media screen and (min-width: 1000px){p[_ngcontent-%COMP%]{text-align:right}}"]});class Yf{}Yf.\u0275fac=function(e){return new(e||Yf)},Yf.\u0275cmp=ue({type:Yf,selectors:[["app-root"]],decls:4,vars:0,consts:[["id","page-body"]],template:function(e,t){1&e&&(ee(0,"app-header"),g(1,"main",0),ee(2,"router-outlet"),_(),ee(3,"app-footer"))},dependencies:[ey,Kf,Qf]});class _d{}_d.\u0275fac=function(e){return new(e||_d)},_d.\u0275mod=ki({type:_d,bootstrap:[Yf]}),_d.\u0275inj=at({imports:[Lw,vd,md]}),Gk().bootstrapModule(_d).catch(n=>console.error(n))},310:()=>{class TE extends Error{constructor(i){super(`No translation found for ${Dp(i)}.`),this.parsedMessage=i,this.type="MissingTranslationError"}}const Ru=function(c,...i){if(Ru.translate){const l=Ru.translate(c,i);c=l[0],i=l[1]}let o=Tp(c[0],c.raw[0]);for(let l=1;ltypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=Ru}},ge=>{var mn=kr=>ge(ge.s=kr);mn(310),mn(5)}]); \ No newline at end of file diff --git a/main.7f8e6f2f769d0588.js b/main.7f8e6f2f769d0588.js deleted file mode 100644 index dae51a4..0000000 --- a/main.7f8e6f2f769d0588.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngx_cream_portal=self.webpackChunkngx_cream_portal||[]).push([[179],{649:()=>{function ge(n){return"function"==typeof n}function mn(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const mo=mn(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,s)=>`${s+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function kr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class Gt{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const a of t)a.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ge(r))try{r()}catch(a){e=a instanceof mo?a.errors:[a]}const{_finalizers:s}=this;if(s){this._finalizers=null;for(const a of s)try{Ie(a)}catch(u){e=e??[],u instanceof mo?e=[...e,...u.errors]:e.push(u)}}if(e)throw new mo(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Ie(e);else{if(e instanceof Gt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&kr(t,e)}remove(e){const{_finalizers:t}=this;t&&kr(t,e),e instanceof Gt&&e._removeParent(this)}}Gt.EMPTY=(()=>{const n=new Gt;return n.closed=!0,n})();const _d=Gt.EMPTY;function Zl(n){return n instanceof Gt||n&&"closed"in n&&ge(n.remove)&&ge(n.add)&&ge(n.unsubscribe)}function Ie(n){ge(n)?n():n.unsubscribe()}const Or={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vs={setTimeout(n,e,...t){const{delegate:r}=vs;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=vs;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Xl(n){vs.setTimeout(()=>{const{onUnhandledError:e}=Or;if(!e)throw n;e(n)})}function Jl(){}const Fr=yd("C",void 0,void 0);function yd(n,e,t){return{kind:n,value:e,error:t}}let _s=null;function Mt(n){if(Or.useDeprecatedSynchronousErrorHandling){const e=!_s;if(e&&(_s={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:r}=_s;if(_s=null,t)throw r}}else n()}class ya extends Gt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zl(e)&&e.add(this)):this.destination=nc}static create(e,t,r){return new Xt(e,t,r)}next(e){this.isStopped?Ed(function Sy(n){return yd("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?Ed(function ec(n){return yd("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ed(Fr,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()}}}const bd=Function.prototype.bind;function Cd(n,e){return bd.call(n,e)}class je{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){tc(r)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){tc(r)}else tc(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){tc(t)}}}class Xt extends ya{constructor(e,t,r){let s;if(super(),ge(e)||!e)s={next:e??void 0,error:t??void 0,complete:r??void 0};else{let a;this&&Or.useDeprecatedNextContext?(a=Object.create(e),a.unsubscribe=()=>this.unsubscribe(),s={next:e.next&&Cd(e.next,a),error:e.error&&Cd(e.error,a),complete:e.complete&&Cd(e.complete,a)}):s=e}this.destination=new je(s)}}function tc(n){Or.useDeprecatedSynchronousErrorHandling?function Ni(n){Or.useDeprecatedSynchronousErrorHandling&&_s&&(_s.errorThrown=!0,_s.error=n)}(n):Xl(n)}function Ed(n,e){const{onStoppedNotification:t}=Or;t&&vs.setTimeout(()=>t(n,e))}const nc={closed:!0,next:Jl,error:function Dy(n){throw n},complete:Jl},Qf="function"==typeof Symbol&&Symbol.observable||"@@observable";function ys(n){return n}function Yf(n){return 0===n.length?ys:1===n.length?n[0]:function(t){return n.reduce((r,s)=>s(r),t)}}let Ct=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,s){const a=function ic(n){return n&&n instanceof ya||function Iy(n){return n&&ge(n.next)&&ge(n.error)&&ge(n.complete)}(n)&&Zl(n)}(t)?t:new Xt(t,r,s);return Mt(()=>{const{operator:u,source:h}=this;a.add(u?u.call(a,h):h?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=wd(r))((s,a)=>{const u=new Xt({next:h=>{try{t(h)}catch(f){a(f),u.unsubscribe()}},error:a,complete:s});this.subscribe(u)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Qf](){return this}pipe(...t){return Yf(t)(this)}toPromise(t){return new(t=wd(t))((r,s)=>{let a;this.subscribe(u=>a=u,u=>s(u),()=>r(a))})}}return n.create=e=>new n(e),n})();function wd(n){var e;return null!==(e=n??Or.Promise)&&void 0!==e?e:Promise}const rS=mn(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ue=(()=>{class n extends Ct{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Sd(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new rS}next(t){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:s,observers:a}=this;return r||s?_d:(this.currentObservers=null,a.push(t),new Gt(()=>{this.currentObservers=null,kr(a,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:s,isStopped:a}=this;r?t.error(s):a&&t.complete()}asObservable(){const t=new Ct;return t.source=this,t}}return n.create=(e,t)=>new Sd(e,t),n})();class Sd extends Ue{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:_d}}function Zf(n){return ge(n?.lift)}function mt(n){return e=>{if(Zf(e))return e.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Pt(n,e,t,r,s){return new Ay(n,e,t,r,s)}class Ay extends ya{constructor(e,t,r,s,a,u){super(e),this.onFinalize=a,this.shouldUnsubscribe=u,this._next=t?function(h){try{t(h)}catch(f){e.error(f)}}:super._next,this._error=s?function(h){try{s(h)}catch(f){e.error(f)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(h){e.error(h)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Ae(n,e){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>{r.next(n.call(e,a,s++))}))})}function Nt(n){return this instanceof Nt?(this.v=n,this):new Nt(n)}function Sn(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,r=t.apply(n,e||[]),a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(D){r[D]&&(s[D]=function(I){return new Promise(function(M,R){a.push([D,I,M,R])>1||h(D,I)})})}function h(D,I){try{!function f(D){D.value instanceof Nt?Promise.resolve(D.value.v).then(m,b):E(a[0][2],D)}(r[D](I))}catch(M){E(a[0][3],M)}}function m(D){h("next",D)}function b(D){h("throw",D)}function E(D,I){D(I),a.shift(),a.length&&h(a[0][0],a[0][1])}}function Ly(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function eg(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(a){t[a]=n[a]&&function(u){return new Promise(function(h,f){!function s(a,u,h,f){Promise.resolve(f).then(function(m){a({value:m,done:h})},u)}(h,f,(u=n[a](u)).done,u.value)})}}}const Id=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ig(n){return ge(n?.then)}function Ad(n){return ge(n[Qf])}function rg(n){return Symbol.asyncIterator&&ge(n?.[Symbol.asyncIterator])}function qi(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const tt=function ba(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Gi(n){return ge(n?.[tt])}function Ri(n){return Sn(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:r,done:s}=yield Nt(t.read());if(s)return yield Nt(void 0);yield yield Nt(r)}}finally{t.releaseLock()}})}function sg(n){return ge(n?.getReader)}function Yn(n){if(n instanceof Ct)return n;if(null!=n){if(Ad(n))return function bs(n){return new Ct(e=>{const t=n[Qf]();if(ge(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Id(n))return function Dn(n){return new Ct(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Xl)})}(n);if(rg(n))return Cs(n);if(Gi(n))return function By(n){return new Ct(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(sg(n))return function xd(n){return Cs(Ri(n))}(n)}throw qi(n)}function Cs(n){return new Ct(e=>{(function $y(n,e){var t,r,s,a;return function Ny(n,e,t,r){return new(t||(t=Promise))(function(a,u){function h(b){try{m(r.next(b))}catch(E){u(E)}}function f(b){try{m(r.throw(b))}catch(E){u(E)}}function m(b){b.done?a(b.value):function s(a){return a instanceof t?a:new t(function(u){u(a)})}(b.value).then(h,f)}m((r=r.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Ly(n);!(r=yield t.next()).done;)if(e.next(r.value),e.closed)return}catch(u){s={error:u}}finally{try{r&&!r.done&&(a=t.return)&&(yield a.call(t))}finally{if(s)throw s.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Wt(n,e,t,r=0,s=!1){const a=e.schedule(function(){t(),s?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(a),!s)return a}function U(n,e,t=1/0){return ge(e)?U((r,s)=>Ae((a,u)=>e(r,a,s,u))(Yn(n(r,s))),t):("number"==typeof e&&(t=e),mt((r,s)=>function hi(n,e,t,r,s,a,u,h){const f=[];let m=0,b=0,E=!1;const D=()=>{E&&!f.length&&!m&&e.complete()},I=R=>m{a&&e.next(R),m++;let O=!1;Yn(t(R,b++)).subscribe(Pt(e,V=>{s?.(V),a?I(V):e.next(V)},()=>{O=!0},void 0,()=>{if(O)try{for(m--;f.length&&mM(V)):M(V)}D()}catch(V){e.error(V)}}))};return n.subscribe(Pt(e,I,()=>{E=!0,D()})),()=>{h?.()}}(r,s,n,t)))}function Es(n=1/0){return U(ys,n)}const Wi=new Ct(n=>n.complete());function ws(n){return n&&ge(n.schedule)}function Ss(n){return n[n.length-1]}function Lr(n){return ws(Ss(n))?n.pop():void 0}function Ca(n,e=0){return mt((t,r)=>{t.subscribe(Pt(r,s=>Wt(r,n,()=>r.next(s),e),()=>Wt(r,n,()=>r.complete(),e),s=>Wt(r,n,()=>r.error(s),e)))})}function Br(n,e=0){return mt((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),e))})}function ac(n,e){if(!n)throw new Error("Iterable cannot be null");return new Ct(t=>{Wt(t,e,()=>{const r=n[Symbol.asyncIterator]();Wt(t,e,()=>{r.next().then(s=>{s.done?t.complete():t.next(s.value)})},0,!0)})})}function Kt(n,e){return e?function Ea(n,e){if(null!=n){if(Ad(n))return function oc(n,e){return Yn(n).pipe(Br(e),Ca(e))}(n,e);if(Id(n))return function fi(n,e){return new Ct(t=>{let r=0;return e.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}(n,e);if(ig(n))return function _o(n,e){return Yn(n).pipe(Br(e),Ca(e))}(n,e);if(rg(n))return ac(n,e);if(Gi(n))return function Md(n,e){return new Ct(t=>{let r;return Wt(t,e,()=>{r=n[tt](),Wt(t,e,()=>{let s,a;try{({value:s,done:a}=r.next())}catch(u){return void t.error(u)}a?t.complete():t.next(s)},0,!0)}),()=>ge(r?.return)&&r.return()})}(n,e);if(sg(n))return function yo(n,e){return ac(Ri(n),e)}(n,e)}throw qi(n)}(n,e):Yn(n)}function lc(...n){const e=Lr(n),t=function sc(n,e){return"number"==typeof Ss(n)?n.pop():e}(n,1/0),r=n;return r.length?1===r.length?Yn(r[0]):Es(t)(Kt(r,e)):Wi}function cc(n,e,...t){if(!0===e)return void n();if(!1===e)return;const r=new Xt({next:()=>{r.unsubscribe(),n()}});return e(...t).subscribe(r)}function Ze(n){for(let e in n)if(n[e]===Ze)return e;throw Error("Could not find renamed property on target object.")}function ct(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ct).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function wa(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const ag=Ze({__forward_ref__:Ze});function Ds(n){return n.__forward_ref__=Ds,n.toString=function(){return ct(this())},n}function me(n){return bo(n)?n():n}function bo(n){return"function"==typeof n&&n.hasOwnProperty(ag)&&n.__forward_ref__===Ds}function Co(n){return n&&!!n.\u0275providers}const $r="https://g.co/ng/security#xss";class j extends Error{constructor(e,t){super(function nt(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}(e,t)),this.code=e}}function Ce(n){return"string"==typeof n?n:null==n?"":String(n)}function wo(n,e){throw new j(-201,!1)}function se(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}function ae(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ot(n){return{providers:n.providers||[],imports:n.imports||[]}}function dc(n){return Jt(n,Ta)||Jt(n,Od)}function Jt(n,e){return n.hasOwnProperty(e)?n[e]:null}function k(n){return n&&(n.hasOwnProperty(Ia)||n.hasOwnProperty(Uy))?n[Ia]:null}const Ta=Ze({\u0275prov:Ze}),Ia=Ze({\u0275inj:Ze}),Od=Ze({ngInjectableDef:Ze}),Uy=Ze({ngInjectorDef:Ze});var _e=(()=>((_e=_e||{})[_e.Default=0]="Default",_e[_e.Host=1]="Host",_e[_e.Self=2]="Self",_e[_e.SkipSelf=4]="SkipSelf",_e[_e.Optional=8]="Optional",_e))();let Fd;function Jn(n){const e=Fd;return Fd=n,e}function hg(n,e,t){const r=dc(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&_e.Optional?null:void 0!==e?e:void wo(ct(n))}const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),So={},N="__NG_DI_FLAG__",x="ngTempTokenPath",zy=/\n/gm,pg="__source";let Ur;function Do(n){const e=Ur;return Ur=n,e}function Aa(n,e=_e.Default){if(void 0===Ur)throw new j(-203,!1);return null===Ur?hg(n,void 0,e):Ur.get(n,e&_e.Optional?null:void 0,e)}function Y(n,e=_e.Default){return(function dg(){return Fd}()||Aa)(me(n),e)}function Le(n,e=_e.Default){return Y(n,xa(e))}function xa(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Ma(n){const e=[];for(let t=0;t((gi=gi||{})[gi.OnPush=0]="OnPush",gi[gi.Default=1]="Default",gi))(),mi=(()=>{return(n=mi||(mi={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",mi;var n})();const gr={},Ke=[],Na=Ze({\u0275cmp:Ze}),$t=Ze({\u0275dir:Ze}),ei=Ze({\u0275pipe:Ze}),fc=Ze({\u0275mod:Ze}),Ln=Ze({\u0275fac:Ze}),Is=Ze({__NG_ELEMENT_ID__:Ze});let Qi=0;function de(n){return fr(()=>{const t=!0===n.standalone,r={},s={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ke,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||mi.Emulated,id:"c"+Qi++,styles:n.styles||Ke,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=n.dependencies,u=n.features;return s.inputs=mg(n.inputs,r),s.outputs=mg(n.outputs),u&&u.forEach(h=>h(s)),s.directiveDefs=a?()=>("function"==typeof a?a():a).map(Bd).filter($d):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(en).filter($d):null,s})}function Bd(n){return Xe(n)||yn(n)}function $d(n){return null!==n}function ki(n){return fr(()=>({type:n.type,bootstrap:n.bootstrap||Ke,declarations:n.declarations||Ke,imports:n.imports||Ke,exports:n.exports||Ke,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function mg(n,e){if(null==n)return gr;const t={};for(const r in n)if(n.hasOwnProperty(r)){let s=n[r],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),t[s]=r,e&&(e[s]=a)}return t}const pt=de;function Xe(n){return n[Na]||null}function yn(n){return n[$t]||null}function en(n){return n[ei]||null}function Tn(n,e){const t=n[fc]||null;if(!t&&!0===e)throw new Error(`Type ${ct(n)} does not have '\u0275mod' property.`);return t}function pe(n){return Array.isArray(n)&&"object"==typeof n[1]}function Ne(n){return Array.isArray(n)&&!0===n[1]}function Oe(n){return 0!=(4&n.flags)}function Ra(n){return n.componentOffset>-1}function Ps(n){return 1==(1&n.flags)}function _i(n){return null!==n.template}function Ky(n){return 0!=(256&n[2])}function Ns(n,e){return n.hasOwnProperty(Ln)?n[Ln]:null}class bg{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Fi(){return Cg}function Cg(n){return n.type.prototype.ngOnChanges&&(n.setInput=Eg),Xy}function Xy(){const n=Gd(this),e=n?.current;if(e){const t=n.previous;if(t===gr)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function Eg(n,e,t,r){const s=this.declaredInputs[t],a=Gd(n)||function Wd(n,e){return n[Oa]=e}(n,{previous:gr,current:null}),u=a.current||(a.current={}),h=a.previous,f=h[s];u[s]=new bg(f&&f.currentValue,e,h===gr),n[r]=e}Fi.ngInherit=!0;const Oa="__ngSimpleChanges__";function Gd(n){return n[Oa]||null}function dt(n){for(;Array.isArray(n);)n=n[0];return n}function Cc(n,e){return dt(e[n])}function ni(n,e){return dt(e[n.index])}function Kd(n,e){return n.data[e]}function ii(n,e){const t=e[n];return pe(t)?t:t[0]}function La(n){return 64==(64&n[2])}function Qt(n,e){return null==e?null:n[e]}function $a(n){n[18]=0}function Qd(n,e){n[5]+=e;let t=n,r=n[3];for(;null!==r&&(1===e&&1===t[5]||-1===e&&0===t[5]);)r[5]+=e,t=r,r=r[3]}const Se={lFrame:Ls(null),bindingsEnabled:!0};function Yd(){return Se.bindingsEnabled}function z(){return Se.lFrame.lView}function ze(){return Se.lFrame.tView}function Tt(n){return Se.lFrame.contextLView=n,n[8]}function ft(n){return Se.lFrame.contextLView=null,n}function at(){let n=An();for(;null!==n&&64===n.type;)n=n.parent;return n}function An(){return Se.lFrame.currentTNode}function Va(){const n=Se.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function bi(n,e){const t=Se.lFrame;t.currentTNode=n,t.isParent=e}function mr(){return Se.lFrame.isParent}function wc(){Se.lFrame.isParent=!1}function un(){const n=Se.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function Fs(){return Se.lFrame.bindingIndex++}function vr(n){const e=Se.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function Io(n){Se.lFrame.inI18n=n}function Dc(n,e){const t=Se.lFrame;t.bindingIndex=t.bindingRootIndex=n,Jd(e)}function Jd(n){Se.lFrame.currentDirectiveIndex=n}function Zi(){return Se.lFrame.currentQueryIndex}function Ao(n){Se.lFrame.currentQueryIndex=n}function xo(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Xi(n,e,t){if(t&_e.SkipSelf){let s=e,a=n;for(;!(s=s.parent,null!==s||t&_e.Host||(s=xo(a),null===s||(a=a[15],10&s.type))););if(null===s)return!1;e=s,n=a}const r=Se.lFrame=er();return r.currentTNode=e,r.lView=n,!0}function Ji(n){const e=er(),t=n[1];Se.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function er(){const n=Se.lFrame,e=null===n?null:n.child;return null===e?Ls(n):e}function Ls(n){const 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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Bs(){const n=Se.lFrame;return Se.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const _r=Bs;function Ic(){const n=Bs();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Cn(){return Se.lFrame.selectedIndex}function Ci(n){Se.lFrame.selectedIndex=n}function It(){const n=Se.lFrame;return Kd(n.tView,n.selectedIndex)}function qe(){Se.lFrame.currentNamespace="svg"}function it(){!function Ua(){Se.lFrame.currentNamespace=null}()}function Ac(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t=r)break}else e[f]<0&&(n[18]+=65536),(h>11>16&&(3&n[2])===e){n[2]+=2048;try{a.call(h)}finally{}}}else try{a.call(h)}finally{}}class Po{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Mc(n,e,t){let r=0;for(;re){u=a-1;break}}}for(;a>16}(n),r=e;for(;t>0;)r=r[15],t--;return r}let kc=!0;function qa(n){const e=kc;return kc=n,e}let nn=0;const At={};function Fc(n,e){const t=kg(n,e);if(-1!==t)return t;const r=e[1];r.firstCreatePass&&(n.injectorIndex=e.length,sh(r.data,n),sh(e,null),sh(r.blueprint,null));const s=Kr(n,e),a=n.injectorIndex;if(Nc(s)){const u=Li(s),h=Rc(s,e),f=h[1].data;for(let m=0;m<8;m++)e[a+m]=h[u+m]|f[u+m]}return e[a+8]=s,a}function sh(n,e){n.push(0,0,0,0,0,0,0,0,e)}function kg(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Kr(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,s=e;for(;null!==s;){if(r=Vc(s),null===r)return-1;if(t++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function Lc(n,e,t){!function Ga(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Is)&&(r=t[Is]),null==r&&(r=t[Is]=nn++);const s=255&r;e.data[n+(s>>5)]|=1<=0?255&e:ub:e}(t);if("function"==typeof a){if(!Xi(e,n,r))return r&_e.Host?Wa(s,0,r):Og(e,t,r,s);try{const u=a(r);if(null!=u||r&_e.Optional)return u;wo()}finally{_r()}}else if("number"==typeof a){let u=null,h=kg(n,e),f=-1,m=r&_e.Host?e[16][6]:null;for((-1===h||r&_e.SkipSelf)&&(f=-1===h?Kr(n,e):e[h+8],-1!==f&&Bg(r,!1)?(u=e[1],h=Li(f),e=Rc(f,e)):h=-1);-1!==h;){const b=e[1];if(ah(a,h,b.data)){const E=cb(h,e,t,u,r,m);if(E!==At)return E}f=e[h+8],-1!==f&&Bg(r,e[1].data[h+8]===m)&&ah(a,h,e)?(u=b,h=Li(f),e=Rc(f,e)):h=-1}}return s}function cb(n,e,t,r,s,a){const u=e[1],h=u.data[n+8],b=Bc(h,u,t,null==r?Ra(h)&&kc:r!=u&&0!=(3&h.type),s&_e.Host&&a===h);return null!==b?Vs(e,u,b,h):At}function Bc(n,e,t,r,s){const a=n.providerIndexes,u=e.data,h=1048575&a,f=n.directiveStart,b=a>>20,D=s?h+b:n.directiveEnd;for(let I=r?h:h+b;I=f&&M.type===t)return I}if(s){const I=u[f];if(I&&_i(I)&&I.type===t)return f}return null}function Vs(n,e,t,r){let s=n[t];const a=e.data;if(function Pg(n){return n instanceof Po}(s)){const u=s;u.resolving&&function Eo(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new j(-200,`Circular dependency in DI detected for ${n}${t}`)}(function Ge(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Ce(n)}(a[t]));const h=qa(u.canSeeViewProviders);u.resolving=!0;const f=u.injectImpl?Jn(u.injectImpl):null;Xi(n,r,_e.Default);try{s=n[t]=u.factory(void 0,a,n,r),e.firstCreatePass&&t>=r.directiveStart&&function Ha(n,e,t){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:a}=e.type.prototype;if(r){const u=Cg(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,u),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,u)}s&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,s),a&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,a),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,a))}(t,a[t],e)}finally{null!==f&&Jn(f),qa(h),u.resolving=!1,_r()}}return s}function ah(n,e,t){return!!(t[e+(n>>5)]&1<{const e=$c(me(n));return e&&e()}:Ns(n)}function Vc(n){const e=n[1],t=e.type;return 2===t?e.declTNode:1===t?n[6]:null}const Us="__parameters__";function wt(n,e,t){return fr(()=>{const r=function Hs(n){return function(...t){if(n){const r=n(...t);for(const s in r)this[s]=r[s]}}}(e);function s(...a){if(this instanceof s)return r.apply(this,a),this;const u=new s(...a);return h.annotation=u,h;function h(f,m,b){const E=f.hasOwnProperty(Us)?f[Us]:Object.defineProperty(f,Us,{value:[]})[Us];for(;E.length<=b;)E.push(null);return(E[b]=E[b]||[]).push(u),f}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}class te{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Mn(n,e){n.forEach(t=>Array.isArray(t)?Mn(t,e):e(t))}function Hc(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Ro(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function nr(n,e){const t=[];for(let r=0;r=0?n[1|r]=t:(r=~r,function Yr(n,e,t,r){let s=n.length;if(s==e)n.push(t,r);else if(1===s)n.push(r,n[0]),n[0]=t;else{for(s--,n.push(n[s-1],n[s]);s>e;)n[s]=n[s-2],s--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function dh(n,e){const t=ko(n,e);if(t>=0)return n[1|t]}function ko(n,e){return function qc(n,e,t){let r=0,s=n.length>>t;for(;s!==r;){const a=r+(s-r>>1),u=n[a<e?s=a:r=a+1}return~(s<((Hn=Hn||{})[Hn.Important=1]="Important",Hn[Hn.DashCase=2]="DashCase",Hn))();const Xc=new Map;let um=0;const wh="__ngContext__";function En(n,e){pe(e)?(n[wh]=e[20],function bb(n){Xc.set(n[20],n)}(e)):n[wh]=e}let Jc;function Th(n,e){return Jc(n,e)}function tl(n){const e=n[3];return Ne(e)?e[3]:e}function ue(n){return Ah(n[13])}function Ih(n){return Ah(n[4])}function Ah(n){for(;null!==n&&!Ne(n);)n=n[4];return n}function zn(n,e,t,r,s){if(null!=r){let a,u=!1;Ne(r)?a=r:pe(r)&&(u=!0,r=r[0]);const h=dt(r);0===n&&null!==t?null==s?Rh(e,t,h):Ks(e,t,h,s||null,!0):1===n&&null!==t?Ks(e,t,h,s||null,!0):2===n?function ru(n,e,t){const r=iu(n,e);r&&function nl(n,e,t,r){n.removeChild(e,t,r)}(n,r,e,t)}(e,h,u):3===n&&e.destroyNode(h),null!=a&&function ol(n,e,t,r,s){const a=t[7];a!==dt(t)&&zn(e,n,r,a,s);for(let h=10;h0&&(n[t-1][4]=r[4]);const a=Ro(n,10+e);!function Mh(n,e){sl(n,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const u=a[19];null!==u&&u.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function nu(n,e){if(!(128&e[2])){const t=e[11];t.destroyNode&&sl(n,e,t,3,null,null),function xb(n){let e=n[13];if(!e)return Nh(n[1],n);for(;e;){let t=null;if(pe(e))t=e[13];else{const r=e[10];r&&(t=r)}if(!t){for(;e&&!e[4]&&e!==n;)pe(e)&&Nh(e[1],e),e=e[3];null===e&&(e=n),pe(e)&&Nh(e[1],e),t=e&&e[4]}e=t}}(e)}}function Nh(n,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function Pb(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r=0?r[s=u]():r[s=-u].unsubscribe(),a+=2}else{const u=r[s=t[a+1]];t[a].call(u)}if(null!==r){for(let a=s+1;a-1){const{encapsulation:a}=n.data[r.directiveStart+s];if(a===mi.None||a===mi.Emulated)return null}return ni(r,t)}}function Ks(n,e,t,r,s){n.insertBefore(e,t,r,s)}function Rh(n,e,t){n.appendChild(e,t)}function wi(n,e,t,r,s){null!==r?Ks(n,e,t,r,s):Rh(n,e,t)}function iu(n,e){return n.parentNode(e)}function Lo(n,e,t){return kh(n,e,t)}function Bo(n,e,t){return 40&n.type?ni(n,t):null}let $o,ou,Oh,es,kh=Bo;function Vo(n,e){kh=n,$o=e}function Zr(n,e,t,r){const s=wm(n,r,e),a=e[11],h=Lo(r.parent||e[6],r,e);if(null!=s)if(Array.isArray(t))for(let f=0;fn,createScript:n=>n,createScriptURL:n=>n})}catch{}return ou}()?.createHTML(n)||n}function Ho(n){return function Uo(){if(void 0===es&&(es=null,ut.trustedTypes))try{es=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return es}()?.createScriptURL(n)||n}class xm{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$r})`}}function ts(n){return n instanceof xm?n.changingThisBreaksApplicationSecurity:n}function zo(n,e){const t=function Bb(n){return n instanceof xm&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${$r})`)}return t===e}class $S{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Jr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class jb{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const r=this.inertDocument.createElement("body");t.appendChild(r)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Jr(e),t;const r=this.inertDocument.createElement("body");return r.innerHTML=Jr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let s=t.length-1;0((Ut=Ut||{})[Ut.NONE=0]="NONE",Ut[Ut.HTML=1]="HTML",Ut[Ut.STYLE=2]="STYLE",Ut[Ut.SCRIPT=3]="SCRIPT",Ut[Ut.URL=4]="URL",Ut[Ut.RESOURCE_URL=5]="RESOURCE_URL",Ut))();function uu(n){const e=rt();return e?e.sanitize(Ut.URL,n)||"":zo(n,"URL")?ts(n):Bh(Ce(n))}function $m(n){const e=rt();if(e)return Ho(e.sanitize(Ut.RESOURCE_URL,n)||"");if(zo(n,"ResourceURL"))return Ho(ts(n));throw new j(904,!1)}function rt(){const n=z();return n&&n[12]}const du=new te("ENVIRONMENT_INITIALIZER"),jm=new te("INJECTOR",-1),Um=new te("INJECTOR_DEF_TYPES");class Hh{get(e,t=So){if(t===So){const r=new Error(`NullInjectorError: No provider for ${ct(e)}!`);throw r.name="NullInjectorError",r}return t}}function Hm(...n){return{\u0275providers:zh(0,n),\u0275fromNgModule:!0}}function zh(n,...e){const t=[],r=new Set;let s;return Mn(e,a=>{const u=a;Gh(u,t,[],r)&&(s||(s=[]),s.push(u))}),void 0!==s&&qh(s,t),t}function qh(n,e){for(let t=0;t{e.push(a)})}}function Gh(n,e,t,r){if(!(n=me(n)))return!1;let s=null,a=k(n);const u=!a&&Xe(n);if(a||u){if(u&&!u.standalone)return!1;s=n}else{const f=n.ngModule;if(a=k(f),!a)return!1;s=f}const h=r.has(s);if(u){if(h)return!1;if(r.add(s),u.dependencies){const f="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const m of f)Gh(m,e,t,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let m;r.add(s);try{Mn(a.imports,b=>{Gh(b,e,t,r)&&(m||(m=[]),m.push(b))})}finally{}void 0!==m&&qh(m,e)}if(!h){const m=Ns(s)||(()=>new s);e.push({provide:s,useFactory:m,deps:Ke},{provide:Um,useValue:s,multi:!0},{provide:du,useValue:()=>Y(s),multi:!0})}const f=a.providers;null==f||h||rr(f,b=>{e.push(b)})}}return s!==n&&void 0!==n.providers}function rr(n,e){for(let t of n)Co(t)&&(t=t.\u0275providers),Array.isArray(t)?rr(t,e):e(t)}const zm=Ze({provide:String,useValue:Ze});function Wh(n){return null!==n&&"object"==typeof n&&zm in n}function Qs(n){return"function"==typeof n}const cl=new te("Set Injector scope."),pu={},iC={};let Kh;function rn(){return void 0===Kh&&(Kh=new Hh),Kh}class Cr{}class fu extends Cr{constructor(e,t,r,s){super(),this.parent=t,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qh(e,u=>this.processProvider(u)),this.records.set(jm,qo(void 0,this)),s.has("environment")&&this.records.set(Cr,qo(void 0,this));const a=this.records.get(cl);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Um.multi,Ke,_e.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=Do(this),r=Jn(void 0);try{return e()}finally{Do(t),Jn(r)}}get(e,t=So,r=_e.Default){this.assertNotDestroyed(),r=xa(r);const s=Do(this),a=Jn(void 0);try{if(!(r&_e.SkipSelf)){let h=this.records.get(e);if(void 0===h){const f=function Xm(n){return"function"==typeof n||"object"==typeof n&&n instanceof te}(e)&&dc(e);h=f&&this.injectableDefInScope(f)?qo(ul(e),pu):null,this.records.set(e,h)}if(null!=h)return this.hydrate(e,h)}return(r&_e.Self?rn():this.parent).get(e,t=r&_e.Optional&&t===So?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[x]=u[x]||[]).unshift(ct(e)),s)throw u;return function gg(n,e,t,r){const s=n[x];throw e[pg]&&s.unshift(e[pg]),n.message=function pc(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let s=ct(e);if(Array.isArray(e))s=e.map(ct).join(" -> ");else if("object"==typeof e){let a=[];for(let u in e)if(e.hasOwnProperty(u)){let h=e[u];a.push(u+":"+("string"==typeof h?JSON.stringify(h):ct(h)))}s=`{${a.join(", ")}}`}return`${t}${r?"("+r+")":""}[${s}]: ${n.replace(zy,"\n ")}`}("\n"+n.message,s,t,r),n.ngTokenPath=s,n[x]=null,n}(u,e,"R3InjectorError",this.source)}throw u}finally{Jn(a),Do(s)}}resolveInjectorInitializers(){const e=Do(this),t=Jn(void 0);try{const r=this.get(du.multi,Ke,_e.Self);for(const s of r)s()}finally{Do(e),Jn(t)}}toString(){const e=[],t=this.records;for(const r of t.keys())e.push(ct(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new j(205,!1)}processProvider(e){let t=Qs(e=me(e))?e:me(e&&e.provide);const r=function Qm(n){return Wh(n)?qo(void 0,n.useValue):qo(Ym(n),pu)}(e);if(Qs(e)||!0!==e.multi)this.records.get(t);else{let s=this.records.get(t);s||(s=qo(void 0,pu,!0),s.factory=()=>Ma(s.multi),this.records.set(t,s)),t=e,s.multi.push(e)}this.records.set(t,r)}hydrate(e,t){return t.value===pu&&(t.value=iC,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Zm(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=me(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function ul(n){const e=dc(n),t=null!==e?e.factory:Ns(n);if(null!==t)return t;if(n instanceof te)throw new j(204,!1);if(n instanceof Function)return function Km(n){const e=n.length;if(e>0)throw nr(e,"?"),new j(204,!1);const t=function hc(n){const e=n&&(n[Ta]||n[Od]);if(e){const t=function kd(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new j(204,!1)}function Ym(n,e,t){let r;if(Qs(n)){const s=me(n);return Ns(s)||ul(s)}if(Wh(n))r=()=>me(n.useValue);else if(function Gm(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...Ma(n.deps||[]));else if(function qm(n){return!(!n||!n.useExisting)}(n))r=()=>Y(me(n.useExisting));else{const s=me(n&&(n.useClass||n.provide));if(!function rC(n){return!!n.deps}(n))return Ns(s)||ul(s);r=()=>new s(...Ma(n.deps))}return r}function qo(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function Qh(n,e){for(const t of n)Array.isArray(t)?Qh(t,e):t&&Co(t)?Qh(t.\u0275providers,e):e(t)}class sC{}class Yh{}class aC{resolveComponentFactory(e){throw function oC(n){const e=Error(`No component factory found for ${ct(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let dl=(()=>{class n{}return n.NULL=new aC,n})();function lC(){return Go(at(),z())}function Go(n,e){return new st(ni(n,e))}let st=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=lC,n})();function cC(n){return n instanceof st?n.nativeElement:n}class Wo{}let Ko=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function uC(){const n=z(),t=ii(at().index,n);return(pe(t)?t:n)[11]}(),n})(),dC=(()=>{class n{}return n.\u0275prov=ae({token:n,providedIn:"root",factory:()=>null}),n})();class gu{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const hC=new gu("15.0.4"),Zh={};function Jh(n){return n.ngOriginalError}class Qo{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Jh(e);for(;t&&Jh(t);)t=Jh(t);return t||null}}function is(n){return n.ownerDocument.defaultView}function Bi(n){return n instanceof Function?n():n}function ev(n,e,t){let r=n.length;for(;;){const s=n.indexOf(e,t);if(-1===s)return s;if(0===s||n.charCodeAt(s-1)<=32){const a=e.length;if(s+a===r||n.charCodeAt(s+a)<=32)return s}t=s+1}}const tv="ng-template";function wC(n,e,t){let r=0;for(;ra?"":s[E+1].toLowerCase();const I=8&r?D:null;if(I&&-1!==ev(I,m,0)||2&r&&m!==D){if(Di(r))return!1;u=!0}}}}else{if(!u&&!Di(r)&&!Di(f))return!1;if(u&&Di(f))continue;u=!1,r=f|1&r}}return Di(r)||u}function Di(n){return 0==(1&n)}function Yo(n,e,t,r){if(null===e)return-1;let s=0;if(r||!t){let a=!1;for(;s-1)for(t++;t0?'="'+h+'"':"")+"]"}else 8&r?s+="."+u:4&r&&(s+=" "+u);else""!==s&&!Di(u)&&(e+=sv(a,s),s=""),r=u,a=a||!Di(r);t++}return""!==s&&(e+=sv(a,s)),e}const Te={};function F(n){av(ze(),z(),Cn()+n,!1)}function av(n,e,t,r){if(!r)if(3==(3&e[2])){const a=n.preOrderCheckHooks;null!==a&&Mo(e,a,t)}else{const a=n.preOrderHooks;null!==a&&tr(e,a,0,t)}Ci(t)}function dv(n,e=null,t=null,r){const s=hv(n,e,t,r);return s.resolveInjectorInitializers(),s}function hv(n,e=null,t=null,r,s=new Set){const a=[t||Ke,Hm(n)];return r=r||("object"==typeof n?void 0:ct(n)),new fu(a,e||rn(),r||null,s)}let $i=(()=>{class n{static create(t,r){if(Array.isArray(t))return dv({name:""},r,t,"");{const s=t.name??"";return dv({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=So,n.NULL=new Hh,n.\u0275prov=ae({token:n,providedIn:"any",factory:()=>Y(jm)}),n.__NG_ELEMENT_ID__=-1,n})();function G(n,e=_e.Default){const t=z();return null===t?Y(n,e):Fg(at(),t,me(n),e)}function Cv(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;r22&&av(n,e,22,!1),t(r,s)}finally{Ci(a)}}function Cu(n,e,t){if(Oe(e)){const s=e.directiveEnd;for(let a=e.directiveStart;a0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(u)!=h&&u.push(h),u.push(t,r,a)}}(n,e,r,gl(n,t,s.hostVars,Te),s)}function sr(n,e,t,r,s,a){const u=ni(n,e);!function Du(n,e,t,r,s,a,u){if(null==a)n.removeAttribute(e,s,t);else{const h=null==u?Ce(a):u(a,r||"",s);n.setAttribute(e,s,h,t)}}(e[11],u,a,n.value,t,r,s)}function XC(n,e,t,r,s,a){const u=a[e];if(null!==u){const h=r.setInput;for(let f=0;f0&&gp(t)}}function gp(n){for(let r=ue(n);null!==r;r=Ih(r))for(let s=10;s0&&gp(a)}const t=n[1].components;if(null!==t)for(let r=0;r0&&gp(s)}}function Xs(n,e){const t=ii(e,n),r=t[1];(function nE(n,e){for(let t=e.length;t-1&&(Em(e,r),Ro(t,r))}this._attachedToViewContainer=!1}nu(this._lView[1],this._lView)}onDestroy(e){Sv(this._lView[1],this._lView,null,e)}markForCheck(){Iu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Au(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ab(n,e){sl(n,e,e[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=e}}class iE extends _l{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Au(e[1],e,e[8],!1)}checkNoChanges(){}get context(){return null}}class os extends dl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Xe(e);return new ea(t,this.ngModule)}}function yp(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class Fv{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){r=xa(r);const s=this.injector.get(e,Zh,r);return s!==Zh||t===Zh?s:this.parentInjector.get(e,t,r)}}class ea extends Yh{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function ov(n){return n.map(IC).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return yp(this.componentDef.inputs)}get outputs(){return yp(this.componentDef.outputs)}create(e,t,r,s){let a=(s=s||this.ngModule)instanceof Cr?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new Fv(e,a):e,h=u.get(Wo,null);if(null===h)throw new j(407,!1);const f=u.get(dC,null),m=h.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",E=r?function HC(n,e,t){return n.selectRootElement(e,t===mi.ShadowDom)}(m,r,this.componentDef.encapsulation):xh(m,b,function rE(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(b)),D=this.componentDef.onPush?288:272,I=wu(0,null,null,1,0,null,null,null,null,null),M=bu(null,I,null,D,null,null,h,m,f,u,null);let R,O;Ji(M);try{const V=this.componentDef;let W,B=null;V.findHostDirectiveDefs?(W=[],B=new Map,V.findHostDirectiveDefs(V,W,B),W.push(V)):W=[V];const re=function oE(n,e){const t=n[1];return n[22]=e,Xo(t,22,2,"#host",null)}(M,E),We=function aE(n,e,t,r,s,a,u,h){const f=s[1];!function lE(n,e,t,r){for(const s of n)e.mergedAttrs=Pc(e.mergedAttrs,s.hostAttrs);null!==e.mergedAttrs&&(xu(e,e.mergedAttrs,!0),null!==t&&su(r,t,e))}(r,n,e,u);const m=a.createRenderer(e,t),b=bu(s,dp(t),null,t.onPush?32:16,s[n.index],n,a,m,h||null,null,null);return f.firstCreatePass&&fp(f,n,r.length-1),Tu(s,b),s[n.index]=b}(re,E,V,W,M,h,m);O=Kd(I,22),E&&function uE(n,e,t,r){if(r)Mc(n,t,["ng-version",hC.full]);else{const{attrs:s,classes:a}=function vu(n){const e=[],t=[];let r=1,s=2;for(;r0&&Xr(n,t,a.join(" "))}}(m,V,E,r),void 0!==t&&function Bv(n,e,t){const r=n.projection=[];for(let s=0;su(dt(re[r.index])):r.index;let B=null;if(!u&&h&&(B=function TE(n,e,t,r){const s=n.cleanup;if(null!=s)for(let a=0;af?h[f]:null}"string"==typeof u&&(a+=2)}return null}(n,e,s,r.index)),null!==B)(B.__ngLastListenerFn__||B).__ngNextListenerFn__=a,B.__ngLastListenerFn__=a,D=!1;else{a=Dp(r,e,b,a,!1);const re=t.listen(O,s,a);E.push(a,re),m&&m.push(s,W,V,V+1)}}else a=Dp(r,e,b,a,!1);const I=r.outputs;let M;if(D&&null!==I&&(M=I[s])){const R=M.length;if(R)for(let O=0;O-1?ii(n.index,e):e);let f=Yv(e,0,r,u),m=a.__ngNextListenerFn__;for(;m;)f=Yv(e,0,m,u)&&f,m=m.__ngNextListenerFn__;return s&&!1===f&&(u.preventDefault(),u.returnValue=!1),f}}function c(n=1){return function eh(n){return(Se.lFrame.contextLView=function tb(n,e){for(;n>0;)e=e[15],n--;return e}(n,Se.lFrame.contextLView))[8]}(n)}function i(n,e){let t=null;const r=function SC(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let s=0;s>17&32767}function oe(n){return 2|n}function Pe(n){return(131068&n)>>2}function St(n,e){return-131069&n|e<<2}function ji(n){return 1|n}function lt(n,e,t,r,s){const a=n[t+1],u=null===e;let h=r?X(a):Pe(a),f=!1;for(;0!==h&&(!1===f||u);){const b=n[h+1];Wn(n[h],e)&&(f=!0,n[h+1]=r?ji(b):oe(b)),h=r?X(b):Pe(b)}f&&(n[t+1]=r?oe(a):ji(a))}function Wn(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&ko(n,e)>=0}const yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Dr(n){return n.substring(yt.key,yt.keyEnd)}function Ai(n,e){const t=yt.textEnd;return t===e?-1:(e=yt.keyEnd=function cx(n,e,t){for(;e32;)e++;return e}(n,yt.key=e,t),ku(n,e,t))}function ku(n,e,t){for(;e=0;t=Ai(e,t))si(n,Dr(e),!0)}function Ir(n,e,t,r){const s=ze(),a=vr(2);s.firstUpdatePass&&aD(s,null,a,r);const u=z();if(t!==Te&&Rn(u,a,t)){const h=s.data[Cn()];if(dD(h,r)&&!oD(s,a)){let f=r?h.classesWithoutHost:h.stylesWithoutHost;null!==f&&(t=wa(f,t||"")),wp(s,h,u,t,r)}else!function _x(n,e,t,r,s,a,u,h){s===Te&&(s=Ke);let f=0,m=0,b=0=n.expandoStartIndex}function aD(n,e,t,r){const s=n.data;if(null===s[t+1]){const a=s[Cn()],u=oD(n,t);dD(a,r)&&null===e&&!u&&(e=!1),e=function px(n,e,t,r){const s=function Tc(n){const e=Se.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let a=r?e.residualClasses:e.residualStyles;if(null===s)0===(r?e.classBindings:e.styleBindings)&&(t=Tp(t=AE(null,n,e,t,r),e.attrs,r),a=null);else{const u=e.directiveStylingLast;if(-1===u||n[u]!==s)if(t=AE(s,n,e,t,r),null===a){let f=function fx(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==Pe(r))return n[X(r)]}(n,e,r);void 0!==f&&Array.isArray(f)&&(f=AE(null,n,e,f[1],r),f=Tp(f,e.attrs,r),function gx(n,e,t,r){n[X(t?e.classBindings:e.styleBindings)]=r}(n,e,r,f))}else a=function mx(n,e,t){let r;const s=e.directiveEnd;for(let a=1+e.directiveStylingLast;a0)&&(m=!0)}else b=t;if(s)if(0!==f){const D=X(n[h+1]);n[r+1]=q(D,h),0!==D&&(n[D+1]=St(n[D+1],r)),n[h+1]=function ie(n,e){return 131071&n|e<<17}(n[h+1],r)}else n[r+1]=q(h,0),0!==h&&(n[h+1]=St(n[h+1],r)),h=r;else n[r+1]=q(f,0),0===h?h=r:n[f+1]=St(n[f+1],r),f=r;m&&(n[r+1]=oe(n[r+1])),lt(n,b,r,!0),lt(n,b,r,!1),function xt(n,e,t,r,s){const a=s?n.residualClasses:n.residualStyles;null!=a&&"string"==typeof e&&ko(a,e)>=0&&(t[r+1]=ji(t[r+1]))}(e,b,n,r,a),u=q(h,f),a?e.classBindings=u:e.styleBindings=u}(s,a,e,t,u,r)}}function AE(n,e,t,r,s){let a=null;const u=t.directiveEnd;let h=t.directiveStylingLast;for(-1===h?h=t.directiveStart:h++;h0;){const f=n[s],m=Array.isArray(f),b=m?f[1]:f,E=null===b;let D=t[s+1];D===Te&&(D=E?Ke:void 0);let I=E?dh(D,r):b===r?D:void 0;if(m&&!Xv(I)&&(I=dh(f,r)),Xv(I)&&(h=I,u))return h;const M=n[s+1];s=u?X(M):Pe(M)}if(null!==e){let f=a?e.residualClasses:e.residualStyles;null!=f&&(h=dh(f,r))}return h}function Xv(n){return void 0!==n}function dD(n,e){return 0!=(n.flags&(e?8:16))}function v(n,e=""){const t=z(),r=ze(),s=n+22,a=r.firstCreatePass?Xo(r,s,1,e,null):r.data[s],u=t[s]=eu(t[11],e);Zr(r,t,u,a),bi(a,!1)}function Ml(n){return Ht("",n,""),Ml}function Ht(n,e,t){const r=z(),s=ta(r,n,e,t);return s!==Te&&function wr(n,e,t){const r=Cc(e,n);!function bm(n,e,t){n.setValue(e,t)}(n[11],r,t)}(r,Cn(),s),Ht}const Fu="en-US",Jv={marker:"element"},e_={marker:"ICU"};var zt=(()=>((zt=zt||{})[zt.SHIFT=2]="SHIFT",zt[zt.APPEND_EAGERLY=1]="APPEND_EAGERLY",zt[zt.COMMENT=2]="COMMENT",zt))();let kD=Fu;function OD(n){(function Xn(n,e){null==n&&se(e,n,null,"!=")})(n,"Expected localeId to be defined"),"string"==typeof n&&(kD=n.toLowerCase().replace(/_/g,"-"))}function FD(n,e,t){const r=e.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?Bo(n,0,t):dt(t[s])}function LD(n,e,t,r,s){const a=e.insertBeforeIndex;if(Array.isArray(a)){let u=r,h=null;if(3&e.type||(h=u,u=s),null!==u&&-1===e.componentOffset)for(let f=1;f1)for(let t=n.length-2;t>=0;t--){const r=n[t];$D(r)||zx(r,e)&&null===qx(r)&&Gx(r,e.index)}}function $D(n){return!(64&n.type)}function zx(n,e){return $D(e)||n.index>e.index}function qx(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Gx(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(Vo(FD,LD),n.insertBeforeIndex=e)}function Qx(n,e,t){const r=fl(n,t,64,null,null);return BD(e,r),r}function nM(){const n=[];let t,r,e=-1;function a(h,f){e=0;const m=function t_(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}(h,f);r=null!==m?h.remove[m]:Ke}function u(){if(e0?t[h]:(n.push(e,r),a(t[1].data[~h],t),u())}return 0===n.length?null:(r=n.pop(),e=n.pop(),u())}return function s(h,f){for(t=f;n.length;)n.pop();return a(h.value,f),u}}const n_=/\ufffd(\d+):?\d*\ufffd/gi,rM=/\ufffd(\d+)\ufffd/,KD=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,sM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,oM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,aM=/\uE500/g;function QD(n,e,t,r,s,a,u){const h=gl(n,r,1,null);let f=h<t.length&&t.push(f)}return{type:r,mainBinding:s,cases:e,values:t}}function xE(n){if(!n)return[];let e=0;const t=[],r=[],s=/[{}]/g;let a;for(s.lastIndex=0;a=s.exec(n);){const h=a.index;if("}"==a[0]){if(t.pop(),0==t.length){const f=n.substring(e,h);KD.test(f)?r.push(gM(f)):r.push(f),e=h+1}}else{if(0==t.length){const f=n.substring(e,h);r.push(f),e=h+1}t.push("{")}}const u=n.substring(e);return r.push(u),r}function mM(n,e,t,r,s,a,u,h){const f=[],m=[],b=[];e.cases.push(a),e.create.push(f),e.remove.push(m),e.update.push(b);const D=function Lh(n){const e=new jb(n);return function VS(){try{return!!(new window.DOMParser).parseFromString(Jr(""),"text/html")}catch{return!1}}()?new $S(e):e}(function Am(){return void 0!==Oh?Oh:typeof document<"u"?document:void 0}()).getInertBodyElement(u),I=function ll(n){return"content"in n&&function ns(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}(D)||D;return I?JD(n,e,t,r,f,m,b,I,s,h,0):0}function JD(n,e,t,r,s,a,u,h,f,m,b){let E=0,D=h.firstChild;for(;D;){const I=gl(n,t,1,null);switch(D.nodeType){case Node.ELEMENT_NODE:const M=D,R=M.tagName.toLowerCase();if($h.hasOwnProperty(R)){ME(s,Jv,R,f,I),n.data[I]=R;const B=M.attributes;for(let re=0;re>>zt.SHIFT;let E=n[b];null===E&&(E=n[b]=f?s.createComment(h):eu(s,h)),m&&null!==t&&Ks(s,t,E,r,!1)}})(s,f.create,b,h&&8&h.type?s[h.index]:null),Io(!0)}function no(n,e,t){n1(n,e,t),function r1(){Io(!1)}()}function PE(n,e,t,r,s){if(n=me(n),Array.isArray(n))for(let a=0;a>20;if(Qs(n)||!n.multi){const I=new Po(f,s,G),M=RE(h,e,s?b:b+D,E);-1===M?(Lc(Fc(m,u),a,h),NE(a,n,e.length),e.push(h),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),t.push(I),u.push(I)):(t[M]=I,u[M]=I)}else{const I=RE(h,e,b+D,E),M=RE(h,e,b,b+D),R=I>=0&&t[I],O=M>=0&&t[M];if(s&&!O||!s&&!R){Lc(Fc(m,u),a,h);const V=function OM(n,e,t,r,s){const a=new Po(n,t,G);return a.multi=[],a.index=e,a.componentProviders=0,o1(a,s,r&&!t),a}(s?kM:RM,t.length,s,r,f);!s&&O&&(t[M].providerFactory=V),NE(a,n,e.length,0),e.push(h),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),t.push(V),u.push(V)}else NE(a,n,I>-1?I:M,o1(t[s?M:I],f,!s&&r));!s&&r&&O&&t[M].componentProviders++}}}function NE(n,e,t,r){const s=Qs(e),a=function Wm(n){return!!n.useClass}(e);if(s||a){const f=(a?me(e.useClass):e).prototype.ngOnDestroy;if(f){const m=n.destroyHooks||(n.destroyHooks=[]);if(!s&&e.multi){const b=m.indexOf(t);-1===b?m.push(t,[r,f]):m[b+1].push(r,f)}else m.push(t,f)}}}function o1(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function RE(n,e,t,r){for(let s=t;s{t.providersResolver=(r,s)=>function NM(n,e,t){const r=ze();if(r.firstCreatePass){const s=_i(n);PE(t,r.data,r.blueprint,s,!0),PE(e,r.data,r.blueprint,s,!1)}}(r,s?s(n):n,e)}}class Lu{}class a1{}class l1 extends Lu{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new os(this);const r=Tn(e);this._bootstrapComponents=Bi(r.bootstrap),this._r3Injector=hv(e,t,[{provide:Lu,useValue:this},{provide:dl,useValue:this.componentFactoryResolver}],ct(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class OE extends a1{constructor(e){super(),this.moduleType=e}create(e){return new l1(this.moduleType,e)}}class LM extends Lu{constructor(e,t,r){super(),this.componentFactoryResolver=new os(this),this.instance=null;const s=new fu([...e,{provide:Lu,useValue:this},{provide:dl,useValue:this.componentFactoryResolver}],t||rn(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function i_(n,e,t=null){return new LM(n,e,t).injector}let BM=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=zh(0,t.type),s=r.length>0?i_([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,s)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=ae({token:n,providedIn:"environment",factory:()=>new n(Y(Cr))}),n})();function c1(n){n.getStandaloneInjector=e=>e.get(BM).getOrCreateStandaloneInjector(n)}function Bu(n,e,t,r){return function m1(n,e,t,r,s,a){const u=e+t;return Rn(n,u,s)?Vi(n,u+1,a?r.call(a,s):r(s)):Np(n,u+1)}(z(),un(),n,e,t,r)}function LE(n,e,t,r,s){return function v1(n,e,t,r,s,a,u){const h=e+t;return as(n,h,s,a)?Vi(n,h+2,u?r.call(u,s,a):r(s,a)):Np(n,h+2)}(z(),un(),n,e,t,r,s)}function BE(n,e,t,r,s,a){return function _1(n,e,t,r,s,a,u,h){const f=e+t;return function Dl(n,e,t,r,s){const a=as(n,e,t,r);return Rn(n,e+2,s)||a}(n,f,s,a,u)?Vi(n,f+3,h?r.call(h,s,a,u):r(s,a,u)):Np(n,f+3)}(z(),un(),n,e,t,r,s,a)}function Np(n,e){const t=n[e];return t===Te?void 0:t}function $E(n){return e=>{setTimeout(n,void 0,e)}}const gt=class aP extends Ue{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let s=e,a=t||(()=>null),u=r;if(e&&"object"==typeof e){const f=e;s=f.next?.bind(f),a=f.error?.bind(f),u=f.complete?.bind(f)}this.__isAsync&&(a=$E(a),s&&(s=$E(s)),u&&(u=$E(u)));const h=super.subscribe({next:s,error:a,complete:u});return e instanceof Gt&&e.add(h),h}};function lP(){return this._results[Js()]()}class VE{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Js(),r=VE.prototype;r[t]||(r[t]=lP)}get changes(){return this._changes||(this._changes=new gt)}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,t){return this._results.reduce(e,t)}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,t){const r=this;r.dirty=!1;const s=function kt(n){return n.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function xn(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r{class n{}return n.__NG_ELEMENT_ID__=dP,n})();const cP=Ar,uP=class extends cP{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e,t){const r=this._declarationTContainer.tViews,s=bu(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,t||null);s[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(s[19]=u.createEmbeddedView(r)),cp(r,s,e),new _l(s)}};function dP(){return r_(at(),z())}function r_(n,e){return 4&n.type?new uP(e,n,Go(n,e)):null}let ar=(()=>{class n{}return n.__NG_ELEMENT_ID__=hP,n})();function hP(){return w1(at(),z())}const pP=ar,C1=class extends pP{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new dn(this._hostTNode,this._hostLView)}get parentInjector(){const e=Kr(this._hostTNode,this._hostLView);if(Nc(e)){const t=Rc(e,this._hostLView),r=Li(e);return new dn(t[1].data[r+8],t)}return new dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=E1(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,r){let s,a;"number"==typeof r?s=r:null!=r&&(s=r.index,a=r.injector);const u=e.createEmbeddedView(t||{},a);return this.insert(u,s),u}createComponent(e,t,r,s,a){const u=e&&!function qs(n){return"function"==typeof n}(e);let h;if(u)h=t;else{const E=t||{};h=E.index,r=E.injector,s=E.projectableNodes,a=E.environmentInjector||E.ngModuleRef}const f=u?e:new ea(Xe(e)),m=r||this.parentInjector;if(!a&&null==f.ngModule){const D=(u?m:this.parentInjector).get(Cr,null);D&&(a=D)}const b=f.create(m,s,void 0,a);return this.insert(b.hostView,h),b}insert(e,t){const r=e._lView,s=r[1];if(function Ba(n){return Ne(n[3])}(r)){const b=this.indexOf(e);if(-1!==b)this.detach(b);else{const E=r[3],D=new C1(E,E[6],E[3]);D.detach(D.indexOf(e))}}const a=this._adjustIndex(t),u=this._lContainer;!function Ph(n,e,t,r){const s=10+r,a=t.length;r>0&&(t[s-1][4]=e),r0)r.push(u[h/2]);else{const m=a[h+1],b=e[-f];for(let E=10;E{class n{constructor(t){this.appInits=t,this.resolve=o_,this.reject=o_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{a.subscribe({complete:h,error:f})});t.push(u)}}Promise.all(t).then(()=>{r()}).catch(s=>{this.reject(s)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(Y(a_,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Op=new te("AppId",{providedIn:"root",factory:function K1(){return`${ZE()}${ZE()}${ZE()}`}});function ZE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Q1=new te("Platform Initializer"),XE=new te("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Y1=new te("appBootstrapListener"),Z1=new te("AnimationModuleType");let $P=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const ro=new te("LocaleId",{providedIn:"root",factory:()=>Le(ro,_e.Optional|_e.SkipSelf)||function VP(){return typeof $localize<"u"&&$localize.locale||Fu}()});class UP{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}let X1=(()=>{class n{compileModuleSync(t){return new OE(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),a=Bi(Tn(t).declarations).reduce((u,h)=>{const f=Xe(h);return f&&u.push(new ea(f)),u},[]);return new UP(r,a)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qP=(()=>Promise.resolve(0))();function JE(n){typeof Zone>"u"?qP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class bt{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gt(!1),this.onMicrotaskEmpty=new gt(!1),this.onStable=new gt(!1),this.onError=new gt(!1),typeof Zone>"u")throw new j(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&t,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function GP(){let n=ut.requestAnimationFrame,e=ut.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function QP(n){const e=()=>{!function KP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ut,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,tw(n),n.isCheckStableRunning=!0,ew(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),tw(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,s,a,u,h)=>{try{return tT(n),t.invokeTask(s,a,u,h)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||n.shouldCoalesceRunChangeDetection)&&e(),nT(n)}},onInvoke:(t,r,s,a,u,h,f)=>{try{return tT(n),t.invoke(s,a,u,h,f)}finally{n.shouldCoalesceRunChangeDetection&&e(),nT(n)}},onHasTask:(t,r,s,a)=>{t.hasTask(s,a),r===s&&("microTask"==a.change?(n._hasPendingMicrotasks=a.microTask,tw(n),ew(n)):"macroTask"==a.change&&(n.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,r,s,a)=>(t.handleError(s,a),n.runOutsideAngular(()=>n.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bt.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(bt.isInAngularZone())throw new j(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,s){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+s,e,WP,o_,o_);try{return a.runTask(u,t,r)}finally{a.cancelTask(u)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const WP={};function ew(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function tw(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function tT(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function nT(n){n._nesting--,ew(n)}class YP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gt,this.onMicrotaskEmpty=new gt,this.onStable=new gt,this.onError=new gt}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,s){return e.apply(t,r)}}const iT=new te(""),c_=new te("");let rw,nw=(()=>{class n{constructor(t,r,s){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,rw||(function ZP(n){rw=n}(s),s.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{bt.assertNotInAngularZone(),JE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())JE(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,s){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:a,updateCb:s})}whenStable(t,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,s){return[]}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(iw),Y(c_))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),iw=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return rw?.findTestabilityInTree(this,t,r)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),aa=null;const rT=new te("AllowMultipleToken"),sw=new te("PlatformDestroyListeners");class sT{constructor(e,t){this.name=e,this.token=t}}function aT(n,e,t=[]){const r=`Platform: ${e}`,s=new te(r);return(a=[])=>{let u=ow();if(!u||u.injector.get(rT,!1)){const h=[...t,...a,{provide:s,useValue:!0}];n?n(h):function eN(n){if(aa&&!aa.get(rT,!1))throw new j(400,!1);aa=n;const e=n.get(cT);(function oT(n){const e=n.get(Q1,null);e&&e.forEach(t=>t())})(n)}(function lT(n=[],e){return $i.create({name:e,providers:[{provide:cl,useValue:"platform"},{provide:sw,useValue:new Set([()=>aa=null])},...n]})}(h,r))}return function nN(n){const e=ow();if(!e)throw new j(401,!1);return e}()}}function ow(){return aa?.get(cT)??null}let cT=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const s=function dT(n,e){let t;return t="noop"===n?new YP:("zone.js"===n?void 0:n)||new bt(e),t}(r?.ngZone,function uT(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),a=[{provide:bt,useValue:s}];return s.run(()=>{const u=$i.create({providers:a,parent:this.injector,name:t.moduleType.name}),h=t.create(u),f=h.injector.get(Qo,null);if(!f)throw new j(402,!1);return s.runOutsideAngular(()=>{const m=s.onError.subscribe({next:b=>{f.handleError(b)}});h.onDestroy(()=>{u_(this._modules,h),m.unsubscribe()})}),function hT(n,e,t){try{const r=t();return xl(r)?r.catch(s=>{throw e.runOutsideAngular(()=>n.handleError(s)),s}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(f,s,()=>{const m=h.injector.get(l_);return m.runInitializers(),m.donePromise.then(()=>(OD(h.injector.get(ro,Fu)||Fu),this._moduleDoBootstrap(h),h))})})}bootstrapModule(t,r=[]){const s=pT({},r);return function XP(n,e,t){const r=new OE(t);return Promise.resolve(r)}(0,0,t).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(t){const r=t.injector.get(Fp);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!t.instance.ngDoBootstrap)throw new j(403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new j(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(sw,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(Y($i))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function pT(n,e){return Array.isArray(e)?e.reduce(pT,n):{...n,...e}}let Fp=(()=>{class n{constructor(t,r,s){this._zone=t,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Ct(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),u=new Ct(h=>{let f;this._zone.runOutsideAngular(()=>{f=this._zone.onStable.subscribe(()=>{bt.assertNotInAngularZone(),JE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{bt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{f.unsubscribe(),m.unsubscribe()}});this.isStable=lc(a,u.pipe(function Vy(n={}){const{connector:e=(()=>new Ue),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:s=!0}=n;return a=>{let u,h,f,m=0,b=!1,E=!1;const D=()=>{h?.unsubscribe(),h=void 0},I=()=>{D(),u=f=void 0,b=E=!1},M=()=>{const R=u;I(),R?.unsubscribe()};return mt((R,O)=>{m++,!E&&!b&&D();const V=f=f??e();O.add(()=>{m--,0===m&&!E&&!b&&(h=cc(M,s))}),V.subscribe(O),!u&&m>0&&(u=new Xt({next:W=>V.next(W),error:W=>{E=!0,D(),h=cc(I,t,W),V.error(W)},complete:()=>{b=!0,D(),h=cc(I,r),V.complete()}}),Yn(R).subscribe(u))})(a)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const s=t instanceof Yh;if(!this._injector.get(l_).done)throw!s&&function Hr(n){const e=Xe(n)||yn(n)||en(n);return null!==e&&e.standalone}(t),new j(405,false);let u;u=s?t:this._injector.get(dl).resolveComponentFactory(t),this.componentTypes.push(u.componentType);const h=function JP(n){return n.isBoundToModule}(u)?void 0:this._injector.get(Lu),m=u.create($i.NULL,[],r||u.selector,h),b=m.location.nativeElement,E=m.injector.get(iT,null);return E?.registerApplication(b),m.onDestroy(()=>{this.detachView(m.hostView),u_(this.components,m),E?.unregisterApplication(b)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new j(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;u_(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Y1,[]);r.push(...this._bootstrapListeners),r.forEach(s=>s(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>u_(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new j(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(Cr),Y(Qo))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function u_(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let la=(()=>{class n{}return n.__NG_ELEMENT_ID__=rN,n})();function rN(n){return function sN(n,e,t){if(Ra(n)&&!t){const r=ii(n.index,e);return new _l(r,r)}return 47&n.type?new _l(e[16],e):null}(at(),z(),16==(16&n))}class _T{constructor(){}supports(e){return Cl(e)}create(e){return new dN(e)}}const uN=(n,e)=>e;class dN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||uN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,s=0,a=null;for(;t||r;){const u=!r||t&&t.currentIndex{u=this._trackByFn(s,h),null!==t&&Object.is(t.trackById,u)?(r&&(t=this._verifyReinsertion(t,h,u,s)),Object.is(t.item,h)||this._addIdentityChange(t,h)):(t=this._mismatch(t,h,u,s),r=!0),t=t._next,s++}),this.length=s;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,s){let a;return null===e?a=this._itTail:(a=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,a,s)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,s)):e=this._addAfter(new hN(t,r),a,s),e}_verifyReinsertion(e,t,r,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?e=this._reinsertAfter(a,e._prev,s):e.currentIndex!=s&&(e.currentIndex=s,this._addToMoves(e,s)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const s=e._prevRemoved,a=e._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const s=null===t?this._itHead:t._next;return e._next=s,e._prev=t,null===s?this._itTail=e:s._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new yT),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yT),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class hN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class yT{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new pN,this.map.set(t,r)),r.add(e)}get(e,t){const s=this.map.get(e);return s?s.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bT(n,e,t){const r=n.previousIndex;if(null===r)return r;let s=0;return t&&r{if(t&&t.key===s)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const a=this._getOrCreateRecordForKey(s,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const s=this._records.get(e);this._maybeAddToChanges(s,t);const a=s._prev,u=s._next;return a&&(a._next=u),u&&(u._prev=a),s._next=null,s._prev=null,s}const r=new gN(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class gN{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 ET(){return new p_([new _T])}let p_=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const s=r.factories.slice();t=t.concat(s)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||ET()),deps:[[n,new Qa,new Ka]]}}find(t){const r=this.factories.find(s=>s.supports(t));if(null!=r)return r;throw new j(901,!1)}}return n.\u0275prov=ae({token:n,providedIn:"root",factory:ET}),n})();function wT(){return new Lp([new CT])}let Lp=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(r){const s=r.factories.slice();t=t.concat(s)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||wT()),deps:[[n,new Qa,new Ka]]}}find(t){const r=this.factories.find(s=>s.supports(t));if(r)return r;throw new j(901,!1)}}return n.\u0275prov=ae({token:n,providedIn:"root",factory:wT}),n})();const _N=aT(null,"core",[]);let yN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(Y(Fp))},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({}),n})();function dw(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let hw=null;function ca(){return hw}class EN{}const qt=new te("DocumentToken");let pw=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return function wN(){return Y(ST)}()},providedIn:"platform"}),n})();const SN=new te("Location Initialized");let ST=(()=>{class n extends pw{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ca().getBaseHref(this._doc)}onPopState(t){const r=ca().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=ca().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,r,s){DT()?this._history.pushState(t,r,s):this.location.hash=s}replaceState(t,r,s){DT()?this._history.replaceState(t,r,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:function(){return function DN(){return new ST(Y(qt))}()},providedIn:"platform"}),n})();function DT(){return!!window.history.pushState}function fw(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function TT(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function oo(n){return n&&"?"!==n[0]?"?"+n:n}let Ol=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(AT)},providedIn:"root"}),n})();const IT=new te("appBaseHref");let AT=(()=>{class n extends Ol{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Le(qt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return fw(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+oo(this._platformLocation.search),s=this._platformLocation.hash;return s&&t?`${r}${s}`:r}pushState(t,r,s,a){const u=this.prepareExternalUrl(s+oo(a));this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,a){const u=this.prepareExternalUrl(s+oo(a));this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(Y(pw),Y(IT,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TN=(()=>{class n extends Ol{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=fw(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,s,a){let u=this.prepareExternalUrl(s+oo(a));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,a){let u=this.prepareExternalUrl(s+oo(a));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(Y(pw),Y(IT,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),Bp=(()=>{class n{constructor(t){this._subject=new gt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function xN(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(TT(xT(r))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+oo(r))}normalize(t){return n.stripTrailingSlash(function AN(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._basePath,xT(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",s=null){this._locationStrategy.pushState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+oo(r)),s)}replaceState(t,r="",s=null){this._locationStrategy.replaceState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+oo(r)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(s=>s(t,r))}subscribe(t,r,s){return this._subject.subscribe({next:t,error:r,complete:s})}}return n.normalizeQueryParams=oo,n.joinWithSlash=fw,n.stripTrailingSlash=TT,n.\u0275fac=function(t){return new(t||n)(Y(Ol))},n.\u0275prov=ae({token:n,factory:function(){return function IN(){return new Bp(Y(Ol))}()},providedIn:"root"}),n})();function xT(n){return n.replace(/\/index.html$/,"")}let Fl=(()=>{class n{constructor(t,r,s,a){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=s,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Cl(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ct(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(s=>{r?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}return n.\u0275fac=function(t){return new(t||n)(G(p_),G(Lp),G(st),G(Ko))},n.\u0275dir=pt({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class fR{constructor(e,t,r,s){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let w_=(()=>{class n{constructor(t,r,s){this._viewContainer=t,this._template=r,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((s,a,u)=>{if(null==s.previousIndex)r.createEmbeddedView(this._template,new fR(s.item,this._ngForOf,-1,-1),null===u?void 0:u);else if(null==u)r.remove(null===a?void 0:a);else if(null!==a){const h=r.get(a);r.move(h,u),VT(h,s)}});for(let s=0,a=r.length;s{VT(r.get(s.currentIndex),s)})}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar),G(p_))},n.\u0275dir=pt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function VT(n,e){n.context.$implicit=e.item}let lo=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new mR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jT("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jT("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar))},n.\u0275dir=pt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class mR{constructor(){this.$implicit=null,this.ngIf=null}}function jT(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ct(e)}'.`)}class Sw{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let S_=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const r=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let r=0;r{class n{constructor(t,r,s){this.ngSwitch=s,s._addCase(),this._view=new Sw(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(t){return new(t||n)(G(ar),G(Ar),G(S_,9))},n.\u0275dir=pt({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),zT=(()=>{class n{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:a,ngTemplateOutletInjector:u}=this;this._viewRef=r.createEmbeddedView(s,a,u?{injector:u}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(t){return new(t||n)(G(ar))},n.\u0275dir=pt({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Fi]}),n})(),GT=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({}),n})();const WT="browser";let WR=(()=>{class n{}return n.\u0275prov=ae({token:n,providedIn:"root",factory:()=>new KR(Y(qt),window)}),n})();class KR{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function QR(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let s=r.currentNode;for(;s;){const a=s.shadowRoot;if(a){const u=a.getElementById(e)||a.querySelector(`[name="${e}"]`);if(u)return u}s=r.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,s=t.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(r-a[0],s-a[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=KT(this.window.history)||KT(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function KT(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class wk extends EN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class xw extends wk{static makeCurrent(){!function CN(n){hw||(hw=n)}(new xw)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).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,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function Sk(){return Up=Up||document.querySelector("base"),Up?Up.getAttribute("href"):null}();return null==t?null:function Dk(n){T_=T_||document.createElement("a"),T_.setAttribute("href",n);const e=T_.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){Up=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function hR(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[s,a]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(s.trim()===e)return decodeURIComponent(a)}return null}(document.cookie,e)}}let T_,Up=null;const e2=new te("TRANSITION_ID"),Ik=[{provide:a_,useFactory:function Tk(n,e,t){return()=>{t.get(l_).donePromise.then(()=>{const r=ca(),s=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const I_=new te("EventManagerPlugins");let A_=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>s.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}addGlobalEventListener(t,r,s){return this._findPluginFor(r).addGlobalEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),r.add(s))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),Hp=(()=>{class n extends n2{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,s){t.forEach(a=>{const u=this._doc.createElement("style");u.textContent=a,s.push(r.appendChild(u))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(r2),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,s)=>{this._addStylesToHost(t,s,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(r2))}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();function r2(n){ca().remove(n)}const Mw={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/MathML/"},Pw=/%COMP%/g;function Nw(n,e){return e.flat(100).map(t=>t.replace(Pw,n))}function a2(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let x_=(()=>{class n{constructor(t,r,s){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new Rw(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case mi.Emulated:{let s=this.rendererByCompId.get(r.id);return s||(s=new Ok(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,s)),s.applyToHost(t),s}case 1:case mi.ShadowDom:return new Fk(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const s=Nw(r.id,r.styles);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(Y(A_),Y(Hp),Y(Op))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class Rw{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Mw[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(c2(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(c2(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,s){if(s){t=s+":"+t;const a=Mw[s];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const s=Mw[r];s?e.removeAttributeNS(s,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,s){s&(Hn.DashCase|Hn.Important)?e.style.setProperty(t,r,s&Hn.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Hn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,a2(r)):this.eventManager.addEventListener(e,t,a2(r))}}function c2(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Ok extends Rw{constructor(e,t,r,s){super(e),this.component=r;const a=Nw(s+"-"+r.id,r.styles);t.addStyles(a),this.contentAttr=function Nk(n){return"_ngcontent-%COMP%".replace(Pw,n)}(s+"-"+r.id),this.hostAttr=function Rk(n){return"_nghost-%COMP%".replace(Pw,n)}(s+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class Fk extends Rw{constructor(e,t,r,s){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=Nw(s.id,s.styles);for(let u=0;u{class n extends t2{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const u2=["alt","control","meta","shift"],Bk={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$k={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Vk=(()=>{class n extends t2{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,s){const a=n.parseEventName(r),u=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ca().onAndCancel(t,a.domEventName,u))}static parseEventName(t){const r=t.toLowerCase().split("."),s=r.shift();if(0===r.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(r.pop());let u="",h=r.indexOf("code");if(h>-1&&(r.splice(h,1),u="code."),u2.forEach(m=>{const b=r.indexOf(m);b>-1&&(r.splice(b,1),u+=m+".")}),u+=a,0!=r.length||0===a.length)return null;const f={};return f.domEventName=s,f.fullKey=u,f}static matchEventFullKeyCode(t,r){let s=Bk[t.key]||t.key,a="";return r.indexOf("code.")>-1&&(s=t.code,a="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),u2.forEach(u=>{u!==s&&(0,$k[u])(t)&&(a+=u+".")}),a+=s,a===r)}static eventCallback(t,r,s){return a=>{n.matchEventFullKeyCode(a,t)&&s.runGuarded(()=>r(a))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();const zk=aT(_N,"browser",[{provide:XE,useValue:WT},{provide:Q1,useValue:function jk(){xw.makeCurrent()},multi:!0},{provide:qt,useFactory:function Hk(){return function Im(n){Oh=n}(document),document},deps:[]}]),p2=new te(""),f2=[{provide:c_,useClass:class Ak{addToWindow(e){ut.getAngularTestability=(r,s=!0)=>{const a=e.findTestabilityInTree(r,s);if(null==a)throw new Error("Could not find testability for element.");return a},ut.getAllAngularTestabilities=()=>e.getAllTestabilities(),ut.getAllAngularRootElements=()=>e.getAllRootElements(),ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(r=>{const s=ut.getAllAngularTestabilities();let a=s.length,u=!1;const h=function(f){u=u||f,a--,0==a&&r(u)};s.forEach(function(f){f.whenStable(h)})})}findTestabilityInTree(e,t,r){return null==t?null:e.getTestability(t)??(r?ca().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:iT,useClass:nw,deps:[bt,iw,c_]},{provide:nw,useClass:nw,deps:[bt,iw,c_]}],g2=[{provide:cl,useValue:"root"},{provide:Qo,useFactory:function Uk(){return new Qo},deps:[]},{provide:I_,useClass:Lk,multi:!0,deps:[qt,bt,XE]},{provide:I_,useClass:Vk,multi:!0,deps:[qt]},{provide:x_,useClass:x_,deps:[A_,Hp,Op]},{provide:Wo,useExisting:x_},{provide:n2,useExisting:Hp},{provide:Hp,useClass:Hp,deps:[qt]},{provide:A_,useClass:A_,deps:[I_,bt]},{provide:class YR{},useClass:xk,deps:[]},[]];let Ow=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:Op,useValue:t.appId},{provide:e2,useExisting:Op},Ik]}}}return n.\u0275fac=function(t){return new(t||n)(Y(p2,12))},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({providers:[...g2,...f2],imports:[GT,yN]}),n})(),m2=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return n.\u0275fac=function(t){return new(t||n)(Y(qt))},n.\u0275prov=ae({token:n,factory:function(t){let r=null;return r=t?new t:function Gk(){return new m2(Y(qt))}(),r},providedIn:"root"}),n})();function da(n){return null!=n&&"false"!=`${n}`}function y2(n,e=0){return function eO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function Mi(n){return n instanceof st?n.nativeElement:n}function ve(...n){return Kt(n,Lr(n))}typeof window<"u"&&window;const{isArray:nO}=Array;function b2(n){return Ae(e=>function iO(n,e){return nO(e)?n(...e):n(e)}(n,e))}const rO=["addListener","removeListener"],sO=["addEventListener","removeEventListener"],oO=["on","off"];function Lw(n,e,t,r){if(ge(t)&&(r=t,t=void 0),r)return Lw(n,e,t).pipe(b2(r));const[s,a]=function cO(n){return ge(n.addEventListener)&&ge(n.removeEventListener)}(n)?sO.map(u=>h=>n[u](e,h,t)):function aO(n){return ge(n.addListener)&&ge(n.removeListener)}(n)?rO.map(C2(n,e)):function lO(n){return ge(n.on)&&ge(n.off)}(n)?oO.map(C2(n,e)):[];if(!s&&Id(n))return U(u=>Lw(u,e,t))(Yn(n));if(!s)throw new TypeError("Invalid event target");return new Ct(u=>{const h=(...f)=>u.next(1a(h)})}function C2(n,e){return t=>r=>n[t](e,r)}class uO extends Gt{constructor(e,t){super()}schedule(e,t=0){return this}}const M_={setInterval(n,e,...t){const{delegate:r}=M_;return r?.setInterval?r.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=M_;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class Bw extends uO{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;const s=this.id,a=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(a,s,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return M_.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&M_.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let s,r=!1;try{this.work(e)}catch(a){r=!0,s=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,kr(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const zp={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:r}=zp;r&&(e=r.requestAnimationFrame,t=r.cancelAnimationFrame);const s=e(a=>{t=void 0,n(a)});return new Gt(()=>t?.(s))},requestAnimationFrame(...n){const{delegate:e}=zp;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=zp;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},E2={now:()=>(E2.delegate||Date).now(),delegate:void 0};class qp{constructor(e,t=qp.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,r){return new this.schedulerActionCtor(this,e).schedule(r,t)}}qp.now=E2.now;class $w extends qp{constructor(e,t=qp.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const w2=new class hO extends $w{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let s;e=e||r.shift();do{if(s=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,s){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw s}}}(class dO extends Bw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=zp.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,r=0){var s;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(e,t,r);const{actions:a}=e;null!=t&&(null===(s=a[a.length-1])||void 0===s?void 0:s.id)!==t&&(zp.cancelAnimationFrame(t),e._scheduled=void 0)}});let Vw,pO=1;const P_={};function S2(n){return n in P_&&(delete P_[n],!0)}const fO={setImmediate(n){const e=pO++;return P_[e]=!0,Vw||(Vw=Promise.resolve()),Vw.then(()=>S2(e)&&n()),e},clearImmediate(n){S2(n)}},{setImmediate:gO,clearImmediate:mO}=fO,N_={setImmediate(...n){const{delegate:e}=N_;return(e?.setImmediate||gO)(...n)},clearImmediate(n){const{delegate:e}=N_;return(e?.clearImmediate||mO)(n)},delegate:void 0},jw=(new class _O extends $w{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let s;e=e||r.shift();do{if(s=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,s){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw s}}}(class vO extends Bw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=N_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,r=0){var s;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(e,t,r);const{actions:a}=e;null!=t&&(null===(s=a[a.length-1])||void 0===s?void 0:s.id)!==t&&(N_.clearImmediate(t),e._scheduled=void 0)}}),new $w(Bw)),bO=jw;function D2(n=0,e,t=bO){let r=-1;return null!=e&&(ws(e)?t=e:r=e),new Ct(s=>{let a=function EO(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;a<0&&(a=0);let u=0;return t.schedule(function(){s.closed||(s.next(u++),0<=r?this.schedule(void 0,r):s.complete())},a)})}function T2(n,e=jw){return function CO(n){return mt((e,t)=>{let r=!1,s=null,a=null,u=!1;const h=()=>{if(a?.unsubscribe(),a=null,r){r=!1;const m=s;s=null,t.next(m)}u&&t.complete()},f=()=>{a=null,u&&t.complete()};e.subscribe(Pt(t,m=>{r=!0,s=m,a||Yn(n(m)).subscribe(a=Pt(t,h,f))},()=>{u=!0,(!r||!a||a.closed)&&t.complete()}))})}(()=>D2(n,e))}function ds(n,e){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>n.call(e,a,s++)&&r.next(a)))})}let Uw;try{Uw=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Uw=!1}let Gp,Hw,I2=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function GR(n){return n===WT}(this._platformId):"object"==typeof document&&!!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&&!Uw)&&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}}return n.\u0275fac=function(t){return new(t||n)(Y(XE))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Wp(n){return function wO(){if(null==Gp&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gp=!0}))}finally{Gp=Gp||!1}return Gp}()?n:!!n.capture}function x2(n){if(function SO(){if(null==Hw){const n=typeof document<"u"?document.head:null;Hw=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Hw}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function k_(n){return n.composedPath?n.composedPath()[0]:n.target}let TO=(()=>{class n{constructor(t,r,s){this._ngZone=t,this._platform=r,this._scrolled=new Ue,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ct(r=>{this._globalSubscription||this._addGlobalListener();const s=t>0?this._scrolled.pipe(T2(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ve()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const s=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(ds(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,t)&&r.push(a)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let s=Mi(r),a=t.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Lw(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(I2),Y(qt,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AO=(()=>{class n{constructor(t,r,s){this._platform=t,this._change=new Ue,this._changeListener=a=>{this._change.next(a)},this._document=s,r.runOutsideAngular(()=>{if(t.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:s}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+r,height:s,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),s=t.documentElement,a=s.getBoundingClientRect();return{top:-a.top||t.body.scrollTop||r.scrollY||s.scrollTop||0,left:-a.left||t.body.scrollLeft||r.scrollX||s.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(T2(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(Y(I2),Y(bt),Y(qt,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xO=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({}),n})();function Kp(n){return mt((e,t)=>{Yn(n).subscribe(Pt(t,()=>t.complete(),Jl)),!t.closed&&e.subscribe(t)})}function zw(...n){return function GO(){return Es(1)}()(Kt(n,Lr(n)))}function O_(...n){const e=Lr(n);return mt((t,r)=>{(e?zw(n,t,e):zw(n,t)).subscribe(r)})}function Bl(n){return n<=0?()=>Wi:mt((e,t)=>{let r=0;e.subscribe(Pt(t,s=>{++r<=n&&(t.next(s),n<=r&&t.complete())}))})}function kn(n,e,t){const r=ge(n)||e||t?{next:n,error:e,complete:t}:n;return r?mt((s,a)=>{var u;null===(u=r.subscribe)||void 0===u||u.call(r);let h=!0;s.subscribe(Pt(a,f=>{var m;null===(m=r.next)||void 0===m||m.call(r,f),a.next(f)},()=>{var f;h=!1,null===(f=r.complete)||void 0===f||f.call(r),a.complete()},f=>{var m;h=!1,null===(m=r.error)||void 0===m||m.call(r,f),a.error(f)},()=>{var f,m;h&&(null===(f=r.unsubscribe)||void 0===f||f.call(r)),null===(m=r.finalize)||void 0===m||m.call(r)}))}):ys}function Nr(n,e){return mt((t,r)=>{let s=null,a=0,u=!1;const h=()=>u&&!s&&r.complete();t.subscribe(Pt(r,f=>{s?.unsubscribe();let m=0;const b=a++;Yn(n(f,b)).subscribe(s=Pt(r,E=>r.next(e?e(f,E,b,m++):E),()=>{s=null,h()}))},()=>{u=!0,h()}))})}const WO=new te("cdk-dir-doc",{providedIn:"root",factory:function KO(){return Le(qt)}}),QO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let R2=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new gt,t){const s=t.documentElement?t.documentElement.dir:null;this.value=function YO(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?QO.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(Y(WO,8))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function qw(n,e,t){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];s?n.setProperty(r,s,t?.has(r)?"important":""):n.removeProperty(r)}return n}function Uu(n,e){const t=e?"":"none";qw(n.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function k2(n,e,t){qw(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function F_(n,e){return e&&"none"!=e?n+" "+e:n}function O2(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function Gw(n,e){return n.getPropertyValue(e).split(",").map(r=>r.trim())}function Ww(n){const e=n.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function Kw(n,e,t){const{top:r,bottom:s,left:a,right:u}=n;return t>=r&&t<=s&&e>=a&&e<=u}function Qp(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function F2(n,e,t,r){const{top:s,right:a,bottom:u,left:h,width:f,height:m}=n,b=f*e,E=m*e;return r>s-E&&rh-b&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:Ww(t)})})}handleScroll(e){const t=k_(e),r=this.positions.get(t);if(!r)return null;const s=r.scrollPosition;let a,u;if(t===this._document){const m=this.getViewportScrollPosition();a=m.top,u=m.left}else a=t.scrollTop,u=t.scrollLeft;const h=s.top-a,f=s.left-u;return this.positions.forEach((m,b)=>{m.clientRect&&t!==b&&t.contains(b)&&Qp(m.clientRect,h,f)}),s.top=a,s.left=u,{top:h,left:f}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function B2(n){const e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),r=n.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const f=this._getTargetHandle(h);f&&!this._disabledHandles.has(f)&&!this.disabled&&this._initializeDragSequence(f,h)}else this.disabled||this._initializeDragSequence(this._rootElement,h)},this._pointerMove=h=>{const f=this._getPointerPositionOnPage(h);if(!this._hasStartedDragging){if(Math.abs(f.x-this._pickupPositionOnPage.x)+Math.abs(f.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const I=Date.now()>=this._dragStartTime+this._getDragStartDelay(h),M=this._dropContainer;if(!I)return void this._endDragSequence(h);(!M||!M.isDragging()&&!M.isReceiving())&&(h.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(h)))}return}h.preventDefault();const m=this._getConstrainedPointerPosition(f);if(this._hasMoved=!0,this._lastKnownPointerPosition=f,this._updatePointerDirectionDelta(m),this._dropContainer)this._updateActiveDropContainer(m,f);else{const b=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,E=this._activeTransform;E.x=m.x-b.x+this._passiveTransform.x,E.y=m.y-b.y+this._passiveTransform.y,this._applyRootElementTransform(E.x,E.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:m,event:h,distance:this._getDragDistance(m),delta:this._pointerDirectionDelta})})},this._pointerUp=h=>{this._endDragSequence(h)},this._nativeDragStart=h=>{if(this._handles.length){const f=this._getTargetHandle(h);f&&!this._disabledHandles.has(f)&&!this.disabled&&h.preventDefault()}else this.disabled||h.preventDefault()},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new L2(r),u.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=da(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(r=>Uu(r,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(r=>Mi(r)),this._handles.forEach(r=>Uu(r,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&t.add(r)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=Mi(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,L_),t.addEventListener("touchstart",this._pointerDown,U2),t.addEventListener("dragstart",this._nativeDragStart,L_)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?Mi(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),Uu(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),Uu(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){Yp(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const r=this._rootElement,s=r.parentNode,a=this._placeholder=this._createPlaceholderElement(),u=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();s.insertBefore(u,r),this._initialTransform=r.style.transform||"",this._preview=this._createPreviewElement(),k2(r,!1,Qw),this._document.body.appendChild(s.replaceChild(a,r)),this._getPreviewInsertionPoint(s,h).appendChild(this._preview),this.started.next({source:this,event:e}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const r=this.isDragging(),s=Yp(t),a=!s&&0!==t.button,u=this._rootElement,h=k_(t),f=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=s?function HO(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}(t):function UO(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(t);if(h&&h.draggable&&"mousedown"===t.type&&t.preventDefault(),r||a||f||m)return;if(this._handles.length){const D=u.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=Ww(this._boundaryElement));const b=this._previewTemplate;this._pickupPositionInElement=b&&b.template&&!b.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,e,t);const E=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:E.x,y:E.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){k2(this._rootElement,!0,Qw),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,r=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),a=this._getDragDistance(s),u=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:u,distance:a,dropPoint:s,event:e}),t.drop(this,r,this._initialIndex,this._initialContainer,u,a,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:r,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,e,t,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,r=e?e.template:null;let s;if(r&&e){const a=e.matchSize?this._initialClientRect:null,u=e.viewContainer.createEmbeddedView(r,e.context);u.detectChanges(),s=z2(u,this._document),this._previewRef=u,e.matchSize?q2(s,a):s.style.transform=B_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=B2(this._rootElement),q2(s,this._initialClientRect),this._initialTransform&&(s.style.transform=this._initialTransform);return qw(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Qw),Uu(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(a=>s.classList.add(a)):s.classList.add(t)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);const t=function ZO(n){const e=getComputedStyle(n),t=Gw(e,"transition-property"),r=t.find(h=>"transform"===h||"all"===h);if(!r)return 0;const s=t.indexOf(r),a=Gw(e,"transition-duration"),u=Gw(e,"transition-delay");return O2(a[s])+O2(u[s])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{const s=u=>{(!u||k_(u)===this._preview&&"transform"===u.propertyName)&&(this._preview?.removeEventListener("transitionend",s),r(),clearTimeout(a))},a=setTimeout(s,1.5*t);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let r;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),r=z2(this._placeholderRef,this._document)):r=B2(this._rootElement),r.style.pointerEvents="none",r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(e,t,r){const s=t===this._rootElement?null:t,a=s?s.getBoundingClientRect():e,u=Yp(r)?r.targetTouches[0]:r,h=this._getViewportScrollPosition();return{x:a.left-e.left+(u.pageX-a.left-h.left),y:a.top-e.top+(u.pageY-a.top-h.top)}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),r=Yp(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=r.pageX-t.left,a=r.pageY-t.top;if(this._ownerSVGElement){const u=this._ownerSVGElement.getScreenCTM();if(u){const h=this._ownerSVGElement.createSVGPoint();return h.x=s,h.y=a,h.matrixTransform(u.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:r,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialClientRect,this._pickupPositionInElement):e;if("x"===this.lockAxis||"x"===t?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===t)&&(r=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:u}=this._pickupPositionInElement,h=this._boundaryRect,{width:f,height:m}=this._getPreviewRect(),b=h.top+u,E=h.bottom-(m-u);r=H2(r,h.left+a,h.right-(f-a)),s=H2(s,b,E)}return{x:r,y:s}}_updatePointerDirectionDelta(e){const{x:t,y:r}=e,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,u=Math.abs(t-a.x),h=Math.abs(r-a.y);return u>this._config.pointerDirectionChangeThreshold&&(s.x=t>a.x?1:-1,a.x=t),h>this._config.pointerDirectionChangeThreshold&&(s.y=r>a.y?1:-1,a.y=r),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Uu(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,L_),e.removeEventListener("touchstart",this._pointerDown,U2),e.removeEventListener("dragstart",this._nativeDragStart,L_)}_applyRootElementTransform(e,t){const r=B_(e,t),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=F_(r,this._initialTransform)}_applyPreviewTransform(e,t){const r=this._previewTemplate?.template?void 0:this._initialTransform,s=B_(e,t);this._preview.style.transform=F_(s,r)}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const r=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(0===s.width&&0===s.height||0===r.width&&0===r.height)return;const a=s.left-r.left,u=r.right-s.right,h=s.top-r.top,f=r.bottom-s.bottom;s.width>r.width?(a>0&&(e+=a),u>0&&(e-=u)):e=0,s.height>r.height?(h>0&&(t+=h),f>0&&(t-=f)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:Yp(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const r=k_(e);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&Qp(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=x2(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const r=this._previewContainer||"global";if("parent"===r)return e;if("global"===r){const s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Mi(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}}function B_(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}function H2(n,e,t){return Math.max(e,Math.min(t,n))}function Yp(n){return"t"===n.type[0]}function z2(n,e){const t=n.rootNodes;if(1===t.length&&t[0].nodeType===e.ELEMENT_NODE)return t[0];const r=e.createElement("div");return t.forEach(s=>r.appendChild(s)),r}function q2(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=B_(e.left,e.top)}function G2(n,e,t){const r=Zp(e,n.length-1),s=Zp(t,n.length-1);if(r===s)return;const a=n[r],u=s0)return null;const h="horizontal"===this.orientation,f=a.findIndex(O=>O.drag===e),m=a[u],E=m.clientRect,D=f>u?1:-1,I=this._getItemOffsetPx(a[f].clientRect,E,D),M=this._getSiblingOffsetPx(f,a,D),R=a.slice();return G2(a,f,u),a.forEach((O,V)=>{if(R[V]===O)return;const W=O.drag===e,B=W?I:M,re=W?e.getPlaceholderElement():O.drag.getRootElement();O.offset+=B,h?(re.style.transform=F_(`translate3d(${Math.round(O.offset)}px, 0, 0)`,O.initialTransform),Qp(O.clientRect,0,B)):(re.style.transform=F_(`translate3d(0, ${Math.round(O.offset)}px, 0)`,O.initialTransform),Qp(O.clientRect,B,0))}),this._previousSwap.overlaps=Kw(E,t,r),this._previousSwap.drag=m.drag,this._previousSwap.delta=h?s.x:s.y,{previousIndex:f,currentIndex:u}}enter(e,t,r,s){const a=null==s||s<0?this._getItemIndexFromPointerPosition(e,t,r):s,u=this._activeDraggables,h=u.indexOf(e),f=e.getPlaceholderElement();let m=u[a];if(m===e&&(m=u[a+1]),!m&&(null==a||-1===a||a-1&&u.splice(h,1),m&&!this._dragDropRegistry.isDragging(m)){const b=m.getRootElement();b.parentElement.insertBefore(f,b),u.splice(a,0,e)}else Mi(this._element).appendChild(f),u.push(e);f.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables.forEach(e=>{const t=e.getRootElement();if(t){const r=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=r||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(r=>r.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:r})=>{Qp(r,e,t)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}_cacheItemPositions(){const e="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const r=t.getVisibleElement();return{drag:t,offset:0,initialTransform:r.style.transform||"",clientRect:Ww(r)}}).sort((t,r)=>e?t.clientRect.left-r.clientRect.left:t.clientRect.top-r.clientRect.top)}_getItemOffsetPx(e,t,r){const s="horizontal"===this.orientation;let a=s?t.left-e.left:t.top-e.top;return-1===r&&(a+=s?t.width-e.width:t.height-e.height),a}_getSiblingOffsetPx(e,t,r){const s="horizontal"===this.orientation,a=t[e].clientRect,u=t[e+-1*r];let h=a[s?"width":"height"]*r;if(u){const f=s?"left":"top",m=s?"right":"bottom";-1===r?h-=u.clientRect[f]-a[m]:h+=a[f]-u.clientRect[m]}return h}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const r=this._itemPositions,s="horizontal"===this.orientation;if(r[0].drag!==this._activeDraggables[0]){const u=r[r.length-1].clientRect;return s?e>=u.right:t>=u.bottom}{const u=r[0].clientRect;return s?e<=u.left:t<=u.top}}_getItemIndexFromPointerPosition(e,t,r,s){const a="horizontal"===this.orientation,u=this._itemPositions.findIndex(({drag:h,clientRect:f})=>{if(h===e)return!1;if(s){const m=a?s.x:s.y;if(h===this._previousSwap.drag&&this._previousSwap.overlaps&&m===this._previousSwap.delta)return!1}return a?t>=Math.floor(f.left)&&t=Math.floor(f.top)&&r!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ue,this.entered=new Ue,this.exited=new Ue,this.dropped=new Ue,this.sorted=new Ue,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Gt.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ue,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function qO(n=0,e=jw){return n<0&&(n=0),D2(n,n,e)}(0,w2).pipe(Kp(this._stopScrollTimers)).subscribe(()=>{const u=this._scrollNode,h=this.autoScrollStep;1===this._verticalScrollDirection?u.scrollBy(0,-h):2===this._verticalScrollDirection&&u.scrollBy(0,h),1===this._horizontalScrollDirection?u.scrollBy(-h,0):2===this._horizontalScrollDirection&&u.scrollBy(h,0)})},this.element=Mi(e),this._document=r,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new L2(r),this._sortStrategy=new nF(this.element,t),this._sortStrategy.withSortPredicate((u,h)=>this.sortPredicate(u,h,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,r,s){this._draggingStarted(),null==s&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,r,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,r,s,a,u,h,f={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:r,container:this,previousContainer:s,isPointerOverContainer:a,distance:u,dropPoint:h,event:f})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>-1===e.indexOf(s))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._sortStrategy.direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._sortStrategy.orientation=e,this}withScrollableParents(e){const t=Mi(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,r,s){if(this.sortingDisabled||!this._clientRect||!F2(this._clientRect,.05,t,r))return;const a=this._sortStrategy.sort(e,t,r,s);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let r,s=0,a=0;if(this._parentPositions.positions.forEach((u,h)=>{h===this._document||!u.clientRect||r||F2(u.clientRect,.05,e,t)&&([s,a]=function rF(n,e,t,r){const s=Q2(e,r),a=Y2(e,t);let u=0,h=0;if(s){const f=n.scrollTop;1===s?f>0&&(u=1):n.scrollHeight-f>n.clientHeight&&(u=2)}if(a){const f=n.scrollLeft;1===a?f>0&&(h=1):n.scrollWidth-f>n.clientWidth&&(h=2)}return[u,h]}(h,u.clientRect,e,t),(s||a)&&(r=h))}),!s&&!a){const{width:u,height:h}=this._viewportRuler.getViewportSize(),f={width:u,height:h,top:0,right:u,bottom:h,left:0};s=Q2(f,t),a=Y2(f,e),r=window}r&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=r,(s||a)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=Mi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=Mi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;const e=Mi(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,t){return null!=this._clientRect&&Kw(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,r){return this._siblings.find(s=>s._canReceive(e,t,r))}_canReceive(e,t,r){if(!this._clientRect||!Kw(this._clientRect,t,r)||!this.enterPredicate(e,this))return!1;const s=this._getShadowRoot().elementFromPoint(t,r);if(!s)return!1;const a=Mi(this.element);return s===a||a.contains(s)}_startReceiving(e,t){const r=this._activeSiblings;!r.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(r.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=x2(Mi(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function Q2(n,e){const{top:t,bottom:r,height:s}=n,a=.05*s;return e>=t-a&&e<=t+a?1:e>=r-a&&e<=r+a?2:0}function Y2(n,e){const{left:t,right:r,width:s}=n,a=.05*s;return e>=t-a&&e<=t+a?1:e>=r-a&&e<=r+a?2:0}const $_=Wp({passive:!1,capture:!0});let sF=(()=>{class n{constructor(t,r){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new Ue,this.pointerUp=new Ue,this.scroll=new Ue,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=r}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,$_)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,$_)}startDragging(t,r){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const s=r.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:$_}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:$_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,u)=>{this._document.addEventListener(u,a.handler,a.options)})})}}stopDragging(t){const r=this._activeDragInstances.indexOf(t);r>-1&&(this._activeDragInstances.splice(r,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const r=[this.scroll];return t&&t!==this._document&&r.push(new Ct(s=>this._ngZone.runOutsideAngular(()=>{const u=h=>{this._activeDragInstances.length&&s.next(h)};return t.addEventListener("scroll",u,!0),()=>{t.removeEventListener("scroll",u,!0)}}))),lc(...r)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,r)=>{this._document.removeEventListener(r,t.handler,t.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(t){return new(t||n)(Y(bt),Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oF={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Yw=(()=>{class n{constructor(t,r,s,a){this._document=t,this._ngZone=r,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(t,r=oF){return new eF(t,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new iF(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(t){return new(t||n)(Y(qt),Y(bt),Y(AO),Y(sF))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Zw=new te("CDK_DRAG_PARENT"),Xw=new te("CdkDropListGroup"),Z2=new te("CDK_DRAG_CONFIG");let lF=0;const X2=new te("CdkDropList");let J2=(()=>{class n{constructor(t,r,s,a,u,h,f){this.element=t,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=u,this._group=h,this._destroyed=new Ue,this.connectedTo=[],this.id="cdk-drop-list-"+lF++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new gt,this.entered=new gt,this.exited=new gt,this.sorted=new gt,this._unsortedItems=new Set,this._dropListRef=r.createDropList(t),this._dropListRef.data=this,f&&this._assignDefaults(f),this._dropListRef.enterPredicate=(m,b)=>this.enterPredicate(m.data,b.data),this._dropListRef.sortPredicate=(m,b,E)=>this.sortPredicate(m,b.data,E.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),h&&h._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=da(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,r)=>t._dragRef.getVisibleElement().compareDocumentPosition(r._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=n._dropLists.indexOf(this);t>-1&&n._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(O_(this._dir.value),Kp(this._destroyed)).subscribe(r=>t.withDirection(r)),t.beforeStarted.subscribe(()=>{const r=function tO(n){return Array.isArray(n)?n:[n]}(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(u=>u.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===r.indexOf(s)&&r.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=da(this.sortingDisabled),t.autoScrollDisabled=da(this.autoScrollDisabled),t.autoScrollStep=y2(this.autoScrollStep,2),t.connectedTo(r.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(r=>{this.entered.emit({container:this,item:r.item.data,currentIndex:r.currentIndex})}),t.exited.subscribe(r=>{this.exited.emit({container:this,item:r.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(r=>{this.sorted.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:r.item.data})}),t.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,item:r.item.data,isPointerOverContainer:r.isPointerOverContainer,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:r,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:u,listOrientation:h}=t;this.disabled=s??!1,this.sortingDisabled=a??!1,this.autoScrollDisabled=u??!1,this.orientation=h||"vertical",r&&(this.lockAxis=r)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return n._dropLists=[],n.\u0275fac=function(t){return new(t||n)(G(st),G(Yw),G(la),G(TO),G(R2,8),G(Xw,12),G(Z2,8))},n.\u0275dir=pt({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,r){2&t&&(ht("id",r.id),Zv("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Nl([{provide:Xw,useValue:void 0},{provide:X2,useExisting:n}])]}),n})();const Jw=new te("CdkDragHandle"),eI=new te("CdkDragPlaceholder"),tI=new te("CdkDragPreview");let nI=(()=>{class n{constructor(t,r,s,a,u,h,f,m,b,E,D){this.element=t,this.dropContainer=r,this._ngZone=a,this._viewContainerRef=u,this._dir=f,this._changeDetectorRef=b,this._selfHandle=E,this._parentDrag=D,this._destroyed=new Ue,this.started=new gt,this.released=new gt,this.ended=new gt,this.entered=new gt,this.exited=new gt,this.dropped=new gt,this.moved=new Ct(I=>{const M=this._dragRef.moved.pipe(Ae(R=>({source:this,pointerPosition:R.pointerPosition,event:R.event,delta:R.delta,distance:R.distance}))).subscribe(I);return()=>{M.unsubscribe()}}),this._dragRef=m.createDrag(t,{dragStartThreshold:h&&null!=h.dragStartThreshold?h.dragStartThreshold:5,pointerDirectionChangeThreshold:h&&null!=h.pointerDirectionChangeThreshold?h.pointerDirectionChangeThreshold:5,zIndex:h?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),h&&this._assignDefaults(h),r&&(this._dragRef._withDropContainer(r._dropListRef),r.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=da(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Bl(1),Kp(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const r=t.rootElementSelector,s=t.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=n._dragInstances.indexOf(this);t>-1&&n._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const t=this.element.nativeElement;let r=t;this.rootElementSelector&&(r=void 0!==t.closest?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):Mi(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const r=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,u=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof s&&s?s:y2(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(u).withPreviewContainer(this.previewContainer||"global"),r&&t.withDirection(r.value)}}),t.beforeStarted.pipe(Bl(1)).subscribe(()=>{if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){t.withParent(n._dragInstances.find(s=>s.element.nativeElement===r)?._dragRef||null);break}r=r.parentElement}})}_handleEvents(t){t.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),t.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),t.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),t.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(t){const{lockAxis:r,dragStartDelay:s,constrainPosition:a,previewClass:u,boundaryElement:h,draggingDisabled:f,rootElementSelector:m,previewContainer:b}=t;this.disabled=f??!1,this.dragStartDelay=s||0,r&&(this.lockAxis=r),a&&(this.constrainPosition=a),u&&(this.previewClass=u),h&&(this.boundaryElement=h),m&&(this.rootElementSelector=m),b&&(this.previewContainer=b)}_setupHandlesListener(){this._handles.changes.pipe(O_(this._handles),kn(t=>{const r=t.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),Nr(t=>lc(...t.map(r=>r._stateChanges.pipe(O_(r))))),Kp(this._destroyed)).subscribe(t=>{const r=this._dragRef,s=t.element.nativeElement;t.disabled?r.disableHandle(s):r.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(t){return new(t||n)(G(st),G(X2,12),G(qt),G(bt),G(ar),G(Z2,8),G(R2,8),G(Yw),G(la),G(Jw,10),G(Zw,12))},n.\u0275dir=pt({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(t,r,s){if(1&t&&(Rl(s,tI,5),Rl(s,eI,5),Rl(s,Jw,5)),2&t){let a;ci(a=ui())&&(r._previewTemplate=a.first),ci(a=ui())&&(r._placeholderTemplate=a.first),ci(a=ui())&&(r._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,r){2&t&&Zv("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Nl([{provide:Zw,useExisting:n}]),Fi]}),n})(),pF=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({providers:[Yw],imports:[xO]}),n})();class Rr extends Ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}const V_=mn(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:fF}=Array,{getPrototypeOf:gF,prototype:mF,keys:vF}=Object;function iI(...n){const e=Lr(n),t=function be(n){return ge(Ss(n))?n.pop():void 0}(n),{args:r,keys:s}=function _F(n){if(1===n.length){const e=n[0];if(fF(e))return{args:e,keys:null};if(function yF(n){return n&&"object"==typeof n&&gF(n)===mF}(e)){const t=vF(e);return{args:t.map(r=>e[r]),keys:t}}}return{args:n,keys:null}}(n);if(0===r.length)return Kt([],e);const a=new Ct(function CF(n,e,t=ys){return r=>{rI(e,()=>{const{length:s}=n,a=new Array(s);let u=s,h=s;for(let f=0;f{const m=Kt(n[f],e);let b=!1;m.subscribe(Pt(r,E=>{a[f]=E,b||(b=!0,h--),h||r.next(t(a.slice()))},()=>{--u||r.complete()}))},r)},r)}}(r,e,s?u=>function bF(n,e){return n.reduce((t,r,s)=>(t[r]=e[s],t),{})}(s,u):ys));return t?a.pipe(b2(t)):a}function rI(n,e,t){n?Wt(t,n,e):e()}function sI(n){return new Ct(e=>{Yn(n()).subscribe(e)})}function Xp(n,e){const t=ge(n)?n:()=>n,r=s=>s.error(t());return new Ct(e?s=>e.schedule(r,0,s):r)}function e0(){return mt((n,e)=>{let t=null;n._refCount++;const r=Pt(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const s=n._connection,a=t;t=null,s&&(!a||s===a)&&s.unsubscribe(),e.unsubscribe()});n.subscribe(r),r.closed||(t=n.connect())})}class oI extends Ct{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Zf(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Gt;const t=this.getSubject();e.add(this.source.subscribe(Pt(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Gt.EMPTY)}return e}refCount(){return e0()(this)}}function j_(n){return mt((e,t)=>{let r=!1;e.subscribe(Pt(t,s=>{r=!0,t.next(s)},()=>{r||t.next(n),t.complete()}))})}function aI(n=EF){return mt((e,t)=>{let r=!1;e.subscribe(Pt(t,s=>{r=!0,t.next(s)},()=>r?t.complete():t.error(n())))})}function EF(){return new V_}function ha(n,e){const t=arguments.length>=2;return r=>r.pipe(n?ds((s,a)=>n(s,a,r)):ys,Bl(1),t?j_(e):aI(()=>new V_))}function $l(n,e){return ge(e)?U(n,e,1):U(n,1)}function pa(n){return mt((e,t)=>{let a,r=null,s=!1;r=e.subscribe(Pt(t,void 0,void 0,u=>{a=Yn(n(u,pa(n)(e))),r?(r.unsubscribe(),r=null,a.subscribe(t)):s=!0})),s&&(r.unsubscribe(),r=null,a.subscribe(t))})}function wF(n,e,t,r,s){return(a,u)=>{let h=t,f=e,m=0;a.subscribe(Pt(u,b=>{const E=m++;f=h?n(f,b,E):(h=!0,b),r&&u.next(f)},s&&(()=>{h&&u.next(f),u.complete()})))}}function lI(n,e){return mt(wF(n,e,arguments.length>=2,!0))}function t0(n){return n<=0?()=>Wi:mt((e,t)=>{let r=[];e.subscribe(Pt(t,s=>{r.push(s),n{for(const s of r)t.next(s);t.complete()},void 0,()=>{r=null}))})}function cI(n,e){const t=arguments.length>=2;return r=>r.pipe(n?ds((s,a)=>n(s,a,r)):ys,t0(1),t?j_(e):aI(()=>new V_))}function n0(n){return mt((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const Be="primary",Jp=Symbol("RouteTitle");class TF{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Hu(n){return new TF(n)}function IF(n,e,t){const r=t.path.split("/");if(r.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||r.lengthr[a]===s)}return n===e}function dI(n){return Array.prototype.concat.apply([],n)}function hI(n){return n.length>0?n[n.length-1]:null}function On(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function fa(n){return DE(n)?n:xl(n)?Kt(Promise.resolve(n)):ve(n)}const U_=!1,xF={exact:function gI(n,e,t){if(!jl(n.segments,e.segments)||!H_(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!n.children[r]||!gI(n.children[r],e.children[r],t))return!1;return!0},subset:mI},pI={exact:function MF(n,e){return hs(n,e)},subset:function PF(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>uI(n[t],e[t]))},ignored:()=>!0};function fI(n,e,t){return xF[t.paths](n.root,e.root,t.matrixParams)&&pI[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function mI(n,e,t){return vI(n,e,e.segments,t)}function vI(n,e,t,r){if(n.segments.length>t.length){const s=n.segments.slice(0,t.length);return!(!jl(s,t)||e.hasChildren()||!H_(s,t,r))}if(n.segments.length===t.length){if(!jl(n.segments,t)||!H_(n.segments,t,r))return!1;for(const s in e.children)if(!n.children[s]||!mI(n.children[s],e.children[s],r))return!1;return!0}{const s=t.slice(0,n.segments.length),a=t.slice(n.segments.length);return!!(jl(n.segments,s)&&H_(n.segments,s,r)&&n.children[Be])&&vI(n.children[Be],e,a,r)}}function H_(n,e,t){return e.every((r,s)=>pI[t](n[s].parameters,r.parameters))}class Vl{constructor(e=new Ve([],{}),t={},r=null){this.root=e,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hu(this.queryParams)),this._queryParamMap}toString(){return kF.serialize(this)}}class Ve{constructor(e,t){this.segments=e,this.children=t,this.parent=null,On(t,(r,s)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return z_(this)}}class ef{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Hu(this.parameters)),this._parameterMap}toString(){return bI(this)}}function jl(n,e){return n.length===e.length&&n.every((t,r)=>t.path===e[r].path)}let tf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return new r0},providedIn:"root"}),n})();class r0{parse(e){const t=new HF(e);return new Vl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${nf(e.root,!0)}`,r=function LF(n){const e=Object.keys(n).map(t=>{const r=n[t];return Array.isArray(r)?r.map(s=>`${q_(t)}=${q_(s)}`).join("&"):`${q_(t)}=${q_(r)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${t}${r}${"string"==typeof e.fragment?`#${function OF(n){return encodeURI(n)}(e.fragment)}`:""}`}}const kF=new r0;function z_(n){return n.segments.map(e=>bI(e)).join("/")}function nf(n,e){if(!n.hasChildren())return z_(n);if(e){const t=n.children[Be]?nf(n.children[Be],!1):"",r=[];return On(n.children,(s,a)=>{a!==Be&&r.push(`${a}:${nf(s,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function RF(n,e){let t=[];return On(n.children,(r,s)=>{s===Be&&(t=t.concat(e(r,s)))}),On(n.children,(r,s)=>{s!==Be&&(t=t.concat(e(r,s)))}),t}(n,(r,s)=>s===Be?[nf(n.children[Be],!1)]:[`${s}:${nf(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Be]?`${z_(n)}/${t[0]}`:`${z_(n)}/(${t.join("//")})`}}function _I(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function q_(n){return _I(n).replace(/%3B/gi,";")}function s0(n){return _I(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function G_(n){return decodeURIComponent(n)}function yI(n){return G_(n.replace(/\+/g,"%20"))}function bI(n){return`${s0(n.path)}${function FF(n){return Object.keys(n).map(e=>`;${s0(e)}=${s0(n[e])}`).join("")}(n.parameters)}`}const BF=/^[^\/()?;=#]+/;function W_(n){const e=n.match(BF);return e?e[0]:""}const $F=/^[^=?&#]+/,jF=/^[^&#]+/;class HF{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const 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("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(r[Be]=new Ve(e,t)),r}parseSegment(){const e=W_(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new j(4009,U_);return this.capture(e),new ef(G_(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=W_(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=W_(this.remaining);s&&(r=s,this.capture(r))}e[G_(t)]=G_(r)}parseQueryParam(e){const t=function VF(n){const e=n.match($F);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const u=function UF(n){const e=n.match(jF);return e?e[0]:""}(this.remaining);u&&(r=u,this.capture(r))}const s=yI(t),a=yI(r);if(e.hasOwnProperty(s)){let u=e[s];Array.isArray(u)||(u=[u],e[s]=u),u.push(a)}else e[s]=a}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=W_(this.remaining),s=this.remaining[r.length];if("/"!==s&&")"!==s&&";"!==s)throw new j(4010,U_);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=Be);const u=this.parseChildren();t[a]=1===Object.keys(u).length?u[Be]:new Ve([],u),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new j(4011,U_)}}function o0(n){return n.segments.length>0?new Ve([],{[Be]:n}):n}function K_(n){const e={};for(const r of Object.keys(n.children)){const a=K_(n.children[r]);(a.segments.length>0||a.hasChildren())&&(e[r]=a)}return function zF(n){if(1===n.numberOfChildren&&n.children[Be]){const e=n.children[Be];return new Ve(n.segments.concat(e.segments),e.children)}return n}(new Ve(n.segments,e))}function Ul(n){return n instanceof Vl}function WF(n,e,t,r,s){if(0===t.length)return zu(e.root,e.root,e.root,r,s);const a=function wI(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new EI(!0,0,n);let e=0,t=!1;const r=n.reduce((s,a,u)=>{if("object"==typeof a&&null!=a){if(a.outlets){const h={};return On(a.outlets,(f,m)=>{h[m]="string"==typeof f?f.split("/"):f}),[...s,{outlets:h}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===u?(a.split("/").forEach((h,f)=>{0==f&&"."===h||(0==f&&""===h?t=!0:".."===h?e++:""!=h&&s.push(h))}),s):[...s,a]},[]);return new EI(t,e,r)}(t);return a.toRoot()?zu(e.root,e.root,new Ve([],{}),r,s):function u(f){const m=function QF(n,e,t,r){if(n.isAbsolute)return new qu(e.root,!0,0);if(-1===r)return new qu(t,t===e.root,0);return function SI(n,e,t){let r=n,s=e,a=t;for(;a>s;){if(a-=s,r=r.parent,!r)throw new j(4005,!1);s=r.segments.length}return new qu(r,!1,s-a)}(t,r+(rf(n.commands[0])?0:1),n.numberOfDoubleDots)}(a,e,n.snapshot?._urlSegment,f),b=m.processChildren?af(m.segmentGroup,m.index,a.commands):l0(m.segmentGroup,m.index,a.commands);return zu(e.root,m.segmentGroup,b,r,s)}(n.snapshot?._lastPathIndex)}function rf(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function sf(n){return"object"==typeof n&&null!=n&&n.outlets}function zu(n,e,t,r,s){let u,a={};r&&On(r,(f,m)=>{a[m]=Array.isArray(f)?f.map(b=>`${b}`):`${f}`}),u=n===e?t:CI(n,e,t);const h=o0(K_(u));return new Vl(h,a,s)}function CI(n,e,t){const r={};return On(n.children,(s,a)=>{r[a]=s===e?t:CI(s,e,t)}),new Ve(n.segments,r)}class EI{constructor(e,t,r){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=r,e&&r.length>0&&rf(r[0]))throw new j(4003,!1);const s=r.find(sf);if(s&&s!==hI(r))throw new j(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qu{constructor(e,t,r){this.segmentGroup=e,this.processChildren=t,this.index=r}}function l0(n,e,t){if(n||(n=new Ve([],{})),0===n.segments.length&&n.hasChildren())return af(n,e,t);const r=function ZF(n,e,t){let r=0,s=e;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=t.length)return a;const u=n.segments[s],h=t[r];if(sf(h))break;const f=`${h}`,m=r0&&void 0===f)break;if(f&&m&&"object"==typeof m&&void 0===m.outlets){if(!TI(f,m,u))return a;r+=2}else{if(!TI(f,{},u))return a;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(n,e,t),s=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[u]=l0(n.children[u],e,a))}),On(n.children,(a,u)=>{void 0===r[u]&&(s[u]=a)}),new Ve(n.segments,s)}}function c0(n,e,t){const r=n.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[r]=c0(new Ve([],{}),0,t))}),e}function DI(n){const e={};return On(n,(t,r)=>e[r]=`${t}`),e}function TI(n,e,t){return n==t.path&&hs(e,t.parameters)}class co{constructor(e,t){this.id=e,this.url=t}}class u0 extends co{constructor(e,t,r="imperative",s=null){super(e,t),this.type=0,this.navigationTrigger=r,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ga extends co{constructor(e,t,r){super(e,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Q_ extends co{constructor(e,t,r,s){super(e,t),this.reason=r,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class II extends co{constructor(e,t,r,s){super(e,t),this.error=r,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class JF extends co{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eL extends co{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tL extends co{constructor(e,t,r,s,a){super(e,t),this.urlAfterRedirects=r,this.state=s,this.shouldActivate=a,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nL extends co{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iL extends co{constructor(e,t,r,s){super(e,t),this.urlAfterRedirects=r,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rL{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sL{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oL{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aL{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lL{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cL{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class AI{constructor(e,t,r){this.routerEvent=e,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let dL=(()=>{class n{createUrlTree(t,r,s,a,u,h){return WF(t||r.root,s,a,u,h)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),hL=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(e){return dL.\u0275fac(e)},providedIn:"root"}),n})();class xI{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=d0(e,this._root);return t?t.children.map(r=>r.value):[]}firstChild(e){const t=d0(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=h0(e,this._root);return t.length<2?[]:t[t.length-2].children.map(s=>s.value).filter(s=>s!==e)}pathFromRoot(e){return h0(e,this._root).map(t=>t.value)}}function d0(n,e){if(n===e.value)return e;for(const t of e.children){const r=d0(n,t);if(r)return r}return null}function h0(n,e){if(n===e.value)return[e];for(const t of e.children){const r=h0(n,t);if(r.length)return r.unshift(e),r}return[]}class uo{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Gu(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class MI extends xI{constructor(e,t){super(e),this.snapshot=t,p0(this,e)}toString(){return this.snapshot.toString()}}function PI(n,e){const t=function pL(n,e){const u=new Y_([],{},{},"",{},Be,e,null,n.root,-1,{});return new RI("",new uo(u,[]))}(n,e),r=new Rr([new ef("",{})]),s=new Rr({}),a=new Rr({}),u=new Rr({}),h=new Rr(""),f=new Wu(r,s,u,h,a,Be,e,t.root);return f.snapshot=t.root,new MI(new uo(f,[]),t)}class Wu{constructor(e,t,r,s,a,u,h,f){this.url=e,this.params=t,this.queryParams=r,this.fragment=s,this.data=a,this.outlet=u,this.component=h,this.title=this.data?.pipe(Ae(m=>m[Jp]))??ve(void 0),this._futureSnapshot=f}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._paramMap=this.params.pipe(Ae(e=>Hu(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ae(e=>Hu(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function NI(n,e="emptyOnly"){const t=n.pathFromRoot;let r=0;if("always"!==e)for(r=t.length-1;r>=1;){const s=t[r],a=t[r-1];if(s.routeConfig&&""===s.routeConfig.path)r--;else{if(a.component)break;r--}}return function fL(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class Y_{constructor(e,t,r,s,a,u,h,f,m,b,E){this.url=e,this.params=t,this.queryParams=r,this.fragment=s,this.data=a,this.outlet=u,this.component=h,this.routeConfig=f,this._urlSegment=m,this._lastPathIndex=b,this._resolve=E}get title(){return this.data?.[Jp]}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._paramMap=Hu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class RI extends xI{constructor(e,t){super(t),this.url=e,p0(this,t)}toString(){return kI(this._root)}}function p0(n,e){e.value._routerState=n,e.children.forEach(t=>p0(n,t))}function kI(n){const e=n.children.length>0?` { ${n.children.map(kI).join(", ")} } `:"";return`${n.value}${e}`}function f0(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,hs(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),hs(e.params,t.params)||n.params.next(t.params),function AF(n,e){if(n.length!==e.length)return!1;for(let t=0;ths(t.parameters,e[r].parameters))}(n.url,e.url);return t&&!(!n.parent!=!e.parent)&&(!n.parent||g0(n.parent,e.parent))}function lf(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=e.value;const s=function mL(n,e,t){return e.children.map(r=>{for(const s of t.children)if(n.shouldReuseRoute(r.value,s.value.snapshot))return lf(n,r,s);return lf(n,r)})}(n,e,t);return new uo(r,s)}{if(n.shouldAttach(e.value)){const a=n.retrieve(e.value);if(null!==a){const u=a.route;return u.value._futureSnapshot=e.value,u.children=e.children.map(h=>lf(n,h)),u}}const r=function vL(n){return new Wu(new Rr(n.url),new Rr(n.params),new Rr(n.queryParams),new Rr(n.fragment),new Rr(n.data),n.outlet,n.component,n)}(e.value),s=e.children.map(a=>lf(n,a));return new uo(r,s)}}const m0="ngNavigationCancelingError";function OI(n,e){const{redirectTo:t,navigationBehaviorOptions:r}=Ul(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,s=FI(!1,0,e);return s.url=t,s.navigationBehaviorOptions=r,s}function FI(n,e,t){const r=new Error("NavigationCancelingError: "+(n||""));return r[m0]=!0,r.cancellationCode=e,t&&(r.url=t),r}function LI(n){return BI(n)&&Ul(n.url)}function BI(n){return n&&n[m0]}class _L{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new cf,this.attachRef=null}}let cf=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new _L,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Z_=!1;let X_=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=Be,this.activateEvents=new gt,this.deactivateEvents=new gt,this.attachEvents=new gt,this.detachEvents=new gt,this.parentContexts=Le(cf),this.location=Le(ar),this.changeDetector=Le(la),this.environmentInjector=Le(Cr)}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new j(4012,Z_);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new j(4012,Z_);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new j(4012,Z_);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new j(4013,Z_);this._activatedRoute=t;const s=this.location,u=t.snapshot.component,h=this.parentContexts.getOrCreateContext(this.name).children,f=new yL(t,h,s.injector);if(r&&function bL(n){return!!n.resolveComponentFactory}(r)){const m=r.resolveComponentFactory(u);this.activated=s.createComponent(m,s.length,f)}else this.activated=s.createComponent(u,{index:s.length,injector:f,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=pt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Fi]}),n})();class yL{constructor(e,t,r){this.route=e,this.childContexts=t,this.parent=r}get(e,t){return e===Wu?this.route:e===cf?this.childContexts:this.parent.get(e,t)}}let v0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=de({type:n,selectors:[["ng-component"]],standalone:!0,features:[c1],decls:1,vars:0,template:function(t,r){1&t&&ne(0,"router-outlet")},dependencies:[X_],encapsulation:2}),n})();function $I(n,e){return n.providers&&!n._injector&&(n._injector=i_(n.providers,e,`Route: ${n.path}`)),n._injector??e}function y0(n){const e=n.children&&n.children.map(y0),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Be&&(t.component=v0),t}function ur(n){return n.outlet||Be}function VI(n,e){const t=n.filter(r=>ur(r)===e);return t.push(...n.filter(r=>ur(r)!==e)),t}function uf(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class DL{constructor(e,t,r,s){this.routeReuseStrategy=e,this.futureState=t,this.currState=r,this.forwardEvent=s}activate(e){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,e),f0(this.futureState.root),this.activateChildRoutes(t,r,e)}deactivateChildRoutes(e,t,r){const s=Gu(t);e.children.forEach(a=>{const u=a.value.outlet;this.deactivateRoutes(a,s[u],r),delete s[u]}),On(s,(a,u)=>{this.deactivateRouteAndItsChildren(a,r)})}deactivateRoutes(e,t,r){const s=e.value,a=t?t.value:null;if(s===a)if(s.component){const u=r.getContext(s.outlet);u&&this.deactivateChildRoutes(e,t,u.children)}else this.deactivateChildRoutes(e,t,r);else a&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const r=t.getContext(e.value.outlet),s=r&&e.value.component?r.children:t,a=Gu(e);for(const u of Object.keys(a))this.deactivateRouteAndItsChildren(a[u],s);if(r&&r.outlet){const u=r.outlet.detach(),h=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:u,route:e,contexts:h})}}deactivateRouteAndOutlet(e,t){const r=t.getContext(e.value.outlet),s=r&&e.value.component?r.children:t,a=Gu(e);for(const u of Object.keys(a))this.deactivateRouteAndItsChildren(a[u],s);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(e,t,r){const s=Gu(t);e.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],r),this.forwardEvent(new cL(a.value.snapshot))}),e.children.length&&this.forwardEvent(new aL(e.value.snapshot))}activateRoutes(e,t,r){const s=e.value,a=t?t.value:null;if(f0(s),s===a)if(s.component){const u=r.getOrCreateContext(s.outlet);this.activateChildRoutes(e,t,u.children)}else this.activateChildRoutes(e,t,r);else if(s.component){const u=r.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const h=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),u.children.onOutletReAttached(h.contexts),u.attachRef=h.componentRef,u.route=h.route.value,u.outlet&&u.outlet.attach(h.componentRef,h.route.value),f0(h.route.value),this.activateChildRoutes(e,null,u.children)}else{const h=uf(s.snapshot),f=h?.get(dl)??null;u.attachRef=null,u.route=s,u.resolver=f,u.injector=h,u.outlet&&u.outlet.activateWith(s,u.injector),this.activateChildRoutes(e,null,u.children)}}else this.activateChildRoutes(e,null,r)}}class jI{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class J_{constructor(e,t){this.component=e,this.route=t}}function TL(n,e,t){const r=n._root;return df(r,e?e._root:null,t,[r.value])}function Ku(n,e){const t=Symbol(),r=e.get(n,t);return r===t?"function"!=typeof n||function ug(n){return null!==dc(n)}(n)?e.get(n):n:r}function df(n,e,t,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Gu(e);return n.children.forEach(u=>{(function AL(n,e,t,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,u=e?e.value:null,h=t?t.getContext(n.value.outlet):null;if(u&&a.routeConfig===u.routeConfig){const f=function xL(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!jl(n.url,e.url);case"pathParamsOrQueryParamsChange":return!jl(n.url,e.url)||!hs(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!g0(n,e)||!hs(n.queryParams,e.queryParams);default:return!g0(n,e)}}(u,a,a.routeConfig.runGuardsAndResolvers);f?s.canActivateChecks.push(new jI(r)):(a.data=u.data,a._resolvedData=u._resolvedData),df(n,e,a.component?h?h.children:null:t,r,s),f&&h&&h.outlet&&h.outlet.isActivated&&s.canDeactivateChecks.push(new J_(h.outlet.component,u))}else u&&hf(e,h,s),s.canActivateChecks.push(new jI(r)),df(n,null,a.component?h?h.children:null:t,r,s)})(u,a[u.value.outlet],t,r.concat([u.value]),s),delete a[u.value.outlet]}),On(a,(u,h)=>hf(u,t.getContext(h),s)),s}function hf(n,e,t){const r=Gu(n),s=n.value;On(r,(a,u)=>{hf(a,s.component?e?e.children.getContext(u):null:e,t)}),t.canDeactivateChecks.push(new J_(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function pf(n){return"function"==typeof n}function b0(n){return n instanceof V_||"EmptyError"===n?.name}const ey=Symbol("INITIAL_VALUE");function Qu(){return Nr(n=>iI(n.map(e=>e.pipe(Bl(1),O_(ey)))).pipe(Ae(e=>{for(const t of e)if(!0!==t){if(t===ey)return ey;if(!1===t||t instanceof Vl)return t}return!0}),ds(e=>e!==ey),Bl(1)))}function UI(n){return function Ty(...n){return Yf(n)}(kn(e=>{if(Ul(e))throw OI(0,e)}),Ae(e=>!0===e))}const C0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function HI(n,e,t,r,s){const a=E0(n,e,t);return a.matched?function GL(n,e,t,r){const s=e.canMatch;return s&&0!==s.length?ve(s.map(u=>{const h=Ku(u,n);return fa(function OL(n){return n&&pf(n.canMatch)}(h)?h.canMatch(e,t):n.runInContext(()=>h(e,t)))})).pipe(Qu(),UI()):ve(!0)}(r=$I(e,r),e,t).pipe(Ae(u=>!0===u?a:{...C0})):ve(a)}function E0(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...C0}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const s=(e.matcher||IF)(t,n,e);if(!s)return{...C0};const a={};On(s.posParams,(h,f)=>{a[f]=h.path});const u=s.consumed.length>0?{...a,...s.consumed[s.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:s.consumed,remainingSegments:t.slice(s.consumed.length),parameters:u,positionalParamSegments:s.posParams??{}}}function ty(n,e,t,r){if(t.length>0&&function QL(n,e,t){return t.some(r=>ny(n,e,r)&&ur(r)!==Be)}(n,t,r)){const a=new Ve(e,function KL(n,e,t,r){const s={};s[Be]=r,r._sourceSegment=n,r._segmentIndexShift=e.length;for(const a of t)if(""===a.path&&ur(a)!==Be){const u=new Ve([],{});u._sourceSegment=n,u._segmentIndexShift=e.length,s[ur(a)]=u}return s}(n,e,r,new Ve(t,n.children)));return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===t.length&&function YL(n,e,t){return t.some(r=>ny(n,e,r))}(n,t,r)){const a=new Ve(n.segments,function WL(n,e,t,r,s){const a={};for(const u of r)if(ny(n,t,u)&&!s[ur(u)]){const h=new Ve([],{});h._sourceSegment=n,h._segmentIndexShift=e.length,a[ur(u)]=h}return{...s,...a}}(n,e,t,r,n.children));return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:t}}const s=new Ve(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:t}}function ny(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function zI(n,e,t,r){return!!(ur(n)===r||r!==Be&&ny(e,t,n))&&("**"===n.path||E0(e,n,t).matched)}function qI(n,e,t){return 0===e.length&&!n.children[t]}const iy=!1;class ry{constructor(e){this.segmentGroup=e||null}}class GI{constructor(e){this.urlTree=e}}function ff(n){return Xp(new ry(n))}function WI(n){return Xp(new GI(n))}class e3{constructor(e,t,r,s,a){this.injector=e,this.configLoader=t,this.urlSerializer=r,this.urlTree=s,this.config=a,this.allowRedirects=!0}apply(){const e=ty(this.urlTree.root,[],[],this.config).segmentGroup,t=new Ve(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,Be).pipe(Ae(a=>this.createUrlTree(K_(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe(pa(a=>{if(a instanceof GI)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof ry?this.noMatchError(a):a}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,Be).pipe(Ae(s=>this.createUrlTree(K_(s),e.queryParams,e.fragment))).pipe(pa(s=>{throw s instanceof ry?this.noMatchError(s):s}))}noMatchError(e){return new j(4002,iy)}createUrlTree(e,t,r){const s=o0(e);return new Vl(s,t,r)}expandSegmentGroup(e,t,r,s){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,t,r).pipe(Ae(a=>new Ve([],a))):this.expandSegment(e,r,t,r.segments,s,!0)}expandChildren(e,t,r){const s=[];for(const a of Object.keys(r.children))"primary"===a?s.unshift(a):s.push(a);return Kt(s).pipe($l(a=>{const u=r.children[a],h=VI(t,a);return this.expandSegmentGroup(e,h,u,a).pipe(Ae(f=>({segment:f,outlet:a})))}),lI((a,u)=>(a[u.outlet]=u.segment,a),{}),cI())}expandSegment(e,t,r,s,a,u){return Kt(r).pipe($l(h=>this.expandSegmentAgainstRoute(e,t,r,h,s,a,u).pipe(pa(m=>{if(m instanceof ry)return ve(null);throw m}))),ha(h=>!!h),pa((h,f)=>{if(b0(h))return qI(t,s,a)?ve(new Ve([],{})):ff(t);throw h}))}expandSegmentAgainstRoute(e,t,r,s,a,u,h){return zI(s,t,a,u)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(e,t,s,a,u):h&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u):ff(t):ff(t)}expandSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,s,u):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,r,s){const a=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?WI(a):this.lineralizeSegments(r,a).pipe(U(u=>{const h=new Ve(u,{});return this.expandSegment(e,h,t,u,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,s,a,u){const{matched:h,consumedSegments:f,remainingSegments:m,positionalParamSegments:b}=E0(t,s,a);if(!h)return ff(t);const E=this.applyRedirectCommands(f,s.redirectTo,b);return s.redirectTo.startsWith("/")?WI(E):this.lineralizeSegments(s,E).pipe(U(D=>this.expandSegment(e,t,r,D.concat(m),u,!1)))}matchSegmentAgainstRoute(e,t,r,s,a){return"**"===r.path?(e=$I(r,e),r.loadChildren?(r._loadedRoutes?ve({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(e,r)).pipe(Ae(h=>(r._loadedRoutes=h.routes,r._loadedInjector=h.injector,new Ve(s,{})))):ve(new Ve(s,{}))):HI(t,r,s,e).pipe(Nr(({matched:u,consumedSegments:h,remainingSegments:f})=>u?this.getChildConfig(e=r._injector??e,r,s).pipe(U(b=>{const E=b.injector??e,D=b.routes,{segmentGroup:I,slicedSegments:M}=ty(t,h,f,D),R=new Ve(I.segments,I.children);if(0===M.length&&R.hasChildren())return this.expandChildren(E,D,R).pipe(Ae(B=>new Ve(h,B)));if(0===D.length&&0===M.length)return ve(new Ve(h,{}));const O=ur(r)===a;return this.expandSegment(E,R,D,M,O?Be:a,!0).pipe(Ae(W=>new Ve(h.concat(W.segments),W.children)))})):ff(t)))}getChildConfig(e,t,r){return t.children?ve({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?ve({routes:t._loadedRoutes,injector:t._loadedInjector}):function qL(n,e,t,r){const s=e.canLoad;return void 0===s||0===s.length?ve(!0):ve(s.map(u=>{const h=Ku(u,n);return fa(function PL(n){return n&&pf(n.canLoad)}(h)?h.canLoad(e,t):n.runInContext(()=>h(e,t)))})).pipe(Qu(),UI())}(e,t,r).pipe(U(s=>s?this.configLoader.loadChildren(e,t).pipe(kn(a=>{t._loadedRoutes=a.routes,t._loadedInjector=a.injector})):function XL(n){return Xp(FI(iy,3))}())):ve({routes:[],injector:e})}lineralizeSegments(e,t){let r=[],s=t.root;for(;;){if(r=r.concat(s.segments),0===s.numberOfChildren)return ve(r);if(s.numberOfChildren>1||!s.children[Be])return Xp(new j(4e3,iy));s=s.children[Be]}}applyRedirectCommands(e,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,r)}applyRedirectCreateUrlTree(e,t,r,s){const a=this.createSegmentGroup(e,t.root,r,s);return new Vl(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const r={};return On(e,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const h=s.substring(1);r[a]=t[h]}else r[a]=s}),r}createSegmentGroup(e,t,r,s){const a=this.createSegments(e,t.segments,r,s);let u={};return On(t.children,(h,f)=>{u[f]=this.createSegmentGroup(e,h,r,s)}),new Ve(a,u)}createSegments(e,t,r,s){return t.map(a=>a.path.startsWith(":")?this.findPosParam(e,a,s):this.findOrReturn(a,r))}findPosParam(e,t,r){const s=r[t.path.substring(1)];if(!s)throw new j(4001,iy);return s}findOrReturn(e,t){let r=0;for(const s of t){if(s.path===e.path)return t.splice(r),s;r++}return e}}class n3{}class s3{constructor(e,t,r,s,a,u,h){this.injector=e,this.rootComponentType=t,this.config=r,this.urlTree=s,this.url=a,this.paramsInheritanceStrategy=u,this.urlSerializer=h}recognize(){const e=ty(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,Be).pipe(Ae(t=>{if(null===t)return null;const r=new Y_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Be,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new uo(r,t),a=new RI(this.url,s);return this.inheritParamsAndData(a._root),a}))}inheritParamsAndData(e){const t=e.value,r=NI(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(e,t,r,s){return 0===r.segments.length&&r.hasChildren()?this.processChildren(e,t,r):this.processSegment(e,t,r,r.segments,s)}processChildren(e,t,r){return Kt(Object.keys(r.children)).pipe($l(s=>{const a=r.children[s],u=VI(t,s);return this.processSegmentGroup(e,u,a,s)}),lI((s,a)=>s&&a?(s.push(...a),s):null),function SF(n,e=!1){return mt((t,r)=>{let s=0;t.subscribe(Pt(r,a=>{const u=n(a,s++);(u||e)&&r.next(a),!u&&r.complete()}))})}(s=>null!==s),j_(null),cI(),Ae(s=>{if(null===s)return null;const a=QI(s);return function o3(n){n.sort((e,t)=>e.value.outlet===Be?-1:t.value.outlet===Be?1:e.value.outlet.localeCompare(t.value.outlet))}(a),a}))}processSegment(e,t,r,s,a){return Kt(t).pipe($l(u=>this.processSegmentAgainstRoute(u._injector??e,u,r,s,a)),ha(u=>!!u),pa(u=>{if(b0(u))return qI(r,s,a)?ve([]):ve(null);throw u}))}processSegmentAgainstRoute(e,t,r,s,a){if(t.redirectTo||!zI(t,r,s,a))return ve(null);let u;if("**"===t.path){const h=s.length>0?hI(s).parameters:{},f=ZI(r)+s.length;u=ve({snapshot:new Y_(s,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,XI(t),ur(t),t.component??t._loadedComponent??null,t,YI(r),f,JI(t)),consumedSegments:[],remainingSegments:[]})}else u=HI(r,t,s,e).pipe(Ae(({matched:h,consumedSegments:f,remainingSegments:m,parameters:b})=>{if(!h)return null;const E=ZI(r)+f.length;return{snapshot:new Y_(f,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,XI(t),ur(t),t.component??t._loadedComponent??null,t,YI(r),E,JI(t)),consumedSegments:f,remainingSegments:m}}));return u.pipe(Nr(h=>{if(null===h)return ve(null);const{snapshot:f,consumedSegments:m,remainingSegments:b}=h;e=t._injector??e;const E=t._loadedInjector??e,D=function a3(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:I,slicedSegments:M}=ty(r,m,b,D.filter(O=>void 0===O.redirectTo));if(0===M.length&&I.hasChildren())return this.processChildren(E,D,I).pipe(Ae(O=>null===O?null:[new uo(f,O)]));if(0===D.length&&0===M.length)return ve([new uo(f,[])]);const R=ur(t)===a;return this.processSegment(E,D,I,M,R?Be:a).pipe(Ae(O=>null===O?null:[new uo(f,O)]))}))}}function l3(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function QI(n){const e=[],t=new Set;for(const r of n){if(!l3(r)){e.push(r);continue}const s=e.find(a=>r.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...r.children),t.add(s)):e.push(r)}for(const r of t){const s=QI(r.children);e.push(new uo(r.value,s))}return e.filter(r=>!t.has(r))}function YI(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function ZI(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function XI(n){return n.data||{}}function JI(n){return n.resolve||{}}function eA(n){return"string"==typeof n.title||null===n.title}function w0(n){return Nr(e=>{const t=n(e);return t?Kt(t).pipe(Ae(()=>e)):ve(e)})}const Yu=new te("ROUTES");let S0=(()=>{class n{constructor(t,r){this.injector=t,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ve(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=fa(t.loadComponent()).pipe(Ae(nA),kn(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),n0(()=>{this.componentLoaders.delete(t)})),s=new oI(r,()=>new Ue).pipe(e0());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const a=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(Ae(h=>{this.onLoadEndListener&&this.onLoadEndListener(r);let f,m,b=!1;Array.isArray(h)?m=h:(f=h.create(t).injector,m=dI(f.get(Yu,[],_e.Self|_e.Optional)));return{routes:m.map(y0),injector:f}}),n0(()=>{this.childrenLoaders.delete(r)})),u=new oI(a,()=>new Ue).pipe(e0());return this.childrenLoaders.set(r,u),u}loadModuleFactoryOrRoutes(t){return fa(t()).pipe(Ae(nA),U(s=>s instanceof a1||Array.isArray(s)?ve(s):Kt(this.compiler.compileModuleAsync(s))))}}return n.\u0275fac=function(t){return new(t||n)(Y($i),Y(X1))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nA(n){return function v3(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let D0=(()=>{class n{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ue,this.configLoader=Le(S0),this.environmentInjector=Le(Cr),this.urlSerializer=Le(tf),this.rootContexts=Le(cf),this.navigationId=0,this.configLoader.onLoadEndListener=s=>this.events.next(new sL(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new rL(s))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new Rr({id:0,targetPageId:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ds(r=>0!==r.id),Ae(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),Nr(r=>{let s=!1,a=!1;return ve(r).pipe(kn(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Nr(u=>{const h=t.browserUrlTree.toString(),f=!t.navigated||u.extractedUrl.toString()!==h||h!==t.currentUrlTree.toString();if(("reload"===t.onSameUrlNavigation||f)&&t.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return rA(u.source)&&(t.browserUrlTree=u.extractedUrl),ve(u).pipe(Nr(b=>{const E=this.transitions?.getValue();return this.events.next(new u0(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),E!==this.transitions?.getValue()?Wi:Promise.resolve(b)}),function t3(n,e,t,r){return Nr(s=>function JL(n,e,t,r,s){return new e3(n,e,t,r,s).apply()}(n,e,t,s.extractedUrl,r).pipe(Ae(a=>({...s,urlAfterRedirects:a}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,t.config),kn(b=>{this.currentNavigation={...this.currentNavigation,finalUrl:b.urlAfterRedirects},r.urlAfterRedirects=b.urlAfterRedirects}),function u3(n,e,t,r,s){return U(a=>function r3(n,e,t,r,s,a,u="emptyOnly"){return new s3(n,e,t,r,s,u,a).recognize().pipe(Nr(h=>null===h?function i3(n){return new Ct(e=>e.error(n))}(new n3):ve(h)))}(n,e,t,a.urlAfterRedirects,r.serialize(a.urlAfterRedirects),r,s).pipe(Ae(u=>({...a,targetSnapshot:u}))))}(this.environmentInjector,t.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),kn(b=>{if(r.targetSnapshot=b.targetSnapshot,"eager"===t.urlUpdateStrategy){if(!b.extras.skipLocationChange){const D=t.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl);t.setBrowserUrl(D,b)}t.browserUrlTree=b.urlAfterRedirects}const E=new JF(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects),b.targetSnapshot);this.events.next(E)}));if(f&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:E,extractedUrl:D,source:I,restoredState:M,extras:R}=u,O=new u0(E,this.urlSerializer.serialize(D),I,M);this.events.next(O);const V=PI(D,t.rootComponentType).snapshot;return ve(r={...u,targetSnapshot:V,urlAfterRedirects:D,extras:{...R,skipLocationChange:!1,replaceUrl:!1}})}return t.rawUrlTree=u.rawUrl,u.resolve(null),Wi}),kn(u=>{const h=new eL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}),Ae(u=>r={...u,guards:TL(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),function LL(n,e){return U(t=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:u}}=t;return 0===u.length&&0===a.length?ve({...t,guardsResult:!0}):function BL(n,e,t,r){return Kt(n).pipe(U(s=>function zL(n,e,t,r,s){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?ve(a.map(h=>{const f=uf(e)??s,m=Ku(h,f);return fa(function kL(n){return n&&pf(n.canDeactivate)}(m)?m.canDeactivate(n,e,t,r):f.runInContext(()=>m(n,e,t,r))).pipe(ha())})).pipe(Qu()):ve(!0)}(s.component,s.route,t,e,r)),ha(s=>!0!==s,!0))}(u,r,s,n).pipe(U(h=>h&&function ML(n){return"boolean"==typeof n}(h)?function $L(n,e,t,r){return Kt(e).pipe($l(s=>zw(function jL(n,e){return null!==n&&e&&e(new oL(n)),ve(!0)}(s.route.parent,r),function VL(n,e){return null!==n&&e&&e(new lL(n)),ve(!0)}(s.route,r),function HL(n,e,t){const r=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(u=>function IL(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(u)).filter(u=>null!==u).map(u=>sI(()=>ve(u.guards.map(f=>{const m=uf(u.node)??t,b=Ku(f,m);return fa(function RL(n){return n&&pf(n.canActivateChild)}(b)?b.canActivateChild(r,n):m.runInContext(()=>b(r,n))).pipe(ha())})).pipe(Qu())));return ve(a).pipe(Qu())}(n,s.path,t),function UL(n,e,t){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return ve(!0);const s=r.map(a=>sI(()=>{const u=uf(e)??t,h=Ku(a,u);return fa(function NL(n){return n&&pf(n.canActivate)}(h)?h.canActivate(e,n):u.runInContext(()=>h(e,n))).pipe(ha())}));return ve(s).pipe(Qu())}(n,s.route,t))),ha(s=>!0!==s,!0))}(r,a,n,e):ve(h)),Ae(h=>({...t,guardsResult:h})))})}(this.environmentInjector,u=>this.events.next(u)),kn(u=>{if(r.guardsResult=u.guardsResult,Ul(u.guardsResult))throw OI(0,u.guardsResult);const h=new tL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(h)}),ds(u=>!!u.guardsResult||(t.restoreHistory(u),this.cancelNavigationTransition(u,"",3,t),!1)),w0(u=>{if(u.guards.canActivateChecks.length)return ve(u).pipe(kn(h=>{const f=new nL(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}),Nr(h=>{let f=!1;return ve(h).pipe(function d3(n,e){return U(t=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=t;if(!s.length)return ve(t);let a=0;return Kt(s).pipe($l(u=>function h3(n,e,t,r){const s=n.routeConfig,a=n._resolve;return void 0!==s?.title&&!eA(s)&&(a[Jp]=s.title),function p3(n,e,t,r){const s=function f3(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===s.length)return ve({});const a={};return Kt(s).pipe(U(u=>function g3(n,e,t,r){const s=uf(e)??r,a=Ku(n,s);return fa(a.resolve?a.resolve(e,t):s.runInContext(()=>a(e,t)))}(n[u],e,t,r).pipe(ha(),kn(h=>{a[u]=h}))),t0(1),function DF(n){return Ae(()=>n)}(a),pa(u=>b0(u)?Wi:Xp(u)))}(a,n,e,r).pipe(Ae(u=>(n._resolvedData=u,n.data=NI(n,t).resolve,s&&eA(s)&&(n.data[Jp]=s.title),null)))}(u.route,r,n,e)),kn(()=>a++),t0(1),U(u=>a===s.length?ve(t):Wi))})}(t.paramsInheritanceStrategy,this.environmentInjector),kn({next:()=>f=!0,complete:()=>{f||(t.restoreHistory(h),this.cancelNavigationTransition(h,"",2,t))}}))}),kn(h=>{const f=new iL(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}))}),w0(u=>{const h=f=>{const m=[];f.routeConfig?.loadComponent&&!f.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(f.routeConfig).pipe(kn(b=>{f.component=b}),Ae(()=>{})));for(const b of f.children)m.push(...h(b));return m};return iI(h(u.targetSnapshot.root)).pipe(j_(),Bl(1))}),w0(()=>t.afterPreactivation()),Ae(u=>{const h=function gL(n,e,t){const r=lf(n,e._root,t?t._root:void 0);return new MI(r,e)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return r={...u,targetRouterState:h}}),kn(u=>{t.currentUrlTree=u.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl),t.routerState=u.targetRouterState,"deferred"===t.urlUpdateStrategy&&(u.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,u),t.browserUrlTree=u.urlAfterRedirects)}),((n,e,t)=>Ae(r=>(new DL(e,r.targetRouterState,r.currentRouterState,t).activate(n),r)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u)),kn({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new ga(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),n0(()=>{s||a||this.cancelNavigationTransition(r,"",1,t),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),pa(u=>{if(a=!0,BI(u)){LI(u)||(t.navigated=!0,t.restoreHistory(r,!0));const h=new Q_(r.id,this.urlSerializer.serialize(r.extractedUrl),u.message,u.cancellationCode);if(this.events.next(h),LI(u)){const f=t.urlHandlingStrategy.merge(u.url,t.rawUrlTree),m={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||rA(r.source)};t.scheduleNavigation(f,"imperative",null,m,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const h=new II(r.id,this.urlSerializer.serialize(r.extractedUrl),u,r.targetSnapshot??void 0);this.events.next(h);try{r.resolve(t.errorHandler(u))}catch(f){r.reject(f)}}return Wi}))}))}cancelNavigationTransition(t,r,s,a){const u=new Q_(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(u),t.resolve(!1)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rA(n){return"imperative"!==n}let sA=(()=>{class n{buildTitle(t){let r,s=t.root;for(;void 0!==s;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(a=>a.outlet===Be);return r}getResolvedTitleForRoute(t){return t.data[Jp]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(_3)},providedIn:"root"}),n})(),_3=(()=>{class n extends sA{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return n.\u0275fac=function(t){return new(t||n)(Y(m2))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),y3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(C3)},providedIn:"root"}),n})();class b3{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}let C3=(()=>{class n extends b3{}return n.\u0275fac=function(){let e;return function(r){return(e||(e=function $g(n){return fr(()=>{const e=n.prototype.constructor,t=e[Ln]||$c(e),r=Object.prototype;let s=Object.getPrototypeOf(n.prototype).constructor;for(;s&&s!==r;){const a=s[Ln]||$c(s);if(a&&a!==t)return a;s=Object.getPrototypeOf(s)}return a=>new a})}(n)))(r||n)}}(),n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sy=new te("",{providedIn:"root",factory:()=>({})});let w3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:function(){return Le(S3)},providedIn:"root"}),n})(),S3=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function D3(n){throw n}function T3(n,e,t){return e.parse("/")}const I3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},A3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class n{constructor(){this.disposed=!1,this.currentPageId=0,this.console=Le($P),this.isNgZoneEnabled=!1,this.options=Le(sy,{optional:!0})||{},this.errorHandler=this.options.errorHandler||D3,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||T3,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ve(void 0),this.urlHandlingStrategy=Le(w3),this.routeReuseStrategy=Le(y3),this.urlCreationStrategy=Le(hL),this.titleStrategy=Le(sA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=dI(Le(Yu,{optional:!0})??[]),this.navigationTransitions=Le(D0),this.urlSerializer=Le(tf),this.location=Le(Bp),this.rootComponentType=null,this.isNgZoneEnabled=Le(bt)instanceof bt&&bt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Vl,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=PI(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const s={replaceUrl:!0},a=t.state?.navigationId?t.state:null;if(t.state){const h={...t.state};delete h.navigationId,delete h.\u0275routerPageId,0!==Object.keys(h).length&&(s.state=h)}const u=this.parseUrl(t.url);this.scheduleNavigation(u,r,a,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(t){this.config=t.map(y0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:s,queryParams:a,fragment:u,queryParamsHandling:h,preserveFragment:f}=r,m=f?this.currentUrlTree.fragment:u;let b=null;switch(h){case"merge":b={...this.currentUrlTree.queryParams,...a};break;case"preserve":b=this.currentUrlTree.queryParams;break;default:b=a||null}return null!==b&&(b=this.removeEmptyProps(b)),this.urlCreationStrategy.createUrlTree(s,this.routerState,this.currentUrlTree,t,b,m??null)}navigateByUrl(t,r={skipLocationChange:!1}){const s=Ul(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,r)}navigate(t,r={skipLocationChange:!1}){return function x3(n){for(let e=0;e{const a=t[s];return null!=a&&(r[s]=a),r},{})}scheduleNavigation(t,r,s,a,u){if(this.disposed)return Promise.resolve(!1);let h,f,m,b;return u?(h=u.resolve,f=u.reject,m=u.promise):m=new Promise((E,D)=>{h=E,f=D}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),b=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):b=0,this.navigationTransitions.handleNavigationRequest({targetPageId:b,source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:h,reject:f,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(E=>Promise.reject(E))}setBrowserUrl(t,r){const s=this.urlSerializer.serialize(t),a={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===s?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ps=(()=>{class n{constructor(t,r,s,a,u,h){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=a,this.el=u,this.locationStrategy=h,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ue;const f=u.nativeElement.tagName;this.isAnchorElement="A"===f||"AREA"===f,this.isAnchorElement?this.subscription=t.events.subscribe(m=>{m instanceof ga&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(t){this._preserveFragment=dw(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=dw(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=dw(t)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,s,a,u){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||s||a||u||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function Vm(n,e,t){return function eC(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?$m:uu}(e,t)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const s=this.renderer,a=this.el.nativeElement;null!==r?s.setAttribute(a,t,r):s.removeAttribute(a,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(t){return new(t||n)(G(Pi),G(Wu),function jc(n){return function lb(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const r=t.length;let s=0;for(;s{class n{constructor(t,r,s,a,u){this.router=t,this.element=r,this.renderer=s,this.cdr=a,this.link=u,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new gt,this.routerEventsSubscription=t.events.subscribe(h=>{h instanceof ga&&this.update()})}ngAfterContentInit(){ve(this.links.changes,ve(null)).pipe(Es()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Kt(t).pipe(Es()).subscribe(r=>{this.isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function M3(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>!!s.urlTree&&t.isActive(s.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return n.\u0275fac=function(t){return new(t||n)(G(Pi),G(st),G(Ko),G(la),G(ps,8))},n.\u0275dir=pt({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,s){if(1&t&&Rl(s,ps,5),2&t){let a;ci(a=ui())&&(r.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Fi]}),n})();class aA{}let P3=(()=>{class n{constructor(t,r,s,a,u){this.router=t,this.injector=s,this.preloadingStrategy=a,this.loader=u}setUpPreloading(){this.subscription=this.router.events.pipe(ds(t=>t instanceof ga),$l(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const s=[];for(const a of r){a.providers&&!a._injector&&(a._injector=i_(a.providers,t,`Route: ${a.path}`));const u=a._injector??t,h=a._loadedInjector??u;a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent?s.push(this.preloadConfig(u,a)):(a.children||a._loadedRoutes)&&s.push(this.processRoutes(h,a.children??a._loadedRoutes))}return Kt(s).pipe(Es())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;s=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ve(null);const a=s.pipe(U(u=>null===u?ve(void 0):(r._loadedRoutes=u.routes,r._loadedInjector=u.injector,this.processRoutes(u.injector??t,u.routes))));return r.loadComponent&&!r._loadedComponent?Kt([a,this.loader.loadComponent(r)]).pipe(Es()):a})}}return n.\u0275fac=function(t){return new(t||n)(Y(Pi),Y(X1),Y(Cr),Y(aA),Y(S0))},n.\u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const I0=new te("");let lA=(()=>{class n{constructor(t,r,s,a,u={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=a,this.options=u,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},u.scrollPositionRestoration=u.scrollPositionRestoration||"disabled",u.anchorScrolling=u.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof u0?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ga&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof AI&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new AI(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(t){!function lp(){throw new Error("invalid")}()},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();function Xu(n,e){return{\u0275kind:n,\u0275providers:e}}function uA(){const n=Le($i);return e=>{const t=n.get(Fp);if(e!==t.components[0])return;const r=n.get(Pi),s=n.get(dA);1===n.get(x0)&&r.initialNavigation(),n.get(hA,null,_e.Optional)?.setUpPreloading(),n.get(I0,null,_e.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),s.closed||(s.next(),s.unsubscribe())}}const dA=new te("",{factory:()=>new Ue}),x0=new te("",{providedIn:"root",factory:()=>1});const hA=new te("");function F3(n){return Xu(0,[{provide:hA,useExisting:P3},{provide:aA,useExisting:n}])}const pA=new te("ROUTER_FORROOT_GUARD"),L3=[Bp,{provide:tf,useClass:r0},Pi,cf,{provide:Wu,useFactory:function cA(n){return n.routerState.root},deps:[Pi]},S0,[]];function B3(){return new sT("Router",Pi)}let M0=(()=>{class n{constructor(t){}static forRoot(t,r){return{ngModule:n,providers:[L3,[],{provide:Yu,multi:!0,useValue:t},{provide:pA,useFactory:U3,deps:[[Pi,new Ka,new Qa]]},{provide:sy,useValue:r||{}},r?.useHash?{provide:Ol,useClass:TN}:{provide:Ol,useClass:AT},{provide:I0,useFactory:()=>{const n=Le(WR),e=Le(bt),t=Le(sy),r=Le(D0),s=Le(tf);return t.scrollOffset&&n.setOffset(t.scrollOffset),new lA(s,r,n,e,t)}},r?.preloadingStrategy?F3(r.preloadingStrategy).\u0275providers:[],{provide:sT,multi:!0,useFactory:B3},r?.initialNavigation?H3(r):[],[{provide:fA,useFactory:uA},{provide:Y1,multi:!0,useExisting:fA}]]}}static forChild(t){return{ngModule:n,providers:[{provide:Yu,multi:!0,useValue:t}]}}}return n.\u0275fac=function(t){return new(t||n)(Y(pA,8))},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({imports:[v0]}),n})();function U3(n){return"guarded"}function H3(n){return["disabled"===n.initialNavigation?Xu(3,[{provide:a_,multi:!0,useFactory:()=>{const e=Le(Pi);return()=>{e.setUpLocationChangeListener()}}},{provide:x0,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Xu(2,[{provide:x0,useValue:0},{provide:a_,multi:!0,deps:[$i],useFactory:e=>{const t=e.get(SN,Promise.resolve());return()=>t.then(()=>new Promise(s=>{const a=e.get(Pi),u=e.get(dA);(function r(s){e.get(Pi).events.pipe(ds(u=>u instanceof ga||u instanceof Q_||u instanceof II),Ae(u=>u instanceof ga||u instanceof Q_&&(0===u.code||1===u.code)&&null),ds(u=>null!==u),Bl(1)).subscribe(()=>{s()})})(()=>{s(!0)}),a.afterPreactivation=()=>(s(!0),u.closed?ve(void 0):u),a.initialNavigation()}))}}]).\u0275providers:[]]}const fA=new te("");class gA{}class q3{}const fs="*";function mA(n,e=null){return{type:2,steps:n,options:e}}function oy(n){return{type:6,styles:n,offset:null}}function vA(n,e,t){return{type:0,name:n,styles:e,options:t}}function _A(n){Promise.resolve().then(n)}class mf{constructor(e=0,t=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+t}_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(){_A(()=>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){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class yA{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 t=0,r=0,s=0;const a=this.players.length;0==a?_A(()=>this._onFinish()):this.players.forEach(u=>{u.onDone(()=>{++t==a&&this._onFinish()}),u.onDestroy(()=>{++r==a&&this._onDestroy()}),u.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((u,h)=>Math.max(u,h.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){const t=e*this.totalTime;this.players.forEach(r=>{const s=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(s)})}getPosition(){const e=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}function bA(n){return new j(3e3,!1)}function xB(){return typeof window<"u"&&typeof window.document<"u"}function N0(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ma(n){switch(n.length){case 0:return new mf;case 1:return n[0];default:return new yA(n)}}function CA(n,e,t,r,s=new Map,a=new Map){const u=[],h=[];let f=-1,m=null;if(r.forEach(b=>{const E=b.get("offset"),D=E==f,I=D&&m||new Map;b.forEach((M,R)=>{let O=R,V=M;if("offset"!==R)switch(O=e.normalizePropertyName(O,u),V){case"!":V=s.get(R);break;case fs:V=a.get(R);break;default:V=e.normalizeStyleValue(R,O,V,u)}I.set(O,V)}),D||h.push(I),m=I,f=E}),u.length)throw function vB(n){return new j(3502,!1)}();return h}function R0(n,e,t,r){switch(e){case"start":n.onStart(()=>r(t&&k0(t,"start",n)));break;case"done":n.onDone(()=>r(t&&k0(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&k0(t,"destroy",n)))}}function k0(n,e,t){const a=O0(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),u=n._data;return null!=u&&(a._data=u),a}function O0(n,e,t,r,s="",a=0,u){return{element:n,triggerName:e,fromState:t,toState:r,phaseName:s,totalTime:a,disabled:!!u}}function Ui(n,e,t){let r=n.get(e);return r||n.set(e,r=t),r}function EA(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let F0=(n,e)=>!1,wA=(n,e,t)=>[],SA=null;function L0(n){const e=n.parentNode||n.host;return e===SA?null:e}(N0()||typeof Element<"u")&&(xB()?(SA=(()=>document.documentElement)(),F0=(n,e)=>{for(;e;){if(e===n)return!0;e=L0(e)}return!1}):F0=(n,e)=>n.contains(e),wA=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const r=n.querySelector(e);return r?[r]:[]});let Hl=null,DA=!1;const TA=F0,IA=wA;let AA=(()=>{class n{validateStyleProperty(t){return function PB(n){Hl||(Hl=function NB(){return typeof document<"u"?document.body:null}()||{},DA=!!Hl.style&&"WebkitAppearance"in Hl.style);let e=!0;return Hl.style&&!function MB(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Hl.style,!e&&DA&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Hl.style)),e}(t)}matchesElement(t,r){return!1}containsElement(t,r){return TA(t,r)}getParentElement(t){return L0(t)}query(t,r,s){return IA(t,r,s)}computeStyle(t,r,s){return s||""}animate(t,r,s,a,u,h=[],f){return new mf(s,a)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})(),B0=(()=>{class n{}return n.NOOP=new AA,n})();const $0="ng-enter",ay="ng-leave",ly="ng-trigger",cy=".ng-trigger",MA="ng-animating",V0=".ng-animating";function ho(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:j0(parseFloat(e[1]),e[2])}function j0(n,e){return"s"===e?1e3*n:n}function uy(n,e,t){return n.hasOwnProperty("duration")?n:function OB(n,e,t){let s,a=0,u="";if("string"==typeof n){const h=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===h)return e.push(bA()),{duration:0,delay:0,easing:""};s=j0(parseFloat(h[1]),h[2]);const f=h[3];null!=f&&(a=j0(parseFloat(f),h[4]));const m=h[5];m&&(u=m)}else s=n;if(!t){let h=!1,f=e.length;s<0&&(e.push(function Q3(){return new j(3100,!1)}()),h=!0),a<0&&(e.push(function Y3(){return new j(3101,!1)}()),h=!0),h&&e.splice(f,0,bA())}return{duration:s,delay:a,easing:u}}(n,e,t)}function vf(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function PA(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function va(n,e=new Map,t){if(t)for(let[r,s]of t)e.set(r,s);for(let[r,s]of n)e.set(r,s);return e}function RA(n,e,t){return t?e+":"+t+";":""}function kA(n){let e="";for(let t=0;t{const a=H0(s);t&&!t.has(s)&&t.set(s,n.style[a]),n.style[a]=r}),N0()&&kA(n))}function zl(n,e){n.style&&(e.forEach((t,r)=>{const s=H0(r);n.style[s]=""}),N0()&&kA(n))}function _f(n){return Array.isArray(n)?1==n.length?n[0]:mA(n):n}const U0=new RegExp("{{\\s*(.+?)\\s*}}","g");function OA(n){let e=[];if("string"==typeof n){let t;for(;t=U0.exec(n);)e.push(t[1]);U0.lastIndex=0}return e}function yf(n,e,t){const r=n.toString(),s=r.replace(U0,(a,u)=>{let h=e[u];return null==h&&(t.push(function X3(n){return new j(3003,!1)}()),h=""),h.toString()});return s==r?n:s}function dy(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const BB=/-+([a-z0-9])/g;function H0(n){return n.replace(BB,(...e)=>e[1].toUpperCase())}function $B(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Hi(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function J3(n){return new j(3004,!1)}()}}function FA(n,e){return window.getComputedStyle(n)[e]}function qB(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function GB(n,e,t){if(":"==n[0]){const f=function WB(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}(n,t);if("function"==typeof f)return void e.push(f);n=f}const r=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function hB(n){return new j(3015,!1)}()),e;const s=r[1],a=r[2],u=r[3];e.push(LA(s,u));"<"==a[0]&&!("*"==s&&"*"==u)&&e.push(LA(u,s))}(r,t,e)):t.push(n),t}const gy=new Set(["true","1"]),my=new Set(["false","0"]);function LA(n,e){const t=gy.has(n)||my.has(n),r=gy.has(e)||my.has(e);return(s,a)=>{let u="*"==n||n==s,h="*"==e||e==a;return!u&&t&&"boolean"==typeof s&&(u=s?gy.has(n):my.has(n)),!h&&r&&"boolean"==typeof a&&(h=a?gy.has(e):my.has(e)),u&&h}}const KB=new RegExp("s*:selfs*,?","g");function z0(n,e,t,r){return new QB(n).build(e,t,r)}class QB{constructor(e){this._driver=e}build(e,t,r){const s=new XB(t);return this._resetContextStyleTimingState(s),Hi(this,_f(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,s=t.depCount=0;const a=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function tB(){return new j(3006,!1)}()),e.definitions.forEach(h=>{if(this._resetContextStyleTimingState(t),0==h.type){const f=h,m=f.name;m.toString().split(/\s*,\s*/).forEach(b=>{f.name=b,a.push(this.visitState(f,t))}),f.name=m}else if(1==h.type){const f=this.visitTransition(h,t);r+=f.queryCount,s+=f.depCount,u.push(f)}else t.errors.push(function nB(){return new j(3007,!1)}())}),{type:7,name:e.name,states:a,transitions:u,queryCount:r,depCount:s,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(r.containsDynamicStyles){const a=new Set,u=s||{};r.styles.forEach(h=>{h instanceof Map&&h.forEach(f=>{OA(f).forEach(m=>{u.hasOwnProperty(m)||a.add(m)})})}),a.size&&(dy(a.values()),t.errors.push(function iB(n,e){return new j(3008,!1)}()))}return{type:0,name:e.name,style:r,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=Hi(this,_f(e.animation),t);return{type:1,matchers:qB(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ql(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>Hi(this,r,t)),options:ql(e.options)}}visitGroup(e,t){const r=t.currentTime;let s=0;const a=e.steps.map(u=>{t.currentTime=r;const h=Hi(this,u,t);return s=Math.max(s,t.currentTime),h});return t.currentTime=s,{type:3,steps:a,options:ql(e.options)}}visitAnimate(e,t){const r=function e8(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return q0(uy(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=q0(0,0,"");return a.dynamic=!0,a.strValue=t,a}const s=uy(t,e);return q0(s.duration,s.delay,s.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let s,a=e.styles?e.styles:oy({});if(5==a.type)s=this.visitKeyframes(a,t);else{let u=e.styles,h=!1;if(!u){h=!0;const m={};r.easing&&(m.easing=r.easing),u=oy(m)}t.currentTime+=r.duration+r.delay;const f=this.visitStyle(u,t);f.isEmptyStep=h,s=f}return t.currentAnimateTimings=null,{type:4,timings:r,style:s,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let h of s)"string"==typeof h?h===fs?r.push(h):t.errors.push(new j(3002,!1)):r.push(PA(h));let a=!1,u=null;return r.forEach(h=>{if(h instanceof Map&&(h.has("easing")&&(u=h.get("easing"),h.delete("easing")),!a))for(let f of h.values())if(f.toString().indexOf("{{")>=0){a=!0;break}}),{type:6,styles:r,easing:u,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let s=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(u=>{"string"!=typeof u&&u.forEach((h,f)=>{const m=t.collectedStyles.get(t.currentQuerySelector),b=m.get(f);let E=!0;b&&(a!=s&&a>=b.startTime&&s<=b.endTime&&(t.errors.push(function sB(n,e,t,r,s){return new j(3010,!1)}()),E=!1),a=b.startTime),E&&m.set(f,{startTime:a,endTime:s}),t.options&&function LB(n,e,t){const r=e.params||{},s=OA(n);s.length&&s.forEach(a=>{r.hasOwnProperty(a)||t.push(function Z3(n){return new j(3001,!1)}())})}(h,t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function oB(){return new j(3011,!1)}()),r;let a=0;const u=[];let h=!1,f=!1,m=0;const b=e.steps.map(V=>{const W=this._makeStyleAst(V,t);let B=null!=W.offset?W.offset:function JB(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(W.styles),re=0;return null!=B&&(a++,re=W.offset=B),f=f||re<0||re>1,h=h||re0&&a{const B=D>0?W==I?1:D*W:u[W],re=B*O;t.currentTime=M+R.delay+re,R.duration=re,this._validateStyleAst(V,t),V.offset=B,r.styles.push(V)}),r}visitReference(e,t){return{type:8,animation:Hi(this,_f(e.animation),t),options:ql(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ql(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ql(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;const[a,u]=function YB(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(KB,"")),n=n.replace(/@\*/g,cy).replace(/@\w+/g,t=>cy+"-"+t.slice(1)).replace(/:animating/g,V0),[n,e]}(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,Ui(t.collectedStyles,t.currentQuerySelector,new Map);const h=Hi(this,_f(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:u,animation:h,originalSelector:e.selector,options:ql(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function uB(){return new j(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:uy(e.timings,t.errors,!0);return{type:12,animation:Hi(this,_f(e.animation),t),timings:r,options:null}}}class XB{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ql(n){return n?(n=vf(n)).params&&(n.params=function ZB(n){return n?vf(n):null}(n.params)):n={},n}function q0(n,e,t){return{duration:n,delay:e,easing:t}}function G0(n,e,t,r,s,a,u=null,h=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:r,duration:s,delay:a,totalTime:s+a,easing:u,subTimeline:h}}class vy{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const i8=new RegExp(":enter","g"),s8=new RegExp(":leave","g");function W0(n,e,t,r,s,a=new Map,u=new Map,h,f,m=[]){return(new o8).buildKeyframes(n,e,t,r,s,a,u,h,f,m)}class o8{buildKeyframes(e,t,r,s,a,u,h,f,m,b=[]){m=m||new vy;const E=new K0(e,t,m,s,a,b,[]);E.options=f;const D=f.delay?ho(f.delay):0;E.currentTimeline.delayNextStep(D),E.currentTimeline.setStyles([u],null,E.errors,f),Hi(this,r,E);const I=E.timelines.filter(M=>M.containsAnimation());if(I.length&&h.size){let M;for(let R=I.length-1;R>=0;R--){const O=I[R];if(O.element===t){M=O;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([h],null,E.errors,f)}return I.length?I.map(M=>M.buildKeyframes()):[G0(t,[],[],[],0,D,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.get(t.element);if(r){const s=t.createSubContext(e.options),a=t.currentTimeline.currentTime,u=this._visitSubInstructions(r,s,s.options);a!=u&&t.transformIntoNewTimeline(u)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(const s of e){const a=s?.delay;if(a){const u="number"==typeof a?a:ho(yf(a,s?.params??{},t.errors));r.delayNextStep(u)}}}_visitSubInstructions(e,t,r){let a=t.currentTimeline.currentTime;const u=null!=r.duration?ho(r.duration):null,h=null!=r.delay?ho(r.delay):null;return 0!==u&&e.forEach(f=>{const m=t.appendInstructionToTimeline(f,u,h);a=Math.max(a,m.duration+m.delay)}),a}visitReference(e,t){t.updateOptions(e.options,!0),Hi(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let s=t;const a=e.options;if(a&&(a.params||a.delay)&&(s=t.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=_y);const u=ho(a.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(u=>Hi(this,u,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>r&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let s=t.currentTimeline.currentTime;const a=e.options&&e.options.delay?ho(e.options.delay):0;e.steps.forEach(u=>{const h=t.createSubContext(e.options);a&&h.delayNextStep(a),Hi(this,u,h),s=Math.max(s,h.currentTimeline.currentTime),r.push(h.currentTimeline)}),r.forEach(u=>t.currentTimeline.mergeTimelineCollectedStyles(u)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return uy(t.params?yf(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),s.snapshotCurrentStyles());const a=e.style;5==a.type?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,s=t.currentAnimateTimings;!s&&r.hasCurrentStyleProperties()&&r.forwardFrame();const a=s&&s.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,s=t.currentTimeline.duration,a=r.duration,h=t.createSubContext().currentTimeline;h.easing=r.easing,e.styles.forEach(f=>{h.forwardTime((f.offset||0)*a),h.setStyles(f.styles,f.easing,t.errors,t.options),h.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(h),t.transformIntoNewTimeline(s+a),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,s=e.options||{},a=s.delay?ho(s.delay):0;a&&(6===t.previousNode.type||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=_y);let u=r;const h=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=h.length;let f=null;h.forEach((m,b)=>{t.currentQueryIndex=b;const E=t.createSubContext(e.options,m);a&&E.delayNextStep(a),m===t.element&&(f=E.currentTimeline),Hi(this,e.animation,E),E.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,E.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),f&&(t.currentTimeline.mergeTimelineCollectedStyles(f),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,s=t.currentTimeline,a=e.timings,u=Math.abs(a.duration),h=u*(t.currentQueryTotal-1);let f=u*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":f=h-f;break;case"full":f=r.currentStaggerTime}const b=t.currentTimeline;f&&b.delayNextStep(f);const E=b.currentTime;Hi(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=s.currentTime-E+(s.startTime-r.currentTimeline.startTime)}}const _y={};class K0{constructor(e,t,r,s,a,u,h,f){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=s,this._leaveClassName=a,this.errors=u,this.timelines=h,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_y,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=f||new yy(this._driver,t,0),h.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let s=this.options;null!=r.duration&&(s.duration=ho(r.duration)),null!=r.delay&&(s.delay=ho(r.delay));const a=r.params;if(a){let u=s.params;u||(u=this.options.params={}),Object.keys(a).forEach(h=>{(!t||!u.hasOwnProperty(h))&&(u[h]=yf(a[h],u,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(s=>{r[s]=t[s]})}}return e}createSubContext(e=null,t,r){const s=t||this.element,a=new K0(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,r||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(e){return this.previousNode=_y,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},a=new a8(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,s,a,u){let h=[];if(s&&h.push(this.element),e.length>0){e=(e=e.replace(i8,"."+this._enterClassName)).replace(s8,"."+this._leaveClassName);let m=this._driver.query(this.element,e,1!=r);0!==r&&(m=r<0?m.slice(m.length+r,m.length):m.slice(0,r)),h.push(...m)}return!a&&0==h.length&&u.push(function dB(n){return new j(3014,!1)}()),h}}class yy{constructor(e,t,r,s){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new yy(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||fs),this._currentKeyframe.set(t,fs);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,s){t&&this._previousKeyframe.set("easing",t);const a=s&&s.params||{},u=function l8(n,e){const t=new Map;let r;return n.forEach(s=>{if("*"===s){r=r||e.keys();for(let a of r)t.set(a,fs)}else va(s,t)}),t}(e,this._globalTimelineStyles);for(let[h,f]of u){const m=yf(f,a,r);this._pendingStyles.set(h,m),this._localTimelineStyles.has(h)||this._backFill.set(h,this._globalTimelineStyles.get(h)??fs),this._updateStyle(h,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{const s=this._styleSummary.get(r);(!s||t.time>s.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((h,f)=>{const m=va(h,new Map,this._backFill);m.forEach((b,E)=>{"!"===b?e.add(E):b===fs&&t.add(E)}),r||m.set("offset",f/this.duration),s.push(m)});const a=e.size?dy(e.values()):[],u=t.size?dy(t.values()):[];if(r){const h=s[0],f=new Map(h);h.set("offset",0),f.set("offset",1),s=[h,f]}return G0(this.element,s,a,u,this.duration,this.startTime,this.easing,!1)}}class a8 extends yy{constructor(e,t,r,s,a,u,h=!1){super(e,t,u.delay),this.keyframes=r,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=h,this.timings={duration:u.duration,delay:u.delay,easing:u.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){const a=[],u=r+t,h=t/u,f=va(e[0]);f.set("offset",0),a.push(f);const m=va(e[0]);m.set("offset",VA(h)),a.push(m);const b=e.length-1;for(let E=1;E<=b;E++){let D=va(e[E]);const I=D.get("offset");D.set("offset",VA((t+I*r)/u)),a.push(D)}r=u,t=0,s="",e=a}return G0(this.element,e,this.preStyleProps,this.postStyleProps,r,t,s,!0)}}function VA(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Q0{}const c8=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class u8 extends Q0{normalizePropertyName(e,t){return H0(e)}normalizeStyleValue(e,t,r,s){let a="";const u=r.toString().trim();if(c8.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)a="px";else{const h=r.match(/^[+-]?[\d\.]+([a-z]*)$/);h&&0==h[1].length&&s.push(function eB(n,e){return new j(3005,!1)}())}return u+a}}function jA(n,e,t,r,s,a,u,h,f,m,b,E,D){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:a,toState:r,toStyles:u,timelines:h,queriedElements:f,preStyleProps:m,postStyleProps:b,totalTime:E,errors:D}}const Y0={};class UA{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,s){return function d8(n,e,t,r,s){return n.some(a=>a(e,t,r,s))}(this.ast.matchers,e,t,r,s)}buildStyles(e,t,r){let s=this._stateStyles.get("*");return void 0!==e&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,r):new Map}build(e,t,r,s,a,u,h,f,m,b){const E=[],D=this.ast.options&&this.ast.options.params||Y0,M=this.buildStyles(r,h&&h.params||Y0,E),R=f&&f.params||Y0,O=this.buildStyles(s,R,E),V=new Set,W=new Map,B=new Map,re="void"===s,We={params:h8(R,D),delay:this.ast.options?.delay},et=b?[]:W0(e,t,this.ast.animation,a,u,M,O,We,m,E);let Kn=0;if(et.forEach(fo=>{Kn=Math.max(fo.duration+fo.delay,Kn)}),E.length)return jA(t,this._triggerName,r,s,re,M,O,[],[],W,B,Kn,E);et.forEach(fo=>{const go=fo.element,ix=Ui(W,go,new Set);fo.preStyleProps.forEach(Ql=>ix.add(Ql));const Kf=Ui(B,go,new Set);fo.postStyleProps.forEach(Ql=>Kf.add(Ql)),go!==t&&V.add(go)});const po=dy(V.values());return jA(t,this._triggerName,r,s,re,M,O,et,po,W,B,Kn)}}function h8(n,e){const t=vf(e);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(t[r]=n[r]);return t}class p8{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){const r=new Map,s=vf(this.defaultParams);return Object.keys(e).forEach(a=>{const u=e[a];null!==u&&(s[a]=u)}),this.styles.styles.forEach(a=>{"string"!=typeof a&&a.forEach((u,h)=>{u&&(u=yf(u,s,t));const f=this.normalizer.normalizePropertyName(h,t);u=this.normalizer.normalizeStyleValue(h,f,u,t),r.set(h,u)})}),r}}class g8{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{this.states.set(s.name,new p8(s.style,s.options&&s.options.params||{},r))}),HA(this.states,"true","1"),HA(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new UA(e,s,this.states))}),this.fallbackTransition=function m8(n,e,t){return new UA(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(u,h)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,s){return this.transitionFactories.find(u=>u.match(e,t,r,s))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function HA(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const v8=new vy;class _8{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const r=[],a=z0(this._driver,t,r,[]);if(r.length)throw function _B(n){return new j(3503,!1)}();this._animations.set(e,a)}_buildPlayer(e,t,r){const s=e.element,a=CA(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(s,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const s=[],a=this._animations.get(e);let u;const h=new Map;if(a?(u=W0(this._driver,t,a,$0,ay,new Map,new Map,r,v8,s),u.forEach(b=>{const E=Ui(h,b.element,new Map);b.postStyleProps.forEach(D=>E.set(D,null))})):(s.push(function yB(){return new j(3300,!1)}()),u=[]),s.length)throw function bB(n){return new j(3504,!1)}();h.forEach((b,E)=>{b.forEach((D,I)=>{b.set(I,this._driver.computeStyle(E,I,fs))})});const m=ma(u.map(b=>{const E=h.get(b.element);return this._buildPlayer(b,new Map,E)}));return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function CB(n){return new j(3301,!1)}();return t}listen(e,t,r,s){const a=O0(t,"","","");return R0(this._getPlayer(e),r,a,s),()=>{}}command(e,t,r,s){if("register"==r)return void this.register(e,s[0]);if("create"==r)return void this.create(e,t,s[0]||{});const a=this._getPlayer(e);switch(r){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e)}}}const zA="ng-animate-queued",Z0="ng-animate-disabled",w8=[],qA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},S8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dr="__ng_removed";class X0{constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=function A8(n){return n??null}(r?e.value:e),r){const a=vf(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const r=this.options.params;Object.keys(t).forEach(s=>{null==r[s]&&(r[s]=t[s])})}}}const bf="void",J0=new X0(bf);class D8{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,hr(t,this._hostClassName)}listen(e,t,r,s){if(!this._triggers.has(t))throw function EB(n,e){return new j(3302,!1)}();if(null==r||0==r.length)throw function wB(n){return new j(3303,!1)}();if(!function x8(n){return"start"==n||"done"==n}(r))throw function SB(n,e){return new j(3400,!1)}();const a=Ui(this._elementListeners,e,[]),u={name:t,phase:r,callback:s};a.push(u);const h=Ui(this._engine.statesByElement,e,new Map);return h.has(t)||(hr(e,ly),hr(e,ly+"-"+t),h.set(t,J0)),()=>{this._engine.afterFlush(()=>{const f=a.indexOf(u);f>=0&&a.splice(f,1),this._triggers.has(t)||h.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function DB(n){return new j(3401,!1)}();return t}trigger(e,t,r,s=!0){const a=this._getTrigger(t),u=new eS(this.id,t,e);let h=this._engine.statesByElement.get(e);h||(hr(e,ly),hr(e,ly+"-"+t),this._engine.statesByElement.set(e,h=new Map));let f=h.get(t);const m=new X0(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&f&&m.absorbOptions(f.options),h.set(t,m),f||(f=J0),m.value!==bf&&f.value===m.value){if(!function N8(n,e){const t=Object.keys(n),r=Object.keys(e);if(t.length!=r.length)return!1;for(let s=0;s{zl(e,O),gs(e,V)})}return}const D=Ui(this._engine.playersByElement,e,[]);D.forEach(R=>{R.namespaceId==this.id&&R.triggerName==t&&R.queued&&R.destroy()});let I=a.matchTransition(f.value,m.value,e,m.params),M=!1;if(!I){if(!s)return;I=a.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:I,fromState:f,toState:m,player:u,isFallbackTransition:M}),M||(hr(e,zA),u.onStart(()=>{Ju(e,zA)})),u.onDone(()=>{let R=this.players.indexOf(u);R>=0&&this.players.splice(R,1);const O=this._engine.playersByElement.get(e);if(O){let V=O.indexOf(u);V>=0&&O.splice(V,1)}}),this.players.push(u),D.push(u),u}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,cy,!0);r.forEach(s=>{if(s[dr])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(u=>u.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,r,s){const a=this._engine.statesByElement.get(e),u=new Map;if(a){const h=[];if(a.forEach((f,m)=>{if(u.set(m,f.value),this._triggers.has(m)){const b=this.trigger(e,m,bf,s);b&&h.push(b)}}),h.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),r&&ma(h).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){const s=new Set;t.forEach(a=>{const u=a.name;if(s.has(u))return;s.add(u);const f=this._triggers.get(u).fallbackTransition,m=r.get(u)||J0,b=new X0(bf),E=new eS(this.id,u,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:u,transition:f,fromState:m,toState:b,player:E,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(r.totalAnimations){const a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)s=!0;else{let u=e;for(;u=u.parentNode;)if(r.statesByElement.get(u)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)r.markElementAsRemoved(this.id,e,!1,t);else{const a=e[dr];(!a||a===qA)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){hr(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const s=r.player;if(s.destroyed)return;const a=r.element,u=this._elementListeners.get(a);u&&u.forEach(h=>{if(h.name==r.triggerName){const f=O0(a,r.triggerName,r.fromState.value,r.toState.value);f._data=e,R0(r.player,h.phase,f,h.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(r)}),this._queue=[],t.sort((r,s)=>{const a=r.transition.ast.depCount,u=s.transition.ast.depCount;return 0==a||0==u?a-u:this._engine.driver.containsElement(r.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(r=>r.element===e)||t,t}}class T8{constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,a)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){const r=new D8(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList,s=this.namespacesByHostElement;if(r.length-1>=0){let u=!1,h=this.driver.getParentElement(t);for(;h;){const f=s.get(h);if(f){const m=r.indexOf(f);r.splice(m+1,0,e),u=!0;break}h=this.driver.getParentElement(h)}u||r.unshift(e)}else r.push(e);return s.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let s=this._namespaceLookup[e];s&&s.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const s=this._namespaceList.indexOf(r);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r)for(let s of r.values())if(s.namespaceId){const a=this._fetchNamespace(s.namespaceId);a&&t.add(a)}return t}trigger(e,t,r,s){if(by(t)){const a=this._fetchNamespace(e);if(a)return a.trigger(t,r,s),!0}return!1}insertNode(e,t,r,s){if(!by(t))return;const a=t[dr];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const u=this.collectedLeaveElements.indexOf(t);u>=0&&this.collectedLeaveElements.splice(u,1)}if(e){const u=this._fetchNamespace(e);u&&u.insertNode(t,r)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),hr(e,Z0)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ju(e,Z0))}removeNode(e,t,r,s){if(by(t)){const a=e?this._fetchNamespace(e):null;if(a?a.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s),r){const u=this.namespacesByHostElement.get(t);u&&u.id!==e&&u.removeNode(t,s)}}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,r,s,a){this.collectedLeaveElements.push(t),t[dr]={namespaceId:e,setForRemoval:s,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,s,a){return by(t)?this._fetchNamespace(e).listen(t,r,s,a):()=>{}}_buildInstruction(e,t,r,s,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,s,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,cy,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,V0,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ma(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[dr];if(t&&t.setForRemoval){if(e[dr]=qA,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Z0)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,s)=>this._balanceNamespaceList(r,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?ma(t).onDone(()=>{r.forEach(s=>s())}):r.forEach(s=>s())}}reportError(e){throw function TB(n){return new j(3402,!1)}()}_flushAnimations(e,t){const r=new vy,s=[],a=new Map,u=[],h=new Map,f=new Map,m=new Map,b=new Set;this.disabledNodes.forEach(ce=>{b.add(ce);const fe=this.driver.query(ce,".ng-animate-queued",!0);for(let we=0;we{const we=$0+R++;M.set(fe,we),ce.forEach(Ye=>hr(Ye,we))});const O=[],V=new Set,W=new Set;for(let ce=0;ceV.add(Ye)):W.add(fe))}const B=new Map,re=KA(D,Array.from(V));re.forEach((ce,fe)=>{const we=ay+R++;B.set(fe,we),ce.forEach(Ye=>hr(Ye,we))}),e.push(()=>{I.forEach((ce,fe)=>{const we=M.get(fe);ce.forEach(Ye=>Ju(Ye,we))}),re.forEach((ce,fe)=>{const we=B.get(fe);ce.forEach(Ye=>Ju(Ye,we))}),O.forEach(ce=>{this.processLeaveNode(ce)})});const We=[],et=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(t).forEach(we=>{const Ye=we.player,wn=we.element;if(We.push(Ye),this.collectedEnterElements.length){const Qn=wn[dr];if(Qn&&Qn.setForMove){if(Qn.previousTriggersValues&&Qn.previousTriggersValues.has(we.triggerName)){const Yl=Qn.previousTriggersValues.get(we.triggerName),pr=this.statesByElement.get(we.element);if(pr&&pr.has(we.triggerName)){const wy=pr.get(we.triggerName);wy.value=Yl,pr.set(we.triggerName,wy)}}return void Ye.destroy()}}const ms=!E||!this.driver.containsElement(E,wn),zi=B.get(wn),_a=M.get(wn),Lt=this._buildInstruction(we,r,_a,zi,ms);if(Lt.errors&&Lt.errors.length)return void et.push(Lt);if(ms)return Ye.onStart(()=>zl(wn,Lt.fromStyles)),Ye.onDestroy(()=>gs(wn,Lt.toStyles)),void s.push(Ye);if(we.isFallbackTransition)return Ye.onStart(()=>zl(wn,Lt.fromStyles)),Ye.onDestroy(()=>gs(wn,Lt.toStyles)),void s.push(Ye);const ox=[];Lt.timelines.forEach(Qn=>{Qn.stretchStartingKeyframe=!0,this.disabledNodes.has(Qn.element)||ox.push(Qn)}),Lt.timelines=ox,r.append(wn,Lt.timelines),u.push({instruction:Lt,player:Ye,element:wn}),Lt.queriedElements.forEach(Qn=>Ui(h,Qn,[]).push(Ye)),Lt.preStyleProps.forEach((Qn,Yl)=>{if(Qn.size){let pr=f.get(Yl);pr||f.set(Yl,pr=new Set),Qn.forEach((wy,iS)=>pr.add(iS))}}),Lt.postStyleProps.forEach((Qn,Yl)=>{let pr=m.get(Yl);pr||m.set(Yl,pr=new Set),Qn.forEach((wy,iS)=>pr.add(iS))})});if(et.length){const ce=[];et.forEach(fe=>{ce.push(function IB(n,e){return new j(3505,!1)}())}),We.forEach(fe=>fe.destroy()),this.reportError(ce)}const Kn=new Map,po=new Map;u.forEach(ce=>{const fe=ce.element;r.has(fe)&&(po.set(fe,fe),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,Kn))}),s.forEach(ce=>{const fe=ce.element;this._getPreviousPlayers(fe,!1,ce.namespaceId,ce.triggerName,null).forEach(Ye=>{Ui(Kn,fe,[]).push(Ye),Ye.destroy()})});const fo=O.filter(ce=>YA(ce,f,m)),go=new Map;WA(go,this.driver,W,m,fs).forEach(ce=>{YA(ce,f,m)&&fo.push(ce)});const Kf=new Map;I.forEach((ce,fe)=>{WA(Kf,this.driver,new Set(ce),f,"!")}),fo.forEach(ce=>{const fe=go.get(ce),we=Kf.get(ce);go.set(ce,new Map([...Array.from(fe?.entries()??[]),...Array.from(we?.entries()??[])]))});const Ql=[],rx=[],sx={};u.forEach(ce=>{const{element:fe,player:we,instruction:Ye}=ce;if(r.has(fe)){if(b.has(fe))return we.onDestroy(()=>gs(fe,Ye.toStyles)),we.disabled=!0,we.overrideTotalTime(Ye.totalTime),void s.push(we);let wn=sx;if(po.size>1){let zi=fe;const _a=[];for(;zi=zi.parentNode;){const Lt=po.get(zi);if(Lt){wn=Lt;break}_a.push(zi)}_a.forEach(Lt=>po.set(Lt,wn))}const ms=this._buildAnimation(we.namespaceId,Ye,Kn,a,Kf,go);if(we.setRealPlayer(ms),wn===sx)Ql.push(we);else{const zi=this.playersByElement.get(wn);zi&&zi.length&&(we.parentPlayer=ma(zi)),s.push(we)}}else zl(fe,Ye.fromStyles),we.onDestroy(()=>gs(fe,Ye.toStyles)),rx.push(we),b.has(fe)&&s.push(we)}),rx.forEach(ce=>{const fe=a.get(ce.element);if(fe&&fe.length){const we=ma(fe);ce.setRealPlayer(we)}}),s.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!ms.destroyed);wn.length?M8(this,fe,wn):this.processLeaveNode(fe)}return O.length=0,Ql.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const fe=this.players.indexOf(ce);this.players.splice(fe,1)}),ce.play()}),Ql}elementContainsData(e,t){let r=!1;const s=t[dr];return s&&s.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,s,a){let u=[];if(t){const h=this.playersByQueriedElement.get(e);h&&(u=h)}else{const h=this.playersByElement.get(e);if(h){const f=!a||a==bf;h.forEach(m=>{m.queued||!f&&m.triggerName!=s||u.push(m)})}}return(r||s)&&(u=u.filter(h=>!(r&&r!=h.namespaceId||s&&s!=h.triggerName))),u}_beforeAnimationBuild(e,t,r){const a=t.element,u=t.isRemovalTransition?void 0:e,h=t.isRemovalTransition?void 0:t.triggerName;for(const f of t.timelines){const m=f.element,b=m!==a,E=Ui(r,m,[]);this._getPreviousPlayers(m,b,u,h,t.toState).forEach(I=>{const M=I.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),I.destroy(),E.push(I)})}zl(a,t.fromStyles)}_buildAnimation(e,t,r,s,a,u){const h=t.triggerName,f=t.element,m=[],b=new Set,E=new Set,D=t.timelines.map(M=>{const R=M.element;b.add(R);const O=R[dr];if(O&&O.removedBeforeQueried)return new mf(M.duration,M.delay);const V=R!==f,W=function P8(n){const e=[];return QA(n,e),e}((r.get(R)||w8).map(Kn=>Kn.getRealPlayer())).filter(Kn=>!!Kn.element&&Kn.element===R),B=a.get(R),re=u.get(R),We=CA(0,this._normalizer,0,M.keyframes,B,re),et=this._buildPlayer(M,We,W);if(M.subTimeline&&s&&E.add(R),V){const Kn=new eS(e,h,R);Kn.setRealPlayer(et),m.push(Kn)}return et});m.forEach(M=>{Ui(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function I8(n,e,t){let r=n.get(e);if(r){if(r.length){const s=r.indexOf(t);r.splice(s,1)}0==r.length&&n.delete(e)}return r}(this.playersByQueriedElement,M.element,M))}),b.forEach(M=>hr(M,MA));const I=ma(D);return I.onDestroy(()=>{b.forEach(M=>Ju(M,MA)),gs(f,t.toStyles)}),E.forEach(M=>{Ui(s,M,[]).push(I)}),I}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new mf(e.duration,e.delay)}}class eS{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new mf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(s=>R0(e,r,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ui(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function by(n){return n&&1===n.nodeType}function GA(n,e){const t=n.style.display;return n.style.display=e??"none",t}function WA(n,e,t,r,s){const a=[];t.forEach(f=>a.push(GA(f)));const u=[];r.forEach((f,m)=>{const b=new Map;f.forEach(E=>{const D=e.computeStyle(m,E,s);b.set(E,D),(!D||0==D.length)&&(m[dr]=S8,u.push(m))}),n.set(m,b)});let h=0;return t.forEach(f=>GA(f,a[h++])),u}function KA(n,e){const t=new Map;if(n.forEach(h=>t.set(h,[])),0==e.length)return t;const s=new Set(e),a=new Map;function u(h){if(!h)return 1;let f=a.get(h);if(f)return f;const m=h.parentNode;return f=t.has(m)?m:s.has(m)?1:u(m),a.set(h,f),f}return e.forEach(h=>{const f=u(h);1!==f&&t.get(f).push(h)}),t}function hr(n,e){n.classList?.add(e)}function Ju(n,e){n.classList?.remove(e)}function M8(n,e,t){ma(t).onDone(()=>n.processLeaveNode(e))}function QA(n,e){for(let t=0;ts.add(a)):e.set(n,r),t.delete(n),!0}class Cy{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new T8(e,t,r),this._timelineEngine=new _8(e,t,r),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(e,t,r,s,a){const u=e+"-"+s;let h=this._triggerCache[u];if(!h){const f=[],b=z0(this._driver,a,f,[]);if(f.length)throw function mB(n,e){return new j(3404,!1)}();h=function f8(n,e,t){return new g8(n,e,t)}(s,b,this._normalizer),this._triggerCache[u]=h}this._transitionEngine.registerTrigger(t,s,h)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,s){this._transitionEngine.insertNode(e,t,r,s)}onRemove(e,t,r,s){this._transitionEngine.removeNode(e,t,s||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,s){if("@"==r.charAt(0)){const[a,u]=EA(r);this._timelineEngine.command(a,t,u,s)}else this._transitionEngine.trigger(e,t,r,s)}listen(e,t,r,s,a){if("@"==r.charAt(0)){const[u,h]=EA(r);return this._timelineEngine.listen(u,t,h,a)}return this._transitionEngine.listen(e,t,r,s,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let k8=(()=>{class n{constructor(t,r,s){this._element=t,this._startStyles=r,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(t);a||n.initialStylesByElement.set(t,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&gs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gs(this._element,this._initialStyles),this._endStyles&&(gs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(zl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zl(this._element,this._endStyles),this._endStyles=null),gs(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function tS(n){let e=null;return n.forEach((t,r)=>{(function O8(n){return"display"===n||"position"===n})(r)&&(e=e||new Map,e.set(r,t))}),e}class ZA{constructor(e,t,r,s){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,s)=>{"offset"!==s&&e.set(s,this._finished?r:FA(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class F8{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return TA(e,t)}getParentElement(e){return L0(e)}query(e,t,r){return IA(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,s,a,u=[]){const f={duration:r,delay:s,fill:0==s?"both":"forwards"};a&&(f.easing=a);const m=new Map,b=u.filter(I=>I instanceof ZA);(function VB(n,e){return 0===n||0===e})(r,s)&&b.forEach(I=>{I.currentSnapshot.forEach((M,R)=>m.set(R,M))});let E=function FB(n){return n.length?n[0]instanceof Map?n:n.map(e=>PA(e)):[]}(t).map(I=>va(I));E=function jB(n,e,t){if(t.size&&e.length){let r=e[0],s=[];if(t.forEach((a,u)=>{r.has(u)||s.push(u),r.set(u,a)}),s.length)for(let a=1;au.set(h,FA(n,h)))}}return e}(e,E,m);const D=function R8(n,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=tS(e[0]),e.length>1&&(r=tS(e[e.length-1]))):e instanceof Map&&(t=tS(e)),t||r?new k8(n,t,r):null}(e,E);return new ZA(e,E,f,D)}}let L8=(()=>{class n extends gA{constructor(t,r){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(r.body,{id:"0",encapsulation:mi.None,styles:[],data:{animation:[]}})}build(t){const r=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(t)?mA(t):t;return XA(this._renderer,null,r,"register",[s]),new B8(r,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(Y(Wo),Y(qt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class B8 extends q3{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new $8(this._id,e,t||{},this._renderer)}}class $8{constructor(e,t,r,s){this.id=e,this.element=t,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return XA(this._renderer,this.element,this.id,e,t)}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 this._renderer.engine.players[+this.id]?.getPosition()??0}}function XA(n,e,t,r,s){return n.setProperty(e,`@@${t}:${r}`,s)}const JA="@.disabled";let V8=(()=>{class n{constructor(t,r,s){this.delegate=t,this.engine=r,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(a,u)=>{const h=u?.parentNode(a);h&&u.removeChild(h,a)}}createRenderer(t,r){const a=this.delegate.createRenderer(t,r);if(!(t&&r&&r.data&&r.data.animation)){let b=this._rendererCache.get(a);return b||(b=new ex("",a,this.engine,()=>this._rendererCache.delete(a)),this._rendererCache.set(a,b)),b}const u=r.id,h=r.id+"-"+this._currentId;this._currentId++,this.engine.register(h,t);const f=b=>{Array.isArray(b)?b.forEach(f):this.engine.registerTrigger(u,h,t,b.name,b)};return r.data.animation.forEach(f),new j8(this,h,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,r,s){t>=0&&tr(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[u,h]=a;u(h)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(t){return new(t||n)(Y(Wo),Y(Cy),Y(bt))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})();class ex{constructor(e,t,r,s){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=s,this.destroyNode=this.delegate.destroyNode?a=>t.destroyNode(a):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,s=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,s){this.delegate.setAttribute(e,t,r,s)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,s){this.delegate.setStyle(e,t,r,s)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){"@"==t.charAt(0)&&t==JA?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class j8 extends ex{constructor(e,t,r,s,a){super(t,r,s,a),this.factory=e,this.namespaceId=t}setProperty(e,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==JA?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if("@"==t.charAt(0)){const s=function U8(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let a=t.slice(1),u="";return"@"!=a.charAt(0)&&([a,u]=function H8(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(a)),this.engine.listen(this.namespaceId,s,a,u,h=>{this.factory.scheduleListenerCallback(h._data||-1,r,h)})}return this.delegate.listen(e,t,r)}}const tx=[{provide:gA,useClass:L8},{provide:Q0,useFactory:function q8(){return new u8}},{provide:Cy,useClass:(()=>{class n extends Cy{constructor(t,r,s,a){super(t.body,r,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(Y(qt),Y(B0),Y(Q0),Y(Fp))},n.\u0275prov=ae({token:n,factory:n.\u0275fac}),n})()},{provide:Wo,useFactory:function G8(n,e,t){return new V8(n,e,t)},deps:[x_,Cy,bt]}],nS=[{provide:B0,useFactory:()=>new F8},{provide:Z1,useValue:"BrowserAnimations"},...tx],nx=[{provide:B0,useClass:AA},{provide:Z1,useValue:"NoopAnimations"},...tx];let W8=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?nx:nS}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ki({type:n}),n.\u0275inj=ot({providers:nS,imports:[Ow]}),n})();class ed{constructor(){this._change=new Ue,this.change$=this._change.asObservable()}open(e){this._change.next(e)}}function K8(n,e){1&n&&l(0)}function Q8(n,e){1&n&&ls(0)}function Y8(n,e){if(1&n&&(g(0,"h1"),$e(1,Q8,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}function Z8(n,e){1&n&&ls(0)}function X8(n,e){if(1&n&&(g(0,"h2"),$e(1,Z8,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}function J8(n,e){1&n&&ls(0)}function e5(n,e){if(1&n&&(g(0,"h3"),$e(1,J8,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}function t5(n,e){1&n&&ls(0)}function n5(n,e){if(1&n&&(g(0,"h4"),$e(1,t5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}function i5(n,e){1&n&&ls(0)}function r5(n,e){if(1&n&&(g(0,"h5"),$e(1,i5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}function s5(n,e){1&n&&ls(0)}function o5(n,e){if(1&n&&(g(0,"h6"),$e(1,s5,1,0,"ng-container",3),_()),2&n){c();const t=Ot(1);F(1),$("ngTemplateOutlet",t)}}ed.\u0275fac=function(e){return new(e||ed)},ed.\u0275prov=ae({token:ed,factory:ed.\u0275fac,providedIn:"root"});class td{constructor(){this.titleLevel="2"}}function l5(n,e){if(1&n&&(g(0,"span",4),v(1),_()),2&n){const t=c();F(1),Ht("(",t.total,")")}}td.\u0275fac=function(e){return new(e||td)},td.\u0275cmp=de({type:td,selectors:[["c3m-h"]],inputs:{titleLevel:"titleLevel"},ngContentSelectors:["*"],decls:9,vars:7,consts:[["content",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"]],template:function(e,t){1&e&&(o(),$e(0,K8,1,0,"ng-template",null,0,x1),Ii(2,1),$e(3,Y8,2,1,"h1",2),$e(4,X8,2,1,"h2",2),$e(5,e5,2,1,"h3",2),$e(6,n5,2,1,"h4",2),$e(7,r5,2,1,"h5",2),$e(8,o5,2,1,"h6",2),ai()),2&e&&(F(2),$("ngSwitch",t.titleLevel),F(1),$("ngSwitchCase","1"),F(1),$("ngSwitchCase","2"),F(1),$("ngSwitchCase","3"),F(1),$("ngSwitchCase","4"),F(1),$("ngSwitchCase","5"),F(1),$("ngSwitchCase","6"))},dependencies:[zT,S_,UT],encapsulation:2});class Gl{constructor(e){this.accordionService=e,this.isOpen=!1,this.titleLevel="2",this.total="",this.unsubscribe=new Ue;const t=this.randomID();this.accID="tab"+t,this.accPanelID="panel"+t}ngOnInit(){this.accordionService.change$.pipe(Kp(this.unsubscribe)).subscribe(e=>{e!=this.accPanelID&&(this.isOpen=!1)})}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}toggleOpen(){this.isOpen=!this.isOpen,this.accordionService.open(this.accPanelID)}randomID(){return Math.round(19999*Math.random()+1)}}Gl.\u0275fac=function(e){return new(e||Gl)(G(ed))},Gl.\u0275cmp=de({type:Gl,selectors:[["c3m-accordion-item"]],inputs:{label:"label",isOpen:"isOpen",titleLevel:"titleLevel",total:"total"},ngContentSelectors:["*"],decls:7,vars:10,consts:[[1,"head",3,"titleLevel"],["type","button",3,"id","click"],["class","total",4,"ngIf"],["role","region",1,"content","editorial",3,"id"],[1,"total"]],template:function(e,t){1&e&&(o(),g(0,"c3m-h",0)(1,"button",1),Fe("click",function(){return t.toggleOpen()}),g(2,"span"),v(3),_(),$e(4,l5,2,1,"span",2),_()(),g(5,"div",3),l(6),_()),2&e&&($("titleLevel",t.titleLevel),F(1),$("id",t.accID),ht("aria-expanded",t.isOpen)("aria-controls",t.accPanelID),F(2),Ml(t.label),F(1),$("ngIf",""!==t.total),F(1),$("@openClose",t.isOpen?"open":"closed")("id",t.accPanelID),ht("aria-hidden",!t.isOpen)("aria-labelledby",t.accID))},dependencies:[lo,td],styles:["[_nghost-%COMP%]{display:block;position:relative;border-bottom:1px solid var(--n-medium);z-index:1}[_nghost-%COMP%]:last-of-type{border:none}[_nghost-%COMP%]:last-child div.content.closed[_ngcontent-%COMP%]{border:none}.head[_ngcontent-%COMP%]{font-size:.9em}div.content[_ngcontent-%COMP%]{overflow:hidden;font-size:.9rem;padding:1rem 1.5rem}.head[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;align-items:center;gap:.55rem;width:100%;height:100%;font-family:var(--stack-b);text-align:left;color:var(--text-inv);background-color:var(--main-dark);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M16 12l-6 6V6z' fill='%23FFF' /%3E%3C/svg%3E\");background-repeat:no-repeat;background-position-y:.65em;border-color:var(--n-dark);padding:1em 1em 1em 1.55rem;border-radius:0;cursor:pointer;z-index:10}.head[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{outline-offset:-4px}.head[_ngcontent-%COMP%] button[aria-expanded=true][_ngcontent-%COMP%]{color:var(--main-dark);background-color:var(--main-u-light);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='%231E2E39' /%3E%3C/svg%3E\")}.total[_ngcontent-%COMP%]{font-family:var(--stack)}@media screen and (min-width: 1000px){.head[_ngcontent-%COMP%]{font-size:.95em}}"],data:{animation:[function G3(n,e){return{type:7,name:n,definitions:e,options:{}}}("openClose",[vA("open",oy({height:fs,opacity:1})),vA("closed",oy({height:0,opacity:0,paddingTop:0,paddingBottom:0})),function K3(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}("open <=> closed",[function W3(n,e=null){return{type:4,styles:e,timings:n}}("225ms cubic-bezier(0.4,0.0,0.2,1)")])])]}});class nd{constructor(){this.titleLevel="2"}ngAfterViewInit(){this.groups.forEach(e=>{e.titleLevel=this.titleLevel})}}nd.\u0275fac=function(e){return new(e||nd)},nd.\u0275cmp=de({type:nd,selectors:[["c3m-accordion"]],contentQueries:function(e,t,r){if(1&e&&Rl(r,Gl,4),2&e){let s;ci(s=ui())&&(t.groups=s)}},inputs:{titleLevel:"titleLevel"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"accordion"]],template:function(e,t){1&e&&(o(),g(0,"div",0),l(1),_())},styles:["div.accordion[_ngcontent-%COMP%]{--focus-color: var(--sec-u-light);background-color:var(--body-bg);box-shadow:#3c40434d 0 1px 2px,#3c404326 0 2px 6px 2px}"]});const d5=function(n){return{adaptable:n}};class Zt{constructor(){this.tabTitle="",this.isDisabled=!1,this.deletable=!1,this.adaptable=!1,this.tabIcon="",this.draggable=!1,this.tabID="",this.panelID="",this.idTab=this.randomID()}ngOnInit(){this.tabID="tab"+this.idTab,this.panelID="panel"+this.idTab}ngAfterViewInit(){document.getElementById("page-body")&&document.querySelectorAll("div.adaptable").length>0&&this.getsExtraHeight()}getsExtraHeight(){const e=document.getElementById("page-body");if(e){const t=e.offsetHeight,r=e.offsetWidth;e.querySelectorAll("div.adaptable").forEach(a=>{a.style.height="calc("+t+"px - 6rem)",a.style.width="calc("+r+"px - 2.5rem)"})}}onResize(){document.getElementById("page-body")&&document.querySelectorAll("div.adaptable").length>0&&this.getsExtraHeight()}randomID(){return Math.round(19999*Math.random()+1)}}Zt.\u0275fac=function(e){return new(e||Zt)},Zt.\u0275cmp=de({type:Zt,selectors:[["c3m-tab-panel"]],hostBindings:function(e,t){1&e&&Fe("resize",function(s){return t.onResize(s)},0,is)},inputs:{tabTitle:"tabTitle",isActive:"isActive",svgName:"svgName",svgTitle:"svgTitle",idTab:"idTab",isDisabled:"isDisabled",deletable:"deletable",adaptable:"adaptable",tabIcon:"tabIcon",draggable:"draggable"},ngContentSelectors:["*"],decls:2,vars:6,consts:[["role","tabpanel","tabindex","0",1,"content",3,"id","ngClass"]],template:function(e,t){1&e&&(o(),g(0,"div",0),l(1),_()),2&e&&($("id",t.panelID)("ngClass",Bu(4,d5,t.adaptable)),ht("aria-hidden",!t.isActive)("aria-labelledby",t.tabID))},dependencies:[Fl],styles:["div.content[_ngcontent-%COMP%]:focus-visible{outline:2px dotted var(--focus-color);outline-offset:-2px}div.content[aria-hidden=true][_ngcontent-%COMP%]{display:none}div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--body-bg);padding:1rem;margin-top:2px;border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}.block-style[_nghost-%COMP%] > div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--n-light);padding:1rem;margin-top:0}"]});const p5=["tabs"];function f5(n,e){if(1&n){const t=qn();g(0,"p",5)(1,"button",6),Fe("click",function(){return Tt(t),ft(c().scroll2Right())}),qe(),g(2,"svg",7)(3,"title"),v(4,"Scroll tabs to left"),_(),ne(5,"use",8),_(),it(),Ii(6),no(7,9),ai(),_(),g(8,"button",10),Fe("click",function(){return Tt(t),ft(c().scroll2Left())}),qe(),g(9,"svg",7)(10,"title"),v(11,"Scroll tabs to left"),_(),ne(12,"use",11),_(),it(),Ii(13),no(14,12),ai(),_()()}if(2&n){const t=c();F(1),$("disabled",!t.isScrollRight),F(7),$("disabled",!t.isScrollLeft)}}function g5(n,e){if(1&n&&(Ii(0),qe(),g(1,"svg",18)(2,"title"),v(3),_(),ne(4,"use"),_(),ai()),2&n){const t=c().$implicit;F(3),Ml(t.svgTitle),F(1),ht("href","./assets/img/sprite.svg#"+t.svgName)}}function m5(n,e){if(1&n){const t=qn();g(0,"button",19),Fe("click",function(s){Tt(t);const a=c().index;return ft(c().deleteTab(s,a))}),qe(),g(1,"svg",20),ne(2,"use",21),_()()}if(2&n){const t=c().$implicit;ht("tabindex",c().setTabindex(t))}}const v5=function(n,e,t){return{active:n,new:e,draggable:t}},_5=function(n,e){return{deletable:n,"with-icon":e}};function y5(n,e){if(1&n){const t=qn();g(0,"li",13,14)(2,"button",15),Fe("click",function(){const a=Tt(t).$implicit;return ft(c().selectTab(a))})("keydown",function(s){const u=Tt(t).index;return ft(c().selectNextTab(s,u))}),$e(3,g5,5,2,"ng-container",16),v(4),_(),$e(5,m5,3,1,"button",17),_()}if(2&n){const t=e.$implicit,r=c();$("cdkDragDisabled",!t.draggable)("ngClass",BE(13,v5,t.isActive,r.hasNew,t.draggable)),F(2),function bD(n,e,t){Ir(si,us,ta(z(),n,e,t),!0)}("tabber ",t.tabIcon,""),$("id",t.tabID)("ngClass",LE(17,_5,t.deletable,null!=t.svgName)),ht("tabindex",r.setTabindex(t))("aria-controls",t.panelID)("aria-selected",t.isActive),F(1),$("ngIf",null!=t.svgName),F(1),Ht(" ",t.tabTitle," "),F(1),$("ngIf",t.deletable)}}const b5=function(n){return{"handle-scroll":n}},C5=function(n){return{hasScroll:n}};class gn{constructor(e,t){this.cdr=e,this.el=t,this.hasNew=!1,this.label="",this.tabIcon="",this.handleScroll=!1,this.activeTab="",this.changeTab=new gt,this.closeTab=new gt,this.tabs=[],this.TabComponentBis=Zt,this.hasScroll=!1,this.isScrollLeft=!1,this.isScrollRight=!1,this.startIndexActiv=0}ngAfterViewInit(){this.stageScroll(),this.cdr.detectChanges()}ngAfterContentInit(){this.tabs=this.tabComponents.toArray()}onResize(){this.stageScroll(),this.cdr.detectChanges()}stageScroll(){const e=this.el.nativeElement,t=e.querySelector("ul");e.offsetWidth=t.scrollWidth?this.isScrollLeft=!1:this.isScrollRight=!1):(this.hasScroll=!1,this.isScrollRight=!1,this.isScrollLeft=!1)}scroll2Left(){const e=this.el.nativeElement.querySelector("ul"),t=e.scrollWidth-e.offsetWidth;e.scrollLeft+=80,e.scrollLeft==t?(this.isScrollRight=!0,this.isScrollLeft=!1):(this.isScrollRight=!0,this.isScrollLeft=!0)}scroll2Right(){const e=this.el.nativeElement.querySelector("ul");e.scrollLeft-=80,0==e.scrollLeft?(this.isScrollRight=!1,this.isScrollLeft=!0):(this.isScrollRight=!0,this.isScrollLeft=!0)}setTabindex(e){return!0===e.isActive?"0":"-1"}selectTab(e){this.tabs.forEach(t=>{t.isActive=!1}),e.isActive=!0}selectNextTab(e,t){let r;r="ArrowLeft"===e.code?t>0?t-1:this.tabs.length-1:"ArrowRight"===e.code?t=0&&(this.selectTab(this.tabs[r]),this.tabsElement.toArray()[r].nativeElement.querySelector("button").focus()),this.changeTab.emit(t)}deleteTab(e,t){this.deletedTabIndex=t;const r=this.tabsElement.toArray()[t].nativeElement,s=r.parentNode.querySelectorAll("li"),a=r.querySelector("button.tabber").getAttribute("aria-controls"),u=document.getElementById(a),h=Array.from(s).indexOf(r);this.tabs.splice(t,1),r.getAttribute("class").includes("active")&&(t-1>=0&&this.selectTab(this.tabs[t-1]),0==h&&this.selectTab(this.tabs[t])),r.remove(),u&&u.remove(),this.closeTab.emit(t),this.stageScroll()}onDrop(e){e.previousContainer===e.container?G2(e.container.data,e.previousIndex,e.currentIndex):function tF(n,e,t,r){const s=Zp(t,n.length-1),a=Zp(r,e.length);n.length&&e.splice(a,0,n.splice(s,1)[0])}(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.changeTab.emit(e.currentIndex)}}function w5(n,e){1&n&&(qe(),g(0,"svg",3)(1,"title",4),no(2,5),_(),ne(3,"use",6),_())}function S5(n,e){1&n&&(qe(),g(0,"svg",3)(1,"title",4),no(2,7),_(),ne(3,"use",8),_())}function D5(n,e){1&n&&(qe(),g(0,"svg",3)(1,"title",4),no(2,9),_(),ne(3,"use",10),_())}gn.\u0275fac=function(e){return new(e||gn)(G(la),G(st))},gn.\u0275cmp=de({type:gn,selectors:[["c3m-tabs"]],contentQueries:function(e,t,r){if(1&e&&Rl(r,Zt,4),2&e){let s;ci(s=ui())&&(t.tabComponents=s)}},viewQuery:function(e,t){if(1&e&&io(p5,5),2&e){let r;ci(r=ui())&&(t.tabsElement=r)}},hostBindings:function(e,t){1&e&&Fe("resize",function(s){return t.onResize(s)},0,is)},inputs:{isDisabled:"isDisabled",hasNew:"hasNew",label:"label",tabIcon:"tabIcon",handleScroll:"handleScroll"},outputs:{activeTab:"activeTab",deletedTabIndex:"deletedTabIndex",changeTab:"changeTab",closeTab:"closeTab"},ngContentSelectors:["*"],decls:6,vars:10,consts:function(){let n,e,t;return n=$localize`Scroll tabs to right`,e=$localize`Scroll tabs to left`,t=$localize`Close tab`,[[1,"tabsContainer",3,"ngClass"],["class","scroll-bts",4,"ngIf"],["role","tablist","cdkDropList","","cdkDropListOrientation","horizontal",3,"ngClass","cdkDropListData","cdkDropListDropped"],["chipList","cdkDropList"],["cdkDrag","","role","presentation",3,"cdkDragDisabled","ngClass",4,"ngFor","ngForOf"],[1,"scroll-bts"],[1,"scroll","toRight",3,"disabled","click"],["role","img","width","24","height","24","viewBox","0 0 24 24"],["href","./assets/img/sprite.svg#bt-scrollRight"],n,[1,"scroll","toLeft",3,"disabled","click"],["href","./assets/img/sprite.svg#bt-scrollLeft"],e,["cdkDrag","","role","presentation",3,"cdkDragDisabled","ngClass"],["tabs",""],["role","tab",3,"id","ngClass","click","keydown"],[4,"ngIf"],["class","delete","aria-label",t,3,"click",4,"ngIf"],["role","img","width","24","height","24","viewBox","0 0 24 24","preserveAspectRatio","xMidYMid meet"],["aria-label",t,1,"delete",3,"click"],["role","img","width","18","height","18","viewBox","0 0 18 18","preserveAspectRatio","xMidYMid meet"],["href","./assets/img/sprite.svg#bt-delete-tab"]]},template:function(e,t){1&e&&(o(),g(0,"div",0),$e(1,f5,15,2,"p",1),g(2,"ul",2,3),Fe("cdkDropListDropped",function(s){return t.onDrop(s)}),$e(4,y5,6,20,"li",4),_(),l(5),_()),2&e&&($("ngClass",Bu(6,b5,t.hasScroll&&t.handleScroll)),F(1),$("ngIf",t.hasScroll&&t.handleScroll),F(1),$("ngClass",Bu(8,C5,t.handleScroll&&t.hasScroll))("cdkDropListData",t.tabs),ht("aria-label",t.label),F(2),$("ngForOf",t.tabs))},dependencies:[Fl,w_,lo,J2,nI],styles:['div.tabsContainer[_ngcontent-%COMP%]{position:relative;width:100%}ul[role=tablist][_ngcontent-%COMP%]{display:flex;overflow-x:auto;gap:.25rem;list-style-type:none;border-bottom:2px solid var(--main-color)}ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative}button.tabber[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;gap:.5rem;width:100%;height:100%;line-height:1;font-family:var(--stack-b);white-space:nowrap;text-align:left;color:var(--body-text);background-color:var(--n-light);padding:.5em 1em;border-color:var(--main-color);border-radius:0;border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);z-index:2}button.tabber[_ngcontent-%COMP%]:hover{color:var(--text-inv);background-color:var(--hot-color)}button.tabber[aria-selected=true][_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--main-color);border-color:var(--main-color)}button.tabber[aria-selected=true][_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--text-inv)}button.delete[_ngcontent-%COMP%]{position:absolute;width:1em;height:1em;top:.5em;right:.8em;text-align:center;background-color:#fff0;padding:0;z-index:2}button.delete[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:initial}button.tabber.deletable[_ngcontent-%COMP%]{padding-right:2.5em}button.tabber[aria-selected=true][_ngcontent-%COMP%] + button.delete[_ngcontent-%COMP%]{display:block}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{position:relative;border:none}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:100%;height:1px;bottom:3px;background-color:var(--n-medium);z-index:3}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);padding:.5em .8em;border:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:4px solid var(--body-bg)}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:hover, .discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[aria-selected=true][_ngcontent-%COMP%]{background-color:var(--body-bg);border-color:var(--main-color)}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:focus-visible{outline-offset:-3px}.discrete[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] c3m-tab-panel[_ngcontent-%COMP%] > div.content[aria-hidden=false][_ngcontent-%COMP%]{background-color:var(--body-bg);padding:1rem 0 0}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{position:relative;border:none}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);padding:.5em .8em;border:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:4px solid var(--body-bg)}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:hover, .block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[aria-selected=true][_ngcontent-%COMP%]{background-color:var(--n-light);border-color:var(--n-light)}.block-style[_nghost-%COMP%] > div.tabsContainer[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.tabber[_ngcontent-%COMP%]:focus-visible{outline-offset:-3px}button.with-icon[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding-left:.75em}button.with-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--body-text)}button[aria-selected=true].with-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], button.with-icon[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--text-inv)}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;list-style-type:none;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;opacity:.5}.cdk-drag-placeholder[_ngcontent-%COMP%]{cursor:move;opacity:0}li.draggable[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active, .cdk-drop-list-dragging[_ngcontent-%COMP%]{cursor:move}.cdk-drag-animating[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] .cdk-drag[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.list.cdk-drop-dragging[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}ul[role=tablist].hasScroll[_ngcontent-%COMP%]{margin-right:80px;-ms-overflow-style:thin;scrollbar-width:thin;scroll-behavior:smooth}ul[role=tablist].hasScroll[_ngcontent-%COMP%]::-webkit-scrollbar{height:5px;background-color:#eee}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]{-ms-overflow-style:thin;scrollbar-width:thin}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar{height:5px}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:#eee}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > ul[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ccc}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%]{position:absolute;display:flex;width:74px;height:36px;top:0;right:0;z-index:10}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;overflow:hidden;white-space:nowrap;background-color:var(--body-bg);padding:0;border-radius:0;border-left:1px solid var(--n-medium);z-index:10}div.tabsContainer.handle-scroll[_ngcontent-%COMP%] > p.scroll-bts[_ngcontent-%COMP%] button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{flex:0 0 37px}'],changeDetection:0});const T5=function(n,e,t){return{info:n,error:e,warning:t}};class Fn{constructor(){this.isError=!1,this.isWarning=!1}}Fn.\u0275fac=function(e){return new(e||Fn)},Fn.\u0275cmp=de({type:Fn,selectors:[["c3m-message-block"]],inputs:{isError:"isError",isWarning:"isWarning"},ngContentSelectors:["*"],decls:6,vars:8,consts:function(){let n,e,t;return n=$localize`Information`,e=$localize`Error`,t=$localize`Alert`,[[1,"message","editorial",3,"ngClass"],["role","img","width","24","height","24","aria-labelledby","infoLabel",4,"ngIf"],[1,"content"],["role","img","width","24","height","24","aria-labelledby","infoLabel"],["id","infoLabel"],n,["href","./assets/img/sprite.svg#info"],e,["href","./assets/img/sprite.svg#error"],t,["href","./assets/img/sprite.svg#warning"]]},template:function(e,t){1&e&&(o(),g(0,"div",0),$e(1,w5,4,0,"svg",1),$e(2,S5,4,0,"svg",1),$e(3,D5,4,0,"svg",1),g(4,"div",2),l(5),_()()),2&e&&($("ngClass",BE(4,T5,!t.isError,t.isError,t.isWarning)),F(1),$("ngIf",!t.isError&&!t.isWarning),F(1),$("ngIf",t.isError),F(1),$("ngIf",t.isWarning))},dependencies:[Fl,lo],styles:["div.message[_ngcontent-%COMP%]{position:relative;display:flex;gap:1rem;background-color:var(--sec-u-light);padding:1.5rem;margin-bottom:1rem;z-index:1}div.error[_ngcontent-%COMP%]{color:var(--n-s-dark);background-color:var(--hot-u-light)}div.warning[_ngcontent-%COMP%]{background-color:var(--hot-sec-light)}div.content[_ngcontent-%COMP%]{max-width:45em;line-height:1.45}svg[_ngcontent-%COMP%]{flex:0 0 24px;transform:scale(1.5);z-index:1}div.info[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--sec-color)}div.error[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], div.warning[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--alert-color)}"]});class id{constructor(e,t){this.router=e,this.element=t,this.subscription=this.router.events.pipe(ds(r=>r instanceof ga)).subscribe(r=>{if(r.url.includes("#"))return;const s=t.nativeElement;t&&(s.setAttribute("tabindex","-1"),s.focus())})}ngOnDestroy(){this.subscription.unsubscribe()}}id.\u0275fac=function(e){return new(e||id)(G(Pi),G(st,1))},id.\u0275dir=pt({type:id,selectors:[["","c3mFocusOnPageChange",""]]});class rd{constructor(){this.summary="",this.isOpen=!1,this.total="",this.panelId=""}ngOnInit(){this.randomIdValue=this.randomID(),this.panelId="colpanel-"+this.randomIdValue}randomID(){return Math.round(19999*Math.random()+1)}}rd.\u0275fac=function(e){return new(e||rd)},rd.\u0275cmp=de({type:rd,selectors:[["c3m-collapsible"]],inputs:{summary:"summary",isOpen:"isOpen",total:"total"},ngContentSelectors:["*"],decls:7,vars:4,consts:[[3,"id"],[1,"content"]],template:function(e,t){1&e&&(o(),g(0,"details",0)(1,"summary"),v(2),g(3,"span"),v(4),_()(),g(5,"div",1),l(6),_()()),2&e&&($("id",t.panelId),ht("open",t.isOpen?"open":null),F(2),Ht(" ",t.summary," "),F(2),Ht("(",t.total,")"))},styles:["details[_ngcontent-%COMP%]{position:relative;background-color:var(--n-light);margin-bottom:1rem;box-shadow:#3c40434d 0 1px 2px,#3c404326 0 2px 6px 2px}details[open][_ngcontent-%COMP%]{background-color:var(--body-bg)}summary[_ngcontent-%COMP%]{font:.9em/1 var(--stack-b);color:var(--text-inv);background-color:var(--main-dark);padding:1rem;cursor:pointer}summary[_ngcontent-%COMP%]:focus{outline:none}summary[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--stack)}div.content[_ngcontent-%COMP%]{font-size:.9rem;padding:1rem 1rem 1rem 2rem}@media screen and (min-width: 1000px){summary[_ngcontent-%COMP%]{font-size:.95em}}"]});class sd{constructor(e){this.element=e}set c3mAutofocus(e){const t=this.element.nativeElement;setTimeout(()=>{t.focus()},0)}}sd.\u0275fac=function(e){return new(e||sd)(G(st))},sd.\u0275dir=pt({type:sd,selectors:[["","c3mAutofocus",""]],inputs:{c3mAutofocus:"c3mAutofocus"}});class od{constructor(e){this.el=e,this.isOpen=!1,this.modalTitle="",this.theId=this.randomID(),this.dialogTitle="modalTitle"+this.theId,this.dialogDescription="modalDesc"+this.theId}handleKeyEvents(e){const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=t[t.length-1],s=t[0];if("Escape"===e.key)return this.isOpen=!1,this.buttonTrigger.focus(),void e.stopPropagation();("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===s&&(r.focus(),e.preventDefault()):document.activeElement===r&&(s.focus(),e.preventDefault()))}ToggleOpen(){this.isOpen?this.isOpen&&(this.isOpen=!1,this.buttonTrigger.focus()):(this.isOpen=!0,this.buttonTrigger=document.activeElement)}randomID(){return Math.round(19999*Math.random()+1)}}od.\u0275fac=function(e){return new(e||od)(G(st))},od.\u0275cmp=de({type:od,selectors:[["c3m-modal"]],inputs:{isOpen:"isOpen",modalTitle:"modalTitle"},ngContentSelectors:["*"],decls:15,vars:6,consts:function(){let n;return n=$localize`Close modal`,[["role","dialog","aria-modal","true",1,"modal",3,"keydown"],["dialogElement",""],[1,"overlay",3,"click"],[1,"modal-body"],[1,"modal-title",3,"id"],["type","button","aria-label","Close modal",1,"modal-close",3,"c3mAutofocus","click"],["role","img","width","25","height","25"],n,["href","./assets/img/sprite.svg#bt-close"],[1,"content",3,"id"]]},template:function(e,t){1&e&&(o(),g(0,"div",0,1),Fe("keydown",function(s){return t.handleKeyEvents(s)}),g(2,"div",2),Fe("click",function(){return t.ToggleOpen()}),_(),g(3,"div",3)(4,"header")(5,"h2",4),v(6),_(),g(7,"p")(8,"button",5),Fe("click",function(){return t.ToggleOpen()}),qe(),g(9,"svg",6)(10,"title"),no(11,7),_(),ne(12,"use",8),_()()()(),it(),g(13,"div",9),l(14),_()()()),2&e&&(ht("aria-hidden",!t.isOpen)("aria-labelledby",t.dialogTitle),F(5),$("id",t.dialogTitle),F(1),Ht(" ",t.modalTitle," "),F(2),$("c3mAutofocus",t.isOpen),F(5),$("id",t.dialogDescription))},dependencies:[sd],styles:["div.modal[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}header[_ngcontent-%COMP%]{margin-bottom:2vw}h2[_ngcontent-%COMP%]{font:1.2em var(--stack-b);line-height:1.2;margin-right:5em}div.modal[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.modal[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000b3}div.modal-body[_ngcontent-%COMP%]{box-sizing:border-box;position:absolute;width:90%;max-width:800px;height:90vh;left:0;right:0;top:5vh;background-color:var(--body-bg);padding:1rem 1.5rem 1.5rem;margin:0 auto;border-radius:var(--radius);z-index:1001}div.content[_ngcontent-%COMP%]{box-sizing:border-box;overflow-y:auto;height:85%}button.modal-close[_ngcontent-%COMP%]{position:absolute;top:1rem;right:1rem;color:var(--n-dark);background-color:var(--body-bg);padding:0}.simple-dialog[_nghost-%COMP%] div.modal-body[_ngcontent-%COMP%]{max-width:500px;height:auto;top:20%}.simple-dialog[_nghost-%COMP%] div.content[_ngcontent-%COMP%]{overflow-y:visible;height:auto}.simple-dialog[_nghost-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:1rem}@media screen and (min-width: 1000px){h2[_ngcontent-%COMP%]{font-size:1.4em}}"]});class ad{openModal(){this.modal.ToggleOpen()}}ad.\u0275fac=function(e){return new(e||ad)},ad.\u0275cmp=de({type:ad,selectors:[["c3m-modal-trigger"]],inputs:{modal:"modal",disabled:"disabled"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["type","button",1,"modal-trigger",3,"disabled","click"]],template:function(e,t){1&e&&(o(),g(0,"button",0),Fe("click",function(){return t.openModal()}),l(1),_()),2&e&&$("disabled",t.disabled)},styles:[".icon-bt[_nghost-%COMP%] button.modal-trigger[_ngcontent-%COMP%]{width:37px;height:37px;padding:0}"]});class ld{constructor(e){this.el=e,this.isOpen=!1,this.sbTitle="Confirmation",this.theId=this.randomID(),this.dialogTitle="sbTitle"+this.theId,this.dialogDescription="sbDesc"+this.theId}handleKeyEvents(e){const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=t[t.length-1],s=t[0];("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===s&&(r.focus(),e.preventDefault()):document.activeElement===r&&(s.focus(),e.preventDefault()))}ToggleOpen(e){if(this.isOpen)this.isOpen&&(this.isOpen=!1,e.target.focus());else{const t=this.el.nativeElement.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');this.isOpen=!0,setTimeout(function(){t[0].focus()},500)}}randomID(){return Math.round(19999*Math.random()+1)}}ld.\u0275fac=function(e){return new(e||ld)(G(st))},ld.\u0275cmp=de({type:ld,selectors:[["c3m-snackbar"]],inputs:{isOpen:"isOpen",sbTitle:"sbTitle"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["role","alertdialog","aria-modal","true",1,"snackbar",3,"keydown"],["dialogElement",""],[1,"overlay"],[1,"sb-body"],[1,"sr-only",3,"id"],[1,"content",3,"id"]],template:function(e,t){1&e&&(o(),g(0,"div",0,1),Fe("keydown",function(s){return t.handleKeyEvents(s)}),ne(2,"div",2),g(3,"div",3)(4,"h2",4),v(5),_(),g(6,"div",5),l(7),_()()()),2&e&&(ht("aria-hidden",!t.isOpen)("aria-labelledby",t.dialogTitle)("aria-describedby",t.dialogDescription),F(4),$("id",t.dialogTitle),F(1),Ml(t.sbTitle),F(1),$("id",t.dialogDescription))},styles:["@keyframes _ngcontent-%COMP%_slideSb{0%{bottom:-15vh}to{bottom:0}}div.snackbar[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}header[_ngcontent-%COMP%]{margin-bottom:2vw}h2[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.2;margin-bottom:1rem}div.snackbar[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.snackbar[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000b3;z-index:1000}div.sb-body[_ngcontent-%COMP%]{overflow:hidden;box-sizing:border-box;position:absolute;width:calc(100% - 2rem);left:1rem;bottom:-15vh;color:var(--text-inv);background-color:var(--main-dark);padding:1rem 1.5rem;margin:0 auto;border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);box-shadow:0 -4px 5px #00000040;z-index:1001;animation:_ngcontent-%COMP%_slideSb forwards .2s;z-index:1010}div.sb-body[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem}div.content[_ngcontent-%COMP%] .buttons-bar{flex-direction:row;margin:0}"]});const N5=function(n,e){return{active:n,inactive:e}};class cd{constructor(){this.active=!1,this.toastText="",this.delay=6500,this.role="status",this.styleClass="slide-to-bottom",this.idToastNum=this.randomID()}ngOnInit(){this.toastId="toast"+this.idToastNum}keyEvent(e){if("Escape"===e.key)return this.closeToast(e),void e.stopPropagation()}toggleToast(e){!1===this.active&&(this.active=!0,this.delay>0&&setTimeout(()=>{this.closeToast(e)},this.delay))}closeToast(e){this.active=!1,setTimeout(()=>{e.target.focus()},100)}randomID(){return Math.round(19999*Math.random()+1)}}function R5(n,e){if(1&n&&(g(0,"a",4),v(1),_()),2&n){const t=c();$("routerLink",t.linkUrl),F(1),Ht(" ",t.label," ")}}function k5(n,e){if(1&n&&(g(0,"span"),v(1),_()),2&n){const t=c();F(1),Ht(" ",t.label," ")}}function O5(n,e){if(1&n){const t=qn();g(0,"button",5),Fe("click",function(){return Tt(t),ft(c().deleteChip())}),qe(),g(1,"svg",6),ne(2,"use",7),_(),it(),Ii(3),no(4,8),ai(),v(5),_()}if(2&n){const t=c();$("disabled",t.disabled),ht("aria-label","Delete chip "+t.label),F(5),Ht(" ",t.label," ")}}cd.\u0275fac=function(e){return new(e||cd)},cd.\u0275cmp=de({type:cd,selectors:[["c3m-toast"]],hostBindings:function(e,t){1&e&&Fe("keydown",function(s){return t.keyEvent(s)},0,is)},inputs:{toastText:"toastText",delay:"delay",role:"role",disabled:"disabled",styleClass:"styleClass"},decls:9,vars:10,consts:function(){let n;return n=$localize`Close toast`,[[3,"ngClass"],[1,"content"],["aria-hidden","true",1,"close"],["type","button",1,"single",3,"disabled","click"],["role","img","width","25","height","25","aria-hidden","true",1,"icon-bts"],["href","./assets/img/sprite.svg#bt-close"],n]},template:function(e,t){1&e&&(g(0,"p",0)(1,"span",1),v(2),_(),g(3,"span",2)(4,"button",3),Fe("click",function(s){return t.closeToast(s)}),qe(),g(5,"svg",4),ne(6,"use",5),_(),it(),Ii(7),no(8,6),ai(),_()()()),2&e&&(function sD(n){Ir(si,us,n,!0)}(t.styleClass),$("ngClass",LE(7,N5,t.active,!t.active)),ht("role",t.role),F(2),Ht(" ",t.toastText," "),F(2),$("disabled",t.disabled))},dependencies:[Fl],styles:["@keyframes _ngcontent-%COMP%_slideToTop{0%{bottom:-50em;opacity:0}80%{bottom:2rem;transition:bottom .5s cubic-bezier(.43,1.18,.99,.98);opacity:.5}to{bottom:2rem;transition:bottom .5s cubic-bezier(.43,1.18,.99,.98);opacity:1}}@keyframes _ngcontent-%COMP%_slideToBottom{0%{top:-50em;opacity:0}80%{top:2rem;transition:top .5s cubic-bezier(.43,1.18,.99,.98);opacity:.5}to{top:2rem;transition:top .5s cubic-bezier(.43,1.18,.99,.98);opacity:1}}.slide-to-top[_ngcontent-%COMP%]{bottom:-50em}.slide-to-top.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideToTop 1s forwards}.slide-to-bottom[_ngcontent-%COMP%], .status-ok[_ngcontent-%COMP%]{top:-50em}.slide-to-bottom.active[_ngcontent-%COMP%], .status-ok.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideToBottom 1s forwards}svg[_ngcontent-%COMP%] *{fill:#fff}p[_ngcontent-%COMP%]{position:fixed;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:90%;max-width:31em;right:5%;color:var(--body-text);background-color:var(--sec-light);padding:.5rem 1rem;border-radius:var(--radius);box-shadow:0 3px 8px #00000080;z-index:5000}p[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:none}p.active[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block}span.close[_ngcontent-%COMP%]{display:none;width:25px;height:25px;margin-left:2rem}p.active[_ngcontent-%COMP%] span.close[_ngcontent-%COMP%]{display:block}button.single[_ngcontent-%COMP%]{overflow:hidden;width:25px;height:25px;background-color:#9b656500;padding:0}p[role=alert][_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--alert-color)}.normal[_nghost-%COMP%] [role=status][_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--main-light)}[_nghost-%COMP%] [role=status][_ngcontent-%COMP%] svg[_ngcontent-%COMP%] *{fill:var(--body-text)}"]});class ud{constructor(e,t){this.elementRef=e,this.renderer=t,this.label="",this.deletable=!0,this.disabled=!1,this.linkUrl="",this.chipIdNum=this.randomID()}ngOnInit(){this.chipId="chip"+this.chipIdNum}deleteChip(){this.renderer.removeChild(this.elementRef.nativeElement.parentNode,this.elementRef.nativeElement)}randomID(){return Math.round(19999*Math.random()+1)}}function F5(n,e){if(1&n&&(Ii(0),v(1),ai()),2&n){const t=c();F(1),Ht(" ",t.label," ")}}function L5(n,e){if(1&n&&(Ii(0),qe(),g(1,"svg",7),ne(2,"use"),_(),ai()),2&n){const t=c();F(2),ht("href","./assets/img/sprite.svg#"+t.imgSrc)}}ud.\u0275fac=function(e){return new(e||ud)(G(st),G(Ko))},ud.\u0275cmp=de({type:ud,selectors:[["c3m-chip"]],inputs:{label:"label",deletable:"deletable",disabled:"disabled",linkUrl:"linkUrl"},decls:4,vars:3,consts:function(){let n;return n=$localize`Delete`,[[1,"chip"],[3,"routerLink",4,"ngIf"],[4,"ngIf"],["type","button",3,"disabled","click",4,"ngIf"],[3,"routerLink"],["type","button",3,"disabled","click"],["role","img","width","25","height","25","aria-hidden","true"],["href","./assets/img/sprite.svg#bt-close"],n]},template:function(e,t){1&e&&(g(0,"span",0),$e(1,R5,2,2,"a",1),$e(2,k5,2,1,"span",2),$e(3,O5,6,3,"button",3),_()),2&e&&(F(1),$("ngIf",""!==t.linkUrl),F(1),$("ngIf",""===t.linkUrl),F(1),$("ngIf",t.deletable))},dependencies:[lo,ps],styles:[".chip[_ngcontent-%COMP%]{display:inline-flex;justify-content:space-between;align-items:center;gap:.5em;white-space:nowrap;line-height:1.75;font-size:.8rem;color:var(--main-dark);background-color:var(--n-light);padding:.25em .5em .15em;margin:.25rem;border:1px solid var(--n-medium);border-radius:calc(var(--radius) / 1.5)}.whole[_nghost-%COMP%] .chip[_ngcontent-%COMP%]{display:flex}button[_ngcontent-%COMP%]{position:relative;overflow:hidden;top:-1px;left:4px;width:25px;height:23px;background-color:#fff0;padding:0}a[_ngcontent-%COMP%], span[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-.1em}"]});const B5=function(n){return{"image-dd":n}};class dd{constructor(e){this.elementRef=e,this.isOpen=!1,this.label="",this.ariaLabel="",this.imgSrc="",this.imgAlt=""}toggleOpen(){this.isOpen=!this.isOpen}close(){setTimeout(()=>{this.elementRef.nativeElement.querySelector(":focus")||(this.elementRef.nativeElement.removeAttribute("open"),this.isOpen=!1)},100)}escClose(e){"Escape"===e.code&&(this.isOpen=!1,this.elementRef.nativeElement.querySelector("button.control").focus(),e.stopPropagation())}}dd.\u0275fac=function(e){return new(e||dd)(G(st))},dd.\u0275cmp=de({type:dd,selectors:[["c3m-dropdown"]],inputs:{isOpen:"isOpen",label:"label",ariaLabel:"ariaLabel",disabled:"disabled",imgSrc:"imgSrc",imgAlt:"imgAlt"},ngContentSelectors:["*"],decls:10,vars:9,consts:[[1,"dropdown",3,"focusout","keydown"],["type","button",1,"control",3,"ngClass","disabled","click","focusout"],[4,"ngIf"],["role","img","width","15","height","9","aria-hidden","true",1,"control","arrow"],["href","./assets/img/sprite.svg#pic-arrow"],["role","img","width","15","height","15",1,"control","kebab"],["href","./assets/img/sprite.svg#pic-kebab"],["role","img","width","24","height","24"]],template:function(e,t){1&e&&(o(),g(0,"div",0),Fe("focusout",function(){return t.close()})("keydown",function(s){return t.escClose(s)}),g(1,"button",1),Fe("click",function(){return t.toggleOpen()})("focusout",function(){return t.close()}),$e(2,F5,2,1,"ng-container",2),$e(3,L5,3,1,"ng-container",2),qe(),g(4,"svg",3),ne(5,"use",4),_(),g(6,"svg",5),ne(7,"use",6),_()(),it(),g(8,"ul"),l(9),_()()),2&e&&(F(1),$("ngClass",Bu(7,B5,""!==t.imgSrc))("disabled",t.disabled),ht("aria-label",""===t.imgSrc?t.ariaLabel:t.imgAlt)("aria-expanded",t.isOpen),F(1),$("ngIf",""===t.imgSrc),F(1),$("ngIf",""!==t.imgSrc),F(5),ht("aria-hidden",!t.isOpen))},dependencies:[Fl,lo],styles:["div.dropdown[_ngcontent-%COMP%]{display:inline-block;position:relative}div.dropdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:.95rem}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%]{padding:.5em .75em .5em .5em}div.dropdown[_ngcontent-%COMP%] button.control[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;margin-left:.5em}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}div.dropdown[_ngcontent-%COMP%] button.control.image-dd[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:37px;height:36px;border-radius:var(--radius)}.top-level[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] button.control[_ngcontent-%COMP%]{color:var(--body-text);background-color:var(--body-bg);border-color:var(--body-bg)}div.dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{box-sizing:border-box;display:none;position:absolute;overflow:hidden;width:100%;max-width:15em;min-width:10em;height:1px;list-style-type:none;color:var(--n-dark);background-color:var(--body-bg);padding:.5em;border-radius:var(--radius);box-shadow:0 3px 5px #0000004d;opacity:0;transition:all .3s;z-index:1010}div.dropdown[_ngcontent-%COMP%] button.control[aria-expanded=true][_ngcontent-%COMP%] + ul[_ngcontent-%COMP%]{display:block;height:auto;opacity:1;transition:all .3s}button.control[aria-expanded=true][_ngcontent-%COMP%] svg.control[_ngcontent-%COMP%]{transform:rotate(180deg) scale(75%)}svg.arrow[_ngcontent-%COMP%]{display:inline-block;transform:scale(75%);vertical-align:baseline}svg.kebab[_ngcontent-%COMP%]{display:none}.others[_nghost-%COMP%] button.control[_ngcontent-%COMP%]{padding:.625em}.others[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] svg.arrow[_ngcontent-%COMP%]{display:none}.others[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] svg.kebab[_ngcontent-%COMP%]{display:inline-block;margin:0}div.dropdown[_ngcontent-%COMP%] li button, div.dropdown[_ngcontent-%COMP%] li a{font-family:var(--stack);color:var(--body-text);background-color:var(--body-bg);padding:.5em;border-radius:var(--radius)}div.dropdown[_ngcontent-%COMP%] li button:hover, div.dropdown[_ngcontent-%COMP%] li a:hover{background-color:var(--hot-u-light)}div.dropdown[_ngcontent-%COMP%] li button:focus, div.dropdown[_ngcontent-%COMP%] li a:focus{background-color:var(--hot-u-light)}div.dropdown[_ngcontent-%COMP%] li button{width:100%;text-align:left}div.dropdown[_ngcontent-%COMP%] li a{display:block}.to-left[_nghost-%COMP%] div.dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{right:0;left:auto}@media screen and (min-width: 1000px){h2[_ngcontent-%COMP%]{font-size:1.4em}}"]});class hd{}hd.\u0275fac=function(e){return new(e||hd)},hd.\u0275cmp=de({type:hd,selectors:[["c3m-dropdown-item"]],ngContentSelectors:["*"],decls:2,vars:0,template:function(e,t){1&e&&(o(),g(0,"li"),l(1),_())},styles:["li[_ngcontent-%COMP%]{font-size:.95rem}"]});class pd{constructor(){this.isOpen=!1,this.theId=this.randomID(),this.spinnerTextId="progress"+this.theId}ToggleOpen(e){this.isOpen?this.isOpen&&(this.isOpen=!1,e.target.focus()):this.isOpen=!0}randomID(){return Math.round(19999*Math.random()+1)}}pd.\u0275fac=function(e){return new(e||pd)},pd.\u0275cmp=de({type:pd,selectors:[["c3m-progress-spinner"]],inputs:{progressText:"progressText"},decls:4,vars:2,consts:[["aria-live","assertive",1,"progress"],[1,"content"],[1,"overlay"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1),ne(2,"div",2),v(3),_()()),2&e&&(F(1),ht("aria-hidden",!t.isOpen),F(2),Ht(" ",t.progressText," "))},styles:['@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]{display:none;position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000}div.progress[_ngcontent-%COMP%] div.content[aria-hidden=false][_ngcontent-%COMP%]{display:block}div.progress[_ngcontent-%COMP%] div.overlay[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#000000d9}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:before, div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{display:block;position:absolute;content:"";width:100px;height:100px;top:calc(40% - 58px);left:calc(50% - 58px);background-color:#fff0;border-radius:100%;border:15px solid rgba(255,255,255,.25);box-shadow:0 0 5px #00000040}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:before{box-shadow:0 0 5px #00000040}div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{border-left:15px solid rgba(255,255,255,.85);transform-origin:50% 50%;animation:_ngcontent-%COMP%_spin 1.1s infinite linear}@media (prefers-reduced-motion){div.progress[_ngcontent-%COMP%] div.content[_ngcontent-%COMP%]:after{animation:spin 6s infinite linear}}']});class Wl{constructor(e){this.element=e,this.originalCSSPosition=""}isExtremeRight(e){return e.getBoundingClientRect().left+250>window.innerWidth}storeOriginalPosition(e){return window.getComputedStyle(e).getPropertyValue("position")}openTooltip(){this.theTitle=this.element.nativeElement.querySelector("title"),this.theText=this.theTitle?this.theTitle.textContent:this.element.nativeElement.innerText,this.theTooltip=document.createElement("span"),this.theTooltip.classList.add("tooltip"),this.isExtremeRight(this.element.nativeElement)&&this.theTooltip.classList.add("to-left"),this.theTooltip.setAttribute("role","tooltip"),this.theTooltip.style.top=this.element.nativeElement.offsetHeight+10+"px",this.theTooltip.textContent=this.theText,this.originalCSSPosition=this.storeOriginalPosition(this.element.nativeElement.parentNode),"relative"!=this.originalCSSPosition&&(this.element.nativeElement.parentNode.style.position="relative"),this.element.nativeElement.parentNode.appendChild(this.theTooltip)}closeAllTooltips(){document.querySelectorAll("span.tooltip").length>0&&(this.element.nativeElement.parentNode.style.position=this.originalCSSPosition,this.theTooltip.parentNode&&this.theTooltip.parentNode.removeChild(this.theTooltip))}handleMouseEnter(e){this.openTooltip(),e.stopPropagation()}handleFocus(e){this.openTooltip(),e.stopPropagation()}handleMouseLeave(e){this.closeAllTooltips(),e.stopPropagation()}handleMouseDown(e){this.closeAllTooltips(),e.stopPropagation()}handleFocusOut(e){this.closeAllTooltips(),e.stopPropagation()}handleClick(e){this.closeAllTooltips()}}function j5(n,e){if(1&n&&(Ii(0),g(1,"button",1),qe(),g(2,"svg",2),ne(3,"use"),_(),v(4),_(),ai()),2&n){const t=c();F(1),$("disabled",t.disabled),F(2),ht("href","./assets/img/sprite.svg#"+t.svgId),F(1),Ht(" ",t.aName," ")}}function U5(n,e){if(1&n&&(Ii(0),g(1,"a",3),qe(),g(2,"svg",2),ne(3,"use"),_(),v(4),_(),ai()),2&n){const t=c();F(1),$("routerLink",t.rLink),F(2),ht("href","./assets/img/sprite.svg#"+t.svgId),F(1),Ht(" ",t.aName," ")}}Wl.\u0275fac=function(e){return new(e||Wl)(G(st))},Wl.\u0275dir=pt({type:Wl,selectors:[["","c3mTooltip",""]],hostBindings:function(e,t){1&e&&Fe("mouseenter",function(s){return t.handleMouseEnter(s)})("focus",function(s){return t.handleFocus(s)})("mouseleave",function(s){return t.handleMouseLeave(s)})("mousedown",function(s){return t.handleMouseDown(s)})("focusout",function(s){return t.handleFocusOut(s)})("click",function(s){return t.handleClick(s)})}});class Kl{constructor(){this.aName="Action",this.svgId="",this.rLink="",this.randomIdValue=this.randomID()}ngOnInit(){this.btID="acbt"+this.randomIdValue}randomID(){return Math.round(19999*Math.random()+1)}}Kl.\u0275fac=function(e){return new(e||Kl)},Kl.\u0275cmp=de({type:Kl,selectors:[["c3m-icon-button"]],inputs:{aName:"aName",svgId:"svgId",rLink:"rLink",disabled:"disabled"},decls:2,vars:2,consts:[[4,"ngIf"],["c3mTooltip","","type","button",3,"disabled"],["role","img","width","24","height","24","viewBox","0 0 24 24","aria-hidden","true"],["c3mTooltip","",3,"routerLink"]],template:function(e,t){1&e&&($e(0,j5,5,3,"ng-container",0),$e(1,U5,5,3,"ng-container",0)),2&e&&($("ngIf",""===t.rLink),F(1),$("ngIf",""!==t.rLink))},dependencies:[lo,ps,Wl],styles:["button[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;overflow:hidden;width:37px;height:36px;white-space:nowrap;background-color:var(--main-dark);padding:0;z-index:5}svg[_ngcontent-%COMP%]{flex:0 0 37px;fill:currentColor;pointer-events:all}.alert[_nghost-%COMP%] button[_ngcontent-%COMP%]{background-color:var(--hot-color)}svg[_ngcontent-%COMP%] title[_ngcontent-%COMP%]{display:none}button[disabled][_ngcontent-%COMP%]:hover{background-color:var(--main-dark)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited{display:inline-flex;align-items:center;overflow:hidden;width:37px;height:36.5px;font:100%/1.35 var(--stack);white-space:nowrap;color:var(--text-inv);background-color:var(--main-color);border-radius:var(--radius);position:relative;z-index:5}a[_ngcontent-%COMP%]:hover{background-color:var(--hot-color)}a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--n-dark)}.highlight[_nghost-%COMP%] button[_ngcontent-%COMP%]{background-color:var(--hot-color)}.discrete[_nghost-%COMP%] button[_ngcontent-%COMP%], .discrete[_nghost-%COMP%] a[_ngcontent-%COMP%]{background-color:#fff0}.discrete[_nghost-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--main-dark)}.minimal[_nghost-%COMP%] button[_ngcontent-%COMP%], .minimal[_nghost-%COMP%] a[_ngcontent-%COMP%]{width:24px;height:24px;gap:3rem;background-color:#fff0;padding:0;vertical-align:middle}.minimal[_nghost-%COMP%] svg[_ngcontent-%COMP%]{flex:0 0 24px;fill:var(--main-dark);transform:scale(.8)}.minimal[_nghost-%COMP%] button[_ngcontent-%COMP%]:hover, .minimal[_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:var(--n-light)}"]});const H5=["token"];function z5(n,e){if(1&n){const t=qn();g(0,"c3m-icon-button",3),Fe("click",function(){return Tt(t),ft(c().toggleEllipse())}),_()}2&n&&$("svgId",c().isExpanded?"bt-less":"bt-plus")}const q5=function(n){return{expanded:n}};class fd{constructor(){this.textCount=55,this.isExpanded=!1}toggleEllipse(){this.isExpanded=!this.isExpanded}ngAfterViewInit(){setTimeout(()=>{this.isExpandable=this.token.nativeElement.innerText.length>this.textCount},1e3)}}fd.\u0275fac=function(e){return new(e||fd)},fd.\u0275cmp=de({type:fd,selectors:[["c3m-text-ellipsis"]],viewQuery:function(e,t){if(1&e&&io(H5,5),2&e){let r;ci(r=ui())&&(t.token=r.first)}},inputs:{textCount:"textCount"},ngContentSelectors:["*"],decls:4,vars:4,consts:function(){let n;return n=$localize`Display/hide all text`,[[3,"ngClass"],["token",""],["class","minimal","aName",n,3,"svgId","click",4,"ngIf"],["aName",n,1,"minimal",3,"svgId","click"]]},template:function(e,t){1&e&&(o(),g(0,"span",0,1),l(2),_(),$e(3,z5,1,1,"c3m-icon-button",2)),2&e&&($("ngClass",Bu(2,q5,t.isExpanded)),F(3),$("ngIf",t.isExpandable))},dependencies:[Fl,lo,Kl],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:1rem}span[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:25em}span.expanded[_ngcontent-%COMP%]{text-overflow:unset;white-space:normal;line-height:1.45}"]});class Cf{constructor(e){this.element=e}ngOnInit(){const e=this.element.nativeElement,t=e.querySelector("input"),r=e.getAttribute("name"),a=document.querySelectorAll("[name="+r+"]");t.addEventListener("click",function(){a.forEach(u=>{u.getAttribute("name")==r&&u!=t&&(u.querySelector("input").checked=t.checked)})})}}Cf.\u0275fac=function(e){return new(e||Cf)(G(st))},Cf.\u0275dir=pt({type:Cf,selectors:[["","c3mCheckAll",""]]});class gd{}gd.\u0275fac=function(e){return new(e||gd)},gd.\u0275mod=ki({type:gd}),gd.\u0275inj=ot({imports:[GT,M0,pF,Ow,W8]});class Ef{constructor(){this.pageTitle="Accordion",this.componentName="c3m-accordion/ c3m-accordion-item",this.resourceType="Component"}}Ef.\u0275fac=function(e){return new(e||Ef)},Ef.\u0275cmp=de({type:Ef,selectors:[["app-accordion-page"]],decls:102,vars:2,consts:[["id","accordion"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["titleLevel","4"],["label","First block","total","5"],["label","Second block",3,"isOpen"],["href","#"],["label","Third block"],["label","Forth block"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-accordion",3)(6,"c3m-accordion-item",4)(7,"p"),v(8,"Content of the block"),_()(),g(9,"c3m-accordion-item",5)(10,"p"),v(11," Content of the block with "),g(12,"a",6),v(13,"a link"),_()()(),g(14,"c3m-accordion-item",7)(15,"p"),v(16,"Content of the block"),_()(),g(17,"c3m-accordion-item",8)(18,"p"),v(19,"Content of the block"),_()()()(),g(20,"c3m-tab-panel",9)(21,"pre"),v(22,' \n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n
\n '),_()()()(),g(23,"section",10)(24,"h3"),v(25,"Properties and Events"),_(),g(26,"table",11)(27,"caption"),v(28," Properties applicable to the component "),g(29,"code"),v(30,"c3m-accordion"),_()(),g(31,"tr")(32,"th",12),v(33,"Name"),_(),g(34,"th",12),v(35,"Type"),_(),g(36,"th",12),v(37,"Default"),_(),g(38,"th",12),v(39,"Description"),_()(),g(40,"tr")(41,"td",13),v(42,"titleLevel"),_(),g(43,"td",14),v(44,"string"),_(),g(45,"td",15),v(46,'"2"'),_(),g(47,"td"),v(48," Level of title for the accordion blocks; use it to adjust the component to the document's hierarchy "),_()(),g(49,"tr")(50,"td",13),v(51,"label"),_(),g(52,"td",14),v(53,"string"),_(),g(54,"td",15),v(55,'""'),_(),g(56,"td"),v(57,"Adds link with given absolute URL to chip's label"),_()()(),g(58,"table",11)(59,"caption"),v(60," Properties applicable to the component "),g(61,"code"),v(62,"c3m-accordion-item"),_()(),g(63,"tr")(64,"th",12),v(65,"Name"),_(),g(66,"th",12),v(67,"Type"),_(),g(68,"th",12),v(69,"Default"),_(),g(70,"th",12),v(71,"Description"),_()(),g(72,"tr")(73,"td",13),v(74,"label"),_(),g(75,"td",14),v(76,"string"),_(),g(77,"td",15),v(78,'""'),_(),g(79,"td"),v(80,"Defines the title of accordion item"),_()(),g(81,"tr")(82,"td",13),v(83,"[isOpen]"),_(),g(84,"td",14),v(85,"boolean"),_(),g(86,"td",15),v(87,"false"),_(),g(88,"td"),v(89,"Indicates if accordion item should be opened on page load"),_()(),g(90,"tr")(91,"td",13),v(92,"total"),_(),g(93,"td",14),v(94,"string"),_(),g(95,"td",15),v(96,'""'),_(),g(97,"td"),v(98,"Allows to indicate a total value for the accordion item content"),_()()(),g(99,"p")(100,"em"),v(101,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0),F(5),$("isOpen",!0))},dependencies:[nd,Gl,gn,Zt]});class wf{}function W5(n,e){if(1&n&&(g(0,"li")(1,"a",7),v(2),_()()),2&n){const t=e.$implicit,r=c(2);F(1),$("href",r.routeSkipLink(t.id),uu),F(1),Ht(" ",t.label," ")}}function K5(n,e){if(1&n&&(g(0,"nav",5)(1,"ul"),$e(2,W5,3,2,"li",6),_()()),2&n){const t=c();F(2),$("ngForOf",t.sections)}}wf.\u0275fac=function(e){return new(e||wf)},wf.\u0275cmp=de({type:wf,selectors:[["app-home-page"]],decls:36,vars:0,consts:[[1,"home-wrapper"],[1,"home-highlight"],["routerLink","/portal/getting-started",1,"highlight"],[1,"cards-list","editorial"],[1,"card"],[1,"illustration"],["src","./assets/img/pic-a11y.svg","alt",""],["src","./assets/img/pic-web.svg","alt",""],["src","./assets/img/pic-responsive.svg","alt",""],[1,"home-note"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3,"Sparkle your Angular applications with our accessible components and patterns."),_(),g(4,"p")(5,"a",2),v(6,"Let's get started!"),_()()(),g(7,"div",3)(8,"div",4)(9,"p")(10,"strong"),v(11,"Be Accessible"),_()(),g(12,"p"),v(13," Web accessibility is what moved us into making this library, so we're doing our best to create the most accessible Angular components a library can offer. "),_(),g(14,"p",5),ne(15,"img",6),_()(),g(16,"div",4)(17,"p")(18,"strong"),v(19,"Embrace the Web"),_()(),g(20,"p"),v(21," Each component has been handcrafted with love, with a progressive enhancement approach, respecting web standards and semantics. "),_(),g(22,"p",5),ne(23,"img",7),_()(),g(24,"div",4)(25,"p")(26,"strong"),v(27,"Be Responsive"),_()(),g(28,"p"),v(29,"All components were designed to be fully responsive and multi-device."),_(),g(30,"p",5),ne(31,"img",8),_()()(),g(32,"p",9)(33,"strong"),v(34,"CreamNg"),_(),v(35," is being crafted with love by people who love the web. "),_()())},dependencies:[ps],styles:["div.home-wrapper[_ngcontent-%COMP%]{max-width:900px;margin:0 auto}div.home-highlight[_ngcontent-%COMP%]{max-width:17em;font-size:calc(1.5em + 1vw);line-height:calc(1em + 1vw);text-align:center;margin:5vw auto 10vw}div.home-highlight[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{font-family:var(--stack-b);margin-bottom:calc(1rem + 1vw)}div.cards-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:calc(2rem + 1vw);margin-bottom:10vw}.card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;flex:1 1 200px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(1){order:2;font-size:1.2em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(2){order:3}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(3){order:1;margin-bottom:1rem}p.home-note[_ngcontent-%COMP%]{font-size:.7em;text-align:center;background-image:url(\"data:image/svg+xml,%3Csvg id='Calque_1' data-name='Calque 1' xmlns='http://www.w3.org/2000/svg' width='11.76' height='9.82' viewBox='0 0 11.76 9.82'%3E%3Cpath d='M10.75.64C8.89-1.27,5.88,1.71,5.88,1.71s-3-3-4.86-1.07C-2.93,4.7,5.88,9.82,5.88,9.82S14.69,4.7,10.75.64Z' style='fill:%23d769a8'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center top;padding-top:18px}a.highlight[_ngcontent-%COMP%]{display:inline-block;color:var(--text-inv);background-color:var(--main-color);padding:.35em 1em .6em}a.highlight[_ngcontent-%COMP%]:hover{background-color:var(--hot-color)}"]});class Sf{constructor(e,t){this.cdr=e,this.location=t,this.pageTitle="",this.componentName="",this.resourceType="Component",this.isThereSubNav=!0,this.sections=[]}routeSkipLink(e){return`${this.location.prepareExternalUrl(this.location.path())}#${e}`}onActivate(e){this.pageTitle=e.pageTitle,this.componentName=e.componentName,this.resourceType=e.resourceType,this.cdr.detectChanges();const t=document.querySelectorAll("section");this.sections=[],t.forEach(r=>this.sections.push({id:r.id,label:r.firstChild.innerText})),this.isThereSubNav=t.length>0}}Sf.\u0275fac=function(e){return new(e||Sf)(G(la),G(Bp))},Sf.\u0275cmp=de({type:Sf,selectors:[["app-portal-layout"]],decls:11,vars:4,consts:[[1,"hgroup"],["c3mFocusOnPageChange","","tabindex","-1"],["aria-label","Sections on this page",4,"ngIf"],[1,"component-sheet"],[3,"activate"],["aria-label","Sections on this page"],[4,"ngFor","ngForOf"],[3,"href"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"h2",1)(2,"span")(3,"strong"),v(4),_(),v(5),_(),g(6,"code"),v(7),_()(),$e(8,K5,3,1,"nav",2),_(),g(9,"div",3)(10,"router-outlet",4),Fe("activate",function(s){return t.onActivate(s)}),_()()),2&e&&(F(4),Ml(t.pageTitle),F(1),Ht(" ",t.resourceType," "),F(2),Ml(t.componentName),F(1),$("ngIf",t.isThereSubNav))},dependencies:[w_,lo,X_,id],styles:["div.hgroup[_ngcontent-%COMP%]{margin-bottom:calc(1.5rem + 2vw)}div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:1.2em var(--stack);color:var(--text-inv);background-color:var(--main-color);padding:.5em 1em;margin-bottom:1em}div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{display:block;font-size:initial;color:currentColor;background-color:var(--main-color);margin-top:.25em}div.hgroup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:1.5rem 1rem;padding:.5rem 0 .5rem 1.5rem;border-left:5px solid var(--main-light)}div.hgroup[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{min-width:30%;flex-basis:20%}div.hgroup[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none}@media screen and (min-width: 800px){div.hgroup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{flex-direction:row}}@media screen and (min-width: 1000px){div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:2em}}@media screen and (min-width: 1300px){div.hgroup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}}"]});class Df{constructor(){this.pageTitle="Tabs",this.componentName="c3m-tabs/ c3m-tab-panel",this.resourceType="Component"}}Df.\u0275fac=function(e){return new(e||Df)},Df.\u0275cmp=de({type:Df,selectors:[["app-tabs-page"]],decls:320,vars:18,consts:[["id","general-tabs"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"demo"],["label","Tabs for demo"],["tabTitle","First Tab",3,"isActive"],["tabTitle","Second Tab"],["tabTitle","Third Tab"],["tabTitle","Application",1,"block-style"],["id","deletable-tabs"],[1,"introduction","editorial"],["label","Demo for deletable tabs"],["tabTitle","Second Tab",3,"deletable"],["tabTitle","Third Tab",3,"deletable"],["id","discrete-tabs"],["label","Demo for discrete tabs",1,"discrete"],["id","icon-tabs"],["label","Demo for tabs with icons"],["tabTitle","First Tab","svgName","star","svgTitle","Favorite",3,"isActive"],["tabTitle","Second Tab","svgName","star","svgTitle","Favorite"],["id","drag-tabs"],["label","Demo for draggable tabs"],["tabTitle","Fixed Tab",3,"isActive"],["tabTitle","Second Tab",3,"draggable"],["tabTitle","Third Tab",3,"draggable"],["id","responsive-tabs"],[1,"demo",2,"min-width","300px","width","50%"],["label","Responsive demo for tabs"],["tabTitle","Forth Tab"],["tabTitle","Fifth Tab"],["tabTitle","Sixth Tab"],["label","Responsive demo for tabs with custom scroll",3,"handleScroll"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"],["data-head","Parameters"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Tabs"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"c3m-tabs",4)(7,"c3m-tab-panel",5)(8,"p"),v(9,"This is the content of first tab"),_()(),g(10,"c3m-tab-panel",6)(11,"p"),v(12,"This is the content of second tab"),_()(),g(13,"c3m-tab-panel",7)(14,"p"),v(15,"This is the content of third tab"),_()()()()(),g(16,"c3m-tab-panel",8)(17,"pre"),v(18,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(19,"section",9)(20,"h3"),v(21,"Deletable Tabs"),_(),g(22,"div",10)(23,"c3m-message-block")(24,"p"),v(25," The "),g(26,"code"),v(27,"closeTab"),_(),v(28," built-in event can be used to retrieve data about the deleted tab. "),_()()(),g(29,"c3m-tabs",1)(30,"c3m-tab-panel",2)(31,"div",3)(32,"c3m-tabs",11)(33,"c3m-tab-panel",5)(34,"p"),v(35,"This is the content of first tab"),_()(),g(36,"c3m-tab-panel",12)(37,"p"),v(38,"This is the content of second tab"),_()(),g(39,"c3m-tab-panel",13)(40,"p"),v(41,"This is the content of third tab"),_()()()()(),g(42,"c3m-tab-panel",8)(43,"pre"),v(44,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(45,"section",14)(46,"h3"),v(47,"Discrete Tabs"),_(),g(48,"c3m-tabs",1)(49,"c3m-tab-panel",2)(50,"div",3)(51,"c3m-tabs",15)(52,"c3m-tab-panel",5)(53,"p"),v(54,"This is the content of first tab"),_()(),g(55,"c3m-tab-panel",6)(56,"p"),v(57,"This is the content of second tab"),_()(),g(58,"c3m-tab-panel",7)(59,"p"),v(60,"This is the content of third tab"),_()()()()(),g(61,"c3m-tab-panel",8)(62,"pre"),v(63,'\n \n \n \n \n \n \n \n \n \n\n '),_()()()(),g(64,"section",16)(65,"h3"),v(66,"Tabs with Icons"),_(),g(67,"c3m-tabs",1)(68,"c3m-tab-panel",2)(69,"div",3)(70,"c3m-tabs",17)(71,"c3m-tab-panel",18)(72,"p"),v(73,"This is the content of first tab"),_()(),g(74,"c3m-tab-panel",19)(75,"p"),v(76,"This is the content of second tab"),_()(),g(77,"c3m-tab-panel",7)(78,"p"),v(79,"This is the content of third tab"),_()()()()(),g(80,"c3m-tab-panel",8)(81,"pre"),v(82,'\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n \n

NG-CONTENT

\n
\n
\n '),_()()()(),g(83,"section",20)(84,"h3"),v(85,"Draggable Tabs"),_(),g(86,"div",10)(87,"c3m-message-block")(88,"p"),v(89," You can use the "),g(90,"code"),v(91,"changeTab"),_(),v(92," built-in event to get the updated data. "),_()()(),g(93,"c3m-tabs",1)(94,"c3m-tab-panel",2)(95,"div",3)(96,"c3m-tabs",21)(97,"c3m-tab-panel",22)(98,"p"),v(99,"This is the content of first tab. This one is not draggable."),_()(),g(100,"c3m-tab-panel",23)(101,"p"),v(102,"This is the content of second tab, draggable"),_()(),g(103,"c3m-tab-panel",24)(104,"p"),v(105,"This is the content of third tab, draggable"),_()()()()(),g(106,"c3m-tab-panel",8)(107,"pre"),v(108,'\n \n

This is the content of first tab. This one is not draggable.

\n
\n \n

This is the content of second tab, draggable

\n
\n \n

This is the content of third tab, draggable

\n
\n
\n '),_()()()(),g(109,"section",25)(110,"h3"),v(111,"Responsiveness"),_(),g(112,"c3m-tabs",1)(113,"c3m-tab-panel",2)(114,"div",26)(115,"c3m-tabs",27)(116,"c3m-tab-panel",5)(117,"p"),v(118,"This is the content of first tab"),_()(),g(119,"c3m-tab-panel",6)(120,"p"),v(121,"This is the content of second tab"),_()(),g(122,"c3m-tab-panel",7)(123,"p"),v(124,"This is the content of third tab"),_()(),g(125,"c3m-tab-panel",28)(126,"p"),v(127,"This is the content of forth tab"),_()(),g(128,"c3m-tab-panel",29)(129,"p"),v(130,"This is the content of fifth tab"),_()(),g(131,"c3m-tab-panel",30)(132,"p"),v(133,"This is the content of sixth tab"),_()()()(),g(134,"div",26)(135,"c3m-tabs",31)(136,"c3m-tab-panel",5)(137,"p"),v(138,"This is the content of first tab"),_()(),g(139,"c3m-tab-panel",6)(140,"p"),v(141,"This is the content of second tab"),_()(),g(142,"c3m-tab-panel",7)(143,"p"),v(144,"This is the content of third tab"),_()(),g(145,"c3m-tab-panel",28)(146,"p"),v(147,"This is the content of forth tab"),_()(),g(148,"c3m-tab-panel",29)(149,"p"),v(150,"This is the content of fifth tab"),_()(),g(151,"c3m-tab-panel",30)(152,"p"),v(153,"This is the content of sixth tab"),_()()()()(),g(154,"c3m-tab-panel",8)(155,"pre"),v(156,'\n \n

This is the content of first tab

\n
\n \n

This is the content of second tab

\n
\n \n

This is the content of third tab

\n
\n \n

This is the content of forth tab

\n
\n \n

This is the content of fifth tab

\n
\n \n

This is the content of sixth tab

\n
\n
\n\n\n \n

This is the content of first tab

\n
\n \n

This is the content of second tab

\n
\n \n

This is the content of third tab

\n
\n \n

This is the content of forth tab

\n
\n \n

This is the content of fifth tab

\n
\n \n

This is the content of sixth tab

\n
\n
\n '),_()()()(),g(157,"section",32)(158,"h3"),v(159,"Properties and Events"),_(),g(160,"table",33)(161,"caption"),v(162," Properties applicable to the component "),g(163,"code"),v(164,"c3m-tabs"),_()(),g(165,"tr")(166,"th",34),v(167,"Name"),_(),g(168,"th",34),v(169,"Type"),_(),g(170,"th",34),v(171,"Default"),_(),g(172,"th",34),v(173,"Description"),_()(),g(174,"tr")(175,"td",35),v(176,"label *"),_(),g(177,"td",36),v(178,"string"),_(),g(179,"td",37),v(180,"--"),_(),g(181,"td"),v(182,"Describes the nature of the group of tabs"),_()(),g(183,"tr")(184,"td",35),v(185,"[handleScroll]"),_(),g(186,"td",36),v(187,"boolean"),_(),g(188,"td",37),v(189,"false"),_(),g(190,"td"),v(191,"Allows to add buttons to handle the scroll of tabs"),_()(),g(192,"tr")(193,"td",35),v(194,"startIndexActiv"),_(),g(195,"td",36),v(196,"number"),_(),g(197,"td",37),v(198,"0"),_(),g(199,"td"),v(200,"Outputs index of deleted tab"),_()(),g(201,"tr")(202,"td",35),v(203,"discrete"),_(),g(204,"td",36),v(205,"(class)"),_(),g(206,"td",37),v(207,"--"),_(),g(208,"td"),v(209,"Simplifies tabs design style"),_()()(),g(210,"table",33)(211,"caption"),v(212," Properties applicable to the component "),g(213,"code"),v(214,"c3m-tab-panel"),_()(),g(215,"tr")(216,"th",34),v(217,"Name"),_(),g(218,"th",34),v(219,"Type"),_(),g(220,"th",34),v(221,"Default"),_(),g(222,"th",34),v(223,"Description"),_()(),g(224,"tr")(225,"td",35),v(226,"[isActive] *"),_(),g(227,"td",36),v(228,"boolean"),_(),g(229,"td",37),v(230,"--"),_(),g(231,"td"),v(232,"Sets default selected tab"),_()(),g(233,"tr")(234,"td",35),v(235,"tabTitle *"),_(),g(236,"td",36),v(237,"string"),_(),g(238,"td",37),v(239,"--"),_(),g(240,"td"),v(241,"Label for the tab"),_()(),g(242,"tr")(243,"td",35),v(244,"[deletable]"),_(),g(245,"td",36),v(246,"boolean"),_(),g(247,"td",37),v(248,"false"),_(),g(249,"td"),v(250,"Adds delete button to tab"),_()(),g(251,"tr")(252,"td",35),v(253,"[draggable]"),_(),g(254,"td",36),v(255,"boolean"),_(),g(256,"td",37),v(257,"false"),_(),g(258,"td"),v(259,"Makes tab draggable along tabs list"),_()(),g(260,"tr")(261,"td",35),v(262,"[adaptable]"),_(),g(263,"td",36),v(264,"boolean"),_(),g(265,"td",37),v(266,"false"),_(),g(267,"td"),v(268,"Allows tab container to have fixed height and vertical scroll"),_()(),g(269,"tr")(270,"td",35),v(271,"svgName"),_(),g(272,"td",36),v(273,"string"),_(),g(274,"td",37),v(275,"--"),_(),g(276,"td"),v(277,"SVG image ID (from index svg sprite)"),_()(),g(278,"tr")(279,"td",35),v(280,"svgTitle"),_(),g(281,"td",36),v(282,"string"),_(),g(283,"td",37),v(284,"--"),_(),g(285,"td"),v(286,"SVG image alternative text (* mandatory if svgName is set)"),_()()(),g(287,"table",33)(288,"caption"),v(289," Events for "),g(290,"code"),v(291,"c3m-tabs"),_()(),g(292,"tr")(293,"th",34),v(294,"Name"),_(),g(295,"th",34),v(296,"Parameters"),_(),g(297,"th",34),v(298,"Description"),_()(),g(299,"tr")(300,"td",35),v(301,"changeTab"),_(),g(302,"td",38),v(303," event.originalEvent: Click event "),ne(304,"br"),v(305," event.index: Index of the current selected tab or dragged tab "),_(),g(306,"td"),v(307,"Callback to invoke on tab change"),_()(),g(308,"tr")(309,"td",35),v(310,"closeTab"),_(),g(311,"td",38),v(312," event.originalEvent: Click event "),ne(313,"br"),v(314," event.index: Index of the current deleted tab "),_(),g(315,"td"),v(316,"Callback to invoke on tab close"),_()()(),g(317,"p")(318,"em"),v(319,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0),F(3),$("isActive",!0),F(23),$("isActive",!0),F(3),$("isActive",!0),F(3),$("deletable",!0),F(3),$("deletable",!0),F(10),$("isActive",!0),F(3),$("isActive",!0),F(16),$("isActive",!0),F(3),$("isActive",!0),F(23),$("isActive",!0),F(3),$("isActive",!0),F(3),$("draggable",!0),F(3),$("draggable",!0),F(10),$("isActive",!0),F(3),$("isActive",!0),F(19),$("handleScroll",!0),F(1),$("isActive",!0))},dependencies:[gn,Zt,Fn]});class Tf{constructor(){this.pageTitle="Messages",this.componentName="c3m-message-block",this.resourceType="Component"}}Tf.\u0275fac=function(e){return new(e||Tf)},Tf.\u0275cmp=de({type:Tf,selectors:[["app-message-page"]],decls:74,vars:5,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"demo"],["tabTitle","Application",1,"block-style"],["id","error"],[3,"isWarning"],[3,"isError"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General/Positive Message"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"c3m-message-block")(7,"p"),v(8,"This is a generic informative message."),_()()()(),g(9,"c3m-tab-panel",4)(10,"pre"),v(11,"\n \n\n "),_()()()(),g(12,"section",5)(13,"h3"),v(14,"Warning Message"),_(),g(15,"c3m-tabs",1)(16,"c3m-tab-panel",2)(17,"div",3)(18,"c3m-message-block",6)(19,"p"),v(20,"This is a warning message"),_()()()(),g(21,"c3m-tab-panel",4)(22,"pre"),v(23,'\n \n\n '),_()()()(),g(24,"section",5)(25,"h3"),v(26,"Error Message"),_(),g(27,"c3m-tabs",1)(28,"c3m-tab-panel",2)(29,"div",3)(30,"c3m-message-block",7)(31,"p"),v(32,"This is an error message!"),_()()()(),g(33,"c3m-tab-panel",4)(34,"pre"),v(35,'\n \n\n '),_()()()(),g(36,"section",8)(37,"h3"),v(38,"Properties and Events"),_(),g(39,"table",9)(40,"caption"),v(41," Properties applicable to the component "),g(42,"code"),v(43,"c3m-message-block"),_()(),g(44,"tr")(45,"th",10),v(46,"Name"),_(),g(47,"th",10),v(48,"Type"),_(),g(49,"th",10),v(50,"Default"),_(),g(51,"th",10),v(52,"Description"),_()(),g(53,"tr")(54,"td",11),v(55,"[isError]"),_(),g(56,"td",12),v(57,"boolean"),_(),g(58,"td",13),v(59,"false"),_(),g(60,"td"),v(61,"Specifies if message is an error"),_()(),g(62,"tr")(63,"td",11),v(64,"[isWarning]"),_(),g(65,"td",12),v(66,"boolean"),_(),g(67,"td",13),v(68,"false"),_(),g(69,"td"),v(70,"Specifies if message is an alert"),_()()(),g(71,"p")(72,"em"),v(73,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0),F(12),$("isActive",!0),F(2),$("isWarning",!0),F(10),$("isActive",!0),F(2),$("isError",!0))},dependencies:[gn,Zt,Fn]});class If{constructor(){this.pageTitle="Custom Design"}}If.\u0275fac=function(e){return new(e||If)},If.\u0275cmp=de({type:If,selectors:[["app-custom-design"]],decls:68,vars:0,consts:[["id","add-css",1,"editorial"],[1,"command"],[1,"highlight"],["id","with-icons",1,"editorial"],["href","/portal/config"],["href","https://yoksel.github.io/url-encoder/","target","_blank"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Adding your own style-sheet"),_(),g(3,"p"),v(4," Besides the "),g(5,"strong"),v(6,"CreamNg"),_(),v(7," style-sheet, you may add your own and define your css custom properties. "),_(),g(8,"p"),v(9," In your "),g(10,"em"),v(11,"angular.json"),_(),v(12," file, add the following lines: "),_(),g(13,"div",1)(14,"pre"),v(15,'\n "styles": [\n "/node_modules/ngx-cream-lib/assets/css/main.css",'),_(),g(16,"pre",2),v(17,' "src/assets/css/local.css"\n '),_(),g(18,"pre"),v(19,"],"),_()(),g(20,"p"),v(21," You may also group your local CSS custom properties in a separate file and import it from your css. "),_(),g(22,"p"),v(23," Your local CSS styles and variables will be loaded last, so you may overwrite any style you need to. "),_()(),g(24,"section",3)(25,"h3"),v(26,"Using Icons"),_(),g(27,"h4"),v(28,"Changing styles"),_(),g(29,"p"),v(30," Icons listed in the CreamNg svg sprite don't have a predefined color, so they may be modified by CSS. You can do that by modifiying the styles directly when calling a svg from the svg sprite, or you can modify the color on the component's stylesheet. "),_(),g(31,"p"),v(32," Icons that appear in white have the "),g(33,"strong"),v(34,'"icon-bt"'),_(),v(35," class, so you may use this class to change its fill. "),_(),g(36,"p"),v(37,"Size can also be modified by CSS using the transform or width and height properties."),_(),g(38,"h4"),v(39,"Adding icons to your project"),_(),g(40,"p"),v(41," Svg images are great because they are purely HTML, what makes its manipulation very easy and flexible. "),_(),g(42,"p"),v(43," Once you've added your own project assets path to "),g(44,"em"),v(45,"angular.json"),_(),v(46," (see "),g(47,"a",4),v(48,"Configuring CreamNg"),_(),v(49," for more information), you can create your own svg sprite, as the example here after: "),_(),g(50,"div",1)(51,"pre"),v(52,'\x3c!-- SVG DEFINITIONS --\x3e\n\n \n \n\n \n \n \n \n \n \n \n \n \n\n '),_()(),g(53,"p"),v(54," If you need to add a new icon to your svg sprite, simply get the svg code (without the opening and closing "),g(55,"code"),v(56,"svg"),_(),v(57," tags), group it in a "),g(58,"code"),v(59,"g"),_(),v(60," and give it a unique ID. That's all you have to do to reference to this icon later in the application. "),_(),g(61,"p"),v(62," If you want to add the image as background, you have to encode the svg source into a data URI first. "),_(),g(63,"p"),v(64," You may use Yuri Yoksel's "),g(65,"a",5),v(66,"URL Encoder for SVG"),_(),v(67," to do that. "),_()())}});class Af{constructor(){this.pageTitle="Getting Started"}}Af.\u0275fac=function(e){return new(e||Af)},Af.\u0275cmp=de({type:Af,selectors:[["app-getting-started"]],decls:33,vars:0,consts:[["id","first-steps"],[1,"introduction","editorial"],["href","https://noedjs.org","target","_blank"],[1,"command-line"],["id","import"],[1,"command"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Setting Up Your Local Environment"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," Remember that, in order to install Angular on your local system, you'll need "),g(7,"code")(8,"a",2),v(9,"Node.js"),_()(),v(10," and to install an npm package manager with the command "),g(11,"code"),v(12,"npm install npm@latest -g"),_()()()(),g(13,"p")(14,"strong"),v(15,"CreamNg"),_(),v(16," uses Angular version 15, so be sure to have the latest version of Angular-Cli: "),_(),g(17,"p",3),v(18,"npm install -g angular-cli@latest"),_()(),g(19,"section",4)(20,"h3"),v(21,"Importing CreamNg into Your Project"),_(),g(22,"p"),v(23," Once your project created, import the library via npm (run the command on the root of your project): "),_(),g(24,"p",3),v(25,"npm install ngx-cream-lib"),_(),g(26,"p"),v(27," Now, include the CreamNg module in your "),g(28,"em"),v(29,"app.module.ts"),_(),v(30,' by importing the module and declaring it on the "imports" list: '),_(),g(31,"pre",5),v(32,"import { NgxCreamLibModule } from 'ngx-cream-lib';\n\n...\nimports: [NgxCreamLibModule]\n "),_()())},dependencies:[Fn]});class xf{constructor(){this.pageTitle="Collapsible",this.componentName="c3m-collapsible",this.resourceType="Component"}}xf.\u0275fac=function(e){return new(e||xf)},xf.\u0275cmp=de({type:xf,selectors:[["app-collapsible-page"]],decls:58,vars:1,consts:[["id","simple"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["summary","Title of collapsible panel","total","5"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-collapsible",3)(6,"p"),v(7,"Content of collapsible"),_()()(),g(8,"c3m-tab-panel",4)(9,"pre"),v(10,'\n \n\n '),_()()()(),g(11,"section",5)(12,"h3"),v(13,"Properties and Events"),_(),g(14,"table",6)(15,"caption"),v(16," Properties applicable to the component "),g(17,"code"),v(18,"c3m-collapsible"),_()(),g(19,"tr")(20,"th",7),v(21,"Name"),_(),g(22,"th",7),v(23,"Type"),_(),g(24,"th",7),v(25,"Default"),_(),g(26,"th",7),v(27,"Description"),_()(),g(28,"tr")(29,"td",8),v(30,"summary *"),_(),g(31,"td",9),v(32,"string"),_(),g(33,"td",10),v(34,'""'),_(),g(35,"td"),v(36,"Defines the title of the panel"),_()(),g(37,"tr")(38,"td",8),v(39,"total"),_(),g(40,"td",9),v(41,"string"),_(),g(42,"td",10),v(43,'""'),_(),g(44,"td"),v(45,"Optional total for the content of the panel"),_()(),g(46,"tr")(47,"td",8),v(48,"[isOpen]"),_(),g(49,"td",9),v(50,"boolean"),_(),g(51,"td",10),v(52,"false"),_(),g(53,"td"),v(54,"If true, panel is open on page load"),_()()(),g(55,"p")(56,"em"),v(57,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0))},dependencies:[gn,Zt,rd]});class Mf{constructor(){this.pageTitle="Modal",this.componentName="c3m-modal/ c3m-modal-trigger",this.resourceType="Component"}test(){alert("test works")}}Mf.\u0275fac=function(e){return new(e||Mf)},Mf.\u0275cmp=de({type:Mf,selectors:[["app-modal-page"]],decls:122,vars:4,consts:[["id","full-modal"],[1,"introduction","editorial"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"buttons-bar","out-form"],[3,"modal"],["modalTitle","This is the title of the modal"],["exempleModal",""],["tabTitle","Application",1,"block-style"],["id","dialog-modal"],["modalTitle","Cancel contract",1,"simple-dialog"],["exempleModal2",""],[1,"buttons-bar",2,"margin-top","2rem"],[3,"click"],["id","props-n-events"],["lang","en"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"Full Modal"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," If actions inside the modal should close it, you can call the "),g(7,"code"),v(8,"ToggleOpen"),_(),v(9," function using the modal's identifier. "),_(),g(10,"p"),v(11,"Of course, you may add aditional functions to the same event."),_()()(),g(12,"c3m-tabs",2)(13,"c3m-tab-panel",3)(14,"p",4)(15,"c3m-modal-trigger",5),v(16,"Label of the button"),_()(),g(17,"c3m-modal",6,7)(19,"p"),v(20,"Content of the modal"),_()()(),g(21,"c3m-tab-panel",8)(22,"pre"),v(23,'\n Label of the button\n\n\n\n

Content of the modal

\n
\n '),_()()()(),g(24,"section",9)(25,"h3"),v(26,"Dialog Modal"),_(),g(27,"c3m-tabs",2)(28,"c3m-tab-panel",3)(29,"p",4)(30,"c3m-modal-trigger",5),v(31,"Opens small modal"),_()(),g(32,"c3m-modal",10,11)(34,"p"),v(35,"Content of the modal"),_(),g(36,"p",12)(37,"button",13),Fe("click",function(){Tt(r);const a=Ot(33);return t.test(),ft(a.ToggleOpen())}),v(38,"Ok"),_()()()(),g(39,"c3m-tab-panel",8)(40,"pre"),v(41,'\n Opens small modal\n\n\n

Content of the modal

\n

\n \n

\n
\n '),_()()()(),g(42,"section",14)(43,"h3"),v(44,"Properties and Events"),_(),g(45,"table")(46,"caption"),v(47," Properties applicable to the component "),g(48,"code",15),v(49,"c3m-modal"),_()(),g(50,"tr")(51,"th",16),v(52,"Name"),_(),g(53,"th",16),v(54,"Type"),_(),g(55,"th",16),v(56,"Default"),_(),g(57,"th",16),v(58,"Description"),_()(),g(59,"tr")(60,"td",17),v(61,"modalTitle *"),_(),g(62,"td",18),v(63,"string"),_(),g(64,"td",19),v(65,"--"),_(),g(66,"td"),v(67,"Title of the modal"),_()(),g(68,"tr")(69,"td",17),v(70," *"),_(),g(71,"td",18)(72,"em"),v(73,"#xxxxx"),_()(),g(74,"td",19),v(75,"--"),_(),g(76,"td"),v(77,"Unique identifier of the modal"),_()(),g(78,"tr")(79,"td",17),v(80,"simple-dialog"),_(),g(81,"td",18),v(82,"(class)"),_(),g(83,"td",19),v(84,"--"),_(),g(85,"td"),v(86,"Displays modal in small format, for quick feedback message"),_()()(),g(87,"table")(88,"caption"),v(89," Properties applicable to the component "),g(90,"code",15),v(91,"c3m-modal-button"),_()(),g(92,"tr")(93,"th",16),v(94,"Name"),_(),g(95,"th",16),v(96,"Type"),_(),g(97,"th",16),v(98,"Default"),_(),g(99,"th",16),v(100,"Description"),_()(),g(101,"tr")(102,"td",17),v(103,"[modal] *"),_(),g(104,"td",18),v(105,"string"),_(),g(106,"td",19),v(107,"--"),_(),g(108,"td"),v(109,"Value of the target modal unique identifier"),_()(),g(110,"tr")(111,"td",17),v(112,"disabled"),_(),g(113,"td",18),v(114,"string"),_(),g(115,"td",19),v(116,"--"),_(),g(117,"td"),v(118,"Disables button"),_()()(),g(119,"p")(120,"em"),v(121,"* mandatory properties"),_()()()}if(2&e){const r=Ot(18),s=Ot(33);F(13),$("isActive",!0),F(2),$("modal",r),F(13),$("isActive",!0),F(2),$("modal",s)}},dependencies:[gn,Zt,Fn,od,ad]});class Pf{constructor(){this.pageTitle="Snackbar",this.componentName="c3m-snackbar",this.resourceType="Component"}}Pf.\u0275fac=function(e){return new(e||Pf)},Pf.\u0275cmp=de({type:Pf,selectors:[["app-snackbar-page"]],decls:72,vars:1,consts:[["id","dialog-snackbar"],[1,"introduction","editorial"],[1,"intro-text"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[3,"click"],["snackbarDemo",""],[1,"buttons-bar"],[1,"as-reset",3,"click"],[1,"as-submit",3,"click"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"Dialog Snackbar"),_(),g(3,"div",1)(4,"div",2)(5,"p"),v(6," Snackbars work exactly like a modal \u2014 in isolated mode \u2014, but contrary to modals, they can only be closed by interacting with them. As snackbars impose a question that must be answered, it can only be closed by interacting with it. "),_(),g(7,"p"),v(8,"Use this component to get mandatory feedback from the user."),_()(),g(9,"c3m-message-block")(10,"p"),v(11," You should use the component's unique identifier (template reference) to call the "),g(12,"code"),v(13,"ToggleOpen"),_(),v(14," function to trigger or close the snackbar. "),_(),g(15,"p"),v(16,"You may add aditional functions to the same event."),_()()(),g(17,"c3m-tabs",3)(18,"c3m-tab-panel",4)(19,"p")(20,"button",5),Fe("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(21,"Open snackbar"),_()(),g(22,"c3m-snackbar",null,6)(24,"p"),v(25,"Are you sure you want to delete all the files?"),_(),g(26,"p",7)(27,"button",8),Fe("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(28,"No"),_(),g(29,"button",9),Fe("click",function(a){return Tt(r),ft(Ot(23).ToggleOpen(a))}),v(30,"Yes"),_()()()(),g(31,"c3m-tab-panel",10)(32,"pre"),v(33,'\n \n\n\nEXAMPLE OF SNACKBAR TRIGGER:\n\n

\n\nEXAMPLE OF BUTTON ACTION:\n\n\n\n '),_()()()(),g(34,"section",11)(35,"h3"),v(36,"Properties and Events"),_(),g(37,"table",12)(38,"caption"),v(39," Properties applicable to the component "),g(40,"code"),v(41,"c3m-snackbar"),_()(),g(42,"tr")(43,"th",13),v(44,"Name"),_(),g(45,"th",13),v(46,"Type"),_(),g(47,"th",13),v(48,"Default"),_(),g(49,"th",13),v(50,"Description"),_()(),g(51,"tr")(52,"td",14),v(53,"isOpen"),_(),g(54,"td",15),v(55,"boolean"),_(),g(56,"td",16),v(57,"false"),_(),g(58,"td"),v(59,'If "true", opens snackbar'),_()(),g(60,"tr")(61,"td",14),v(62,"sbTitle"),_(),g(63,"td",15),v(64,"string"),_(),g(65,"td",16),v(66,'"Confirmation"'),_(),g(67,"td"),v(68,"The title of the snackbar (screen-readers only)"),_()()(),g(69,"p")(70,"em"),v(71,"* mandatory properties"),_()()()}2&e&&(F(18),$("isActive",!0))},dependencies:[gn,Zt,Fn,ld]});const Q5=["toast"],Y5=["toast2"],Z5=["toast3"];class Nf{constructor(){this.pageTitle="Toast",this.componentName="c3m-toast",this.resourceType="Component"}openToast(e,t){t.toggleToast(e)}}Nf.\u0275fac=function(e){return new(e||Nf)},Nf.\u0275cmp=de({type:Nf,selectors:[["app-toast-page"]],viewQuery:function(e,t){if(1&e&&(io(Q5,7),io(Y5,7),io(Z5,7)),2&e){let r;ci(r=ui())&&(t.toast=r.first),ci(r=ui())&&(t.toast2=r.first),ci(r=ui())&&(t.toast3=r.first)}},decls:144,vars:3,consts:[[1,"introduction","editorial"],[1,"intro-text"],["href","https://www.w3.org/WAI/WCAG21/Understanding/timing-adjustable.html","target","_blank"],["id","generic-toast"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["aria-controls","toast3",3,"click"],["id","toast3","styleClass","slide-to-top","toastText","This is a generic message",1,"normal"],["toast3",""],["tabTitle","Application",1,"block-style"],["id","success-toast"],["aria-controls","toast",3,"click"],["id","toast","toastText","Positive feedback message"],["toast",""],["id","alert-toast"],["aria-controls","toast2",3,"click"],["id","toast2","role","alert","toastText","This is an alert message","closeBtnTitle","Close alert"],["toast2",""],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"div",0)(1,"div",1)(2,"p"),v(3,"Toasts must be used carefully, as they may pose problems to accessibility."),_(),g(4,"p"),v(5," We did our best to make it accessible and affordable, but as its message is time-sensitive, it will always violate the WCAG21 "),g(6,"a",2),v(7," 2.2.1: Timing Adjustable "),_(),v(8," criteria. "),_()(),g(9,"c3m-message-block")(10,"p"),v(11,"A toast must be a single line of text; any other element inside it will be ignored."),_()()(),g(12,"section",3)(13,"h3"),v(14,"Generic Toast with Slide Option"),_(),g(15,"c3m-tabs",4)(16,"c3m-tab-panel",5)(17,"p")(18,"button",6),Fe("click",function(a){Tt(r);const u=Ot(21);return ft(t.openToast(a,u))}),v(19," General Toast with option "),_()(),ne(20,"c3m-toast",7,8),_(),g(22,"c3m-tab-panel",9)(23,"pre"),v(24,'\n\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(25,"section",10)(26,"h3"),v(27,"Success Toast"),_(),g(28,"div",0)(29,"div",1)(30,"p"),v(31,"Optional introductory text."),_()()(),g(32,"c3m-tabs",4)(33,"c3m-tab-panel",5)(34,"p")(35,"button",11),Fe("click",function(a){Tt(r);const u=Ot(38);return ft(t.openToast(a,u))}),v(36," Success Toast (default) "),_()(),ne(37,"c3m-toast",12,13),_(),g(39,"c3m-tab-panel",9)(40,"pre"),v(41,'\n\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(42,"section",14)(43,"h3"),v(44,"Alert Toast"),_(),g(45,"div",0)(46,"c3m-message-block")(47,"p"),v(48,' The "alert" role should be used for alert or error messages only. The main difference with the role "status" is that "alert" will stop the current reading of the screen reader in order to read the toast, while "status" will wait for the end of the current reading before announcing its content. '),_()()(),g(49,"c3m-tabs",4)(50,"c3m-tab-panel",5)(51,"p")(52,"button",15),Fe("click",function(a){Tt(r);const u=Ot(55);return ft(t.openToast(a,u))}),v(53,"Alert Toast"),_()(),g(54,"c3m-toast",16,17),v(56," This is an alert message "),_()(),g(57,"c3m-tab-panel",9)(58,"pre"),v(59,'\n This is an alert message\n\n\nEXAMPLE TO TRIGGER THE TOAST\n\n\n '),_()()()(),g(60,"section",18)(61,"h3"),v(62,"Properties and Events"),_(),g(63,"table",19)(64,"caption"),v(65," Properties applicable to the component "),g(66,"code"),v(67,"c3m-toast"),_()(),g(68,"tr")(69,"th",20),v(70,"Name"),_(),g(71,"th",20),v(72,"Type"),_(),g(73,"th",20),v(74,"Default"),_(),g(75,"th",20),v(76,"Description"),_()(),g(77,"tr")(78,"td",21),v(79," *"),_(),g(80,"td",22)(81,"em"),v(82,"#xxxxx"),_()(),g(83,"td",23),v(84,"--"),_(),g(85,"td"),v(86,"Unique identifier of a toast"),_()(),g(87,"tr")(88,"td",21),v(89,"toastText *"),_(),g(90,"td",22),v(91,"string"),_(),g(92,"td",23),v(93,"--"),_(),g(94,"td"),v(95,"Content of the toast"),_()(),g(96,"tr")(97,"td",21),v(98,"role"),_(),g(99,"td",22),v(100,"string"),_(),g(101,"td",23),v(102,'"status"'),_(),g(103,"td"),v(104,' Specifies the type of message ("status" or "alert"). "status" should be used to indicate a success message. '),_()(),g(105,"tr")(106,"td",21),v(107,"delay"),_(),g(108,"td",22),v(109,"number"),_(),g(110,"td",23),v(111,"6500"),_(),g(112,"td"),v(113," Time in milliseconds to display toast. Toast will not close by itself if value is set to 0. "),_()(),g(114,"tr")(115,"td",21),v(116,"normal"),_(),g(117,"td",22),v(118,"(class)"),_(),g(119,"td",23),v(120,"--"),_(),g(121,"td"),v(122,"Changes style of the toast, to indicate a generic message"),_()(),g(123,"tr")(124,"td",21),v(125,"styleClass"),_(),g(126,"td",22),v(127,"string"),_(),g(128,"td",23),v(129,'"slide-to-bottom"'),_(),g(130,"td"),v(131,'Speficies direction of animation ("slide-to-bottom" or "slide-to-top")'),_()(),g(132,"tr")(133,"td",21),v(134,"disabled"),_(),g(135,"td",22),v(136,"string"),_(),g(137,"td",23),v(138,"--"),_(),g(139,"td"),v(140,'Disables close button if value "disabled"'),_()()(),g(141,"p")(142,"em"),v(143,"* mandatory properties"),_()()()}2&e&&(F(16),$("isActive",!0),F(17),$("isActive",!0),F(17),$("isActive",!0))},dependencies:[gn,Zt,Fn,cd]});class Rf{constructor(){this.pageTitle="Chip",this.componentName="c3m-chip",this.resourceType="Component"}}Rf.\u0275fac=function(e){return new(e||Rf)},Rf.\u0275cmp=de({type:Rf,selectors:[["app-chip-page"]],decls:83,vars:4,consts:[["id","del-chip"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["label","Chip example label"],["tabTitle","Application",1,"block-style"],["id","nondel-chip"],["label","Keyword",3,"deletable"],["id","link-chip"],["label","Refers to Home Page","linkUrl","/"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Deletable Chip"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2),ne(5,"c3m-chip",3),_(),g(6,"c3m-tab-panel",4)(7,"pre"),v(8,'\n '),_()()()(),g(9,"section",5)(10,"h3"),v(11,"Non-deletable Chip"),_(),g(12,"c3m-tabs",1)(13,"c3m-tab-panel",2),ne(14,"c3m-chip",6),_(),g(15,"c3m-tab-panel",4)(16,"pre"),v(17,'\n '),_()()()(),g(18,"section",7)(19,"h3"),v(20,"Chip with Link"),_(),g(21,"c3m-tabs",1)(22,"c3m-tab-panel",2),ne(23,"c3m-chip",8),_(),g(24,"c3m-tab-panel",4)(25,"pre"),v(26,'\n '),_()()()(),g(27,"section",9)(28,"h3"),v(29,"Properties and Events"),_(),g(30,"table",10)(31,"caption"),v(32," Properties applicable to the component "),g(33,"code"),v(34,"c3m-chip"),_()(),g(35,"tr")(36,"th",11),v(37,"Name"),_(),g(38,"th",11),v(39,"Type"),_(),g(40,"th",11),v(41,"Default"),_(),g(42,"th",11),v(43,"Description"),_()(),g(44,"tr")(45,"td",12),v(46,"label *"),_(),g(47,"td",13),v(48,"string"),_(),g(49,"td",14),v(50,'""'),_(),g(51,"td"),v(52,"Label of chip"),_()(),g(53,"tr")(54,"td",12),v(55,"linkUrl"),_(),g(56,"td",13),v(57,"string"),_(),g(58,"td",14),v(59,'""'),_(),g(60,"td"),v(61,"Adds link with given absolute URL to chip's label"),_()(),g(62,"tr")(63,"td",12),v(64,"[deletable]"),_(),g(65,"td",13),v(66,"boolean"),_(),g(67,"td",14),v(68,"true"),_(),g(69,"td"),v(70,"Adds delete button if true"),_()(),g(71,"tr")(72,"td",12),v(73,"[disabled]"),_(),g(74,"td",13),v(75,"boolean"),_(),g(76,"td",14),v(77,"false"),_(),g(78,"td"),v(79,'Disables close button if value "disabled"'),_()()(),g(80,"p")(81,"em"),v(82,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0),F(9),$("isActive",!0),F(1),$("deletable",!1),F(8),$("isActive",!0))},dependencies:[gn,Zt,ud]});class kf{constructor(){this.pageTitle="Dropdown",this.componentName="c3m-dropdown/ c3m-dropdown-item",this.resourceType="Component"}}kf.\u0275fac=function(e){return new(e||kf)},kf.\u0275cmp=de({type:kf,selectors:[["app-dropdown-page"]],decls:128,vars:4,consts:[["id","drop"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["label","Label of dropdown"],["tabTitle","Application",1,"block-style"],[1,"explain"],["id","drop-icon"],["imgSrc","bt-menu","imgAlt","Describe the nature of the actions"],[1,"introduction","editorial"],[3,"isWarning"],["ariaLabel","Describe the nature of the actions",1,"others"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Dropdown with label"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"c3m-dropdown",3)(6,"c3m-dropdown-item")(7,"button"),v(8,"Action 1"),_()(),g(9,"c3m-dropdown-item")(10,"button"),v(11,"Action 2"),_()()()(),g(12,"c3m-tab-panel",4)(13,"pre"),v(14,'\n \n \n \n\n '),_(),g(15,"div",5)(16,"p")(17,"code"),v(18,"ng-content"),_(),v(19," must be a link or a button only "),_()()()()(),g(20,"section",6)(21,"h3"),v(22,"Dropdown with icon"),_(),g(23,"c3m-tabs",1)(24,"c3m-tab-panel",2)(25,"c3m-dropdown",7)(26,"c3m-dropdown-item")(27,"button"),v(28,"Action 1"),_()(),g(29,"c3m-dropdown-item")(30,"button"),v(31,"Action 2"),_()()()(),g(32,"c3m-tab-panel",4)(33,"pre"),v(34,'\n \n \n \n\n '),_()()()(),g(35,"section",6)(36,"h3"),v(37,'Dropdown "Other Actions"'),_(),g(38,"div",8)(39,"c3m-message-block",9)(40,"p"),v(41," In this case, it is mandatory to add a "),g(42,"code"),v(43,"altLabel"),_(),v(44," value to inform the nature of the actions in the dropdown. "),_()()(),g(45,"c3m-tabs",1)(46,"c3m-tab-panel",2)(47,"c3m-dropdown",10)(48,"c3m-dropdown-item")(49,"button"),v(50,"Action 1"),_()(),g(51,"c3m-dropdown-item")(52,"button"),v(53,"Action 2"),_()()()(),g(54,"c3m-tab-panel",4)(55,"pre"),v(56,'\n \n \n \n\n '),_()()()(),g(57,"section",11)(58,"h3"),v(59,"Properties and Events"),_(),g(60,"table",12)(61,"caption"),v(62," Properties applicable to the component "),g(63,"code"),v(64,"c3m-dropdown"),_()(),g(65,"tr")(66,"th",13),v(67,"Name"),_(),g(68,"th",13),v(69,"Type"),_(),g(70,"th",13),v(71,"Default"),_(),g(72,"th",13),v(73,"Description"),_()(),g(74,"tr")(75,"td",14),v(76,"label"),_(),g(77,"td",15),v(78,"string"),_(),g(79,"td",16),v(80,'""'),_(),g(81,"td"),v(82,"Defines label for dropdown trigger button"),_()(),g(83,"tr")(84,"td",14),v(85,"imgSrc"),_(),g(86,"td",15),v(87,"string"),_(),g(88,"td",16),v(89,'""'),_(),g(90,"td"),v(91,' Replaces label by the image indicated by its Id (should be listed in "/assets/img/sprite.svg"). '),_()(),g(92,"tr")(93,"td",14),v(94,"imgAlt"),_(),g(95,"td",15),v(96,"string"),_(),g(97,"td",16),v(98,'""'),_(),g(99,"td"),v(100," Textual alternative to image. "),g(101,"strong"),v(102,"Mandatory"),_(),v(103," if "),g(104,"code"),v(105,"imgSrc"),_(),v(106," is set. "),_()(),g(107,"tr")(108,"td",14),v(109,"to-left"),_(),g(110,"td",15),v(111,"(class)"),_(),g(112,"td",16),v(113,"--"),_(),g(114,"td"),v(115,"Allows dropdown menu to open towards left."),_()(),g(116,"tr")(117,"td",14),v(118,"others"),_(),g(119,"td",15),v(120,"(class)"),_(),g(121,"td",16),v(122,"--"),_(),g(123,"td"),v(124,'Replaces label and arrow by a "kebab" icon'),_()()(),g(125,"p")(126,"em"),v(127,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0),F(20),$("isActive",!0),F(15),$("isWarning",!0),F(7),$("isActive",!0))},dependencies:[gn,Zt,Fn,dd,hd]});class Of{constructor(){this.pageTitle="Icon Button",this.componentName="c3m-icon-button",this.resourceType="Component"}}Of.\u0275fac=function(e){return new(e||Of)},Of.\u0275cmp=de({type:Of,selectors:[["app-icon-bt-page"]],decls:86,vars:1,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"buttons-bar","out-form"],["aName","Open Menu","svgId","bt-menu"],["rLink","/","aName","Information","svgId","info",1,"discrete"],["aName","Delete","svgId","bt-delete",1,"minimal"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Icon Buttons"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"p",3),ne(6,"c3m-icon-button",4)(7,"c3m-icon-button",5)(8,"c3m-icon-button",6),_()(),g(9,"c3m-tab-panel",7)(10,"pre"),v(11,' \n \n\n \n \n\n \n \n '),_()()()(),g(12,"section",8)(13,"h3"),v(14,"Properties and Events"),_(),g(15,"table",9)(16,"caption"),v(17," Properties applicable to the component "),g(18,"code"),v(19,"c3m-icon-button"),_()(),g(20,"tr")(21,"th",10),v(22,"Name"),_(),g(23,"th",10),v(24,"Type"),_(),g(25,"th",10),v(26,"Default"),_(),g(27,"th",10),v(28,"Description"),_()(),g(29,"tr")(30,"td",11),v(31,"aName *"),_(),g(32,"td",12),v(33,"string"),_(),g(34,"td",13),v(35,'"Action"'),_(),g(36,"td"),v(37,"Accessible name for the button (gives text alternative to icon)"),_()(),g(38,"tr")(39,"td",11),v(40,"svgId *"),_(),g(41,"td",12),v(42,"string"),_(),g(43,"td",13),v(44,'""'),_(),g(45,"td"),v(46,'Id of the svg (should be listed in "/assets/img/sprite.svg")'),_()(),g(47,"tr")(48,"td",11),v(49,"rLink"),_(),g(50,"td",12),v(51,"string"),_(),g(52,"td",13),v(53,'""'),_(),g(54,"td"),v(55,"If a value is given, replaces button by a link and adds value as an absolute URL"),_()(),g(56,"tr")(57,"td",11),v(58,"disabled"),_(),g(59,"td",12),v(60,"string"),_(),g(61,"td",13),v(62,'""'),_(),g(63,"td"),v(64,'Disables button if value is "disabled'),_()(),g(65,"tr")(66,"td",11),v(67,"discrete"),_(),g(68,"td",12),v(69,"(class)"),_(),g(70,"td",13),v(71,"--"),_(),g(72,"td"),v(73,"Icon only style"),_()(),g(74,"tr")(75,"td",11),v(76,"minimal"),_(),g(77,"td",12),v(78,"(class)"),_(),g(79,"td",13),v(80,"--"),_(),g(81,"td"),v(82,"Icon only, smaller; suitable for actions in tables"),_()()(),g(83,"p")(84,"em"),v(85,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0))},dependencies:[gn,Zt,Kl]});class Ff{constructor(){this.pageTitle="Progress Spinner",this.componentName="c3m-progress-spinner",this.resourceType="Component"}insertContent(e){e.progressText="Loading..."}stopProgress(e){setTimeout(function(){e.isOpen=!1,e.progressText=""},3e3)}}Ff.\u0275fac=function(e){return new(e||Ff)},Ff.\u0275cmp=de({type:Ff,selectors:[["app-progress-spinner-page"]],decls:51,vars:2,consts:[["id","general"],[1,"introduction","editorial"],["href","https://angular.io/guide/template-reference-variables","target","_blank"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[3,"click"],["process1",""],["tabTitle","Application",1,"block-style"],[3,"isWarning"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){if(1&e){const r=qn();g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"div",1)(4,"c3m-message-block")(5,"p"),v(6," Giving a "),g(7,"a",2),v(8," template variable "),_(),v(9," when calling the component allows you to trigger or stop the spinner. "),_()()(),g(10,"c3m-tabs",3)(11,"c3m-tab-panel",4)(12,"button",5),Fe("click",function(a){Tt(r);const u=Ot(15);return t.insertContent(u),t.stopProgress(u),ft(u.ToggleOpen(a))}),v(13," Open spinner "),_(),ne(14,"c3m-progress-spinner",null,6),_(),g(16,"c3m-tab-panel",7)(17,"pre"),v(18,'\n\n\nEXAMPLE TO TRIGGER THE SPINNER\n\n\n\ninsertContent(spinner: ProgressSpinnerComponent) {\n spinner.progressText = "Loading...";\n}\n\n// Demo for progress spinner\n// Sends signal to stop progress and close spinner\nstopProgress(el: any) {\n setTimeout(function () {\n el.isOpen = false;\n el.progressText = "";\n }, 3000);\n}\n '),_(),g(19,"c3m-message-block",8)(20,"p"),v(21," The text to be announced by screen readers must be injected dynamically to the component. "),_()()()()(),g(22,"section",9)(23,"h3"),v(24,"Properties and Events"),_(),g(25,"table",10)(26,"caption"),v(27," Properties applicable to the component "),g(28,"code"),v(29,"c3m-progress-spinner"),_()(),g(30,"tr")(31,"th",11),v(32,"Name"),_(),g(33,"th",11),v(34,"Type"),_(),g(35,"th",11),v(36,"Default"),_(),g(37,"th",11),v(38,"Description"),_()(),g(39,"tr")(40,"td",12),v(41,"progressText"),_(),g(42,"td",13),v(43,"string"),_(),g(44,"td",14),v(45,"--"),_(),g(46,"td"),v(47,"Dynamic text to be announced by screen readers."),_()()(),g(48,"p")(49,"em"),v(50,"* mandatory properties"),_()()()}2&e&&(F(11),$("isActive",!0),F(8),$("isWarning",!0))},dependencies:[gn,Zt,Fn,pd]});class Lf{constructor(){this.pageTitle="Text Ellipsis",this.componentName="c3m-text-ellipsis",this.resourceType="Component"}}Lf.\u0275fac=function(e){return new(e||Lf)},Lf.\u0275cmp=de({type:Lf,selectors:[["app-text-ellipsis-page"]],decls:44,vars:1,consts:[["id","general"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],[1,"editorial"],["tabTitle","Application",1,"block-style"],["id","props-n-events"],[1,"adaptable"],["scope","col"],["data-head","Name"],["data-head","Type"],["data-head","Default"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"General Component"),_(),g(3,"c3m-tabs",1)(4,"c3m-tab-panel",2)(5,"div",3)(6,"p")(7,"c3m-text-ellipsis"),v(8," Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. "),_()(),g(9,"p")(10,"c3m-text-ellipsis"),v(11,"Lorem ipsum dolor sit amet, consectetur adip"),_()()()(),g(12,"c3m-tab-panel",4)(13,"pre"),v(14,"

\n \n Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n \n

\n\n

\n \n Lorem ipsum dolor sit amet, consectetur adip\n \n

\n "),_()()()(),g(15,"section",5)(16,"h3"),v(17,"Properties and Events"),_(),g(18,"table",6)(19,"caption"),v(20," Properties applicable to the component "),g(21,"code"),v(22,"c3m-text-ellipsis"),_()(),g(23,"tr")(24,"th",7),v(25,"Name"),_(),g(26,"th",7),v(27,"Type"),_(),g(28,"th",7),v(29,"Default"),_(),g(30,"th",7),v(31,"Description"),_()(),g(32,"tr")(33,"td",8),v(34,"[textCount]"),_(),g(35,"td",9),v(36,"number"),_(),g(37,"td",10),v(38,"55"),_(),g(39,"td"),v(40,"Specifies maximum number of characters to be displayed"),_()()(),g(41,"p")(42,"em"),v(43,"* mandatory properties"),_()()()),2&e&&(F(4),$("isActive",!0))},dependencies:[gn,Zt,fd]});class Bf{constructor(){this.pageTitle="Tooltip",this.componentName="c3mTooltip",this.resourceType="Directive"}}Bf.\u0275fac=function(e){return new(e||Bf)},Bf.\u0275cmp=de({type:Bf,selectors:[["app-tooltip-page"]],decls:36,vars:1,consts:[[1,"introduction","editorial"],[1,"intro-text"],["label","Demo and Code",1,"block-style"],["tabTitle","Demo",1,"block-style",3,"isActive"],["c3mTooltip",""],["role","img","width","24","height","24","viewbox","0 0 24 24",2,"fill","#fff"],["href","./assets/img/sprite.svg#bt-delete"],["tabTitle","Application",1,"block-style"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3," The "),g(4,"code"),v(5,"c3mTooltip"),_(),v(6," directive can be used to display the textual alternative of a visual element when it meets one of these conditions: "),_(),g(7,"ul")(8,"li"),v(9," the "),g(10,"code"),v(11,"title"),_(),v(12," element of a svg, or "),_(),g(13,"li"),v(14,"the inner text of the element the directive selector is applied to"),_()(),g(15,"p"),v(16," To apply it, just add the "),g(17,"code"),v(18,"c3mTooltip"),_(),v(19," directive selector to the direct parent of the "),g(20,"code"),v(21,"svg"),_(),v(22," element or to the "),g(23,"code"),v(24,"svg"),_(),v(25," element itself. "),_()()(),g(26,"c3m-tabs",2)(27,"c3m-tab-panel",3)(28,"p")(29,"button",4),qe(),g(30,"svg",5),ne(31,"use",6),_(),v(32," This is the content of the button "),_()()(),it(),g(33,"c3m-tab-panel",7)(34,"pre"),v(35,'\n '),_()()()),2&e&&(F(27),$("isActive",!0))},dependencies:[gn,Zt,Wl],styles:["button[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;gap:5rem;overflow:hidden;width:37px;height:36px;padding:0;white-space:nowrap;z-index:5}svg[_ngcontent-%COMP%]{flex:0 0 24px;margin-left:7px}"]});class $f{constructor(){this.pageTitle="Configuring CreamNg"}}$f.\u0275fac=function(e){return new(e||$f)},$f.\u0275cmp=de({type:$f,selectors:[["app-config-page"]],decls:55,vars:0,consts:[["id","config",1,"editorial"],[1,"command"],[1,"highlight"],["routerLink","/portal/custom-design"],["id","internationalisation",1,"editorial"],["href","https://angular.io/guide/i18n-common-add-package","target","blank_"],["href","https://angular.io/guide/i18n-common-translation-files#extract-the-source-language-file"],["href","https://angular.io/guide/i18n-common-translation-files#create-a-translation-file-for-each-language"],["href","https://angular.io/guide/i18n-common-translation-files#translate-each-translation-file"],["href","https://angular.io/guide/i18n-common-merge"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Adding CreamNg Assets"),_(),g(3,"p"),v(4," Before using the components, you must import "),g(5,"strong"),v(6,"CreamNg"),_(),v(7," main stylesheet \u2014 general default values for the library \u2014 and the CreamNg icons. "),_(),g(8,"p"),v(9," In the "),g(10,"em"),v(11,"angular.json"),_(),v(12,' file of your project, change the value of the "style" keyword as shown hereafter: '),_(),g(13,"pre",1),v(14,'\n"styles": [\n "/node_modules/ngx-cream-lib/assets/css/main.css"\n],\n\n '),_(),g(15,"p"),v(16,' You must also add the following lines to the "assets" keyword, in order to import the icons: '),_(),g(17,"div",1)(18,"pre"),v(19,' "assets": [\n "src/favicon.ico",\n "src/assets",\n '),_(),g(20,"pre",2),v(21,' {\n "glob": "**/*",\n "input": "./projects/ngx-cream-lib/assets",\n "output": "/assets/"\n }\n '),_(),g(22,"pre"),v(23,"],"),_()(),g(24,"p"),v(25,"This will allow you to use your own assets as much as the library's."),_(),g(26,"c3m-message-block")(27,"p"),v(28," If you want to modify the default design, please refer to the "),g(29,"a",3),v(30,"Custom Design"),_(),v(31," page. "),_()()(),g(32,"section",4)(33,"h3"),v(34,"Internationalisation"),_(),g(35,"p")(36,"strong"),v(37,"CreamNg"),_(),v(38," components use the i18n system for internationalisation. Projects that need other languages other than en-US can do the following to translate CreamNg components: "),_(),g(39,"ul")(40,"li")(41,"a",5),v(42," Add the localize package "),_()(),g(43,"li")(44,"a",6),v(45," Extract the source language file "),_()(),g(46,"li")(47,"a",7),v(48," Create a translation file for each language "),_()(),g(49,"li")(50,"a",8),v(51," Translate each translation file "),_()(),g(52,"li")(53,"a",9),v(54," Merge translations into the application "),_()()()())},dependencies:[ps,Fn],styles:["c3m-message-block[_ngcontent-%COMP%]{display:block;margin-top:2rem}"]});class Vf{constructor(){this.pageTitle="Design Basics"}ngOnInit(){this.buildPalette()}buildPalette(){const e=document.querySelectorAll("dl.palette dt");for(let t=0;t"),_(),v(16," with "),g(17,"code",9),v(18,"type"),_(),v(19," attribute "),_(),g(20,"p",5)(21,"button",10),v(22,"Confirm"),_(),g(23,"button",11),v(24,"Optional Action"),_(),g(25,"button",12),v(26,"Cancel"),_()(),g(27,"h4",4),v(28," Element "),g(29,"code",9),v(30,"\n \n \n

\n\n

\n \n \n \n

\n\n

\n \n \n \n

\n '),_(),g(48,"div",20)(49,"p"),v(50," For better layout, group the different actions with a "),g(51,"code"),v(52,"

"),_(),v(53," element with the class "),g(54,"em"),v(55,'"buttons-bar"'),_()()()()()(),g(56,"section",21)(57,"h3"),v(58,"Inputs"),_(),g(59,"div",22)(60,"c3m-message-block")(61,"p"),v(62," For a complete list of input types, consult "),g(63,"a",23),v(64,"Html5 Elements"),_()()()(),g(65,"c3m-tabs",24)(66,"c3m-tab-panel",25)(67,"div",26)(68,"div",27)(69,"p")(70,"label",28),v(71,"Address"),_(),ne(72,"input",29),_()(),g(73,"h4",4),v(74,"Read-only"),_(),g(75,"div",27)(76,"p")(77,"label",30),v(78,"Name"),_(),ne(79,"input",31),_()(),g(80,"h4",4),v(81,"Required"),_(),g(82,"div",27)(83,"p")(84,"label",32),v(85,"Name"),_(),ne(86,"input",33),_()(),g(87,"h4",4),v(88,"Select"),_(),g(89,"div",27)(90,"p")(91,"label",34),v(92,"Country"),_(),g(93,"select",35)(94,"option"),v(95,"Brazil"),_(),g(96,"option"),v(97,"France"),_(),g(98,"option"),v(99,"Germany"),_()()()()()(),g(100,"c3m-tab-panel",19)(101,"pre"),v(102,'

\n

\n\n\n

\n
\n\n

Read-only

\n
\n

\n\n\n

\n
\n\n

Required

\n
\n

\n\n\n

\n
\n\n

Input Error

\n
\n

\n\n\n\n\n Code should comprise 5 digits only\n\n

\n
\n\n

Input Help

\n
\n

\n\n\n\n Code comprises 5 digits\n\n

\n
\n '),_(),g(103,"div",20)(104,"p")(105,"strong"),v(106," Always group form elements with a "),g(107,"code"),v(108,"div"),_(),v(109,' of class "input-group". '),_()()()()()()),2&e&&(F(4),$("isActive",!0),F(62),$("isActive",!0))},dependencies:[gn,Zt,Fn]});class Uf{constructor(){this.pageTitle="Iconography"}}Uf.\u0275fac=function(e){return new(e||Uf)},Uf.\u0275cmp=de({type:Uf,selectors:[["app-iconography-page"]],decls:183,vars:0,consts:[["id","sec-introduction",1,"editorial"],["href","/portal/custom-design"],["id","sec-decorative-images",1,"editorial"],[1,"command"],["id","sec-non-decorative-images",1,"editorial"],["id","sec-svgsprite",1,"editorial"],[1,"icons","foreground"],["width","24","height","24"],["href","./assets/img/sprite.svg#pic-arrow"],["href","./assets/img/sprite.svg#pic-kebab"],["href","./assets/img/sprite.svg#bt-menu"],["href","./assets/img/sprite.svg#bt-delete"],["href","./assets/img/sprite.svg#accordion-down"],["href","./assets/img/sprite.svg#info"],["href","./assets/img/sprite.svg#error"],["href","./assets/img/sprite.svg#bt-delete-tab"],["href","./assets/img/sprite.svg#bt-scrollLeft"],["href","./assets/img/sprite.svg#bt-scrollRight"],["href","./assets/img/sprite.svg#bt-close"],["href","./assets/img/sprite.svg#bt-plus"],["href","./assets/img/sprite.svg#bt-less"],["href","./assets/img/sprite.svg#bt-copy"],["href","./assets/img/sprite.svg#star"],[1,"explain"],["href","https://remixicon.com/","target","_blank"]],template:function(e,t){1&e&&(g(0,"section",0)(1,"h3"),v(2,"Introduction"),_(),g(3,"p"),v(4," This library uses exclusively "),g(5,"strong"),v(6,"svg images"),_(),v(7," for their high level of quality, easy manipulation and their light weight. "),_(),g(8,"p"),v(9,"For maximum flexibility and performance, we use svg images in three different ways:"),_(),g(10,"ul")(11,"li")(12,"strong"),v(13,"Svg image files:"),_(),v(14," some complex images are stored as svg files in the library "),g(15,"em"),v(16,"./assets/img"),_(),v(17," folder. This folder holds mostly the application logo in different styles; "),_(),g(18,"li")(19,"strong"),v(20,"Svg \u201csprite\u201d:"),_(),v(21," most of the simple icons are listed in what we call a svg \u201csprite\u201d, which is a list of inline svgs. This list gives us a total flexibility in terms of accessibility and style, allowing svg icons to be referred to from anywhere in the application. "),_(),g(22,"li")(23,"strong"),v(24,"Svg backgrounds:"),_(),v(25," some inline svgs are converted to data URI to be used as background images. This technique allows us to change svg images through HTML classes. "),_()(),g(26,"p"),v(27," The choice of the way we insert the svg will depend on the role it will have in the application and the kind of style flexibility they will need. "),_()(),g(28,"c3m-message-block")(29,"p"),v(30,' Refer to the " '),g(31,"a",1),v(32,"Custom Design"),_(),v(33,' " page to know how to modify CreamNg icons or how to add your own svg sprite. '),_()(),g(34,"section",2)(35,"h3"),v(36,"Decorative Images"),_(),g(37,"p"),v(38," Pure decorative images \u2014 images that don't carry information \u2014 may be referred in the svg sprite or encoded in data URI to be used as background. If the icon should be transformed based on the component state, it is easier to do that if the icon is called as background. "),_(),g(39,"p"),v(40," For example, in the case of radio or check boxes, the svg images that replace the native elements are stored as background images so they can be easily changed if the radio/check box is selected or not. If this is not the case \u2014 the image will not be transformed by a specific state \u2014, you may use an icon listed on the svg sprite. To do so, you have to reference the svg by its ID, with the "),g(41,"code"),v(42,"use"),_(),v(43," element: "),_(),g(44,"pre",3),v(45,'\n '),_(),g(46,"c3m-message-block")(47,"p"),v(48," Notice that, as the image carries no information, we may hide it from screen readers by setting the "),g(49,"code"),v(50,"aria-hidden"),_(),v(51,' attribute as "true". '),_()()(),g(52,"section",4)(53,"h3"),v(54,"Non-decorative images"),_(),g(55,"p"),v(56,"Images that carry information, i.e. they are not purely decorative, must appear as:"),_(),g(57,"ul")(58,"li"),v(59," image files properly referenced by the "),g(60,"code"),v(61,"img"),_(),v(62," element and with a "),g(63,"strong"),v(64," mandatory "),g(65,"code"),v(66,"alt"),_(),v(67," attribute "),_(),v(68," to describe its purpose or meaning; "),_(),g(69,"li"),v(70," svg sprite image called with the "),g(71,"code"),v(72,"use"),_(),v(73," element, with a "),g(74,"strong"),v(75," mandatory "),g(76,"code"),v(77,"title"),_(),v(78," element "),_(),v(79," describing its meaning or purpose: "),_()(),g(80,"pre",3),v(81,'\n Favorites\n \n\n '),_(),g(82,"c3m-message-block")(83,"p"),v(84," The "),g(85,"code"),v(86,"aria-labelledby"),_(),v(87," attribute is needed to ensure that the accessible name of the image will be announced properly by screen readers. "),_(),g(88,"p"),v(89," Adding "),g(90,"code"),v(91,"role=img"),_(),v(92," helps identifying the svg as a graphic (and some bug with Safari). "),_()()(),g(93,"section",5)(94,"h3"),v(95,"Sprite SVG"),_(),g(96,"p"),v(97," Here after is a list of the current icons listed in the "),g(98,"em"),v(99,"sprite.svg"),_(),v(100," file (notice that all icons are 24px x 24px): "),_(),g(101,"ul",6)(102,"li"),qe(),g(103,"svg",7),ne(104,"use",8),_(),it(),g(105,"em"),v(106,"pic-arrow"),_()(),g(107,"li"),qe(),g(108,"svg",7),ne(109,"use",9),_(),it(),g(110,"em"),v(111,"pic-kebab"),_()(),g(112,"li"),qe(),g(113,"svg",7),ne(114,"use",10),_(),it(),g(115,"em"),v(116,"bt-menu"),_()(),g(117,"li"),qe(),g(118,"svg",7),ne(119,"use",11),_(),it(),g(120,"em"),v(121,"bt-delete"),_()(),g(122,"li"),qe(),g(123,"svg",7),ne(124,"use",12),_(),it(),g(125,"em"),v(126,"accordion-down"),_()(),g(127,"li"),qe(),g(128,"svg",7),ne(129,"use",13),_(),it(),g(130,"em"),v(131,"info"),_()(),g(132,"li"),qe(),g(133,"svg",7),ne(134,"use",14),_(),it(),g(135,"em"),v(136,"error"),_()(),g(137,"li"),qe(),g(138,"svg",7),ne(139,"use",15),_(),it(),g(140,"em"),v(141,"bt-delete-tab"),_()(),g(142,"li"),qe(),g(143,"svg",7),ne(144,"use",16),_(),it(),g(145,"em"),v(146,"bt-scrollLeft"),_()(),g(147,"li"),qe(),g(148,"svg",7),ne(149,"use",17),_(),it(),g(150,"em"),v(151,"bt-scrollRight"),_()(),g(152,"li"),qe(),g(153,"svg",7),ne(154,"use",18),_(),it(),g(155,"em"),v(156,"bt-close"),_()(),g(157,"li"),qe(),g(158,"svg",7),ne(159,"use",19),_(),it(),g(160,"em"),v(161,"bt-plus"),_()(),g(162,"li"),qe(),g(163,"svg",7),ne(164,"use",20),_(),it(),g(165,"em"),v(166,"bt-less"),_()(),g(167,"li"),qe(),g(168,"svg",7),ne(169,"use",21),_(),it(),g(170,"em"),v(171,"bt-copy"),_()(),g(172,"li"),qe(),g(173,"svg",7),ne(174,"use",22),_(),it(),g(175,"em"),v(176,"star"),_()()(),g(177,"div",23)(178,"p"),v(179," Most of the icons used are from "),g(180,"a",24),v(181,"Remix Icon"),_(),v(182,' , "a set of open-source neutral-style system symbols". '),_()()())},dependencies:[Fn],styles:["ul.icons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1rem;max-width:100%;list-style-type:none;padding:1rem;margin:2rem 0 0;border-radius:var(--radius)}.foreground[_ngcontent-%COMP%]{color:var(--text-inv);background-color:var(--main-color)}.icon-bt[_ngcontent-%COMP%]{fill:var(--text-inv)}ul.icons[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:0}ul.icons[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex-basis:100px;display:flex;flex-direction:column;align-items:center;gap:.5em;text-align:center;padding:.5rem;border:1px solid var(--text-inv);border-radius:calc(var(--radius) / 2)}ul.icons[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:.7em;margin-top:auto}div.editorial[_ngcontent-%COMP%]{margin-bottom:2rem}"]});class Hf{constructor(){this.pageTitle="Focus on Page Change",this.componentName="c3mFocusOnPageChange",this.resourceType="Directive"}}Hf.\u0275fac=function(e){return new(e||Hf)},Hf.\u0275cmp=de({type:Hf,selectors:[["app-focus-on-change-page"]],decls:15,vars:0,consts:[[1,"introduction","editorial"],[1,"intro-text"]],template:function(e,t){1&e&&(g(0,"div",0)(1,"div",1)(2,"p"),v(3," The "),g(4,"code"),v(5,"c3mFocusOnPageChange"),_(),v(6," directive allows you to control focus when your page view changes. This ensures that screen-readers will properly announce the view change, and will put the user in correct context. "),_(),g(7,"p"),v(8," To apply it, just add the "),g(9,"code"),v(10,"c3mFocusOnPageChange"),_(),v(11," directive selector to the element that should get focus when the new view is loaded \u2014 usually in the "),g(12,"code"),v(13,"header"),_(),v(14," element of your application or, like in our portal, in the page title. "),_()()())}});const X5=[{path:"portal",component:Sf,children:[{path:"accordion",component:Ef,data:{title:"Accordion Component"}},{path:"tabs",component:Df,data:{title:"Tabs Component"}},{path:"messages",component:Tf,data:{title:"Messages Component"}},{path:"custom-design",component:If,data:{title:"Custom Design"}},{path:"getting-started",component:Af,data:{title:"Getting Started"}},{path:"collapsible",component:xf,data:{title:"Collapsible Block"}},{path:"modal",component:Mf,data:{title:"Modal"}},{path:"snackbar",component:Pf,data:{title:"Snackbar"}},{path:"toast",component:Nf,data:{title:"Toast"}},{path:"chip",component:Rf,data:{title:"Chip"}},{path:"dropdown",component:kf,data:{title:"Dropdown"}},{path:"icon-button",component:Of,data:{title:"Icon Button"}},{path:"progress-spinner",component:Ff,data:{title:"Progress Spinner"}},{path:"text-ellipsis",component:Lf,data:{title:"Text Ellipsis"}},{path:"tooltip",component:Bf,data:{title:"Tooltip Directive"}},{path:"config",component:$f,data:{title:"Configuring CreamNg"}},{path:"design-basics",component:Vf,data:{title:"CreamNg Design Basics"}},{path:"iconography",component:Uf,data:{title:"Iconography"}},{path:"form-design",component:jf,data:{title:"Form Design"}},{path:"focus-on-page-change",component:Hf,data:{title:"Focus on Page Change Directive"}}]},{path:"home",component:wf,data:{title:"CreamNg"}},{path:"",redirectTo:"home",pathMatch:"full"}];class md{}md.\u0275fac=function(e){return new(e||md)},md.\u0275mod=ki({type:md}),md.\u0275inj=ot({imports:[M0.forRoot(X5),M0]});const J5=["mainNav"],e4=["navLink"],t4=["levelOne"];function n4(n,e){if(1&n){const t=qn();g(0,"li")(1,"a",11,12),Fe("click",function(){return Tt(t),ft(c(2).closeNavCondition())})("blur",function(s){return Tt(t),ft(c(2).isLast(s))}),v(4),_()()}if(2&n){const t=e.$implicit,r=Ot(3);F(1),$("routerLink",t.url),ht("aria-current",r.isActive?"page":null),F(3),Ht(" ",t.label," ")}}function i4(n,e){if(1&n){const t=qn();g(0,"li")(1,"button",6,7),Fe("click",function(s){return Tt(t),ft(c().openSection(s))}),qe(),g(3,"svg",8),ne(4,"use",9),_(),v(5),_(),it(),g(6,"ul",10),$e(7,n4,5,3,"li",4),_()()}if(2&n){const t=e.$implicit,r=c();F(1),ht("aria-controls",r.navSectionID),F(4),Ht(" ",t.label," "),F(1),$("id",r.navSectionID),F(1),$("ngForOf",r.getSubData(t.label))}}function r4(n,e){if(1&n){const t=qn();g(0,"li")(1,"a",11,12),Fe("click",function(){return Tt(t),ft(c(2).closeNavCondition())})("blur",function(s){return Tt(t),ft(c(2).isLast(s))}),v(4),_()()}if(2&n){const t=e.$implicit,r=Ot(3);F(1),$("routerLink",t.url),ht("aria-current",r.isActive?"page":null),F(3),Ht(" ",t.label," ")}}function s4(n,e){if(1&n){const t=qn();g(0,"li")(1,"button",6,7),Fe("click",function(s){return Tt(t),ft(c().openSection(s))}),qe(),g(3,"svg",8),ne(4,"use",9),_(),v(5),_(),it(),g(6,"ul",10),$e(7,r4,5,3,"li",4),_()()}if(2&n){const t=e.$implicit,r=c();F(1),ht("aria-controls",r.navSectionID),F(4),Ht(" ",t.label," "),F(1),$("id",r.navSectionID),F(1),$("ngForOf",r.getSubDataGuide(t.label))}}class zf{constructor(e,t,r){this.renderer=e,this.cdr=t,this.Location=r,this.isExpanded=!1,this.navSectionID="",this.navData=[{label:"Blocks",subs:[{label:"Accordion",url:"portal/accordion"},{label:"Collapsible",url:"portal/collapsible"},{label:"Modal",url:"portal/modal"},{label:"Tabs",url:"portal/tabs"}]},{label:"Feedback",subs:[{label:"Messages",url:"portal/messages"},{label:"Snackbar",url:"portal/snackbar"},{label:"Toast",url:"portal/toast"}]},{label:"Utilities",subs:[{label:"Chip",url:"portal/chip"},{label:"Dropdown",url:"portal/dropdown"},{label:"Icon Button",url:"portal/icon-button"},{label:"Progress Spinner",url:"portal/progress-spinner"},{label:"Text Ellipsis",url:"portal/text-ellipsis"}]},{label:"Directives",subs:[{label:"Focus on Page Change",url:"portal/focus-on-page-change"},{label:"Tooltip",url:"portal/tooltip"}]}],this.navDataGuide=[{label:"CreamNg UX/ UI",subs:[{label:"Design Basics",url:"portal/design-basics"},{label:"Iconography",url:"portal/iconography"},{label:"Form Design",url:"portal/form-design"}]},{label:"Setup & Help",subs:[{label:"Getting Started",url:"portal/getting-started"},{label:"Configuring CreamNg",url:"portal/config"},{label:"Custom Design",url:"portal/custom-design"}]}]}ngOnInit(){this.navSectionID="navSection"+this.randomID()}ngAfterViewInit(){this.links.forEach(e=>{if(e.nativeElement.getAttribute("href")===this.Location.path()){const t=e.nativeElement.parentNode.parentNode.previousSibling;t.setAttribute("aria-expanded","true"),t.classList.add("opened")}}),window.innerWidth>=1e3?setTimeout(()=>{this.openNav()},500):setTimeout(()=>{this.closeNav()},500),this.cdr.detectChanges()}routeSkipLink(e){return`${this.Location.path()}#${e}`}onResize(){window.innerWidth>=1e3?this.openNav():this.closeNav(),this.cdr.detectChanges()}keyEvent(e){if("Escape"===e.key&&window.innerWidth<1e3)return this.closeNav(),void e.stopPropagation()}getSubData(e){return Object.values(this.navData).filter(r=>r.label===e)[0].subs}getSubDataGuide(e){return Object.values(this.navDataGuide).filter(r=>r.label===e)[0].subs}closeNav(){this.renderer.removeClass(this.nav.nativeElement,"opened"),this.renderer.addClass(this.nav.nativeElement,"closed"),this.isExpanded=!1}openNav(){this.renderer.removeClass(this.nav.nativeElement,"closed"),this.renderer.addClass(this.nav.nativeElement,"opened"),this.isExpanded=!0}closeNavCondition(){window.innerWidth<1e3&&this.closeNav()}toggleOpen(){this.nav.nativeElement.classList.contains("opened")?this.closeNav():this.openNav()}isLast(e){this.links.last.nativeElement===e.target&&window.innerWidth<1e3&&this.closeNav()}openSection(e){const t=e.target;"false"==t.getAttribute("aria-expanded")?(t.classList.remove("close"),t.classList.add("open"),t.setAttribute("aria-expanded","true")):(t.classList.remove("open"),t.classList.add("close"),t.setAttribute("aria-expanded","false"))}randomID(){return Math.round(19999*Math.random()+1)}}zf.\u0275fac=function(e){return new(e||zf)(G(Ko),G(la),G(Bp))},zf.\u0275cmp=de({type:zf,selectors:[["app-main-navigation"]],viewQuery:function(e,t){if(1&e&&(io(J5,5),io(e4,5),io(t4,5)),2&e){let r;ci(r=ui())&&(t.nav=r.first),ci(r=ui())&&(t.links=r),ci(r=ui())&&(t.sections=r)}},hostBindings:function(e,t){1&e&&Fe("resize",function(s){return t.onResize(s)},0,is)("keydown",function(s){return t.keyEvent(s)},!1,is)},inputs:{setId:"setId"},outputs:{isExpanded:"isExpanded"},decls:14,vars:4,consts:[["aria-label","Main navigation",3,"id"],["mainNav",""],[1,"skip-link"],[3,"href"],[4,"ngFor","ngForOf"],[1,"overlay",3,"click"],["aria-expanded","false",1,"level1",3,"click"],["levelOne",""],["role","img","width","24","height","24","aria-hidden","true"],["href","./assets/img/sprite.svg#accordion-down"],[1,"level2",3,"id"],["routerLinkActive","active",3,"routerLink","click","blur"],["navLink","","ariaRouterLink","routerLinkActive"]],template:function(e,t){1&e&&(g(0,"nav",0,1)(2,"p",2)(3,"a",3),v(4,"Skip navigation"),_()(),g(5,"h2"),v(6,"Components"),_(),g(7,"ul"),$e(8,i4,8,4,"li",4),_(),g(9,"h2"),v(10,"Documentation"),_(),g(11,"ul"),$e(12,s4,8,4,"li",4),_()(),g(13,"div",5),Fe("click",function(){return t.toggleOpen()}),_()),2&e&&($("id",t.setId),F(3),$("href",t.routeSkipLink("page-body"),uu),F(5),$("ngForOf",t.navData),F(4),$("ngForOf",t.navDataGuide))},dependencies:[w_,ps,T0],styles:["@keyframes _ngcontent-%COMP%_slide-out{to{transform:translate(200vw)}}@keyframes _ngcontent-%COMP%_slide-in{0%{transform:translate(200vw)}to{transform:translate(0)}}nav[_ngcontent-%COMP%]{box-sizing:border-box;position:absolute;width:85%;max-width:var(--nav-width);height:100%;top:49px;left:-200vw;background-color:var(--n-dark);box-shadow:5px 5px 5px #0000004d;z-index:110}nav[_ngcontent-%COMP%] [_ngcontent-%COMP%]:focus-visible{outline:1px dotted var(--focus-color);outline-offset:-2px}nav[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{position:relative;font:1em var(--stack);margin:0 2rem 1rem}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:none;list-style-type:none;margin:.7rem 2rem 2rem}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:#fff3}nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff80}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{padding-top:.5rem;margin-top:.5rem;border-top:1px dotted currentColor}nav[_ngcontent-%COMP%] p.skip-link[_ngcontent-%COMP%]{display:none}nav[_ngcontent-%COMP%] ul.level2[_ngcontent-%COMP%]{margin:0 0 0 28px}nav[_ngcontent-%COMP%] ul.level2[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{padding-top:0;margin-top:0;border-top:none}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited{display:block;color:var(--text-inv);background-color:var(--main-dark);padding:.5em 0}a[_ngcontent-%COMP%]:hover, a[aria-current][_ngcontent-%COMP%]{color:var(--sec-light)}button.level1[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25em;width:100%;font-family:var(--stack-b);background-color:var(--main-dark);padding:.5em 0}button.level1[_ngcontent-%COMP%]:hover{color:var(--sec-light)}button.level1[aria-expanded=false][_ngcontent-%COMP%] + ul.level2[_ngcontent-%COMP%]{display:none}button.level1[aria-expanded=true][_ngcontent-%COMP%] + ul.level2[_ngcontent-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:0 0 24px;fill:currentColor;margin-top:-3px;pointer-events:none;transform-origin:50%;transform:rotate(-90deg);transition:all .2s}button.level1[aria-expanded=true][_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(0)}nav.opened[_ngcontent-%COMP%]{animation-duration:.5s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-out}nav.closed[_ngcontent-%COMP%]{animation-duration:1s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-in}nav.opened[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], nav.opened[_ngcontent-%COMP%] p.skip-link[_ngcontent-%COMP%]{display:block}div.overlay[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;height:100%;top:49px;left:0;background-color:#000c;z-index:100}nav.opened[_ngcontent-%COMP%] + div.overlay[_ngcontent-%COMP%]{display:block}@media screen and (min-width: 1000px){nav[_ngcontent-%COMP%], nav.opened[_ngcontent-%COMP%]{position:relative;width:100%;top:2rem;animation-duration:.5s;animation-fill-mode:forwards;animation-name:_ngcontent-%COMP%_slide-out;box-shadow:none;z-index:110}nav.opened[_ngcontent-%COMP%]{display:block;overflow-y:auto;height:calc(100vh - 250px - 2rem);scroll-behavior:smooth;scrollbar-width:thin}nav.opened[_ngcontent-%COMP%] + div.overlay[_ngcontent-%COMP%]{display:none}}"]});class qf{constructor(){this.mediumRes="1000px"}}qf.\u0275fac=function(e){return new(e||qf)},qf.\u0275cmp=de({type:qf,selectors:[["app-header"]],decls:13,vars:2,consts:[["routerLink","/home","routerLinkActive","active",1,"logo"],["srcset","./assets/img/creamNG-logo.svg",3,"media"],["src","./assets/img/creamNG-logo-sml.svg","alt","Cream-NG, your accessible Angular Lib"],["id","navControl","aria-controls","mainNavigation",1,"nav-control",3,"click"],["role","img","width","24","height","24","aria-describedby","controlLabel"],["id","controlLabel"],["href","./assets/img/sprite.svg#bt-menu"],["setId","mainNavigation","currentRoute","currentUrl"],["mainNav",""]],template:function(e,t){if(1&e){const r=qn();g(0,"header")(1,"h1")(2,"a",0)(3,"picture"),ne(4,"source",1)(5,"img",2),_()()(),g(6,"button",3),Fe("click",function(){return Tt(r),ft(Ot(12).toggleOpen())}),qe(),g(7,"svg",4)(8,"title",5),v(9,"Open/Close navigation"),_(),ne(10,"use",6),_()(),it(),ne(11,"app-main-navigation",7,8),_()}if(2&e){const r=Ot(12);F(4),p("media","(min-width: ",t.mediumRes,")"),F(2),ht("aria-expanded",r.isExpanded)}},dependencies:[ps,T0,zf],styles:["header[_ngcontent-%COMP%]{--focus-color: var(--sec-light);box-sizing:border-box;color:var(--text-inv);background-color:var(--n-dark);padding:.5rem}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:currentColor;background-color:var(--n-dark);margin-left:45px}h1[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:155px}h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative;top:-5px}button.nav-control[_ngcontent-%COMP%]{position:absolute;top:.75rem;left:calc(1rem - 2px);background-color:initial;padding:0;margin-right:auto;transition:transform .7s}button.nav-control[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--text-inv)}.burgerVertical[_ngcontent-%COMP%]{transform:rotate(90deg)}@media screen and (min-width: 1000px){header[_ngcontent-%COMP%]{position:fixed;width:var(--nav-width);height:100%;top:0;left:0;padding:2rem 0 0;z-index:2}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:block;text-align:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding:0;margin:0;z-index:112}button.nav-control[_ngcontent-%COMP%]{display:none}}"]});class Gf{}Gf.\u0275fac=function(e){return new(e||Gf)},Gf.\u0275cmp=de({type:Gf,selectors:[["app-footer"]],decls:3,vars:0,template:function(e,t){1&e&&(g(0,"footer")(1,"p"),v(2,"CreamNg is a CreamLib Open Source, 2023"),_()())},styles:["footer[_ngcontent-%COMP%]{color:var(--n-dark);background-color:var(--n-light);padding:.5rem 1rem}p[_ngcontent-%COMP%]{font-size:.8em;text-align:center}@media screen and (min-width: 1000px){p[_ngcontent-%COMP%]{text-align:right}}"]});class Wf{}Wf.\u0275fac=function(e){return new(e||Wf)},Wf.\u0275cmp=de({type:Wf,selectors:[["app-root"]],decls:4,vars:0,consts:[["id","page-body"]],template:function(e,t){1&e&&(ne(0,"app-header"),g(1,"main",0),ne(2,"router-outlet"),_(),ne(3,"app-footer"))},dependencies:[X_,qf,Gf]});class vd{}vd.\u0275fac=function(e){return new(e||vd)},vd.\u0275mod=ki({type:vd,bootstrap:[Wf]}),vd.\u0275inj=ot({imports:[Ow,md,gd]}),zk().bootstrapModule(vd).catch(n=>console.error(n))},310:()=>{class SE extends Error{constructor(i){super(`No translation found for ${Sp(i)}.`),this.parsedMessage=i,this.type="MissingTranslationError"}}const Ru=function(c,...i){if(Ru.translate){const l=Ru.translate(c,i);c=l[0],i=l[1]}let o=Dp(c[0],c.raw[0]);for(let l=1;ltypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=Ru}},ge=>{var mn=kr=>ge(ge.s=kr);mn(310),mn(649)}]); \ No newline at end of file